File size: 3,900 Bytes
af1bee9 0d811c3 af1bee9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /* The test-run workspace (/runs/:id and its views) in the reference style. Tokens only; loaded with RunWorkspace. */
/* ---- top bar: the run's name wraps to two lines instead of "Proc…", nothing is clipped, actions wrap under it */
.fpt-ws .fpt-topbar.pw-topbar { max-height: none; flex-wrap: wrap; row-gap: var(--sp-1); align-items: center; }
.fpt-ws .pw-topbar .fpt-topbar-left { flex: 1 1 220px; min-width: 0; }
.fpt-ws .pw-topbar .fpt-topbar-row1 .fpt-title {
min-width: 0; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}
.fpt-ws .pw-topbar .fpt-topbar-sub { white-space: nowrap; overflow: hidden; }
.fpt-ws .pw-topbar .fpt-topbar-caption { overflow: hidden; text-overflow: ellipsis; }
.fpt-ws .pw-topbar .fpt-topbar-actions { flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-end; row-gap: var(--sp-1); }
/* ---- the view bar under the top bar: wraps instead of hiding the first view behind a fade */
.fpt-detail-head { flex-wrap: wrap; row-gap: var(--sp-2); background: var(--bg-elev); border-bottom: 1px solid var(--sep); -webkit-backdrop-filter: none; backdrop-filter: none; }
.fpt-detail-head .fpt-navtabs.fpt-detail-switch { margin-left: 0; max-width: 100%; -webkit-mask-image: none; mask-image: none; }
/* ---- the stages: hairline cards, square-ish markers, the waiting card outlined in orange */
.trio-rhead h1 { font-family: var(--font-display-mono); font-size: var(--fs-2xl); line-height: var(--lh-2xl); font-weight: var(--fw-medium); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.fpt-stage { border-radius: var(--r-lg); box-shadow: none; border: 1px solid var(--sep); }
.fpt-stage[data-stage='approve'], .fpt-stage[data-stage='judge'] { box-shadow: none; border: 1px solid var(--orange-line); }
.fpt-stage[data-stage='stopped'] { box-shadow: none; border: 1px solid var(--red-line); }
.trio-marker { border-radius: var(--r-md); }
.trio-stage[data-mark='cur'] .trio-marker { box-shadow: 0 0 0 4px var(--accent-soft-2); }
.trio-stage[data-mark='cur'][data-wait] .trio-marker { box-shadow: 0 0 0 4px var(--orange-soft); }
.trio-tag { display: inline-flex; align-items: center; gap: var(--sp-1); padding: 2px var(--sp-2); border-radius: var(--r-sm); border: 1px solid var(--sep-strong);
font-family: var(--font-display-mono); font-size: var(--fs-label); line-height: var(--lh-label); text-transform: none; letter-spacing: var(--ls-mono-caps); }
.trio-tag[data-tone='orange'] { border-color: var(--orange-line); background: var(--orange-soft); }
.trio-meta .trio-chip, .trio-meta .fpt-idpill { border-radius: var(--r-sm); }
/* ---- presence: who is on it right now */
.run-presence { display: flex; align-items: center; gap: var(--sp-2); margin: 0; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md);
background: var(--bg-elev-2); border: 1px solid var(--sep); font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--label-2); }
.run-presence b { color: var(--label); font-weight: var(--fw-semibold); }
.run-presence svg, .run-presence > :first-child { flex: none; border-radius: var(--r-sm); }
.run-presence[data-waiting] { background: var(--orange-soft); border-color: transparent; color: var(--label); }
/* ---- the stage's actions: long labels wrap, and on phones every action takes the full width */
.trio-acts .mantine-Button-root { max-width: 100%; height: auto; min-height: var(--h-md); }
.trio-acts .mantine-Button-label { white-space: normal; text-align: center; line-height: var(--lh-base); padding-block: var(--sp-1); }
@media (max-width: 767px) {
.trio-stages { padding: var(--sp-4) var(--sp-4) var(--sp-16); }
.trio-acts { flex-direction: column; align-items: stretch; }
.trio-acts .mantine-Button-root { width: 100%; }
.trio-rhead h1 { font-size: var(--fs-xl); line-height: var(--lh-xl); }
}
|