aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/gas-customization/gas-slider/index.scss
blob: e6c73436753c5a840c0b3fbca323f0c408e71d36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
.gas-slider {
  position: relative;
  width: 322px;

  &__input {
    width: 322px;
    margin-left: -2px;
    z-index: 2;
  }

  input[type=range] {
    -webkit-appearance: none !important;
  }

  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    height: 34px;
    width: 34px;
    background-color: $curious-blue;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.08);
    border-radius: 50%;
    position: relative;
    z-index: 10;
  }

  &__bar {
    height: 6px;
    width: 322px;
    background: $alto;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 16px;
    z-index: 0;
    border-radius: 4px;
  }

  &__colored {
    height: 6px;
    border-radius: 4px;
    margin-left: 102px; 
    width: 322px;
    z-index: 1;
    background-color: $blizzard-blue;
  }

  &__labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: -6px;
    color: $mid-gray;
  }
}