Nightly: Rainbow-Flash verlängert auf 2s (Animation + Timeout angepasst)
This commit is contained in:
parent
3d9e03da57
commit
9789a5e931
2 changed files with 2 additions and 2 deletions
|
|
@ -601,7 +601,7 @@ export default function App() {
|
|||
const el = (e.currentTarget as HTMLDivElement | undefined);
|
||||
if (el) {
|
||||
el.classList.add('rainbow-flash');
|
||||
setTimeout(()=> el.classList.remove('rainbow-flash'), 1000);
|
||||
setTimeout(()=> el.classList.remove('rainbow-flash'), 2000);
|
||||
}
|
||||
}
|
||||
} catch {}
|
||||
|
|
|
|||
|
|
@ -328,7 +328,7 @@ body {
|
|||
[data-theme="rainbow"] .sound-btn.rainbow-flash {
|
||||
background: linear-gradient(45deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080) !important;
|
||||
background-size: 400% 400% !important;
|
||||
animation: chaos-rainbow-animation 1s ease-in-out 1;
|
||||
animation: chaos-rainbow-animation 2s ease-in-out 1;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue