Move window control placeholder styles to shared stylesheet
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
/* Modify this to change window drag space width */
|
||||
/* IMPORTANT */
|
||||
/*
|
||||
Get EITHER
|
||||
window_control_placeholder_support.css
|
||||
OR
|
||||
window_control_placeholder_support_mac.css
|
||||
|
||||
:root{
|
||||
--uc-window-control-width: 138px;
|
||||
}
|
||||
Window controls will be all wrong without it
|
||||
|
||||
#navigator-toolbox{ --window-drag-space-width: 24px }
|
||||
*/
|
||||
|
||||
.titlebar-buttonbox-container{
|
||||
position: fixed;
|
||||
@@ -31,12 +34,6 @@
|
||||
:root[sizemode="maximized"] > #navigator-toolbox{ padding-top: 8px !important; }
|
||||
:root[sizemode="maximized"] #toolbar-menubar:not([autohide="false"]) .titlebar-buttonbox-container{ top: 8px }
|
||||
|
||||
/* 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)
|
||||
}
|
||||
|
||||
/* Move tabs below content */
|
||||
:root:not([inDOMFullscreen]) #content-deck{ margin-bottom: var(--tab-min-height) }
|
||||
#TabsToolbar{ position: fixed; bottom: 0px; width: 100vw; }
|
||||
|
||||
Reference in New Issue
Block a user