add temporary dummy variables for tab-block-margin
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user