Use similar code for window drag space in all stylesheets part1
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
/* Firefox 65+ only */
|
||||
/* !!USER!! - REMOVE ALL BUTTONS you can from the tabs toolbar */
|
||||
|
||||
:root{ --uc-window-control-width: 138px; }
|
||||
|
||||
/* Configurable window drag space */
|
||||
:root[sizemode="normal"] #nav-bar{ --window-drag-space-width: 20px }
|
||||
#navigator-toolbox{ --window-drag-space-width: 20px }
|
||||
|
||||
#titlebar{ -moz-appearance: none !important; }
|
||||
/* We'll use window controls from menubar instead */
|
||||
@@ -45,4 +47,8 @@
|
||||
|
||||
:root:not([customizing]) #toolbar-menubar[autohide][inactive] > #menubar-items{ pointer-events: none; opacity: 0 }
|
||||
|
||||
#nav-bar{ padding-right: calc(3 * 46px + var(--window-drag-space-width,0px)); padding-left: var(--window-drag-space-width,0px)}
|
||||
/* 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)
|
||||
}
|
||||
Reference in New Issue
Block a user