diff --git a/src/other/firefox/Monterey/colors/dark.css b/src/other/firefox/Monterey/colors/dark.css index 7ddb4ce3..8dd3325d 100644 --- a/src/other/firefox/Monterey/colors/dark.css +++ b/src/other/firefox/Monterey/colors/dark.css @@ -32,7 +32,7 @@ --gnome-popover-shadow: 0 5px 8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.75); --gnome-popover-button-hover-background: rgba(255, 255, 255, 0.1); --gnome-popover-button-active-background: rgba(255, 255, 255, 0.15); - --gnome-popover-separator-color: rgba(255, 255, 255, 0.1); + --gnome-popover-separator-color: rgba(255, 255, 255, 0.08); /* Header bar */ --gnome-headerbar-background: #373737; diff --git a/src/other/firefox/WhiteSur/colors/dark.css b/src/other/firefox/WhiteSur/colors/dark.css index df37a336..6b9e9d60 100644 --- a/src/other/firefox/WhiteSur/colors/dark.css +++ b/src/other/firefox/WhiteSur/colors/dark.css @@ -33,7 +33,7 @@ --gnome-popover-shadow: 0 5px 8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.75); --gnome-popover-button-hover-background: rgba(255, 255, 255, 0.1); --gnome-popover-button-active-background: rgba(255, 255, 255, 0.15); - --gnome-popover-separator-color: rgba(255, 255, 255, 0.1); + --gnome-popover-separator-color: rgba(255, 255, 255, 0.08); /* Header bar */ --gnome-headerbar-background: #373737; diff --git a/src/other/firefox/common/pages/newtab.css b/src/other/firefox/common/pages/newtab.css index 6a5daade..a400ebab 100644 --- a/src/other/firefox/common/pages/newtab.css +++ b/src/other/firefox/common/pages/newtab.css @@ -31,6 +31,10 @@ body { padding: 6px 12px !important; } +.context-menu > ul > li.separator { + border-bottom: 1px solid var(--gnome-popover-separator-color) !important; +} + .home-section .section .switch { width: 30px !important; height: 20px !important; diff --git a/src/other/firefox/common/parts/dialogs.css b/src/other/firefox/common/parts/dialogs.css index 9484bea7..4fdf87b9 100644 --- a/src/other/firefox/common/parts/dialogs.css +++ b/src/other/firefox/common/parts/dialogs.css @@ -94,6 +94,10 @@ dialog[subdialog] { flex: 1; } +.dialog-button-box spacer.button-spacer { + display: none; +} + /* Buttons borders - only suppor for cancel/ok */ /*.dialog-button-box button[dlgtype="accept"] {*/ /* border-right: 0 !important;*/ diff --git a/src/other/firefox/common/parts/popups.css b/src/other/firefox/common/parts/popups.css index 1baf2ce1..8d4bab50 100644 --- a/src/other/firefox/common/parts/popups.css +++ b/src/other/firefox/common/parts/popups.css @@ -7,11 +7,6 @@ menupopup, panel, :is(menupopup, panel)[type="arrow"] { -moz-appearance: none !important; -} - -menupopup, panel, -:is(menupopup, panel)[type="arrow"] -:is(panel, menupopup)::part(content) { --panel-background: var(--gnome-menu-background) !important; --arrowpanel-border-radius: 12px !important; --arrowpanel-background: var(--gnome-menu-background) !important; @@ -19,19 +14,25 @@ menupopup, panel, --panel-padding: 6px !important; --panel-shadow: var(--gnome-popover-shadow) !important; --panel-shadow-margin: 3px 8px 13px !important; - --panel-border-color: transparent !important; - --arrowpanel-border-color: transparent !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-color: transparent !important; + +} + .panel-arrowcontent { border: none !important; } @media (prefers-color-scheme: dark) { menupopup, panel, -:is(menupopup, panel)[type="arrow"] +:is(menupopup, panel)[type="arrow"], :is(panel, menupopup)::part(content) { --panel-border-color: rgba(255, 255, 255, 0.06) !important; --arrowpanel-border-color: rgba(255, 255, 255, 0.06) !important; @@ -199,7 +200,6 @@ menuitem, menupopup menu, fill-opacity: 1 !important; } - /* Menu buttons disabled */ menuitem[disabled="true"], menupopup menu[disabled="true"], .subviewbutton[disabled="true"], .toolbarbutton-1[disabled="true"], @@ -228,7 +228,8 @@ menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]), /* Style popover separators */ toolbarseparator, menuseparator { - border-color: var(--gnome-popover-separator-color) !important; + appearance: none !important; +/* border-color: var(--gnome-popover-separator-color) !important;*/ } #PlacesToolbar menupopup[placespopup="true"] menuseparator { border-top: 1px solid var(--gnome-popover-separator-color) !important; @@ -239,6 +240,7 @@ toolbarseparator, menuseparator { border: 0 !important; } toolbarseparator:not([orient="vertical"]), menupopup menuseparator { + border-top: 1px solid var(--gnome-popover-separator-color) !important; margin: 4px 0 !important; } toolbarseparator[orient="vertical"] {