File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 5
5
@use ' ../core/typography/typography-utils' ;
6
6
@use ' ../core/density/private/compatibility' ;
7
7
@use ' ./stepper-variables' ;
8
+ @use ' ../../cdk/a11y' ;
8
9
9
10
@mixin color ($config-or-theme ) {
10
11
$config : theming .get-color-config ($config-or-theme );
15
16
$warn : map .get ($config , warn );
16
17
17
18
.mat-step-header {
19
+ @include a11y .high-contrast (active , off) {
20
+ outline : solid 1px ;
21
+ & .cdk-keyboard-focused , & .cdk-program-focused {
22
+ outline : solid 3px ;
23
+ }
24
+
25
+ & [aria-selected = ' true' ] {
26
+ .mat-step-label {
27
+ text-decoration : underline ;
28
+ }
29
+ }
30
+ }
31
+
18
32
& .cdk-keyboard-focused ,
19
33
& .cdk-program-focused ,
20
34
& :hover:not ([aria-disabled ]),
100
114
background-color : theming .get-color-from-palette ($background , card );
101
115
}
102
116
117
+ .mat-horizontal-content-container , .mat-vertical-content-container {
118
+ @include a11y .high-contrast (active , off) {
119
+ outline : solid 1px ;
120
+ }
121
+ }
122
+
103
123
.mat-stepper-vertical-line ::before {
104
124
border-left-color : theming .get-color-from-palette ($foreground , divider );
105
125
}
You can’t perform that action at this time.
0 commit comments