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