From 64885c873c1a3cc9ca85420971a0a5fd8a696da0 Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Sun, 18 Feb 2024 20:40:41 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20Add=20userChrome?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/firefox/userChrome.css | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .config/firefox/userChrome.css diff --git a/.config/firefox/userChrome.css b/.config/firefox/userChrome.css new file mode 100644 index 0000000..80cae4f --- /dev/null +++ b/.config/firefox/userChrome.css @@ -0,0 +1,47 @@ +#tabbrowser-tabs { + visibility: collapse; +} +#navigator-toolbox { + display: flex; + flex-flow: row wrap; +} +#titlebar { + order: 1; + max-width: 146px; +} +#titlebar #TabsToolbar { + background-color: var(--toolbar-bgcolor); + background-image: var(--toolbar-bgimage); +} +#titlebar #TabsToolbar .titlebar-spacer { + background-color: rgba(0, 0, 0, 0.05); + margin: 3px; + border-radius: 25%; + cursor: grab; +} +#titlebar #TabsToolbar .titlebar-spacer[type="pre-tabs"] { + display: none; +} +#nav-bar { + order: 0; + width: calc(100% - 146px); +} +#PersonalToolbar { + order: 2; +} + +/* Update - Hides the new Firefox home + tab dropdown. If you want to +* keep/customize those buttons. remove the CSS below and adjust the widths above +* to get everything fitting in one line */ +#TabsToolbar .toolbar-items { + display: none; +} + +#nav-bar { + order: 0; + width: 100%; +} + +#sidebar-header { + visibility: collapse !important; +}