总览只保留实时汇总下的 sim/live 分表,在线绿离线红,模式不写台数。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-03 03:49:39 +08:00
parent 5e73093b11
commit 68357fc9c1
3 changed files with 17 additions and 109 deletions
+13 -53
View File
@@ -333,53 +333,6 @@ button, .btn {
gap: 10px;
margin: 0 0 14px;
}
.overview-kpi-block {
padding: 12px 14px;
border-radius: var(--radius);
border: 1px solid var(--line);
background: var(--panel);
box-shadow: var(--shadow);
backdrop-filter: blur(10px);
}
.overview-kpi-block--main {
border-color: rgba(56, 189, 248, 0.28);
}
.overview-kpi-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 8px;
margin-bottom: 10px;
}
.overview-kpi-head strong {
font-size: 0.92rem;
letter-spacing: 0.02em;
}
.overview-kpi-grid {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 8px;
}
.overview-kpi-card {
padding: 8px 10px;
border-radius: 10px;
border: 1px solid rgba(56, 189, 248, 0.12);
background: rgba(5, 12, 22, 0.5);
min-width: 0;
}
.overview-kpi-label {
font-size: 0.72rem;
color: var(--muted);
margin-bottom: 4px;
}
.overview-kpi-value {
font-size: 0.95rem;
font-weight: 700;
font-variant-numeric: tabular-nums;
word-break: break-word;
}
.overview-kpi-value.status-on { color: var(--ok); }
.overview-kpi-value.status-off { color: var(--bad); }
.overview-mode-wrap {
overflow-x: auto;
border-radius: var(--radius);
@@ -387,6 +340,17 @@ button, .btn {
background: var(--panel);
box-shadow: var(--shadow);
}
.overview-mode-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 8px;
padding: 12px 14px 0;
}
.overview-mode-head strong {
font-size: 0.92rem;
letter-spacing: 0.02em;
}
.overview-mode-table {
width: 100%;
border-collapse: collapse;
@@ -411,6 +375,8 @@ button, .btn {
text-align: left;
white-space: nowrap;
}
.overview-mode-table .status-on { color: var(--ok); font-weight: 700; }
.overview-mode-table .status-off { color: var(--bad); font-weight: 700; }
.overview-mode-tag {
display: inline-block;
padding: 2px 8px;
@@ -427,12 +393,6 @@ button, .btn {
color: #6ee7b7;
background: rgba(52, 211, 153, 0.14);
}
@media (max-width: 1100px) {
.overview-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
.overview-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pos-brief {
margin: 0;
padding-left: 0;