2018-11-07 20:05:02 +01:00
|
|
|
/* Modify to change window drag space width */
|
2019-02-06 12:15:16 +01:00
|
|
|
/*
|
2019-02-09 11:45:52 +01:00
|
|
|
Use Fx65_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
|
|
|
*/
|
|
|
|
|
2019-02-07 11:43:36 +01:00
|
|
|
:root{
|
2019-02-08 23:03:13 +01:00
|
|
|
--uc-titlebar-padding: 0px; }
|
2019-02-06 12:15:16 +01:00
|
|
|
:root[sizemode="maximized"][tabsintitlebar]{ --uc-titlebar-padding: 8px }
|
|
|
|
|
2018-11-07 20:05:02 +01:00
|
|
|
.titlebar-buttonbox-container{
|
|
|
|
position: fixed;
|
2019-02-06 12:15:16 +01:00
|
|
|
top: var(--uc-titlebar-padding,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"){
|
|
|
|
:root{ --uc-titlebar-padding: 0px !important }
|
|
|
|
.titlebar-buttonbox-container{ left:0; right: unset; }
|
|
|
|
}
|
2019-02-06 12:15:16 +01:00
|
|
|
|
|
|
|
:root[uidensity="compact"] .titlebar-buttonbox-container{ height: 32px }
|
|
|
|
|
2018-12-19 07:17:51 +01:00
|
|
|
#toolbar-menubar[inactive] > .titlebar-buttonbox-container{ opacity: 0 }
|
2018-12-14 04:02:48 +01:00
|
|
|
|
2019-02-06 12:15:16 +01:00
|
|
|
#navigator-toolbox{ padding-top: var(--uc-titlebar-padding,0px) !important; }
|
|
|
|
|
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{
|
|
|
|
-moz-box-ordinal-group: 2;
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
}
|
2019-02-06 12:15:16 +01:00
|
|
|
|
2018-11-07 20:05:02 +01:00
|
|
|
.titlebar-placeholder,
|
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 } }
|