File tree 2 files changed +23
-0
lines changed
2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1
1
@use ' ../core/style/layout-common' ;
2
2
@use ' ./stepper-variables' ;
3
+ @use ' ../../cdk/a11y' ;
3
4
4
5
.mat-step-header {
5
6
overflow : hidden ;
8
9
position : relative ;
9
10
box-sizing : content-box ;
10
11
-webkit-tap-highlight-color : transparent ;
12
+
13
+ @include a11y .high-contrast (active , off) {
14
+ outline : solid 1px ;
15
+ & .cdk-keyboard-focused , & .cdk-program-focused {
16
+ outline : solid 3px ;
17
+ }
18
+
19
+ & [aria-selected = ' true' ] {
20
+ .mat-step-label {
21
+ text-decoration : underline ;
22
+ }
23
+ }
24
+ }
11
25
}
12
26
13
27
.mat-step-optional ,
Original file line number Diff line number Diff line change 1
1
@use ' ../core/style/variables' ;
2
2
@use ' ../core/style/private' ;
3
3
@use ' ./stepper-variables' ;
4
+ @use ' ../../cdk/a11y' ;
4
5
5
6
.mat-stepper-vertical ,
6
7
.mat-stepper-horizontal {
125
126
}
126
127
127
128
.mat-horizontal-content-container {
129
+ @include a11y .high-contrast (active , off) {
130
+ outline : solid 1px ;
131
+ }
132
+
128
133
overflow : hidden ;
129
134
padding : 0 stepper-variables .$side-gap stepper-variables .$side-gap stepper-variables .$side-gap ;
130
135
}
131
136
132
137
.mat-vertical-content-container {
138
+ @include a11y .high-contrast (active , off) {
139
+ outline : solid 1px ;
140
+ }
141
+
133
142
margin-left : stepper-variables .$vertical-stepper-content-margin ;
134
143
border : 0 ;
135
144
position : relative ;
You can’t perform that action at this time.
0 commit comments