-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d7530e
commit 91efcba
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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{ | ||
visibility: collapse; | ||
} | ||
:root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{ | ||
display: flex !important; | ||
} | ||
:root[tabsintitlebar] #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; | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters