File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 3
3
@import ' @material/list/variables' ;
4
4
@import ' ../../material/core/style/menu-common' ;
5
5
@import ' ../../material/core/style/button-common' ;
6
+ @import ' ../../cdk/a11y/a11y' ;
6
7
7
8
@include mdc-menu-surface-core-styles ($query : structure);
8
9
20
21
21
22
// The CDK positioning uses flexbox to anchor the element, whereas MDC uses `position: absolute`.
22
23
position : static ;
24
+
25
+ @include cdk-high-contrast {
26
+ outline : solid 1px ;
27
+ }
23
28
}
24
29
25
30
.mat-mdc-menu-item {
61
66
margin-left : $mdc-list-side-padding ;
62
67
}
63
68
}
69
+
70
+ @include cdk-high-contrast {
71
+ & .cdk-program-focused ,
72
+ & .cdk-keyboard-focused ,
73
+ & -highlighted {
74
+ outline : dotted 1px ;
75
+ }
76
+ }
64
77
}
65
78
66
79
// Renders out a chevron on menu items that trigger a sub-menu.
You can’t perform that action at this time.
0 commit comments