File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 1
1
@import ' ../core/style/variables' ;
2
2
@import ' ../core/style/vendor-prefixes' ;
3
+ @import ' ../../cdk/a11y/a11y' ;
3
4
4
5
5
6
// This refers to the thickness of the slider. On a horizontal slider this is the height, on a
@@ -298,6 +299,12 @@ $mat-slider-focus-ring-size: 30px !default;
298
299
.mat-slider-ticks-container {
299
300
height : $mat-slider-track-thickness ;
300
301
width : 100% ;
302
+
303
+ @include cdk-high-contrast {
304
+ height : 0 ;
305
+ outline : solid $mat-slider-track-thickness ;
306
+ top : $mat-slider-track-thickness / 2 ;
307
+ }
301
308
}
302
309
303
310
.mat-slider-ticks {
@@ -375,6 +382,12 @@ $mat-slider-focus-ring-size: 30px !default;
375
382
.mat-slider-ticks-container {
376
383
width : $mat-slider-track-thickness ;
377
384
height : 100% ;
385
+
386
+ @include cdk-high-contrast {
387
+ width : 0 ;
388
+ outline : solid $mat-slider-track-thickness ;
389
+ left : $mat-slider-track-thickness / 2 ;
390
+ }
378
391
}
379
392
380
393
.mat-slider-focus-ring {
You can’t perform that action at this time.
0 commit comments