style(next)/floating buttons: update the highlight animation

This commit is contained in:
Adorian Doran 2025-03-22 01:28:53 +02:00
parent 4292d67b95
commit 592a7fe771

View File

@ -1464,14 +1464,17 @@ div.floating-buttons-children .close-floating-buttons:has(.close-floating-button
@keyframes floating-button-highlight { @keyframes floating-button-highlight {
from { from {
opacity: .25; background: var(--floating-button-background);
color: var(--floating-button-color);
} to { } to {
opacity: 1; background: var(--floating-button-hover-background);
color: var(--floating-button-hover-color);
} }
} }
.floating-buttons .bx-tada { .floating-buttons .bx-tada {
animation: floating-button-highlight 300ms linear alternate-reverse infinite; /* The class is applied for 1700ms */
animation: floating-button-highlight 425ms ease-in-out alternate infinite;
} }
.floating-buttons .bx-tada::before { .floating-buttons .bx-tada::before {