Skip to content

Commit 059c908

Browse files
authored
Update fast-search-card.js
1 parent f26e5d6 commit 059c908

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

dist/fast-search-card.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,9 +1258,15 @@ class FastSearchCard extends HTMLElement {
12581258
gap: 12px;
12591259
opacity: 0;
12601260
transform: translateX(20px);
1261-
/* NEUE GOOEY EIGENSCHAFTEN: */
1261+
}
1262+
1263+
.category-buttons.gooey-start {
12621264
filter: blur(10px) contrast(20);
12631265
}
1266+
1267+
.category-buttons.gooey-end {
1268+
filter: blur(0px) contrast(1);
1269+
}
12641270

12651271
/* Mobile: Category-Buttons zentrieren */
12661272
@media (max-width: 768px) {
@@ -5010,7 +5016,12 @@ class FastSearchCard extends HTMLElement {
50105016
const categoryButtons = this.shadowRoot.querySelector('.category-buttons');
50115017
this.isMenuView = true;
50125018
categoryButtons.classList.add('visible');
5013-
categoryButtons.animate([{ opacity: 0, transform: 'translateX(20px) scale(0.9)' }, { opacity: 1, transform: 'translateX(0) scale(1)' }], { duration: 400, easing: 'cubic-bezier(0.16, 1, 0.3, 1)', fill: 'forwards' });
5019+
5020+
categoryButtons.animate([
5021+
{ opacity: 0, transform: 'translateX(0px) scale(0.9)', filter: 'blur(10px) contrast(20)' },
5022+
{ opacity: 1, transform: 'translateX(0px) scale(1)', filter: 'blur(0px) contrast(1)' }
5023+
], { duration: 400, easing: 'cubic-bezier(0.16, 1, 0.3, 1)', fill: 'forwards' });
5024+
50145025
}
50155026

50165027
hideCategoryButtons() {

0 commit comments

Comments
 (0)