yzt
2023-05-26 de4278af2fd46705a40bac58ec01122db6b7f3d7
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
//  =================
//      Imports
//  =================
 
@import '../../base/base';    // Base Variables
 
.custom-progress {
  &.progress-up .range-count {
    margin-bottom: 15px;
  }
 
  &.progress-down .range-count {
    margin-top: 15px;
  }
}
 
.range-count {
  font-weight: 700;
  color: $dark;
 
  .range-count-number {
    display: inline-block;
    background: $m-color_12;
    padding: 3px 8px;
    border-radius: 5px;
    color: $m-color_14;
    border: 1px solid $m-color_12;
  }
 
  .range-count-unit {
    color: $m-color_14;
  }
}
 
.custom-progress {
  &.top-right .range-count, &.bottom-right .range-count {
    text-align: right;
  }
}
 
.progress-range-counter {
  &::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: $m-color_14;
    cursor: pointer;
    height: 16px;
    width: 16px;
    margin-top: -4px;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
  }
 
  &:active::-webkit-slider-thumb {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
 
  &:focus::-webkit-slider-thumb {
    background: $m-color_14;
    cursor: pointer;
    height: 16px;
    width: 16px;
    margin-top: -4px;
    box-shadow: none;
  }
 
  &::-moz-range-thumb {
    background: $m-color_14;
    cursor: pointer;
    height: 16px;
    width: 16px;
    margin-top: -4px;
  }
}
 
input[type=range] {
  &::-webkit-slider-runnable-track, &::-moz-range-track, &::-ms-track {
    background: $m-color_18;
  }
}