精修 WebUI v25:基调反转 — Operator's Terminal × Editorial

打破之前 Linear 极简,转向更装饰、更有质感的"控制台"美学。

字体与基调
- 字体栈:Manrope (body) + JetBrains Mono (数字/HUD) + Instrument Serif (备选),全部 Google Fonts
- 主色反转:Linear 紫 (#5e6ad2) → 抖音霓虹粉 (#ec4899) + 青蓝 (#06b6d4) 双 accent
- 浅色 base 改暖米白 (#fafaf7);深色改深蓝黑 (#08080c) 提亮饱和度
- body 加双层装饰:3 个 radial-gradient mesh blob + SVG turbulence grain noise (overlay 混合)

品牌标识
- brandMark 升级:6 段 conic-gradient (粉→品红→深粉→青→蓝青→粉);高光 radial drift 9s 缓慢动画;hover scale 1.03
- 内部加 SVG drop-shadow 让 logo 与彩色背景对比

按钮
- btnPrimary:linear-gradient (粉粉粉) + ::before 双层 mask conic 边框 hover 时 1.6s 旋转 + 6→10px 彩色 halo + text-shadow
- btnDanger 同款(红橙红)
- btnSoft hover 时显示粉色微光晕;btnDangerSoft hover 加 4px halo
- 所有按钮 hover translateY(-1px),active 回弹

卡片
- .card 顶部彩色 hairline (粉→青渐变),hover 时 opacity 0.45 → 0.85;hover 时 box-shadow 加 1px primary 描边 + 28px halo
- .overviewCard 同款顶部 hairline + 左侧 3px accent (primary 卡是 primary→secondary 渐变);hover translateY(-1px) + 32px halo

数字 hero
- overviewValue / statValue 改 JetBrains Mono + ss01 字符变体 + tnum + -0.025em 字距;深色主题加 24px primary glow text-shadow

状态点
- statusRunning 改 radial-gradient (mint→success) + 双色环涟漪(success + secondary 错峰 0.9s)+ 8/16px 双层光晕
- statusError 改 radial-gradient (粉→danger) + 12px halo + 1.6s pulse

实时截图区
- 加 4 个角的 viewfinder 取景器 brackets(primary 色 + drop-shadow glow)
- 运行中显示 REC 角标(红圆点 1s 闪烁 + 毛玻璃背景 + JetBrains Mono 字号)
- 空状态加 mesh radial blob (粉/青双色) + 加强扫描线对比
- hover 加 36px primary halo + box-shadow

cache-bust v24 → v25
This commit is contained in:
Codex committed 2026-05-21 12:03:44 +08:00
1 parent 4f147d214e
commit 6fb7707abb
2 files changed
+416 -159

No files matched your search

+11 -3
View File
@@ -4,7 +4,10 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>抖音挂机 - Web GUI</title>
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0%25' stop-color='%238b95ff'/><stop offset='100%25' stop-color='%235e6ad2'/></linearGradient></defs><rect width='32' height='32' rx='7' fill='url(%23g)'/><path d='M13 10.5v11l9-5.5z' fill='white'/><circle cx='22' cy='10' r='2' fill='white'/></svg>" />
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0%25' stop-color='%23f472b6'/><stop offset='100%25' stop-color='%23ec4899'/></linearGradient></defs><rect width='32' height='32' rx='7' fill='url(%23g)'/><path d='M13 10.5v11l9-5.5z' fill='white'/><circle cx='22' cy='10' r='2' fill='white'/></svg>" />
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap" rel="stylesheet" />
<script>
(function(){
try {
@@ -16,7 +19,7 @@
} catch (e) {}
})();
</script>
<link rel="stylesheet" href="styles.css?v=console-20260520-theme-v24" />
<link rel="stylesheet" href="styles.css?v=console-20260520-theme-v25" />
</head>
<body>
<div class="app">
@@ -1162,6 +1165,11 @@
</div>
<div class="preview">
<img id="liveShot" alt="实时截图预览" src="/pic/screenshot.png" />
<span class="previewBracket previewBracketTL" aria-hidden="true"></span>
<span class="previewBracket previewBracketTR" aria-hidden="true"></span>
<span class="previewBracket previewBracketBL" aria-hidden="true"></span>
<span class="previewBracket previewBracketBR" aria-hidden="true"></span>
<span class="previewRec" aria-hidden="true"><span class="previewRecDot"></span>REC</span>
<span id="liveShotTs" class="previewTs" hidden></span>
<button id="btnShotFullscreen" type="button" class="previewFullscreen" aria-label="全屏查看" data-tooltip="全屏查看" data-tooltip-pos="bottom">
<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 8V3h5"/><path d="M21 8V3h-5"/><path d="M3 16v5h5"/><path d="M21 16v5h-5"/></svg>
@@ -1260,6 +1268,6 @@
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m18 15-6-6-6 6"/></svg>
</button>
<script src="app.js?v=console-20260520-theme-v24"></script>
<script src="app.js?v=console-20260520-theme-v25"></script>
</body>
</html>