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