diff --git a/internal/web/static/index.html b/internal/web/static/index.html index e27a853..a4340df 100644 --- a/internal/web/static/index.html +++ b/internal/web/static/index.html @@ -13,11 +13,13 @@ color-scheme: light dark; --bg: #f6f5f2; --card: #ffffff; --text: #1d1f21; --muted: #666a70; --line: #dddcd7; --button: #eceae5; --accent: #b4490f; --error: #a4161a; + --good: #1a7f37; --bad: #c62828; } @media (prefers-color-scheme: dark) { :root { --bg: #191a1c; --card: #24262a; --text: #eeeeec; --muted: #a2a6ac; --line: #383a3f; --button: #33363b; --accent: #f08a4b; --error: #ff8a8a; + --good: #3fb950; --bad: #ff6b6b; } } * { box-sizing: border-box; } @@ -27,7 +29,11 @@ background: var(--bg); color: var(--text); font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; } - h1 { font-size: 1.25rem; margin: 4px 0 16px; } + header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 16px; } + h1 { font-size: 1.25rem; margin: 0; } + #status { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; text-align: right; } + #status::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--bad); } + #status.good::before { background: var(--good); } .room { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; @@ -56,12 +62,16 @@
-