From c4eaaea8999ea7f80e40a34293d72da1c64a600b Mon Sep 17 00:00:00 2001 From: Vince Date: Tue, 12 Oct 2021 11:15:38 +0800 Subject: [PATCH] update --- README.md | 4 ++-- .../firefox/Monterey/parts/tabsbar-alt.css | 22 +++++-------------- src/other/firefox/WhiteSur/parts/tabsbar.css | 5 ----- 3 files changed, 8 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 7e2c6df..51de88d 100644 --- a/README.md +++ b/README.md @@ -176,8 +176,8 @@ Usage: `./tweaks.sh [OPTIONS...]`
Options ```bash --f, --firefox [default|monterey] -Install 'WhiteSur|Monterey' theme for Firefox and connect it to the current Firefox profiles. Default is WhiteSur +-f, --firefox [default|monterey|alt] +Install 'WhiteSur|Monterey|Monterey-Alt' theme for Firefox and connect it to the current Firefox profiles. Default is WhiteSur -e, --edit-firefox Edit 'WhiteSur' theme for Firefox settings and also connect the theme to the current Firefox profiles. diff --git a/src/other/firefox/Monterey/parts/tabsbar-alt.css b/src/other/firefox/Monterey/parts/tabsbar-alt.css index 8c5ec98..db3d795 100644 --- a/src/other/firefox/Monterey/parts/tabsbar-alt.css +++ b/src/other/firefox/Monterey/parts/tabsbar-alt.css @@ -87,15 +87,10 @@ tab > stack { flex-direction: row; justify-content: center; align-items: center; - margin-top: -1px; min-width: 100% !important; padding: 0 10px !important; } -.tabbrowser-tab[class*="identity-color-"][pinned] { - display: flex; -} - .tab-background { transition: all 200ms; } @@ -177,17 +172,6 @@ tab > stack { .tabbrowser-tab { padding-inline: 0px !important; } - - .tabbrowser-tab[selected="true"]>.tab-stack>.tab-background { - margin-left: 0px !important; - margin-right: 0px !important; - } - - /* centre text when audio is playing */ - .tabbrowser-tab:is([soundplaying]) .tab-label-container { - margin-left: 0 !important; - margin-right: auto !important - } } .close-icon { @@ -268,10 +252,16 @@ tab > stack { } /* Remove container bottom line indicator */ + +/* Remove alt colours references for multi tabs*/ .tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-bottom-line { display: none; } +.tabbrowser-tab[class*="identity-color-"][pinned] { + display: flex; +} + #TabsToolbar #alltabs-button { padding: 0 0 !important; visibility: collapse !important; diff --git a/src/other/firefox/WhiteSur/parts/tabsbar.css b/src/other/firefox/WhiteSur/parts/tabsbar.css index 1994be9..ad2b671 100644 --- a/src/other/firefox/WhiteSur/parts/tabsbar.css +++ b/src/other/firefox/WhiteSur/parts/tabsbar.css @@ -322,11 +322,6 @@ tab[selected]:-moz-window-inactive { display: none !important; } -/* Remove container bottom line indicator */ -.tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-bottom-line { - display: none; -} - /* Create new container tab indicator */ .tabbrowser-tab[class*="identity-color-"] .tab-content::before { content: "";