mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-31 14:30:50 -08:00
Fix: Menu Color - at linux, Bookmark popup
This commit is contained in:
parent
df9841eb84
commit
8e615983d0
1 changed files with 19 additions and 15 deletions
|
|
@ -318,16 +318,18 @@
|
|||
--menuitem-disabled-hover-background-color: color-mix(in srgb, var(--menuitem-hover-background-color) 40%, transparent) !important;
|
||||
}
|
||||
|
||||
window:is(#bookmarksPanel, #history-panel)[lwt-sidebar="true"] menupopup {
|
||||
--panel-color: var(--lwt-sidebar-text-color, var(--menu-color)) !important;
|
||||
--panel-background: var(--lwt-sidebar-background-color, var(--menu-background-color)) !important;
|
||||
}
|
||||
window:is(#bookmarksPanel, #history-panel)[lwt-sidebar="true"] menu[_moz-menuactive="true"]:not([disabled="true"]),
|
||||
window:is(#bookmarksPanel, #history-panel)[lwt-sidebar="true"] menuitem[_moz-menuactive="true"]:not([disabled="true"]) {
|
||||
--menuitem-hover-background-color: color-mix(in srgb, currentColor 17%, transparent); /* Looks like toolbar button */
|
||||
/* or var(--lwt-sidebar-highlight-background-color)
|
||||
If this value is used, unset is required in the default theme.
|
||||
*/
|
||||
@media not all and (-moz-gtk-csd-available) {
|
||||
window:is(#bookmarksPanel, #history-panel)[lwt-sidebar="true"] menupopup {
|
||||
--panel-color: var(--lwt-sidebar-text-color, var(--menu-color)) !important;
|
||||
--panel-background: var(--lwt-sidebar-background-color, var(--menu-background-color)) !important;
|
||||
}
|
||||
window:is(#bookmarksPanel, #history-panel)[lwt-sidebar="true"] menu[_moz-menuactive="true"]:not([disabled="true"]),
|
||||
window:is(#bookmarksPanel, #history-panel)[lwt-sidebar="true"] menuitem[_moz-menuactive="true"]:not([disabled="true"]) {
|
||||
--menuitem-hover-background-color: color-mix(in srgb, currentColor 17%, transparent); /* Looks like toolbar button */
|
||||
/* or var(--lwt-sidebar-highlight-background-color)
|
||||
If this value is used, unset is required in the default theme.
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
/* Fallback background */
|
||||
|
|
@ -336,14 +338,16 @@
|
|||
}
|
||||
|
||||
/* Default theme color preservation */
|
||||
:root[lwtheme-mozlightdark] menupopup {
|
||||
:root[lwtheme-mozlightdark] menupopup:not(#BMB_bookmarksPopup, [placespopup="true"]) {
|
||||
--menu-color: var(--toolbar-color, var(--in-content-page-color)) !important;
|
||||
--arrowpanel-background: var(--toolbar-bgcolor, var(--in-content-button-background)) !important; /* --menu-background-color */
|
||||
}
|
||||
window:is(#bookmarksPanel, #history-panel)[style*="--newtab-background-color: rgba(249, 249, 251, 1);"] menupopup, /* Default Light Mode */
|
||||
window:is(#bookmarksPanel, #history-panel)[style*="--newtab-background-color: rgba(43, 42, 51, 1);"] menupopup { /* Default Dark Mode */
|
||||
--panel-color: var(--menu-color) !important;
|
||||
--panel-background: var(--menu-background-color) !important;
|
||||
@media not all and (-moz-gtk-csd-available) {
|
||||
window:is(#bookmarksPanel, #history-panel)[style*="--newtab-background-color: rgba(249, 249, 251, 1);"] menupopup, /* Default Light Mode */
|
||||
window:is(#bookmarksPanel, #history-panel)[style*="--newtab-background-color: rgba(43, 42, 51, 1);"] menupopup { /* Default Dark Mode */
|
||||
--panel-color: var(--menu-color) !important;
|
||||
--panel-background: var(--menu-background-color) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Fully Dark Mode **********************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue