完美一版

This commit is contained in:
2026-08-22 00:57:37 +08:00
parent e3d3bfd767
commit a8f102bdb1
36 changed files with 1374 additions and 354 deletions
+25
View File
@@ -66,6 +66,11 @@ nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; }
.cardDragHandle:active { cursor: grabbing; }
.card > p { min-height: 42px; margin: 0; padding: 0 20px 14px; color: #8fa2bd; line-height: 1.5; }
.status { align-self: flex-start; padding: 5px 8px; color: #5ce4c2; border: 1px solid #27594f; border-radius: 7px; font: 700 10px/1 ui-monospace, monospace; letter-spacing: .08em; }
.cardRuntime { display: grid; flex: 0 0 auto; justify-items: end; gap: 7px; }
.cardRuntime > div:first-child { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.framePolicy { color: #8296b2; font-size: 9px; white-space: nowrap; }
.frameMetrics { display: grid; grid-template-columns: auto auto; gap: 4px 9px; color: #8296b2; font: 9px/1.15 ui-monospace, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.frameMetrics span:nth-child(2n) { text-align: right; }
.plotViewport { flex: 1; width: 100%; min-height: 160px; overflow: hidden; background: #070d18; }
canvas { display: block; width: 100%; height: 100%; background: #070d18; overscroll-behavior: contain; touch-action: none; }
canvas:focus { outline: 1px solid #5ce4c2; outline-offset: -1px; }
@@ -105,6 +110,26 @@ canvas:focus { outline: 1px solid #5ce4c2; outline-offset: -1px; }
.propertyActions button:first-child:not(:disabled) { color: #062019; border-color: #5ce4c2; background: #5ce4c2; }
.propertyActions button:disabled { opacity: .4; cursor: default; }
.savingHint { display: block; margin-top: 5px; color: #5ce4c2; text-align: right; }
.framePolicyActions { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 11px; border: 1px solid #27594f; border-radius: 9px; background: #0b1b1a; }
.framePolicyActions button { flex: 0 0 auto; padding: 8px 12px; color: #062019; border: 1px solid #5ce4c2; border-radius: 7px; background: #5ce4c2; cursor: pointer; }
.framePolicyActions small { color: #7fa99f; line-height: 1.4; }
.frameDiagnosticPanel { display: grid; gap: 14px; min-width: 0; }
.diagnosticNotice { padding: 10px 12px; color: #8eabca; border: 1px solid #29435e; border-radius: 9px; background: #0c1a2a; font-size: 11px; line-height: 1.55; }
.frameDiagnosticSummary { display: grid; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr)); gap: 8px; margin: 0; }
.frameDiagnosticSummary > div { min-width: 0; padding: 10px; border: 1px solid #213653; border-radius: 9px; background: #0a1422; }
.frameDiagnosticSummary dt { color: #71839e; font-size: 10px; }
.frameDiagnosticSummary dd { margin: 5px 0 0; color: #5ce4c2; font: 700 14px/1.2 ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.frameTimelineChart { width: 100%; height: 260px; min-height: 220px; border: 1px solid #213653; border-radius: 10px; background: #08111e; }
.frameStagePanel { overflow: hidden; border: 1px solid #213653; border-radius: 10px; background: #0a1422; }
.frameStagePanel > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 13px; border-bottom: 1px solid #1d304a; background: #101d2f; }
.frameStagePanel > header code { color: #71839e; font: 10px/1 ui-monospace, monospace; }
.frameStagePanel dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0; }
.frameStagePanel dl > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-right: 1px solid #172942; border-bottom: 1px solid #172942; }
.frameStagePanel dt { color: #91a5c0; font-size: 11px; }
.frameStagePanel dd { margin: 0; color: #dce8f8; font: 11px/1 ui-monospace, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.diagnosticEmpty { display: grid; min-height: 180px; place-content: center; gap: 8px; padding: 24px; color: #71839e; border: 1px dashed #29435e; border-radius: 10px; text-align: center; }
.diagnosticEmpty strong { color: #cbd8ea; }
.componentCard { margin-bottom: 13px; overflow: hidden; border: 1px solid #213653; border-radius: 11px; background: #0a1422; }
.componentCard > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; color: #dce8f8; background: #101d2f; cursor: pointer; }