File tree 1 file changed +15
-4
lines changed
src/material-experimental/mdc-tabs
1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change
1
+ @use ' @angular/cdk' ;
1
2
@use ' ./tabs-common' ;
2
3
3
4
@include tabs-common .paginated-tab-header ;
10
11
@include tabs-common .paginated-tab-header-item-wrapper (' .mat-mdc-tab-header' );
11
12
}
12
13
13
- // For the tab element, default inset/offset values are necessary to ensure that
14
- // the focus indicator is sufficiently contrastive and renders appropriately.
15
- .mat-mdc-tab ::before {
16
- margin : 5px ;
14
+ .mat-mdc-tab {
15
+ // For the tab element, default inset/offset values are necessary to ensure that
16
+ // the focus indicator is sufficiently contrastive and renders appropriately.
17
+ & ::before {
18
+ margin : 5px ;
19
+ }
20
+
21
+ // When a tab is disabled in high contrast mode, set the text color to the disabled
22
+ // color, which is (unintuitively) named "GrayText".
23
+ @include cdk .high-contrast (active , off) {
24
+ & [aria-disabled = " true" ] {
25
+ color : GrayText ;
26
+ }
27
+ }
17
28
}
You can’t perform that action at this time.
0 commit comments