Set custom backgrounds always rather than depending on lwtheme-image

:root[lwtheme-image] doesn't necessarily work with all themes
This commit is contained in:
MrOtherGuy 2021-07-31 00:21:22 +03:00
parent 04e15aba61
commit 81a94ba8d4

View file

@ -21,13 +21,11 @@ See the above repository for updates as well as full license text. */
transform-origin: top;
transition: transform 135ms linear var(--uc-autohide-toolbar-delay) !important;
z-index: 1;
}
:root[lwtheme-image] #PersonalToolbar{
/* The following properties should allow the themes with trasparent toolbars to work */
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;
background-image: var(--toolbar-bgimage), linear-gradient(var(--toolbar-bgcolor),var(--toolbar-bgcolor)),var(--lwt-header-image,var(--lwt-additional-images)) !important;
}
#PlacesToolbarItems > .bookmark-item,