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