mirror of
https://github.com/hansjone/netx.git
synced 2026-10-14 23:40:54 +08:00
Release 0.4.16: keep the login earth spinning under reduced motion.
theme.css squashes every animation to 0.01ms x1 when the OS asks for reduced motion, so the login earth jumped once and snapped back (position stuck at 0%). The login stylesheet already intends the ambient spin to stay; restore it with a class selector that outranks the universal rule. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
06d2df1b1f
commit
60a0ea6021
4 changed files with 16 additions and 6 deletions
|
|
@ -480,6 +480,16 @@ html.login-page--paused .login-page__flare {
|
|||
animation: none !important;
|
||||
}
|
||||
|
||||
/*
|
||||
* theme.css squashes every animation to 0.01ms x1 under reduced motion, which
|
||||
* made the earth jump once and snap back. The slow ambient spin is intended to stay;
|
||||
* a class selector beats that universal rule even though both are !important.
|
||||
*/
|
||||
.login-planet__textures {
|
||||
animation-duration: 80s !important;
|
||||
animation-iteration-count: infinite !important;
|
||||
}
|
||||
|
||||
.login-page__flare {
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue