File tree 3 files changed +16
-8
lines changed
3 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,6 @@ menuitem {
108
108
text-shadow : none;
109
109
}
110
110
111
- @media (-moz-windows-non-native-menus) {
112
111
& : where ([_moz-menuactive ]: not ([disabled = "true" ])) {
113
112
color : -moz-menuhovertext;
114
113
background-color : -moz-menuhover;
@@ -118,7 +117,6 @@ menuitem {
118
117
background-color : -moz-menuhoverdisabled;
119
118
}
120
119
}
121
- }
122
120
123
121
@media (-moz-windows-classic) {
124
122
menu [disabled = "true" ],
Original file line number Diff line number Diff line change 51
51
dropmarker {
52
52
pointer-events : none;
53
53
flex : 0 ;
54
- align-self : center;
55
54
}
56
55
57
56
dropmarker : not ([native ]) {
58
57
display : flex;
59
58
appearance : none;
60
- }
61
-
62
- dropmarker : not ([native ])::part (icon ) {
63
59
content : url (chrome://global/skin/icons/arrow-down-12.svg);
64
60
-moz-context-properties : fill;
65
61
fill : currentColor;
62
+ align-self : center;
66
63
}
67
64
68
65
# highlightable-label : not ([highlightable = "true" ]),
Original file line number Diff line number Diff line change @@ -45,6 +45,12 @@ panel {
45
45
@media (-moz-platform : linux) or (-moz-platform : windows) {
46
46
/* To account for the box-shadow below */
47
47
--panel-shadow-margin : 4px ;
48
+
49
+ @media not (-moz-windows-non-native-menus) {
50
+ --panel-shadow : 0 0 var (--panel-shadow-margin ) hsla (0 , 0% , 0% , .2 );
51
+ -moz-window-input-region-margin : var (--panel-shadow-margin );
52
+ margin : calc (-1 * var (--panel-shadow-margin ));
53
+ }
48
54
}
49
55
50
56
/* On some linux WMs we need to draw square menus because alpha is not available */
@@ -97,9 +103,8 @@ panel {
97
103
98
104
menupopup {
99
105
/* Also apply the padding in the inline axis for menus */
106
+ @media (-moz-windows-non-native-menus) or (-moz-platform : linux) {
100
107
--panel-padding : var (--panel-padding-block );
101
-
102
- @media (-moz-windows-non-native-menus) {
103
108
@media (-moz-platform : windows) {
104
109
> menu ,
105
110
> menuitem {
@@ -227,6 +232,14 @@ panel:where([type="arrow"]) {
227
232
}
228
233
}
229
234
235
+ @media (-moz-platform : windows) {
236
+ menulist > menupopup {
237
+ appearance : none;
238
+ background-color : transparent;
239
+ border : none;
240
+ }
241
+ }
242
+
230
243
@media not (-moz-windows-non-native-menus) {
231
244
/* For Win10, the popup itself needs to have a transparent background because
232
245
otherwise the background color would appear behind the drop shadow. */
You can’t perform that action at this time.
0 commit comments