Move window control placeholder styles to shared stylesheet

This commit is contained in:
MrOtherGuy 2019-02-09 00:03:13 +02:00
parent feba8a6403
commit 5e46b7a0a3
10 changed files with 140 additions and 73 deletions

View file

@ -0,0 +1,13 @@
/* Creates placeholders for window controls */
/* For window controls on RIGHT side of the window */
/* This is a supporting file used by other stylesheets */
:root{
--uc-window-control-width: 138px;
--uc-window-drag-space-width: 24px;
}
:root[tabsintitlebar="true"]:not([inFullscreen]) #nav-bar{
padding-right: calc(var(--uc-window-control-width) + var(--uc-window-drag-space-width,0px));
padding-left: var(--window-drag-space-width);
}