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