Move window control placeholder styles to shared stylesheet
This commit is contained in:
@@ -4,10 +4,19 @@ Use Fx65_tabs_on_bottom_menubar_on_top_patch if you
|
||||
have menubar permanently enabled and want it on top
|
||||
*/
|
||||
|
||||
/* IMPORTANT */
|
||||
/*
|
||||
Get EITHER
|
||||
window_control_placeholder_support.css
|
||||
OR
|
||||
window_control_placeholder_support_mac.css
|
||||
|
||||
Window controls will be all wrong without it
|
||||
|
||||
*/
|
||||
|
||||
:root{
|
||||
--uc-titlebar-padding: 0px;
|
||||
--uc-window-control-width: 138px
|
||||
}
|
||||
--uc-titlebar-padding: 0px; }
|
||||
:root[sizemode="maximized"][tabsintitlebar]{ --uc-titlebar-padding: 8px }
|
||||
:root[tabsintitlebar="true"] #nav-bar{ --window-drag-space-width: 24px; }
|
||||
|
||||
@@ -32,12 +41,6 @@ have menubar permanently enabled and want it on top
|
||||
-moz-appearance: none !important;
|
||||
}
|
||||
|
||||
/* Space to drag the window on both sides of navbar */
|
||||
:root[tabsintitlebar="true"]:not([inFullscreen]) #nav-bar{
|
||||
padding-right: calc(var(--uc-window-control-width) + var(--window-drag-space-width,0px));
|
||||
padding-left: var(--window-drag-space-width,0px)
|
||||
}
|
||||
|
||||
.titlebar-placeholder,
|
||||
#TabsToolbar .titlebar-spacer{ display: none; }
|
||||
/* Also hide the toolbox bottom border which isn't at bottom with this setup */
|
||||
|
||||
Reference in New Issue
Block a user