Make window controls visible in menubar

This commit is contained in:
MrOtherGuy 2020-06-07 18:56:34 +03:00
parent b8853b6de9
commit 8dd7de143d
2 changed files with 9 additions and 4 deletions

View file

@ -1,4 +1,4 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/menubar_in_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 */ /* Makes menubar to appear in tabs toolbar pushing tabs to the side */
@ -8,4 +8,7 @@ See the above repository for updates as well as full license text. */
} }
:root[sizemode="maximized"] #toolbar-menubar:not([inactive]) ~ #TabsToolbar{ :root[sizemode="maximized"] #toolbar-menubar:not([inactive]) ~ #TabsToolbar{
margin-top: -28px !important; margin-top: -28px !important;
} }
#toolbar-menubar > .titlebar-buttonbox-container{ display: none }
#TabsToolbar > .titlebar-buttonbox-container{ display: -moz-box !important; visibility: visible !important; }

View file

@ -1,4 +1,4 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/menubar_in_toolbar_oneliner_compatible.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_oneliner_compatible.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. */
/* Use with navbar_tabs_oneliner.css */ /* Use with navbar_tabs_oneliner.css */
@ -11,4 +11,6 @@ See the above repository for updates as well as full license text. */
#toolbar-menubar:not([inactive]){ #toolbar-menubar:not([inactive]){
margin-left: var(--uc-navigationbar-width); margin-left: var(--uc-navigationbar-width);
height: var(--uc-toolbar-height); height: var(--uc-toolbar-height);
} }
#toolbar-menubar > .titlebar-buttonbox-container{ display: none }