From 8dd7de143dda935a979f0967d7a981a3be74f72e Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sun, 7 Jun 2020 18:56:34 +0300 Subject: [PATCH] Make window controls visible in menubar --- chrome/menubar_in_toolbar.css | 7 +++++-- chrome/menubar_in_toolbar_oneliner_compatible.css | 6 ++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/chrome/menubar_in_toolbar.css b/chrome/menubar_in_toolbar.css index 222a112..393dece 100644 --- a/chrome/menubar_in_toolbar.css +++ b/chrome/menubar_in_toolbar.css @@ -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. */ /* 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{ margin-top: -28px !important; -} \ No newline at end of file +} + +#toolbar-menubar > .titlebar-buttonbox-container{ display: none } +#TabsToolbar > .titlebar-buttonbox-container{ display: -moz-box !important; visibility: visible !important; } \ No newline at end of file diff --git a/chrome/menubar_in_toolbar_oneliner_compatible.css b/chrome/menubar_in_toolbar_oneliner_compatible.css index d745ed8..1ddc11b 100644 --- a/chrome/menubar_in_toolbar_oneliner_compatible.css +++ b/chrome/menubar_in_toolbar_oneliner_compatible.css @@ -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. */ /* 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]){ margin-left: var(--uc-navigationbar-width); height: var(--uc-toolbar-height); -} \ No newline at end of file +} + +#toolbar-menubar > .titlebar-buttonbox-container{ display: none } \ No newline at end of file