File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -214,26 +214,28 @@ $mat-slider-focus-ring-size: 30px !default;
214
214
215
215
216
216
// Active slider.
217
- .cdk-focused {
218
- & .mat-slider-thumb-label-showing .mat-slider-thumb {
219
- transform : scale (0 );
220
- }
217
+ .mat-slider :not (.mat-slider-disabled ) {
218
+ & .cdk-focused {
219
+ & .mat-slider-thumb-label-showing .mat-slider-thumb {
220
+ transform : scale (0 );
221
+ }
221
222
222
- .mat-slider-thumb-label {
223
- border-radius : 50% 50% 0 ;
224
- }
223
+ .mat-slider-thumb-label {
224
+ border-radius : 50% 50% 0 ;
225
+ }
225
226
226
- .mat-slider-thumb-label-text {
227
- opacity : 1 ;
227
+ .mat-slider-thumb-label-text {
228
+ opacity : 1 ;
229
+ }
228
230
}
229
- }
230
231
231
- .cdk-mouse-focused ,
232
- .cdk-touch-focused ,
233
- .cdk-program-focused {
234
- .mat-slider-thumb {
235
- border-width : $mat-slider-thumb-border-width-active ;
236
- transform : scale ($mat-slider-thumb-focus-scale );
232
+ & .cdk-mouse-focused ,
233
+ & .cdk-touch-focused ,
234
+ & .cdk-program-focused {
235
+ .mat-slider-thumb {
236
+ border-width : $mat-slider-thumb-border-width-active ;
237
+ transform : scale ($mat-slider-thumb-focus-scale );
238
+ }
237
239
}
238
240
}
239
241
You can’t perform that action at this time.
0 commit comments