fenix-fox/chrome/tabs_on_bottom_menubar_on_top_patch.css

31 lines
1 KiB
CSS
Raw Normal View History

/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tabs_on_bottom_menubar_on_top_patch.css made available under Mozilla Public License v. 2.0
2020-05-22 05:13:58 +00:00
See the above repository for updates as well as full license text. */
/* Menubar on top patch - use with tabs_on_bottom.css */
2019-01-30 14:13:42 +00:00
/* Only really useful if menubar is ALWAYS visible */
:root{ --uc-window-control-width: 0px !important }
#navigator-toolbox{ padding-top: calc(29px + var(--uc-titlebar-padding,0px)) !important }
2020-05-06 16:23:44 +00:00
2019-01-30 14:13:42 +00:00
#toolbar-menubar{
position: fixed;
2020-05-06 16:23:44 +00:00
display: flex;
top: var(--uc-titlebar-padding,0px);
height: 29px;
2019-01-30 14:13:42 +00:00
width: 100%;
overflow: hidden;
}
2020-05-06 16:23:44 +00:00
#toolbar-menubar > .titlebar-buttonbox-container{ height: 29px; order: 100; }
#toolbar-menubar > [flex]{ flex-grow: 100; }
2020-05-06 16:26:19 +00:00
#toolbar-menubar > spacer[flex]{
order: 99;
flex-grow: 1;
min-width: var(--uc-window-drag-space-width,20px);
}
2020-05-06 16:23:44 +00:00
2019-01-30 14:13:42 +00:00
#toolbar-menubar .titlebar-button{ padding: 2px 17px !important; }
2020-05-06 16:23:44 +00:00
#toolbar-menubar .toolbarbutton-1 { --toolbarbutton-inner-padding: 3px }