Files
firefox-csshacks/chrome/tabs_on_bottom_v2.css
2024-10-05 08:44:59 +03:00

33 lines
1.0 KiB
CSS

/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tabs_on_bottom_v2.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* This reorders toolbar to place tabs below other toolbars. Requires Firefox 133+ */
@media not (-moz-bool-pref: "sidebar.verticalTabs"){
.global-notificationbox,
#tab-notification-deck,
#TabsToolbar{
order: 1;
}
#TabsToolbar > :is(.titlebar-spacer,.titlebar-buttonbox-container){
display: none;
}
:root[tabsintitlebar][sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
display: flex !important;
}
:root[tabsintitlebar] #toolbar-menubar[autohide="true"] ~ #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;
}
}
}
}