From 2f6bea41d59ad4119c908bf58925a0e7411503bf Mon Sep 17 00:00:00 2001 From: ngfchl Date: Sun, 21 Jun 2026 10:10:26 +0800 Subject: [PATCH] style: countdown spinner with text overlay, configurable refresh interval --- cmd/server/templates/index.html | 57 ++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/cmd/server/templates/index.html b/cmd/server/templates/index.html index ea15222..902f00d 100644 --- a/cmd/server/templates/index.html +++ b/cmd/server/templates/index.html @@ -384,6 +384,23 @@ gap: 4px } + .dc-spinner { + position: relative; + width: 16px; + height: 16px; + display: inline-flex; + align-items: center; + justify-content: center + } + + .dc-spinner-txt { + position: absolute; + font-size: 7px; + font-weight: 700; + font-family: var(--mono); + color: var(--text) + } + .dc-sub { padding: 1px 16px 0; font-size: 11px; @@ -1020,8 +1037,7 @@