Feat: Adding Search prefixes to homepage search
This commit is contained in:
1 parent
623851bd70
commit
4f56edc4fc
6 files changed
+222
-5
No files matched your search
@@ -241,6 +241,25 @@ @layer components {
|
||||
}
|
||||
}
|
||||
|
||||
/* The page behind is dimmed while searching, fading with the overlay. */
|
||||
#search-overlay::backdrop {
|
||||
background-color: rgb(0 0 0 / 0);
|
||||
transition:
|
||||
background-color 0.2s ease,
|
||||
display 0.2s allow-discrete,
|
||||
overlay 0.2s allow-discrete;
|
||||
}
|
||||
|
||||
#search-overlay:popover-open::backdrop {
|
||||
background-color: rgb(0 0 0 / 0.3);
|
||||
}
|
||||
|
||||
@starting-style {
|
||||
#search-overlay:popover-open::backdrop {
|
||||
background-color: rgb(0 0 0 / 0);
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Shared underline-slide animation ────────────────────────── */
|
||||
.underline-slide {
|
||||
background-image: linear-gradient(currentColor, currentColor);
|
||||
|
||||
Reference in new issue
Block a user