From 9f7f893c14e689f9b091fea1b2e87f8043ab00f9 Mon Sep 17 00:00:00 2001 From: Vince Date: Fri, 18 Jun 2021 11:51:29 +0800 Subject: [PATCH] Fixed #311 --- .../Monterey/parts/headerbar-urlbar.css | 10 ++-------- src/other/firefox/Monterey/parts/tabsbar.css | 18 +++++++++++++++--- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/other/firefox/Monterey/parts/headerbar-urlbar.css b/src/other/firefox/Monterey/parts/headerbar-urlbar.css index dbd2f67..2c54eb8 100644 --- a/src/other/firefox/Monterey/parts/headerbar-urlbar.css +++ b/src/other/firefox/Monterey/parts/headerbar-urlbar.css @@ -41,20 +41,14 @@ toolbarspring { border-color: var(--gnome-inactive-headerbar-background) !important; } +#urlbar-container, +#wrapper-urlbar-container, #urlbar #urlbar-input-container { padding: 0 !important; width: 360px !important; min-width: 360px !important; } -#urlbar-container, -#wrapper-urlbar-container { - width: 360px !important; - min-width: 360px !important; - -moz-box-align: left !important; - margin-right: 100px !important; -} - :root[sizemode="maximized"] #urlbar, :root[sizemode="maximized"] #urlbar-container, :root[sizemode="maximized"] #wrapper-urlbar-container { diff --git a/src/other/firefox/Monterey/parts/tabsbar.css b/src/other/firefox/Monterey/parts/tabsbar.css index 5331e6a..1bb42e2 100644 --- a/src/other/firefox/Monterey/parts/tabsbar.css +++ b/src/other/firefox/Monterey/parts/tabsbar.css @@ -110,18 +110,30 @@ visibility: collapse !important; } -#TabsToolbar .toolbarbutton-1, #TabsToolbar .toolbarbutton-1, +#TabsToolbar .toolbarbutton-1, #tabs-newtab-button, #TabsToolbar #new-tab-button { - margin: 4px 2px !important; + margin: 4px 2px -4px !important; padding: 0 10px !important; max-height: 32px !important; min-height: 32px !important; } -#TabsToolbar .toolbarbutton-1 image, #TabsToolbar .toolbarbutton-1 image, +#TabsToolbar .toolbarbutton-1 image, #tabs-newtab-button image, #TabsToolbar #new-tab-button image { margin: 0 !important; padding: 0 !important; height: 16px !important; width: 16px !important; } + +#TabsToolbar #scrollbutton-up, #TabsToolbar #scrollbutton-down { + max-height: 32px !important; + min-height: 32px !important; +} + +#TabsToolbar #scrollbutton-up image, #TabsToolbar #scrollbutton-down image { + margin: 0 !important; + padding: 0 !important; + height: 16px !important; + width: 16px !important; +}