From 46c93b93ffa9245275066f603387ab40276fc343 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 27 Oct 2023 03:34:27 +0800 Subject: [PATCH] update --- src/other/firefox/WhiteSur/parts/tabsbar.css | 41 +++++++------------- src/other/firefox/WhiteSur/parts/toolbox.css | 2 +- 2 files changed, 15 insertions(+), 28 deletions(-) diff --git a/src/other/firefox/WhiteSur/parts/tabsbar.css b/src/other/firefox/WhiteSur/parts/tabsbar.css index 43ffd820..e4e7b545 100644 --- a/src/other/firefox/WhiteSur/parts/tabsbar.css +++ b/src/other/firefox/WhiteSur/parts/tabsbar.css @@ -19,14 +19,6 @@ max-height: 32px !important; } -/* Extra margin for the first and last tabs */ -.tabbrowser-tab[first-tab]:not([pinned=true]) { - margin-left: 8px !important; -} -.tabbrowser-tab[last-tab]:not([pinned=true]) { - margin-right: 8px !important; -} - #TabsToolbar .toolbar-items { margin-bottom: -1px !important; } @@ -84,7 +76,7 @@ } /* Space between tabs */ -.tabbrowser-tab:not([pinned=true]) { +.tabbrowser-tab:not([pinned]) { margin: 0 !important; } @@ -228,11 +220,6 @@ tab[selected]:-moz-window-inactive { margin-right: auto !important } -/* Remove tab icons */ -/* tab:not([pinned=true]) .tab-icon-image { - display: none; -} */ - /* Close tab button */ .close-icon { height: 16px !important; @@ -377,10 +364,10 @@ tab[selected]:-moz-window-inactive { border-image: none !important; } -/* Tabs scroll buttons hover */ -#TabsToolbar .scrollbutton-up:not([disabled]):hover, -#TabsToolbar .scrollbutton-down:not([disabled]):hover { - background-color: var(--gnome-tabbar-tab-active-hover-background) !important; +/* Tabs scroll buttons */ +#TabsToolbar #scrollbutton-up:not([disabled]):hover, +#TabsToolbar #scrollbutton-down:not([disabled]):hover { + background: var(--gnome-tabbar-tab-active-hover-background) !important; } /* Full width tabs */ @@ -409,15 +396,6 @@ tab[selected]:-moz-window-inactive { border: none !important; } -#TabsToolbar #firefox-view-button { - padding: 0 4px !important; -} - -#TabsToolbar #firefox-view-button[open] { - background-color: var(--gnome-tabbar-tab-active-background) !important; - box-shadow: inset 0 -1px var(--gnome-toolbar-border-color) !important; -} - #TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon, #TabsToolbar .toolbarbutton-1 > .toolbarbutton-text, #TabsToolbar .toolbarbutton-1 > .toolbarbutton-badge-stack { @@ -449,6 +427,15 @@ tab[selected]:-moz-window-inactive { box-shadow: none !important; } +#TabsToolbar #firefox-view-button { + padding: 0 4px !important; +} + +#TabsToolbar #firefox-view-button[open] { + background-color: var(--gnome-tabbar-tab-active-background) !important; + box-shadow: inset 0 -1px var(--gnome-toolbar-border-color) !important; +} + /* Create new container tab indicator */ .tabbrowser-tab[class*="identity-color-"] .tab-content::before { content: ""; diff --git a/src/other/firefox/WhiteSur/parts/toolbox.css b/src/other/firefox/WhiteSur/parts/toolbox.css index 45107c3c..34e901a6 100644 --- a/src/other/firefox/WhiteSur/parts/toolbox.css +++ b/src/other/firefox/WhiteSur/parts/toolbox.css @@ -26,7 +26,7 @@ } #TabsToolbar { - border: 0 !important; + border: none !important; background: var(--gnome-tabstoolbar-background) !important; border-bottom: 1px solid var(--gnome-toolbar-border-color) !important; box-shadow: inset 0 1px var(--gnome-toolbar-border-color) !important;