diff options
| author | Robert Günzler <r@gnzler.io> | 2026-09-27 17:38:39 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-09-27 17:38:39 +0200 |
| commit | 0860db73ae6fd9a6f6347219d820bf026a6b8b91 (patch) | |
| tree | 11318c3670d1c32c5aa0bf404c22fba3bf63fc53 /.librewolf/hibiki.default/chrome/csshacks.hide_tabs_toolbar_v2.css | |
| parent | 4e34cbf9673aeaba252e01df554a0d204e83c5e2 (diff) | |
| download | dotfiles-0860db73ae6fd9a6f6347219d820bf026a6b8b91.tar.gz | |
Automated-commit-by: dots Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.librewolf/hibiki.default/chrome/csshacks.hide_tabs_toolbar_v2.css')
| -rw-r--r-- | .librewolf/hibiki.default/chrome/csshacks.hide_tabs_toolbar_v2.css | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/.librewolf/hibiki.default/chrome/csshacks.hide_tabs_toolbar_v2.css b/.librewolf/hibiki.default/chrome/csshacks.hide_tabs_toolbar_v2.css new file mode 100644 index 0000000..37dadb8 --- /dev/null +++ b/.librewolf/hibiki.default/chrome/csshacks.hide_tabs_toolbar_v2.css @@ -0,0 +1,51 @@ +/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/hide_tabs_toolbar_v2.css made available under Mozilla Public License v. 2.0 +See the above repository for updates as well as full license text. */ + +/* This requires Firefox 133+ to work */ + +@media (-moz-bool-pref: "sidebar.verticalTabs"){ + #sidebar-main{ + visibility: collapse; + } +} +@media (-moz-bool-pref: "userchrome.force-window-controls-on-left.enabled"){ + #nav-bar > .titlebar-buttonbox-container{ + order: -1 !important; + > .titlebar-buttonbox{ + flex-direction: row-reverse; + } + } +} +@media not (-moz-bool-pref: "sidebar.verticalTabs"){ + #TabsToolbar:not([customizing]){ + visibility: collapse; + } + :root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{ + display: flex !important; + } + :root:is([tabsintitlebar],[customtitlebar]) #toolbar-menubar:not([autohide="false"]) ~ #nav-bar{ + > .titlebar-buttonbox-container{ + display: flex !important; + } + :root[sizemode="normal"] & { + > .titlebar-spacer{ + display: flex !important; + } + } + :root[sizemode="maximized"] & { + > .titlebar-spacer[type="post-tabs"]{ + display: flex !important; + } + @media (-moz-bool-pref: "userchrome.force-window-controls-on-left.enabled"), + (-moz-gtk-csd-reversed-placement), + (-moz-platform: macos){ + > .titlebar-spacer[type="post-tabs"]{ + display: none !important; + } + > .titlebar-spacer[type="pre-tabs"]{ + display: flex !important; + } + } + } + } +} \ No newline at end of file |