From 39006067961bfb94d140633be4072376f96ee7ae Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Wed, 4 Sep 2024 02:47:17 +0800 Subject: [PATCH] update --- src/other/firefox/common/parts/popups-contents.css | 4 ---- src/other/firefox/common/parts/popups.css | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/other/firefox/common/parts/popups-contents.css b/src/other/firefox/common/parts/popups-contents.css index 19db60f3..1afe4560 100644 --- a/src/other/firefox/common/parts/popups-contents.css +++ b/src/other/firefox/common/parts/popups-contents.css @@ -27,10 +27,6 @@ #context-navigation > menuitem > .menu-iconic-left { margin: auto !important; } -#context-navigation menuitem { - --toolbarbutton-active-background: transparent !important; - --toolbarbutton-hover-background: transparent !important; -} /* Remove icons from the main context menu */ #contentAreaContextMenu menuitem image, diff --git a/src/other/firefox/common/parts/popups.css b/src/other/firefox/common/parts/popups.css index 48f11da5..a467d579 100644 --- a/src/other/firefox/common/parts/popups.css +++ b/src/other/firefox/common/parts/popups.css @@ -234,7 +234,7 @@ menupopup menu[disabled="true"][_moz-menuactive], background-color: transparent !important; } -.menuitem-iconic[disabled="true"] { +#context-navigation menuitem.menuitem-iconic[disabled="true"] { opacity: 1 !important; color: var(--gnome-inactive-toolbar-color) !important; background-image: var(--gnome-button-disabled-background) !important; @@ -262,7 +262,6 @@ menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]), #protections-popup-show-report-stack:active .protections-popup-footer-button, .protections-popup-category:not([disabled="true"]):active, .identity-popup-content-blocking-category:not([disabled="true"]):active, -#PlacesToolbar .bookmark-item:is(:active, [open], [_moz-menuactive]), #downloadsPanel-mainView .download-state:active { background-image: none !important; background-color: var(--gnome-popover-button-active-background) !important;