File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ @import ' ../../cdk/a11y/a11y' ;
2
+
1
3
$mat-sort-header-arrow-margin : 6px ;
2
4
$mat-sort-header-arrow-container-size : 12px ;
3
5
$mat-sort-header-arrow-stem-size : 10px ;
@@ -60,6 +62,11 @@ $mat-sort-header-arrow-hint-opacity: 0.38;
60
62
margin : auto ;
61
63
display : flex ;
62
64
align-items : center ;
65
+
66
+ @include cdk-high-contrast {
67
+ width : 0 ;
68
+ border-left : solid $mat-sort-header-arrow-thickness ;
69
+ }
63
70
}
64
71
65
72
.mat-sort-header-indicator {
@@ -78,6 +85,13 @@ $mat-sort-header-arrow-hint-opacity: 0.38;
78
85
width : $mat-sort-header-arrow-thickness ;
79
86
background : currentColor ;
80
87
transform : rotate (45deg );
88
+
89
+ @include cdk-high-contrast {
90
+ width : 0 ;
91
+ height : 0 ;
92
+ border-top : solid $mat-sort-header-arrow-thickness ;
93
+ border-left : solid $mat-sort-header-arrow-thickness ;
94
+ }
81
95
}
82
96
83
97
.mat-sort-header-pointer-left ,
@@ -87,6 +101,13 @@ $mat-sort-header-arrow-hint-opacity: 0.38;
87
101
height : $mat-sort-header-arrow-thickness ;
88
102
position : absolute ;
89
103
top : 0 ;
104
+
105
+ @include cdk-high-contrast {
106
+ width : 0 ;
107
+ height : 0 ;
108
+ border-left : solid $mat-sort-header-arrow-pointer-length ;
109
+ border-top : solid $mat-sort-header-arrow-thickness ;
110
+ }
90
111
}
91
112
92
113
.mat-sort-header-pointer-left {
You can’t perform that action at this time.
0 commit comments