From 59318457d652c9d2be2befda74e0fe37c3ceb896 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Wed, 4 Sep 2024 01:29:23 +0800 Subject: [PATCH] Update popups.css --- src/other/firefox/common/parts/popups.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/other/firefox/common/parts/popups.css b/src/other/firefox/common/parts/popups.css index d336ac00..48f11da5 100644 --- a/src/other/firefox/common/parts/popups.css +++ b/src/other/firefox/common/parts/popups.css @@ -220,7 +220,10 @@ menuitem, menupopup menu, } /* Menu buttons disabled */ +menuitem[disabled="true"], menupopup menu[disabled="true"], +menuitem[disabled="true"][_moz-menuactive], +menupopup menu[disabled="true"][_moz-menuactive], .subviewbutton[disabled="true"], .subviewbutton:not(#appMenu-fxa-label2)[disabled="true"], .toolbarbutton-1[disabled="true"], @@ -231,7 +234,7 @@ menupopup menu[disabled="true"], background-color: transparent !important; } -menuitem[disabled="true"] { +.menuitem-iconic[disabled="true"] { opacity: 1 !important; color: var(--gnome-inactive-toolbar-color) !important; background-image: var(--gnome-button-disabled-background) !important; @@ -239,10 +242,6 @@ menuitem[disabled="true"] { box-shadow: none !important; } -menuitem[disabled="true"][_moz-menuactive], menupopup menu[disabled="true"][_moz-menuactive] { - background-image: none !important; -} - /* Menu buttons hover */ menuitem:not([disabled="true"]):is(:hover, [_moz-menuactive]), menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]),