rewrite - draw titlebar horizontally so height of menubar doesn't matter
This commit is contained in:
parent
59bee65e7b
commit
4bf73e9296
1 changed files with 10 additions and 9 deletions
|
@ -1,14 +1,15 @@
|
||||||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/menubar_in_tabs_toolbar.css made available under Mozilla Public License v. 2.0
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/menubar_in_tabs_toolbar.css made available under Mozilla Public License v. 2.0
|
||||||
See the above repository for updates as well as full license text. */
|
See the above repository for updates as well as full license text. */
|
||||||
|
|
||||||
/* Makes menubar to appear in tabs toolbar pushing tabs to the side */
|
:root:not([customizing]) #titlebar{ -moz-box-orient: horizontal }
|
||||||
#toolbar-menubar:not([inactive]) ~ #TabsToolbar{
|
#toolbar-menubar > .titlebar-buttonbox-container,
|
||||||
margin-left:300px !important;
|
#toolbar-menubar > spacer{ display: none; }
|
||||||
margin-top: -26px !important;
|
|
||||||
}
|
#toolbar-menubar{ -moz-box-align: center }
|
||||||
:root[sizemode="maximized"] #toolbar-menubar:not([inactive]) ~ #TabsToolbar{
|
:root:not([customizing]) #toolbar-menubar[autohide][inactive]{ max-width: 0 }
|
||||||
margin-top: -28px !important;
|
|
||||||
|
#TabsToolbar > .titlebar-buttonbox-container{
|
||||||
|
display: -moz-box !important;
|
||||||
|
visibility: visible !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#toolbar-menubar > .titlebar-buttonbox-container{ display: none }
|
|
||||||
#TabsToolbar > .titlebar-buttonbox-container{ display: -moz-box !important; visibility: visible !important; }
|
|
Loading…
Reference in a new issue