iter: d20 progress 支持不确定态

This commit is contained in:
ui-arch-bot
2026-10-23 17:02:24 +08:00
parent 4555542811
commit 9cfdb43a4f
10 changed files with 73 additions and 23 deletions
+17
View File
@@ -893,6 +893,23 @@
animation: none;
opacity: 0;
}
/* 不确定态:固定比例填充块匀速往复,宽度与位移都由动画控制 */
.ua-progress-fill.ua-indeterminate {
width: 35%;
transition: none;
animation: ua-indeterminate 1.2s ease-in-out infinite;
}
.ua-progress-fill.ua-indeterminate::after {
animation: none;
}
@keyframes ua-indeterminate {
from {
transform: translateX(-100%);
}
to {
transform: translateX(285%);
}
}
@keyframes ua-stripe {
to {
background-position: 17px 0;