From 5f6f8c10857e48d70400bdf8a866893793ed76f1 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sat, 4 Mar 2023 16:22:57 +0800 Subject: [PATCH] update --- .../firefox/WhiteSur/parts/buttons-fixes.css | 4 ++++ src/other/firefox/WhiteSur/parts/icons.css | 6 +++--- .../firefox/WhiteSur/parts/popups-contents.css | 5 ++++- src/other/firefox/WhiteSur/parts/tabsbar.css | 16 ++++++++++++++-- 4 files changed, 25 insertions(+), 6 deletions(-) diff --git a/src/other/firefox/WhiteSur/parts/buttons-fixes.css b/src/other/firefox/WhiteSur/parts/buttons-fixes.css index a9abde5..a4209b1 100644 --- a/src/other/firefox/WhiteSur/parts/buttons-fixes.css +++ b/src/other/firefox/WhiteSur/parts/buttons-fixes.css @@ -183,6 +183,10 @@ button.close.ghost-button:active { margin: 4px 4px 0 4px !important; } +#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { + margin: 3px !important; +} + /* Bookmarks editor buttons */ .expander-down image, .expander-up image { margin: 6px !important; diff --git a/src/other/firefox/WhiteSur/parts/icons.css b/src/other/firefox/WhiteSur/parts/icons.css index 310ad13..3b49a0f 100644 --- a/src/other/firefox/WhiteSur/parts/icons.css +++ b/src/other/firefox/WhiteSur/parts/icons.css @@ -4,9 +4,9 @@ /* Cursors autoscroller fix */ .autoscroller { - --panel-background: transparent !important; - --panel-border-color: transparent !important; - background-image: url("chrome://global/skin/icons/autoscroll.svg") !important; + --panel-background: transparent !important; + --panel-border-color: transparent !important; + background-image: url("chrome://global/skin/icons/autoscroll.svg") !important; } /* Built-in firefox icons color */ diff --git a/src/other/firefox/WhiteSur/parts/popups-contents.css b/src/other/firefox/WhiteSur/parts/popups-contents.css index c8ab7c8..f414a30 100644 --- a/src/other/firefox/WhiteSur/parts/popups-contents.css +++ b/src/other/firefox/WhiteSur/parts/popups-contents.css @@ -66,8 +66,11 @@ /* All tabs popover */ .all-tabs-item[selected] { box-shadow: none !important; - border-left: 3px solid var(--gnome-tabbar-tab-active-border-bottom-color); border-radius: 0 !important; + background: url("../icons/bullet-symbolic.svg") !important; + background-position: left center; + background-size: 14px 14px; + background-repeat: no-repeat; } .all-tabs-item:hover, diff --git a/src/other/firefox/WhiteSur/parts/tabsbar.css b/src/other/firefox/WhiteSur/parts/tabsbar.css index d4ef760..b52f8d3 100644 --- a/src/other/firefox/WhiteSur/parts/tabsbar.css +++ b/src/other/firefox/WhiteSur/parts/tabsbar.css @@ -14,11 +14,12 @@ #tabbrowser-tabs, #tabbrowser-tabs arrowscrollbox { min-height: 0 !important; - --tab-min-height: 32px !important; + max-height: 32px !important; + --tab-min-height: 0 !important; } .tab-background, .tab-stack { - min-height: 32px !important; + min-height: 0 !important; } /* Extra margin for the first and last tabs */ @@ -318,6 +319,17 @@ tab[selected]:-moz-window-inactive { padding: 0 !important; } +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon, +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-text, +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-badge-stack { + padding: 8px !important; +} + +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon { + width: 32px !important; + height: 32px !important; +} + /* firefox-view-button */ :root:not([privatebrowsingmode="temporary"]):not([firefoxviewhidden]) :is(#firefox-view-button, #wrapper-firefox-view-button) + #tabbrowser-tabs { border-inline-start: 1px solid var(--gnome-toolbar-border-color) !important;