iter(g250): 新增动效兜底门禁,补上转圈与不确定进度的减少动效降级

This commit is contained in:
HIsheR
2026-10-26 22:07:53 +08:00
parent cd20b0ce99
commit b6229e2a1c
11 changed files with 131 additions and 18 deletions
+12
View File
@@ -5283,3 +5283,15 @@ h5.ua-type-title { font-size: var(--ua-font-size-md); }
max-width: 100%;
overflow-wrap: anywhere;
}
/* ---- 减少动效补充兜底:转圈与不确定态进度是仅有的两处漏网无限动画 ----
放在文件末尾:与既有 prefers-reduced-motion 清单同序,后置胜出即可压住源码序更早的 animation 声明 */
@media (prefers-reduced-motion: reduce) {
.ua-spinner {
animation: none; /* 转圈停下:保留缺角静态环,仍看得出是「加载中」而不是坏图标 */
}
.ua-progress-fill.ua-indeterminate {
animation: none;
width: 100%; /* 不确定态降级为满宽淡条:不再左右扫,语义仍是「进行中」 */
}
}