serverdeck 1.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- serverdeck/__init__.py +13 -0
- serverdeck/__main__.py +8 -0
- serverdeck/assets/app.css +381 -0
- serverdeck/assets/app.js +819 -0
- serverdeck/assets/index.html +152 -0
- serverdeck/cli.py +96 -0
- serverdeck/collector.py +255 -0
- serverdeck/collectors/__init__.py +1 -0
- serverdeck/collectors/containers.py +112 -0
- serverdeck/collectors/disks.py +82 -0
- serverdeck/collectors/network.py +132 -0
- serverdeck/collectors/restic.py +244 -0
- serverdeck/collectors/system.py +159 -0
- serverdeck/collectors/timers.py +171 -0
- serverdeck/config.py +114 -0
- serverdeck/utils.py +99 -0
- serverdeck/web.py +125 -0
- serverdeck-1.1.0.dist-info/METADATA +124 -0
- serverdeck-1.1.0.dist-info/RECORD +21 -0
- serverdeck-1.1.0.dist-info/WHEEL +4 -0
- serverdeck-1.1.0.dist-info/entry_points.txt +2 -0
serverdeck/__init__.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""serverdeck: a lightweight, read-only server status dashboard."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from importlib.metadata import PackageNotFoundError
|
|
6
|
+
from importlib.metadata import version as _package_version
|
|
7
|
+
|
|
8
|
+
try:
|
|
9
|
+
__version__ = _package_version("serverdeck")
|
|
10
|
+
except PackageNotFoundError: # 源码树中直接运行时
|
|
11
|
+
__version__ = "1.1.0"
|
|
12
|
+
|
|
13
|
+
__all__ = ["__version__"]
|
serverdeck/__main__.py
ADDED
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--bg: #0b0f14;
|
|
3
|
+
--panel: #111820;
|
|
4
|
+
--panel-2: #0d141b;
|
|
5
|
+
--border: #1f2a35;
|
|
6
|
+
--border-soft: #172029;
|
|
7
|
+
--text: #e6edf3;
|
|
8
|
+
--muted: #8b98a5;
|
|
9
|
+
--faint: #5c6975;
|
|
10
|
+
--accent: #4fb3a6;
|
|
11
|
+
--ok: #4cc38a;
|
|
12
|
+
--warn: #d4a23a;
|
|
13
|
+
--bad: #e5534b;
|
|
14
|
+
--info: #5b9dd9;
|
|
15
|
+
--mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
|
|
16
|
+
--sans: "Inter", "Segoe UI", system-ui, -apple-system, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
17
|
+
}
|
|
18
|
+
* { box-sizing: border-box; }
|
|
19
|
+
html, body { margin: 0; padding: 0; }
|
|
20
|
+
body {
|
|
21
|
+
background: var(--bg);
|
|
22
|
+
color: var(--text);
|
|
23
|
+
font-family: var(--sans);
|
|
24
|
+
font-size: 14px;
|
|
25
|
+
line-height: 1.5;
|
|
26
|
+
-webkit-font-smoothing: antialiased;
|
|
27
|
+
}
|
|
28
|
+
a { color: var(--info); }
|
|
29
|
+
.mono { font-family: var(--mono); font-size: 12.5px; }
|
|
30
|
+
.muted { color: var(--muted); }
|
|
31
|
+
.tiny { font-size: 11.5px; }
|
|
32
|
+
.small { font-size: 12.5px; }
|
|
33
|
+
[hidden] { display: none !important; }
|
|
34
|
+
|
|
35
|
+
.top {
|
|
36
|
+
position: sticky;
|
|
37
|
+
top: 0;
|
|
38
|
+
z-index: 20;
|
|
39
|
+
background: rgba(11, 15, 20, 0.96);
|
|
40
|
+
backdrop-filter: blur(10px);
|
|
41
|
+
border-bottom: 1px solid var(--border);
|
|
42
|
+
}
|
|
43
|
+
.topbar {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
justify-content: space-between;
|
|
47
|
+
gap: 16px;
|
|
48
|
+
flex-wrap: wrap;
|
|
49
|
+
padding: 14px 24px;
|
|
50
|
+
}
|
|
51
|
+
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
|
|
52
|
+
.brand .mark {
|
|
53
|
+
width: 30px; height: 30px; flex: none;
|
|
54
|
+
border-radius: 8px;
|
|
55
|
+
background: #0f2224;
|
|
56
|
+
border: 1px solid #245150;
|
|
57
|
+
position: relative;
|
|
58
|
+
}
|
|
59
|
+
.brand .mark::after {
|
|
60
|
+
content: "";
|
|
61
|
+
position: absolute; inset: 8px;
|
|
62
|
+
border-radius: 3px;
|
|
63
|
+
background: var(--accent);
|
|
64
|
+
opacity: 0.85;
|
|
65
|
+
}
|
|
66
|
+
h1 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }
|
|
67
|
+
.sub { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 1px; }
|
|
68
|
+
.controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
|
|
69
|
+
.btn {
|
|
70
|
+
appearance: none;
|
|
71
|
+
border: 1px solid var(--border);
|
|
72
|
+
background: var(--panel);
|
|
73
|
+
color: var(--text);
|
|
74
|
+
border-radius: 6px;
|
|
75
|
+
padding: 5px 11px;
|
|
76
|
+
font-size: 12.5px;
|
|
77
|
+
font-family: inherit;
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
}
|
|
80
|
+
.btn:hover { border-color: #33414f; background: #16202a; }
|
|
81
|
+
.btn:disabled { opacity: 0.5; cursor: default; }
|
|
82
|
+
.switch { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); cursor: pointer; user-select: none; }
|
|
83
|
+
.switch input { accent-color: var(--accent); }
|
|
84
|
+
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; flex: none; }
|
|
85
|
+
.dot.warn { background: var(--warn); }
|
|
86
|
+
.dot.bad { background: var(--bad); }
|
|
87
|
+
.dot.off { background: var(--faint); }
|
|
88
|
+
.statusline { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
|
|
89
|
+
|
|
90
|
+
.tabs {
|
|
91
|
+
display: flex;
|
|
92
|
+
gap: 2px;
|
|
93
|
+
padding: 0 18px;
|
|
94
|
+
overflow-x: auto;
|
|
95
|
+
border-top: 1px solid var(--border-soft);
|
|
96
|
+
scrollbar-width: none;
|
|
97
|
+
}
|
|
98
|
+
.tabs::-webkit-scrollbar { display: none; }
|
|
99
|
+
.tab-button {
|
|
100
|
+
appearance: none;
|
|
101
|
+
background: none;
|
|
102
|
+
border: 0;
|
|
103
|
+
border-bottom: 2px solid transparent;
|
|
104
|
+
color: var(--muted);
|
|
105
|
+
padding: 9px 12px 7px;
|
|
106
|
+
font: inherit;
|
|
107
|
+
font-size: 12.5px;
|
|
108
|
+
line-height: 1.4;
|
|
109
|
+
display: inline-flex;
|
|
110
|
+
align-items: center;
|
|
111
|
+
gap: 6px;
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
}
|
|
115
|
+
.tab-button:hover { color: var(--text); }
|
|
116
|
+
.tab-button.active { color: var(--text); border-bottom-color: var(--accent); }
|
|
117
|
+
.tab-button:focus-visible { outline: 2px solid #2f5a5e; outline-offset: -2px; border-radius: 4px; }
|
|
118
|
+
.tab-count {
|
|
119
|
+
min-width: 16px;
|
|
120
|
+
height: 16px;
|
|
121
|
+
padding: 0 4px;
|
|
122
|
+
border-radius: 8px;
|
|
123
|
+
background: #1b2732;
|
|
124
|
+
color: #aab6c2;
|
|
125
|
+
font-family: var(--mono);
|
|
126
|
+
font-size: 10px;
|
|
127
|
+
display: inline-flex;
|
|
128
|
+
align-items: center;
|
|
129
|
+
justify-content: center;
|
|
130
|
+
font-variant-numeric: tabular-nums;
|
|
131
|
+
}
|
|
132
|
+
.tab-button.active .tab-count { background: #173433; color: #8fd3c9; }
|
|
133
|
+
|
|
134
|
+
.banner {
|
|
135
|
+
margin: 14px 24px 0;
|
|
136
|
+
padding: 9px 12px;
|
|
137
|
+
border: 1px solid #5a2a2a;
|
|
138
|
+
background: #1c1213;
|
|
139
|
+
color: #f0b9b5;
|
|
140
|
+
border-radius: 7px;
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
gap: 10px;
|
|
144
|
+
flex-wrap: wrap;
|
|
145
|
+
font-size: 13px;
|
|
146
|
+
}
|
|
147
|
+
.banner .filter { max-width: 220px; }
|
|
148
|
+
.banner[hidden] { display: none; }
|
|
149
|
+
|
|
150
|
+
.tab-panels { max-width: 1600px; margin: 0 auto; }
|
|
151
|
+
.tab-panel { display: none; }
|
|
152
|
+
.tab-panel.active { display: block; }
|
|
153
|
+
|
|
154
|
+
.grid {
|
|
155
|
+
display: grid;
|
|
156
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
157
|
+
gap: 14px;
|
|
158
|
+
padding: 16px 24px 36px;
|
|
159
|
+
max-width: 1600px;
|
|
160
|
+
margin: 0 auto;
|
|
161
|
+
}
|
|
162
|
+
.card {
|
|
163
|
+
background: var(--panel);
|
|
164
|
+
border: 1px solid var(--border);
|
|
165
|
+
border-radius: 10px;
|
|
166
|
+
padding: 15px 16px;
|
|
167
|
+
min-width: 0;
|
|
168
|
+
display: flex;
|
|
169
|
+
flex-direction: column;
|
|
170
|
+
gap: 11px;
|
|
171
|
+
scroll-margin-top: 112px;
|
|
172
|
+
}
|
|
173
|
+
.span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: span 12; }
|
|
174
|
+
@media (min-width: 1000px) {
|
|
175
|
+
.span-4 { grid-column: span 4; }
|
|
176
|
+
.span-5 { grid-column: span 5; }
|
|
177
|
+
.span-6 { grid-column: span 6; }
|
|
178
|
+
.span-7 { grid-column: span 7; }
|
|
179
|
+
.span-8 { grid-column: span 8; }
|
|
180
|
+
.span-12 { grid-column: span 12; }
|
|
181
|
+
}
|
|
182
|
+
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
|
|
183
|
+
.card h2 {
|
|
184
|
+
margin: 0;
|
|
185
|
+
font-size: 12.5px;
|
|
186
|
+
font-weight: 600;
|
|
187
|
+
color: #aab6c2;
|
|
188
|
+
letter-spacing: 0.02em;
|
|
189
|
+
}
|
|
190
|
+
.card-note { font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
191
|
+
.head-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
|
|
192
|
+
.subhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
|
|
193
|
+
.subhead h3 { margin: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
|
|
194
|
+
.filter {
|
|
195
|
+
background: var(--panel-2);
|
|
196
|
+
border: 1px solid var(--border);
|
|
197
|
+
color: var(--text);
|
|
198
|
+
border-radius: 6px;
|
|
199
|
+
padding: 4px 8px;
|
|
200
|
+
font-size: 12px;
|
|
201
|
+
font-family: inherit;
|
|
202
|
+
outline: none;
|
|
203
|
+
min-width: 0;
|
|
204
|
+
}
|
|
205
|
+
.filter:focus { border-color: #35505b; }
|
|
206
|
+
|
|
207
|
+
.kv { display: flex; flex-direction: column; gap: 7px; }
|
|
208
|
+
.kv-row { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
|
|
209
|
+
.kv-key { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
|
|
210
|
+
.kv-val {
|
|
211
|
+
font-size: 12.5px;
|
|
212
|
+
text-align: right;
|
|
213
|
+
font-variant-numeric: tabular-nums;
|
|
214
|
+
overflow: hidden;
|
|
215
|
+
text-overflow: ellipsis;
|
|
216
|
+
white-space: nowrap;
|
|
217
|
+
min-width: 0;
|
|
218
|
+
}
|
|
219
|
+
.metric { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; }
|
|
220
|
+
.metric-value { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
|
|
221
|
+
.metric-sub { font-size: 12.5px; color: var(--muted); }
|
|
222
|
+
.metric-unit { font-size: 13px; color: var(--muted); }
|
|
223
|
+
|
|
224
|
+
.meter { width: 100%; height: 6px; border-radius: 3px; background: #1b2630; overflow: hidden; }
|
|
225
|
+
.meter.thin { height: 4px; }
|
|
226
|
+
.meter-fill { height: 100%; border-radius: 3px; background: var(--accent); width: 0; transition: width 0.35s ease; }
|
|
227
|
+
|
|
228
|
+
.spark { height: 46px; width: 100%; }
|
|
229
|
+
.spark-svg { width: 100%; height: 100%; display: block; }
|
|
230
|
+
|
|
231
|
+
.cores { display: flex; align-items: flex-end; gap: 3px; height: 32px; }
|
|
232
|
+
.core { flex: 1; height: 100%; background: #16212b; border-radius: 2px; position: relative; overflow: hidden; min-width: 3px; }
|
|
233
|
+
.core i { position: absolute; left: 0; bottom: 0; width: 100%; background: var(--accent); opacity: 0.75; border-radius: 2px 2px 0 0; }
|
|
234
|
+
|
|
235
|
+
.stack { display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow: auto; padding-right: 2px; }
|
|
236
|
+
.tab-panel .stack { max-height: 60vh; }
|
|
237
|
+
.disk-row { display: flex; flex-direction: column; gap: 5px; }
|
|
238
|
+
.row-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
|
|
239
|
+
.row-top .grow { flex: 1; min-width: 0; }
|
|
240
|
+
.pct { font-family: var(--mono); font-size: 12px; margin-left: auto; }
|
|
241
|
+
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
242
|
+
|
|
243
|
+
.iface-list { display: flex; flex-direction: column; gap: 8px; max-height: 190px; overflow: auto; }
|
|
244
|
+
.tab-panel .iface-list { max-height: 360px; }
|
|
245
|
+
.iface { border: 1px solid var(--border-soft); border-radius: 7px; padding: 7px 9px; display: flex; flex-direction: column; gap: 4px; }
|
|
246
|
+
.iface-head { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
|
|
247
|
+
.iface-head .mono { color: #cfe3dd; }
|
|
248
|
+
.iface-rates { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
|
|
249
|
+
.iface-rates .mono { font-size: 11.5px; color: var(--text); }
|
|
250
|
+
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
251
|
+
.chip {
|
|
252
|
+
display: inline-flex;
|
|
253
|
+
align-items: baseline;
|
|
254
|
+
gap: 5px;
|
|
255
|
+
font-size: 11px;
|
|
256
|
+
border: 1px solid var(--border);
|
|
257
|
+
background: var(--panel-2);
|
|
258
|
+
border-radius: 5px;
|
|
259
|
+
padding: 2px 7px;
|
|
260
|
+
color: var(--muted);
|
|
261
|
+
font-family: var(--mono);
|
|
262
|
+
}
|
|
263
|
+
.chip b { color: var(--text); font-weight: 500; }
|
|
264
|
+
|
|
265
|
+
.table-wrap { overflow: auto; max-height: 320px; border: 1px solid var(--border-soft); border-radius: 7px; }
|
|
266
|
+
.table-wrap.tall { max-height: 60vh; }
|
|
267
|
+
table.data { width: 100%; border-collapse: collapse; font-size: 12.5px; }
|
|
268
|
+
table.data th {
|
|
269
|
+
position: sticky; top: 0; z-index: 1;
|
|
270
|
+
text-align: left;
|
|
271
|
+
font-weight: 500;
|
|
272
|
+
color: var(--muted);
|
|
273
|
+
background: #0f161d;
|
|
274
|
+
padding: 6px 9px;
|
|
275
|
+
border-bottom: 1px solid var(--border);
|
|
276
|
+
white-space: nowrap;
|
|
277
|
+
}
|
|
278
|
+
table.data td {
|
|
279
|
+
padding: 6px 9px;
|
|
280
|
+
border-bottom: 1px solid var(--border-soft);
|
|
281
|
+
vertical-align: top;
|
|
282
|
+
font-variant-numeric: tabular-nums;
|
|
283
|
+
}
|
|
284
|
+
table.data tr:last-child td { border-bottom: 0; }
|
|
285
|
+
table.data tr:hover td { background: #131c25; }
|
|
286
|
+
.cell-main { display: flex; align-items: center; gap: 7px; min-width: 0; }
|
|
287
|
+
.cell-sub { color: var(--faint); font-size: 11px; margin-top: 2px; }
|
|
288
|
+
.num { text-align: right; white-space: nowrap; }
|
|
289
|
+
.nowrap { white-space: nowrap; }
|
|
290
|
+
|
|
291
|
+
.badge {
|
|
292
|
+
display: inline-flex;
|
|
293
|
+
align-items: center;
|
|
294
|
+
gap: 5px;
|
|
295
|
+
font-size: 11px;
|
|
296
|
+
line-height: 1.5;
|
|
297
|
+
padding: 1px 7px;
|
|
298
|
+
border-radius: 20px;
|
|
299
|
+
border: 1px solid var(--border);
|
|
300
|
+
color: var(--muted);
|
|
301
|
+
background: var(--panel-2);
|
|
302
|
+
white-space: nowrap;
|
|
303
|
+
}
|
|
304
|
+
.badge.ok { color: #8ee0b3; border-color: #245038; background: #0f2419; }
|
|
305
|
+
.badge.warn { color: #e8c46f; border-color: #55431d; background: #221a0c; }
|
|
306
|
+
.badge.bad { color: #f0a19b; border-color: #5b2a28; background: #241312; }
|
|
307
|
+
.badge.info { color: #9cc7ea; border-color: #244357; background: #0e1c26; }
|
|
308
|
+
.badge.off { color: var(--faint); }
|
|
309
|
+
|
|
310
|
+
.summary { display: flex; flex-direction: column; }
|
|
311
|
+
.summary-row {
|
|
312
|
+
display: grid;
|
|
313
|
+
grid-template-columns: 96px minmax(0, 1fr) auto 12px;
|
|
314
|
+
align-items: center;
|
|
315
|
+
gap: 10px;
|
|
316
|
+
width: 100%;
|
|
317
|
+
padding: 9px 8px;
|
|
318
|
+
border: 0;
|
|
319
|
+
border-bottom: 1px solid var(--border-soft);
|
|
320
|
+
background: none;
|
|
321
|
+
color: var(--text);
|
|
322
|
+
font: inherit;
|
|
323
|
+
text-align: left;
|
|
324
|
+
cursor: pointer;
|
|
325
|
+
border-radius: 6px;
|
|
326
|
+
}
|
|
327
|
+
.summary-row:last-child { border-bottom: 0; }
|
|
328
|
+
.summary-row:hover { background: #131c25; }
|
|
329
|
+
.summary-row:focus-visible { outline: 2px solid #2f5a5e; outline-offset: -2px; }
|
|
330
|
+
.summary-label { color: var(--muted); font-size: 12.5px; }
|
|
331
|
+
.summary-value { font-size: 13px; font-variant-numeric: tabular-nums; }
|
|
332
|
+
.summary-extra { color: var(--faint); font-size: 11.5px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
333
|
+
.summary-chevron { color: var(--faint); font-size: 14px; text-align: right; }
|
|
334
|
+
.tone-ok { color: var(--ok); }
|
|
335
|
+
.tone-warn { color: var(--warn); }
|
|
336
|
+
.tone-bad { color: var(--bad); }
|
|
337
|
+
|
|
338
|
+
.empty { color: var(--faint); font-size: 12.5px; padding: 12px 4px; }
|
|
339
|
+
.error-text {
|
|
340
|
+
color: #e7aaa5;
|
|
341
|
+
background: #1b1213;
|
|
342
|
+
border: 1px solid #462423;
|
|
343
|
+
border-radius: 6px;
|
|
344
|
+
padding: 7px 9px;
|
|
345
|
+
font-family: var(--mono);
|
|
346
|
+
font-size: 11.5px;
|
|
347
|
+
white-space: pre-wrap;
|
|
348
|
+
word-break: break-word;
|
|
349
|
+
max-height: 110px;
|
|
350
|
+
overflow: auto;
|
|
351
|
+
}
|
|
352
|
+
.hint { color: var(--faint); font-size: 12px; line-height: 1.7; }
|
|
353
|
+
.hint code { font-family: var(--mono); color: #b6c5cf; background: var(--panel-2); border: 1px solid var(--border-soft); border-radius: 4px; padding: 1px 5px; }
|
|
354
|
+
|
|
355
|
+
.restic-list { display: flex; flex-direction: column; gap: 12px; }
|
|
356
|
+
.repo { border: 1px solid var(--border-soft); border-radius: 8px; overflow: hidden; }
|
|
357
|
+
.repo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #0e151c; flex-wrap: wrap; }
|
|
358
|
+
.repo-title { display: flex; align-items: baseline; gap: 9px; min-width: 0; flex-wrap: wrap; }
|
|
359
|
+
.repo-title strong { font-size: 13px; font-weight: 600; }
|
|
360
|
+
.repo-title .mono { color: var(--muted); }
|
|
361
|
+
.repo-meta { display: flex; gap: 16px; flex-wrap: wrap; padding: 9px 12px 0; font-size: 12px; color: var(--muted); }
|
|
362
|
+
.repo-meta b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
|
|
363
|
+
.repo-body { padding: 9px 12px 11px; }
|
|
364
|
+
.repo .error-text { margin: 9px 12px 11px; }
|
|
365
|
+
|
|
366
|
+
footer { color: var(--faint); font-size: 11.5px; text-align: center; padding: 0 24px 26px; }
|
|
367
|
+
|
|
368
|
+
@media (max-width: 640px) {
|
|
369
|
+
table.timers th:nth-child(4), table.timers td:nth-child(4) { display: none; }
|
|
370
|
+
table.timers .mono { font-size: 11px; }
|
|
371
|
+
}
|
|
372
|
+
@media (max-width: 560px) {
|
|
373
|
+
.topbar { padding: 12px 14px; }
|
|
374
|
+
.tabs { padding: 0 8px; }
|
|
375
|
+
.tab-button { padding-left: 10px; padding-right: 10px; }
|
|
376
|
+
.grid { padding: 12px 14px 26px; gap: 12px; }
|
|
377
|
+
.banner { margin: 12px 14px 0; }
|
|
378
|
+
.card { padding: 13px; }
|
|
379
|
+
.metric-value { font-size: 30px; }
|
|
380
|
+
.summary-row { grid-template-columns: 82px minmax(0, 1fr) auto 12px; }
|
|
381
|
+
}
|