fenix-fox/chrome/hide_tabs_toolbar.css

44 lines
1.3 KiB
CSS
Raw Normal View History

2020-05-22 05:13:58 +00:00
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/hide_tabs_toolbar.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 */
/* For OSX use hide_tabs_toolbar_osx.css instead */
/* IMPORTANT */
/*
Get window_control_placeholder_support.css
Window controls will be all wrong without it
*/
2018-12-13 03:42:11 +00:00
:root{ --uc-toolbar-height: 32px; }
:root:not([uidensity="compact"]){--uc-toolbar-height: 38px}
2019-05-10 02:24:19 +00:00
#TabsToolbar{ visibility: collapse !important }
2021-05-15 09:13:32 +00:00
:root[sizemode="fullscreen"] #TabsToolbar > #window-controls{ visibility: visible !important; z-index: 2 }
2018-12-13 03:42:11 +00:00
:root:not([inFullscreen]) #nav-bar{
margin-top: calc(0px - var(--uc-toolbar-height));
}
2018-12-13 03:42:11 +00:00
#toolbar-menubar{
min-height:unset !important;
height:var(--uc-toolbar-height) !important;
position: relative;
}
2018-12-13 14:44:28 +00:00
#main-menubar{
-moz-box-flex: 1;
2019-05-10 02:24:19 +00:00
background-color: var(--toolbar-bgcolor,--toolbar-non-lwt-bgcolor);
2018-12-13 14:44:28 +00:00
background-clip: padding-box;
border-right: 30px solid transparent;
2019-05-10 02:24:19 +00:00
border-image: linear-gradient(to left, transparent, var(--toolbar-bgcolor,--toolbar-non-lwt-bgcolor) 30px) 20 / 30px
2018-12-13 14:44:28 +00:00
}
2018-12-13 03:42:11 +00:00
#toolbar-menubar:not([inactive]){ z-index: 2 }
#toolbar-menubar[inactive] > #menubar-items {
opacity: 0;
pointer-events: none;
margin-left: var(--uc-window-drag-space-width,0px)
2019-05-10 02:24:19 +00:00
}