mobile-config-firefox/chrome/hide_tabs_toolbar.css

34 lines
903 B
CSS
Raw Normal View History

2018-12-13 04:42:11 +01:00
/* Hide tabs toolbar Fx65+ */
/* IMPORTANT */
/*
Get window_control_placeholder_support.css
Window controls will be all wrong without it
*/
2018-12-13 04:42:11 +01:00
:root{ --uc-toolbar-height: 32px; }
:root:not([uidensity="compact"]){--uc-toolbar-height: 38px}
#TabsToolbar{ visibility: collapse }
2018-12-13 04:42:11 +01:00
:root:not([inFullscreen]) #nav-bar{
margin-top: calc(0px - var(--uc-toolbar-height));
}
2018-12-13 04:42:11 +01:00
#toolbar-menubar{
min-height:unset !important;
height:var(--uc-toolbar-height) !important;
position: relative;
}
2018-12-13 15:44:28 +01:00
#main-menubar{
-moz-box-flex: 1;
background: var(--toolbar-non-lwt-bgcolor);
background-clip: padding-box;
border-right: 30px solid transparent;
border-image: linear-gradient(to left, transparent, var(--toolbar-non-lwt-bgcolor) 30px) 20 / 30px
}
2018-12-13 04:42:11 +01:00
#toolbar-menubar:not([inactive]){ z-index: 2 }
2019-03-21 16:30:07 +01:00
#toolbar-menubar[inactive] > #menubar-items { opacity: 0; margin-left: var(--uc-window-drag-space-width,0px) }