File size: 9,345 Bytes
6eb035f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e0ba7b4
 
 
 
 
 
 
 
 
 
 
 
dbd6aed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
/* The test run cockpit (RunStages.tsx): the four phases as tiles across the top, the current step's card beside the team

   and the scenario map, then the results by process step. Tokens only, so dark and light both follow the scheme. */

.fpt-ws .trio-stages { max-width: 1180px; padding: 28px 36px 96px; }
.fpt-ws .trio-rhead h1 { font: 700 34px/40px var(--font-display); letter-spacing: -0.02em; }

/* phases */
.rc-phases { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.rc-phase { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 16px; border-radius: 14px; background: var(--bg-elev); border: 1px solid var(--sep); }
.rc-pk { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 600 12px var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--label-3); }
.rc-pl { font: 600 16px/21px var(--font-display); color: var(--label); }
.rc-ps { font-size: 13px; }
.rc-pbar { display: block; height: 4px; margin-top: auto; border-radius: 2px; background: var(--fill-2); overflow: hidden; }
.rc-pbar i { display: block; height: 100%; border-radius: 2px; background: var(--green); transition: width var(--d3) var(--ease); }
.rc-phase[data-mark='done'] .rc-pk svg { color: var(--green); }
.rc-phase[data-mark='todo'] { background: transparent; border-style: dashed; }
.rc-phase[data-mark='todo'] .rc-pl { color: var(--label-3); }
.rc-phase[data-mark='cur'] { border-color: var(--ember); background: linear-gradient(180deg, color-mix(in srgb, var(--ember) 14%, transparent), color-mix(in srgb, var(--ember) 3%, transparent));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ember) 10%, transparent); }
.rc-phase[data-mark='cur'] .rc-pk { color: var(--accent-text); }
.rc-phase[data-mark='cur'] .rc-pbar i { background: var(--ember); }
.rc-phase[data-mark='stop'] { border-color: var(--red); }
.rc-phase[data-mark='stop'] .rc-pk, .rc-phase[data-mark='stop'] .rc-pk svg { color: var(--red); }
.rc-phase[data-mark='stop'] .rc-pbar i { background: var(--red); }
.rc-phase[data-tone='red'] { border-color: color-mix(in srgb, var(--red) 55%, transparent); background: color-mix(in srgb, var(--red) 7%, var(--bg-elev)); }
.rc-phase[data-tone='red'] .rc-pl { color: var(--red); }
.rc-phase[data-tone='red'] .rc-pbar i { background: var(--red); }
.rc-phase[data-tone='orange'] .rc-pl { color: var(--orange); }
.rc-phase[data-tone='orange'] .rc-pbar i { background: var(--orange); }
.rc-phase[data-tone='green'] { border-color: color-mix(in srgb, var(--green) 55%, transparent); }
.rc-phase[data-tone='green'] .rc-pl { color: var(--green); }
.rc-now-tag { padding: 1px 8px; border-radius: 999px; background: var(--ember); color: #fff; font: 700 10px/16px var(--font); letter-spacing: 0.06em; }

/* the step card and the side column */
.rc-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr); gap: 16px; margin-top: 18px; align-items: start; }
.rc-now { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rc-eyebrow { font: 600 12px var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.rc-now .fpt-stage { margin: 0; }
.rc-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rc-card { padding: 18px; border-radius: 16px; background: var(--bg-elev); border: 1px solid var(--sep); }
.rc-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 600 15px var(--font-display); color: var(--label); }
.rc-hn { margin-left: auto; font: 500 12px var(--font); color: var(--label-3); }
.rc-card .fpt-team { margin: 0; }

/* every scenario as a square */
.rc-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(14px, 1fr)); gap: 4px; }
.rc-sq { aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 3px; background: var(--fill-2); cursor: pointer; transition: transform var(--d1) var(--ease); }
.rc-sq:hover { transform: scale(1.35); box-shadow: 0 0 0 2px var(--bg-elev), 0 0 0 3px var(--label-3); }
.rc-sq[data-k='pass'], .rc-keys i[data-k='pass'] { background: var(--green); }
.rc-sq[data-k='flaky'], .rc-keys i[data-k='flaky'] { background: var(--orange); }
.rc-sq[data-k='fail'], .rc-keys i[data-k='fail'] { background: var(--red); }
.rc-sq[data-k='run'], .rc-keys i[data-k='run'] { background: var(--blue); }
.rc-sq[data-k='run'] { animation: rc-pulse 1.4s var(--ease) infinite; }
.rc-keys i[data-k='todo'] { background: var(--fill-2); }
.rc-keys { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 12px; color: var(--label-2); }
.rc-keys span { display: inline-flex; align-items: center; gap: 6px; }
.rc-keys i { width: 9px; height: 9px; border-radius: 2px; }
@keyframes rc-pulse { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 30%, transparent); } }

/* by process step */
.rc-steps { margin-top: 16px; padding: 0; overflow: hidden; }
.rc-steps .rc-h { margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--sep); }
.rc-tbl { overflow-x: auto; }
.rc-tr { display: grid; grid-template-columns: minmax(180px, 2fr) 90px minmax(160px, 2fr) 120px; gap: 12px; align-items: center; min-width: 600px; padding: 12px 20px; border-top: 1px solid var(--sep); }
.rc-th { border-top: 0; padding-block: 10px; font: 600 11px var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--label-3); background: var(--fill); }
.rc-code { font-size: 11px; color: var(--label-3); }
.rc-touched { margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--ember) 14%, transparent); color: var(--accent-text); font-size: 11px; font-weight: 700; }
.rc-sbar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--fill-2); }
.rc-sbar i[data-k='pass'] { background: var(--green); }
.rc-sbar i[data-k='fail'] { background: var(--red); }
.rc-state { font-size: 13px; color: var(--label-2); }
.rc-state[data-state='failing'] { color: var(--red); font-weight: 700; }
.rc-state[data-state='passed'] { color: var(--green); font-weight: 700; }
.rc-state[data-state='gap'] { color: var(--orange); font-weight: 700; }

@media (max-width: 1100px) {
  .rc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .fpt-ws .trio-stages { padding: 18px 16px 80px; }
  .rc-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .rc-sq[data-k='run'] { animation: none; }
  .rc-pbar i, .rc-sq { transition: none; }
}

/* the Activity log as a timeline: a rail on the left, a dot per entry coloured by what happened */
.fpt-ws-detail [aria-label='activity feed'] { position: relative; padding-left: 26px; }
.fpt-ws-detail [aria-label='activity feed']::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; border-radius: 1px; background: var(--sep-strong); }
.fpt-ws-detail [aria-label='activity feed'] > * { position: relative; }
.fpt-ws-detail [aria-label='activity feed'] > *::before { content: ""; position: absolute; left: -24px; top: 16px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px var(--bg); }
.fpt-ws-detail [aria-label='activity feed'] > .fpt-feed-meta::before { top: 7px; width: 8px; height: 8px; left: -23px; background: var(--label-3); }
.fpt-ws-detail [aria-label='activity feed'] > [data-kind='interrupted']::before { background: var(--ember); }
.fpt-ws-detail [aria-label='activity feed'] > [data-kind='error']::before, .fpt-ws-detail [aria-label='activity feed'] > [data-kind='killed']::before { background: var(--red); }
.fpt-ws-detail [aria-label='activity feed'] > .fpt-live::before { background: var(--blue); animation: rc-pulse 1.4s var(--ease) infinite; }
.fpt-ws-detail [aria-label='activity feed'] > .fpt-card { border-radius: 14px; }

/* Simple mode: one guided column, the current step only; the team, the scenario map and the steps fold away */
.fpt-ws .trio-stages[data-simple] { max-width: 780px; }
.trio-stages[data-simple] .trio-rhead { text-align: center; }
.trio-stages[data-simple] .trio-rhead h1 { font-size: 40px; line-height: 46px; }
.trio-stages[data-simple] .trio-meta { justify-content: center; }
.trio-stages[data-simple] .rc-phases { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.trio-stages[data-simple] .rc-phase { padding: 10px 12px; gap: 4px; }
.trio-stages[data-simple] .rc-ps { display: none; }
.trio-stages[data-simple] .rc-pl { font-size: 13px; line-height: 18px; }
.trio-stages[data-simple] .rc-grid { grid-template-columns: minmax(0, 1fr); }
.trio-stages[data-simple] .rc-eyebrow { text-align: center; }
.gf-more { margin-top: 18px; border-radius: 16px; background: var(--bg-elev); border: 1px solid var(--sep); }
.gf-more > summary { padding: 14px 18px; cursor: pointer; font: 600 14px var(--font-display); color: var(--label); }
.gf-more > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 16px; }
.gf-more-body { display: flex; flex-direction: column; gap: 14px; padding: 0 14px 14px; }
.gf-more-body .rc-steps { margin-top: 0; }