mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 08:55:31 +02:00
Update theme a6335949-4465-4b71-926c-4a52d34bc9c0 (better-findbar)
- Moved vertical position to the bottom by default - Fixed animations
This commit is contained in:
parent
09b950d988
commit
20befe32f9
2 changed files with 15 additions and 11 deletions
|
@ -1,11 +1,15 @@
|
|||
|
||||
:root {
|
||||
--better-findbar-transform-translateY: -150px;
|
||||
--better-findbar-transform-translateY: 150px;
|
||||
--better-findbar-transform-translateX: -50%;
|
||||
--better-findbar-position-top: 15px;
|
||||
--better-findbar-position-bottom: auto;
|
||||
--better-findbar-position-top: auto;
|
||||
--better-findbar-position-bottom: 15px;
|
||||
--better-findbar-position-left: 50%;
|
||||
--better-findbar-position-right: auto;
|
||||
}
|
||||
.browserContainer {
|
||||
overflow: clip
|
||||
}
|
||||
|
||||
findbar {
|
||||
display: flex !important;
|
||||
|
@ -31,7 +35,7 @@ findbar {
|
|||
background: var(--zen-colors-tertiary) !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;
|
||||
opacity: 1 !important;
|
||||
|
@ -79,11 +83,11 @@ 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-position-bottom: 15px;
|
||||
--better-findbar-position-top: auto;
|
||||
--better-findbar-transform-translateY: -150px;
|
||||
--better-findbar-position-bottom: auto;
|
||||
--better-findbar-position-top: 15px;
|
||||
}
|
||||
|
||||
|
||||
|
@ -98,4 +102,4 @@ body:has(
|
|||
findbar .findbar-textbox:not([status="notfound"]) {
|
||||
background: color-mix(in hsl, var(--zen-colors-tertiary), transparent 10%) !important;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -36,11 +36,11 @@
|
|||
"options": [
|
||||
{
|
||||
"label": "Top",
|
||||
"value": "default"
|
||||
"value": "top"
|
||||
},
|
||||
{
|
||||
"label": "Bottom",
|
||||
"value": "bottom"
|
||||
"value": "default"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue