From b69e763ad6668ac2abbd2d956441cb6e760381aa Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sat, 4 Feb 2023 20:49:12 +0800 Subject: [PATCH] Update #794 --- .../Monterey/parts/headerbar-urlbar-alt.css | 4 ++++ .../firefox/Monterey/parts/headerbar-urlbar.css | 4 ++++ .../firefox/Monterey/parts/popups-contents.css | 15 +++++++++++++-- .../firefox/WhiteSur/parts/headerbar-urlbar.css | 4 ++++ .../firefox/WhiteSur/parts/popups-contents.css | 15 +++++++++++++-- src/other/firefox/WhiteSur/parts/popups.css | 4 ++++ 6 files changed, 42 insertions(+), 4 deletions(-) diff --git a/src/other/firefox/Monterey/parts/headerbar-urlbar-alt.css b/src/other/firefox/Monterey/parts/headerbar-urlbar-alt.css index 219acf3..9933701 100644 --- a/src/other/firefox/Monterey/parts/headerbar-urlbar-alt.css +++ b/src/other/firefox/Monterey/parts/headerbar-urlbar-alt.css @@ -60,6 +60,10 @@ toolbarspring { box-shadow: var(--gnome-urlbar-box-shadow) !important; } +#urlbar-input { + text-align: center !important; +} + /* URL bar results */ .urlbarView { background: transparent !important; diff --git a/src/other/firefox/Monterey/parts/headerbar-urlbar.css b/src/other/firefox/Monterey/parts/headerbar-urlbar.css index af08005..5d2872a 100644 --- a/src/other/firefox/Monterey/parts/headerbar-urlbar.css +++ b/src/other/firefox/Monterey/parts/headerbar-urlbar.css @@ -82,6 +82,10 @@ toolbarspring { box-shadow: var(--gnome-urlbar-box-shadow) !important; } +#urlbar-input { + text-align: center !important; +} + /* URL bar results */ .urlbarView { background: transparent !important; diff --git a/src/other/firefox/Monterey/parts/popups-contents.css b/src/other/firefox/Monterey/parts/popups-contents.css index 73e7329..c8ab7c8 100644 --- a/src/other/firefox/Monterey/parts/popups-contents.css +++ b/src/other/firefox/Monterey/parts/popups-contents.css @@ -22,7 +22,7 @@ /* Style main context menu & buttons */ #context-navigation { - padding: 2px 6px 6px; + padding: 0; } #context-navigation > menuitem > .menu-iconic-left { margin: auto !important; @@ -65,8 +65,19 @@ /* All tabs popover */ .all-tabs-item[selected] { - border-left: 3px solid var(--gnome-tabbar-tab-active-border-bottom-color); box-shadow: none !important; + border-left: 3px solid var(--gnome-tabbar-tab-active-border-bottom-color); + border-radius: 0 !important; +} + +.all-tabs-item:hover, +.all-tabs-item:active { + background: none !important; + padding: 0 !important; +} + +.all-tabs-item > .all-tabs-secondary-button { + margin: 0 !important; } .all-tabs-item > .all-tabs-secondary-button label { diff --git a/src/other/firefox/WhiteSur/parts/headerbar-urlbar.css b/src/other/firefox/WhiteSur/parts/headerbar-urlbar.css index 01a7bd9..35f02c0 100644 --- a/src/other/firefox/WhiteSur/parts/headerbar-urlbar.css +++ b/src/other/firefox/WhiteSur/parts/headerbar-urlbar.css @@ -60,6 +60,10 @@ toolbarspring { box-shadow: var(--gnome-urlbar-box-shadow) !important; } +#urlbar-input { + text-align: center !important; +} + /* URL bar results */ .urlbarView { background: transparent !important; diff --git a/src/other/firefox/WhiteSur/parts/popups-contents.css b/src/other/firefox/WhiteSur/parts/popups-contents.css index 73e7329..c8ab7c8 100644 --- a/src/other/firefox/WhiteSur/parts/popups-contents.css +++ b/src/other/firefox/WhiteSur/parts/popups-contents.css @@ -22,7 +22,7 @@ /* Style main context menu & buttons */ #context-navigation { - padding: 2px 6px 6px; + padding: 0; } #context-navigation > menuitem > .menu-iconic-left { margin: auto !important; @@ -65,8 +65,19 @@ /* All tabs popover */ .all-tabs-item[selected] { - border-left: 3px solid var(--gnome-tabbar-tab-active-border-bottom-color); box-shadow: none !important; + border-left: 3px solid var(--gnome-tabbar-tab-active-border-bottom-color); + border-radius: 0 !important; +} + +.all-tabs-item:hover, +.all-tabs-item:active { + background: none !important; + padding: 0 !important; +} + +.all-tabs-item > .all-tabs-secondary-button { + margin: 0 !important; } .all-tabs-item > .all-tabs-secondary-button label { diff --git a/src/other/firefox/WhiteSur/parts/popups.css b/src/other/firefox/WhiteSur/parts/popups.css index 03e9e3c..dc98ba3 100644 --- a/src/other/firefox/WhiteSur/parts/popups.css +++ b/src/other/firefox/WhiteSur/parts/popups.css @@ -101,6 +101,10 @@ panelview { padding: 6px !important; } +toolbarbutton menupopup[placespopup] > :is(menu, menuitem) { + margin: 0 !important; +} + panel:not([remote]), #BMB_bookmarksPopup { --arrowpanel-background: var(--gnome-popover-background) !important; }