fenix-fox/chrome/hide_tabs_toolbar_osx.css

25 lines
887 B
CSS
Raw Normal View History

/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/hide_tabs_toolbar_osx.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* Hides tabs toolbar - OSX only */
/* IMPORTANT */
/*
Get window_control_placeholder_support.css
Window controls will be all wrong without it
*/
:root{ --uc-toolbar-height: 32px; }
2020-06-14 05:44:03 +00:00
:root:not([uidensity="compact"]){ --uc-toolbar-height: 34px }
#TabsToolbar > *{ visibility: collapse !important }
2021-05-15 09:13:32 +00:00
:root[sizemode="fullscreen"] #TabsToolbar > #window-controls{ visibility: visible !important; z-index: 2 }
#TabsToolbar > .titlebar-buttonbox-container{
visibility: visible !important;
height:var(--uc-toolbar-height) !important;
}
2020-06-14 05:44:03 +00:00
#nav-bar{
margin-top: calc(0px - var(--uc-toolbar-height));
}
2020-06-14 05:44:03 +00:00
:root[inFullscreen] #navigator-toolbox{ margin-top: 11px }