File tree 1 file changed +12
-12
lines changed
1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 13
13
.mat-slider-thumb-label-text {
14
14
color : mat-color ($palette , default-contrast );
15
15
}
16
+
17
+ .mat-slider-focus-ring {
18
+ $opacity : 0.2 ;
19
+ $color : mat-color ($palette , default , $opacity );
20
+ background-color : $color ;
21
+
22
+ // `mat-color` uses `rgba` for the opacity which won't work with
23
+ // CSS variables so we need to use `opacity` as a fallback.
24
+ @if (type-of ($color ) != color ) {
25
+ opacity : $opacity ;
26
+ }
27
+ }
16
28
}
17
29
18
30
@mixin mat-slider-color ($config-or-theme ) {
48
60
@include _mat-slider-inner-content-theme ($warn );
49
61
}
50
62
51
- .mat-slider-focus-ring {
52
- $opacity : 0.2 ;
53
- $color : mat-color ($accent , default , $opacity );
54
- background-color : $color ;
55
-
56
- // `mat-color` uses `rgba` for the opacity which won't work with
57
- // CSS variables so we need to use `opacity` as a fallback.
58
- @if (type-of ($color ) != color ) {
59
- opacity : $opacity ;
60
- }
61
- }
62
-
63
63
.mat-slider :hover ,
64
64
.cdk-focused {
65
65
.mat-slider-track-background {
You can’t perform that action at this time.
0 commit comments