hoist-cli 0.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.
- hoist/__init__.py +4 -0
- hoist/__main__.py +4 -0
- hoist/cli.py +1672 -0
- hoist/config.py +131 -0
- hoist/containers.py +781 -0
- hoist/dash/__init__.py +0 -0
- hoist/dash/collect.py +497 -0
- hoist/dash/fleet.py +140 -0
- hoist/dash/jobs.py +111 -0
- hoist/dash/server.py +979 -0
- hoist/dash/static/app.css +595 -0
- hoist/dash/static/app.js +437 -0
- hoist/dash/static/app.ui.js +501 -0
- hoist/dash/static/app.views.js +1057 -0
- hoist/dash/static/favicon.svg +1 -0
- hoist/dash/static/fonts/IBMPlexMono-400.woff2 +0 -0
- hoist/dash/static/fonts/IBMPlexMono-500.woff2 +0 -0
- hoist/dash/static/fonts/IBMPlexSans.woff2 +0 -0
- hoist/dash/static/fonts/OFL.txt +93 -0
- hoist/dash/static/fonts/fonts.css +3 -0
- hoist/dash/static/index.html +41 -0
- hoist/dash/static/login.html +41 -0
- hoist/dash/static/vendor/XTERM-LICENSE +21 -0
- hoist/dash/static/vendor/addon-fit.js +2 -0
- hoist/dash/static/vendor/xterm.css +218 -0
- hoist/dash/static/vendor/xterm.js +2 -0
- hoist/dash/team.py +241 -0
- hoist/dash/terminal.py +164 -0
- hoist/detect.py +159 -0
- hoist/front.py +457 -0
- hoist/notify.py +111 -0
- hoist/qr.py +417 -0
- hoist/service.py +210 -0
- hoist/source.py +410 -0
- hoist/tunnel.py +376 -0
- hoist/ui.py +101 -0
- hoist_cli-0.1.0.dist-info/METADATA +524 -0
- hoist_cli-0.1.0.dist-info/RECORD +42 -0
- hoist_cli-0.1.0.dist-info/WHEEL +5 -0
- hoist_cli-0.1.0.dist-info/entry_points.txt +2 -0
- hoist_cli-0.1.0.dist-info/licenses/LICENSE +21 -0
- hoist_cli-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,595 @@
|
|
|
1
|
+
@import url(/static/fonts/fonts.css);
|
|
2
|
+
|
|
3
|
+
/* hoist dash — framed sheet.
|
|
4
|
+
Grid arithmetic (desktop): window − 228 sidebar − 8 inset = sheet; the sheet
|
|
5
|
+
has 24px padding and every row inside it uses the same 24px gap, so a
|
|
6
|
+
two-thirds/one-third row is (W − 24) × 2/3 and × 1/3 and lands on both edges. */
|
|
7
|
+
|
|
8
|
+
:root {
|
|
9
|
+
--ground: #f4f7f5; /* the frame: one low-chroma step of hoist green */
|
|
10
|
+
--surface: #ffffff;
|
|
11
|
+
--raised: #f3f6f4;
|
|
12
|
+
--active: #e6ebe8;
|
|
13
|
+
--border: #e5e9e7;
|
|
14
|
+
--rule: #eef1ef;
|
|
15
|
+
--control: #c9cfcc;
|
|
16
|
+
--text: #121614;
|
|
17
|
+
--muted: #59605c;
|
|
18
|
+
--faint: #6b716e;
|
|
19
|
+
--accent: #1d7a46; /* hoist green, 5.1:1 on white */
|
|
20
|
+
--accent-strong: #15633a;
|
|
21
|
+
--positive: #1d7a46;
|
|
22
|
+
--negative: #c4242a;
|
|
23
|
+
--warning: #92400e;
|
|
24
|
+
--chart-1: #1d7a46;
|
|
25
|
+
--chart-2: #2f70bb;
|
|
26
|
+
--chart-3: #a86f0c;
|
|
27
|
+
--pill-positive-bg: #dcfae5; --pill-positive-ink: #04250e;
|
|
28
|
+
--pill-negative-bg: #ffedea; --pill-negative-ink: #831c1e;
|
|
29
|
+
--pill-warning-bg: #fffbeb; --pill-warning-ink: #92400e;
|
|
30
|
+
--pill-neutral-bg: #e9ecea; --pill-neutral-ink: #353a37;
|
|
31
|
+
--primary-bg: #121614;
|
|
32
|
+
--primary-ink: #ffffff;
|
|
33
|
+
--log-bg: #fbfcfb;
|
|
34
|
+
--overlay: rgba(18, 22, 20, 0.32);
|
|
35
|
+
--float-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
|
|
36
|
+
|
|
37
|
+
--radius-card: 8px;
|
|
38
|
+
--radius-control: 6px;
|
|
39
|
+
--radius-sheet: 16px;
|
|
40
|
+
--sheet-inset: 8px;
|
|
41
|
+
--sidebar-width: 228px;
|
|
42
|
+
--gap: 24px;
|
|
43
|
+
--pad: 24px;
|
|
44
|
+
--control-height: 32px;
|
|
45
|
+
|
|
46
|
+
--fs-title: 22px;
|
|
47
|
+
--fs-section: 16px;
|
|
48
|
+
--fs-kpi: 28px;
|
|
49
|
+
--fs-body: 14px;
|
|
50
|
+
--fs-small: 12px;
|
|
51
|
+
|
|
52
|
+
--sans: "IBM Plex Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
53
|
+
--mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
|
|
54
|
+
color-scheme: light;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:root[data-theme="dark"] {
|
|
58
|
+
--ground: #0c0e0d;
|
|
59
|
+
--surface: #141716;
|
|
60
|
+
--raised: #1a1e1c;
|
|
61
|
+
--active: #232826;
|
|
62
|
+
--border: #252a28;
|
|
63
|
+
--rule: #1e2321;
|
|
64
|
+
--control: #3d4441;
|
|
65
|
+
--text: #f2f5f3;
|
|
66
|
+
--muted: #a9b1ad;
|
|
67
|
+
--faint: #8f9893;
|
|
68
|
+
--accent: #4cc27f;
|
|
69
|
+
--accent-strong: #6fd49a;
|
|
70
|
+
--positive: #4cc27f;
|
|
71
|
+
--negative: #f2706b;
|
|
72
|
+
--warning: #e7b35a;
|
|
73
|
+
--chart-1: #4cc27f;
|
|
74
|
+
--chart-2: #6aa6ee;
|
|
75
|
+
--chart-3: #d9a23f;
|
|
76
|
+
--pill-positive-bg: #15301f; --pill-positive-ink: #8de0b0;
|
|
77
|
+
--pill-negative-bg: #3a1716; --pill-negative-ink: #ffb3ad;
|
|
78
|
+
--pill-warning-bg: #33260f; --pill-warning-ink: #f1c77a;
|
|
79
|
+
--pill-neutral-bg: #232826; --pill-neutral-ink: #c4ccc8;
|
|
80
|
+
--primary-bg: #f2f5f3;
|
|
81
|
+
--primary-ink: #0c0e0d;
|
|
82
|
+
--log-bg: #101312;
|
|
83
|
+
--overlay: rgba(0, 0, 0, 0.55);
|
|
84
|
+
--float-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
|
|
85
|
+
color-scheme: dark;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
* { box-sizing: border-box; }
|
|
89
|
+
html, body { margin: 0; height: 100%; }
|
|
90
|
+
body {
|
|
91
|
+
background: var(--ground);
|
|
92
|
+
color: var(--text);
|
|
93
|
+
font: 400 var(--fs-body)/20px var(--sans);
|
|
94
|
+
-webkit-font-smoothing: antialiased;
|
|
95
|
+
text-rendering: optimizeLegibility;
|
|
96
|
+
}
|
|
97
|
+
a { color: inherit; }
|
|
98
|
+
button, input, select, textarea { font: inherit; color: inherit; }
|
|
99
|
+
code, .mono { font-family: var(--mono); font-size: 13px; }
|
|
100
|
+
.num { font-variant-numeric: tabular-nums; }
|
|
101
|
+
.muted { color: var(--muted); }
|
|
102
|
+
.faint { color: var(--faint); }
|
|
103
|
+
.hidden { display: none !important; }
|
|
104
|
+
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }
|
|
105
|
+
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
|
|
106
|
+
|
|
107
|
+
/* ── shell ─────────────────────────────────────────────────────────────── */
|
|
108
|
+
|
|
109
|
+
.shell { display: grid; grid-template-columns: var(--sidebar-width) 1fr; grid-template-rows: 48px 1fr; height: 100vh; }
|
|
110
|
+
|
|
111
|
+
.sidebar { grid-row: 1 / span 2; display: flex; flex-direction: column; padding: 12px 10px 12px 12px; min-height: 0; }
|
|
112
|
+
.brand { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px; margin-bottom: 8px; text-decoration: none; }
|
|
113
|
+
.brand svg { flex: none; }
|
|
114
|
+
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
|
|
115
|
+
.brand-host { cursor: pointer; border-radius: 6px; padding: 2px 6px; margin-right: -6px; }
|
|
116
|
+
.brand-host:hover { background: var(--active); color: var(--text); }
|
|
117
|
+
.brand-host { margin-left: auto; font-size: var(--fs-small); color: var(--muted); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
118
|
+
|
|
119
|
+
.nav { display: flex; flex-direction: column; gap: 2px; }
|
|
120
|
+
.nav-group { margin: 22px 8px 6px; font-size: var(--fs-small); color: var(--muted); }
|
|
121
|
+
.nav a {
|
|
122
|
+
display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px;
|
|
123
|
+
border-radius: 8px; text-decoration: none; color: var(--muted);
|
|
124
|
+
}
|
|
125
|
+
.nav a:hover { background: var(--active); color: var(--text); }
|
|
126
|
+
.nav a[aria-current="page"] { background: var(--active); color: var(--text); font-weight: 500; }
|
|
127
|
+
.nav a .count { margin-left: auto; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
|
|
128
|
+
.nav a .count.bad { color: var(--negative); font-weight: 600; }
|
|
129
|
+
.nav .app-link { padding-left: 12px; }
|
|
130
|
+
.nav .app-link .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; margin: 0 4px; }
|
|
131
|
+
.nav .app-link span.label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
132
|
+
|
|
133
|
+
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 12px; }
|
|
134
|
+
.sidebar-foot .meta { padding: 6px 10px 0; font-size: var(--fs-small); color: var(--faint); }
|
|
135
|
+
|
|
136
|
+
.topbar { display: flex; align-items: center; gap: 12px; padding: 0 calc(var(--sheet-inset) + 8px) 0 16px; min-width: 0; }
|
|
137
|
+
.crumbs { display: flex; align-items: center; gap: 6px; color: var(--muted); min-width: 0; white-space: nowrap; overflow: hidden; }
|
|
138
|
+
.crumbs a { text-decoration: none; }
|
|
139
|
+
.crumbs a:hover { color: var(--text); }
|
|
140
|
+
.crumbs .sep { color: var(--control); }
|
|
141
|
+
.crumbs .here { color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
|
|
142
|
+
.search-btn {
|
|
143
|
+
margin-left: auto; display: flex; align-items: center; gap: 8px; width: min(420px, 40vw); height: 32px;
|
|
144
|
+
padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-control);
|
|
145
|
+
background: var(--surface); color: var(--muted); cursor: pointer; text-align: left;
|
|
146
|
+
}
|
|
147
|
+
.search-btn:hover { border-color: var(--control); }
|
|
148
|
+
.search-btn kbd { margin-left: auto; }
|
|
149
|
+
kbd {
|
|
150
|
+
font: 500 11px/16px var(--sans); padding: 0 5px; border-radius: 4px; border: 1px solid var(--border);
|
|
151
|
+
color: var(--muted); background: var(--raised);
|
|
152
|
+
}
|
|
153
|
+
.live { display: flex; align-items: center; gap: 6px; font-size: var(--fs-small); color: var(--muted); white-space: nowrap; }
|
|
154
|
+
.live .beat { width: 6px; height: 6px; border-radius: 50%; background: var(--positive); }
|
|
155
|
+
.live.stale .beat { background: var(--warning); }
|
|
156
|
+
.live.off .beat { background: var(--negative); }
|
|
157
|
+
|
|
158
|
+
.sheet {
|
|
159
|
+
grid-column: 2; grid-row: 2; min-height: 0; overflow: auto;
|
|
160
|
+
margin: 0 var(--sheet-inset) var(--sheet-inset) 0;
|
|
161
|
+
background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sheet);
|
|
162
|
+
}
|
|
163
|
+
.page { padding: var(--pad); max-width: 1440px; display: flex; flex-direction: column; gap: var(--gap); }
|
|
164
|
+
|
|
165
|
+
.btn.menu-btn { display: none; }
|
|
166
|
+
|
|
167
|
+
/* ── title row ─────────────────────────────────────────────────────────── */
|
|
168
|
+
|
|
169
|
+
.title-row { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
|
|
170
|
+
.title-row .titles { min-width: 0; flex: 1 1 360px; }
|
|
171
|
+
h1 { font-size: var(--fs-title); line-height: 28px; font-weight: 600; letter-spacing: -0.01em; margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
|
172
|
+
h2 { font-size: var(--fs-section); line-height: 24px; font-weight: 600; margin: 0; }
|
|
173
|
+
h3 { font-size: var(--fs-body); line-height: 20px; font-weight: 600; margin: 0; }
|
|
174
|
+
.subline { margin-top: 6px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
|
|
175
|
+
.subline a { color: var(--text); text-decoration: none; }
|
|
176
|
+
.subline a:hover { text-decoration: underline; }
|
|
177
|
+
.finding { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--text); max-width: 900px; }
|
|
178
|
+
.finding.bad strong { color: var(--negative); }
|
|
179
|
+
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
|
180
|
+
|
|
181
|
+
/* ── controls ──────────────────────────────────────────────────────────── */
|
|
182
|
+
|
|
183
|
+
.btn {
|
|
184
|
+
display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: var(--control-height);
|
|
185
|
+
padding: 0 12px; border-radius: var(--radius-control); border: 1px solid var(--control);
|
|
186
|
+
background: var(--surface); color: var(--text); font-weight: 500; cursor: pointer; text-decoration: none;
|
|
187
|
+
white-space: nowrap; transition: background 120ms, border-color 120ms, transform 80ms;
|
|
188
|
+
}
|
|
189
|
+
.btn:hover { background: var(--raised); }
|
|
190
|
+
.btn:active { transform: translateY(1px); }
|
|
191
|
+
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
|
|
192
|
+
.btn.primary { background: var(--primary-bg); border-color: var(--primary-bg); color: var(--primary-ink); }
|
|
193
|
+
.btn.primary:hover { background: color-mix(in srgb, var(--primary-bg) 86%, var(--surface)); }
|
|
194
|
+
.btn.danger { color: var(--negative); }
|
|
195
|
+
.btn.danger.solid { background: var(--negative); border-color: var(--negative); color: #fff; }
|
|
196
|
+
.btn.ghost { border-color: transparent; background: transparent; }
|
|
197
|
+
.btn.ghost:hover { background: var(--active); }
|
|
198
|
+
.btn.icon { width: var(--control-height); padding: 0; }
|
|
199
|
+
.btn.sm { height: 28px; padding: 0 10px; font-size: 13px; }
|
|
200
|
+
.btn.icon.sm { width: 28px; padding: 0; }
|
|
201
|
+
.btn .spin { animation: spin 0.9s linear infinite; }
|
|
202
|
+
@keyframes spin { to { transform: rotate(360deg); } }
|
|
203
|
+
|
|
204
|
+
.input, .select, .textarea {
|
|
205
|
+
height: var(--control-height); padding: 0 10px; border: 1px solid var(--control); border-radius: var(--radius-control);
|
|
206
|
+
background: var(--surface); width: 100%;
|
|
207
|
+
}
|
|
208
|
+
.textarea { height: auto; padding: 8px 10px; resize: vertical; font-family: var(--mono); font-size: 13px; line-height: 20px; }
|
|
209
|
+
.input:focus, .select:focus, .textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 0; border-color: var(--accent); }
|
|
210
|
+
.input.mono { font-family: var(--mono); font-size: 13px; }
|
|
211
|
+
.field { display: flex; flex-direction: column; gap: 6px; }
|
|
212
|
+
.field label { font-weight: 500; }
|
|
213
|
+
.field .hint { color: var(--muted); font-size: var(--fs-small); line-height: 16px; }
|
|
214
|
+
.field .err { color: var(--negative); font-size: var(--fs-small); }
|
|
215
|
+
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
|
|
216
|
+
|
|
217
|
+
.seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--active); gap: 2px; }
|
|
218
|
+
.seg button { border: 0; background: transparent; height: 28px; padding: 0 12px; border-radius: 6px; cursor: pointer; color: var(--muted); font-weight: 500; }
|
|
219
|
+
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); }
|
|
220
|
+
|
|
221
|
+
.switch { position: relative; width: 34px; height: 20px; border-radius: 10px; background: var(--control); border: 0; cursor: pointer; flex: none; transition: background 120ms; }
|
|
222
|
+
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 140ms; }
|
|
223
|
+
.switch[aria-checked="true"] { background: var(--accent); }
|
|
224
|
+
.switch[aria-checked="true"]::after { transform: translateX(14px); }
|
|
225
|
+
|
|
226
|
+
/* ── pills and status ──────────────────────────────────────────────────── */
|
|
227
|
+
|
|
228
|
+
.pill {
|
|
229
|
+
display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 11px;
|
|
230
|
+
font-size: var(--fs-small); font-weight: 500; white-space: nowrap; background: var(--pill-neutral-bg); color: var(--pill-neutral-ink);
|
|
231
|
+
}
|
|
232
|
+
.pill.up, .pill.ok { background: var(--pill-positive-bg); color: var(--pill-positive-ink); }
|
|
233
|
+
.pill.down, .pill.failed, .pill.bad { background: var(--pill-negative-bg); color: var(--pill-negative-ink); }
|
|
234
|
+
.pill.starting, .pill.warn, .pill.paused, .pill.building { background: var(--pill-warning-bg); color: var(--pill-warning-ink); }
|
|
235
|
+
.pill .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
236
|
+
.pill.building .d { animation: pulse 1.2s ease-in-out infinite; }
|
|
237
|
+
@keyframes pulse { 50% { opacity: .25; } }
|
|
238
|
+
.dot.up { background: var(--positive); }
|
|
239
|
+
.dot.down, .dot.failed { background: var(--negative); }
|
|
240
|
+
.dot.starting { background: var(--warning); }
|
|
241
|
+
.dot.stopped, .dot.inactive { background: var(--control); }
|
|
242
|
+
|
|
243
|
+
/* ── cards ─────────────────────────────────────────────────────────────── */
|
|
244
|
+
|
|
245
|
+
.card { border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); min-width: 0; }
|
|
246
|
+
.card-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 0; min-height: 44px; }
|
|
247
|
+
.card-head .right { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--fs-small); }
|
|
248
|
+
.card-body { padding: 12px 16px 16px; }
|
|
249
|
+
.card-body.flush { padding: 8px 0 0; }
|
|
250
|
+
|
|
251
|
+
.grid-3-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap); align-items: stretch; }
|
|
252
|
+
.grid-1-1 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
|
|
253
|
+
|
|
254
|
+
/* KPI strip: one divided container */
|
|
255
|
+
.kpis { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--border); border-radius: var(--radius-card); }
|
|
256
|
+
.kpi { padding: 14px 16px; min-width: 0; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
|
|
257
|
+
.kpi:first-child { border-left: 0; }
|
|
258
|
+
.kpi .label { font-weight: 500; color: var(--muted); font-size: 13px; }
|
|
259
|
+
.kpi .value { font-size: var(--fs-kpi); line-height: 34px; font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
260
|
+
.kpi .value small { font-size: 15px; color: var(--muted); margin-left: 3px; }
|
|
261
|
+
.kpi .note { font-size: var(--fs-small); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
262
|
+
.kpi .note.bad { color: var(--negative); }
|
|
263
|
+
.kpi .note.good { color: var(--positive); }
|
|
264
|
+
.kpi.bad .value { color: var(--negative); }
|
|
265
|
+
|
|
266
|
+
/* ── tables ────────────────────────────────────────────────────────────── */
|
|
267
|
+
|
|
268
|
+
.table-wrap { overflow-x: auto; }
|
|
269
|
+
table.t { width: 100%; border-collapse: collapse; }
|
|
270
|
+
.t th { text-align: left; font-weight: 500; font-size: var(--fs-small); color: var(--muted); padding: 0 12px 8px; white-space: nowrap; }
|
|
271
|
+
.t td { padding: 0 12px; height: 52px; border-top: 1px solid var(--rule); vertical-align: middle; }
|
|
272
|
+
.t th:first-child, .t td:first-child { padding-left: 16px; }
|
|
273
|
+
.t th:last-child, .t td:last-child { padding-right: 16px; }
|
|
274
|
+
.t th.r, .t td.r { text-align: right; }
|
|
275
|
+
.t td.r { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
276
|
+
.t tr.click { cursor: pointer; }
|
|
277
|
+
.t tr.click:hover td { background: var(--raised); }
|
|
278
|
+
.t .name { font-weight: 500; }
|
|
279
|
+
.t .sub { color: var(--muted); font-size: 13px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 340px; }
|
|
280
|
+
.t .unit { color: var(--muted); font-size: 12px; margin-left: 2px; }
|
|
281
|
+
.t .sha { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
|
|
282
|
+
.t .nowrap { white-space: nowrap; }
|
|
283
|
+
.t .dash { color: var(--faint); }
|
|
284
|
+
.t .row-actions { opacity: 0; transition: opacity 120ms; }
|
|
285
|
+
.t tr:hover .row-actions, .t tr:focus-within .row-actions { opacity: 1; }
|
|
286
|
+
.empty-row td { height: auto; padding: 28px 16px; color: var(--muted); }
|
|
287
|
+
|
|
288
|
+
.list-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
|
|
289
|
+
.list-toolbar .search { width: 280px; }
|
|
290
|
+
.list-toolbar .count { margin-left: auto; color: var(--muted); }
|
|
291
|
+
|
|
292
|
+
/* ── tabs ──────────────────────────────────────────────────────────────── */
|
|
293
|
+
|
|
294
|
+
.tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
|
|
295
|
+
.tabs a {
|
|
296
|
+
display: inline-flex; align-items: center; gap: 6px; height: 40px; text-decoration: none; color: var(--muted);
|
|
297
|
+
border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
|
|
298
|
+
}
|
|
299
|
+
.tabs a:hover { color: var(--text); }
|
|
300
|
+
.tabs a[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); font-weight: 600; }
|
|
301
|
+
.tabs .count { font-size: var(--fs-small); color: var(--muted); font-weight: 400; }
|
|
302
|
+
|
|
303
|
+
/* ── the route strip (signature) ──────────────────────────────────────── */
|
|
304
|
+
|
|
305
|
+
.route { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
|
|
306
|
+
.hop { position: relative; padding: 14px 16px 14px 18px; min-width: 0; border-left: 1px solid var(--border); }
|
|
307
|
+
.hop:first-child { border-left: 0; }
|
|
308
|
+
.hop::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--positive); }
|
|
309
|
+
.hop.bad::before { background: var(--negative); }
|
|
310
|
+
.hop.warn::before { background: var(--warning); }
|
|
311
|
+
.hop.off::before { background: var(--control); }
|
|
312
|
+
.hop .k { font-size: var(--fs-small); color: var(--muted); display: flex; align-items: center; gap: 6px; }
|
|
313
|
+
.hop .v { margin-top: 4px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
314
|
+
.hop .v.mono { font-family: var(--mono); font-size: 13px; }
|
|
315
|
+
.hop .n { margin-top: 2px; font-size: var(--fs-small); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
316
|
+
.hop.bad .n { color: var(--negative); }
|
|
317
|
+
.hop .arrow { position: absolute; right: -7px; top: 50%; transform: translateY(-50%); z-index: 1; width: 12px; height: 12px; color: var(--control); background: var(--surface); }
|
|
318
|
+
|
|
319
|
+
/* live deployment card */
|
|
320
|
+
.live-card { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-card); }
|
|
321
|
+
.live-card > div { padding: 16px; min-width: 0; border-left: 1px solid var(--border); }
|
|
322
|
+
.live-card > div:first-child { border-left: 0; }
|
|
323
|
+
.live-card .commit { font-size: 16px; line-height: 22px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
|
|
324
|
+
.live-card .k { font-size: var(--fs-small); color: var(--muted); }
|
|
325
|
+
.live-card .v { margin-top: 4px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
326
|
+
.live-card .meta { margin-top: 6px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
|
|
327
|
+
|
|
328
|
+
/* QR card */
|
|
329
|
+
.qr-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; }
|
|
330
|
+
.qr-card img { width: 132px; height: 132px; display: block; border-radius: 4px; image-rendering: pixelated; background: #fff; }
|
|
331
|
+
.qr-card .url { font-weight: 600; font-size: 15px; word-break: break-all; }
|
|
332
|
+
|
|
333
|
+
/* charts */
|
|
334
|
+
.chart { position: relative; width: 100%; }
|
|
335
|
+
.chart svg { display: block; width: 100%; overflow: visible; }
|
|
336
|
+
.chart .gl { stroke: var(--rule); stroke-width: 1; }
|
|
337
|
+
.chart .tick { fill: var(--faint); font: 400 11px var(--sans); font-variant-numeric: tabular-nums; }
|
|
338
|
+
.chart .ln { fill: none; stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; }
|
|
339
|
+
.chart .ar { opacity: 0.1; }
|
|
340
|
+
.chart .hover-line { stroke: var(--control); stroke-width: 1; }
|
|
341
|
+
.chart .marker { stroke: var(--text); stroke-width: 1; stroke-dasharray: 2 3; }
|
|
342
|
+
.chart .marker-label { fill: var(--muted); font: 500 11px var(--mono); }
|
|
343
|
+
.chart .marker.bad { stroke: var(--negative); }
|
|
344
|
+
.chart .marker-label.bad { fill: var(--negative); }
|
|
345
|
+
.chart-tip {
|
|
346
|
+
position: absolute; pointer-events: none; background: var(--surface); border: 1px solid var(--border);
|
|
347
|
+
border-radius: 6px; padding: 6px 8px; font-size: 12px; line-height: 16px; box-shadow: var(--float-shadow);
|
|
348
|
+
white-space: nowrap; z-index: 5; font-variant-numeric: tabular-nums;
|
|
349
|
+
}
|
|
350
|
+
.legend { display: flex; gap: 14px; align-items: center; font-size: var(--fs-small); color: var(--muted); }
|
|
351
|
+
.legend i { display: inline-block; width: 10px; height: 2px; margin-right: 6px; vertical-align: middle; }
|
|
352
|
+
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; height: 22px; }
|
|
353
|
+
.strip i { border-radius: 2px; background: var(--positive); opacity: .85; }
|
|
354
|
+
.strip i.bad { background: var(--negative); opacity: 1; }
|
|
355
|
+
.strip i.none { background: var(--active); }
|
|
356
|
+
|
|
357
|
+
.bar { height: 6px; border-radius: 3px; background: var(--active); overflow: hidden; }
|
|
358
|
+
.bar > i { display: block; height: 100%; background: var(--chart-1); border-radius: 3px; }
|
|
359
|
+
.bar.hot > i { background: var(--negative); }
|
|
360
|
+
|
|
361
|
+
/* feed */
|
|
362
|
+
.feed { display: flex; flex-direction: column; }
|
|
363
|
+
.feed-item { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--rule); align-items: start; text-decoration: none; }
|
|
364
|
+
.feed-item:first-child { border-top: 0; }
|
|
365
|
+
a.feed-item:hover { background: var(--raised); }
|
|
366
|
+
.feed-item .ic { margin-top: 2px; color: var(--muted); }
|
|
367
|
+
.feed-item .ic.ok { color: var(--positive); }
|
|
368
|
+
.feed-item .ic.bad { color: var(--negative); }
|
|
369
|
+
.feed-item .ic.run { color: var(--warning); }
|
|
370
|
+
.feed-item .what { overflow: hidden; }
|
|
371
|
+
.feed-item .what div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
372
|
+
.feed-item .when { color: var(--muted); font-size: var(--fs-small); white-space: nowrap; }
|
|
373
|
+
|
|
374
|
+
/* definition rows (settings) */
|
|
375
|
+
.dl { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
|
|
376
|
+
.dl > div { padding: 12px 16px; border-top: 1px solid var(--rule); min-width: 0; }
|
|
377
|
+
.dl > div:nth-child(-n+2) { border-top: 0; }
|
|
378
|
+
.dl .dt { color: var(--muted); }
|
|
379
|
+
.dl .dd { overflow-wrap: anywhere; }
|
|
380
|
+
|
|
381
|
+
/* ── logs ──────────────────────────────────────────────────────────────── */
|
|
382
|
+
|
|
383
|
+
.logs-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
384
|
+
.logs-toolbar .search { width: 260px; }
|
|
385
|
+
.logs-toolbar .spacer { flex: 1; }
|
|
386
|
+
.logview {
|
|
387
|
+
height: calc(100vh - 330px); min-height: 360px; overflow: auto; background: var(--log-bg);
|
|
388
|
+
border: 1px solid var(--border); border-radius: var(--radius-card); padding: 10px 0;
|
|
389
|
+
font: 400 12.5px/20px var(--mono); font-variant-numeric: tabular-nums;
|
|
390
|
+
}
|
|
391
|
+
.logview.wrap .l { white-space: pre-wrap; word-break: break-word; }
|
|
392
|
+
.logview .l { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 0 14px; white-space: pre; }
|
|
393
|
+
.logview .l:hover { background: var(--raised); }
|
|
394
|
+
.logview code { font: inherit; }
|
|
395
|
+
.logview .ts { color: var(--faint); user-select: none; }
|
|
396
|
+
.logview .l.err .m { color: var(--negative); }
|
|
397
|
+
.logview .l.warn .m { color: var(--warning); }
|
|
398
|
+
.logview .l.cmd .m { color: var(--accent); }
|
|
399
|
+
.logview mark { background: color-mix(in srgb, var(--chart-3) 30%, transparent); color: inherit; border-radius: 2px; }
|
|
400
|
+
.logview .gap { padding: 6px 14px; color: var(--faint); font-family: var(--sans); font-size: 12px; }
|
|
401
|
+
.logview .empty { padding: 24px 14px; color: var(--muted); font-family: var(--sans); font-size: 14px; }
|
|
402
|
+
.follow-hint { position: sticky; bottom: 8px; margin: 0 auto; display: block; }
|
|
403
|
+
|
|
404
|
+
/* job output inside dialogs */
|
|
405
|
+
.term {
|
|
406
|
+
background: var(--log-bg); border: 1px solid var(--border); border-radius: var(--radius-card);
|
|
407
|
+
font: 400 12.5px/19px var(--mono); padding: 10px 12px; height: 300px; overflow: auto; white-space: pre-wrap; word-break: break-word;
|
|
408
|
+
}
|
|
409
|
+
.term .ok { color: var(--positive); }
|
|
410
|
+
.term .bad { color: var(--negative); }
|
|
411
|
+
.term .warn { color: var(--warning); }
|
|
412
|
+
.term .dim { color: var(--faint); }
|
|
413
|
+
|
|
414
|
+
/* deployments */
|
|
415
|
+
.dep-status { display: inline-flex; align-items: center; gap: 8px; }
|
|
416
|
+
.dep-status .ring { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--positive); }
|
|
417
|
+
.dep-status .ring.bad { border-color: var(--negative); }
|
|
418
|
+
.dep-status .ring.live { background: var(--positive); }
|
|
419
|
+
.dep-log { padding: 0 16px 16px; }
|
|
420
|
+
.dep-log .term { height: auto; max-height: 280px; }
|
|
421
|
+
|
|
422
|
+
/* env editor */
|
|
423
|
+
.env-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) auto; gap: 8px; align-items: center; padding: 6px 16px; }
|
|
424
|
+
.env-row .input { font-family: var(--mono); font-size: 13px; }
|
|
425
|
+
.env-row.changed .input { border-color: var(--chart-3); }
|
|
426
|
+
.env-head { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) auto; gap: 8px; padding: 0 16px 4px; color: var(--muted); font-size: var(--fs-small); }
|
|
427
|
+
.env-foot { display: flex; gap: 8px; align-items: center; padding: 12px 16px 16px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
|
|
428
|
+
.env-foot .note { color: var(--muted); margin-right: auto; }
|
|
429
|
+
|
|
430
|
+
/* notices */
|
|
431
|
+
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-card); background: var(--pill-warning-bg); color: var(--pill-warning-ink); }
|
|
432
|
+
.notice.bad { background: var(--pill-negative-bg); color: var(--pill-negative-ink); }
|
|
433
|
+
.notice.info { background: var(--raised); color: var(--text); border: 1px solid var(--border); }
|
|
434
|
+
.notice .grow { flex: 1; min-width: 0; }
|
|
435
|
+
.notice .btn { flex: none; }
|
|
436
|
+
|
|
437
|
+
.checks { display: flex; flex-direction: column; }
|
|
438
|
+
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 10px 16px; border-top: 1px solid var(--rule); }
|
|
439
|
+
.check:first-child { border-top: 0; }
|
|
440
|
+
.check .ic.ok { color: var(--positive); }
|
|
441
|
+
.check .ic.warn { color: var(--warning); }
|
|
442
|
+
.check .ic.fail { color: var(--negative); }
|
|
443
|
+
.fixes { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
|
|
444
|
+
.fix { display: flex; align-items: center; gap: 8px; background: var(--raised); border-radius: 6px; padding: 4px 4px 4px 10px; }
|
|
445
|
+
.fix code { flex: 1; overflow-x: auto; white-space: nowrap; }
|
|
446
|
+
|
|
447
|
+
/* empty states */
|
|
448
|
+
.empty { padding: 40px 24px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 12px; }
|
|
449
|
+
.empty h2 { color: var(--text); }
|
|
450
|
+
.empty .cmd { font-family: var(--mono); font-size: 13px; background: var(--raised); padding: 8px 12px; border-radius: 6px; color: var(--text); }
|
|
451
|
+
|
|
452
|
+
/* ── floating: dialog, drawer, palette, menu, toasts ──────────────────── */
|
|
453
|
+
|
|
454
|
+
.overlay { position: fixed; inset: 0; background: var(--overlay); z-index: 40; animation: fade 120ms ease-out; }
|
|
455
|
+
@keyframes fade { from { opacity: 0; } }
|
|
456
|
+
.drawer {
|
|
457
|
+
position: fixed; top: 8px; right: 8px; bottom: 8px; width: min(560px, calc(100vw - 16px)); z-index: 41;
|
|
458
|
+
background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--float-shadow);
|
|
459
|
+
display: flex; flex-direction: column; animation: slide 180ms cubic-bezier(.2,.8,.2,1);
|
|
460
|
+
}
|
|
461
|
+
@keyframes slide { from { transform: translateX(24px); opacity: 0; } }
|
|
462
|
+
.drawer-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
|
|
463
|
+
.drawer-body { padding: 20px; overflow: auto; display: flex; flex-direction: column; gap: 18px; flex: 1; }
|
|
464
|
+
.drawer-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
|
|
465
|
+
.drawer-foot .note { margin-right: auto; color: var(--muted); font-size: 13px; }
|
|
466
|
+
|
|
467
|
+
.dialog {
|
|
468
|
+
position: fixed; left: 50%; top: 18vh; transform: translateX(-50%); width: min(460px, calc(100vw - 32px)); z-index: 41;
|
|
469
|
+
background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--float-shadow);
|
|
470
|
+
animation: pop 140ms ease-out;
|
|
471
|
+
}
|
|
472
|
+
@keyframes pop { from { transform: translateX(-50%) scale(.97); opacity: 0; } }
|
|
473
|
+
.dialog .body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
|
|
474
|
+
.dialog .foot { padding: 12px 20px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--border); }
|
|
475
|
+
|
|
476
|
+
.palette { top: 12vh; width: min(620px, calc(100vw - 32px)); }
|
|
477
|
+
.palette input { border: 0; border-bottom: 1px solid var(--border); border-radius: 12px 12px 0 0; height: 52px; padding: 0 18px; font-size: 15px; width: 100%; background: transparent; outline: none; }
|
|
478
|
+
.palette ul { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow: auto; }
|
|
479
|
+
.palette li { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; border-radius: 8px; cursor: pointer; color: var(--text); }
|
|
480
|
+
.palette li .hint { margin-left: auto; color: var(--muted); font-size: var(--fs-small); }
|
|
481
|
+
.palette li .grp { color: var(--muted); }
|
|
482
|
+
.palette li[aria-selected="true"] { background: var(--active); }
|
|
483
|
+
.palette .none { padding: 18px; color: var(--muted); }
|
|
484
|
+
|
|
485
|
+
.menu {
|
|
486
|
+
position: fixed; z-index: 45; min-width: 200px; background: var(--surface); border: 1px solid var(--border);
|
|
487
|
+
border-radius: 10px; box-shadow: var(--float-shadow); padding: 4px; animation: fade 100ms;
|
|
488
|
+
}
|
|
489
|
+
.menu button { display: flex; width: 100%; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border: 0; background: transparent; border-radius: 6px; cursor: pointer; text-align: left; }
|
|
490
|
+
.menu button:hover, .menu button:focus-visible { background: var(--active); outline: none; }
|
|
491
|
+
.menu button.danger { color: var(--negative); }
|
|
492
|
+
.menu hr { border: 0; border-top: 1px solid var(--rule); margin: 4px 0; }
|
|
493
|
+
|
|
494
|
+
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
|
|
495
|
+
.toast {
|
|
496
|
+
display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 420px; padding: 10px 14px;
|
|
497
|
+
background: var(--primary-bg); color: var(--primary-ink); border-radius: 10px; box-shadow: var(--float-shadow);
|
|
498
|
+
animation: rise 180ms ease-out;
|
|
499
|
+
}
|
|
500
|
+
.toast.bad { background: var(--negative); color: #fff; }
|
|
501
|
+
.toast a { color: inherit; font-weight: 600; margin-left: auto; }
|
|
502
|
+
@keyframes rise { from { transform: translateY(8px); opacity: 0; } }
|
|
503
|
+
|
|
504
|
+
.skeleton { background: var(--active); border-radius: 6px; height: 14px; animation: pulse 1.4s ease-in-out infinite; }
|
|
505
|
+
|
|
506
|
+
/* login */
|
|
507
|
+
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
|
|
508
|
+
.login form { width: min(400px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
|
|
509
|
+
.login .brand { padding: 0; margin: 0; }
|
|
510
|
+
|
|
511
|
+
/* ── phone ─────────────────────────────────────────────────────────────── */
|
|
512
|
+
|
|
513
|
+
@media (max-width: 1100px) {
|
|
514
|
+
.route { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
515
|
+
.route .hop:nth-child(4) { border-left: 0; }
|
|
516
|
+
.route .hop:nth-child(n+4) { border-top: 1px solid var(--border); }
|
|
517
|
+
.live-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
518
|
+
.live-card > div:first-child { grid-column: 1 / -1; }
|
|
519
|
+
.live-card > div { border-top: 1px solid var(--border); }
|
|
520
|
+
.live-card > div:first-child { border-top: 0; }
|
|
521
|
+
.live-card > div:nth-child(2n) { border-left: 0; }
|
|
522
|
+
.grid-3-1 { grid-template-columns: 1fr; }
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
@media (max-width: 860px) {
|
|
526
|
+
:root { --gap: 16px; --pad: 16px; }
|
|
527
|
+
.shell { grid-template-columns: 1fr; grid-template-rows: 48px 1fr; }
|
|
528
|
+
.sidebar {
|
|
529
|
+
position: fixed; z-index: 42; top: 0; bottom: 0; left: 0; width: 280px; background: var(--ground);
|
|
530
|
+
transform: translateX(-100%); transition: transform 180ms ease-out; box-shadow: none;
|
|
531
|
+
}
|
|
532
|
+
.shell.nav-open .sidebar { transform: none; box-shadow: var(--float-shadow); }
|
|
533
|
+
.topbar { grid-column: 1; padding: 0 8px; }
|
|
534
|
+
.btn.menu-btn { display: inline-flex; }
|
|
535
|
+
.search-btn { width: 32px; padding: 0; justify-content: center; }
|
|
536
|
+
.search-btn span, .search-btn kbd { display: none; }
|
|
537
|
+
.sheet { grid-column: 1; margin: 0; border-radius: 0; border-width: 1px 0 0; }
|
|
538
|
+
.kpis { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
|
|
539
|
+
.kpi { border-left: 0; border-top: 1px solid var(--border); }
|
|
540
|
+
.kpi:nth-child(-n+2) { border-top: 0; }
|
|
541
|
+
.kpi:nth-child(2n) { border-left: 1px solid var(--border); }
|
|
542
|
+
.kpi .value { font-size: 22px; line-height: 28px; }
|
|
543
|
+
.route { grid-template-columns: 1fr 1fr; }
|
|
544
|
+
.route .hop { border-left: 0; border-top: 1px solid var(--border); padding: 10px 12px 10px 14px; }
|
|
545
|
+
.route .hop:nth-child(-n+2) { border-top: 0; }
|
|
546
|
+
.route .hop:nth-child(2n) { border-left: 1px solid var(--border); }
|
|
547
|
+
.route .hop:last-child { grid-column: 1 / -1; border-left: 0; }
|
|
548
|
+
.hop .arrow { display: none; }
|
|
549
|
+
.live-card { grid-template-columns: 1fr 1fr; }
|
|
550
|
+
.grid-1-1 { grid-template-columns: 1fr; }
|
|
551
|
+
.row-2 { grid-template-columns: 1fr; }
|
|
552
|
+
.dl { grid-template-columns: 1fr; }
|
|
553
|
+
.dl > div.dt { border-top: 1px solid var(--rule); padding-bottom: 0; }
|
|
554
|
+
.dl > div.dd { border-top: 0; padding-top: 4px; }
|
|
555
|
+
.t.stack thead { display: none; }
|
|
556
|
+
.t.stack tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 10px 16px; border-top: 1px solid var(--rule); gap: 2px 12px; }
|
|
557
|
+
.t.stack td { border: 0; height: auto; padding: 0 !important; }
|
|
558
|
+
.t.stack td.hide-sm { display: none; }
|
|
559
|
+
.t.stack td.r { text-align: right; }
|
|
560
|
+
.t.stack .row-actions { opacity: 1; }
|
|
561
|
+
.t.stack.apps-t td:nth-child(2) { text-align: right; }
|
|
562
|
+
.apps-t td:nth-child(2) .sub { max-width: none; white-space: normal; }
|
|
563
|
+
.t.stack.apps-t td:nth-child(4) { text-align: left; align-self: center; }
|
|
564
|
+
.list-toolbar .search, .logs-toolbar .search { width: 100%; }
|
|
565
|
+
.logview { height: 60vh; }
|
|
566
|
+
.logview .l { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
|
|
567
|
+
.env-row, .env-head { grid-template-columns: 1fr auto; }
|
|
568
|
+
.env-row .input:nth-child(2) { grid-column: 1; }
|
|
569
|
+
.env-head span:nth-child(2) { display: none; }
|
|
570
|
+
.qr-card { grid-template-columns: 96px minmax(0, 1fr); }
|
|
571
|
+
.qr-card img { width: 96px; height: 96px; }
|
|
572
|
+
.title-row .actions { width: 100%; }
|
|
573
|
+
.live { display: none; }
|
|
574
|
+
.toasts { left: 16px; right: 16px; bottom: 16px; align-items: stretch; }
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
@media (prefers-reduced-motion: reduce) {
|
|
578
|
+
*, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/* tab bodies share the page rhythm */
|
|
582
|
+
#tab-body { display: flex; flex-direction: column; gap: var(--gap); }
|
|
583
|
+
#tab-body > [data-part]:empty { display: none; }
|
|
584
|
+
[data-part]:empty { display: none; }
|
|
585
|
+
.unit { color: var(--muted); font-size: 0.62em; margin-left: 2px; font-weight: 400; letter-spacing: 0; }
|
|
586
|
+
.t .unit { font-size: 12px; }
|
|
587
|
+
|
|
588
|
+
.tpl { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-control); cursor: pointer; line-height: 20px; }
|
|
589
|
+
.tpl:hover { background: var(--raised); }
|
|
590
|
+
.tpl:has(input:checked) { border-color: var(--text); background: var(--raised); }
|
|
591
|
+
.tpl input { margin-top: 3px; accent-color: var(--text); }
|
|
592
|
+
|
|
593
|
+
/* viewers see everything but every control that changes something is hidden */
|
|
594
|
+
body.viewer [data-action]:not([data-action="copy"]):not([data-action="qr"]):not([data-action="show-job"]):not([data-action="theme"]):not([data-action="logout"]):not([data-action="reveal-db"]):not([data-action="deploy-log"]),
|
|
595
|
+
body.viewer #console-form, body.viewer #limits-form button, body.viewer .env-foot, body.viewer #link-form, body.viewer #notify-form .actions { display: none !important; }
|