lepus-saga 0.3.0
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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +28 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +237 -0
- data/LICENSE.txt +21 -0
- data/README.md +337 -0
- data/Rakefile +8 -0
- data/docs/brand/BRAND.md +67 -0
- data/docs/brand/apple-touch-icon.png +0 -0
- data/docs/brand/favicon-16.png +0 -0
- data/docs/brand/favicon-32.png +0 -0
- data/docs/brand/favicon.ico +0 -0
- data/docs/brand/favicon.svg +1 -0
- data/docs/brand/icon-512.png +0 -0
- data/docs/brand/lockup-lepus-mono.svg +1 -0
- data/docs/brand/lockup-lepus-on-dark.svg +1 -0
- data/docs/brand/lockup-lepus-on-light.svg +1 -0
- data/docs/brand/lockup-lepus-saga-mono.svg +1 -0
- data/docs/brand/lockup-lepus-saga-on-dark.svg +1 -0
- data/docs/brand/lockup-lepus-saga-on-light.svg +1 -0
- data/docs/brand/lockup-lepus-saga.svg +1 -0
- data/docs/brand/lockup-lepus.svg +1 -0
- data/docs/brand/mark-mono.svg +1 -0
- data/docs/brand/mark-on-dark.svg +1 -0
- data/docs/brand/mark-on-light.svg +1 -0
- data/docs/brand/mark-small-mono.svg +1 -0
- data/docs/brand/mark-small-on-dark.svg +1 -0
- data/docs/brand/mark-small-on-light.svg +1 -0
- data/docs/brand/mark-small.svg +1 -0
- data/docs/brand/mark.svg +1 -0
- data/lib/lepus/saga/configuration.rb +48 -0
- data/lib/lepus/saga/control.rb +27 -0
- data/lib/lepus/saga/definition.rb +123 -0
- data/lib/lepus/saga/execution_behaviour.rb +58 -0
- data/lib/lepus/saga/executor.rb +282 -0
- data/lib/lepus/saga/executor_consumer.rb +38 -0
- data/lib/lepus/saga/instrumentation.rb +41 -0
- data/lib/lepus/saga/log_subscriber.rb +42 -0
- data/lib/lepus/saga/queue_depth.rb +28 -0
- data/lib/lepus/saga/resume_stuck_job.rb +19 -0
- data/lib/lepus/saga/retry_policy.rb +19 -0
- data/lib/lepus/saga/rspec/engine_examples.rb +635 -0
- data/lib/lepus/saga/rspec/helpers.rb +22 -0
- data/lib/lepus/saga/rspec/query_examples.rb +378 -0
- data/lib/lepus/saga/rspec/store_examples.rb +514 -0
- data/lib/lepus/saga/rspec.rb +6 -0
- data/lib/lepus/saga/step.rb +9 -0
- data/lib/lepus/saga/step_attempt_behaviour.rb +35 -0
- data/lib/lepus/saga/step_producer.rb +37 -0
- data/lib/lepus/saga/stores/base.rb +305 -0
- data/lib/lepus/saga/stores/memory.rb +375 -0
- data/lib/lepus/saga/stores.rb +40 -0
- data/lib/lepus/saga/testing.rb +35 -0
- data/lib/lepus/saga/version.rb +7 -0
- data/lib/lepus/saga/web/api.rb +326 -0
- data/lib/lepus/saga/web/configuration.rb +49 -0
- data/lib/lepus/saga/web/guard.rb +38 -0
- data/lib/lepus/saga/web/serializer.rb +59 -0
- data/lib/lepus/saga/web/static.rb +108 -0
- data/lib/lepus/saga/web.rb +61 -0
- data/lib/lepus/saga.rb +212 -0
- data/lib/lepus-saga.rb +3 -0
- data/mise.toml +2 -0
- data/web/assets/app.css +913 -0
- data/web/assets/apple-touch-icon.png +0 -0
- data/web/assets/favicon-32.png +0 -0
- data/web/assets/favicon.svg +1 -0
- data/web/assets/fonts/overpass/OFL.txt +93 -0
- data/web/assets/fonts/overpass/overpass-latin-wght.woff2 +0 -0
- data/web/assets/js/api.js +50 -0
- data/web/assets/js/dom.js +84 -0
- data/web/assets/js/format.js +79 -0
- data/web/assets/js/live.js +74 -0
- data/web/assets/js/main.js +143 -0
- data/web/assets/js/map.js +639 -0
- data/web/assets/js/range.js +19 -0
- data/web/assets/js/sagas.js +18 -0
- data/web/assets/js/theme.js +8 -0
- data/web/assets/js/throughput.js +262 -0
- data/web/assets/js/views/execution.js +426 -0
- data/web/assets/js/views/executions.js +165 -0
- data/web/assets/js/views/overview.js +465 -0
- data/web/index.html +63 -0
- metadata +323 -0
data/web/assets/app.css
ADDED
|
@@ -0,0 +1,913 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "Overpass";
|
|
3
|
+
src: url("fonts/overpass/overpass-latin-wght.woff2") format("woff2");
|
|
4
|
+
font-weight: 100 900;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
font-display: swap;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:root {
|
|
10
|
+
--paper: #f3f5f8;
|
|
11
|
+
--raise: #ffffff;
|
|
12
|
+
--ink: #1a2233;
|
|
13
|
+
--ink-2: #485267;
|
|
14
|
+
--ink-3: #5f6a80;
|
|
15
|
+
--rule: #d9dee7;
|
|
16
|
+
--rule-soft: #e6e9ef;
|
|
17
|
+
--line: #1a2233;
|
|
18
|
+
--halo: #f3f5f8;
|
|
19
|
+
--token: #f2a30f;
|
|
20
|
+
--token-text: #8a5200;
|
|
21
|
+
--stop: #d3263a;
|
|
22
|
+
--stop-text: #b01e30;
|
|
23
|
+
--stop-soft: #fbe4e6;
|
|
24
|
+
--back: #6a4cf0;
|
|
25
|
+
--back-text: #5536d6;
|
|
26
|
+
--done: #6f7a90;
|
|
27
|
+
--done-fill: #c9cfda;
|
|
28
|
+
--focus: #2f5bff;
|
|
29
|
+
--font: "Overpass", system-ui, sans-serif;
|
|
30
|
+
--gutter: clamp(24px, 2.6vw, 72px);
|
|
31
|
+
--measure: 72ch;
|
|
32
|
+
color-scheme: light;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@media (prefers-color-scheme: dark) {
|
|
36
|
+
:root:not([data-theme="light"]) {
|
|
37
|
+
--paper: #0e1522;
|
|
38
|
+
--raise: #141c2c;
|
|
39
|
+
--ink: #e3e9f3;
|
|
40
|
+
--ink-2: #a9b4c8;
|
|
41
|
+
--ink-3: #8e9ab1;
|
|
42
|
+
--rule: #26314a;
|
|
43
|
+
--rule-soft: #1c2538;
|
|
44
|
+
--line: #c3cde0;
|
|
45
|
+
--halo: #0e1522;
|
|
46
|
+
--token: #ffb21a;
|
|
47
|
+
--token-text: #ffc552;
|
|
48
|
+
--stop: #ff5468;
|
|
49
|
+
--stop-text: #ff7d8c;
|
|
50
|
+
--stop-soft: #3a1823;
|
|
51
|
+
--back: #9d89ff;
|
|
52
|
+
--back-text: #b3a3ff;
|
|
53
|
+
--done: #7d8aa6;
|
|
54
|
+
--done-fill: #34405a;
|
|
55
|
+
--focus: #7d9bff;
|
|
56
|
+
color-scheme: dark;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:root[data-theme="dark"] {
|
|
61
|
+
--paper: #0e1522;
|
|
62
|
+
--raise: #141c2c;
|
|
63
|
+
--ink: #e3e9f3;
|
|
64
|
+
--ink-2: #a9b4c8;
|
|
65
|
+
--ink-3: #8e9ab1;
|
|
66
|
+
--rule: #26314a;
|
|
67
|
+
--rule-soft: #1c2538;
|
|
68
|
+
--line: #c3cde0;
|
|
69
|
+
--halo: #0e1522;
|
|
70
|
+
--token: #ffb21a;
|
|
71
|
+
--token-text: #ffc552;
|
|
72
|
+
--stop: #ff5468;
|
|
73
|
+
--stop-text: #ff7d8c;
|
|
74
|
+
--stop-soft: #3a1823;
|
|
75
|
+
--back: #9d89ff;
|
|
76
|
+
--back-text: #b3a3ff;
|
|
77
|
+
--done: #7d8aa6;
|
|
78
|
+
--done-fill: #34405a;
|
|
79
|
+
--focus: #7d9bff;
|
|
80
|
+
color-scheme: dark;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
*, *::before, *::after { box-sizing: border-box; }
|
|
84
|
+
|
|
85
|
+
[hidden] { display: none !important; }
|
|
86
|
+
|
|
87
|
+
html { -webkit-text-size-adjust: 100%; }
|
|
88
|
+
|
|
89
|
+
body {
|
|
90
|
+
margin: 0;
|
|
91
|
+
background: var(--paper);
|
|
92
|
+
color: var(--ink);
|
|
93
|
+
font-family: var(--font);
|
|
94
|
+
font-size: 15px;
|
|
95
|
+
line-height: 1.5;
|
|
96
|
+
font-variant-numeric: tabular-nums;
|
|
97
|
+
overflow-x: hidden;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
a { color: inherit; }
|
|
101
|
+
button, input, select { font: inherit; color: inherit; }
|
|
102
|
+
|
|
103
|
+
:focus-visible {
|
|
104
|
+
outline: 2px solid var(--focus);
|
|
105
|
+
outline-offset: 2px;
|
|
106
|
+
border-radius: 3px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.skip {
|
|
110
|
+
position: absolute;
|
|
111
|
+
left: 8px;
|
|
112
|
+
top: -48px;
|
|
113
|
+
padding: 8px 12px;
|
|
114
|
+
background: var(--ink);
|
|
115
|
+
color: var(--paper);
|
|
116
|
+
z-index: 10;
|
|
117
|
+
}
|
|
118
|
+
.skip:focus { top: 8px; }
|
|
119
|
+
|
|
120
|
+
.visually-hidden {
|
|
121
|
+
position: absolute;
|
|
122
|
+
width: 1px;
|
|
123
|
+
height: 1px;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
clip-path: inset(50%);
|
|
126
|
+
white-space: nowrap;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Top bar */
|
|
130
|
+
|
|
131
|
+
.bar {
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
gap: 32px;
|
|
135
|
+
padding: 18px var(--gutter);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.brand {
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
gap: 10px;
|
|
142
|
+
text-decoration: none;
|
|
143
|
+
font-weight: 700;
|
|
144
|
+
font-size: 16px;
|
|
145
|
+
letter-spacing: -0.01em;
|
|
146
|
+
}
|
|
147
|
+
.brand-l { fill: none; stroke: var(--ink); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
|
|
148
|
+
.brand-dot { fill: var(--token); }
|
|
149
|
+
|
|
150
|
+
.nav { display: flex; gap: 4px; }
|
|
151
|
+
.nav a {
|
|
152
|
+
text-decoration: none;
|
|
153
|
+
color: var(--ink-2);
|
|
154
|
+
padding: 6px 12px;
|
|
155
|
+
border-radius: 999px;
|
|
156
|
+
font-weight: 500;
|
|
157
|
+
}
|
|
158
|
+
.nav a:hover { color: var(--ink); }
|
|
159
|
+
.nav a[aria-current="page"] {
|
|
160
|
+
color: var(--ink);
|
|
161
|
+
background: var(--rule-soft);
|
|
162
|
+
font-weight: 650;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.bar-tools { margin-left: auto; display: flex; align-items: center; gap: 12px; }
|
|
166
|
+
|
|
167
|
+
.poll { position: relative; }
|
|
168
|
+
.live {
|
|
169
|
+
display: inline-flex;
|
|
170
|
+
align-items: center;
|
|
171
|
+
gap: 8px;
|
|
172
|
+
height: 34px;
|
|
173
|
+
border: 1px solid var(--rule);
|
|
174
|
+
background: none;
|
|
175
|
+
padding: 0 10px 0 12px;
|
|
176
|
+
border-radius: 999px;
|
|
177
|
+
color: var(--ink-2);
|
|
178
|
+
cursor: pointer;
|
|
179
|
+
font-weight: 600;
|
|
180
|
+
white-space: nowrap;
|
|
181
|
+
}
|
|
182
|
+
.live:hover { color: var(--ink); background: var(--rule-soft); }
|
|
183
|
+
.live[aria-expanded="true"] { background: var(--rule-soft); color: var(--ink); }
|
|
184
|
+
.live-text { color: var(--ink); }
|
|
185
|
+
.live-rate { color: var(--ink-3); font-weight: 550; }
|
|
186
|
+
.live-rate:empty { display: none; }
|
|
187
|
+
.live-caret { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-3); }
|
|
188
|
+
.live-dot {
|
|
189
|
+
width: 8px;
|
|
190
|
+
height: 8px;
|
|
191
|
+
border-radius: 50%;
|
|
192
|
+
background: var(--token);
|
|
193
|
+
box-shadow: 0 0 0 0 var(--token);
|
|
194
|
+
animation: breathe 2.4s ease-out infinite;
|
|
195
|
+
}
|
|
196
|
+
.poll.is-paused .live-dot { background: none; box-shadow: inset 0 0 0 2px var(--ink-3); animation: none; }
|
|
197
|
+
.poll.is-paused .live-text { color: var(--ink-2); }
|
|
198
|
+
|
|
199
|
+
.poll-menu {
|
|
200
|
+
position: absolute;
|
|
201
|
+
right: 0;
|
|
202
|
+
top: calc(100% + 6px);
|
|
203
|
+
z-index: 20;
|
|
204
|
+
width: 236px;
|
|
205
|
+
padding: 12px;
|
|
206
|
+
border-radius: 12px;
|
|
207
|
+
background: var(--raise);
|
|
208
|
+
border: 1px solid var(--rule);
|
|
209
|
+
box-shadow: 0 12px 32px -12px rgb(10 16 30 / 0.35);
|
|
210
|
+
}
|
|
211
|
+
.poll-menu fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
|
|
212
|
+
.poll-menu legend { padding: 0 6px 6px; color: var(--ink-3); font-size: 12.5px; font-weight: 650; letter-spacing: 0.02em; }
|
|
213
|
+
.poll-options { display: grid; gap: 2px; }
|
|
214
|
+
.poll-option {
|
|
215
|
+
display: flex;
|
|
216
|
+
align-items: center;
|
|
217
|
+
gap: 10px;
|
|
218
|
+
padding: 7px 8px;
|
|
219
|
+
border-radius: 8px;
|
|
220
|
+
cursor: pointer;
|
|
221
|
+
color: var(--ink);
|
|
222
|
+
font-weight: 550;
|
|
223
|
+
}
|
|
224
|
+
.poll-option:hover { background: var(--rule-soft); }
|
|
225
|
+
.poll-option input { accent-color: var(--ink); margin: 0; width: 16px; height: 16px; }
|
|
226
|
+
.poll-option:has(input:checked) { background: var(--rule-soft); font-weight: 700; }
|
|
227
|
+
.poll-option:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
|
|
228
|
+
.poll-option input:focus-visible { outline: none; }
|
|
229
|
+
.poll-default { margin-left: auto; color: var(--ink-3); font-size: 12px; font-weight: 600; }
|
|
230
|
+
.poll-note { margin: 8px 6px 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
|
|
231
|
+
|
|
232
|
+
@keyframes breathe {
|
|
233
|
+
0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--token) 60%, transparent); }
|
|
234
|
+
70%, 100% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--token) 0%, transparent); }
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.theme {
|
|
238
|
+
display: inline-flex;
|
|
239
|
+
padding: 3px;
|
|
240
|
+
border-radius: 999px;
|
|
241
|
+
background: var(--rule-soft);
|
|
242
|
+
}
|
|
243
|
+
.theme button {
|
|
244
|
+
display: grid;
|
|
245
|
+
place-items: center;
|
|
246
|
+
width: 30px;
|
|
247
|
+
height: 28px;
|
|
248
|
+
border: 0;
|
|
249
|
+
border-radius: 999px;
|
|
250
|
+
background: none;
|
|
251
|
+
color: var(--ink-3);
|
|
252
|
+
cursor: pointer;
|
|
253
|
+
}
|
|
254
|
+
.theme button:hover { color: var(--ink); }
|
|
255
|
+
.theme button[aria-pressed="true"] { background: var(--raise); color: var(--ink); }
|
|
256
|
+
.theme svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
|
|
257
|
+
.theme svg .fill { fill: currentColor; stroke: none; }
|
|
258
|
+
|
|
259
|
+
/* Page */
|
|
260
|
+
|
|
261
|
+
.view {
|
|
262
|
+
padding: 8px var(--gutter) 72px;
|
|
263
|
+
}
|
|
264
|
+
.view:focus { outline: none; }
|
|
265
|
+
|
|
266
|
+
.loading, .empty { color: var(--ink-3); }
|
|
267
|
+
|
|
268
|
+
.error {
|
|
269
|
+
color: var(--stop-text);
|
|
270
|
+
font-weight: 600;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/* Overview headline, which is also the map's key */
|
|
274
|
+
|
|
275
|
+
.range-row { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
|
|
276
|
+
.range-label { color: var(--ink-3); font-size: 13.5px; font-weight: 600; }
|
|
277
|
+
.headline {
|
|
278
|
+
margin: 28px 0 14px;
|
|
279
|
+
font-size: clamp(26px, 3.2vw, 46px);
|
|
280
|
+
line-height: 1.12;
|
|
281
|
+
font-weight: 300;
|
|
282
|
+
letter-spacing: -0.025em;
|
|
283
|
+
max-width: 22em;
|
|
284
|
+
text-wrap: balance;
|
|
285
|
+
}
|
|
286
|
+
.headline .n { font-weight: 700; letter-spacing: -0.03em; }
|
|
287
|
+
.headline .sym { display: inline-block; vertical-align: 0.1em; margin: 0 0.16em 0 0; }
|
|
288
|
+
.headline .sym svg { display: block; width: 0.7em; height: 0.7em; overflow: visible; }
|
|
289
|
+
.headline .quiet { color: var(--ink-3); }
|
|
290
|
+
.headline .part { white-space: nowrap; }
|
|
291
|
+
.headline .window { color: var(--ink-2); }
|
|
292
|
+
|
|
293
|
+
.subline {
|
|
294
|
+
margin: 0 0 20px;
|
|
295
|
+
color: var(--ink-2);
|
|
296
|
+
max-width: var(--measure);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.sym-token { fill: var(--token); stroke: var(--line); stroke-width: 2; }
|
|
300
|
+
.sym-idle { fill: var(--paper); stroke: var(--token); stroke-width: 3; }
|
|
301
|
+
.sym-stop { fill: var(--stop); }
|
|
302
|
+
.sym-back { fill: var(--back); }
|
|
303
|
+
|
|
304
|
+
/* The map */
|
|
305
|
+
|
|
306
|
+
.map { position: relative; margin: 0 -8px; }
|
|
307
|
+
.map svg { display: block; width: 100%; height: auto; overflow: visible; }
|
|
308
|
+
|
|
309
|
+
.m-line { stroke: var(--line); stroke-width: 6; stroke-linecap: round; fill: none; }
|
|
310
|
+
.m-rail { stroke: var(--back); stroke-width: 2; stroke-dasharray: 1 5; stroke-linecap: round; fill: none; opacity: 0.75; }
|
|
311
|
+
.m-cap { fill: var(--paper); stroke: var(--line); stroke-width: 3; }
|
|
312
|
+
.m-cap-label { fill: var(--ink-2); font-size: 12.5px; font-weight: 600; }
|
|
313
|
+
.m-cap-num { fill: var(--ink); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
|
|
314
|
+
.m-station circle.m-dot { fill: var(--paper); stroke: var(--line); stroke-width: 3; transition: r 160ms ease; }
|
|
315
|
+
.m-station.is-stopped circle.m-dot { stroke: var(--stop); stroke-width: 3.5; }
|
|
316
|
+
.m-station text { fill: var(--ink-2); font-size: 12.5px; font-weight: 550; }
|
|
317
|
+
.m-station.is-stopped text.m-name { fill: var(--ink); font-weight: 700; }
|
|
318
|
+
.m-station .m-hit { fill: transparent; }
|
|
319
|
+
.m-station:hover circle.m-dot, .m-station:focus-visible circle.m-dot { r: 9; }
|
|
320
|
+
.m-station:focus { outline: none; }
|
|
321
|
+
.m-station:focus-visible .m-hit { stroke: var(--focus); stroke-width: 2; rx: 6; }
|
|
322
|
+
.m-block { fill: var(--stop); }
|
|
323
|
+
.m-halo { fill: var(--stop); opacity: 0; }
|
|
324
|
+
.m-station.is-stopped .m-halo { opacity: 0.16; }
|
|
325
|
+
.m-block-n { fill: var(--stop-text); font-size: 12.5px; font-weight: 700; }
|
|
326
|
+
.m-tip {
|
|
327
|
+
position: absolute;
|
|
328
|
+
z-index: 5;
|
|
329
|
+
display: grid;
|
|
330
|
+
gap: 2px;
|
|
331
|
+
max-width: 340px;
|
|
332
|
+
padding: 8px 12px;
|
|
333
|
+
border-radius: 8px;
|
|
334
|
+
background: var(--ink);
|
|
335
|
+
color: var(--paper);
|
|
336
|
+
font-size: 13px;
|
|
337
|
+
line-height: 1.35;
|
|
338
|
+
pointer-events: none;
|
|
339
|
+
box-shadow: 0 8px 24px -10px rgb(10 16 30 / 0.45);
|
|
340
|
+
}
|
|
341
|
+
.m-tip b { font-weight: 700; }
|
|
342
|
+
.m-tip span { opacity: 0.86; }
|
|
343
|
+
.m-saga { fill: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
|
|
344
|
+
.m-saga-link { text-decoration: none; }
|
|
345
|
+
.m-saga-link:hover .m-saga { text-decoration: underline; text-underline-offset: 3px; }
|
|
346
|
+
.m-saga-link:focus { outline: none; }
|
|
347
|
+
.m-saga-link:focus-visible .m-saga { fill: var(--focus); }
|
|
348
|
+
.m-meta { fill: var(--ink-3); font-size: 12.5px; font-weight: 500; }
|
|
349
|
+
.m-meta .m-meta-stop { fill: var(--stop-text); font-weight: 700; }
|
|
350
|
+
|
|
351
|
+
.m-line.is-future { stroke: var(--rule); }
|
|
352
|
+
.m-rail.is-solid { stroke-dasharray: none; stroke-width: 4; opacity: 1; }
|
|
353
|
+
.m-station.is-passed circle.m-dot { fill: var(--line); }
|
|
354
|
+
.m-station.is-undone circle.m-dot { fill: var(--paper); stroke: var(--back); }
|
|
355
|
+
.m-station.is-current circle.m-dot { stroke: var(--token); }
|
|
356
|
+
|
|
357
|
+
.t-token { fill: var(--token); stroke: var(--halo); stroke-width: 2; }
|
|
358
|
+
.t-token.is-idle { fill: var(--paper); stroke: var(--token); stroke-width: 2.5; }
|
|
359
|
+
.t-token.is-back { fill: var(--back); stroke: var(--halo); }
|
|
360
|
+
.t-token.is-stop { fill: var(--stop); }
|
|
361
|
+
.t-token.is-done { fill: var(--line); }
|
|
362
|
+
.t-idle { fill: var(--paper); stroke: var(--token); stroke-width: 2; }
|
|
363
|
+
.t-idle-n { fill: var(--token-text); font-size: 11px; font-weight: 800; }
|
|
364
|
+
.t-token.is-thin { stroke-width: 1.5; }
|
|
365
|
+
.t-more { fill: var(--raise); stroke: var(--token); stroke-width: 1.5; }
|
|
366
|
+
.t-more.is-back { stroke: var(--back); }
|
|
367
|
+
.t-more-n { fill: var(--token-text); font-size: 11.5px; font-weight: 750; }
|
|
368
|
+
.t-more-n.is-back { fill: var(--back-text); }
|
|
369
|
+
.g-trail-move { stop-color: var(--token); }
|
|
370
|
+
.g-trail-back { stop-color: var(--back); }
|
|
371
|
+
|
|
372
|
+
/* Below the map */
|
|
373
|
+
|
|
374
|
+
.lower {
|
|
375
|
+
display: grid;
|
|
376
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
377
|
+
gap: 56px;
|
|
378
|
+
margin-top: 40px;
|
|
379
|
+
padding-top: 28px;
|
|
380
|
+
border-top: 1px solid var(--rule);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.section-title {
|
|
384
|
+
margin: 0 0 4px;
|
|
385
|
+
font-size: 18px;
|
|
386
|
+
font-weight: 700;
|
|
387
|
+
letter-spacing: -0.01em;
|
|
388
|
+
}
|
|
389
|
+
.section-note { margin: 0 0 16px; color: var(--ink-3); font-size: 13.5px; }
|
|
390
|
+
|
|
391
|
+
.stops { list-style: none; margin: 0; padding: 0; max-width: 1000px; }
|
|
392
|
+
.stops li + li { border-top: 1px solid var(--rule-soft); }
|
|
393
|
+
.stop-row {
|
|
394
|
+
display: grid;
|
|
395
|
+
grid-template-columns: 6px minmax(0, 1fr) auto;
|
|
396
|
+
gap: 4px 14px;
|
|
397
|
+
align-items: start;
|
|
398
|
+
padding: 12px 4px;
|
|
399
|
+
text-decoration: none;
|
|
400
|
+
border-radius: 6px;
|
|
401
|
+
}
|
|
402
|
+
.stop-row:hover { background: var(--rule-soft); }
|
|
403
|
+
.stop-bar { grid-row: span 2; width: 6px; height: 100%; min-height: 34px; border-radius: 3px; background: var(--stop); }
|
|
404
|
+
.stop-bar.is-idle { background: none; border: 2px solid var(--token); }
|
|
405
|
+
.stop-title { font-weight: 650; overflow-wrap: anywhere; }
|
|
406
|
+
.stop-title .at { color: var(--ink-2); font-weight: 500; }
|
|
407
|
+
.stop-when { color: var(--ink-3); font-size: 13px; white-space: nowrap; }
|
|
408
|
+
.stop-reason { grid-column: 2 / 4; color: var(--stop-text); font-size: 13.5px; overflow-wrap: anywhere; }
|
|
409
|
+
.stop-reason.is-idle { color: var(--ink-2); }
|
|
410
|
+
.stop-when.is-wait { color: var(--token-text); font-size: 14px; font-weight: 700; }
|
|
411
|
+
|
|
412
|
+
.list-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 12px; }
|
|
413
|
+
.list-foot .link-more { margin-top: 0; }
|
|
414
|
+
.btn.btn-small { height: 32px; padding: 0 14px; font-size: 14px; }
|
|
415
|
+
|
|
416
|
+
.errs { list-style: none; margin: 0; padding: 0; }
|
|
417
|
+
.errs li + li { border-top: 1px solid var(--rule-soft); }
|
|
418
|
+
.err {
|
|
419
|
+
display: grid;
|
|
420
|
+
grid-template-columns: 4.6em minmax(0, 1fr);
|
|
421
|
+
gap: 14px;
|
|
422
|
+
padding: 12px 4px;
|
|
423
|
+
}
|
|
424
|
+
.err-n { color: var(--stop-text); font-size: 20px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; text-align: right; }
|
|
425
|
+
.err-count { display: flex; flex-direction: column; align-items: flex-end; }
|
|
426
|
+
.err-unit { color: var(--ink-3); font-size: 12px; line-height: 1.2; }
|
|
427
|
+
.err-body { min-width: 0; }
|
|
428
|
+
.err-body p { margin: 0; }
|
|
429
|
+
.err-title { overflow-wrap: anywhere; }
|
|
430
|
+
.err-title b { font-weight: 700; }
|
|
431
|
+
.err-title .at { color: var(--ink-2); }
|
|
432
|
+
.err-share { display: block; max-inline-size: 48ch; height: 3px; margin: 6px 0 6px; border-radius: 2px; background: var(--rule-soft); overflow: hidden; }
|
|
433
|
+
.err-share i { display: block; height: 100%; background: var(--stop); border-radius: 2px; }
|
|
434
|
+
.err-msg { color: var(--stop-text); font-size: 13.5px; overflow-wrap: anywhere; }
|
|
435
|
+
.err-links { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 4px !important; font-size: 13px; color: var(--ink-3); }
|
|
436
|
+
.err-links a { color: var(--ink-2); font-weight: 600; text-underline-offset: 3px; }
|
|
437
|
+
.err-links a:hover { color: var(--ink); }
|
|
438
|
+
|
|
439
|
+
.inline-link {
|
|
440
|
+
border: 0;
|
|
441
|
+
background: none;
|
|
442
|
+
padding: 0;
|
|
443
|
+
color: var(--ink);
|
|
444
|
+
font-weight: 600;
|
|
445
|
+
text-decoration: underline;
|
|
446
|
+
text-underline-offset: 3px;
|
|
447
|
+
cursor: pointer;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/* Throughput */
|
|
451
|
+
|
|
452
|
+
.through {
|
|
453
|
+
margin-top: 40px;
|
|
454
|
+
padding-top: 28px;
|
|
455
|
+
border-top: 1px solid var(--rule);
|
|
456
|
+
}
|
|
457
|
+
.through-head { margin-bottom: 4px; }
|
|
458
|
+
.through-head .section-note { margin-bottom: 0; }
|
|
459
|
+
.tp { display: grid; grid-template-columns: minmax(0, 1fr); }
|
|
460
|
+
.tp-totals { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 4px; font-size: 13px; }
|
|
461
|
+
.tp-totals div { display: flex; align-items: center; gap: 6px; }
|
|
462
|
+
.tp-totals dt, .tp-totals dd { line-height: 1.2; }
|
|
463
|
+
.tp-totals dt { color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
|
|
464
|
+
.tp-totals dd { margin: 0; color: var(--ink); font-weight: 700; }
|
|
465
|
+
.tp-totals i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; align-self: center; }
|
|
466
|
+
.tp-totals .k-start { width: 14px; height: 0; border-radius: 0; border-top: 2px solid var(--line); }
|
|
467
|
+
.tp-totals .k-done { background: var(--done-fill); border-top: 2px solid var(--done); }
|
|
468
|
+
.tp-totals .k-stop { background: var(--stop); }
|
|
469
|
+
.tp-totals .k-back { background: var(--back); }
|
|
470
|
+
.tp-chart svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
|
|
471
|
+
.p-done { fill: var(--done-fill); }
|
|
472
|
+
.p-done-edge { fill: var(--done); }
|
|
473
|
+
.p-break { fill: none; stroke: var(--paper); stroke-width: 2.5; }
|
|
474
|
+
.p-stop { fill: var(--stop); }
|
|
475
|
+
.p-back { fill: var(--back); }
|
|
476
|
+
.is-partial { opacity: 0.55; }
|
|
477
|
+
.p-start { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-linejoin: round; }
|
|
478
|
+
.p-axis { fill: var(--ink-3); font-size: 11.5px; }
|
|
479
|
+
.p-rule { stroke: var(--rule); stroke-width: 1; }
|
|
480
|
+
.p-grid { stroke: var(--rule-soft); stroke-width: 1; }
|
|
481
|
+
.p-tick { stroke: var(--rule); stroke-width: 1; }
|
|
482
|
+
.p-hover { fill: var(--rule-soft); }
|
|
483
|
+
.p-hit { fill: transparent; cursor: crosshair; }
|
|
484
|
+
.p-lead { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 2; }
|
|
485
|
+
.p-note {
|
|
486
|
+
fill: var(--ink-2);
|
|
487
|
+
font-size: 12px;
|
|
488
|
+
font-weight: 600;
|
|
489
|
+
paint-order: stroke;
|
|
490
|
+
stroke: var(--paper);
|
|
491
|
+
stroke-width: 4px;
|
|
492
|
+
stroke-linejoin: round;
|
|
493
|
+
}
|
|
494
|
+
.tp-foot {
|
|
495
|
+
display: flex;
|
|
496
|
+
flex-wrap: wrap;
|
|
497
|
+
align-items: baseline;
|
|
498
|
+
justify-content: space-between;
|
|
499
|
+
gap: 4px 24px;
|
|
500
|
+
margin-top: 6px;
|
|
501
|
+
}
|
|
502
|
+
.tp-readout { margin: 0; color: var(--ink-3); font-size: 13px; min-height: 20px; }
|
|
503
|
+
.tp-readout b { color: var(--ink); font-weight: 650; }
|
|
504
|
+
.tp-table { flex-basis: auto; font-size: 13.5px; }
|
|
505
|
+
.tp-table summary { color: var(--ink-2); font-weight: 600; cursor: pointer; width: max-content; margin-left: auto; }
|
|
506
|
+
.tp-table[open] { flex-basis: 100%; }
|
|
507
|
+
.tp-table[open] summary { margin-left: 0; }
|
|
508
|
+
.tp-scroll { max-height: 320px; overflow: auto; margin-top: 10px; border: 1px solid var(--rule); border-radius: 8px; }
|
|
509
|
+
.tp-table table { border-collapse: collapse; width: 100%; }
|
|
510
|
+
.tp-table th, .tp-table td { padding: 6px 14px; text-align: right; border-bottom: 1px solid var(--rule-soft); white-space: nowrap; }
|
|
511
|
+
.tp-table th:first-child { text-align: left; font-weight: 550; }
|
|
512
|
+
.tp-table thead th { position: sticky; top: 0; background: var(--paper); color: var(--ink-3); font-weight: 600; }
|
|
513
|
+
|
|
514
|
+
.link-more {
|
|
515
|
+
display: inline-block;
|
|
516
|
+
margin-top: 12px;
|
|
517
|
+
color: var(--ink-2);
|
|
518
|
+
font-weight: 600;
|
|
519
|
+
text-underline-offset: 3px;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
/* Buttons */
|
|
523
|
+
|
|
524
|
+
.btn {
|
|
525
|
+
display: inline-flex;
|
|
526
|
+
align-items: center;
|
|
527
|
+
gap: 8px;
|
|
528
|
+
height: 38px;
|
|
529
|
+
padding: 0 16px;
|
|
530
|
+
border-radius: 999px;
|
|
531
|
+
border: 1.5px solid var(--ink);
|
|
532
|
+
background: var(--ink);
|
|
533
|
+
color: var(--paper);
|
|
534
|
+
font-weight: 650;
|
|
535
|
+
cursor: pointer;
|
|
536
|
+
text-decoration: none;
|
|
537
|
+
white-space: nowrap;
|
|
538
|
+
}
|
|
539
|
+
.btn:hover { background: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
|
|
540
|
+
.btn-quiet { background: none; color: var(--ink); border-color: var(--rule); }
|
|
541
|
+
.btn-quiet:hover { background: var(--rule-soft); }
|
|
542
|
+
.btn-danger { background: none; color: var(--back-text); border-color: color-mix(in srgb, var(--back) 55%, transparent); }
|
|
543
|
+
.btn-danger:hover { background: color-mix(in srgb, var(--back) 12%, transparent); }
|
|
544
|
+
.btn[disabled] { opacity: 0.55; cursor: progress; }
|
|
545
|
+
.btn svg { fill: currentColor; }
|
|
546
|
+
|
|
547
|
+
/* Execution */
|
|
548
|
+
|
|
549
|
+
.crumbs { margin: 20px 0 0; color: var(--ink-3); font-size: 14px; }
|
|
550
|
+
.crumbs a { color: var(--ink-2); font-weight: 600; text-underline-offset: 3px; }
|
|
551
|
+
|
|
552
|
+
.x-head {
|
|
553
|
+
display: flex;
|
|
554
|
+
flex-wrap: wrap;
|
|
555
|
+
align-items: flex-end;
|
|
556
|
+
justify-content: space-between;
|
|
557
|
+
gap: 16px 32px;
|
|
558
|
+
margin: 6px 0 4px;
|
|
559
|
+
}
|
|
560
|
+
.x-title {
|
|
561
|
+
margin: 0;
|
|
562
|
+
font-size: clamp(28px, 3.4vw, 46px);
|
|
563
|
+
line-height: 1.08;
|
|
564
|
+
font-weight: 300;
|
|
565
|
+
letter-spacing: -0.025em;
|
|
566
|
+
overflow-wrap: anywhere;
|
|
567
|
+
}
|
|
568
|
+
.x-title b { font-weight: 700; }
|
|
569
|
+
.x-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
|
|
570
|
+
.x-confirm { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--ink-2); font-size: 14px; }
|
|
571
|
+
|
|
572
|
+
.x-story {
|
|
573
|
+
margin: 10px 0 0;
|
|
574
|
+
font-size: 18px;
|
|
575
|
+
color: var(--ink-2);
|
|
576
|
+
max-width: var(--measure);
|
|
577
|
+
}
|
|
578
|
+
.x-story b { color: var(--ink); font-weight: 650; }
|
|
579
|
+
.x-reason {
|
|
580
|
+
display: inline-block;
|
|
581
|
+
margin-top: 10px;
|
|
582
|
+
padding: 4px 12px 3px;
|
|
583
|
+
border-radius: 6px;
|
|
584
|
+
background: var(--stop-soft);
|
|
585
|
+
color: var(--stop-text);
|
|
586
|
+
font-weight: 600;
|
|
587
|
+
overflow-wrap: anywhere;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.replay { margin: 36px 0 0; }
|
|
591
|
+
.replay .map { margin-bottom: 8px; }
|
|
592
|
+
|
|
593
|
+
.scrub {
|
|
594
|
+
display: grid;
|
|
595
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
596
|
+
gap: 6px 16px;
|
|
597
|
+
align-items: center;
|
|
598
|
+
}
|
|
599
|
+
.scrub-play {
|
|
600
|
+
grid-row: span 2;
|
|
601
|
+
width: 44px;
|
|
602
|
+
height: 44px;
|
|
603
|
+
border-radius: 50%;
|
|
604
|
+
border: 0;
|
|
605
|
+
background: var(--ink);
|
|
606
|
+
color: var(--paper);
|
|
607
|
+
display: grid;
|
|
608
|
+
place-items: center;
|
|
609
|
+
cursor: pointer;
|
|
610
|
+
}
|
|
611
|
+
.scrub-play svg { fill: currentColor; }
|
|
612
|
+
.scrub-track { position: relative; height: 28px; }
|
|
613
|
+
.scrub-ticks { position: absolute; inset: 0; pointer-events: none; }
|
|
614
|
+
.scrub-ticks svg { width: 100%; height: 100%; display: block; }
|
|
615
|
+
.tick { fill: var(--ink-3); }
|
|
616
|
+
.tick-base { stroke: var(--rule); stroke-width: 2; }
|
|
617
|
+
.tick.is-stop { fill: var(--stop); }
|
|
618
|
+
.tick.is-back { fill: var(--back); }
|
|
619
|
+
.tick.is-ok { fill: var(--line); }
|
|
620
|
+
.scrub input[type="range"] {
|
|
621
|
+
position: absolute;
|
|
622
|
+
inset: 0;
|
|
623
|
+
width: 100%;
|
|
624
|
+
margin: 0;
|
|
625
|
+
background: none;
|
|
626
|
+
appearance: none;
|
|
627
|
+
-webkit-appearance: none;
|
|
628
|
+
cursor: pointer;
|
|
629
|
+
}
|
|
630
|
+
.scrub input[type="range"]::-webkit-slider-runnable-track { height: 28px; background: none; }
|
|
631
|
+
.scrub input[type="range"]::-moz-range-track { height: 28px; background: none; }
|
|
632
|
+
.scrub input[type="range"]::-webkit-slider-thumb {
|
|
633
|
+
-webkit-appearance: none;
|
|
634
|
+
width: 6px;
|
|
635
|
+
height: 28px;
|
|
636
|
+
border-radius: 2px;
|
|
637
|
+
background: var(--token);
|
|
638
|
+
border: 0;
|
|
639
|
+
box-shadow: 0 0 0 1.5px var(--line);
|
|
640
|
+
}
|
|
641
|
+
.scrub input[type="range"]::-moz-range-thumb { width: 6px; height: 28px; border-radius: 2px; background: var(--token); border: 0; box-shadow: 0 0 0 1.5px var(--line); }
|
|
642
|
+
.scrub input[type="range"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
|
|
643
|
+
.scrub-now { font-size: 14px; color: var(--ink-2); min-height: 21px; overflow-wrap: anywhere; }
|
|
644
|
+
.scrub-now b { color: var(--ink); font-weight: 650; }
|
|
645
|
+
|
|
646
|
+
.x-body {
|
|
647
|
+
display: grid;
|
|
648
|
+
grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
|
|
649
|
+
gap: 56px;
|
|
650
|
+
margin-top: 40px;
|
|
651
|
+
padding-top: 28px;
|
|
652
|
+
border-top: 1px solid var(--rule);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.history { list-style: none; margin: 0; padding: 0; position: relative; max-width: 1000px; }
|
|
656
|
+
.history::before {
|
|
657
|
+
content: "";
|
|
658
|
+
position: absolute;
|
|
659
|
+
left: 79px;
|
|
660
|
+
top: 10px;
|
|
661
|
+
bottom: 10px;
|
|
662
|
+
width: 2px;
|
|
663
|
+
background: var(--rule);
|
|
664
|
+
}
|
|
665
|
+
.h-row {
|
|
666
|
+
display: grid;
|
|
667
|
+
grid-template-columns: 64px 30px minmax(0, 1fr) auto;
|
|
668
|
+
gap: 2px 0;
|
|
669
|
+
align-items: start;
|
|
670
|
+
padding: 9px 8px 9px 0;
|
|
671
|
+
border-radius: 6px;
|
|
672
|
+
cursor: pointer;
|
|
673
|
+
position: relative;
|
|
674
|
+
}
|
|
675
|
+
.h-row:hover { background: var(--rule-soft); }
|
|
676
|
+
.h-row[aria-current="step"] { background: color-mix(in srgb, var(--token) 16%, transparent); }
|
|
677
|
+
.h-row.is-future .h-mark i { opacity: 0.4; }
|
|
678
|
+
.h-row.is-future .h-what, .h-row.is-future .h-what b { color: var(--ink-3); font-weight: 450; }
|
|
679
|
+
.h-at {
|
|
680
|
+
font: inherit;
|
|
681
|
+
font-size: 13px;
|
|
682
|
+
color: var(--ink-3);
|
|
683
|
+
background: none;
|
|
684
|
+
border: 0;
|
|
685
|
+
border-radius: 4px;
|
|
686
|
+
text-align: right;
|
|
687
|
+
padding: 2px 10px 0 0;
|
|
688
|
+
cursor: pointer;
|
|
689
|
+
}
|
|
690
|
+
.h-at:hover { color: var(--ink); text-decoration: underline; }
|
|
691
|
+
.h-at:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
|
|
692
|
+
.h-mark { display: grid; justify-items: center; padding-top: 5px; }
|
|
693
|
+
.h-mark i { width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--line); display: block; }
|
|
694
|
+
.h-row.is-stop .h-mark i { border-color: var(--stop); background: var(--stop); border-radius: 2px; width: 6px; height: 14px; margin-top: -1px; }
|
|
695
|
+
.h-row.is-back .h-mark i { border-color: var(--back); }
|
|
696
|
+
.h-row.is-back.is-ok .h-mark i { background: var(--back); }
|
|
697
|
+
.h-row.is-ok .h-mark i { background: var(--line); }
|
|
698
|
+
.h-row.is-run .h-mark i { background: var(--token); border-color: var(--token); }
|
|
699
|
+
.h-row.is-end .h-mark i { width: 14px; height: 14px; border-radius: 4px; }
|
|
700
|
+
.h-what { padding-left: 6px; }
|
|
701
|
+
.h-what b { font-weight: 650; overflow-wrap: anywhere; }
|
|
702
|
+
.h-what span { color: var(--ink-2); }
|
|
703
|
+
.h-took { color: var(--ink-3); font-size: 13px; padding-top: 2px; }
|
|
704
|
+
.h-error { grid-column: 3 / 5; padding-left: 6px; color: var(--stop-text); font-size: 13.5px; overflow-wrap: anywhere; }
|
|
705
|
+
.h-trace { grid-column: 3 / 5; padding-left: 6px; font-size: 13px; }
|
|
706
|
+
.h-trace summary { color: var(--ink-2); cursor: pointer; width: max-content; }
|
|
707
|
+
.h-trace pre {
|
|
708
|
+
margin: 8px 0 0;
|
|
709
|
+
padding: 12px;
|
|
710
|
+
background: var(--raise);
|
|
711
|
+
border: 1px solid var(--rule);
|
|
712
|
+
border-radius: 6px;
|
|
713
|
+
font-size: 12px;
|
|
714
|
+
line-height: 1.45;
|
|
715
|
+
overflow: auto;
|
|
716
|
+
max-height: 260px;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; font-size: 14px; }
|
|
720
|
+
.facts dt { color: var(--ink-3); }
|
|
721
|
+
.facts dd { margin: 0; overflow-wrap: anywhere; }
|
|
722
|
+
.copy {
|
|
723
|
+
border: 0;
|
|
724
|
+
background: none;
|
|
725
|
+
padding: 0 0 0 6px;
|
|
726
|
+
color: var(--ink-3);
|
|
727
|
+
cursor: pointer;
|
|
728
|
+
vertical-align: -2px;
|
|
729
|
+
}
|
|
730
|
+
.copy:hover { color: var(--ink); }
|
|
731
|
+
.copy svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
|
|
732
|
+
|
|
733
|
+
.ctx { margin-top: 32px; }
|
|
734
|
+
.ctx pre {
|
|
735
|
+
margin: 0;
|
|
736
|
+
padding: 14px 16px;
|
|
737
|
+
background: var(--raise);
|
|
738
|
+
border: 1px solid var(--rule);
|
|
739
|
+
border-radius: 8px;
|
|
740
|
+
font-size: 13px;
|
|
741
|
+
line-height: 1.6;
|
|
742
|
+
overflow: auto;
|
|
743
|
+
white-space: pre-wrap;
|
|
744
|
+
overflow-wrap: anywhere;
|
|
745
|
+
}
|
|
746
|
+
.ctx .k { color: var(--ink-2); }
|
|
747
|
+
.ctx .new { background: color-mix(in srgb, var(--token) 22%, transparent); border-radius: 3px; }
|
|
748
|
+
|
|
749
|
+
.related { list-style: none; padding: 0; margin: 0; }
|
|
750
|
+
.related a { display: flex; gap: 10px; padding: 6px 0; text-decoration: none; color: var(--ink-2); }
|
|
751
|
+
.related a:hover { color: var(--ink); }
|
|
752
|
+
|
|
753
|
+
/* Executions list */
|
|
754
|
+
|
|
755
|
+
.list-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 32px; justify-content: space-between; margin: 28px 0 20px; }
|
|
756
|
+
.list-title { margin: 0; font-size: clamp(28px, 3.2vw, 42px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.1; }
|
|
757
|
+
.filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
|
|
758
|
+
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 999px; background: var(--rule-soft); }
|
|
759
|
+
.seg button {
|
|
760
|
+
white-space: nowrap;
|
|
761
|
+
border: 0;
|
|
762
|
+
background: none;
|
|
763
|
+
border-radius: 999px;
|
|
764
|
+
padding: 5px 13px;
|
|
765
|
+
color: var(--ink-2);
|
|
766
|
+
font-weight: 550;
|
|
767
|
+
cursor: pointer;
|
|
768
|
+
}
|
|
769
|
+
.seg button:hover { color: var(--ink); }
|
|
770
|
+
.seg button[aria-pressed="true"] { background: var(--raise); color: var(--ink); font-weight: 650; }
|
|
771
|
+
.select {
|
|
772
|
+
height: 36px;
|
|
773
|
+
border-radius: 999px;
|
|
774
|
+
border: 1px solid var(--rule);
|
|
775
|
+
background: var(--paper);
|
|
776
|
+
padding: 0 14px;
|
|
777
|
+
color: var(--ink);
|
|
778
|
+
}
|
|
779
|
+
.chip {
|
|
780
|
+
display: inline-flex;
|
|
781
|
+
gap: 6px;
|
|
782
|
+
align-items: center;
|
|
783
|
+
border: 1px solid var(--rule);
|
|
784
|
+
border-radius: 999px;
|
|
785
|
+
padding: 4px 6px 4px 12px;
|
|
786
|
+
font-size: 14px;
|
|
787
|
+
color: var(--ink-2);
|
|
788
|
+
background: none;
|
|
789
|
+
cursor: pointer;
|
|
790
|
+
}
|
|
791
|
+
.chip b { color: var(--ink); font-weight: 650; }
|
|
792
|
+
.chip span { color: var(--ink-3); padding: 0 4px; }
|
|
793
|
+
|
|
794
|
+
.rows { width: 100%; border-collapse: collapse; }
|
|
795
|
+
.rows th {
|
|
796
|
+
text-align: left;
|
|
797
|
+
font-weight: 600;
|
|
798
|
+
color: var(--ink-3);
|
|
799
|
+
font-size: 13px;
|
|
800
|
+
padding: 0 12px 10px 0;
|
|
801
|
+
border-bottom: 1px solid var(--rule);
|
|
802
|
+
}
|
|
803
|
+
.rows td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: middle; }
|
|
804
|
+
.rows tr { cursor: pointer; }
|
|
805
|
+
.rows tbody tr:hover td { background: var(--rule-soft); }
|
|
806
|
+
.rows td:first-child, .rows th:first-child { padding-left: 4px; }
|
|
807
|
+
.rows .r-res a { font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
|
|
808
|
+
.rows .r-res a:hover { text-decoration: underline; text-underline-offset: 3px; }
|
|
809
|
+
.rows .r-saga { color: var(--ink-2); }
|
|
810
|
+
.rows .r-step { overflow-wrap: anywhere; }
|
|
811
|
+
.rows .r-when, .rows .r-took { color: var(--ink-3); white-space: nowrap; font-size: 14px; }
|
|
812
|
+
.rows .r-glyph { width: 120px; }
|
|
813
|
+
.glyph { display: block; overflow: visible; }
|
|
814
|
+
.g-line { stroke: var(--line); stroke-width: 3; stroke-linecap: round; }
|
|
815
|
+
.g-line.is-future { stroke: var(--rule); }
|
|
816
|
+
.g-dot { fill: var(--paper); stroke: var(--line); stroke-width: 2; }
|
|
817
|
+
.g-dot.is-future { stroke: var(--rule); }
|
|
818
|
+
.g-stop { fill: var(--stop); }
|
|
819
|
+
.g-back { stroke: var(--back); }
|
|
820
|
+
.state { font-weight: 600; white-space: nowrap; }
|
|
821
|
+
.state-running { color: var(--token-text); }
|
|
822
|
+
.state-compensating, .state-compensated { color: var(--back-text); }
|
|
823
|
+
.state-failed, .state-compensation_failed { color: var(--stop-text); }
|
|
824
|
+
.state-completed { color: var(--ink-2); font-weight: 500; }
|
|
825
|
+
.more-row { margin-top: 20px; }
|
|
826
|
+
|
|
827
|
+
.toast {
|
|
828
|
+
position: fixed;
|
|
829
|
+
left: 50%;
|
|
830
|
+
bottom: 24px;
|
|
831
|
+
transform: translateX(-50%) translateY(16px);
|
|
832
|
+
padding: 10px 18px;
|
|
833
|
+
border-radius: 999px;
|
|
834
|
+
background: var(--ink);
|
|
835
|
+
color: var(--paper);
|
|
836
|
+
font-weight: 600;
|
|
837
|
+
opacity: 0;
|
|
838
|
+
pointer-events: none;
|
|
839
|
+
transition: opacity 180ms ease, transform 180ms ease;
|
|
840
|
+
max-width: calc(100vw - 32px);
|
|
841
|
+
}
|
|
842
|
+
.toast.is-shown { opacity: 1; transform: translateX(-50%) translateY(0); }
|
|
843
|
+
.toast.is-error { background: var(--stop); color: #fff; }
|
|
844
|
+
|
|
845
|
+
@media (max-width: 1099px) {
|
|
846
|
+
:root { --gutter: 24px; }
|
|
847
|
+
.x-body { grid-template-columns: minmax(0, 1fr); gap: 40px; }
|
|
848
|
+
.rows .r-saga-col { display: none; }
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
@media (max-width: 999px) {
|
|
852
|
+
.lower { grid-template-columns: minmax(0, 1fr); gap: 40px; }
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
@media (max-width: 699px) {
|
|
856
|
+
.headline { margin-top: 12px; }
|
|
857
|
+
.stop-row { grid-template-columns: 6px minmax(0, 1fr); gap: 2px 12px; }
|
|
858
|
+
.stop-bar { grid-row: span 3; }
|
|
859
|
+
.stop-when, .stop-reason { grid-column: 2; }
|
|
860
|
+
.tp-totals { gap: 4px 16px; }
|
|
861
|
+
:root { --gutter: 16px; }
|
|
862
|
+
.bar { gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 8px; }
|
|
863
|
+
.brand span { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
864
|
+
.nav { order: 3; width: 100%; margin: 0 -12px; }
|
|
865
|
+
.poll:not(.is-paused) .live-text { display: none; }
|
|
866
|
+
.live { padding: 0 8px 0 10px; gap: 6px; }
|
|
867
|
+
.poll-menu { width: min(236px, calc(100vw - 32px)); }
|
|
868
|
+
.err { grid-template-columns: 4em minmax(0, 1fr); gap: 10px; }
|
|
869
|
+
.err-n { font-size: 17px; }
|
|
870
|
+
.map { margin: 0; }
|
|
871
|
+
.x-story { font-size: 16px; }
|
|
872
|
+
.history::before { left: 59px; }
|
|
873
|
+
.h-row { grid-template-columns: 50px 22px minmax(0, 1fr); }
|
|
874
|
+
.h-at { padding-right: 6px; }
|
|
875
|
+
.h-took { grid-column: 3; padding-left: 6px; padding-top: 0; }
|
|
876
|
+
.h-error, .h-trace { grid-column: 3; }
|
|
877
|
+
.rows thead { display: none; }
|
|
878
|
+
.rows, .rows tbody, .rows tr, .rows td { display: block; }
|
|
879
|
+
.rows tr {
|
|
880
|
+
display: grid;
|
|
881
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
882
|
+
gap: 2px 12px;
|
|
883
|
+
padding: 12px 4px;
|
|
884
|
+
border-bottom: 1px solid var(--rule-soft);
|
|
885
|
+
}
|
|
886
|
+
.rows td { padding: 0; border: 0; }
|
|
887
|
+
.rows .r-glyph { grid-column: 1 / 3; width: auto; padding-bottom: 6px; }
|
|
888
|
+
.rows .r-saga-col { display: block; grid-column: 1; color: var(--ink-2); font-size: 14px; }
|
|
889
|
+
.rows .r-state { grid-column: 2; grid-row: 2; text-align: right; }
|
|
890
|
+
.rows .r-step { grid-column: 1; font-size: 14px; }
|
|
891
|
+
.rows .r-when { grid-column: 2; text-align: right; }
|
|
892
|
+
.rows .r-took { display: none; }
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
@media (min-width: 1700px) {
|
|
896
|
+
.lower, .x-body { gap: 88px; }
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
@media (prefers-reduced-motion: reduce) {
|
|
900
|
+
.live-dot { animation: none; }
|
|
901
|
+
.toast { transition: none; }
|
|
902
|
+
.m-station circle.m-dot { transition: none; }
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
@media (min-width: 1800px) {
|
|
906
|
+
.x-body { grid-template-columns: minmax(0, 1000px) minmax(0, 1fr); }
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
@media (max-width: 480px) {
|
|
910
|
+
.filters { min-width: 0; max-width: 100%; }
|
|
911
|
+
.filters .seg { display: flex; flex-wrap: wrap; max-width: 100%; border-radius: 18px; }
|
|
912
|
+
.filters .seg button { padding: 5px 10px; }
|
|
913
|
+
}
|