Update theme a6335949-4465-4b71-926c-4a52d34bc9c0 (better-findbar)

- Moved vertical position to the bottom by default
- Fixed animations
This commit is contained in:
RobotoSkunk 2025-05-09 14:20:01 -06:00
parent 09b950d988
commit 20befe32f9
No known key found for this signature in database
GPG key ID: 2C1CF08728E58C45
2 changed files with 15 additions and 11 deletions

View file

@ -1,11 +1,15 @@
:root { :root {
--better-findbar-transform-translateY: -150px; --better-findbar-transform-translateY: 150px;
--better-findbar-transform-translateX: -50%; --better-findbar-transform-translateX: -50%;
--better-findbar-position-top: 15px; --better-findbar-position-top: auto;
--better-findbar-position-bottom: auto; --better-findbar-position-bottom: 15px;
--better-findbar-position-left: 50%; --better-findbar-position-left: 50%;
--better-findbar-position-right: auto; --better-findbar-position-right: auto;
} }
.browserContainer {
overflow: clip
}
findbar { findbar {
display: flex !important; display: flex !important;
@ -31,7 +35,7 @@ findbar {
background: var(--zen-colors-tertiary) !important; background: var(--zen-colors-tertiary) !important;
border: 1px solid var(--zen-colors-border) !important; border: 1px solid var(--zen-colors-border) !important;
transition: top 0.35s ease, bottom 0.35s ease !important; transition: transform 0.35s ease !important;
visibility: visible !important; visibility: visible !important;
opacity: 1 !important; opacity: 1 !important;
@ -79,11 +83,11 @@ body:has(
} }
body:has( body:has(
#theme-Better-Find-Bar[theme-better_find_bar-vertical_position="bottom"] #theme-Better-Find-Bar[theme-better_find_bar-vertical_position="top"]
) { ) {
--better-findbar-transform-translateY: 150px; --better-findbar-transform-translateY: -150px;
--better-findbar-position-bottom: 15px; --better-findbar-position-bottom: auto;
--better-findbar-position-top: auto; --better-findbar-position-top: 15px;
} }
@ -98,4 +102,4 @@ body:has(
findbar .findbar-textbox:not([status="notfound"]) { findbar .findbar-textbox:not([status="notfound"]) {
background: color-mix(in hsl, var(--zen-colors-tertiary), transparent 10%) !important; background: color-mix(in hsl, var(--zen-colors-tertiary), transparent 10%) !important;
} }
} }

View file

@ -36,11 +36,11 @@
"options": [ "options": [
{ {
"label": "Top", "label": "Top",
"value": "default" "value": "top"
}, },
{ {
"label": "Bottom", "label": "Bottom",
"value": "bottom" "value": "default"
} }
] ]
} }