精修 WebUI v31:运行状态指示 / tab burst / 截图入场 / 数字千分隔符
logHeader 状态 pill - logTitle ::before 圆点改 6px 渐变(粉→青)+ 6px primary halo - ::after 加状态 chip:默认 "PAUSED" muted;body.is-running 时切 "● LIVE"(success 色 + glow border) 侧边导航 burst 反馈 - tab 切换时 sideNav 加 isBurst 类 380ms,触发 ::before 横/纵向 scaleY 1.3 / scaleX 1.6 的脉冲 + 光晕加强(10→18px) - 同 tab 二次点击不触发;prefers-reduced-motion 下不动 截图入场动画 - preview img 从 opacity 0 + scale(0.985) → opacity 1 + scale(1),280ms 缓出 - 删除一处旧的重复规则 数字千分隔符 - 新增 fmtNum() 工具函数(toLocaleString en-US 千分隔,PID/Trace 不走) - statLogLen / 9 个福袋统计 / 跳过 / 切换直播间 / 粉丝团等字段全部 fmt 化 - 大数字现在显示 "12,345" 风格,配合 JetBrains Mono tabular-nums 更易读 cache-bust v30 → v31
This commit is contained in:
1 parent
0d01dabb69
commit
9c3cf86f41
3 files changed
+87
-26
No files matched your search
+54
-10
@@ -1453,12 +1453,26 @@ body.is-running .cardTitle::after {
|
||||
height 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
|
||||
opacity var(--motion-fast);
|
||||
pointer-events: none;
|
||||
transform-origin: center;
|
||||
}
|
||||
|
||||
.sideNav.isBurst::before {
|
||||
animation: tabBurst 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
|
||||
}
|
||||
|
||||
@keyframes tabBurst {
|
||||
0% { transform: scaleY(1) scaleX(1); box-shadow: 0 0 10px color-mix(in oklab, var(--primary) 70%, transparent); }
|
||||
35% { transform: scaleY(1.3) scaleX(1.6); box-shadow: 0 0 18px color-mix(in oklab, var(--primary) 90%, transparent); }
|
||||
100% { transform: scaleY(1) scaleX(1); box-shadow: 0 0 10px color-mix(in oklab, var(--primary) 70%, transparent); }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.sideNav::before {
|
||||
transition: opacity var(--motion-fast);
|
||||
}
|
||||
.sideNav.isBurst::before {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
.tabBtn {
|
||||
@@ -2785,9 +2799,15 @@ body.is-running .previewRec {
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
opacity: 0;
|
||||
transform: scale(0.985);
|
||||
color: transparent;
|
||||
font-size: 0;
|
||||
transition: opacity var(--motion-slow);
|
||||
transition: opacity 280ms ease, transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
|
||||
}
|
||||
|
||||
.preview img[src*="screenshot.png"][data-loading="false"] {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.previewTs {
|
||||
@@ -2841,10 +2861,6 @@ body.is-running .previewRec {
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.preview img[src*="screenshot.png"][data-loading="false"] {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.preview.isShotEmpty img {
|
||||
display: none;
|
||||
}
|
||||
@@ -3139,13 +3155,41 @@ details[open] > summary.sectionTitle::before {
|
||||
}
|
||||
|
||||
.logTitle::before {
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
flex: 0 0 4px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
flex: 0 0 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--primary);
|
||||
background: linear-gradient(135deg, var(--primary), var(--secondary));
|
||||
box-shadow: 0 0 6px color-mix(in oklab, var(--primary) 50%, transparent);
|
||||
content: "";
|
||||
opacity: 0.7;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
/* Live status pill following the title */
|
||||
.logTitle::after {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
margin-left: 8px;
|
||||
padding: 0 7px;
|
||||
height: 17px;
|
||||
border: 1px solid color-mix(in oklab, var(--muted) 35%, transparent);
|
||||
border-radius: 99px;
|
||||
background: color-mix(in oklab, var(--muted) 10%, transparent);
|
||||
color: var(--muted);
|
||||
font-family: "JetBrains Mono", ui-monospace, monospace;
|
||||
font-size: 9px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.16em;
|
||||
content: "PAUSED";
|
||||
transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast);
|
||||
}
|
||||
|
||||
body.is-running .logTitle::after {
|
||||
border-color: color-mix(in oklab, var(--success) 50%, transparent);
|
||||
background: color-mix(in oklab, var(--success) 18%, transparent);
|
||||
color: var(--success);
|
||||
content: "● LIVE";
|
||||
}
|
||||
|
||||
.logHeaderActions {
|
||||
|
||||
Reference in new issue
Block a user