add temporary dummy variables for tab-block-margin
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_bookmarks_and_main_toolbars.css made available under Mozilla Public License v. 2.0
|
||||
See the above repository for updates as well as full license text. */
|
||||
|
||||
/* Dummy variable to support both versions 89-90 */
|
||||
:root{ --tab-block-margin: var(--proton-tab-block-margin) }
|
||||
|
||||
#navigator-toolbox{
|
||||
--uc-bm-height: 22px; /* Might need to adjust if the toolbar has other buttons */
|
||||
--uc-bm-padding: 2px; /* Vertical padding to be applied to bookmarks */
|
||||
@@ -25,7 +28,7 @@ See the above repository for updates as well as full license text. */
|
||||
:root[sessionrestored] #PersonalToolbar{
|
||||
background-image: linear-gradient(var(--toolbar-bgcolor),var(--toolbar-bgcolor)), var(--lwt-additional-images,var(--toolbar-bgimage)) !important;
|
||||
background-position: top,var(--lwt-background-alignment);
|
||||
background-position-y: calc(0px - var(--tab-min-height) - 2*var(--proton-tab-block-margin,0px));
|
||||
background-position-y: calc(0px - var(--tab-min-height) - 2*var(--tab-block-margin,0px));
|
||||
background-repeat: repeat,var(--lwt-background-tiling);
|
||||
transform: rotateX(90deg);
|
||||
transform-origin: top;
|
||||
@@ -35,7 +38,7 @@ See the above repository for updates as well as full license text. */
|
||||
|
||||
:root[sessionrestored] #PersonalToolbar{
|
||||
z-index: 1;
|
||||
background-position-y: calc(0px - var(--tab-min-height) - 2*var(--proton-tab-block-margin,0px) + var( --uc-navbar-height));
|
||||
background-position-y: calc(0px - var(--tab-min-height) - 2*var(--tab-block-margin,0px) + var( --uc-navbar-height));
|
||||
}
|
||||
|
||||
:root[lwtheme-image] #nav-bar,
|
||||
|
||||
Reference in New Issue
Block a user