diff --git a/cmd/server/templates/index.html b/cmd/server/templates/index.html index 902f00d..6f0ea9f 100644 --- a/cmd/server/templates/index.html +++ b/cmd/server/templates/index.html @@ -163,6 +163,19 @@ color: var(--dim) } + .hmid .ant-spin { + vertical-align: middle; + margin-right: 2px + } + + .app-header > span:last-child, + .app-header > div:last-child { + white-space: nowrap; + display: flex; + align-items: center; + gap: 6px + } + .dot { width: 6px; height: 6px; @@ -386,8 +399,8 @@ .dc-spinner { position: relative; - width: 16px; - height: 16px; + width: 22px; + height: 22px; display: inline-flex; align-items: center; justify-content: center @@ -395,10 +408,21 @@ .dc-spinner-txt { position: absolute; - font-size: 7px; + font-size: 8px; font-weight: 700; font-family: var(--mono); - color: var(--text) + color: var(--text); + z-index: 1 + } + + .ant-spin-dot { + color: var(--accent) !important + } + + .ant-spin-text { + color: var(--text) !important; + font-size: 12px !important; + font-family: var(--mono) !important } .dc-sub { @@ -407,16 +431,6 @@ color: var(--dim) } - .dc-time { - font-size: 10px; - color: var(--dim); - font-family: var(--mono); - flex-shrink: 0; - display: flex; - align-items: center; - gap: 4px - } - .dc-sub { padding: 1px 16px 0; font-size: 10px; @@ -440,9 +454,20 @@ } @media (max-width: 767px) { - .dc-left { border-right: none; border-bottom: 1px solid var(--border); margin-bottom: 8px } - .dc-col { flex: none !important; width: 100% } - .dashboard { display: none !important } + .dc-left { + border-right: none; + border-bottom: 1px solid var(--border); + margin-bottom: 8px + } + + .dc-col { + flex: none !important; + width: 100% + } + + .dashboard { + display: none !important + } } .dc-gpu-full { @@ -962,7 +987,7 @@
- +
硬件状态
@@ -1037,7 +1062,8 @@