Skip to content

Commit 7002009

Browse files
committed
Make right click menu text all same color
1 parent b05c6df commit 7002009

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

browser/themes/shared/customizableui/panelUI-shared.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,14 @@ panelview {
305305
margin-inline-end: 8px;
306306
}
307307

308-
.menu-accel,
309-
.menu-iconic-accel {
308+
:is(.menu-accel, .menu-iconic-accel) {
310309
margin-inline-start: 16px;
310+
311+
@media not (prefers-contrast) {
312+
menuitem:not([disabled]) > .menu-accel-container > & {
313+
color: var(--panel-disabled-color);
314+
}
315+
}
311316
}
312317

313318
menu > .menu-right {

toolkit/themes/shared/menu-shared.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@
44

55
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
66

7-
/* Accel text */
8-
9-
@media not (prefers-contrast) {
10-
menuitem:not([disabled]) > .menu-accel-container > :is(.menu-accel, .menu-iconic-accel) {
11-
color: var(--panel-disabled-color);
12-
}
13-
}
14-
157
/* Scroll buttons */
168

179
/* Hide arrow buttons when there's nothing to scroll in that direction */

0 commit comments

Comments
 (0)