From 2bfc5456a240d6373c21b06450c862e32e6c275c Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 7 Nov 2018 21:05:02 +0200 Subject: [PATCH] tabs on bottom for Fx65 --- chrome/Fx65_tabs_on_bottom.css | 18 ++++++++++++++++++ chrome/page_action_buttons_on_hover.css | 11 +++++++++++ 2 files changed, 29 insertions(+) create mode 100644 chrome/Fx65_tabs_on_bottom.css create mode 100644 chrome/page_action_buttons_on_hover.css diff --git a/chrome/Fx65_tabs_on_bottom.css b/chrome/Fx65_tabs_on_bottom.css new file mode 100644 index 0000000..0773d59 --- /dev/null +++ b/chrome/Fx65_tabs_on_bottom.css @@ -0,0 +1,18 @@ +/* Modify to change window drag space width */ +:root[tabsintitlebar="true"] #nav-bar{ --window-drag-space-width: 24px } + +.titlebar-buttonbox-container{ + position: fixed; + top:0; + right:0; + height: 40px; +} +:root[uidensity="compact"] .titlebar-buttonbox-container{ height: 32px } +.titlebar-buttonbox-container > .titlebar-buttonbox{ height: 100%; } +#titlebar{ -moz-box-ordinal-group: 2 } +:root[tabsintitlebar="true"] #nav-bar{ + padding-right: calc(138px + var(--window-drag-space-width,0px)); + padding-left: var(--window-drag-space-width,0px) +} +.titlebar-placeholder, +#TabsToolbar > .toolbar-items > spacer{ display: none; } \ No newline at end of file diff --git a/chrome/page_action_buttons_on_hover.css b/chrome/page_action_buttons_on_hover.css new file mode 100644 index 0000000..727e6e9 --- /dev/null +++ b/chrome/page_action_buttons_on_hover.css @@ -0,0 +1,11 @@ +#page-action-buttons > *[class^=urlbar-icon]{ + margin-inline-end: -26px; + opacity: 0; + transition: margin-inline-end 200ms linear, opacity 200ms linear; +} +#page-action-buttons:hover > *[class^=urlbar-icon], +#page-action-buttons > *[class^=urlbar-icon][open], +#page-action-buttons > *[class^=urlbar-icon][open] ~ *[class^=urlbar-icon]{ + opacity: 1; + margin-inline-end: 0px; +} \ No newline at end of file