2020-06-05 05:59:22 +00: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 05:13:58 +00:00
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
2018-11-07 19:05:02 +00:00
|
|
|
/* Modify to change window drag space width */
|
2019-02-06 11:15:16 +00:00
|
|
|
/*
|
2020-06-05 05:59:22 +00:00
|
|
|
Use tabs_on_bottom_menubar_on_top_patch.css if you
|
2019-02-06 11:15:16 +00:00
|
|
|
have menubar permanently enabled and want it on top
|
|
|
|
*/
|
|
|
|
|
2019-02-08 22:03:13 +00:00
|
|
|
/* IMPORTANT */
|
|
|
|
/*
|
2019-02-09 10:45:52 +00:00
|
|
|
Get window_control_placeholder_support.css
|
2019-05-05 10:42:28 +00: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 22:03:13 +00:00
|
|
|
*/
|
|
|
|
|
2020-05-06 16:17:22 +00:00
|
|
|
:root{ --uc-titlebar-padding: 0px; }
|
2019-02-06 11:15:16 +00:00
|
|
|
:root[sizemode="maximized"][tabsintitlebar]{ --uc-titlebar-padding: 8px }
|
|
|
|
|
2020-05-06 16:17:22 +00:00
|
|
|
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container,
|
|
|
|
#TabsToolbar > .titlebar-buttonbox-container{
|
2018-11-07 19:05:02 +00:00
|
|
|
position: fixed;
|
2019-09-28 09:18:59 +00:00
|
|
|
display: block;
|
2019-02-06 11:15:16 +00:00
|
|
|
top: var(--uc-titlebar-padding,0px);
|
2018-11-07 19:05:02 +00:00
|
|
|
right:0;
|
|
|
|
height: 40px;
|
|
|
|
}
|
2019-03-20 14:18:23 +00: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-04-12 18:51:36 +00:00
|
|
|
@media not (-moz-os-version: windows-win10){
|
2020-05-22 06:07:26 +00:00
|
|
|
:root{ --uc-titlebar-padding: 0px !important }
|
2020-04-12 18:51:36 +00:00
|
|
|
}
|
2020-06-04 14:09:09 +00:00
|
|
|
.titlebar-buttonbox-container{ left:0; right: unset !important; }
|
2019-03-20 14:18:23 +00:00
|
|
|
}
|
2019-02-06 11:15:16 +00:00
|
|
|
|
|
|
|
:root[uidensity="compact"] .titlebar-buttonbox-container{ height: 32px }
|
|
|
|
|
2018-12-19 06:17:51 +00:00
|
|
|
#toolbar-menubar[inactive] > .titlebar-buttonbox-container{ opacity: 0 }
|
2018-12-14 03:02:48 +00:00
|
|
|
|
2019-02-06 11:15:16 +00:00
|
|
|
#navigator-toolbox{ padding-top: var(--uc-titlebar-padding,0px) !important; }
|
|
|
|
|
2018-12-14 03:02:48 +00:00
|
|
|
|
2018-11-07 19:05:02 +00:00
|
|
|
.titlebar-buttonbox-container > .titlebar-buttonbox{ height: 100%; }
|
2019-02-06 11:15:16 +00:00
|
|
|
|
2018-12-14 03:02:48 +00:00
|
|
|
#titlebar{
|
|
|
|
-moz-box-ordinal-group: 2;
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
}
|
2019-02-06 11:15:16 +00:00
|
|
|
|
2018-11-07 19:05:02 +00:00
|
|
|
.titlebar-placeholder,
|
2019-01-30 14:16:38 +00:00
|
|
|
#TabsToolbar .titlebar-spacer{ display: none; }
|
|
|
|
/* Also hide the toolbox bottom border which isn't at bottom with this setup */
|
2019-05-05 10:42:28 +00:00
|
|
|
#navigator-toolbox::after{ display: none !important; }
|
|
|
|
|
|
|
|
@media (-moz-gtk-csd-close-button){ .titlebar-button{ -moz-box-orient: vertical } }
|
2019-10-29 17:09:45 +00: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 }
|