2018-11-07 19:05:02 +00:00
|
|
|
/* Modify to change window drag space width */
|
2019-02-06 11:15:16 +00:00
|
|
|
/*
|
2019-02-09 10:45:52 +00:00
|
|
|
Use Fx65_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
|
|
|
*/
|
|
|
|
|
2019-02-07 10:43:36 +00:00
|
|
|
:root{
|
2019-02-08 22:03:13 +00:00
|
|
|
--uc-titlebar-padding: 0px; }
|
2019-02-06 11:15:16 +00:00
|
|
|
:root[sizemode="maximized"][tabsintitlebar]{ --uc-titlebar-padding: 8px }
|
|
|
|
|
2018-11-07 19:05:02 +00:00
|
|
|
.titlebar-buttonbox-container{
|
|
|
|
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){
|
|
|
|
:root{ --uc-titlebar-padding: 0px !important }
|
|
|
|
}
|
2019-03-20 14:18:23 +00:00
|
|
|
.titlebar-buttonbox-container{ left:0; right: unset; }
|
|
|
|
}
|
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 }
|