diff --git a/plugins/sentinel/dashboard.html b/plugins/sentinel/dashboard.html index 18a4a04..c2fceef 100644 --- a/plugins/sentinel/dashboard.html +++ b/plugins/sentinel/dashboard.html @@ -34,7 +34,7 @@
-
+
@@ -51,15 +51,15 @@ .node-card.flash { animation:card-flash .6s ease-out } @keyframes card-flash { 0%{background:var(--md-sys-color-surface-container-highest)} 100%{background:var(--md-sys-color-surface-container)} } .node-name { font-weight:600; font-size:1rem; margin-bottom:2px } - .node-sys { font-size:.75rem; color:var(--text-dim); margin-bottom:4px } + .node-sys { font-size:.75rem; color:var(--text-dim); margin-bottom:6px } .node-url { font-size:.75rem; color:var(--text-dim); margin-bottom:8px; word-break:break-all } .node-notes { font-size:.75rem; color:var(--text-dim); font-style:italic; margin-bottom:8px } /* 横版布局 — 左设备信息 | 右数据+图表同行 */ #sentinel-grid.layout-row { display:flex;flex-direction:column;gap:12px } - #sentinel-grid.layout-row .node-card { display:grid;grid-template-columns:160px 1fr;gap:8px 16px;align-items:start } + #sentinel-grid.layout-row .node-card { display:grid;grid-template-columns:160px 1fr;gap:12px 16px;align-items:start } #sentinel-grid.layout-row .col-left { min-width:0 } - #sentinel-grid.layout-row .col-right-stack { display:flex;flex-direction:column;gap:8px;min-width:0 } - #sentinel-grid.layout-row .mtr { display:flex;margin-bottom:4px;align-items:center;gap:12px;height:48px;padding:0 8px; } + #sentinel-grid.layout-row .col-right-stack { display:flex;flex-direction:column;gap:12px;min-width:0 } + #sentinel-grid.layout-row .mtr { display:flex;margin-bottom:6px;align-items:center;gap:12px;height:48px;padding:0 8px; } #sentinel-grid.layout-row .mtr-data { flex:1;min-width:0;white-space:nowrap } #sentinel-grid.layout-row .mtr-data .rlabel { font-size:.7rem;color:var(--text-dim);text-transform:uppercase;margin-right:6px } #sentinel-grid.layout-row .mtr-data .rval { font-weight:600 }