@xeplr/ui-jobs 1.0.1

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.
@@ -0,0 +1,413 @@
1
+ /* Scheduled jobs. Namespaced jb-* — nothing here is shared with the dashboard
2
+ list (dl-*) or the builder (dsh-*). */
3
+
4
+ .jb-page { padding-bottom: 48px; }
5
+
6
+ .jb-head {
7
+ display: flex; align-items: flex-end; justify-content: space-between;
8
+ gap: 20px; flex-wrap: wrap; margin: 8px 0 22px;
9
+ }
10
+ .jb-head h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -0.02em; }
11
+ .jb-head p { margin: 0; font-size: 14px; }
12
+ .jb-head-tools { display: flex; align-items: center; gap: 10px; }
13
+
14
+ .jb-search, .jb-sort {
15
+ padding: 9px 12px; font: inherit; font-size: 14px;
16
+ color: var(--ink, #1a1a19); background: var(--surface, #ffffff);
17
+ border: 1px solid var(--hair, #e2e1d9); border-radius: 9px;
18
+ }
19
+ .jb-search { width: 220px; }
20
+ .jb-search:focus, .jb-sort:focus {
21
+ outline: none; border-color: var(--accent, #2563eb); box-shadow: 0 0 0 3px var(--xeplr-accent-soft, #e8eefc);
22
+ }
23
+
24
+ .jb-primary {
25
+ padding: 9px 16px; font: inherit; font-weight: 600; white-space: nowrap;
26
+ color: #fff; background: var(--accent, #2563eb); border: 0; border-radius: 9px; cursor: pointer;
27
+ }
28
+ .jb-primary:hover { filter: brightness(1.06); }
29
+ .jb-primary:disabled { opacity: .55; cursor: default; filter: none; }
30
+
31
+ /* ── the table ───────────────────────────────────────────────────────── */
32
+ .jb-table-wrap {
33
+ background: var(--surface, #ffffff); border: 1px solid var(--hair, #e2e1d9);
34
+ border-radius: 13px; overflow: hidden;
35
+ }
36
+ .jb-table { width: 100%; border-collapse: collapse; }
37
+ .jb-table thead th {
38
+ padding: 11px 16px; text-align: left; font-size: 11px; font-weight: 600;
39
+ letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #6b6a63);
40
+ background: var(--plane, #f7f7f5); border-bottom: 1px solid var(--hair, #e2e1d9); white-space: nowrap;
41
+ }
42
+ .jb-table td {
43
+ padding: 13px 16px; vertical-align: top; font-size: 14px;
44
+ border-bottom: 1px solid var(--xeplr-border-secondary, #eceada);
45
+ }
46
+ .jb-table tbody tr:last-child td { border-bottom: 0; }
47
+ .jb-table tbody tr:hover { background: var(--xeplr-hover, #f0efe9); }
48
+
49
+ .jb-name { font-weight: 600; }
50
+ .jb-desc { color: var(--muted, #6b6a63); font-size: 13px; margin-top: 2px; }
51
+ .jb-dim { color: var(--muted, #6b6a63); }
52
+ .jb-code {
53
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px;
54
+ background: var(--plane, #f7f7f5); padding: 2px 6px; border-radius: 6px;
55
+ }
56
+ .jb-lastrun { display: inline-flex; align-items: center; gap: 8px; }
57
+
58
+ .jb-row-actions { white-space: nowrap; }
59
+ .jb-row-actions button {
60
+ margin-right: 4px; padding: 5px 10px; font: inherit; font-size: 13px;
61
+ color: inherit; background: transparent;
62
+ border: 1px solid var(--hair, #e2e1d9); border-radius: 7px; cursor: pointer;
63
+ }
64
+ .jb-row-actions button:hover:not(:disabled) { background: var(--surface, #ffffff); border-color: var(--xeplr-border-strong, #cfcec4); }
65
+ .jb-row-actions button:disabled { opacity: .45; cursor: default; }
66
+ .jb-danger { color: var(--xeplr-danger, #c2372e); }
67
+
68
+ /* ── pills ────────────────────────────────────────────────────────────
69
+ Colour AND word, never colour alone — a pill that is only green tells a
70
+ colour-blind reader nothing. */
71
+ .jb-pill {
72
+ display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 999px;
73
+ font-size: 11px; font-weight: 600; text-transform: capitalize;
74
+ }
75
+ .jb-table td .jb-pill { margin-top: 6px; }
76
+ .jb-pill--running, .jb-pill--busy { background: var(--xeplr-status-warn-soft, #fdf3e0); color: var(--xeplr-status-warn, #a86a00); }
77
+ .jb-pill--scheduled { background: var(--xeplr-accent-soft, #e8eefc); color: var(--accent, #2563eb); }
78
+ .jb-pill--paused, .jb-pill--manual, .jb-pill--unknown { background: var(--xeplr-tag-bg, #f0efe9); color: var(--xeplr-tag-text, #6b6a63); }
79
+ .jb-pill--good { background: var(--xeplr-status-good-soft, #e7f4ed); color: var(--xeplr-status-good, #1d7a4c); }
80
+ .jb-pill--bad { background: var(--xeplr-status-critical-soft, #fdeceb); color: var(--xeplr-status-critical, #c2372e); }
81
+
82
+ /* ── live updates ────────────────────────────────────────────────────── */
83
+
84
+ /* The count of rows read so far, beside the Running pill. Tabular figures so
85
+ the number does not jitter sideways as it climbs — it updates every couple
86
+ of seconds, and proportional digits make a settled row look like it is
87
+ twitching. */
88
+ .jb-progress {
89
+ display: inline-block; margin: 6px 0 0 6px; padding: 2px 8px; border-radius: 999px;
90
+ font-size: 11px; font-weight: 600;
91
+ font-variant-numeric: tabular-nums;
92
+ background: var(--xeplr-accent-soft, #e8eefc); color: var(--accent, #2563eb);
93
+ }
94
+
95
+ /* Reporting, then silent. Toned DOWN rather than up: a long final write is
96
+ the commonest cause and it is not an error, so this is a prompt to look
97
+ rather than an alarm. */
98
+ .jb-progress--stale { background: var(--xeplr-tag-bg, #f0efe9); color: var(--xeplr-tag-text, #6b6a63); }
99
+
100
+ .jb-live {
101
+ display: inline-flex; align-items: center; gap: 6px;
102
+ font-size: 12px; color: var(--xeplr-tag-text, #6b6a63); cursor: pointer; user-select: none;
103
+ white-space: nowrap;
104
+ }
105
+ .jb-live input { cursor: pointer; margin: 0; }
106
+ .jb-live-count {
107
+ padding: 1px 7px; border-radius: 999px; font-weight: 600;
108
+ font-variant-numeric: tabular-nums;
109
+ background: var(--xeplr-status-warn-soft, #fdf3e0); color: var(--xeplr-status-warn, #a86a00);
110
+ }
111
+
112
+ /* ── the editor ──────────────────────────────────────────────────────── */
113
+ /* WIDTH IS THE POINT. This was max-width:560px, which left half the screen
114
+ empty next to a form tall enough to scroll — the two worst properties a
115
+ form can have at once. Fields now flow into columns instead of stacking. */
116
+ .jb-editor {
117
+ max-width: 1100px; margin: 0 0 24px; padding: 22px 26px;
118
+ background: var(--surface, #ffffff); border: 1px solid var(--hair, #e2e1d9); border-radius: 13px;
119
+ }
120
+ .jb-editor h2 { margin: 0 0 16px; font-size: 17px; }
121
+ .jb-field { display: grid; gap: 5px; margin-bottom: 14px; align-content: start; }
122
+
123
+ /* Two columns from 760px, three from 1100px. Fields are short and unrelated
124
+ to each other, so a single column just makes a taller page. */
125
+ .jb-grid { display: grid; gap: 0 22px; grid-template-columns: 1fr; }
126
+ @media (min-width: 760px) { .jb-grid { grid-template-columns: 1fr 1fr; } }
127
+ @media (min-width: 1100px) { .jb-grid { grid-template-columns: 1fr 1fr 1fr; } }
128
+ /* JSON needs room to be read, so it takes the whole row. */
129
+ .jb-field--wide { grid-column: 1 / -1; }
130
+ .jb-field label {
131
+ font-size: 13px; font-weight: 500; color: var(--ink, #1a1a19);
132
+ }
133
+ .jb-field input, .jb-field select {
134
+ width: 100%; padding: 9px 11px; font: inherit; font-size: 14px;
135
+ color: var(--xeplr-input-text, #1a1a19); background: var(--xeplr-input-bg, #ffffff);
136
+ border: 1px solid var(--xeplr-input-border, #e2e1d9); border-radius: 8px;
137
+ }
138
+ .jb-field input:focus, .jb-field select:focus { outline: none; border-color: var(--accent, #2563eb); }
139
+ .jb-cron { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
140
+ .jb-help { font-size: 12px; color: var(--muted, #6b6a63); }
141
+ .jb-warn { color: var(--xeplr-status-warn, #a86a00); }
142
+ .jb-req { color: var(--xeplr-danger, #c2372e); }
143
+ .jb-type { color: var(--xeplr-muted-2, #8a887f); font-size: 11px; }
144
+ .jb-editor-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
145
+ .jb-editor-actions button:not(.jb-primary) {
146
+ padding: 9px 16px; font: inherit; color: inherit; background: transparent;
147
+ border: 1px solid var(--hair, #e2e1d9); border-radius: 9px; cursor: pointer;
148
+ }
149
+
150
+ /* ── history ─────────────────────────────────────────────────────────── */
151
+ .jb-section { margin: 30px 0 12px; font-size: 17px; }
152
+ .jb-runs { display: grid; gap: 6px; }
153
+ .jb-run {
154
+ display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
155
+ padding: 10px 14px; font-size: 13px;
156
+ background: var(--surface, #ffffff); border: 1px solid var(--hair, #e2e1d9); border-radius: 10px;
157
+ }
158
+ .jb-run .jb-pill { margin-top: 0; }
159
+ .jb-run-name { font-weight: 600; }
160
+ .jb-run-error { color: var(--xeplr-danger, #c2372e); }
161
+
162
+ /* ── empty ───────────────────────────────────────────────────────────── */
163
+ .jb-empty {
164
+ padding: 40px 24px; text-align: center;
165
+ background: var(--surface, #ffffff); border: 1px dashed var(--hair, #e2e1d9); border-radius: 13px;
166
+ }
167
+ .jb-empty--inline { border: 0; border-radius: 0; padding: 32px 24px; }
168
+ .jb-empty-title { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
169
+ .jb-empty p { margin: 0 0 6px; }
170
+ .jb-empty button { margin-top: 12px; }
171
+
172
+ .jb-footnote { margin-top: 28px; font-size: 13px; }
173
+ .jb-sr {
174
+ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
175
+ overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
176
+ }
177
+
178
+ @media (max-width: 900px) {
179
+ .jb-head-tools { width: 100%; }
180
+ .jb-search { flex: 1; width: auto; }
181
+ }
182
+
183
+ /* ── Run history, expanded under a job ─────────────────────────────────── */
184
+
185
+ /* The last-run cell is a button, but must not LOOK like one — it sits in a
186
+ table cell and its job is to read as the value it already was. Only the
187
+ caret and the cursor say it does anything. */
188
+ .jb-lastrun--btn {
189
+ background: none; border: 0; padding: 0; margin: 0;
190
+ font: inherit; color: inherit; cursor: pointer; text-align: left;
191
+ }
192
+ .jb-lastrun--btn:hover .jb-caret { color: var(--accent, #2563eb); }
193
+ .jb-lastrun--btn:focus-visible { outline: 2px solid var(--accent, #2563eb); outline-offset: 3px; border-radius: 6px; }
194
+
195
+ .jb-caret {
196
+ color: var(--muted, #6b6a63); font-size: 15px; line-height: 1;
197
+ transition: transform .12s ease; display: inline-block;
198
+ }
199
+ .jb-caret--open { transform: rotate(90deg); }
200
+
201
+ /* The open row and its history read as one block, so the parent loses its
202
+ bottom rule and the panel picks up the accent edge. */
203
+ .jb-row--open > td { border-bottom: 0; background: var(--xeplr-hover, #f0efe9); }
204
+ .jb-runs-row > td { padding: 0 0 14px 0; background: var(--xeplr-hover, #f0efe9); }
205
+ .jb-runs-row:hover > td { background: var(--xeplr-hover, #f0efe9); }
206
+
207
+ .jb-history {
208
+ margin: 0 14px; border: 1px solid var(--hair, #e2e1d9); border-radius: 11px;
209
+ background: var(--surface, #ffffff); overflow: hidden;
210
+ }
211
+ .jb-history-table { width: 100%; border-collapse: collapse; font-size: 13px; }
212
+ .jb-history-table th {
213
+ text-align: left; padding: 8px 12px; font-size: 11px; font-weight: 600;
214
+ letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #6b6a63);
215
+ background: var(--plane, #f7f7f5); border-bottom: 1px solid var(--hair, #e2e1d9); white-space: nowrap;
216
+ }
217
+ .jb-history-table td { padding: 8px 12px; border-bottom: 1px solid var(--xeplr-border-secondary, #eceada); vertical-align: top; }
218
+ .jb-history-table tr:last-child td { border-bottom: 0; }
219
+
220
+ .jb-runs-note { margin: 10px 14px; font-size: 13px; }
221
+
222
+ /* A retry count belongs NEXT TO the outcome, not in its own column — it is a
223
+ qualifier on "how did it go", not a separate fact. */
224
+ .jb-retry {
225
+ margin-left: 8px; font-size: 12px; color: var(--xeplr-status-warn, #a86a00);
226
+ white-space: nowrap;
227
+ }
228
+
229
+ /* A late finish is not a failure: the work completed. It reads as a setting to
230
+ change, which is why it is warn-toned rather than critical. */
231
+ .jb-late { color: var(--xeplr-status-warn, #a86a00); font-size: 12px; }
232
+
233
+ /* interrupted / skipped — neither broken nor fine. */
234
+ .jb-pill--warn { background: var(--xeplr-status-warn-soft, #fdf3e0); color: var(--xeplr-status-warn, #a86a00); }
235
+
236
+ /* ── Editor: three sections ────────────────────────────────────────────── */
237
+
238
+ .jb-steps {
239
+ display: flex; gap: 6px; margin: 4px 0 2px;
240
+ border-bottom: 1px solid var(--hair, #e2e1d9); padding-bottom: 0;
241
+ }
242
+ .jb-step {
243
+ display: inline-flex; align-items: center; gap: 8px;
244
+ padding: 9px 14px; background: none; border: 0; cursor: pointer;
245
+ font: inherit; font-size: 14px; color: var(--muted, #6b6a63);
246
+ border-bottom: 2px solid transparent; margin-bottom: -1px;
247
+ }
248
+ .jb-step:hover { color: var(--ink, #1a1a19); }
249
+ .jb-step--on { color: var(--ink, #1a1a19); font-weight: 600; border-bottom-color: var(--accent, #2563eb); }
250
+ .jb-step:focus-visible { outline: 2px solid var(--accent, #2563eb); outline-offset: -2px; border-radius: 6px; }
251
+
252
+ /* The number is the affordance that says "these are ordered" — without it a
253
+ row of three words reads as tabs, which promise no sequence at all. */
254
+ .jb-step-n {
255
+ display: inline-grid; place-items: center;
256
+ width: 21px; height: 21px; border-radius: 50%;
257
+ font-size: 12px; font-weight: 600;
258
+ background: var(--xeplr-tag-bg, #f0efe9); color: var(--xeplr-tag-text, #6b6a63);
259
+ }
260
+ .jb-step--on .jb-step-n { background: var(--accent, #2563eb); color: #fff; }
261
+ .jb-step--done .jb-step-n { background: var(--xeplr-status-good-soft, #e7f4ed); color: var(--xeplr-status-good, #1d7a4c); }
262
+
263
+ .jb-step-hint { margin: 10px 0 14px; font-size: 13px; color: var(--muted, #6b6a63); }
264
+
265
+ .jb-editor textarea {
266
+ padding: 9px 11px; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
267
+ color: var(--xeplr-input-text, #1a1a19); background: var(--xeplr-input-bg, #ffffff);
268
+ border: 1px solid var(--xeplr-input-border, #e2e1d9); border-radius: 8px;
269
+ resize: vertical; width: 100%; box-sizing: border-box;
270
+ }
271
+ .jb-editor textarea:focus { outline: none; border-color: var(--accent, #2563eb); }
272
+
273
+ /* Cancel on the left, Save on the right, stepping in between — so the
274
+ destructive and the committing action never sit next to each other. */
275
+ .jb-editor-nav { display: inline-flex; gap: 8px; margin-left: auto; }
276
+ .jb-editor-nav button {
277
+ padding: 7px 14px; font-size: 13px; color: var(--ink, #1a1a19); background: var(--plane, #f7f7f5);
278
+ border: 1px solid var(--hair, #e2e1d9); border-radius: 8px; cursor: pointer;
279
+ }
280
+ .jb-editor-nav button:hover:not(:disabled) { background: var(--surface, #ffffff); border-color: var(--xeplr-border-strong, #cfcec4); }
281
+ .jb-editor-nav button:disabled { opacity: .5; cursor: not-allowed; }
282
+
283
+ /* ── advanced, collapsed ───────────────────────────────────────────────── */
284
+ .jb-advanced {
285
+ margin: 4px 0 16px; padding: 0; border-top: 1px solid var(--hair, #e2e1d9);
286
+ }
287
+ .jb-advanced > summary {
288
+ padding: 11px 2px; cursor: pointer; font-size: 13px; font-weight: 500;
289
+ color: var(--ink, #1a1a19); list-style: none; display: flex; gap: 4px;
290
+ align-items: baseline; white-space: nowrap; overflow: hidden;
291
+ }
292
+ .jb-advanced > summary::-webkit-details-marker { display: none; }
293
+ /* A caret we control, so it can turn — the native marker cannot be animated
294
+ and sits at a different offset in every browser. */
295
+ .jb-advanced > summary::before {
296
+ content: '›'; display: inline-block; font-size: 15px; color: var(--muted, #6b6a63);
297
+ transition: transform .12s ease;
298
+ }
299
+ .jb-advanced[open] > summary::before { transform: rotate(90deg); }
300
+ .jb-advanced > summary .jb-dim { font-weight: 400; text-overflow: ellipsis; overflow: hidden; }
301
+ .jb-advanced[open] > summary .jb-dim { display: none; }
302
+ .jb-advanced > .jb-grid { padding: 4px 0 2px 14px; }
303
+
304
+ /* ── ENABLED ─────────────────────────────────────────────────────────────
305
+ The switch says whether the scheduler picks this job up.
306
+
307
+ Centred, not top-aligned like the rest of the row: `.jb-table td` is
308
+ vertical-align:top so a wrapping job name and its badges stack sensibly, but
309
+ a single control inherits that and floats up against the row's first line,
310
+ pinned to whatever height the tallest cell happens to be.
311
+
312
+ Sized like a control rather than a checkbox. A 20px switch in a 60px row
313
+ reads as an afterthought and is a small target for something that stops a
314
+ schedule. */
315
+ .jb-row-toggle { vertical-align: middle !important; white-space: nowrap; }
316
+ .jb-switch { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; }
317
+ .jb-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
318
+ .jb-switch-track {
319
+ position: relative; display: inline-block; flex: 0 0 auto;
320
+ width: 42px; height: 24px; border-radius: 999px;
321
+ background: var(--xeplr-border-strong, #b9b9b9);
322
+ transition: background 140ms ease;
323
+ }
324
+ .jb-switch-thumb {
325
+ position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
326
+ border-radius: 50%; background: #fff;
327
+ box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
328
+ transition: transform 140ms ease;
329
+ }
330
+ .jb-switch input:checked + .jb-switch-track { background: var(--xeplr-success, #2e7d32); }
331
+ .jb-switch input:checked + .jb-switch-track .jb-switch-thumb { transform: translateX(18px); }
332
+ /* The focus ring has to land on the track — the input it belongs to is
333
+ invisible, and a control you can tab to but cannot see focused is worse than
334
+ one you cannot tab to at all. */
335
+ .jb-switch input:focus-visible + .jb-switch-track {
336
+ outline: 2px solid var(--xeplr-accent, #4f5fd6); outline-offset: 2px;
337
+ }
338
+ .jb-switch input:disabled + .jb-switch-track { opacity: .4; }
339
+ .jb-switch:has(input:disabled) { cursor: not-allowed; }
340
+
341
+ /* THE WORD, next to the switch. Position and colour alone make the reader
342
+ decode the control before they can read the row; "Paused" is the fact they
343
+ came for. */
344
+ .jb-switch-label { font-size: 13px; color: var(--xeplr-text-secondary, #666); }
345
+ .jb-switch input:checked ~ .jb-switch-label { color: var(--xeplr-text, inherit); }
346
+
347
+ /* ── ONE OCCURRENCE'S LOG, under its row in the history table ─────────────
348
+ Bounded height rather than growing the page: a long-running action writes
349
+ hundreds of lines, and an expansion that pushes the job list off-screen
350
+ makes the table it lives in unusable. */
351
+ .jb-log-row > td { padding: 0 0 8px 0; }
352
+ .jb-log { margin: 0; padding: 8px 12px; list-style: none; max-height: 288px; overflow-y: auto;
353
+ font-size: 13px; line-height: 1.5; }
354
+ .jb-log-line { display: flex; gap: 12px; }
355
+ .jb-log-at { flex: 0 0 auto; font-variant-numeric: tabular-nums; opacity: .6; }
356
+ .jb-log-msg { flex: 1 1 auto; word-break: break-word; }
357
+ .jb-log-line--warn .jb-log-msg { color: var(--xeplr-warning, #a15c00); }
358
+ .jb-log-line--error .jb-log-msg { color: var(--xeplr-error, #b3261e); }
359
+ /* A bare button wearing .jb-caret — the UA's own chrome removed so the disc
360
+ the caret draws is the whole control. */
361
+ .jb-log-toggle { padding: 0; font: inherit; cursor: pointer; }
362
+ .jb-log-toggle:hover { color: var(--accent, #2563eb); border-color: var(--accent, #2563eb); }
363
+ .jb-log-toggle:focus-visible { outline: 2px solid var(--accent, #2563eb); outline-offset: 2px; }
364
+
365
+ /* ── ONE LINE PER ROW ────────────────────────────────────────────────────
366
+ Every cell stays on its line and ellipsises rather than wrapping. A table
367
+ is scannable because the eye can run down a column; rows of different
368
+ heights break that, and three-line rows meant eight jobs filled a screen.
369
+
370
+ What used to be a second line is now a title: the job's description, and
371
+ the raw cron behind its plain-English phrase. Both are detail you want on
372
+ one row at a time, not on all of them at once. */
373
+ .jb-table td, .jb-table th { white-space: nowrap; }
374
+ .jb-table td { vertical-align: middle; overflow: hidden; text-overflow: ellipsis; }
375
+ /* The name column is the one that can be arbitrarily long, so it is the one
376
+ allowed to take the slack — and to truncate when there isn't any. */
377
+ .jb-cell-job { max-width: 0; width: 40%; }
378
+ .jb-cell-job .jb-name { display: inline; margin-right: 8px; }
379
+ .jb-table td .jb-pill { margin-top: 0; }
380
+
381
+ /* ── THE EXPANDER ────────────────────────────────────────────────────────
382
+ A 15px caret with no affordance was invisible: nothing said the Last run
383
+ cell opens anything. It is now a bordered disc — a target you can see and
384
+ hit, that turns when the history is open. */
385
+ .jb-caret {
386
+ display: inline-flex; align-items: center; justify-content: center;
387
+ width: 22px; height: 22px; flex: 0 0 auto;
388
+ font-size: 15px; line-height: 1; color: var(--muted, #6b6a63);
389
+ border: 1px solid var(--hair, #e2e1d9); border-radius: 50%;
390
+ background: var(--surface, #ffffff);
391
+ transition: transform .12s ease, border-color .12s ease, color .12s ease;
392
+ }
393
+ .jb-lastrun--btn:hover .jb-caret { color: var(--accent, #2563eb); border-color: var(--accent, #2563eb); }
394
+ .jb-caret--open { transform: rotate(90deg); color: var(--accent, #2563eb); border-color: var(--accent, #2563eb); }
395
+
396
+ /* ── ICON ACTIONS ────────────────────────────────────────────────────────
397
+ Square targets, the label on hover and to a screen reader. Three worded
398
+ buttons per row was a paragraph repeated down the page, in the widest
399
+ column of a table whose content is the job. */
400
+ .jb-icon { display: block; }
401
+ .jb-row-actions button {
402
+ display: inline-flex; align-items: center; justify-content: center;
403
+ width: 30px; height: 30px; padding: 0; margin-right: 6px;
404
+ }
405
+ .jb-row-actions button:last-child { margin-right: 0; }
406
+ .jb-row-actions .jb-danger:hover:not(:disabled) {
407
+ color: var(--xeplr-error, #b3261e); border-color: currentColor; background: transparent;
408
+ }
409
+
410
+ /* The chevron is an SVG now, so centring the flex box actually centres the
411
+ mark — a rotated '>' glyph never sat straight, whatever the box did. */
412
+ .jb-caret { padding: 0; }
413
+ .jb-caret .jb-icon { transition: none; }