mobile-config-firefox/chrome/overlay_menubar.css

32 lines
1,005 B
CSS
Raw Normal View History

2020-04-14 10:14:21 +00:00
/* Makes menubar appear as overlay in the top left corner */
2019-08-11 19:26:26 +00:00
#toolbar-menubar{
position: fixed;
display: flex;
2019-08-11 19:26:26 +00:00
top: 0;
width: 100vw;
height: initial !important;
z-index: 10;
}
#toolbar-menubar[autohide="true"][inactive="true"]{ height: 0px !important; }
2019-08-11 19:26:26 +00:00
:root[tabsintitlebar][sizemode="maximized"] #toolbar-menubar{ top: 8px; }
#toolbar-menubar > spacer{ flex-grow: 1 }
2019-08-11 19:26:26 +00:00
#toolbar-menubar[inactive] > .titlebar-buttonbox-container{ display: none }
#main-menubar{ height: calc(var(--tab-min-height) + 4px); background-color: var(--toolbar-bgcolor); }
#menubar-items{ -moz-box-orient: horizontal !important; }
2019-08-11 19:26:26 +00:00
#menubar-items::after{
content: "";
display: -moz-box;
width: 30px;
height: calc(var(--tab-min-height) + 4px);
background-image: linear-gradient(to right, var(--toolbar-bgcolor) 30%, transparent);
}
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
#toolbar-menubar[autohide="true"]:not([inactive]) > .titlebar-buttonbox-container{ display: none }
2019-08-11 19:26:26 +00:00
}