add temporary dummy variables for tab-block-margin

This commit is contained in:
MrOtherGuy
2021-06-05 00:17:16 +03:00
parent 753c37d010
commit 7db2c96530
14 changed files with 56 additions and 20 deletions

View File

@@ -3,6 +3,9 @@ See the above repository for updates as well as full license text. */
/* Makes menubar appear as overlay in the top left corner */
/* Dummy variable to support both versions 89-90 */
:root{ --tab-block-margin: var(--proton-tab-block-margin) }
#toolbar-menubar{
position: fixed;
display: flex;
@@ -20,7 +23,7 @@ See the above repository for updates as well as full license text. */
#toolbar-menubar[inactive] > .titlebar-buttonbox-container{ display: none }
#main-menubar{
height: calc(var(--tab-min-height) + 2 * var(--proton-tab-block-margin,0px));
height: calc(var(--tab-min-height) + 2 * var(--tab-block-margin,0px));
background-color: var(--arrowpanel-background);
color: var(--arrowpanel-color);
}
@@ -30,7 +33,7 @@ See the above repository for updates as well as full license text. */
content: "";
display: -moz-box;
width: 30px;
height: calc(var(--tab-min-height) + 2 * var(--proton-tab-block-margin,0px));
height: calc(var(--tab-min-height) + 2 * var(--tab-block-margin,0px));
background-image: linear-gradient(to right, var(--arrowpanel-background) 30%, transparent);
}