File tree 2 files changed +16
-2
lines changed
material-experimental/mdc-radio
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 25
25
// how IE/Edge treat native radio buttons in high contrast mode. We can't turn the border
26
26
// into a dotted one, because it's too thick which causes the circles to look off.
27
27
@include a11y .high-contrast {
28
- .mat-mdc-radio-button.cdk-keyboard-focused .mat-radio-ripple {
29
- outline : dotted 1px ;
28
+ .mat-mdc-radio-button :not (.mat-radio-disabled ) {
29
+ & .cdk-keyboard-focused ,
30
+ & .cdk-program-focused {
31
+ .mat-radio-ripple {
32
+ outline : solid 3px ;
33
+ }
34
+ }
30
35
}
31
36
}
Original file line number Diff line number Diff line change @@ -186,6 +186,15 @@ $ripple-radius: 20px;
186
186
}
187
187
188
188
@include a11y .high-contrast (active , off) {
189
+ .mat-radio-button :not (.mat-radio-disabled ) {
190
+ & .cdk-keyboard-focused ,
191
+ & .cdk-program-focused {
192
+ .mat-radio-ripple {
193
+ outline : solid 3px ;
194
+ }
195
+ }
196
+ }
197
+
189
198
.mat-radio-disabled {
190
199
opacity : 0.5 ;
191
200
}
You can’t perform that action at this time.
0 commit comments