add multi-image background to bookmark toolbar if theme has header image

This is a workaround for an issue where the toolbar background may be
transparent if theme uses non-opaque toolbar background-color
This commit is contained in:
MrOtherGuy 2021-07-31 00:03:00 +03:00
parent 366874f797
commit 04e15aba61

View file

@ -23,6 +23,13 @@ See the above repository for updates as well as full license text. */
z-index: 1;
}
:root[lwtheme-image] #PersonalToolbar{
background-color: transparent !important;
background-position: top left,top left,var(--lwt-background-alignment,top left);
background-position-y:top,top,calc(-2 * (var(--tab-block-margin) + var(--toolbarbutton-inner-padding) + var(--toolbarbutton-outer-padding)) - var(--tab-min-height) - 16px);
background-image: var(--toolbar-bgimage), linear-gradient(var(--toolbar-bgcolor),var(--toolbar-bgcolor)),var(--lwt-header-image) !important;
}
#PlacesToolbarItems > .bookmark-item,
#OtherBookmarks,
#PersonalToolbar > #import-button{