File tree 1 file changed +10
-0
lines changed
src/material-experimental/mdc-radio
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 2
2
@import ' @material/radio/variables.import' ;
3
3
@import ' @material/form-field/mixins.import' ;
4
4
@import ' ../mdc-helpers/mdc-helpers' ;
5
+ @import ' ../../cdk/a11y/a11y' ;
5
6
6
7
@include mdc-radio-without-ripple ($query : $mat-base-styles-query );
7
8
@include mdc-form-field-core-styles ($query : $mat-base-styles-query );
21
22
opacity : $mdc-radio-ripple-opacity ;
22
23
}
23
24
}
25
+
26
+ // Note that this creates a square box around the circle, however it's consistent with
27
+ // how IE/Edge treat native radio buttons in high contrast mode. We can't turn the border
28
+ // into a dotted one, because it's too thick which causes the circles to look off.
29
+ @include cdk-high-contrast {
30
+ .mat-mdc-radio-button.cdk-keyboard-focused .mat-radio-ripple {
31
+ outline : dotted 1px ;
32
+ }
33
+ }
You can’t perform that action at this time.
0 commit comments