From e8d856e838a4ad0f6fe1c046f335c579fcc1a55c Mon Sep 17 00:00:00 2001 From: Vince Date: Mon, 11 Oct 2021 10:58:02 +0800 Subject: [PATCH] update --- src/other/firefox/Monterey/parts/popups.css | 18 +++++++++++++++--- .../firefox/Monterey/parts/tabsbar-alt.css | 6 +++++- src/other/firefox/WhiteSur/parts/popups.css | 18 +++++++++++++++--- 3 files changed, 35 insertions(+), 7 deletions(-) diff --git a/src/other/firefox/Monterey/parts/popups.css b/src/other/firefox/Monterey/parts/popups.css index cc323cef..200c577d 100644 --- a/src/other/firefox/Monterey/parts/popups.css +++ b/src/other/firefox/Monterey/parts/popups.css @@ -11,7 +11,7 @@ menupopup { border-radius: 10px !important; padding: 6px 0 !important; color: var(--gnome-toolbar-color) !important; - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; + box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; } #PlacesToolbar menupopup { @@ -75,12 +75,12 @@ panel[type="arrow"] { .panel-subview-body, #widget-overflow-mainView, #protections-popup-footer, panelview { border: none !important; - background: transparent !important; + background: none !important; } panelview { padding: 8px !important; - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; + box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; border-radius: 12px !important; } @@ -91,9 +91,21 @@ panelview { color: var(--gnome-toolbar-color) !important; } +#BMB_bookmarksPopup { + margin-top: 4px !important; + padding: 0 !important; + box-shadow: none !important; + --panel-padding: 0 !important; +} + +#BMB_bookmarksPopup menupopup { + padding: 6px !important; +} + panel:not([remote]), #BMB_bookmarksPopup { --arrowpanel-background: var(--gnome-popover-background) !important; } + .PanelUI-subView toolbarseparator:not([orient="vertical"]) { margin: 10px 2px !important; } diff --git a/src/other/firefox/Monterey/parts/tabsbar-alt.css b/src/other/firefox/Monterey/parts/tabsbar-alt.css index 5c83642d..8c5ec980 100644 --- a/src/other/firefox/Monterey/parts/tabsbar-alt.css +++ b/src/other/firefox/Monterey/parts/tabsbar-alt.css @@ -22,7 +22,11 @@ tab > stack { height: 32px !important; } -.titlebar-spacer[type="pre-tabs"], .titlebar-spacer[type="post-tabs"] { +:root:not([sizemode="normal"]) .titlebar-spacer[type="pre-tabs"], :root[gtktiledwindow="true"] .titlebar-spacer[type="pre-tabs"] { /* reset */ + display: flex !important; +} + +#TabsToolbar .titlebar-spacer { width: 8px !important; } diff --git a/src/other/firefox/WhiteSur/parts/popups.css b/src/other/firefox/WhiteSur/parts/popups.css index cc323cef..200c577d 100644 --- a/src/other/firefox/WhiteSur/parts/popups.css +++ b/src/other/firefox/WhiteSur/parts/popups.css @@ -11,7 +11,7 @@ menupopup { border-radius: 10px !important; padding: 6px 0 !important; color: var(--gnome-toolbar-color) !important; - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; + box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; } #PlacesToolbar menupopup { @@ -75,12 +75,12 @@ panel[type="arrow"] { .panel-subview-body, #widget-overflow-mainView, #protections-popup-footer, panelview { border: none !important; - background: transparent !important; + background: none !important; } panelview { padding: 8px !important; - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; + box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; border-radius: 12px !important; } @@ -91,9 +91,21 @@ panelview { color: var(--gnome-toolbar-color) !important; } +#BMB_bookmarksPopup { + margin-top: 4px !important; + padding: 0 !important; + box-shadow: none !important; + --panel-padding: 0 !important; +} + +#BMB_bookmarksPopup menupopup { + padding: 6px !important; +} + panel:not([remote]), #BMB_bookmarksPopup { --arrowpanel-background: var(--gnome-popover-background) !important; } + .PanelUI-subView toolbarseparator:not([orient="vertical"]) { margin: 10px 2px !important; }