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]),