floating findbar: Derive findbar background from theme colors

Previously this just used --toolbar-bgcolor which may have transparency
leading to poor readability. Similar results might still happen if theme
has poor text-background contrast, but now the result should be less
unpredicatable.
This commit is contained in:
MrOtherGuy
2023-05-01 12:36:17 +03:00
parent 512a39ba57
commit 2a0f40b305

View File

@@ -33,7 +33,8 @@ findbar > .findbar-container,
findbar > .close-icon{
border: 1px solid var(--chrome-content-separator-color);
border-width: 0 0 1px 0px;
background: var(--uc-light-bkgnd-color,var(--toolbar-bgcolor)) !important;
background-color: var(--lwt-accent-color) !important;
background-image: linear-gradient(var(--toolbar-bgcolor),var(--toolbar-bgcolor)),var(--lwt-header-image,none);
pointer-events: auto;
}