From 36718eedfd0dff6b0f44e3caad45e0ed7e18a2f9 Mon Sep 17 00:00:00 2001 From: Okamoi Date: Wed, 20 Sep 2017 11:14:39 +0000 Subject: [PATCH] Move the tab bar to bottom of the window (MacOS) --- toolbars/bottom-of-window-tabbar-macOS.css | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 toolbars/bottom-of-window-tabbar-macOS.css diff --git a/toolbars/bottom-of-window-tabbar-macOS.css b/toolbars/bottom-of-window-tabbar-macOS.css new file mode 100644 index 0000000..fe3373a --- /dev/null +++ b/toolbars/bottom-of-window-tabbar-macOS.css @@ -0,0 +1,29 @@ +/* + * Description: Moves the tab bar down the window. Only for Mac. + * + * Screenshot: + * + * Tested on Mac + * + * Contributor(s): Reddit's /u/marciiF + * Licenced GPLv3 + */ + + + @-moz-document url("chrome://browser/content/browser.xul") { + :root:not([tabsintitlebar]) #TabsToolbar { + transform: translateY(100vh) !important; + } + :root:not([tabsintitlebar]) #navigator-toolbox { + margin-top: calc(0px - var(--tab-min-height)) !important; + } + :root:not([tabsintitlebar]) #browser-panel { + padding-bottom: var(--tab-min-height) !important; + } + + :root:not([tabsintitlebar]) #TabsToolbar { -moz-box-ordinal-group: 0 !important; } + :root:not([tabsintitlebar]) #toolbar-menubar { -moz-box-ordinal-group: 1 !important; } + :root:not([tabsintitlebar]) #nav-bar { -moz-box-ordinal-group: 2 !important; } + :root:not([tabsintitlebar]) #PersonalToolbar { -moz-box-ordinal-group: 3 !important; } + :root:not([tabsintitlebar]) #navigator-toolbox::after { -moz-box-ordinal-group: 4 !important; } +}