Keep generated image loading dots animated (#5786)
This commit is contained in:
parent
41d24227cd
commit
fb65fed3b0
1 changed files with 9 additions and 4 deletions
|
|
@ -1244,11 +1244,11 @@
|
|||
* end state. Hover colour changes become instant rather than fading, which is
|
||||
* the documented WCAG outcome (motion is "minimised, not removed").
|
||||
*
|
||||
* .animate-spin is the exception: loading spinners are essential progress
|
||||
* .animate-spin and generated image loading dots are the exceptions: loading
|
||||
* indicators across Studio (tool execution loaders, sonner toasts, Tauri
|
||||
* startup / update screens, the <Spinner /> primitive). Freezing them
|
||||
* removes the only visual signal that work is in flight, so they keep
|
||||
* animating but at a slower, less aggressive 1.5s cadence.
|
||||
* startup / update screens, the <Spinner /> primitive, and image generation
|
||||
* cards). Freezing them removes the only visual signal that work is in flight,
|
||||
* so they keep animating.
|
||||
*/
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
|
|
@ -1264,4 +1264,9 @@
|
|||
animation-duration: 1.5s !important;
|
||||
animation-iteration-count: infinite !important;
|
||||
}
|
||||
|
||||
.generated-image-loading-dot {
|
||||
animation-duration: 1850ms !important;
|
||||
animation-iteration-count: infinite !important;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue