OXYGENHUB
# 8306eca4e4a3 oxygenhub / templates / style.css
110.6 KiB · CSS · last changed Iterations on project boards: a named span of days with a burn-up of cards done; closing one archives its Done column's cards under it, its page lists them (closes #343) 8 days ago source blame history raw
1
/* OxygenHub. The RetroPlay Network theme (hub spec §6.1): dark by default
2
   on the Commander X16 palette, light under [data-theme="light"], Barlow
3
   for text and Press Start 2P for the wordmark and first columns, square
4
   corners, thin rules, a band for navigation. Fonts are vendored. */
5
6
@font-face { font-family: "Barlow"; font-weight: 300; font-display: swap; src: url(/static/fonts/Barlow-300.woff2) format("woff2"); }
7
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/static/fonts/Barlow-400.woff2) format("woff2"); }
8
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(/static/fonts/Barlow-500.woff2) format("woff2"); }
9
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/static/fonts/Barlow-600.woff2) format("woff2"); }
10
@font-face { font-family: "Press Start 2P"; font-weight: 400; font-display: swap; src: url(/static/fonts/PressStart2P-400.woff2) format("woff2"); }
11
12
:root {
13
  /* Oxygen's mark: cyan #00F0FF to blue #0072FF on #070c18. */
14
  --bg:#070c18; --panel:#0e1526; --soft:#141d33; --ink:#e6ecf7; --mute:#8592ad; --line:#1f2b47; --dim:#43506d;
15
  --acc:#00e0f0; --acc-2:#0072ff; --band:#0b3f9e; --band-ink:#ffffff; --band-acc:#00f0ff; --band-line:rgba(7,12,24,.5); --now:#00f0ff; --now-ink:#070c18;
16
  --ok:#5fe3a1; --bad:#ff5e7a; --warn:#b48cff;
17
  --add:#0d3a3a; --del:#3f1a2e; --add-ink:#8ff0d8; --del-ink:#ffa5b8;
18
  --m1:#00f0ff; --m2:#d6dcea; --m3:#5aa8ff; --m4:#0072ff; --m5:#8592ad;
19
  /* syntax */
20
  --sy-kw:#7fb4ff; --sy-str:#8ff0d8; --sy-num:#9fd3ff; --sy-cmt:#7a86a4; --sy-fn:#00e0f0; --sy-ty:#c6a0ff; --sy-var:#e6ecf7; --sy-const:#b48cff;
21
  /* Backdrops (docs/backgrounds.md §3): a resting mark, a lit one, a link. */
22
  --bd-mark:rgba(0,224,240,.12); --bd-lit:rgba(0,240,255,.85); --bd-link:rgba(0,240,255,.35);
23
  color-scheme: dark;
24
}
25
:root[data-theme="light"] {
26
  --bg:#f4f7fc; --panel:#ffffff; --soft:#e9eef8; --ink:#1b2333; --mute:#5f6a81; --line:#d6dded; --dim:#b3bccf;
27
  --acc:#0064e0; --acc-2:#00b8d4; --band:#0b3f9e; --band-ink:#ffffff; --band-acc:#9ff3ff; --band-line:rgba(255,255,255,.25); --now:#0064e0; --now-ink:#ffffff;
28
  --ok:#1a7850; --bad:#c62d47; --warn:#6b3fd1;
29
  --add:#e1f5ee; --del:#fbe3e8; --add-ink:#176b48; --del-ink:#a1243c;
30
  --m1:#0090a8; --m2:#7a8290; --m3:#2f6fcf; --m4:#0055c0; --m5:#8a8f9c;
31
  --sy-kw:#0b4fc9; --sy-str:#1a7850; --sy-num:#1e63b8; --sy-cmt:#606b81; --sy-fn:#007394; --sy-ty:#7a3fd1; --sy-var:#1b2333; --sy-const:#6b3fd1;
32
  --bd-mark:rgba(95,106,129,.18); --bd-lit:rgba(0,100,224,.7); --bd-link:rgba(0,100,224,.25);
33
  color-scheme: light;
34
}
35
36
* { box-sizing: border-box; }
37
/* Room for the scroll bar always, so nothing shifts when it comes and goes. */
38
html { background: var(--bg); scrollbar-gutter: stable; }
39
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 15px/1.45 "Barlow", "IBM Plex Sans", system-ui, sans-serif; }
40
a { color: var(--acc); text-decoration: none; }
41
a:hover { text-decoration: underline; }
42
code, pre, kbd, .mono { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
43
.px { font-family: "Press Start 2P", "Silkscreen", monospace; font-size: 13px; }
44
.pxs { font-family: "Press Start 2P", "Silkscreen", monospace; font-size: 11px; }
45
h1, h2, h3 { margin: 0; }
46
h2 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
47
h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin: 14px 0 6px; }
48
p { margin: 0 0 10px; }
49
.small { font-size: 12px; }
50
.mute { color: var(--mute); }
51
.dim { color: var(--mute); }
52
.center { text-align: center; }
53
.right { text-align: right; }
54
.empty { color: var(--mute); padding: 22px; text-align: center; border: 1px dashed var(--line); }
55
.lead { font-size: 16px; }
56
kbd { background: var(--soft); border: 1px solid var(--line); padding: 1px 5px; font-size: 11px; }
57
58
/* shell */
59
header { background: var(--panel); border-bottom: 1px solid var(--line); padding: 14px 22px; display: flex; align-items: center; gap: 16px; }
60
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
61
.brand svg { height: 22px; width: auto; }
62
.brand em { font-style: normal; color: var(--acc); }
63
.brand:hover { text-decoration: none; }
64
header nav { margin-left: auto; display: flex; gap: 8px; align-items: center; }
65
header nav .me { color: var(--ink); font-weight: 600; padding: 0 6px; }
66
header nav .theme-toggle { background: none; border: 1px solid var(--line); color: var(--ink); font-size: 15px; line-height: 1; padding: 4px 7px; cursor: pointer; }
67
header nav .theme-toggle:hover { border-color: var(--acc); }
68
fieldset.choices { border: 0; padding: 0; margin: 0 0 10px; display: flex; gap: 18px; flex-wrap: wrap; }
69
fieldset.choices legend { padding: 0; margin-bottom: 6px; }
70
form.card label.choice, label.choice { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); margin: 0; }
71
form.inline { display: inline; margin: 0; }
72
.band a.admin { color: var(--band-acc); }
73
form.find { margin: 0; flex: 0 1 320px; }
74
form.find input { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--ink); padding: 6px 10px; font: inherit; }
75
form.find input:focus { outline: 2px solid var(--band); outline-offset: 0; }
76
.band { background: var(--band); display: flex; align-items: stretch; padding: 0 22px; }
77
.band a { color: var(--band-ink); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 9px 14px; border-right: 1px solid var(--band-line); }
78
.band a:first-child { border-left: 1px solid var(--band-line); }
79
.band a.on { box-shadow: inset 0 -3px 0 var(--acc); background: rgba(0,0,0,.18); }
80
.band a:hover { text-decoration: none; background: rgba(0,0,0,.12); }
81
.band .grow { flex: 1; }
82
.band a.dim { opacity: .6; border: 0; }
83
.tabs { background: var(--panel); border-bottom: 1px solid var(--line); }
84
/* The repository bar is as wide as its contents need: at least the page
85
   column (so it lines up with it), wider for a long name, and it wraps only
86
   when the window itself is too narrow. */
87
.tabs-in { width: fit-content; min-width: min(1180px, 100%); max-width: 100%; box-sizing: border-box; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
88
.tabs .crumb { white-space: nowrap; }
89
.tabs .crumb { margin-right: 18px; padding: 10px 0; font-size: 16px; }
90
.tabs a:not(.crumb a) { padding: 10px 12px; color: var(--ink); font-size: 13px; }
91
.tabs a.on { border-bottom: 2px solid var(--acc); font-weight: 600; }
92
.tabs a:hover { text-decoration: none; background: var(--soft); }
93
/* The bar's menus (oxygenhub#254): a summary that looks like a tab, its
94
   links in a panel below it; where the bar scrolls (narrow screens) they
95
   open inline instead, so the panel is never clipped. */
96
.tab-menu { position: relative; }
97
.tab-menu > summary { list-style: none; cursor: pointer; padding: 10px 12px; color: var(--ink); font-size: 13px; }
98
.tab-menu > summary::-webkit-details-marker { display: none; }
99
.tab-menu > summary::after { content: " \25BE"; color: var(--mute); }
100
.tab-menu > summary.on { border-bottom: 2px solid var(--acc); font-weight: 600; }
101
.tab-menu > summary:hover { background: var(--soft); }
102
.tab-menu-list { position: absolute; top: 100%; left: 0; z-index: 30; min-width: 190px; display: flex; flex-direction: column; padding: 4px 0; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
103
.tabs .tab-menu-list a { padding: 8px 14px; white-space: nowrap; }
104
.tabs .tab-menu-list a[aria-current] { font-weight: 600; box-shadow: inset 2px 0 0 var(--acc); }
105
main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 14px 22px 28px; }
106
main.wide { max-width: none; }
107
footer { background: var(--panel); border-top: 1px solid var(--line); margin-top: 28px; }
108
.foot { max-width: 1180px; margin: 0 auto; padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 22px; }
109
.foot .cols { display: flex; gap: 32px; }
110
.foot .cols a { display: block; font-size: 13px; }
111
.head { border-bottom: 2px solid var(--band); border-image: linear-gradient(90deg, var(--acc), var(--acc-2)) 1; margin: 6px 0 16px; padding-bottom: 6px; }
112
.head h1 { font-size: 30px; font-weight: 300; color: var(--mute); }
113
.head h1 small { display: block; font-size: 13px; color: var(--acc); font-weight: 400; }
114
.strip { padding: 8px 12px; margin: 0 0 12px; border: 1px solid; font-size: 13px; }
115
.strip.warn { border-color: var(--warn); color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent); }
116
.strip.bad { border-color: var(--bad); color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); }
117
.strip a { color: inherit; text-decoration: underline; }
118
.sheet { position: fixed; right: 22px; bottom: 22px; background: var(--panel); border: 1px solid var(--line); padding: 14px 18px; box-shadow: 0 2px 12px rgba(0,0,0,.35); }
119
.sheet td { padding: 2px 8px 2px 0; font-size: 13px; }
120
121
/* buttons, tags, chips */
122
button, a.go, button.go, summary.go { font: inherit; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; background: var(--panel); color: var(--acc); border: 1px solid var(--acc); padding: 5px 10px; cursor: pointer; }
123
button:hover, a.go:hover { background: var(--acc); color: var(--now-ink); text-decoration: none; }
124
button.small, a.go.small { padding: 2px 8px; font-size: 11px; }
125
a.go { display: inline-block; line-height: normal; }
126
/* A form's buttons in one aligned row: a CANCEL link the same height as
127
   the buttons beside it. */
128
form .actions { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; margin: 12px 0 0; }
129
form .actions > *, form.card .actions > button[type=submit] { margin: 0; }
130
form .actions > a.go { display: inline-flex; align-items: center; }
131
/* A drop's form takes the page's width, as the notice above it does. */
132
form.card.drop-form { max-width: none; }
133
/* A page title with an action (+ NEW DROP): title left, action right, a
134
   gap between them; on a phone the action wraps below with room. */
135
.head.with-action { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
136
.head.with-action h1 { margin: 0; }
137
.tag { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--acc); background: var(--soft); padding: 1px 6px; vertical-align: middle; }
138
.tag.bad { color: var(--bad); }
139
.tag.warn { color: var(--warn); }
140
.tag.ok { color: var(--ok); }
141
.warn-text { color: var(--warn); }
142
.tag.head { color: var(--now-ink); background: var(--now); }
143
.chip { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; background: var(--soft); padding: 1px 6px; border: 1px solid var(--line); }
144
.lbl { display: inline-block; font-size: 11px; padding: 1px 7px; margin-right: 4px; border: 1px solid; vertical-align: middle; }
145
.lbl-bm { color: var(--band-ink); background: var(--band); border-color: var(--band); }
146
.lbl-tag { color: var(--acc); border-color: var(--acc); }
147
.sig { display: inline-block; width: 1.2em; text-align: center; font-weight: 600; }
148
.sig-valid { color: var(--ok); }
149
.sig-unsigned { color: var(--mute); }
150
.sig-invalid { color: var(--bad); }
151
.sig-revoked { color: var(--warn); }
152
153
/* lists, tables, panels */
154
ul.plain { list-style: none; margin: 0; padding: 0; }
155
ul.plain li { padding: 2px 0; }
156
ul.rows { list-style: none; margin: 0; padding: 0; }
157
ul.rows li { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); padding: 12px 14px; margin-bottom: 6px; }
158
ul.rows .name { font-size: 16px; }
159
ul.rows p { margin: 4px 0 0; color: var(--mute); }
160
.table { border: 1px solid var(--line); overflow-x: auto; }
161
table { border-collapse: collapse; width: 100%; }
162
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--soft); }
163
td { padding: 7px 10px; background: var(--panel); border-bottom: 1px solid var(--line); vertical-align: top; }
164
td.px { color: var(--acc); }
165
.panel { background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 14px; }
166
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; background: var(--panel); border: 1px solid var(--line); padding: 12px 16px; margin: 0 0 14px; }
167
dl.facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); padding-top: 3px; }
168
dl.facts dd { margin: 0; }
169
code.full { word-break: break-all; }
170
pre.msg { background: var(--panel); border: 1px solid var(--line); padding: 10px 12px; white-space: pre-wrap; font-family: inherit; font-size: 14px; }
171
pre.marked { background: var(--panel); border: 1px solid var(--bad); padding: 10px 12px; overflow-x: auto; }
172
173
/* repository layout */
174
.side-layout { display: grid; grid-template-columns: 1fr 280px; gap: 22px; }
175
.side-layout.rev { grid-template-columns: minmax(0, 1fr) 380px; }
176
/* A proposal's conversation: the page is wide for its diffs, but text and
177
   the sidebar stay together at a readable width, and the description,
178
   comments and forms fill their column. */
179
.side-layout.conversation { max-width: 1240px; }
180
.side-layout.conversation > div > article.doc,
181
.side-layout.conversation > div > form.card,
182
.side-layout.conversation > div > .comment { max-width: none; box-sizing: border-box; }
183
.side h3:first-child { margin-top: 0; }
184
.dash h2 { font-size: 15px; margin: 18px 0 8px; }
185
.dash h2:first-child { margin-top: 0; }
186
.dash .side .bar { justify-content: space-between; }
187
.dash .side .bar h3 { margin: 0; }
188
ul.feed { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--panel); }
189
ul.feed li { padding: 8px 14px; border-top: 1px solid var(--line); }
190
ul.feed li:first-child { border-top: 0; }
191
ul.feed .who { font-weight: 600; }
192
.clone { display: flex; gap: 6px; align-items: center; }
193
.clone code { background: var(--bg); border: 1px solid var(--line); padding: 4px 8px; flex: 1; overflow-x: auto; white-space: nowrap; }
194
.quickstart { background: var(--panel); border: 1px solid var(--line); padding: 16px 20px; }
195
.quickstart h2 { margin-top: 0; }
196
.quickstart h3 { font-size: 14px; margin: 18px 0 6px; }
197
.cmds { display: flex; gap: 6px; align-items: flex-start; }
198
.cmds pre { flex: 1; margin: 0; background: var(--bg); border: 1px solid var(--line); padding: 8px 10px; overflow-x: auto; }
199
.bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
200
.ref { color: var(--acc); }
201
.crumbs a { color: var(--ink); }
202
/* The tree fills its column and never more (#152): a fixed column grid,
203
   long names and change titles cut with an ellipsis, so nothing runs
204
   under the sidebar. */
205
table.tree { width: 100%; table-layout: fixed; }
206
table.tree col.c-g { width: 44px; }
207
table.tree col.c-name { width: 30%; }
208
table.tree col.c-age { width: 8.5em; }
209
table.tree td { padding: 6px 10px; }
210
table.tree td.g { color: var(--acc); text-align: center; }
211
table.tree td.name, table.tree td.last { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
212
table.tree td.last { color: var(--mute); }
213
table.tree td.last a { color: var(--mute); }
214
table.tree td.age { text-align: right; white-space: nowrap; }
215
article.doc { max-width: 60rem; background: var(--panel); border: 1px solid var(--line); padding: 18px 24px; margin-top: 14px; }
216
article.doc h1 { font-size: 26px; font-weight: 500; margin: 0 0 12px; }
217
article.doc h2 { font-size: 20px; margin: 18px 0 8px; }
218
article.doc h3 { text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--ink); }
219
article.doc pre { background: var(--bg); border: 1px solid var(--line); padding: 10px 12px; overflow-x: auto; }
220
article.doc code { background: var(--soft); padding: 0 3px; }
221
article.doc pre code { background: none; padding: 0; }
222
article.doc table { width: auto; }
223
article.doc img { max-width: 100%; }
224
article.doc blockquote { border-left: 3px solid var(--band); margin: 0; padding: 2px 12px; color: var(--mute); }
225
226
/* files and diffs */
227
.filebox { background: var(--panel); border: 1px solid var(--line); }
228
.filebox > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--soft); }
229
.modes a { font-size: 12px; padding: 2px 8px; border: 1px solid var(--line); margin-left: 4px; color: var(--ink); }
230
.modes a.on { border-color: var(--acc); color: var(--acc); }
231
table.code { width: 100%; }
232
table.code td { padding: 0 8px; border: 0; background: transparent; line-height: 1.5; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; }
233
table.code td.n { width: 1%; min-width: 3em; text-align: right; color: var(--mute); user-select: none; cursor: pointer; padding-right: 12px; }
234
table.code td.n:hover { color: var(--acc); }
235
table.code td.t pre { margin: 0; white-space: pre; }
236
table.code tr.hl td { background: color-mix(in srgb, var(--acc) 18%, transparent); }
237
table.code td.blame { width: 1%; white-space: nowrap; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); font-family: "Barlow", sans-serif; font-size: 12px; padding: 0 10px; vertical-align: top; line-height: 1.5; }
238
table.code td.blame .px { font-size: 9px; }
239
table.code td.blame .who { color: var(--ink); }
240
table.diff td.s { width: 1%; user-select: none; color: var(--mute); }
241
table.diff tr.add td { background: var(--add); color: var(--add-ink); }
242
table.diff tr.del td { background: var(--del); color: var(--del-ink); }
243
table.diff tr.gap td { background: var(--soft); color: var(--mute); font-family: "Barlow", sans-serif; font-size: 12px; padding: 2px 8px; }
244
.file-diff { background: var(--panel); border: 1px solid var(--line); margin: 0 0 14px; }
245
.file-diff > header, .file-diff > summary { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--soft); border-bottom: 1px solid var(--line); }
246
.file-diff > summary { cursor: pointer; list-style: none; }
247
.file-diff > summary::-webkit-details-marker { display: none; }
248
.file-diff > summary::before { content: "▾"; color: var(--mute); width: 1em; }
249
.file-diff:not([open]) > summary::before { content: "▸"; }
250
.file-diff:not([open]) > summary { border-bottom: 0; }
251
.diff-bar { display: flex; gap: 16px; align-items: center; margin: 0 0 10px; }
252
.diff-bar .modes a { padding: 3px 10px; border: 1px solid var(--line); color: var(--mute); }
253
.diff-bar .modes a.on { color: var(--ink); border-color: var(--acc); }
254
table.diff .wx { border-radius: 2px; }
255
table.diff tr.add .wx, table.diff td.add .wx { background: color-mix(in srgb, var(--add-ink) 28%, transparent); }
256
table.diff tr.del .wx, table.diff td.del .wx { background: color-mix(in srgb, var(--del-ink) 28%, transparent); }
257
table.diff.split { table-layout: fixed; }
258
table.diff.split col.n { width: 3.5em; }
259
table.diff.split td.t { overflow-x: auto; }
260
table.diff.split td.t pre { white-space: pre-wrap; word-break: break-word; }
261
table.diff.split td.add { background: var(--add); color: var(--add-ink); }
262
table.diff.split td.del { background: var(--del); color: var(--del-ink); }
263
table.diff.split td.none { background: var(--soft); }
264
table.diff.split td.t.mid { border-left: 1px solid var(--line); }
265
.file-diff .counts { margin-left: auto; font-family: ui-monospace, monospace; font-size: 12px; }
266
.counts .add { color: var(--add-ink); }
267
.counts .del { color: var(--del-ink); }
268
.kind { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 1px 6px; border: 1px solid var(--line); color: var(--mute); }
269
.kind-added { color: var(--ok); border-color: var(--ok); }
270
.kind-removed { color: var(--bad); border-color: var(--bad); }
271
.kind-renamed, .kind-modified { color: var(--acc); border-color: var(--acc); }
272
nav.files { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 12px; }
273
274
/* history */
275
.hist { background: var(--panel); border: 1px solid var(--line); }
276
.hrow { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
277
.hrow:last-child { border-bottom: 0; }
278
.hrow svg.lanes { flex: 0 0 auto; display: block; }
279
.lane { stroke: var(--band); stroke-width: 2; fill: none; }
280
.lane.none { stroke: none; }
281
.lane.dashed { stroke-dasharray: 3 3; stroke: var(--dim); }
282
.node { fill: var(--acc-2); stroke: var(--acc); stroke-width: 1.5; }
283
.node.head { fill: var(--now); stroke: var(--ink); stroke-width: 1.5; }
284
.node.res { fill: var(--ok); }
285
/* Swimlanes (hub spec §6.7): cards on lanes, dependency edges between them. */
286
.lanes-board { border: 1px solid var(--line); background: var(--panel); padding: 6px; }
287
.lanes-board rect.node { fill: var(--soft); stroke: var(--acc); }
288
.lanes-board rect.node.head { stroke: var(--now); stroke-width: 2; }
289
.lanes-board a:hover rect.node { fill: var(--line); }
290
.lanes-board text { fill: var(--ink); font-size: 11px; }
291
.chg { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 12px; flex: 1; min-width: 0; }
292
.chg + .chg, .chg:only-child { border-bottom: 1px solid var(--line); }
293
.hrow .chg { border-bottom: 0; }
294
.chg .title { color: var(--ink); font-weight: 500; }
295
/* Nothing unbroken in a change row may push it wider than its card (#216). */
296
.chg-main { min-width: 0; overflow-wrap: anywhere; }
297
.chg .meta { color: var(--mute); font-size: 12px; margin-top: 2px; }
298
.chg-side { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
299
.chg .hash { font-size: 9px; }
300
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
301
302
@media (max-width: 760px) {
303
  header { flex-wrap: wrap; }
304
  .side-layout, .side-layout.rev { grid-template-columns: 1fr; }
305
  .foot { grid-template-columns: 1fr; }
306
  main { padding: 10px 14px 20px; }
307
  .band { padding: 0 8px; overflow-x: auto; }
308
  .tabs-in { padding: 0 8px; }
309
}
310
311
/* syntax (syntect scopes as classes prefixed sy-, so no scope name can collide with the page's own classes) */
312
.sy-source .sy-keyword, .sy-source .sy-storage { color: var(--sy-kw); }
313
.sy-source .sy-string { color: var(--sy-str); }
314
.sy-source .sy-constant.sy-numeric, .sy-source .sy-constant.sy-language { color: var(--sy-num); }
315
.sy-source .sy-constant { color: var(--sy-const); }
316
.sy-source .sy-comment { color: var(--sy-cmt); font-style: italic; }
317
.sy-source .sy-entity.sy-name.sy-function, .sy-source .sy-support.sy-function, .sy-source .sy-meta.sy-function-call .sy-variable.sy-function { color: var(--sy-fn); }
318
.sy-source .sy-entity.sy-name.sy-type, .sy-source .sy-storage.sy-type, .sy-source .sy-support.sy-type, .sy-source .sy-entity.sy-name.sy-struct, .sy-source .sy-entity.sy-name.sy-enum, .sy-source .sy-entity.sy-name.sy-class { color: var(--sy-ty); }
319
.sy-source .sy-variable { color: var(--sy-var); }
320
.sy-source .sy-entity.sy-name.sy-tag { color: var(--sy-kw); }
321
.sy-source .sy-entity.sy-other.sy-attribute-name { color: var(--sy-const); }
322
.sy-source .sy-markup.sy-heading { color: var(--sy-ty); font-weight: 600; }
323
.sy-source .sy-markup.sy-bold { font-weight: 600; }
324
.sy-source .sy-markup.sy-italic { font-style: italic; }
325
.sy-source .sy-markup.sy-raw { color: var(--sy-str); }
326
.sy-source .sy-markup.sy-underline.sy-link { color: var(--sy-fn); }
327
328
/* forms */
329
form.card { max-width: 460px; background: var(--panel); border: 1px solid var(--line); padding: 18px 20px; margin: 0 0 16px; }
330
form.card.wide { max-width: 720px; }
331
form.card label, .field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin: 10px 0 4px; }
332
form.card input[type=text], form.card input[type=password], form.card input[type=email], form.card input[type=search], form.card input[type=number], form.card textarea, form.card select,
333
.field input, .field select, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--ink); padding: 7px 10px; font: inherit; }
334
form.card input:focus, form.card textarea:focus, form.card select:focus { outline: 2px solid var(--band); outline-offset: 0; }
335
form.card button[type=submit], form.card .primary { background: var(--acc); color: var(--now-ink); border: 0; margin-top: 12px; }
336
form.card .row { display: flex; gap: 10px; align-items: end; }
337
form.card .row > * { flex: 1; }
338
form.card .choice { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0; }
339
form.card .choice label { display: inline-flex; gap: 6px; align-items: center; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); margin: 0; }
340
.note { color: var(--ok); }
341
.error { color: var(--bad); }
342
details.danger { border: 1px solid var(--bad); padding: 10px 14px; margin-top: 18px; }
343
.panel.danger-zone { border-color: var(--bad); }
344
.danger-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
345
.danger-row:first-of-type { border-top: 0; }
346
.danger-row > div { flex: 1; min-width: 0; }
347
.danger-row p { margin: 2px 0 0; }
348
.danger-row details.danger-act { flex: 0 0 auto; max-width: 420px; }
349
.danger-row details.danger-act summary { list-style: none; display: inline-block; cursor: pointer; border: 1px solid var(--bad); color: var(--bad); padding: 6px 12px; font-weight: 600; }
350
.danger-row details.danger-act summary::-webkit-details-marker { display: none; }
351
.danger-row details.danger-act[open] { flex: 1; }
352
.danger-row details.danger-act form.card { margin-top: 8px; }
353
details.danger summary { color: var(--bad); cursor: pointer; font-weight: 600; }
354
.secret { font-family: ui-monospace, monospace; background: var(--bg); border: 1px solid var(--acc); padding: 8px 10px; word-break: break-all; }
355
.qr { background: #fff; display: inline-block; padding: 8px; }
356
ul.codes { columns: 2; font-family: ui-monospace, monospace; }
357
table.small td, table.small th { padding: 5px 8px; font-size: 13px; }
358
form.tiny { display: inline; margin: 0; }
359
form.tiny button { padding: 1px 6px; font-size: 10px; }
360
.flow-job > form.job-rerun { display: block; margin: 0 0 8px; }
361
/* The runners table's Serves cell (#309): the scope above its input, so the inputs line up whatever the scope's length. */
362
.runner-serves form.tiny { display: flex; gap: 4px; margin-top: 4px; white-space: nowrap; }
363
364
/* proposals */
365
.comment { background: var(--panel); border: 1px solid var(--line); padding: 10px 14px; margin: 0 0 10px; }
366
.comment .who { font-weight: 600; }
367
.comment .body { margin-top: 6px; }
368
.comment .body p:last-child { margin: 0; }
369
.comment.resolved { opacity: .6; }
370
.comment.review-approve { border-color: var(--ok); }
371
.comment.review-changes { border-color: var(--bad); }
372
td.thread { background: var(--soft); padding: 8px 12px; }
373
td.thread .comment { margin: 4px 0; font-family: "Barlow", sans-serif; font-size: 14px; }
374
details.linecomment { display: inline; float: right; }
375
details.linecomment summary { list-style: none; cursor: pointer; color: var(--mute); font-size: 12px; padding: 0 4px; }
376
details.linecomment summary:hover { color: var(--acc); }
377
details.linecomment form { font-family: "Barlow", sans-serif; background: var(--panel); border: 1px solid var(--acc); padding: 8px; margin: 4px 0; }
378
details.linecomment textarea { width: 100%; font: inherit; background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
379
380
/* issues and notifications */
381
.label { display: inline-block; font-size: 11px; padding: 1px 7px; margin-right: 4px; border: 1px solid var(--c, var(--acc)); color: var(--c, var(--acc)); vertical-align: middle; }
382
/* An issue's events and its references by day: indented lines, without the
383
   proposal timeline's rule (.timeline::before drew one through the chips). */
384
.tl-event { margin: 0 0 8px 14px; }
385
.refs-day summary { cursor: pointer; }
386
.board-filter { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 10px; }
387
.board-filter input[type=search] { min-width: 0; flex: 1 1 14em; max-width: 24em; }
388
.col-hidden { margin: 0 0 6px; }
389
.col-archives { margin: 0 0 6px; }
390
.board-archived-link { margin-left: auto; }
391
.col-archive { margin-top: 8px; }
392
/* A board's iteration (#343): its name and days beside its burn-up. */
393
.iteration { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 0 0 10px; padding: 8px 10px; background: var(--panel); border: 1px solid var(--line); }
394
.iteration h2 { font-size: 14px; margin: 0 0 2px; }
395
.iteration p { margin: 0 0 4px; }
396
.iteration > div { min-width: 0; flex: 1 1 16em; }
397
.iteration .burnup { flex: 0 1 280px; width: 280px; max-width: 100%; height: 64px; }
398
.burnup line { stroke: var(--line); stroke-width: 1; }
399
.burnup polyline { fill: none; stroke: var(--acc); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
400
.iteration-new form { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; max-width: 26em; }
401
.iteration-new .inline-fields { display: flex; flex-wrap: wrap; gap: 8px; }
402
.iteration-past ul { margin: 6px 0 0; padding-left: 18px; }
403
.col-archive .inline-fields { align-items: center; }
404
.col-archive input[type=number] { width: 6em; margin: 0; }
405
.refs-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; max-width: 100%; }
406
.refs-chips .chip { overflow-wrap: anywhere; }
407
details.inline-edit { display: inline; margin-left: 8px; }
408
details.inline-edit summary { cursor: pointer; color: var(--acc); }
409
details.inline-edit input, details.inline-edit textarea { width: 100%; font: inherit; background: var(--bg); color: var(--ink); border: 1px solid var(--line); margin: 4px 0; }
410
.tiny-form input[type=text], .tiny-form select { background: var(--bg); border: 1px solid var(--line); color: var(--ink); padding: 3px 6px; font: inherit; font-size: 13px; }
411
header nav .bell { color: var(--ink); position: relative; font-size: 16px; padding: 0 6px; }
412
header nav .bell .count { position: absolute; top: -6px; right: -4px; background: var(--acc); color: var(--now-ink); font-size: 10px; font-weight: 600; padding: 0 5px; border-radius: 9px; }
413
ul.rows li.unread { border-color: var(--acc); }
414
mark { background: color-mix(in srgb, var(--acc) 30%, transparent); color: inherit; }
415
416
/* editor */
417
form.editor { max-width: none; }
418
form.editor textarea.code { width: 100%; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); padding: 8px; }
419
.cm-host { border: 1px solid var(--line); margin: 8px 0; min-height: 360px; max-height: 70vh; overflow: auto; font-size: 13px; }
420
.cm-host .cm-editor { min-height: 360px; }
421
button.danger-btn { color: var(--bad); border-color: var(--bad); }
422
button.primary-btn { background: var(--acc); color: var(--now-ink); }
423
button.primary-btn:hover { filter: brightness(1.1); }
424
button:disabled { opacity: .45; cursor: not-allowed; }
425
426
/* EasyMDE in the hub's colours */
427
.EasyMDEContainer .CodeMirror { background: var(--bg); color: var(--ink); border-color: var(--line); }
428
.EasyMDEContainer .CodeMirror-cursor { border-color: var(--acc); }
429
.editor-toolbar { border-color: var(--line); background: var(--soft); opacity: 1; }
430
.editor-toolbar button.mde-btn { color: var(--ink); border: 0; background: transparent; font-weight: 600; font-size: 12px; text-transform: none; letter-spacing: 0; padding: 2px 6px; width: auto; }
431
.editor-toolbar button.mde-btn:hover, .editor-toolbar button.active { background: var(--panel); color: var(--acc); }
432
.editor-preview, .editor-preview-side { background: var(--panel); color: var(--ink); }
433
434
/* code search */
435
.inline-find { flex: 0 1 220px; }
436
.hits .hit { margin: 0; padding: 4px 8px; border-bottom: 1px solid var(--line); background: var(--panel); font-size: 13px; overflow-x: auto; white-space: nowrap; }
437
.hits .hit code { background: none; }
438
439
.scopes label { display: block; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); margin: 4px 0; }
440
441
/* avatars and owner pages */
442
img.avatar { display: inline-block; vertical-align: middle; border: 1px solid var(--line); object-fit: cover; }
443
img.avatar.xs { width: 18px; height: 18px; }
444
img.avatar.sm { width: 24px; height: 24px; }
445
img.avatar.xl { width: 100%; max-width: 240px; height: auto; aspect-ratio: 1; }
446
.profile .who-card h1.display { font-size: 24px; font-weight: 600; margin: 12px 0 0; }
447
.profile .who-card .handle { font-size: 18px; color: var(--mute); margin: 2px 0 10px; }
448
.profile .who-card .bio { margin: 0 0 10px; }
449
.profile .who-card .facts-list li { padding: 2px 0; }
450
.profile .who-card .facts-list li.social .icon { vertical-align: -2px; }
451
.profile h2 { font-size: 15px; margin: 0 0 8px; }
452
.profile h2 ~ h2 { margin-top: 18px; }
453
.profile .keys li { margin-bottom: 6px; }
454
.profile .side-layout, .side-layout.profile { grid-template-columns: 260px 1fr; }
455
@media (max-width: 760px) { .side-layout.profile { grid-template-columns: 1fr; } img.avatar.xl { max-width: 120px; } }
456
457
/* topics, stars, explore */
458
.topics { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
459
.topic { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 10px; background: color-mix(in srgb, var(--acc) 14%, transparent); color: var(--acc); }
460
.topic:hover { text-decoration: none; background: color-mix(in srgb, var(--acc) 24%, transparent); }
461
.explore-bar input[type=search] { flex: 1 1 240px; }
462
.counts-line span { margin-right: 2px; }
463
.count-chip { display: inline-block; min-width: 1.6em; padding: 0 6px; margin-left: 4px; border-radius: 9px; background: var(--soft); color: var(--mute); font-size: 11px; text-align: center; }
464
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 14px 0; }
465
466
/* repository page: the clone command sits at the right of the top bar, the README spans the column */
467
.top-clone { margin-left: auto; flex: 0 1 380px; min-width: 200px; }
468
.top-clone code { font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
469
.latest-line { margin: -4px 0 8px; }
470
article.doc.readme { max-width: none; }
471
472
/* settings pages: section headings on the left, every section the same width on the right */
473
.sectioned { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: start; }
474
.section-nav { position: sticky; top: 14px; display: flex; flex-direction: column; gap: 2px; }
475
.section-nav a { padding: 6px 12px; border-left: 2px solid var(--line); color: var(--mute); font-size: 14px; }
476
.section-nav a:hover, .section-nav a.on { border-left-color: var(--acc); color: var(--ink); text-decoration: none; }
477
.sections > form.card, .sections > form.card.wide, .sections > .panel, .sections > details { max-width: none; width: 100%; box-sizing: border-box; scroll-margin-top: 14px; }
478
.sections .panel form.card { max-width: 720px; }
479
.sections > details > form.card { max-width: none; }
480
/* A repository's settings (#278): grouped pages in a sidebar, one page beside it. */
481
/* The admin overview (oxygenhub#288): the site's numbers, then a card per
482
   group of pages. */
483
.admin-counts { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; }
484
.admin-counts strong { font-size: 18px; margin-right: 4px; }
485
.admin-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 16px; }
486
.settings-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
487
.settings-nav { position: sticky; top: 14px; display: flex; flex-direction: column; gap: 14px; }
488
.settings-group h2 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin: 0 0 4px; padding: 0 12px; }
489
.settings-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
490
.settings-group a { display: block; padding: 5px 12px; border-left: 2px solid var(--line); color: var(--mute); font-size: 14px; }
491
.settings-group a:hover { border-left-color: var(--dim); color: var(--ink); text-decoration: none; }
492
.settings-group a.on { border-left-color: var(--acc); color: var(--ink); background: var(--soft); }
493
@media (max-width: 720px) {
494
  .settings-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
495
  .settings-nav { position: static; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
496
  .settings-group { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: baseline; gap: 10px; }
497
  .settings-group h2 { padding: 0; margin: 0; }
498
  .settings-group ul { flex-direction: row; flex-wrap: wrap; gap: 4px; min-width: 0; }
499
  .settings-group a { border-left: 0; border: 1px solid var(--line); padding: 3px 8px; font-size: 13px; }
500
  .settings-group a.on { border-color: var(--acc); }
501
}
502
@media (max-width: 760px) {
503
  .sectioned { grid-template-columns: 1fr; gap: 12px; }
504
  .section-nav { position: static; flex-direction: row; flex-wrap: wrap; }
505
  .section-nav a { border-left: 0; border-bottom: 2px solid var(--line); }
506
}
507
508
/* File view: tree sidebar, line bar, blame age (hub spec §6.6). */
509
.file-layout { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: 16px; align-items: start; }
510
.file-side { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; font-size: 13px; background: var(--panel); border: 1px solid var(--line); padding: 8px 0; }
511
.file-side .side-root { display: block; padding: 2px 12px 6px; font-weight: 600; }
512
.file-side ul { list-style: none; margin: 0; padding: 0; }
513
.file-side li a { display: block; padding: 2px 12px 2px calc(12px + var(--d, 0) * 14px); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
514
.file-side li a:hover { background: var(--soft); text-decoration: none; }
515
.file-side li.here a { background: color-mix(in srgb, var(--acc) 16%, transparent); font-weight: 600; box-shadow: inset 3px 0 0 var(--acc); }
516
.file-side .glyph { color: var(--mute); font-size: 10px; }
517
.file-main { min-width: 0; overflow-x: auto; }
518
.linebar { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--acc) 8%, var(--panel)); }
519
.linebar[hidden] { display: none; }
520
.linebar [data-linebar-label] { margin-right: auto; }
521
table.code td.blame { box-shadow: inset 3px 0 0 color-mix(in srgb, var(--acc) calc(var(--age, 0) * 10%), transparent); }
522
table.code td.blame.age-0 { --age: 1; } table.code td.blame.age-1 { --age: 2; } table.code td.blame.age-2 { --age: 3; }
523
table.code td.blame.age-3 { --age: 4; } table.code td.blame.age-4 { --age: 5; } table.code td.blame.age-5 { --age: 6; }
524
table.code td.blame.age-6 { --age: 7; } table.code td.blame.age-7 { --age: 8; } table.code td.blame.age-8 { --age: 9; }
525
table.code td.blame.age-9 { --age: 10; }
526
table.code td.blame .before { color: var(--mute); margin-left: 4px; }
527
table.code td.blame .before:hover { color: var(--acc); text-decoration: none; }
528
@media (max-width: 900px) {
529
  .file-layout { grid-template-columns: minmax(0, 1fr); }
530
  .file-side { display: none; }
531
}
532
533
/* OxygenFlow (hub spec §13.2): runs, the job graph and logs. Status is
534
   carried by a glyph as well as colour. */
535
.flow-glyph { display: inline-block; width: 1.2em; text-align: center; font-weight: 700; }
536
.flow-glyph.st-passed, .node.st-passed .g { color: var(--ok); fill: var(--ok); }
537
.flow-glyph.st-failed, .flow-glyph.st-error, .node.st-failed .g, .node.st-error .g { color: var(--bad); fill: var(--bad); }
538
.flow-glyph.st-running, .node.st-running .g { color: var(--acc); fill: var(--acc); }
539
.flow-glyph.st-queued, .flow-glyph.st-skipped, .flow-glyph.st-cancelled, .node.st-queued .g, .node.st-skipped .g, .node.st-cancelled .g { color: var(--mute); fill: var(--mute); }
540
.flow-glyph.st-running, .node.st-running .g { animation: flow-pulse 1.2s ease-in-out infinite; }
541
@keyframes flow-pulse { 50% { opacity: .35; } }
542
@media (prefers-reduced-motion: reduce) { .flow-glyph.st-running, .node.st-running .g { animation: none; } }
543
.flow-dots .flow-glyph { width: 1em; }
544
.flow-graph-box { overflow-x: auto; padding: 12px; }
545
.flow-graph { display: block; max-width: none; font-family: "Barlow", sans-serif; }
546
.flow-graph .edge { fill: none; stroke: var(--line); stroke-width: 2; }
547
.flow-graph .edge.st-passed { stroke: color-mix(in srgb, var(--ok) 60%, var(--line)); }
548
.flow-graph .edge.st-failed, .flow-graph .edge.st-error { stroke: color-mix(in srgb, var(--bad) 60%, var(--line)); stroke-dasharray: 4 4; }
549
.flow-graph .node rect { fill: var(--panel); stroke: var(--line); stroke-width: 1.5; }
550
.flow-graph .node:hover rect, .flow-graph .node:focus rect { stroke: var(--acc); }
551
.flow-graph .node.st-passed rect { stroke: var(--ok); }
552
.flow-graph .node.st-failed rect, .flow-graph .node.st-error rect { stroke: var(--bad); fill: color-mix(in srgb, var(--bad) 8%, var(--panel)); }
553
.flow-graph .node.st-running rect { stroke: var(--acc); fill: color-mix(in srgb, var(--acc) 8%, var(--panel)); }
554
.flow-graph .node.st-skipped rect, .flow-graph .node.st-cancelled rect { stroke-dasharray: 4 3; }
555
.flow-graph .node .g { font-size: 18px; }
556
.flow-graph text { font-family: "Barlow", sans-serif; stroke: none; }
557
.flow-graph .node .name { fill: var(--ink); font-size: 14px; font-weight: 600; }
558
.flow-graph .node .meta { fill: var(--mute); font-size: 11.5px; font-weight: 400; }
559
details.flow-job { padding: 0; margin-top: 10px; }
560
details.flow-job > summary { padding: 10px 12px; cursor: pointer; list-style-position: inside; }
561
details.flow-job .pad { padding: 0 12px 10px; margin: 0; }
562
pre.flow-log { margin: 0; padding: 8px 0; max-height: 70vh; overflow: auto; border-top: 1px solid var(--line); background: var(--soft); font-size: 12.5px; line-height: 1.5; }
563
pre.flow-log:empty { display: none; }
564
ul.flow-artifacts { list-style: none; margin: 0; padding: 6px 12px; border-top: 1px solid var(--line); }
565
ul.flow-artifacts li { padding: 2px 0; overflow-wrap: anywhere; }
566
ul.flow-artifacts select { font-size: 11px; }
567
.flow-tests { padding: 6px 12px; border-top: 1px solid var(--line); }
568
.flow-tests > p { margin: 0 0 4px; }
569
.flow-tests .tests-count.ok { color: var(--ok); }
570
.flow-tests .tests-count.bad, .flow-tests .bad { color: var(--bad); font-weight: 600; }
571
.tests-failure { border-left: 3px solid var(--bad); margin: 4px 0; padding: 2px 8px; }
572
.tests-failure summary { cursor: pointer; overflow-wrap: anywhere; }
573
.tests-failure pre.flow-log { padding: 6px 8px; margin: 4px 0; white-space: pre-wrap; word-break: break-word; max-height: 24em; overflow: auto; }
574
pre.flow-log .ln { display: block; padding: 0 12px; white-space: pre-wrap; word-break: break-word; }
575
pre.flow-log .t { display: inline-block; min-width: 5.5em; color: var(--mute); user-select: none; }
576
pre.flow-log .s-err { color: color-mix(in srgb, var(--bad) 75%, var(--ink)); }
577
pre.flow-log .s-flow, pre.flow-log .s-console { color: var(--mute); font-style: italic; }
578
table.flow-runs td.st { width: 1.5em; }
579
580
/* Compare pickers (hub spec §6.3). */
581
.compare-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
582
.compare-bar label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mute); margin: 0; }
583
.compare-bar input { width: 16em; margin: 0; }
584
.compare-bar .swap { font-size: 18px; padding: 0 4px; }
585
.compare-bar .swap:hover { text-decoration: none; color: var(--ink); }
586
.compare-bar button { margin: 0; }
587
588
/* Help (hub spec §6.3). */
589
.help section.panel { padding: 16px 20px; scroll-margin-top: 14px; }
590
.help section.panel h2 { margin-top: 0; }
591
.help ol, .help ul { padding-left: 1.3em; }
592
.help li { margin: 4px 0; }
593
table.glossary td:first-child { white-space: nowrap; color: var(--mute); }
594
table.glossary td:nth-child(2) { white-space: nowrap; }
595
596
button.linkish { background: none; border: 0; padding: 0; margin: 0; color: var(--acc); font: inherit; cursor: pointer; text-transform: none; letter-spacing: normal; }
597
button.linkish:hover { text-decoration: underline; }
598
599
/* Inbox filters (hub spec §10). */
600
.inbox-nav h3 { margin: 14px 0 4px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
601
.inbox .rows.threads .tag.dim { opacity: .7; }
602
603
/* Picture upload (hub spec §6.3). */
604
.picture-row { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
605
.picture-row img.avatar.xl { width: 96px; height: 96px; }
606
.picture-row > div { flex: 1; min-width: 220px; }
607
608
/* Accessibility and narrow screens (hub spec §6.13). */
609
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
610
.band a:focus-visible, .tabs a:focus-visible { outline-offset: -2px; }
611
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 14px; background: var(--acc); color: var(--bg); font-weight: 600; }
612
.skip:focus { top: 8px; }
613
main:focus { outline: none; }
614
@media (max-width: 760px) {
615
  .tabs-in { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
616
  .side-layout > * { min-width: 0; }
617
  /* No room for the last change: its column closes to nothing (the cells
618
     stay, so the age keeps its own column). */
619
  table.tree col.c-name { width: auto; }
620
  table.tree col.c-last { width: 0; }
621
  table.tree col.c-age { width: 7.5em; }
622
  table.tree td.last { padding: 0; font-size: 0; }
623
  article.doc, .panel { overflow-x: auto; }
624
  article.doc pre, article.doc table { max-width: 100%; overflow-x: auto; }
625
  .tabs-in > * { flex-shrink: 0; }
626
  .tab-menu { position: static; }
627
  .tab-menu > summary { display: inline-block; }
628
  .tab-menu-list { position: static; display: inline-flex; flex-direction: row; min-width: 0; padding: 0; border: 0; box-shadow: none; background: var(--soft); }
629
  .band { overflow-x: auto; white-space: nowrap; }
630
  main table.list, main table.flow-runs { display: block; overflow-x: auto; }
631
  .sectioned { grid-template-columns: 1fr; }
632
  .section-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
633
  header .find { display: none; }
634
}
635
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
636
637
/* Projects (hub spec §8.2). */
638
.board { display: flex; gap: 12px; align-items: flex-start; overflow-x: auto; padding-bottom: 8px; }
639
.board-col { flex: 0 0 290px; background: var(--soft); border: 1px solid var(--line); padding: 8px; }
640
.board-col > header { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
641
.board-col h2 { font-size: 14px; margin: 2px 0 8px; }
642
.board-col ul.cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-height: 12px; }
643
.card-item { background: var(--panel); border: 1px solid var(--line); padding: 8px 10px; }
644
.card-item.note { border-left: 3px solid var(--warn); }
645
.card-item p { margin: 4px 0 0; }
646
.card-item .card-labels { display: flex; flex-wrap: wrap; gap: 4px; }
647
.card-item .card-labels .label { margin-right: 0; text-decoration: none; }
648
.card-item .card-labels .label:hover, .card-item .card-labels .label:focus-visible { background: color-mix(in srgb, var(--c, var(--acc)) 14%, transparent); }
649
.card-item .card-who { color: inherit; }
650
.card-item .card-actions { margin-top: 6px; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
651
.card-item .card-actions select { width: auto; margin: 0; padding: 1px 4px; font-size: 12px; }
652
.board .add-card { margin-top: 8px; }
653
.board .add-card form { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
654
.board .inline-fields { display: flex; gap: 4px; }
655
.board .inline-fields select { width: 40%; }
656
.board .add-col form { display: flex; flex-direction: column; gap: 6px; }
657
.state-open { color: var(--ok); } .state-closed, .state-landed { color: var(--acc); }
658
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
659
.card-item.note > p { color: var(--ink); }
660
661
/* Webhooks (hub spec §12.2): long URLs wrap inside the panel. */
662
ul.hooks { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
663
li.hook { border: 1px solid var(--line); background: var(--soft); padding: 8px 12px; min-width: 0; }
664
.hook-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
665
code.hook-url { overflow-wrap: anywhere; word-break: break-all; }
666
li.hook p { margin: 4px 0; }
667
li.hook .hook-edit { margin-top: 4px; }
668
669
/* Repository overview: clone popover, contributors, languages, visibility. */
670
.clone-pop { position: relative; }
671
.clone-pop > summary { list-style: none; cursor: pointer; }
672
.clone-pop > summary::-webkit-details-marker { display: none; }
673
.clone-pop[open] > summary { background: var(--soft); }
674
.clone-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: min(440px, 88vw); background: var(--panel); border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(0,0,0,.25); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
675
.clone-panel .clone input { flex: 1; min-width: 0; margin: 0; font-family: var(--mono, monospace); font-size: 12px; }
676
.clone-panel p { margin: 0; overflow-wrap: anywhere; }
677
.clone-panel .download { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; font-weight: 600; text-decoration: none; }
678
.clone-panel .download:hover { text-decoration: underline; }
679
.bar .inline-find { flex: 1 1 200px; }
680
ul.contributors li { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 4px 0; }
681
ul.contributors img.avatar.sm { width: 20px; height: 20px; vertical-align: middle; }
682
ul.contributors ul.via-list { flex-basis: 100%; margin: 0 0 0 26px; padding: 0; }
683
ul.contributors ul.via-list li { margin: 2px 0; }
684
ul.contributors ul.via-list img.avatar.sm { width: 16px; height: 16px; }
685
.avatar-none { display: inline-block; width: 20px; text-align: center; color: var(--mute); }
686
.lang-bar { display: flex; height: 8px; overflow: hidden; background: var(--soft); margin: 6px 0 8px; }
687
.lang-bar > span { display: block; height: 100%; }
688
.lang-bar > span + span { margin-left: 1px; }
689
ul.langs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
690
ul.langs li { margin: 0; }
691
.lang-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; }
692
.vis { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 1px 8px; border: 1px solid var(--line); border-radius: 10px; margin-left: 8px; vertical-align: middle; }
693
.vis-public { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
694
.vis-internal { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
695
.vis-private { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
696
summary.go { display: inline-block; user-select: none; }
697
.clone-pop > summary.go:hover { background: var(--soft); }
698
699
/* Release trust (hub spec §9.1) */
700
.audit ul.checks li { padding: 3px 0; }
701
.audit ul.checks li .glyph { display: inline-block; width: 1.2em; text-align: center; font-weight: 700; }
702
.audit ul.checks li.pass .glyph { color: var(--ok); }
703
.audit ul.checks li.warn .glyph { color: var(--warn); }
704
.audit ul.checks li.fail .glyph { color: var(--bad); }
705
.audit-fail { border-left: 3px solid var(--bad); }
706
.audit-warn { border-left: 3px solid var(--warn); }
707
.audit-pass { border-left: 3px solid var(--ok); }
708
.trust-graph-wrap { overflow-x: auto; }
709
svg.trust-graph { max-width: 100%; height: auto; display: block; }
710
svg.trust-graph .node .badge { fill: var(--bg); stroke: none; }
711
svg.trust-graph .node.pass .badge { fill: color-mix(in srgb, var(--ok) 15%, var(--panel)); }
712
svg.trust-graph .node.warn .badge { fill: color-mix(in srgb, var(--warn) 18%, var(--panel)); }
713
svg.trust-graph .node.fail .badge { fill: color-mix(in srgb, var(--bad) 15%, var(--panel)); }
714
svg.trust-graph .node .lock { fill: var(--ok); stroke: none; }
715
svg.trust-graph .node .shackle { fill: none; stroke: var(--ok); stroke-width: 1.6; }
716
svg.trust-graph .node.warn .mark { fill: var(--warn); font-weight: 700; font-size: 13px; }
717
svg.trust-graph .node.fail .mark { fill: var(--bad); font-weight: 700; font-size: 12px; }
718
svg.trust-graph text.t { font-weight: 600; }
719
/* Trust badges: the page's summary, and the assets' headings. */
720
.trust-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
721
.tb { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; }
722
.tb-sm { padding: 1px 8px; font-size: 12px; vertical-align: middle; }
723
.tb-mark { display: inline-flex; font-weight: 700; }
724
.tb-pass { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); background: color-mix(in srgb, var(--ok) 8%, transparent); }
725
.tb-warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); background: color-mix(in srgb, var(--warn) 8%, transparent); }
726
.tb-fail { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); background: color-mix(in srgb, var(--bad) 8%, transparent); }
727
svg.trust-graph .edge { fill: none; stroke: var(--line); stroke-width: 1.5; }
728
svg.trust-graph .edge.dashed { stroke-dasharray: 5 4; stroke: var(--warn); }
729
svg.trust-graph .node rect { fill: var(--panel); stroke: var(--line); }
730
svg.trust-graph .node.pass rect { stroke: var(--ok); }
731
svg.trust-graph .node.warn rect { stroke: var(--warn); }
732
svg.trust-graph .node.fail rect { stroke: var(--bad); }
733
svg.trust-graph text { font-size: 11px; fill: var(--ink); }
734
svg.trust-graph text.s { font-size: 10px; fill: var(--mute); }
735
/* Runners (hub spec §13.2) */
736
.runner-status { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 1px 6px; border: 1px solid var(--line); }
737
.runner-status.st-online { color: var(--ok); border-color: var(--ok); }
738
.runner-status.st-offline { color: var(--mute); }
739
.runner-status.st-draining { color: var(--warn); border-color: var(--warn); }
740
.runner-status.st-disabled { color: var(--bad); border-color: var(--bad); }
741
742
/* The chain of work: issue → proposal → bookmark (hub spec §8). Issues and
743
   proposals share one number space, so every number says which it is. */
744
.kind-issue::before { content: "◇ "; color: var(--warn); }
745
.kind-proposal::before { content: "⇄ "; color: var(--acc); }
746
p.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 14px; padding: 8px 12px; border: 1px solid var(--line); border-left: 3px solid var(--acc); background: var(--panel); font-size: 13px; }
747
.chain-link { display: inline-flex; align-items: baseline; gap: 6px; padding: 2px 8px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); text-decoration: none; }
748
a.chain-link:hover { border-color: var(--acc); text-decoration: none; }
749
.chain-kind { font-weight: 600; }
750
.chain-state { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
751
.st-open .chain-state, .chain-state.st-open { color: var(--ok); }
752
.st-landed .chain-state, .chain-state.st-landed { color: var(--acc); }
753
.st-closed .chain-state { color: var(--mute); }
754
.chain-arrow { color: var(--acc); font-weight: 700; }
755
.chain-and { color: var(--mute); }
756
757
/* A proposal's conversation as a timeline (hub spec §7): avatars on a rail,
758
   each entry a card with its author and time, events as quiet lines. */
759
.timeline { position: relative; min-width: 0; }
760
.timeline::before { content: ""; position: absolute; left: 17px; top: 12px; bottom: 12px; border-left: 2px solid var(--line); z-index: 0; }
761
.tl-item { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; margin: 0 0 18px; z-index: 1; }
762
.tl-avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg); background: var(--panel); }
763
.tl-card { min-width: 0; background: var(--panel); border: 1px solid var(--line); }
764
.tl-head { padding: 8px 14px; border-bottom: 1px solid var(--line); background: var(--soft); font-size: 13px; color: var(--mute); }
765
.tl-head strong { color: var(--ink); }
766
.tl-head .tl-edit { float: right; }
767
.tl-card article.doc.tl-doc { max-width: none; margin: 0; border: 0; }
768
.tl-text { padding: 10px 14px; overflow-wrap: anywhere; }
769
.tl-empty { padding: 10px 14px; margin: 0; }
770
.tl-card form { padding: 10px 14px; margin: 0; }
771
.tl-card textarea { width: 100%; box-sizing: border-box; }
772
.tl-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding-top: 0; }
773
form.tl-actions { padding: 0 14px 12px; }
774
.tl-item.review-approve .tl-card { border-color: var(--ok); }
775
.tl-item.review-changes .tl-card { border-color: var(--bad); }
776
.tl-event { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; margin: -6px 0 16px 10px; font-size: 13px; color: var(--mute); }
777
.tl-event strong { color: var(--ink); font-weight: 600; }
778
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--soft); border: 2px solid var(--line); flex: none; }
779
.tl-mini { width: 18px; height: 18px; border-radius: 50%; }
780
.timeline form.card.tl-review { max-width: none; margin-left: 50px; }
781
.tl-editbox { margin-left: 50px; }
782
.tl-editbox summary { cursor: pointer; font-weight: 600; }
783
.tl-editbox input[type=text], .tl-editbox textarea { width: 100%; box-sizing: border-box; }
784
.head-edit { margin-left: 8px; vertical-align: middle; }
785
aside.side h3 .side-edit { float: right; font-size: 11px; font-weight: 400; text-transform: none; letter-spacing: 0; }
786
.side-picker summary { cursor: pointer; font-size: 12px; color: var(--acc); }
787
.side-picker form { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
788
.side-check { display: flex; align-items: center; gap: 6px; font-size: 13px; }
789
.side-picker-inline { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
790
.side-picker-inline select { flex: 1; min-width: 0; }
791
@media (max-width: 760px) { .timeline::before { display: none; } .tl-item { grid-template-columns: 1fr; } .tl-avatar { display: none; } .timeline form.card.tl-review, .tl-editbox { margin-left: 0; } }
792
793
/* The issue page's sidebar, as GitHub lays it out (oxygenhub#82): sections
794
   with a heading and a gear opening a filterable menu that applies in one
795
   go; what is set is shown under the heading; moderation as quiet actions. */
796
form.card.comment-form { max-width: none; }
797
/* Proposal and issue sidebars (#162, #163): each section a card, its
798
   heading a shaded bar across the top, as the repository page's cards.
799
   Overflow stays visible so the pickers' menus can open past the card. */
800
.side-sections { display: flex; flex-direction: column; gap: 14px; }
801
.side-sections .side-sec { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 0 12px 10px; }
802
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
803
.side-sections .side-sec > .side-head { margin: 0 -12px 10px; padding: 8px 12px; background: var(--soft); border-bottom: 1px solid var(--line); border-radius: 6px 6px 0 0; }
804
.side-sections .side-head h3 { margin: 0; }
805
.side-sections .side-sec.side-actions { padding-top: 6px; }
806
.side-empty, .side-note { margin: 0; font-size: 12px; color: var(--mute); }
807
.side-empty button.linkish { font-size: inherit; }
808
.side-note { margin-top: 6px; }
809
.side-value { margin: 0; font-size: 14px; }
810
.side-labels { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
811
.side-labels .label { margin: 0; }
812
.side-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
813
.side-people a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 13px; }
814
.side-people img.avatar, .menu-item img.avatar { border-radius: 50%; }
815
.side-wide { width: 100%; }
816
form.inline { display: inline; margin: 0; }
817
details.menu { position: relative; }
818
details.menu > summary { list-style: none; cursor: pointer; color: var(--mute); display: inline-flex; padding: 3px; border-radius: 6px; }
819
details.menu > summary::-webkit-details-marker { display: none; }
820
details.menu > summary:hover, details.menu[open] > summary { color: var(--acc); background: var(--soft); }
821
.menu-pop { position: absolute; right: 0; top: 28px; z-index: 30; width: 290px; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
822
.menu-title { margin: 0; padding: 9px 12px; font-size: 12px; font-weight: 600; color: var(--ink); }
823
.menu-filter { display: block; width: calc(100% - 20px); margin: 0 10px 10px; box-sizing: border-box; }
824
.menu-list { max-height: 300px; overflow-y: auto; border-top: 1px solid var(--line); }
825
aside.side .menu-item { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 8px 12px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 13px; font-weight: 400; color: var(--ink); text-transform: none; letter-spacing: 0; }
826
aside.side .menu-item:hover { background: var(--soft); }
827
.menu-item input { margin: 2px 0 0; flex: none; }
828
.menu-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
829
.menu-name small { color: var(--mute); font-size: 12px; }
830
.menu-empty { margin: 0; padding: 10px 12px; font-size: 12px; color: var(--mute); }
831
.menu-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 8px 12px; }
832
.menu-foot a { margin-right: auto; }
833
.swatch { flex: none; width: 12px; height: 12px; margin-top: 3px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
834
.side-actions form { display: grid; gap: 2px; }
835
button.side-action { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; font-weight: 600; color: var(--ink); }
836
button.side-action span { width: 16px; text-align: center; color: var(--mute); }
837
button.side-action:hover { color: var(--acc); }
838
button.side-action:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
839
840
/* Device sign-in's answer (oxygenhub#83). */
841
.device-done h2 { display: flex; align-items: center; gap: 10px; margin-top: 0; }
842
.device-mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-size: 16px; color: #fff; }
843
.device-done.ok .device-mark { background: var(--ok); }
844
.device-done.no .device-mark { background: var(--bad); }
845
.side-note-inline { font-size: 12px; color: var(--mute); font-weight: 400; }
846
.side-list li { margin: 0 0 4px; }
847
.side-list form.inline { margin-left: 6px; }
848
.side-assist { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 8px; }
849
.side-assist form.inline { display: block; margin: 0; }
850
.model-row { display: flex; gap: 6px; align-items: center; }
851
.model-row input { flex: 1; }
852
/* A button that asks an AI agent: its mark, then the verb and its name. */
853
button.agent-btn { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 6px; font-size: 11px; line-height: 16px; }
854
button.agent-btn img { width: 16px; height: 16px; border-radius: 50%; flex: 0 0 16px; }
855
button.agent-btn:hover img { filter: brightness(1.1); }
856
/* Forms inside a settings panel fill it, and a form that follows a table
857
   (Add a runner) stands off it (oxygenhub#99). */
858
.panel form.card { max-width: none; }
859
.panel .table + form { margin-top: 12px; }
860
861
/* The proposal conversation (oxygenhub#86): a pencil by the title, a ···
862
   menu on the description that edits it in place, one action row under
863
   the comment box, a compact review, and a card when it landed. */
864
.head-pencil { color: var(--mute); display: inline-flex; vertical-align: middle; padding: 4px; margin-left: 6px; border-radius: 6px; }
865
.head-pencil:hover { color: var(--acc); background: var(--soft); }
866
.tl-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
867
.tl-head .tl-when { color: inherit; }
868
.tl-menu > summary.dots { font-weight: 700; letter-spacing: 1px; padding: 0 6px; line-height: 20px; }
869
.menu-pop.menu-actions { width: 180px; padding: 6px 0; top: 26px; }
870
.menu-actions hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
871
.menu-action { all: unset; display: block; box-sizing: border-box; width: 100%; padding: 6px 14px; font-size: 13px; color: var(--ink); cursor: pointer; }
872
.menu-action:hover { background: var(--soft); color: var(--ink); }
873
.tl-editform { display: none; padding: 12px 14px; }
874
.tl-editform:target, .tl-editform.open { display: block; }
875
.tl-card:has(.tl-editform:target) .tl-view, .tl-card:has(.tl-editform.open) .tl-view { display: none; }
876
.edit-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; margin-bottom: 8px; }
877
.edit-row label { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: 0; }
878
.tl-editform .tl-actions { margin-top: 10px; align-items: center; }
879
.tl-compose { padding: 12px 14px; }
880
.tl-card.tl-compose form { padding: 0; }
881
form.tl-card.tl-compose { padding: 12px 14px; margin: 0; }
882
.tl-compose textarea:not(.md) { font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); resize: vertical; }
883
.compose-title { margin: 0 0 8px; font-weight: 600; font-size: 14px; color: var(--ink); }
884
.compose-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 10px; }
885
.compose-actions .segmented { margin-right: auto; }
886
.compose-note { margin: 10px 0 0; font-size: 12px; color: var(--mute); }
887
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
888
.segmented label { margin: 0; text-transform: none; letter-spacing: 0; cursor: pointer; }
889
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
890
.segmented span { display: block; padding: 5px 12px; font-size: 13px; font-weight: 500; color: var(--ink); border-right: 1px solid var(--line); }
891
.segmented label:last-child span { border-right: 0; }
892
.segmented input:checked + span { background: var(--acc); color: #fff; }
893
.segmented input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: -2px; }
894
.tl-badge { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--mute); font-size: 15px; }
895
.tl-badge.review { background: var(--soft); color: var(--mute); border: 1px solid var(--line); }
896
.tl-outcome.landed .tl-badge { background: #8250df; }
897
.tl-outcome.closed .tl-badge { background: var(--bad); }
898
.outcome-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
899
.tl-outcome.landed .outcome-card { border-color: #8250df; }
900
.outcome-card p { margin: 4px 0 0; color: var(--mute); }
901
.outcome-card form { margin: 0; padding: 0; }
902
.outcome-card form button { white-space: nowrap; }
903
904
/* Form controls, site-wide (oxygenhub#87): every text field, textarea and
905
   select is rounded, padded and rings on focus; a select draws its own
906
   chevron. Zero specificity, so a place that sizes its controls still
907
   does. */
908
:where(input[type=text], input[type=search], input[type=email], input[type=password], input[type=number], input[type=url], input[type=date], input:not([type]), textarea, select) {
909
  box-sizing: border-box; font: inherit; font-size: 14px; line-height: 20px; color: var(--ink);
910
  background-color: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px;
911
}
912
:where(input[type=text], input[type=search], input[type=email], input[type=password], input[type=number], input[type=url], input[type=date], input:not([type]), textarea, select):focus {
913
  outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent);
914
}
915
:where(input, textarea)::placeholder { color: var(--mute); opacity: 1; }
916
select:not([multiple]) {
917
  appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer;
918
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%238592ad' d='M4.4 6.2a.75.75 0 0 1 1.06 0L8 8.74l2.54-2.54a.75.75 0 1 1 1.06 1.06l-3.07 3.07a.75.75 0 0 1-1.06 0L4.4 7.26a.75.75 0 0 1 0-1.06Z'/%3E%3C/svg%3E");
919
  background-repeat: no-repeat; background-position: right 8px center; background-size: 16px 16px;
920
}
921
input[type=checkbox], input[type=radio] { accent-color: var(--acc); }
922
/* A row of filters: spaced, aligned to one height, wrapping when narrow;
923
   an .end item (a Charts link) sits at the far end. */
924
form.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 12px; }
925
form.filters > select, form.filters > input { width: auto; max-width: 100%; min-width: 0; margin: 0; }
926
form.filters > button { margin: 0; align-self: stretch; }
927
form.filters > .end { margin-left: auto; }
928
/* Insights (oxygenhub#257): headline numbers, then charts drawn by the hub
929
   as inline SVG, coloured through currentColor from these classes. */
930
.insights-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
931
.insights-bar form.filters { margin: 0; }
932
.insights-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 14px; }
933
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 14px 0; }
934
.kpi { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
935
.kpi-v { font-size: 28px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
936
.kpi-l { font-size: 13px; }
937
.kpi-s { font-size: 12px; color: var(--mute); }
938
.kpi-warn { border-color: var(--warn); }
939
.kpi-bad { border-color: var(--bad); }
940
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 12px; margin-bottom: 14px; }
941
.chart-card { margin: 0; padding: 10px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
942
.chart-card figcaption { font-weight: 600; margin-bottom: 4px; }
943
svg.chart { display: block; width: 100%; height: auto; }
944
svg.chart .grid { stroke: var(--line); stroke-width: 1; }
945
svg.chart .axis { fill: var(--mute); font-size: 11px; }
946
svg.chart .line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
947
svg.chart .dot, svg.chart .bar { fill: currentColor; }
948
.s-main { color: var(--acc); }
949
.s-warn { color: var(--warn); }
950
.s-ok { color: var(--ok); }
951
.s-bad { color: var(--bad); }
952
.s-mute { color: var(--mute); }
953
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; margin-top: 4px; }
954
.legend .key { color: var(--ink); }
955
.legend .key::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; background: var(--acc); vertical-align: -1px; }
956
.legend .key.s-warn::before { background: var(--warn); }
957
.legend .key.s-ok::before { background: var(--ok); }
958
.legend .key.s-bad::before { background: var(--bad); }
959
.legend .key.s-mute::before { background: var(--mute); }
960
/* The wall view (?wall=1): for a second monitor, no menus, larger. */
961
body.wall > header, body.wall > .band, body.wall > footer, body.wall > .skip { display: none; }
962
body.wall main { max-width: none; padding: 18px 28px; }
963
body.wall .kpi-v { font-size: 40px; }
964
body.wall .kpi-l { font-size: 15px; }
965
body.wall .chart-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)); }
966
/* Landing over required checks (#261): behind a toggle, with its reason. */
967
details.land-over { margin-top: 10px; }
968
details.land-over > summary { cursor: pointer; color: var(--mute); }
969
details.land-over form { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
970
/* A Terraform state's kept versions (#255). */
971
details.tf-versions { margin-top: 14px; }
972
details.tf-versions > summary { cursor: pointer; }
973
.edit-row input { width: 100%; }
974
button.menu-item.menu-pick { all: unset; box-sizing: border-box; width: 100%; display: flex; padding: 8px 12px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 13px; color: var(--ink); }
975
button.menu-item.menu-pick:hover, button.menu-item.menu-pick:focus-visible { background: var(--soft); }
976
977
/* Mermaid diagrams drawn from ```mermaid blocks (assets/hub.js). */
978
figure.mermaid-diagram { margin: 1em 0; overflow-x: auto; text-align: center; }
979
figure.mermaid-diagram svg { max-width: 100%; height: auto; }
980
981
/* Coverage (#113): the theme's own colours, so it fits every look, light or dark. */
982
.cov-good { color: var(--ok); } .cov-fair { color: color-mix(in srgb, var(--ok) 60%, var(--warn)); } .cov-low { color: var(--warn); } .cov-poor { color: var(--bad); } .cov-none { color: var(--mute); }
983
.cov-hero { border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, var(--soft), var(--panel)); padding: 1.1em 1.3em .4em; margin: 1em 0; overflow: hidden; }
984
.cov-hero-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; flex-wrap: wrap; }
985
.cov-hero h1 { margin: 0; font-size: 1.6em; letter-spacing: .01em; }
986
.cov-sub { margin-top: .3em; font-size: .95em; }
987
.cov-score { text-align: right; }
988
.cov-big { font-size: 3.4em; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
989
.cov-change { font-size: .9em; font-weight: 600; }
990
.cov-change.up { color: var(--ok); } .cov-change.down { color: var(--bad); } .cov-change.same { color: var(--mute); font-weight: 400; }
991
.cov-hero-chart { margin: .4em -.6em 0; }
992
.cov-chart { width: 100%; height: auto; display: block; }
993
.cov-chart .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
994
.cov-chart .axis { font-size: 11px; fill: var(--mute); }
995
.cov-chart .area { stroke: none; }
996
.cov-chart .line { fill: none; stroke-width: 2.2; stroke-linejoin: round; }
997
.cov-chart .area.cov { fill: color-mix(in srgb, var(--ok) 18%, transparent); } .cov-chart .line.cov, .cov-chart .dot.cov { stroke: var(--ok); fill: var(--ok); }
998
.cov-chart .line.cov { fill: none; }
999
.cov-chart .area.relevant { fill: color-mix(in srgb, var(--bad) 14%, transparent); } .cov-chart .line.relevant { stroke: var(--bad); } .cov-chart .dot.relevant { fill: var(--bad); }
1000
.cov-chart .area.covered { fill: color-mix(in srgb, var(--ok) 30%, transparent); } .cov-chart .line.covered { stroke: var(--ok); } .cov-chart .dot.covered { fill: var(--ok); }
1001
.cov-chart .hit { fill: transparent; } .cov-chart .hit:hover { fill: color-mix(in srgb, var(--acc) 10%, transparent); }
1002
.cov-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5em, 1fr)); gap: .6em; margin: 0 0 1em; }
1003
.cov-facts > div { border: 1px solid var(--line); border-radius: 8px; padding: .55em .8em; background: var(--panel); }
1004
.cov-facts .k { display: block; font-size: .72em; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
1005
.cov-facts .v { display: block; font-size: 1.25em; font-weight: 600; margin-top: .15em; }
1006
.cov-facts .v small { font-size: .7em; font-weight: 400; color: var(--mute); }
1007
.cov-badge { vertical-align: middle; }
1008
.cov-copy { font-size: .65em; margin-left: .4em; vertical-align: middle; }
1009
.cov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20em, 1fr)); gap: 1em; align-items: start; }
1010
.cov-card h3 { font-size: .95em; margin: 1em 0 .4em; }
1011
.cov-stats { list-style: none; padding: 0; margin: 0; line-height: 1.8; }
1012
.cov-moved, .cov-runs { width: 100%; }
1013
.cov-moved td { padding: .15em .3em; } .cov-moved td.num, .cov-files td.num, .cov-files th.num, .cov-runs .num { text-align: right; white-space: nowrap; }
1014
.cov-runs tr.on td { background: var(--soft); }
1015
.cov-bands { display: grid; gap: .55em; margin-top: .4em; }
1016
.cov-band { display: grid; grid-template-columns: 6.5em 1fr 2.5em; align-items: center; gap: .6em; }
1017
.cov-band-lbl { font-size: .9em; color: var(--mute); white-space: nowrap; }
1018
.cov-band .bar { height: .9em; background: var(--soft); border-radius: 4px; overflow: hidden; }
1019
.cov-band .bar > span { display: block; height: 100%; background: currentColor; border-radius: 4px; min-width: 2px; }
1020
.cov-band .n { text-align: right; font-weight: 600; }
1021
.cov-bar { display: inline-block; width: 8em; height: .7em; background: var(--soft); border-radius: 3px; vertical-align: middle; overflow: hidden; }
1022
.cov-bar > span { display: block; height: 100%; background: currentColor; }
1023
.cov-key { padding: 0 .4em; border-radius: 3px; font-size: .85em; }
1024
.cov-key.relevant { background: color-mix(in srgb, var(--bad) 18%, transparent); } .cov-key.covered { background: color-mix(in srgb, var(--ok) 22%, transparent); }
1025
.cov-code tr.cov-hit td.t, .cov-key.cov-hit { background: color-mix(in srgb, var(--ok) 16%, transparent); }
1026
.cov-code tr.cov-miss td.t, .cov-key.cov-miss { background: color-mix(in srgb, var(--bad) 16%, transparent); }
1027
.t-list { list-style: none; padding: 0; margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
1028
.cov-code td.cov-hits { text-align: right; padding: 0 .5em; color: var(--mute); font-size: .85em; white-space: nowrap; user-select: none; }
1029
1030
/* Where a repository's data lives, when it is its owner's bucket (#123):
1031
   the provider's icon, and a card with the details on hover, focus or a
1032
   tap (it takes focus). */
1033
.store { position: relative; display: inline-flex; align-items: center; margin-left: 8px; vertical-align: middle; cursor: pointer; border-radius: 3px; }
1034
.store svg { display: block; }
1035
.store:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
1036
.store-card { display: none; position: absolute; top: calc(100% + 8px); left: -6px; z-index: 30; width: max-content; max-width: min(420px, 90vw); background: var(--panel); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, .28); padding: 10px 12px; font-size: 13px; font-weight: 400; line-height: 1.45; white-space: normal; color: var(--ink); cursor: auto; }
1037
.store-card::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
1038
.store:hover .store-card, .store:focus .store-card, .store:focus-within .store-card { display: block; }
1039
.store-card strong { display: block; margin-bottom: 4px; }
1040
.store-card dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 6px 0 8px; }
1041
.store-card dt { color: var(--mute); }
1042
.store-card dd { margin: 0; min-width: 0; }
1043
.store-card code { word-break: break-all; }
1044
1045
/* Projects (#124): a filter and a New project button above a panel of
1046
   rows with Open and Closed tabs; the form opens from the button. */
1047
.proj-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
1048
.proj-filter { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 10px; border: 1px solid var(--line); background: var(--panel); color: var(--mute); }
1049
.proj-filter:focus-within { border-color: var(--acc); }
1050
.proj-filter input { flex: 1; min-width: 0; width: auto; margin: 0; padding: 7px 0; border: 0; background: transparent; color: var(--ink); outline: none; }
1051
.proj-new { display: none; max-width: 560px; margin: 0 0 16px; }
1052
.proj-new:target, .proj-new.open { display: block; }
1053
.proj-new h2 { margin-top: 0; }
1054
.proj-new-actions { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
1055
.proj-list { border: 1px solid var(--line); background: var(--panel); }
1056
.proj-tabs { display: flex; gap: 4px; padding: 8px 12px; background: var(--soft); border-bottom: 1px solid var(--line); }
1057
.proj-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; color: var(--mute); font-size: 14px; }
1058
.proj-tabs a:hover { color: var(--ink); text-decoration: none; }
1059
.proj-tabs a.on { color: var(--ink); font-weight: 600; }
1060
.proj-rows { list-style: none; margin: 0; padding: 0; }
1061
.proj-rows li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
1062
.proj-rows li:last-child { border-bottom: 0; }
1063
.proj-rows li:hover { background: var(--soft); }
1064
.proj-icon { flex: none; margin-top: 3px; color: var(--mute); }
1065
.proj-main { flex: 1; min-width: 0; }
1066
.proj-main p { margin: 2px 0 0; }
1067
.proj-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
1068
.proj-title .name { font-size: 16px; font-weight: 600; }
1069
.proj-title .vis { margin-left: 2px; }
1070
.proj-desc { color: var(--ink); font-size: 14px; }
1071
.proj-list .empty { border: 0; margin: 0; }
1072
1073
/* Reports (oxygenhub#127) */
1074
.rep-top h1 { margin-bottom: .2em; }
1075
.rep-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(21em, 1fr)); gap: 1em; margin-top: 1.2em; }
1076
.rep-card { --tone: var(--mute); position: relative; display: flex; flex-direction: column; gap: .7em; padding: 1.1em 1.2em 1em; border: 1px solid var(--line); border-top: 3px solid var(--tone); border-radius: 12px;
1077
  background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 9%, var(--panel)), var(--panel) 70%); transition: border-color .15s, transform .15s, box-shadow .15s; }
1078
.rep-card:hover { transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--tone) 18%, transparent); border-color: color-mix(in srgb, var(--tone) 55%, var(--line)); }
1079
.rep-card.rep-good { --tone: var(--ok); } .rep-card.rep-bad { --tone: var(--bad); } .rep-card.rep-neutral { --tone: var(--acc); }
1080
.rep-head { display: flex; align-items: center; gap: .7em; }
1081
.rep-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--kind); background: color-mix(in srgb, var(--kind) 14%, transparent); }
1082
.rep-icon.rep-performance { --kind: var(--acc); } .rep-icon.rep-coverage { --kind: var(--ok); } .rep-icon.rep-tests { --kind: var(--warn); } .rep-icon.rep-custom { --kind: var(--mute); }
1083
.rep-name { display: flex; flex-direction: column; min-width: 0; flex: 1; }
1084
.rep-link { color: var(--ink); font-weight: 600; font-size: 1.08em; }
1085
.rep-link::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
1086
.rep-kindname { color: var(--mute); font-size: .8em; text-transform: uppercase; letter-spacing: .06em; }
1087
.rep-badge { flex: none; font-size: .8em; font-weight: 600; padding: .2em .65em; border-radius: 999px; color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent); }
1088
.rep-summary { margin: 0; color: var(--ink); }
1089
.rep-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5em; }
1090
.rep-tiles li { display: flex; flex-direction: column; padding: .5em .65em; border-radius: 8px; background: var(--soft); min-width: 0; }
1091
.rep-tiles .v { font-size: 1.15em; font-weight: 600; font-variant-numeric: tabular-nums; }
1092
.rep-tiles .v small { font-weight: 400; color: var(--mute); font-size: .7em; }
1093
.rep-tiles .k { font-size: .78em; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1094
.rep-tiles li.rep-failing { box-shadow: inset 3px 0 0 var(--bad); }
1095
.rep-hero { display: flex; flex-direction: column; gap: .1em; }
1096
.rep-big { font-size: 2em; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--tone); line-height: 1.1; }
1097
.rep-foot { margin-top: auto; font-size: .82em; color: var(--mute); display: flex; flex-wrap: wrap; align-items: center; gap: .35em; }
1098
.rep-kind { text-transform: lowercase; }
1099
.rep-performance { color: var(--acc); } .rep-coverage { color: var(--ok); } .rep-tests { color: var(--warn); } .rep-custom { color: var(--mute); }
1100
.rep-delta { font-size: .8em; font-weight: 600; font-variant-numeric: tabular-nums; }
1101
.rep-delta.better { color: var(--ok); } .rep-delta.worse { color: var(--bad); } .rep-delta.same { color: var(--mute); }
1102
.rep-failing .v, .rep-failing strong { color: var(--bad); }
1103
.rep-table { width: 100%; border-collapse: collapse; }
1104
.rep-table th, .rep-table td { padding: .45em .6em; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
1105
.rep-table .num { text-align: right; font-variant-numeric: tabular-nums; }
1106
.rep-spark polyline { fill: none; stroke: var(--acc); stroke-width: 1.5; }
1107
.rep-spark circle { fill: var(--acc); }
1108
.rep-frame-wrap { margin: 1em 0; }
1109
.rep-frame { display: block; width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
1110
.rep-frame.sized { overflow: hidden; }
1111
.rep-context { display: grid; grid-template-columns: max-content 1fr; gap: .3em 1em; margin: 0; }
1112
.rep-context dt { color: var(--mute); }
1113
.rep-context dd { margin: 0; font-variant-numeric: tabular-nums; }
1114
.rep-runs { list-style: none; padding: 0; margin: 0; }
1115
.rep-runs li { padding: .25em 0; }
1116
.rep-runs li.on a { font-weight: 700; }
1117
1118
/* Reports timeline (oxygenhub#127, RP4) */
1119
.rep-timeline { margin: 1em 0; padding: .8em 1em; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
1120
.rep-tl-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6em 1.2em; margin-bottom: .7em; }
1121
.rep-tl-btn { font: inherit; font-weight: 600; padding: .3em .9em; border-radius: 999px; border: 1px solid var(--acc); color: var(--acc); background: transparent; cursor: pointer; }
1122
.rep-tl-btn:hover { background: color-mix(in srgb, var(--acc) 12%, transparent); }
1123
.rep-tl-keys { margin-left: auto; }
1124
.rep-tl-stops { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
1125
.rep-tl-stops li { flex: 1; min-width: 4px; }
1126
.rep-tl-stop { display: block; height: 14px; border-radius: 3px; background: color-mix(in srgb, var(--acc) 22%, var(--soft)); }
1127
.rep-tl-stop:hover { background: color-mix(in srgb, var(--acc) 55%, var(--soft)); }
1128
.rep-tl-stop.on { background: var(--acc); height: 22px; }
1129
.rep-tl-stop.cmp { background: var(--warn); height: 22px; }
1130
.rep-tl-ends { display: flex; justify-content: space-between; margin-top: .3em; }
1131
.rep-cmp-h { display: flex; align-items: baseline; gap: 1em; font-size: 1.05em; margin: 0 0 .6em; }
1132
.rep-frame-wrap.rep-side { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
1133
.rep-frame-wrap.rep-side > p { grid-column: 1 / -1; }
1134
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
1135
1136
/* Working (#142): a pressed button's spinner, and the Oxygen mark's rings
1137
   spinning and its arms sliding back and forth in turn while a slow page
1138
   loads (hub.js adds .oxy-wait after 300 ms; #306). The pointer keeps its own
1139
   shape: the mark beside it is the only sign. */
1140
button[aria-busy=true] { opacity: 1; }
1141
.oxy-spin { display: inline-block; width: 1em; text-align: center; }
1142
.oxy-wait-mark { display: none; position: fixed; z-index: 1000; pointer-events: none; padding: 4px 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); line-height: 0; }
1143
.oxy-wait-mark svg { width: 36px; height: 18px; }
1144
.oxy-wait-mark.corner { left: auto !important; top: calc(env(safe-area-inset-top, 0px) + 68px) !important; right: 16px; }
1145
.oxy-wait .oxy-wait-mark { display: block; }
1146
.oxy-wait header .brand svg circle[r="10"], .oxy-wait-mark svg circle[r="10"] { stroke-dasharray: 44 18.8; animation: oxy-ring .9s linear infinite; }
1147
.oxy-wait header .brand svg circle[cx="11"][r="10"], .oxy-wait-mark svg circle[cx="11"][r="10"] { animation-direction: reverse; }
1148
.oxy-wait header .brand svg .arm, .oxy-wait-mark svg .arm { animation: oxy-arm .9s ease-in-out infinite alternate; }
1149
.oxy-wait header .brand svg .arm + .arm, .oxy-wait-mark svg .arm + .arm { animation-direction: alternate-reverse; }
1150
@keyframes oxy-ring { to { stroke-dashoffset: -62.8; } }
1151
@keyframes oxy-arm { from { transform: translateX(-3px); } to { transform: translateX(3px); } }
1152
@media (prefers-reduced-motion: reduce) {
1153
  .oxy-wait header .brand svg circle[r="10"], .oxy-wait-mark svg circle[r="10"] { animation: none; stroke-dasharray: none; }
1154
  .oxy-wait header .brand svg .arm, .oxy-wait-mark svg .arm { animation: none; }
1155
}
1156
1157
/* Admin › Runners › Images (C0, docs/cylinder.md): where each image is. */
1158
table.images td { vertical-align: top; }
1159
table.images tr.stranded td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
1160
.lbl.img-hub { color: var(--acc); border-color: var(--acc); }
1161
.lbl.img-holds { color: var(--ok); border-color: var(--ok); }
1162
.lbl.img-fetching { color: var(--warn); border-color: var(--warn); }
1163
.lbl.img-peer { color: var(--acc); border-color: var(--acc); border-style: dashed; }
1164
1165
/* Diffusion (#150): each consumer's status at a glance. */
1166
.df-chip { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 10px; border: 1px solid; white-space: nowrap; }
1167
.df-green { color: var(--ok); border-color: var(--ok); }
1168
.df-amber { color: #b7791f; border-color: #e3a008; background: color-mix(in srgb, #e3a008 12%, transparent); }
1169
.df-red { color: var(--bad); border-color: var(--bad); }
1170
.df-grey { color: var(--mute); border-color: var(--line); }
1171
.df-current { color: var(--acc); border-color: var(--acc); }
1172
.df-off { color: var(--dim); border-color: var(--line); border-style: dashed; }
1173
.df-key .df-chip { margin-right: 2px; }
1174
table.diffusion td { vertical-align: middle; }
1175
/* Every upstream's table shares one column grid (#152), so the tables on
1176
   the Diffusion pages line up with each other. */
1177
table.diffusion { table-layout: fixed; width: 100%; min-width: 880px; }
1178
table.diffusion td { overflow-wrap: anywhere; }
1179
table.diffusion .df-c-repo { width: 26%; }
1180
table.diffusion .df-c-pin { width: 10%; }
1181
table.diffusion .df-c-behind { width: 7%; }
1182
table.diffusion .df-c-pill { width: 17%; }
1183
table.diffusion .df-c-bump { width: 16%; }
1184
table.diffusion .df-c-landed { width: 14%; }
1185
table.diffusion .df-c-follow { width: 10%; }
1186
table.diffusion .df-path { display: block; }
1187
1188
/* The Diffusion pill (#150): two halves like a capsule, the upstream on
1189
   the left, the repository that pins it on the right. */
1190
.df-pill { display: inline-flex; border-radius: 999px; overflow: hidden; font-size: 12px; line-height: 1.6; vertical-align: middle; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
1191
.df-half { padding: 0 9px; font-weight: 600; }
1192
.df-half + .df-half { border-left: 1px solid rgba(255, 255, 255, .55); }
1193
.df-half.df-green { background: #1a7f4b; color: #fff; }
1194
.df-half.df-amber { background: #e3a008; color: #2b1d00; }
1195
.df-half.df-red { background: #c62d47; color: #fff; }
1196
.df-half.df-grey { background: var(--soft); color: var(--mute); }
1197
.df-half.df-off { background: transparent; color: var(--mute); border-style: solid; border-width: 0; }
1198
.df-half + .df-half.df-off { border-left: 1px solid var(--line); }
1199
1200
/* Icons (#152): inline SVGs in the colour of their text. */
1201
svg.ic { width: 16px; height: 16px; vertical-align: -3px; flex: none; }
1202
.band a { display: inline-flex; align-items: center; gap: 6px; }
1203
.band a svg.ic { opacity: .8; }
1204
table.tree td.g svg.ic { vertical-align: -3px; }
1205
table.tree td.g.ic-dir { color: #54aeff; }
1206
table.tree td.g.ic-file, table.tree td.g.ic-link { color: var(--mute); }
1207
table.tree td.g.ic-sub { color: var(--acc); }
1208
1209
/* The tree's shaded head (#152): the latest change, and the history. */
1210
.tree-box { margin-top: 4px; }
1211
.tree-head { display: flex; align-items: center; gap: 10px; background: var(--soft); border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; padding: 8px 16px; font-size: 13px; }
1212
.tree-head .tree-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1213
.tree-head .tree-title a.t { color: var(--ink); }
1214
.tree-head .tree-title a.who { font-weight: 600; color: var(--ink); }
1215
.tree-head img.avatar { width: 20px; height: 20px; border-radius: 50%; vertical-align: middle; }
1216
.tree-head .tree-meta { display: flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--mute); }
1217
.tree-head .tree-meta a { color: var(--mute); }
1218
.tree-head .tree-meta a.hist { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; }
1219
.tree-box .tree-head + table.tree { border-top-left-radius: 0; border-top-right-radius: 0; margin-top: 0; }
1220
@media (max-width: 760px) { .tree-head .tree-meta .ago { display: none; } }
1221
1222
/* The sidebar as cards (#152): each section a rounded box with a shaded
1223
   heading. */
1224
aside.side.cards { display: flex; flex-direction: column; gap: 14px; }
1225
.side-card { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); overflow: hidden; }
1226
.side-card > h3 { margin: 0; padding: 8px 12px; background: var(--soft); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }
1227
.side-card > h3 .more { margin-left: auto; font-size: 12px; font-weight: 400; text-transform: none; letter-spacing: 0; }
1228
.side-card > .body { padding: 10px 12px; }
1229
.side-card > .body > :first-child { margin-top: 0; }
1230
.side-card > .body > :last-child { margin-bottom: 0; }
1231
.side-card h4 { margin: 10px 0 4px; font-size: 12px; font-weight: 600; color: var(--mute); }
1232
.side-card h4:first-child { margin-top: 0; }
1233
ul.contributors li.c { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
1234
ul.contributors li.c > .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1235
ul.contributors li.c > .n { margin-left: auto; }
1236
ul.df-list { margin: 0; }
1237
ul.df-list li { padding: 6px 0; border-top: 1px solid var(--line); }
1238
ul.df-list li:first-child { border-top: 0; padding-top: 0; }
1239
ul.df-list .df-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1240
ul.df-list .df-line { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 12px; }
1241
ul.bookmarks li { display: flex; align-items: center; gap: 6px; }
1242
ul.bookmarks li > a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1243
1244
/* A main-column section as a card (#155), the counterpart of the
1245
   sidebar's side-card: a rounded box, its heading and count in a shaded
1246
   bar, its list flush inside. */
1247
.card-box { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); overflow: hidden; margin-bottom: 16px; }
1248
.card-box > .card-head { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
1249
.card-box > .card-head h2, .card-box > .card-head h3 { margin: 0; font-size: 14px; font-weight: 600; }
1250
.card-box > .card-head .more { margin-left: auto; font-size: 12px; }
1251
.card-box > ul.rows, .card-box > ul.feed { border: 0; border-radius: 0; margin: 0; }
1252
.card-box > ul.rows li { margin: 0; border: 0; border-top: 1px solid var(--line); }
1253
.card-box > ul.rows li:first-child, .card-box > ul.feed li:first-child { border-top: 0; }
1254
.card-box > .empty { margin: 0; padding: 12px 16px; }
1255
ul.repo-list li { display: flex; align-items: center; gap: 6px; margin: 3px 0; }
1256
ul.repo-list li > a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1257
1258
/* Backdrops (docs/backgrounds.md, #157): the canvas behind a page's
1259
   content, never in its way. The page's background moves to the root so
1260
   the canvas shows in the margins and between the cards. */
1261
#backdrop { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }
1262
html:has(#backdrop) body { background: transparent; }
1263
.bd-label { position: fixed; z-index: -1; pointer-events: none; transform: translate(-50%, -100%); font-size: 12px; color: var(--mute); opacity: 0; transition: opacity .3s; white-space: nowrap; }
1264
@media (prefers-reduced-motion: reduce) { .bd-label { transition: none; } }
1265
1266
/* The page's primary action (#161): filled with the accent. */
1267
a.go.primary, summary.go.primary { background: var(--acc); color: var(--panel); border-color: var(--acc); }
1268
a.go.primary:hover, summary.go.primary:hover { filter: brightness(1.1); text-decoration: none; }
1269
1270
/* The About card (#159): counts in its heading, the actions centred. */
1271
.side-card.about > h3 .about-counts { display: inline-flex; align-items: center; gap: 12px; color: var(--mute); font-size: 12px; font-weight: 400; text-transform: none; letter-spacing: 0; }
1272
.side-card.about > h3 .about-counts > * { display: inline-flex; align-items: center; gap: 4px; color: var(--mute); }
1273
.side-card.about > h3 .about-counts svg.ic { width: 14px; height: 14px; vertical-align: 0; }
1274
.side-card.about .topics { margin: 10px 0; }
1275
.about-actions { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
1276
.about-actions form { margin: 0; }
1277
.about-propose { text-align: center; margin: 10px 0 0; }
1278
1279
/* Diffusion rows (#160): the repository and its pill on one line, how far
1280
   behind beneath, a rule between rows. */
1281
ul.df-list .df-row { display: flex; align-items: center; gap: 8px; }
1282
ul.df-list .df-row .df-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1283
ul.df-list .df-row .df-pill { flex: none; }
1284
ul.df-list .df-sub { display: flex; gap: 10px; margin-top: 2px; font-size: 12px; color: var(--mute); }
1285
1286
/* Every boxed section's heading as a shaded bar (#164): a panel's or a
1287
   form card's leading heading (after its hidden CSRF field, in a form)
1288
   runs across the box's top, as the cards' headings do. */
1289
.panel { --box-py: 14px; --box-px: 16px; }
1290
form.card { --box-py: 18px; --box-px: 20px; }
1291
:is(.panel, form.card) > h2:first-child,
1292
:is(.panel, form.card) > input[type=hidden]:first-child + h2 {
1293
  margin: calc(-1 * var(--box-py)) calc(-1 * var(--box-px)) 14px;
1294
  padding: 10px var(--box-px);
1295
  background: var(--soft);
1296
  border-bottom: 1px solid var(--line);
1297
  font-size: 15px;
1298
}
1299
/* A sidebar section with no heading (a wiki's own sidebar) keeps its
1300
   padding at the top. */
1301
.side-sections .side-sec:not(:has(> .side-head)) { padding-top: 10px; }
1302
.card-box > ul.card-list { margin: 0; padding: 10px 16px; }
1303
.who-card .side-card { margin-top: 14px; }
1304
1305
/* Backups (#169): each run's outcome. */
1306
.backup-status { display: inline-block; padding: 0 8px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid; }
1307
.backup-status.st-ok { color: var(--ok); }
1308
.backup-status.st-partial { color: var(--warn); }
1309
.backup-status.st-failed { color: var(--bad); }
1310
.backup-status.st-running { color: var(--mute); }
1311
.backup-what { max-width: 760px; }
1312
1313
/* Nothing runs out of its card (#170): long tokens in the timeline and in
1314
   inline code wrap where they must. */
1315
.tl-event, .tl-event code { overflow-wrap: anywhere; }
1316
article.doc :not(pre) > code, .comment :not(pre) > code, .tl-card :not(pre) > code { overflow-wrap: anywhere; }
1317
/* Settings › Tokens (oxygenhub#185): one card per token, actions beside it. */
1318
.card-box > .pad, .card-box .pad { padding: 14px 16px; }
1319
.token-rows li { display: flex; align-items: flex-start; gap: 16px; padding: 12px 16px; }
1320
.token-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
1321
.token-scopes { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
1322
.token-scopes .chip { font-size: 11.5px; padding: 1px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
1323
.token-actions { display: flex; gap: 6px; flex-shrink: 0; }
1324
button.danger { color: var(--bad); }
1325
.agent-pill { font-size: 11px; padding: 1px 7px; border-radius: 10px; background: color-mix(in srgb, var(--acc) 18%, transparent); color: var(--ink); }
1326
/* Settings › Security (#285): every box the page's width, a form's
1327
   field and button on one row. */
1328
.sec-form p { margin: 0 0 10px; }
1329
.sec-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
1330
.sec-row label { margin: 0; font-weight: 600; }
1331
.sec-row input { flex: 0 1 320px; min-width: 0; }
1332
.sec-split { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
1333
.sec-split p { margin: 0; }
1334
.card-box > .card-head form.more { margin-left: auto; }
1335
.card-box > .sec-foot { margin: 0; border-top: 1px solid var(--line); }
1336
.token-form { display: flex; flex-direction: column; gap: 6px; max-width: 720px; }
1337
.token-form .scopes { display: flex; flex-direction: column; gap: 2px; }
1338
.token-form button[type=submit] { align-self: flex-start; margin-top: 8px; }
1339
.token-form .token-agent { margin-top: 8px; }
1340
.token-form .token-hint { margin: 0 0 0 24px; }
1341
@media (max-width: 700px) { .token-rows li { flex-direction: column; } }
1342
/* Settings › Keys (oxygenhub#188) shares the token rows; Backups' form is as wide as its Runs (#189). */
1343
form.card.keys-verify { max-width: none; }
1344
form.card.backup-form { max-width: none; }
1345
/* Wiki clone box (oxygenhub#192): the command wraps inside its card. */
1346
.side-sec pre.snippet { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
1347
/* The overview's bookmark and tag picker (oxygenhub#191). */
1348
details.ref-pick { position: relative; }
1349
details.ref-pick > summary { list-style: none; cursor: pointer; }
1350
details.ref-pick > summary::-webkit-details-marker { display: none; }
1351
.ref-panel { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; min-width: 240px; max-width: min(360px, 90vw); max-height: 60vh; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: 8px 0; }
1352
.ref-panel p { margin: 4px 12px; }
1353
.ref-panel ul { margin: 0; }
1354
.ref-panel li a { display: block; padding: 4px 12px; overflow-wrap: anywhere; }
1355
.ref-panel li a:hover, .ref-panel li a.on { background: var(--soft); text-decoration: none; }
1356
.ref-panel li a.on { font-weight: 600; }
1357
/* The Markdown editor in GitLab's manner (oxygenhub#193): one bordered box,
1358
   a Preview tab, icon buttons, a footer. */
1359
.EasyMDEContainer { border: 1px solid var(--line); border-radius: 6px; background: var(--bg); overflow: hidden; }
1360
.EasyMDEContainer:focus-within { border-color: var(--acc); box-shadow: 0 0 0 2px color-mix(in srgb, var(--acc) 25%, transparent); }
1361
.EasyMDEContainer .editor-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--panel); padding: 4px 6px; }
1362
.EasyMDEContainer .editor-toolbar i.separator { border-left: 1px solid var(--line); border-right: 0; height: 18px; margin: 0 4px; }
1363
.EasyMDEContainer .editor-toolbar button.mde-btn { border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 28px; padding: 0; border-radius: 6px; color: var(--mute); }
1364
.EasyMDEContainer .editor-toolbar button.mde-btn.mde-text { width: auto; padding: 0 10px; font-size: 13px; font-weight: 500; color: var(--ink); }
1365
.EasyMDEContainer .editor-toolbar button.mde-btn:hover, .EasyMDEContainer .editor-toolbar button.mde-btn.active { background: var(--soft); color: var(--ink); }
1366
.EasyMDEContainer .editor-toolbar button.fullscreen { margin-left: auto; }
1367
.EasyMDEContainer .editor-toolbar .mde-ico { display: inline-flex; }
1368
.EasyMDEContainer .CodeMirror { border: 0; border-radius: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
1369
.EasyMDEContainer .CodeMirror .CodeMirror-placeholder { color: var(--mute); }
1370
.EasyMDEContainer .editor-preview { background: var(--bg); color: var(--ink); }
1371
.mde-foot { display: flex; justify-content: space-between; align-items: center; padding: 4px 10px; border-top: 1px solid var(--line); background: var(--panel); }
1372
.mde-md { font-weight: 700; border: 1px solid currentColor; border-radius: 3px; padding: 0 3px; font-size: 10px; }
1373
.EasyMDEContainer .editor-toolbar.fullscreen, .EasyMDEContainer .CodeMirror-fullscreen, .EasyMDEContainer .editor-preview-active-side { background: var(--bg); }
1374
/* Wiki pages (oxygenhub#194): a title row with who edited it and the
1375
   buttons, the page as a card, pages and contents in the side bar. */
1376
.wiki-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
1377
.wiki-title { min-width: 0; }
1378
.wiki-title h1 { margin: 0 0 4px; text-wrap: balance; }
1379
.wiki-title p { margin: 0; }
1380
.wiki-actions { display: flex; gap: 8px; flex-shrink: 0; }
1381
article.wiki-doc.card-doc { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 20px 28px; }
1382
.wiki-foot { margin-top: 8px; }
1383
.wiki-side-col .side-sec { min-width: 0; }
1384
details.wiki-pages > summary { list-style: none; cursor: pointer; }
1385
details.wiki-pages > summary::-webkit-details-marker { display: none; }
1386
details.wiki-pages > summary h3::before { content: "▸ "; color: var(--mute); }
1387
details.wiki-pages[open] > summary h3::before { content: "▾ "; }
1388
.wiki-pages ul, .wiki-toc { margin: 0; padding: 6px 12px; }
1389
.wiki-pages li a, .wiki-toc li a { display: block; padding: 2px 0; overflow-wrap: anywhere; }
1390
.wiki-pages li a.on { font-weight: 600; }
1391
.wiki-pages p { margin: 0 12px 8px; }
1392
.wiki-toc li.lv2 { padding-left: 12px; }
1393
.wiki-toc li.lv3 { padding-left: 24px; font-size: 13px; }
1394
.wiki-side-col .clone { display: flex; gap: 6px; padding: 8px 12px; }
1395
.wiki-side-col .clone input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
1396
.wiki-doc h1[id], .wiki-doc h2[id], .wiki-doc h3[id] { scroll-margin-top: 16px; }
1397
.EasyMDEContainer .editor-toolbar button.mde-btn.mde-text, .EasyMDEContainer .editor-toolbar button.mde-btn.mde-text::first-letter { text-transform: none; }
1398
/* A long hash or state address shows its two ends; the whole of it in a
1399
   wrapped, square-ish tip on hover or focus (oxygenhub#198). */
1400
.hash-tip { position: relative; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; cursor: help; border-bottom: 1px dotted currentColor; white-space: nowrap; }
1401
.hash-tip::after { content: attr(data-full); position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: min(34ch, 80vw); padding: 8px 10px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.15); white-space: normal; overflow-wrap: anywhere; word-break: break-all; line-height: 1.45; font-size: 12px; visibility: hidden; opacity: 0; transition: opacity .12s; pointer-events: none; text-transform: none; font-weight: 400; }
1402
.hash-tip:hover::after, .hash-tip:focus::after { visibility: visible; opacity: 1; }
1403
/* Sign-in with a provider (oxygenhub#213): branded buttons beside the
1404
   sign-in box, in the style of Gitter's (the provider's colour and logo). */
1405
.signin-layout { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
1406
.signin-layout > form.card { flex: 1 1 320px; margin: 0; }
1407
.signin-or { display: flex; flex-direction: column; align-items: center; align-self: stretch; color: var(--mute); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
1408
.signin-or::before, .signin-or::after { content: ""; flex: 1; width: 1px; background: var(--line); }
1409
.signin-or span { padding: 8px 0; }
1410
.signin-with { display: flex; flex-direction: column; gap: 10px; flex: 0 1 280px; min-width: 0; }
1411
/* `:root .signin-with` outranks the looks' link colours (assets/github.css). */
1412
:root .signin-with a.signin-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; border-radius: 4px; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; }
1413
:root .signin-with a.signin-btn svg { flex-shrink: 0; fill: currentColor; }
1414
:root .signin-with a.signin-btn:hover, :root .signin-with a.signin-btn:focus-visible { filter: brightness(1.08); text-decoration: none; color: #fff; }
1415
:root .signin-with a.signin-btn:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
1416
:root .signin-with a.signin-btn.gitlab { background: #cf3d1b; } /* GitLab's red-orange, dark enough for white text (4.8:1) */
1417
:root .signin-with a.signin-btn.github { background: #24292f; }
1418
:root .signin-with a.signin-btn.google { background: #fff; color: #3c4043; border-color: #dadce0; }
1419
:root .signin-with a.signin-btn.google:hover, :root .signin-with a.signin-btn.google:focus-visible { color: #3c4043; background: #f8f9fa; filter: none; }
1420
@media (max-width: 700px) {
1421
  .signin-or { flex-direction: row; width: 100%; }
1422
  .signin-or::before, .signin-or::after { height: 1px; width: auto; }
1423
  .signin-or span { padding: 0 8px; }
1424
  .signin-with { flex-basis: 100%; }
1425
}
1426
/* The profile's pulse (oxygenhub#217): repository colours that read on
1427
   both looks and both themes, and the agents' violet. */
1428
:root { --pu1: #2f81f7; --pu2: #0fb5c9; --pu3: #2da44e; --pu4: #e3832a; --pu5: #d1453b; --pu6: #c2307a; --pu7: #b08800; --pu8: #8c959f; --pu-agent: #8a63d2; }
1429
.pulse-box .card-head { flex-wrap: wrap; row-gap: 6px; }
1430
.pulse-total { font-weight: 700; font-variant-numeric: tabular-nums; }
1431
.pulse-legend { display: flex; flex-wrap: wrap; gap: 4px; }
1432
:root .pulse-legend button.pu-chip { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; font-size: 11.5px; line-height: 1.6; border-radius: 999px; text-transform: none; letter-spacing: 0; font-weight: 500; min-height: 0; }
1433
:root .pulse-legend button.pu-chip::first-letter { text-transform: none; }
1434
:root .pulse-legend button.pu-chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
1435
:root .pulse-legend button.pu-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--soft); }
1436
.pulse-stage { position: relative; padding: 8px 12px 4px; }
1437
.pulse-stage svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
1438
.pulse-stage .pu-axis { font: 10px var(--mono, ui-monospace, monospace); fill: var(--mute); }
1439
.pulse-stage .pu-peak { font: 11px var(--mono, ui-monospace, monospace); fill: var(--ink); }
1440
.pulse-card { position: absolute; top: 6px; pointer-events: none; opacity: 0; transition: opacity .15s; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-width: 170px; font-size: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
1441
.pulse-card b { display: block; margin-bottom: 3px; }
1442
.pulse-card .row { display: flex; justify-content: space-between; gap: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }
1443
.pulse-card .row span:last-child { color: var(--ink); }
1444
.pulse-card .bar { display: flex; height: 5px; border-radius: 3px; overflow: hidden; margin-top: 6px; background: var(--soft); }
1445
@keyframes pu-ring { from { r: 4; opacity: .9; } to { r: 15; opacity: 0; } }
1446
.pu-ring { animation: pu-ring 2.4s ease-out infinite; }
1447
@media (prefers-reduced-motion: reduce) { .pu-ring { animation: none; opacity: 0; } }
1448
1449
/* Drops (oxygenhub#279). */
1450
.drop-filebox { margin-bottom: 16px; }
1451
/* A drop's page (#283): what it is on the left, what you can do on the
1452
   right, the clone line under them; a Markdown file fills its box. */
1453
.drop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 24px; flex-wrap: wrap; margin: 6px 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--band); border-image: linear-gradient(90deg, var(--acc), var(--acc-2)) 1; }
1454
.drop-id { flex: 1 1 320px; min-width: 0; }
1455
.drop-id h1 { font-size: 30px; font-weight: 300; color: var(--ink); margin: 0 0 6px; overflow-wrap: anywhere; }
1456
.drop-id h1 small { font-size: 13px; color: var(--acc); font-weight: 400; }
1457
.drop-id .drop-desc { margin: 0 0 6px; font-size: 15px; }
1458
.drop-id p.small { margin: 0; }
1459
.drop-actions { display: flex; gap: 8px; align-items: stretch; }
1460
.drop-actions form { margin: 0; display: flex; }
1461
.drop-actions a.go { display: inline-flex; align-items: center; }
1462
.drop-clone { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 13px; }
1463
.drop-clone label { color: var(--mute); }
1464
.drop-clone input { flex: 0 1 640px; min-width: 0; }
1465
.drop-filebox article.doc { max-width: none; margin: 0; border: 0; }
1466
/* A drop framed on another site (#280): its files and a link back. */
1467
body.drop-embedded { margin: 0; padding: 8px; }
1468
.embed-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin: 0 0 8px; }
1469
.drop-comment-rows li { align-items: flex-start; }
1470
.drop-comment { flex: 1; min-width: 0; }
1471
.drop-comment .doc { margin-top: 4px; overflow-wrap: anywhere; }
1472
.drop-comment-form textarea { width: 100%; box-sizing: border-box; }
1473
.drop-file { border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; margin: 0 0 12px; }
1474
.drop-file-actions { display: flex; align-items: flex-end; justify-content: flex-end; }
1475
/* Admin › Runners › Updates (oxygenhub#322): a level's settings in a row. */
1476
.pol-row, .pol-form { display: flex; flex-wrap: wrap; align-items: end; gap: 6px 14px; margin: 6px 0; }
1477
.pol-form > strong { align-self: center; min-width: 8em; }
1478
label.pol { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: normal; }
1479
label.pol input[type=text], label.pol input[type=number], label.pol select { width: auto; margin: 0; }
1480
td .pol-form { flex-wrap: nowrap; gap: 4px 8px; }
1481
.update-group h3 small { font-weight: normal; }