mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
fix(app): stop animations running under reduced motion (#1956)
This commit is contained in:
1 parent
317b4e26c0
commit
e68b5b8b5a
3 files changed
+8
-3
No files matched your search
@@ -50,7 +50,7 @@
|
||||
}
|
||||
|
||||
:global(html.reduced-motion) .heart {
|
||||
animation: nekoHeartFade 0.8s ease-out forwards;
|
||||
animation: nekoHeartFade 0.8s ease-out forwards !important;
|
||||
}
|
||||
|
||||
@keyframes nekoHeartFade {
|
||||
|
||||
@@ -156,6 +156,11 @@
|
||||
animation: callBannerRing 1.6s ease-in-out infinite;
|
||||
}
|
||||
|
||||
:global(html.reduced-motion) .callBannerAvatarPending::before {
|
||||
animation: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.callBannerAvatarPending .callBannerAvatar {
|
||||
filter: grayscale(0.75);
|
||||
opacity: 0.75;
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
}
|
||||
|
||||
:global(html.reduced-motion) .dot {
|
||||
animation-duration: 1s;
|
||||
animation-iteration-count: infinite;
|
||||
animation-duration: 1s !important;
|
||||
animation-iteration-count: infinite !important;
|
||||
}
|
||||
|
||||
:global(html:not(.window-focused):not(.unfocused-fully-interactive)) .dot {
|
||||
|
||||
Reference in new issue
Block a user