@@ -27,6 +27,7 @@ limitations under the License.
27
27
font-size : 1 em ; // set base multiplier for em units applied later
28
28
29
29
--active-color : $accent ;
30
+ --selection-dot-size : 2.4 em ;
30
31
31
32
&:disabled {
32
33
cursor : not-allowed;
@@ -47,12 +48,12 @@ limitations under the License.
47
48
}
48
49
&::-webkit-slider-thumb {
49
50
border : 0 solid #000000 ;
50
- width : $slider- selection-dot-size ;
51
- height : $slider- selection-dot-size ;
51
+ width : var ( -- selection-dot-size) ;
52
+ height : var ( -- selection-dot-size) ;
52
53
background : var (--active-color );
53
54
border-radius : 50 % ;
54
55
-webkit-appearance : none;
55
- margin-top : calc (2 px + 1.2 em - $slider- selection-dot-size );
56
+ margin-top : calc (2 px + 1.2 em - var ( -- selection-dot-size) );
56
57
}
57
58
&:focus::-webkit-slider-runnable-track {
58
59
background : $slider-background-color ;
@@ -73,8 +74,8 @@ limitations under the License.
73
74
}
74
75
&::-moz-range-thumb {
75
76
border : 0 solid #000000 ;
76
- width : $slider- selection-dot-size ;
77
- height : $slider- selection-dot-size ;
77
+ width : var ( -- selection-dot-size) ;
78
+ height : var ( -- selection-dot-size) ;
78
79
background : var (--active-color );
79
80
border-radius : 50 % ;
80
81
}
@@ -94,8 +95,8 @@ limitations under the License.
94
95
}
95
96
&::-ms-thumb {
96
97
margin-top : 1 px ;
97
- width : $slider- selection-dot-size ;
98
- height : $slider- selection-dot-size ;
98
+ width : var ( -- selection-dot-size) ;
99
+ height : var ( -- selection-dot-size) ;
99
100
background : var (--active-color );
100
101
border-radius : 50 % ;
101
102
}
0 commit comments