This commit is contained in:
vinceliuice 2022-10-09 18:40:57 +08:00
parent 72feeeeddf
commit 182bce9bba
4 changed files with 55 additions and 18 deletions

View file

@ -12,6 +12,12 @@ menupopup {
--arrowpanel-border-color: var(--gnome-menu-border-color) !important; --arrowpanel-border-color: var(--gnome-menu-border-color) !important;
--panel-border-radius: 8px !important; --panel-border-radius: 8px !important;
--panel-padding: 8px 0 !important; --panel-padding: 8px 0 !important;
-moz-appearance: none !important;
color: var(--gnome-toolbar-color) !important;
}
menupopup label {
color: var(--gnome-toolbar-color) !important;
} }
#PlacesToolbar menupopup[placespopup="true"]::part(content), #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox), #PlacesToolbar menupopup { #PlacesToolbar menupopup[placespopup="true"]::part(content), #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox), #PlacesToolbar menupopup {
@ -141,10 +147,11 @@ panel:not([remote]), #BMB_bookmarksPopup {
.subviewbutton:not(.subviewbutton-back), .subviewbutton:not(.subviewbutton-back),
.toolbarbutton-1, .protections-popup-category, .toolbarbutton-1, .protections-popup-category,
.identity-popup-content-blocking-category { .identity-popup-content-blocking-category {
border-radius: 8px !important; border-radius: 6px !important;
color: var(--gnome-toolbar-color) !important; color: var(--gnome-toolbar-color) !important;
font: menu !important; font: menu !important;
} }
.subviewbutton:not(.subviewbutton-back), .subviewbutton:not(.subviewbutton-back),
.protections-popup-category, .protections-popup-category,
.identity-popup-content-blocking-category { .identity-popup-content-blocking-category {
@ -152,11 +159,13 @@ panel:not([remote]), #BMB_bookmarksPopup {
margin: 0 !important; margin: 0 !important;
} }
.subviewbutton[disabled], .toolbarbutton-1[disabled], /* Menu buttons disabled */
.protections-popup-category[disabled], menuitem[disabled="true"], menupopup menu[disabled="true"],
.identity-popup-content-blocking-category[disabled] { .subviewbutton[disabled="true"], .toolbarbutton-1[disabled="true"],
.protections-popup-category[disabled="true"],
.identity-popup-content-blocking-category[disabled="true"] {
opacity: 0.5 !important; opacity: 0.5 !important;
color: var(--gnome-inactive-toolbar-color) !important; /* color: var(--gnome-inactive-toolbar-color) !important;*/
background: none !important; background: none !important;
} }
@ -164,9 +173,18 @@ panel:not([remote]), #BMB_bookmarksPopup {
opacity: 0.5 !important; opacity: 0.5 !important;
} }
.subviewbutton:not([disabled]):hover, .toolbarbutton-1:not([disabled]):hover, .protections-popup-category:not([disabled]):hover, /* Menu buttons hover */
.identity-popup-content-blocking-category:not([disabled]):hover { .toolbarbutton-1:not([disabled]):hover,
background-color: var(--gnome-popover-button-hover-background) !important; menuitem:not([disabled="true"]):is(:hover, [_moz-menuactive]),
menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]),
.subviewbutton:not([disabled="true"], #appMenu-zoom-controls2, #appMenu-fxa-label2):hover,
.protections-popup-footer-button:not([disabled="true"]):hover,
#protections-popup-show-report-stack:hover .protections-popup-footer-button,
.protections-popup-category:not([disabled="true"]):hover,
.identity-popup-content-blocking-category:not([disabled="true"]):hover,
#PlacesToolbar .bookmark-item:is(:hover, [open], [_moz-menuactive]),
#downloadsPanel-mainView .download-state:hover {
background: var(--gnome-popover-button-hover-background) !important;
} }
/* Style popover separators */ /* Style popover separators */

View file

@ -17,6 +17,7 @@
--gnome-findbar-background: #333333; --gnome-findbar-background: #333333;
--gnome-toolbar-color: #ffffff; --gnome-toolbar-color: #ffffff;
--gnome-toolbar-border-color: #070707; --gnome-toolbar-border-color: #070707;
--gnome-inactive-toolbar-color: rgba(255, 255, 255, 0.45);
--gnome-inactive-toolbar-background: #313131; --gnome-inactive-toolbar-background: #313131;
--gnome-inactive-toolbar-border-color: #121212; --gnome-inactive-toolbar-border-color: #121212;

View file

@ -14,9 +14,9 @@
--gnome-toolbar-background: #ffffff; --gnome-toolbar-background: #ffffff;
--gnome-tabstoolbar-background: #E5E5E5; --gnome-tabstoolbar-background: #E5E5E5;
--gnome-findbar-background: #f5f5f5; --gnome-findbar-background: #f5f5f5;
--gnome-toolbar-color: rgb(46, 52, 54); --gnome-toolbar-color: rgb(46, 46, 46);
--gnome-toolbar-border-color: #cfcfcf; --gnome-toolbar-border-color: #cfcfcf;
--gnome-inactive-toolbar-color: rgba(46, 52, 54, 0.35); --gnome-inactive-toolbar-color: rgba(46, 46, 46, 0.65);
--gnome-inactive-toolbar-background: #f6f5f4; --gnome-inactive-toolbar-background: #f6f5f4;
--gnome-inactive-toolbar-border-color: #dadada; --gnome-inactive-toolbar-border-color: #dadada;

View file

@ -12,6 +12,12 @@ menupopup {
--arrowpanel-border-color: var(--gnome-menu-border-color) !important; --arrowpanel-border-color: var(--gnome-menu-border-color) !important;
--panel-border-radius: 8px !important; --panel-border-radius: 8px !important;
--panel-padding: 8px 0 !important; --panel-padding: 8px 0 !important;
-moz-appearance: none !important;
color: var(--gnome-toolbar-color) !important;
}
menupopup label {
color: var(--gnome-toolbar-color) !important;
} }
#PlacesToolbar menupopup[placespopup="true"]::part(content), #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox), #PlacesToolbar menupopup { #PlacesToolbar menupopup[placespopup="true"]::part(content), #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox), #PlacesToolbar menupopup {
@ -141,10 +147,11 @@ panel:not([remote]), #BMB_bookmarksPopup {
.subviewbutton:not(.subviewbutton-back), .subviewbutton:not(.subviewbutton-back),
.toolbarbutton-1, .protections-popup-category, .toolbarbutton-1, .protections-popup-category,
.identity-popup-content-blocking-category { .identity-popup-content-blocking-category {
border-radius: 8px !important; border-radius: 6px !important;
color: var(--gnome-toolbar-color) !important; color: var(--gnome-toolbar-color) !important;
font: menu !important; font: menu !important;
} }
.subviewbutton:not(.subviewbutton-back), .subviewbutton:not(.subviewbutton-back),
.protections-popup-category, .protections-popup-category,
.identity-popup-content-blocking-category { .identity-popup-content-blocking-category {
@ -152,11 +159,13 @@ panel:not([remote]), #BMB_bookmarksPopup {
margin: 0 !important; margin: 0 !important;
} }
.subviewbutton[disabled], .toolbarbutton-1[disabled], /* Menu buttons disabled */
.protections-popup-category[disabled], menuitem[disabled="true"], menupopup menu[disabled="true"],
.identity-popup-content-blocking-category[disabled] { .subviewbutton[disabled="true"], .toolbarbutton-1[disabled="true"],
.protections-popup-category[disabled="true"],
.identity-popup-content-blocking-category[disabled="true"] {
opacity: 0.5 !important; opacity: 0.5 !important;
color: var(--gnome-inactive-toolbar-color) !important; /* color: var(--gnome-inactive-toolbar-color) !important;*/
background: none !important; background: none !important;
} }
@ -164,9 +173,18 @@ panel:not([remote]), #BMB_bookmarksPopup {
opacity: 0.5 !important; opacity: 0.5 !important;
} }
.subviewbutton:not([disabled]):hover, .toolbarbutton-1:not([disabled]):hover, .protections-popup-category:not([disabled]):hover, /* Menu buttons hover */
.identity-popup-content-blocking-category:not([disabled]):hover { .toolbarbutton-1:not([disabled]):hover,
background-color: var(--gnome-popover-button-hover-background) !important; menuitem:not([disabled="true"]):is(:hover, [_moz-menuactive]),
menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]),
.subviewbutton:not([disabled="true"], #appMenu-zoom-controls2, #appMenu-fxa-label2):hover,
.protections-popup-footer-button:not([disabled="true"]):hover,
#protections-popup-show-report-stack:hover .protections-popup-footer-button,
.protections-popup-category:not([disabled="true"]):hover,
.identity-popup-content-blocking-category:not([disabled="true"]):hover,
#PlacesToolbar .bookmark-item:is(:hover, [open], [_moz-menuactive]),
#downloadsPanel-mainView .download-state:hover {
background: var(--gnome-popover-button-hover-background) !important;
} }
/* Style popover separators */ /* Style popover separators */