diff --git a/src/other/firefox/Monterey/colors/dark.css b/src/other/firefox/Monterey/colors/dark.css index 8dd3325..292a3d3 100644 --- a/src/other/firefox/Monterey/colors/dark.css +++ b/src/other/firefox/Monterey/colors/dark.css @@ -9,6 +9,7 @@ :root { /* Browser area before a page starts loading */ --gnome-browser-before-load-background: #242424; + --gnome-browser-content-box-background: #323232; --theme-primary-color: #315bef; /* Toolbars */ @@ -54,8 +55,8 @@ --gnome-button-active-border-color: #1b1b1b; --gnome-button-active-border-accent-color: #1b1b1b; --gnome-button-active-box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); - --gnome-button-disabled-background: #505050; - --gnome-button-disabled-border-color: #323232; + --gnome-button-disabled-background: linear-gradient(to top, #434343 0%, #494949 100%); + --gnome-button-disabled-border-color: #282828; --gnome-button-disabled-box-shadow: inset 0 1px rgba(255, 255, 255, 0.03); --gnome-inactive-button-background: linear-gradient(#383838, #383838); --gnome-inactive-button-border-color: #323232; diff --git a/src/other/firefox/Monterey/colors/light.css b/src/other/firefox/Monterey/colors/light.css index 65fddb6..c33fd8c 100644 --- a/src/other/firefox/Monterey/colors/light.css +++ b/src/other/firefox/Monterey/colors/light.css @@ -8,6 +8,7 @@ :root { /* Browser area before a page starts loading */ --gnome-browser-before-load-background: #f5f5f5; + --gnome-browser-content-box-background: #ffffff; --theme-primary-color: #315bef; /* Toolbars */ diff --git a/src/other/firefox/WhiteSur/colors/dark.css b/src/other/firefox/WhiteSur/colors/dark.css index 6b9e9d6..d8810f5 100644 --- a/src/other/firefox/WhiteSur/colors/dark.css +++ b/src/other/firefox/WhiteSur/colors/dark.css @@ -55,7 +55,7 @@ --gnome-button-active-border-color: #1b1b1b; --gnome-button-active-border-accent-color: #1b1b1b; --gnome-button-active-box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); - --gnome-button-disabled-background: linear-gradient(to top, rgba(#636363, 0.45) 0%, rgba(#696969, 0.45) 100%); + --gnome-button-disabled-background: linear-gradient(to top, #434343 0%, #494949 100%); --gnome-button-disabled-border-color: #282828; --gnome-button-disabled-box-shadow: inset 0 1px rgba(255, 255, 255, 0.03); --gnome-inactive-button-background: linear-gradient(#383838, #383838); diff --git a/src/other/firefox/common/parts/popups.css b/src/other/firefox/common/parts/popups.css index 8d4bab5..921866f 100644 --- a/src/other/firefox/common/parts/popups.css +++ b/src/other/firefox/common/parts/popups.css @@ -4,26 +4,19 @@ @namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; /* Style menus */ -menupopup, panel, -:is(menupopup, panel)[type="arrow"] { +menupopup, panel { -moz-appearance: none !important; --panel-background: var(--gnome-menu-background) !important; - --arrowpanel-border-radius: 12px !important; - --arrowpanel-background: var(--gnome-menu-background) !important; --panel-border-radius: 12px !important; --panel-padding: 6px !important; --panel-shadow: var(--gnome-popover-shadow) !important; --panel-shadow-margin: 3px 8px 13px !important; --panel-separator-color: var(--gnome-popover-separator-color) !important; - color: var(--gnome-toolbar-color) !important; -} - -menupopup, panel, -:is(menupopup, panel)[type="arrow"], -:is(panel, menupopup)::part(content) { --panel-border-color: transparent !important; + --arrowpanel-border-radius: 12px !important; + --arrowpanel-background: var(--gnome-menu-background) !important; --arrowpanel-border-color: transparent !important; - + color: var(--gnome-toolbar-color) !important; } .panel-arrowcontent { @@ -31,9 +24,7 @@ menupopup, panel, } @media (prefers-color-scheme: dark) { -menupopup, panel, -:is(menupopup, panel)[type="arrow"], -:is(panel, menupopup)::part(content) { +menupopup, panel { --panel-border-color: rgba(255, 255, 255, 0.06) !important; --arrowpanel-border-color: rgba(255, 255, 255, 0.06) !important; }