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; }
|
2022-02-12 07:20:20 +00:00
|
|
|
@media (-moz-platform: windows),
|
|
|
|
(-moz-os-version: windows-win7),
|
|
|
|
(-moz-os-version: windows-win10){
|
|
|
|
:root[sizemode="maximized"][tabsintitlebar]{
|
|
|
|
--uc-titlebar-padding: 8px;
|
|
|
|
}
|
2021-04-24 06:46:17 +00:00
|
|
|
}
|
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"){
|
2021-04-24 06:46:17 +00:00
|
|
|
:root{ --uc-titlebar-padding: 0px !important }
|
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
|
|
|
|
2020-07-12 17:28:36 +00:00
|
|
|
:root[uidensity="compact"] #TabsToolbar > .titlebar-buttonbox-container{ height: 32px }
|
2019-02-06 11:15:16 +00:00
|
|
|
|
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-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{
|
2020-08-14 13:47:24 +00:00
|
|
|
-moz-box-ordinal-group: 2;
|
2018-12-14 03:02:48 +00:00
|
|
|
-moz-appearance: none !important;
|
2020-08-14 13:47:24 +00:00
|
|
|
--tabs-navbar-shadow-size: 0px;
|
2018-12-14 03:02:48 +00:00
|
|
|
}
|
2021-11-06 20:23:29 +00:00
|
|
|
#tab-notification-deck{ -moz-box-ordinal-group: 2 }
|
2019-02-06 11:15:16 +00:00
|
|
|
|
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
|
|
|
|
2022-03-25 08:28:59 +00: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 08:39:13 +00:00
|
|
|
#toolbar-menubar:not([autohide="true"]) > .titlebar-buttonbox-container {
|
2022-03-25 08:28:59 +00:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
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 }
|
2021-08-14 09:09:26 +00:00
|
|
|
#TabsToolbar > .titlebar-buttonbox-container{ visibility: visible }
|
2021-08-14 11:54:21 +00:00
|
|
|
#navigator-toolbox:not(:-moz-lwtheme){ background-color: -moz-dialog }
|
2021-09-19 16:38:20 +00:00
|
|
|
|
2021-11-06 20:23:29 +00:00
|
|
|
/* Uncomment the following if you want bookmarks toolbar to be below tabs */
|
2021-09-19 16:38:20 +00:00
|
|
|
/*
|
|
|
|
#PersonalToolbar{ -moz-box-ordinal-group: 2 }
|
2022-03-25 08:28:59 +00:00
|
|
|
*/
|