Add drag-space support

This commit is contained in:
MrOtherGuy
2018-12-02 05:30:59 +02:00
parent 67568b3c10
commit 8e5b9b476b
2 changed files with 13 additions and 2 deletions

View File

@@ -1,5 +1,10 @@
/* Makes tabs toolbar items zero-height initially and sets enlarge them to fill up space equal to tab-min-height set on tabs */
/* Firefox 65+ only */
/* !!USER!! - REMOVE ALL BUTTONS you can from the tabs toolbar */
/* Configurable window drag space */
:root[sizemode="normal"] #nav-bar{ --window-drag-space-width: 20px }
#titlebar{ -moz-appearance: none !important; }
/* We'll use window controls from menubar instead */
#TabsToolbar > .titlebar-buttonbox-container { display: none }
@@ -35,4 +40,5 @@
}
:root:not([customizing]) #toolbar-menubar[autohide][inactive] > #menubar-items{ pointer-events: none; opacity: 0 }
#nav-bar{ padding-right: calc(3 * 46px) }
#nav-bar{ padding-right: calc(3 * 46px + var(--window-drag-space-width,0px)); padding-left: var(--window-drag-space-width,0px)}