diff --git a/webui/index.html b/webui/index.html index bd0a727..ce28b56 100644 --- a/webui/index.html +++ b/webui/index.html @@ -15,7 +15,7 @@ } catch (e) {} })(); - +
@@ -534,19 +534,22 @@
福袋中奖内容(最近10条)
-
-
+
+
运行状态
-
-
+
PID
-
-
+
运行时长
-
+
+ +
日志行数
-
@@ -1249,6 +1252,6 @@
- + diff --git a/webui/styles.css b/webui/styles.css index 8f5fa7f..5a1712d 100644 --- a/webui/styles.css +++ b/webui/styles.css @@ -537,7 +537,7 @@ svg { position: relative; overflow: hidden; min-width: 0; - padding: 14px 16px; + padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); @@ -549,8 +549,8 @@ svg { .overviewCard::before { position: absolute; left: 0; - top: 14px; - bottom: 14px; + top: 16px; + bottom: 16px; width: 2px; content: ""; border-radius: 0 2px 2px 0; @@ -580,24 +580,24 @@ svg { .overviewLabel { color: var(--muted); - font-size: var(--text-xs); + font-size: 10px; font-weight: 600; line-height: 1.3; - letter-spacing: var(--tracking-wide); + letter-spacing: 0.08em; text-transform: uppercase; } .overviewValue { display: flex; - align-items: center; + align-items: baseline; gap: 8px; min-width: 0; - margin-top: 8px; + margin-top: 10px; color: var(--text-strong); - font-size: var(--text-xl); + font-size: var(--text-2xl); font-weight: 600; - line-height: var(--leading-tight); - letter-spacing: var(--tracking-tight); + line-height: 1.1; + letter-spacing: -0.015em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; } @@ -783,7 +783,7 @@ svg { .cardTitle { display: flex; align-items: center; - gap: 9px; + gap: 10px; min-width: 0; padding-bottom: 12px; border-bottom: 1px solid var(--border); @@ -791,6 +791,25 @@ svg { font-size: 15px; font-weight: 600; line-height: 1.25; + letter-spacing: var(--tracking-tight); +} + +.cardTitle .sectionIcon { + display: inline-flex; + align-items: center; + justify-content: center; + flex: 0 0 26px; + width: 26px; + height: 26px; + border: 1px solid var(--primary-border); + border-radius: var(--radius-sm); + background: var(--primary-soft); + color: var(--primary); +} + +.cardTitle .sectionIcon svg { + width: 14px; + height: 14px; } .sectionIcon { @@ -1113,7 +1132,7 @@ svg { align-items: center; gap: 8px; min-width: 0; - margin: 20px 0 10px; + margin: 22px 0 12px; padding: 6px 0 8px; color: var(--muted); font-size: 11px; @@ -1124,6 +1143,21 @@ svg { border-bottom: 1px solid var(--border); } +.sectionTitle::before { + width: 4px; + height: 4px; + flex: 0 0 4px; + border-radius: 50%; + background: var(--primary); + content: ""; + opacity: 0.7; +} + +.cardTitle.sectionTitle::before, +summary.sectionTitle::before { + display: none; +} + .panel > .sectionTitle:first-child { margin-top: 0; } @@ -1383,6 +1417,26 @@ input[type="number"]::-webkit-outer-spin-button { margin-top: 12px; } +.statsGridHero { + grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); + gap: 12px; + margin-bottom: 4px; +} + +.statHero { + padding: 18px 20px; + border-color: var(--border-strong); +} + +.statHero .statLabel { + font-size: 11px; +} + +.statHero .statValue { + font-size: var(--text-2xl); + letter-spacing: -0.015em; +} + .stat { min-width: 0; padding: 14px;