2020-06-05 07:59:22 +02:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tabs_on_bottom.css made available under Mozilla Public License v. 2.0
|
2020-05-22 07:13:58 +02:00
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
2018-11-07 20:05:02 +01:00
|
|
|
/* Modify to change window drag space width */
|
2019-02-06 12:15:16 +01:00
|
|
|
/*
|
2020-06-05 07:59:22 +02:00
|
|
|
Use tabs_on_bottom_menubar_on_top_patch.css if you
|
2019-02-06 12:15:16 +01:00
|
|
|
have menubar permanently enabled and want it on top
|
|
|
|
*/
|
|
|
|
|
2019-02-08 23:03:13 +01:00
|
|
|
/* IMPORTANT */
|
|
|
|
/*
|
2019-02-09 11:45:52 +01:00
|
|
|
Get window_control_placeholder_support.css
|
2019-05-05 12:42:28 +02:00
|
|
|
Window controls will be all wrong without it.
|
|
|
|
Additionally on Linux, you may need to get:
|
|
|
|
linux_gtk_window_control_patch.css
|
2019-02-08 23:03:13 +01:00
|
|
|
*/
|
|
|
|
|
2020-05-06 18:17:22 +02:00
|
|
|
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container,
|
|
|
|
#TabsToolbar > .titlebar-buttonbox-container{
|
2018-11-07 20:05:02 +01:00
|
|
|
position: fixed;
|
2019-09-28 11:18:59 +02:00
|
|
|
display: block;
|
2022-05-31 23:19:19 +02:00
|
|
|
top: 0px;
|
2018-11-07 20:05:02 +01:00
|
|
|
right:0;
|
|
|
|
height: 40px;
|
|
|
|
}
|
2019-03-20 15:18:23 +01:00
|
|
|
/* Mac specific. You should set that font-smoothing pref to true if you are on any platform where window controls are on left */
|
|
|
|
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
|
2020-06-04 16:09:09 +02:00
|
|
|
.titlebar-buttonbox-container{ left:0; right: unset !important; }
|
2019-03-20 15:18:23 +01:00
|
|
|
}
|
2019-02-06 12:15:16 +01:00
|
|
|
|
2020-07-12 19:28:36 +02:00
|
|
|
:root[uidensity="compact"] #TabsToolbar > .titlebar-buttonbox-container{ height: 32px }
|
2019-02-06 12:15:16 +01:00
|
|
|
|
2018-12-19 07:17:51 +01:00
|
|
|
#toolbar-menubar[inactive] > .titlebar-buttonbox-container{ opacity: 0 }
|
2018-12-14 04:02:48 +01:00
|
|
|
|
2018-11-07 20:05:02 +01:00
|
|
|
.titlebar-buttonbox-container > .titlebar-buttonbox{ height: 100%; }
|
2019-02-06 12:15:16 +01:00
|
|
|
|
2018-12-14 04:02:48 +01:00
|
|
|
#titlebar{
|
2020-08-14 15:47:24 +02:00
|
|
|
-moz-box-ordinal-group: 2;
|
2018-12-14 04:02:48 +01:00
|
|
|
-moz-appearance: none !important;
|
2020-08-14 15:47:24 +02:00
|
|
|
--tabs-navbar-shadow-size: 0px;
|
2018-12-14 04:02:48 +01:00
|
|
|
}
|
2022-03-27 14:31:59 +02:00
|
|
|
/* Re-order window and tab notification boxes */
|
|
|
|
#navigator-toolbox > div{ display: contents }
|
|
|
|
.global-notificationbox,
|
2021-11-06 21:23:29 +01:00
|
|
|
#tab-notification-deck{ -moz-box-ordinal-group: 2 }
|
2019-02-06 12:15:16 +01:00
|
|
|
|
2019-01-30 15:16:38 +01:00
|
|
|
#TabsToolbar .titlebar-spacer{ display: none; }
|
|
|
|
/* Also hide the toolbox bottom border which isn't at bottom with this setup */
|
2019-05-05 12:42:28 +02:00
|
|
|
#navigator-toolbox::after{ display: none !important; }
|
|
|
|
|
|
|
|
@media (-moz-gtk-csd-close-button){ .titlebar-button{ -moz-box-orient: vertical } }
|
2019-10-29 18:09:45 +01:00
|
|
|
|
2022-03-25 09:28:59 +01:00
|
|
|
/* At Activated Menubar */
|
|
|
|
:root:not([chromehidden~="menubar"], [sizemode="fullscreen"]) #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-buttonbox-container {
|
|
|
|
display: block !important;
|
|
|
|
}
|
2022-03-25 09:39:13 +01:00
|
|
|
#toolbar-menubar:not([autohide="true"]) > .titlebar-buttonbox-container {
|
2022-03-25 09:28:59 +01:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2019-10-29 18:09:45 +01:00
|
|
|
/* These exist only for compatibility with autohide-tabstoolbar.css */
|
|
|
|
toolbox#navigator-toolbox > toolbar#nav-bar.browser-toolbar{ animation: none; }
|
|
|
|
#navigator-toolbox:hover #TabsToolbar{ animation: slidein ease-out 48ms 1 }
|
2021-08-14 11:09:26 +02:00
|
|
|
#TabsToolbar > .titlebar-buttonbox-container{ visibility: visible }
|
2021-08-14 13:54:21 +02:00
|
|
|
#navigator-toolbox:not(:-moz-lwtheme){ background-color: -moz-dialog }
|
2021-09-19 18:38:20 +02:00
|
|
|
|
2021-11-06 21:23:29 +01:00
|
|
|
/* Uncomment the following if you want bookmarks toolbar to be below tabs */
|
2021-09-19 18:38:20 +02:00
|
|
|
/*
|
|
|
|
#PersonalToolbar{ -moz-box-ordinal-group: 2 }
|
2022-03-25 09:28:59 +01:00
|
|
|
*/
|