Better handle fullscreen and menubar enabled modes
This commit is contained in:
parent
f137723484
commit
e0f100125a
1 changed files with 7 additions and 2 deletions
|
@ -16,10 +16,15 @@
|
|||
:root[uidensity="compact"] .titlebar-buttonbox-container{ height: 32px }
|
||||
.titlebar-buttonbox-container > .titlebar-buttonbox{ height: 100%; }
|
||||
|
||||
/* Re-adjust window cotrols if menubar is permanently enabled */
|
||||
:root[tabsintitlebar="true"]:not([sizemode="fullscreen"]) #toolbar-menubar[autohide="false"]{ transform: translateX(0px); }
|
||||
:root[tabsintitlebar="true"]:not([sizemode="fullscreen"]) #toolbar-menubar[autohide="false"] .titlebar-buttonbox-container{ height: 100%; }
|
||||
:root[tabsintitlebar="true"]:not([sizemode="fullscreen"]) #toolbar-menubar[autohide="false"] .titlebar-button{ padding: 2px 17px !important; }
|
||||
|
||||
#titlebar{ -moz-appearance: none !important; }
|
||||
/* Counteract -moz-appearance when maximized */
|
||||
:root[sizemode="maximized"] > #navigator-toolbox{ padding-top: 8px !important; }
|
||||
:root[sizemode="maximized"] .titlebar-buttonbox-container{ top: 8px }
|
||||
: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"] #nav-bar{
|
||||
|
|
Loading…
Reference in a new issue