BlueGit

timfa bluegit

Files

bluegit / internal / server / static / style.css

style.css

feat: geef de merge-request-pagina een header en widget
timfa project_87923614_bot_3aff574f6f98414b945a8799374f9092 · pushed by timfa · 3 weeks ago
Passed 0892d994 History
style.css 51.6 KiB Download Raw
1:root {
2 --ink: #142033;
3 --blue: #1f6feb;
4 --blue-deep: #0c3f86;
5 --blue-soft: #e7f0ff;
6 --paper: #f3f6fb;
7 --card: #ffffff;
8 --line: #d5e0ee;
9 --muted: #5c6b80;
10 --bad: #9f2d2d;
11 --ok: #146c43;
12 --shadow: 0 4px 16px rgba(20, 32, 51, 0.12);
13 --font: "Segoe UI", "Avenir Next", "Noto Sans", Ubuntu, Cantarell, sans-serif;
14 --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
15 --fs: 14px;
16 --fs-sm: 12px;
17 --fs-h: 20px;
18 --sp-1: 4px;
19 --sp-2: 8px;
20 --sp-3: 12px;
21 --sp-4: 16px;
22 --sp-5: 24px;
23 --sp-6: 32px;
24 --radius: 4px;
25 --radius-lg: 8px;
26 --control-h: 32px;
27 --sidebar: 240px;
28 --content: 1180px;
29 --top-h: 48px;
30 font-family: var(--font);
31}
32* { box-sizing: border-box; }
33html { scrollbar-gutter: stable; }
34body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--fs); line-height: 1.5; }
35a { color: var(--blue-deep); }
36h1 { font-size: var(--fs-h); font-weight: 600; line-height: 1.3; margin: 0 0 var(--sp-3); }
37h2 { font-size: 16px; font-weight: 600; }
38.top {
39 display: flex; justify-content: space-between; align-items: center;
40 height: var(--top-h); padding: 0 var(--sp-4); background: var(--ink); color: white;
41 position: sticky; top: 0; z-index: 40; max-width: 100%;
42}
43.top a { color: white; text-decoration: none; }
44.brand { display: flex; gap: var(--sp-2); align-items: center; font-weight: 600; letter-spacing: 0.01em; font-size: 16px; }
45.brand img { width: 28px; height: 28px; }
46.top nav { display: flex; gap: var(--sp-4); align-items: center; }
47.top button, .btn, button {
48 background: var(--blue); color: white; border: 0; border-radius: var(--radius);
49 min-height: var(--control-h); padding: 0 var(--sp-3); cursor: pointer; font: inherit;
50 display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
51}
52.btn.ghost, button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
53.top button { background: transparent; border: 1px solid rgba(255,255,255,.35); color: white; }
54.frame { display: flex; align-items: flex-start; min-height: calc(100vh - var(--top-h)); }
55.frame.with-side .content { flex: 1; min-width: 0; }
56.content { flex: 1; min-width: 0; display: flex; justify-content: center; align-items: flex-start; }
57main, main.wide {
58 width: min(100%, var(--content));
59 max-width: var(--content);
60 min-width: 0;
61 margin: 0;
62 padding: var(--sp-4) var(--sp-5) var(--sp-6);
63}
64.sidenav {
65 width: var(--sidebar); flex: none; position: sticky; top: var(--top-h);
66 height: calc(100vh - var(--top-h)); overflow: auto;
67 background: var(--card); border-right: 1px solid var(--line);
68}
69.sidecontext {
70 display: flex; align-items: center; gap: var(--sp-2);
71 min-height: 56px; padding: var(--sp-3);
72 border-bottom: 1px solid var(--line);
73 color: inherit; text-decoration: none;
74}
75.sidename { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
76.sidenav-links { display: flex; flex-direction: column; padding: var(--sp-2) 0; }
77.sidenav-links a {
78 display: flex; align-items: center; min-height: var(--control-h);
79 margin: 1px var(--sp-2); padding: 0 var(--sp-3);
80 border-radius: var(--radius); text-decoration: none; color: var(--ink);
81 font-weight: 400; box-shadow: inset 3px 0 0 transparent;
82}
83.sidenav-links a.on {
84 background: var(--blue-soft); color: var(--blue-deep); font-weight: 400;
85 box-shadow: inset 3px 0 0 var(--blue);
86}
87.pagehead {
88 display: flex; align-items: center; justify-content: space-between;
89 gap: var(--sp-3); min-height: 40px; margin: 0 0 var(--sp-4);
90}
91.pagehead h1 {
92 margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
93}
94.pageacts { display: flex; align-items: center; gap: var(--sp-2); flex: none; }
95.pageacts .menu-panel { text-align: left; }
96.hero { display: grid; grid-template-columns: 120px 1fr; gap: 1.2rem; align-items: center; }
97.hero img { width: 120px; }
98.card, .panel {
99 background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
100 padding: var(--sp-4); margin: var(--sp-3) 0;
101}
102.flash { padding: var(--sp-2) var(--sp-3); border-radius: var(--radius); background: #e5f6ec; color: var(--ok); }
103.flash.bad { background: #fde8e8; color: var(--bad); }
104.tabs, .sub {
105 display: flex; gap: var(--sp-4); flex-wrap: wrap; align-items: flex-end;
106 margin: 0 0 var(--sp-4); min-height: 40px; border-bottom: 1px solid var(--line);
107}
108.sub a {
109 text-decoration: none; color: var(--muted); font-weight: 400;
110 padding: var(--sp-2) 0; margin-bottom: -1px; border-bottom: 2px solid transparent;
111}
112.muted { color: var(--muted); }
113.preview {
114 margin: 0 0 var(--sp-2); color: var(--muted); word-break: break-all;
115 min-height: 1.2rem; display: flex; gap: .7rem; align-items: baseline; flex-wrap: wrap;
116}
117.preview:empty { display: none; }
118label { display: block; margin: 0.55rem 0; }
119input[type="checkbox"], input[type="radio"], input[type="hidden"] { width: auto; min-height: 0; }
120input, textarea, select {
121 width: 100%; min-height: var(--control-h); padding: 4px var(--sp-2);
122 border: 1px solid var(--line); border-radius: var(--radius);
123 font: inherit; font-size: var(--fs); background: white;
124}
125textarea { min-height: 7rem; }
126.row { display: flex; gap: var(--sp-2); align-items: center; flex-wrap: wrap; }
127.row > input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
128.row > select { width: auto; flex: 1 1 8rem; min-width: 0; }
129.row > button, .row > .btn, .formline > button { width: auto; flex: none; }
130.formline { display: flex; gap: var(--sp-2); align-items: center; flex-wrap: wrap; }
131.formline > input { flex: 1 1 12rem; width: auto; min-width: 0; }
132.formline > select { width: auto; flex: 0 1 16rem; max-width: 100%; }
133button.danger { background: var(--bad); color: #fff; font-size: var(--fs-sm); min-height: 24px; padding: 0 var(--sp-2); }
134table.acct { margin-top: var(--sp-3); border-collapse: separate; border-spacing: 0; }
135table.acct td { overflow-wrap: anywhere; }
136table.acct th:last-child,
137table.acct td.act {
138 position: sticky; right: 0; background: var(--card); z-index: 1;
139 box-shadow: -6px 0 6px -6px rgba(20, 32, 51, 0.25);
140}
141table.acct td.act { width: 1%; white-space: nowrap; text-align: right; vertical-align: middle; overflow-wrap: normal; }
142table.acct form { margin: 0; }
143table.acct code { font-size: var(--fs-sm); }
144code, pre { font-family: var(--mono); }
145pre, .code {
146 background: #0f1b2d; color: #e7eef8; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-lg); overflow: auto;
147}
148form.wh .wh-field { display: none; }
149form.wh[data-preset="custom"] .for-custom,
150form.wh[data-preset="generic"] .for-generic,
151form.wh[data-preset="discord"] .for-discord,
152form.wh[data-preset="slack"] .for-slack,
153form.wh[data-preset="teams"] .for-teams,
154form.wh[data-preset="mattermost"] .for-mattermost,
155form.wh[data-preset="rocketchat"] .for-rocketchat,
156form.wh[data-preset="telegram"] .for-telegram,
157form.wh[data-preset="matrix"] .for-matrix,
158form.wh[data-preset="googlechat"] .for-googlechat,
159form.wh[data-preset="ntfy"] .for-ntfy,
160form.wh[data-preset="gotify"] .for-gotify,
161form.wh[data-preset="grok"] .for-grok { display: block; }
162form.wh .wh-field .muted { display: block; margin-top: 0.25rem; }
163ul.clean { list-style: none; padding: 0; }
164ul.clean li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
165.pill { font-size: 0.78rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.45rem; }
166table { width: 100%; border-collapse: collapse; }
167.hscroll { overflow-x: auto; max-width: 100%; }
168.heat, .heat-scroll { max-width: 100%; }
169td, th { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line); vertical-align: top; font-size: var(--fs); }
170.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
171@media (max-width: 720px) {
172 .hero, .grid-2 { grid-template-columns: 1fr; }
173 main, main.wide { padding: var(--sp-3); }
174 .brand { font-size: 0; gap: 0; }
175 .brand img { width: 28px; height: 28px; }
176 .top { padding: 0 var(--sp-2); gap: var(--sp-2); }
177 .top nav { gap: var(--sp-2); min-width: 0; overflow-x: auto; }
178}
179.sub a.on { border-bottom-color: var(--blue); color: var(--blue-deep); background: var(--blue-soft); font-weight: 400; }
180.crumbs { color: var(--muted); margin: 0 0 var(--sp-2); min-height: 20px; font-size: var(--fs-sm); }
181.crumbs a { color: var(--muted); text-decoration: none; }
182.projhead { display: flex; align-items: center; gap: 0.7rem; }
183.projhead h1 { margin: 0; font-size: var(--fs-h); }
184.tile {
185 width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center;
186 background: #e56a93; color: white; font-weight: 700; font-size: 1.2rem;
187}
188.vis { width: 18px; height: 18px; color: var(--muted); }
189.ficon { width: 16px; height: 16px; vertical-align: -2px; margin-right: 0.25rem; }
190.proj { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.2rem; align-items: start; }
191.toolbar { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; margin: 0.9rem 0; flex-wrap: wrap; }
192.toolbar .left, .toolbar .right { display: flex; gap: 0.45rem; align-items: center; flex-wrap: wrap; }
193.branch select { width: auto; border-radius: 8px; padding: 0.35rem 0.5rem; background: #f6f8fa; }
194.pathnow { color: var(--ink); }
195.pathnow a { color: inherit; text-decoration: none; }
196.menu { position: relative; }
197.menu summary { list-style: none; cursor: pointer; }
198.menu summary::-webkit-details-marker { display: none; }
199.menu > summary::after {
200 content: "";
201 width: 0.4rem; height: 0.4rem; margin-left: 0.2rem;
202 border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
203 transform: translateY(-2px) rotate(45deg);
204}
205.menu-panel {
206 position: absolute; right: 0; top: 2.3rem; z-index: 4; width: min(420px, 80vw);
207 background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem;
208 box-shadow: var(--shadow);
209}
210.menu-panel[popover]:popover-open,
211.showid form[popover]:popover-open,
212.stage-pop:popover-open,
213.float-tip:popover-open {
214 position: fixed;
215 inset: auto;
216 margin: 0;
217 width: max-content;
218 max-width: min(420px, calc(100vw - 16px));
219 height: auto;
220}
221.menu-panel[popover]:popover-open {
222 width: min(32rem, calc(100vw - 16px));
223 max-width: min(32rem, calc(100vw - 16px));
224}
225.copyline { display: flex; gap: 0.4rem; }
226.copyline input { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: 0.85rem; }
227.commitbar {
228 display: flex; gap: 0.7rem; align-items: center; background: #f6f8fa;
229 border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.75rem; margin: 0.4rem 0 0.8rem;
230}
231.commitbar .grow { flex: 1; min-width: 0; }
232.commitbar .subject { display: block; font-weight: 650; color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
233.avatar {
234 width: 32px; height: 32px; border-radius: 50%; background: #d5e0ee; color: var(--ink);
235 display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; flex: none;
236}
237img.avatar { object-fit: cover; display: block; }
238.avatar.lg { width: 64px; height: 64px; font-size: 1.35rem; }
239.avatar.xl { width: 96px; height: 96px; font-size: 2rem; }
240a.avatarlink { display: inline-grid; color: inherit; text-decoration: none; line-height: 0; }
241a.avatarlink:hover { text-decoration: none; }
242.usercard {
243 display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
244 gap: 1.1rem; align-items: start; margin: 0.4rem 0 1.1rem;
245}
246.usercard h1, .usercard h2 { margin: 0; }
247.usercard .handle { margin: 0.15rem 0 0.35rem; color: var(--muted); }
248.usercard .bio { margin: 0.15rem 0 0.4rem; white-space: pre-wrap; }
249.usercounts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.15rem; list-style: none; padding: 0; margin: 0.55rem 0 0; }
250.usercounts li { display: flex; flex-direction: column; min-width: 5.5rem; }
251.usercounts strong { font-size: 1.15rem; line-height: 1.2; }
252.usercard-actions { display: flex; flex-direction: column; gap: 0.45rem; align-items: stretch; }
253.commitwho a { color: var(--ink); font-weight: 650; text-decoration: none; }
254.commitwho a:hover { text-decoration: underline; }
255ul.clean li.commitline { display: flex; gap: 0.65rem; align-items: center; }
256.sha { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 0.15rem 0.4rem; }
257table.files { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
258table.files th { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
259table.files td.msg { max-width: 280px; }
260table.files td.msg a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; }
261table.tags { width: 100%; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); border-collapse: collapse; }
262table.tags th, table.tags td { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line); vertical-align: top; }
263table.tags th { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
264table.tags td.acts { white-space: nowrap; }
265table.tags td.acts a { margin-right: 0.55rem; }
266.tagmsg { white-space: pre-wrap; }
267.readme, .codebox, .side {
268 background: white; border: 1px solid var(--line); border-radius: 12px; margin-top: 1rem;
269}
270.readme header, .codebox header { padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); font-weight: 600; }
271.mdbody { padding: 0.2rem 1.1rem 1rem; }
272.mdbody h1, .mdbody h2, .mdbody h3 { margin: 1rem 0 0.4rem; }
273table.md { margin: 0.6rem 0 1rem; }
274table.md th, table.md td { border: 1px solid var(--line); padding: 0.4rem 0.6rem; }
275.side { margin-top: 0.2rem; padding: 0.9rem 1rem; }
276.side h2 { margin: 0 0 0.5rem; font-size: 1rem; }
277.counts { list-style: none; padding: 0; margin: 0.6rem 0; }
278.counts li { padding: 0.28rem 0; }
279.counts a { text-decoration: none; }
280.fileview {
281 display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1rem; align-items: stretch;
282 /* topbalk, padding van main, kruimels en paginatitel */
283 height: calc(100vh - var(--top-h) - 8.25rem); min-height: 18rem;
284}
285.treebox { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
286.treebox h2 { margin: 0 0 0.5rem; font-size: 1.15rem; flex: none; }
287.treebox > input { flex: none; }
288.treelist {
289 list-style: none; padding: 0; margin: 0.5rem 0 0; position: relative;
290 flex: 1 1 auto; min-height: 0; overflow: auto;
291}
292.treelist li { display: flex; align-items: center; gap: 0.15rem; padding: 0.18rem 0.3rem; border-radius: 6px; white-space: nowrap; }
293.treelist li[hidden] { display: none !important; }
294.treelist li a { color: inherit; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
295.treelist li.active { background: #ddf4ff; }
296.treelist .ficon { flex: none; }
297.treelist button.twist, .treelist .twistpad {
298 width: 1rem; height: 1rem; flex: none;
299}
300.treelist button.twist {
301 background: transparent; color: var(--muted); border: 0; box-shadow: none;
302 min-height: 0; padding: 0; border-radius: 3px;
303}
304.treelist button.twist:hover { background: var(--blue-soft); color: var(--ink); }
305.treelist button.twist:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
306.treelist .chevron { width: 0.7rem; height: 0.7rem; display: block; transition: transform 120ms ease; }
307.treelist li.open > button.twist .chevron { transform: rotate(90deg); }
308.treelist li.depth-1 { padding-left: 0.9rem; }
309.treelist li.depth-2 { padding-left: 1.6rem; }
310.treelist li.depth-3 { padding-left: 2.3rem; }
311.treelist li.depth-4 { padding-left: 3rem; }
312.treelist li.depth-5 { padding-left: 3.7rem; }
313.treelist li.depth-6, .treelist li.depth-7, .treelist li.depth-8 { padding-left: 4.4rem; }
314.filecol { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
315.filecol > .toolbar { flex: none; margin-top: 0; }
316.filepane { flex: 1 1 auto; min-height: 0; overflow: auto; }
317.filename { display: flex; align-items: center; gap: 0.35rem; margin: 0.2rem 0 0.6rem; }
318.codebox { margin-top: 0.8rem; overflow: auto; }
319.fileview .codebox { overflow: visible; }
320table.code { border-collapse: collapse; width: 100%; }
321table.code td { border: 0; padding: 0 0.7rem; vertical-align: top; font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45; }
322table.code td.ln { color: #8c959f; text-align: right; width: 1%; user-select: none; background: #f6f8fa; }
323table.code td.src { white-space: pre; }
324.hl-k { color: #8250df; }
325.hl-s { color: #cf222e; }
326.hl-c { color: #6e7781; }
327.hl-n { color: #0550ae; }
328.heat {
329 background: white; border: 1px solid var(--line); border-radius: 16px;
330 padding: 1rem 1.1rem 0.8rem; box-shadow: var(--shadow); margin: 0.4rem 0 1.1rem;
331}
332.heat h2 { margin: 0 0 0.55rem; font-size: 1.05rem; }
333.heat-scroll { overflow-x: auto; padding: 1.7rem 0.2rem 0.15rem; }
334.heat-months, .heat-cols {
335 display: grid; grid-auto-flow: column; grid-auto-columns: 11px; column-gap: 3px;
336}
337.heat-months { margin: 0 0 0.25rem 20px; height: 1rem; font-size: 0.68rem; color: var(--muted); }
338.heat-months span { white-space: nowrap; line-height: 1rem; }
339.heat-body { display: flex; gap: 4px; }
340.heat-dow {
341 display: grid; grid-template-rows: repeat(7, 11px); row-gap: 3px;
342 width: 16px; font-size: 0.65rem; color: var(--muted); line-height: 11px;
343}
344.heat-col { display: grid; grid-auto-rows: 11px; row-gap: 3px; }
345.sq { width: 11px; height: 11px; border-radius: 2px; display: block; position: relative; }
346.sq.off { background: transparent; }
347.sq.lv0 { background: #e6edf5; }
348.sq.lv1 { background: #b9d4f6; }
349.sq.lv2 { background: #6eacf0; }
350.sq.lv3 { background: #1f6feb; }
351.sq.lv4 { background: #0c3f86; }
352.heat-foot {
353 display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
354 margin-top: 0.7rem; color: var(--muted); font-size: 0.85rem;
355}
356.heat-total, .heat-legend, .heat-foot .muted { margin: 0; }
357.heat-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
358.heat-foot .muted { text-align: right; margin-top: 0.2rem; }
359.chooser { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.2rem 0 0.4rem; transition: opacity .28s ease, transform .28s ease; }
360.chooser.away { opacity: 0; transform: translateY(-10px) scale(.97); pointer-events: none; }
361.pick { min-width: 11rem; padding: 1rem 1.3rem; font-size: 1.05rem; }
362.sheet { transform-origin: top center; }
363.sheet.open { animation: unfold .32s ease; }
364.sheet.closing { animation: fold .28s ease forwards; }
365@keyframes unfold {
366 from { opacity: 0; transform: scaleY(.55); }
367 to { opacity: 1; transform: scaleY(1); }
368}
369@keyframes fold {
370 from { opacity: 1; transform: scaleY(1); }
371 to { opacity: 0; transform: scaleY(.45); }
372}
373.flag.ok { color: var(--ok); font-weight: 600; }
374.flag.bad { color: var(--bad); font-weight: 600; }
375.form-err:empty { display: none; }
376.form-err { color: var(--bad); margin: 0.2rem 0; }
377.bar { display: flex; gap: .6rem; align-items: center; margin: .4rem 0 .2rem; }
378.bar input[type="search"] { flex: 1; }
379.sortlabel { color: var(--muted); }
380.iconbtn, .copyline button {
381 text-decoration: none; background: white; color: var(--ink);
382 border: 1px solid var(--line); border-radius: var(--radius);
383 min-height: var(--control-h); padding: 0 var(--sp-2); cursor: pointer; font: inherit;
384}
385.repolist { list-style: none; padding: 0; margin: .4rem 0 1rem; }
386.repolist > li { display: flex; align-items: center; gap: .7rem; padding: .75rem .2rem; border-bottom: 1px solid var(--line); }
387.reponame { font-weight: 600; text-decoration: none; }
388.stars { color: #9a6700; white-space: nowrap; }
389.grown { flex: 1; }
390.rowmenu { position: relative; }
391.rowmenu > summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; padding: .15rem .55rem; background: white; }
392.rowmenu > summary::-webkit-details-marker { display: none; }
393.rowmenu .menu-panel { position: absolute; right: 0; z-index: 3; min-width: 9rem; }
394.rowmenu .menu-panel button, .rowmenu .menu-panel form { width: 100%; }
395.rowmenu .menu-panel button { text-align: left; border-radius: 8px; }
396img.tile { object-fit: cover; background: #fff; }
397@font-face {
398 font-family: "Noto Sans Cuneiform";
399 src: url("/assets/NotoSansCuneiform-Regular.ttf") format("truetype");
400 font-display: swap;
401}
402html.cunei, html.cunei body, html.cunei button, html.cunei input, html.cunei select, html.cunei textarea {
403 font-family: "Noto Sans Cuneiform", "Segoe UI", sans-serif;
404}
405.applybar {
406 position: sticky; top: 0; z-index: 6; display: flex; justify-content: flex-end;
407 padding: 0.45rem 0; background: rgba(243, 246, 251, 0.94);
408}
409.applybar[hidden] { display: none; }
410.sugmodal {
411 border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem;
412 width: min(32rem, 92vw); box-shadow: var(--shadow);
413}
414.sugmodal::backdrop { background: rgba(20, 32, 51, 0.45); }
415.sugmodal h2 { margin: 0 0 0.4rem; }
416.diff {
417 background: white; border: 1px solid var(--line); border-radius: 12px;
418 overflow: auto; user-select: none; margin: 0.4rem 0 1rem;
419}
420.difffile + .difffile { border-top: 1px solid var(--line); }
421.difffile header {
422 padding: 0.5rem 0.75rem; background: #f6f8fa; border-bottom: 1px solid var(--line); font-weight: 650;
423}
424.diffline {
425 position: relative; display: grid; grid-template-columns: 16px 3.2rem minmax(0, 1fr);
426 font-family: ui-monospace, monospace; font-size: 0.84rem; line-height: 1.5;
427}
428.diffline code { white-space: pre; padding: 0 0.7rem 0 0.35rem; }
429.diffline .ln { color: #8c959f; text-align: right; padding-right: 0.45rem; }
430.gutter { background: #eef2f7; cursor: ns-resize; }
431.gutter.off { background: transparent; cursor: default; }
432.kind-add { background: #e6ffec; }
433.kind-del { background: #ffebe9; }
434.kind-hunk { color: #8c959f; background: #f6f8fa; }
435.diffline.picked { box-shadow: inset 3px 0 0 var(--blue); }
436.diffline.picked .gutter { background: #bfdbfe; }
437.linenote, .lineform {
438 margin: 0.35rem 0.6rem 0.55rem 2.6rem; background: #f6f8fa;
439 border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.7rem;
440}
441.linenote pre.note, ul.clean pre.note {
442 background: white; color: var(--ink); border: 1px solid var(--line); margin: 0.35rem 0;
443}
444label.sugcheck { display: flex; align-items: center; gap: 0.45rem; }
445label.sugcheck input { width: auto; }
446.bubble {
447 position: absolute; left: 18px; top: 0.15rem; z-index: 3;
448 width: 28px; height: 28px; padding: 0; border-radius: 8px;
449 background: white; border: 1px solid var(--line); box-shadow: var(--shadow);
450}
451.bubble-icon {
452 width: 14px; height: 10px; border: 2px solid var(--blue); border-radius: 7px;
453 display: inline-block; position: relative; background: white;
454}
455.bubble-icon::after {
456 content: ""; position: absolute; left: 2px; bottom: -6px;
457 border-width: 6px 5px 0 0; border-style: solid;
458 border-color: var(--blue) transparent transparent transparent;
459}
460.pipebar { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; margin: 0.4rem 0 1rem; }
461.pipe-filter {
462 display: flex; align-items: stretch; flex: 1; max-width: 42rem;
463 border: 1px solid var(--line); border-radius: 8px; background: white; overflow: hidden;
464}
465.pipe-filter input { border: 0; border-radius: 0; width: 100%; }
466.pipe-filter button.iconbtn {
467 width: 2.6rem; border: 0; border-left: 1px solid var(--line); border-radius: 0;
468 background: white; color: var(--ink); padding: 0;
469}
470.showid { position: relative; }
471.showid summary {
472 list-style: none; cursor: pointer; background: white; color: var(--ink);
473 border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.75rem;
474}
475.showid summary::-webkit-details-marker { display: none; }
476.showid summary::after { content: "▾"; margin-left: 0.45rem; color: var(--muted); }
477.showid form {
478 position: absolute; right: 0; top: calc(100% + 6px); z-index: 6;
479 display: flex; gap: 0.4rem; width: 18rem; padding: 0.6rem;
480 background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
481}
482.showid form[popover]:not(:popover-open) { display: none; }
483.showid form[popover]:popover-open { display: flex; width: min(18rem, calc(100vw - 16px)); }
484.showid form input { width: auto; flex: 1; }
485table.pipes td { padding: var(--sp-2) var(--sp-3); }
486table.pipes .pipeid { font-weight: 700; }
487.ellip { display: block; max-width: 28rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
488.chips { display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; margin-top: 0.28rem; }
489.chip {
490 display: inline-flex; align-items: center; gap: 0.15rem;
491 background: #eef2f7; color: var(--ink); text-decoration: none;
492 border-radius: 999px; padding: 0.05rem 0.5rem; font-size: 0.78rem;
493}
494.when { display: flex; align-items: center; gap: 0.3rem; color: var(--muted); font-size: 0.82rem; margin-top: 0.18rem; }
495svg.ico { width: 14px; height: 14px; flex: none; }
496.avatar.sm { width: 20px; height: 20px; font-size: 0.68rem; }
497.status {
498 display: inline-flex; align-items: center; gap: 0.32rem;
499 border-radius: 999px; padding: 0.12rem 0.55rem 0.12rem 0.28rem;
500 font-weight: 650; font-size: 0.84rem; background: #eef2f7; color: var(--ink);
501}
502.status.passed { background: #e5f6ec; color: #146c43; }
503.status.failed { background: #fde8e8; color: #9f2d2d; }
504.status.warning { background: #fff4e0; color: #8a5a00; }
505.status.running { background: #e7f0ff; color: #1f6feb; }
506.status.canceled { background: #f3f0f0; color: #57606a; }
507.mark { position: relative; width: 16px; height: 16px; border-radius: 50%; display: inline-block; flex: none; background: #8c959f; }
508.status.passed .mark, .stage-dot.passed .mark { background: #1aaa55; }
509.status.failed .mark, .stage-dot.failed .mark { background: #dd2b0e; }
510.status.warning .mark, .stage-dot.warning .mark { background: #c17d10; }
511.status.running .mark, .stage-dot.running .mark { background: #1f75cb; }
512.status.canceled .mark, .stage-dot.canceled .mark { background: #8c959f; }
513.passed .mark::after {
514 content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px;
515 border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
516}
517.failed .mark::before, .failed .mark::after {
518 content: ""; position: absolute; left: 3px; top: 7px; width: 10px; height: 2px; background: #fff;
519}
520.failed .mark::before { transform: rotate(45deg); }
521.failed .mark::after { transform: rotate(-45deg); }
522.warning .mark::before {
523 content: ""; position: absolute; left: 7px; top: 3px; width: 2px; height: 6px; background: #fff;
524}
525.warning .mark::after {
526 content: ""; position: absolute; left: 7px; top: 11px; width: 2px; height: 2px; background: #fff;
527}
528.skipped .mark::after, .canceled .mark::after {
529 content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 2px; background: #fff;
530}
531.status.pending .mark, .status.created .mark,
532.stage-dot.pending .mark, .stage-dot.created .mark {
533 background: transparent;
534 box-shadow: inset 0 0 0 2px #8c959f;
535}
536.running .mark::after {
537 content: ""; position: absolute; left: 3px; top: 3px; width: 10px; height: 10px;
538 border: 2px solid #fff; border-radius: 50%; border-right-color: transparent; box-sizing: border-box;
539 animation: spin 0.8s linear infinite;
540}
541.stage-dot.sm.running .mark::after { left: 2px; top: 2px; width: 8px; height: 8px; }
542@keyframes spin { to { transform: rotate(1turn); } }
543@media (prefers-reduced-motion: reduce) {
544 .running .mark::after { animation: none; }
545}
546.commitbar a.status { flex: none; text-decoration: none; }
547.headpipe { display: flex; align-items: center; gap: 0.45rem; flex: none; }
548.headpipe [data-pipe-duration] { font-variant-numeric: tabular-nums; }
549.stages { display: flex; align-items: center; }
550.mrpipe { display: flex; align-items: center; gap: 0.8rem; margin: 0.2rem 0 1rem; }
551.danger-modal {
552 border: 6px solid #a31212;
553 background: #fde8e8;
554 color: #6d1212;
555 width: min(92vw, 52rem);
556 padding: 2.2rem 2rem;
557 border-radius: 16px;
558}
559.danger-modal::backdrop { background: rgba(80, 8, 8, 0.55); }
560.danger-modal p { font-size: 1.7rem; line-height: 1.45; margin: 0 0 1.2rem; }
561.danger-modal [data-transfer-submit], .danger-modal [data-tag-submit] { background: #a31212; color: #fff; }
562.danger-modal [data-transfer-submit]:disabled { opacity: 0.45; }
563.stage { position: relative; display: flex; align-items: center; }
564.stage + .stage::before { content: ""; width: 14px; height: 2px; background: #c5d0dc; margin: 0 2px; }
565button.stage-dot {
566 width: 26px; height: 26px; min-height: 0; padding: 0; border: 0; border-radius: 50%;
567 background: transparent; display: grid; place-items: center; position: relative;
568}
569.stage.open button.stage-dot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1f75cb; }
570.float-tip {
571 border: 0; padding: 0.28rem 0.5rem; border-radius: 6px;
572 background: #24292f; color: white; font-size: 0.75rem; font-weight: 600;
573 line-height: 1.2; white-space: nowrap; pointer-events: none;
574}
575.float-tip.heat { background: #142033; font-size: 0.78rem; font-weight: 400; }
576.stage-pop {
577 min-width: min(220px, calc(100vw - 16px));
578 background: white; border: 1px solid var(--line); border-radius: 8px;
579 box-shadow: var(--shadow); padding: 0.7rem 0.85rem;
580}
581.stage-pop ul { list-style: none; margin: 0.35rem 0 0; padding: 0; }
582.stage-pop a, .related a { display: flex; align-items: center; gap: 0.4rem; text-decoration: none; padding: 0.22rem 0; color: var(--ink); }
583.queue { color: var(--muted); font-weight: 500; }
584.stage-dot.sm { width: 16px; height: 16px; display: inline-grid; place-items: center; }
585.stage-dot.sm .mark { width: 14px; height: 14px; }
586.stage-dot.sm.passed .mark::after { left: 4px; top: 2px; width: 3px; height: 6px; }
587.jobhead { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
588.joblayout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1rem; align-items: start; }
589.console-wrap { border: 1px solid #2a2a2a; border-radius: 8px; overflow: hidden; background: #1e1e1e; }
590.conbar {
591 display: flex; justify-content: space-between; gap: 0.6rem; align-items: center; flex-wrap: wrap;
592 background: #f6f8fa; padding: 0.45rem 0.55rem; border-bottom: 1px solid var(--line);
593}
594.conbar .pipe-filter { max-width: none; flex: 1; min-width: 12rem; }
595.contools { display: flex; gap: 0.3rem; align-items: center; flex-wrap: wrap; }
596.contools .ghost, .contools a.ghost { padding: 0.3rem 0.55rem; background: white; }
597.console {
598 color: #e6edf3; font-family: ui-monospace, monospace; font-size: 0.82rem;
599 max-height: 68vh; overflow-x: hidden; overflow-y: auto; padding: 0.35rem 0 0.8rem;
600}
601.console.nowrap { overflow-x: auto; }
602.console code { min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
603.console.nowrap code { white-space: pre; overflow-wrap: normal; }
604.ansi-bold { font-weight: 700; }
605.ansi-dim { opacity: 0.65; }
606.ansi-italic { font-style: italic; }
607.ansi-underline { text-decoration: underline; }
608.ansi-fg-black { color: #6e7681; }
609.ansi-fg-red { color: #ff7b72; }
610.ansi-fg-green { color: #3fb950; }
611.ansi-fg-yellow { color: #d29922; }
612.ansi-fg-blue { color: #79c0ff; }
613.ansi-fg-magenta { color: #d2a8ff; }
614.ansi-fg-cyan { color: #56d4dd; }
615.ansi-fg-white { color: #f0f6fc; }
616.ansi-fg-bright-black { color: #8b949e; }
617.ansi-fg-bright-red { color: #ffa198; }
618.ansi-fg-bright-green { color: #56d364; }
619.ansi-fg-bright-yellow { color: #e3b341; }
620.ansi-fg-bright-blue { color: #a5d6ff; }
621.ansi-fg-bright-magenta { color: #e2c5ff; }
622.ansi-fg-bright-cyan { color: #7ee7ef; }
623.ansi-fg-bright-white { color: #ffffff; }
624.ansi-bg-black { background: #1c2128; }
625.ansi-bg-red { background: #6e2b29; }
626.ansi-bg-green { background: #1f4d32; }
627.ansi-bg-yellow { background: #5c4a1f; }
628.ansi-bg-blue { background: #1f3b5c; }
629.ansi-bg-magenta { background: #4a2d5c; }
630.ansi-bg-cyan { background: #1c4a4e; }
631.ansi-bg-white { background: #d0d7de; color: #1c2128; }
632.ansi-bg-bright-black { background: #2d333b; }
633.ansi-bg-bright-red { background: #8a3834; }
634.ansi-bg-bright-green { background: #2a6b3c; }
635.ansi-bg-bright-yellow { background: #7a641f; }
636.ansi-bg-bright-blue { background: #2a5580; }
637.ansi-bg-bright-magenta { background: #684080; }
638.ansi-bg-bright-cyan { background: #2a666c; }
639.ansi-bg-bright-white { background: #f0f6fc; color: #1c2128; }
640.lognote { margin: 0.2rem 0.8rem 0.45rem; color: #8b949e; font-family: inherit; }
641.logline, .logsec ol li {
642 display: grid; grid-template-columns: 3rem 5.4rem minmax(0, 1fr);
643 gap: 0.45rem; padding: 0 0.7rem; line-height: 1.45; min-width: 0;
644}
645.logsec ol { list-style: none; margin: 0; padding: 0; display: none; }
646.logsec.open ol { display: block; }
647.ln, .ts { color: #8b949e; }
648.ln { text-align: right; }
649.logline.hit, .logsec li.hit { background: #3d3416; }
650.logline.hit.on, .logsec li.hit.on { background: #6b5710; }
651button.section-toggle {
652 position: sticky; left: 0; z-index: 2; box-sizing: border-box;
653 width: 100%; max-width: 100%;
654 min-height: 0; background: #1e1e1e; color: #9ecbff; border: 0; border-radius: 0;
655 display: flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.7rem; text-align: left; font-weight: 650;
656}
657.section-toggle .sectitle { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
658.section-toggle .pill { flex: none; margin-left: auto; background: #2d333b; color: #d0d7de; border-color: #444c56; }
659.contools .ghost[aria-pressed="true"] { background: var(--blue-soft); color: var(--blue-deep); border-color: var(--blue); }
660.chev {
661 width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
662 border-left: 6px solid currentColor; display: inline-block;
663}
664.logsec.open .chev { transform: rotate(90deg); }
665.console-wrap:fullscreen { display: flex; flex-direction: column; background: #111; border-radius: 0; }
666.console-wrap:fullscreen .console { max-height: none; flex: 1; }
667.console-wrap.full { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; border-radius: 0; }
668.console-wrap.full .console { max-height: none; flex: 1; }
669.jobside {
670 background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem;
671}
672.jobside dt { color: var(--muted); font-size: 0.78rem; margin-top: 0.7rem; }
673.jobside dd { margin: 0.12rem 0 0; }
674.jobside h2 { font-size: 0.95rem; margin: 0.9rem 0 0.3rem; }
675.related { list-style: none; margin: 0; padding: 0; }
676.related li { display: flex; align-items: center; gap: 0.3rem; }
677.related .arrow { width: 1rem; color: var(--muted); }
678.editorhead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.7rem; }
679.editorhead h2 { margin: 0; font-size: 1.15rem; }
680.editorhead .status { margin: 0; }
681.ciedit {
682 display: grid; grid-template-columns: 3.2rem minmax(0, 1fr);
683 border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white;
684}
685.ci-gutter {
686 overflow: hidden; background: #f6f8fa; color: #8c959f; text-align: right;
687 font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45;
688 padding: 0.55rem 0.45rem; user-select: none;
689}
690.ci-gutter span { display: block; }
691.ci-gutter span.bad { background: #fde8e8; color: var(--bad); font-weight: 700; }
692.ci-stage { position: relative; display: grid; align-items: stretch; }
693.ci-back, .ciedit textarea {
694 grid-area: 1 / 1;
695 font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45;
696 padding: 0.55rem 0.7rem; margin: 0; white-space: pre; tab-size: 2;
697}
698.ci-back { position: relative; overflow: hidden; color: var(--ink); pointer-events: none; }
699.codeline { min-height: 1.45em; }
700.codeline.bad { background: #fff5f5; }
701.ciedit textarea {
702 position: relative; width: 100%; height: auto; align-self: stretch; border: 0; border-radius: 0;
703 background: transparent; color: transparent; caret-color: var(--ink); resize: none; overflow: auto;
704}
705.ciedit textarea::selection { background: rgba(31, 111, 235, 0.25); }
706.ci-issues { list-style: none; padding: 0; margin: 0.7rem 0 0; }
707.ci-issues li.bad { color: var(--bad); }
708.ci-issues li.warn { color: #8a5a00; }
709.hero h1 { font-size: 32px; }
710.mdbody h1 { font-size: 24px; }
711.sidecontext .tile { width: 32px; height: 32px; font-size: 1rem; }
712.filename { font-size: 16px; font-weight: 600; }
713@media (max-width: 960px) {
714 .frame.with-side { flex-direction: column; align-items: stretch; }
715 .sidenav, .content { width: 100%; max-width: 100%; min-width: 0; }
716 .sidenav {
717 position: sticky; top: var(--top-h); height: auto;
718 border-right: 0; border-bottom: 1px solid var(--line); z-index: 20;
719 }
720 .sidenav-links {
721 flex-direction: row; overflow-x: auto; min-width: 0; padding: 0 var(--sp-2);
722 scrollbar-width: none;
723 }
724 .sidenav-links::-webkit-scrollbar { display: none; }
725 .sidenav-links a {
726 flex: none; white-space: nowrap; margin: 0; border-radius: 0;
727 box-shadow: inset 0 -2px 0 transparent; padding: var(--sp-2) var(--sp-3);
728 }
729 .sidenav-links a.on { background: transparent; font-weight: 400; box-shadow: inset 0 -2px 0 var(--blue); }
730}
731.spec h2 { scroll-margin-top: calc(var(--top-h) + 12px); margin: 1.6rem 0 0.6rem; }
732.spec .lead { margin-top: 0; }
733.spec-example {
734 background: #142033; color: #e7f0ff; border-radius: var(--radius-lg);
735 padding: 0.85rem 1rem; overflow: auto; font-family: var(--mono); font-size: 0.88rem;
736 line-height: 1.45;
737}
738.spec-table { width: 100%; border-collapse: collapse; background: var(--card); }
739.spec-table th, .spec-table td {
740 border-bottom: 1px solid var(--line); text-align: left; vertical-align: top;
741 padding: 0.45rem 0.7rem;
742}
743.spec-table th { font-size: var(--fs-sm); color: var(--muted); font-weight: 650; }
744.spec-table code { font-family: var(--mono); font-size: 0.92em; }
745.spec-list { margin: 0.2rem 0 0; padding-left: 1.2rem; }
746.spec-list li { margin: 0.35rem 0; }
747main.wide:has(.commitpage) { width: min(100%, 1440px); max-width: 1440px; }
748.commithead h1 { white-space: normal; overflow-wrap: anywhere; }
749pre.commitmsg {
750 background: var(--card); color: var(--ink); border: 1px solid var(--line);
751 white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 var(--sp-3);
752}
753.commitmeta { margin-top: 0; }
754.commitfacts { display: grid; gap: 0.55rem; margin: 0.9rem 0 0; }
755.commitfacts div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.7rem; align-items: center; }
756.commitfacts dt, .commitfacts dd { margin: 0; }
757.commitfacts dt { color: var(--muted); }
758.commitfacts code.sha { word-break: break-all; }
759.commitfacts .parents { display: flex; flex-wrap: wrap; gap: 0.45rem; }
760.commitfacts a.status { text-decoration: none; width: fit-content; }
761.diffbar { margin-top: 0; }
762.diffswitch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; flex: none; }
763.diffswitch button { background: white; color: var(--ink); border: 0; border-radius: 0; min-width: 7.5rem; }
764.diffswitch button + button { border-left: 1px solid var(--line); }
765.commitdiff[data-mode="inline"] [data-diff-mode="inline"],
766.commitdiff[data-mode="side"] [data-diff-mode="side"] { background: var(--blue-soft); color: var(--blue-deep); }
767.commitlayout { display: grid; grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr); gap: 1rem; align-items: start; }
768.commitfiles {
769 position: sticky; top: calc(var(--top-h) + 8px); max-height: calc(100vh - var(--top-h) - 16px);
770 overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
771 padding: 0.7rem 0.75rem;
772}
773.commitfiles h2 { margin: 0 0 0.4rem; font-size: var(--fs-sm); color: var(--muted); }
774.commitfiles ul { list-style: none; margin: 0; padding: 0; }
775.commitfiles li {
776 display: flex; align-items: center; gap: 0.35rem; min-height: 1.7rem;
777 font-variant-numeric: tabular-nums;
778}
779.commitfiles li.d1 { padding-left: 0.9rem; }
780.commitfiles li.d2 { padding-left: 1.8rem; }
781.commitfiles li.d3 { padding-left: 2.7rem; }
782.commitfiles li.d4 { padding-left: 3.6rem; }
783.commitfiles li.d5 { padding-left: 4.5rem; }
784.commitfiles li.d6 { padding-left: 5.4rem; }
785.commitfiles li.d7 { padding-left: 6.3rem; }
786.commitfiles li.d8 { padding-left: 7.2rem; }
787.commitfiles a { display: inline-flex; align-items: center; min-width: 0; color: inherit; text-decoration: none; }
788.commitfiles .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
789.addstat { color: var(--ok); font-variant-numeric: tabular-nums; }
790.delstat { color: var(--bad); font-variant-numeric: tabular-nums; }
791.commitdiffs { min-width: 0; }
792.commitfile {
793 background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
794 margin: 0 0 0.8rem; scroll-margin-top: calc(var(--top-h) + 12px); min-width: 0;
795}
796.commitfile > header {
797 display: flex; align-items: center; gap: 0.5rem; min-height: 44px;
798 padding: 0.35rem 0.7rem; background: #f6f8fa; border-bottom: 1px solid var(--line);
799 border-radius: var(--radius-lg) var(--radius-lg) 0 0; position: sticky; top: var(--top-h); z-index: 2;
800}
801.commitfile > header .path { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
802.commitfile > header .oldpath { color: var(--muted); text-decoration: line-through; }
803.commitfile > header .counts { flex: none; }
804.commitfile > header button[data-toggle-diff] { flex: none; min-width: 7.5rem; }
805.commitfile[data-collapsed="1"] > header { border-bottom: 0; border-radius: var(--radius-lg); }
806.commitfile[data-collapsed="1"] .diffbody { display: none; }
807.commitdiff[data-mode="inline"] .split { display: none; }
808.commitdiff[data-mode="side"] .unified { display: none; }
809.commitline, .half {
810 display: grid; grid-template-columns: 3.2rem 3.2rem minmax(0, 1fr);
811 font-family: var(--mono); font-size: 0.84rem; line-height: 1.45; min-width: 0;
812}
813.half { grid-template-columns: 3.2rem minmax(0, 1fr); }
814.commitline code, .half code {
815 display: block; white-space: pre; overflow-x: auto; min-width: 0;
816 padding: 0 0.7rem; font-family: inherit;
817}
818.commitline .ln, .half .ln { color: #8c959f; text-align: right; padding: 0 0.45rem; user-select: none; }
819.commitline.kind-add, .half.kind-add { background: #e6ffec; }
820.commitline.kind-del, .half.kind-del { background: #ffebe9; }
821.commitline.kind-hunk { grid-template-columns: minmax(0, 1fr); color: #8c959f; background: #f6f8fa; }
822.half.kind-empty { background: #f6f8fa; }
823.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
824.pair .half + .half { border-left: 1px solid var(--line); }
825.binaryhint { margin: 0; padding: 0.8rem 0.9rem; }
826a.btn { text-decoration: none; }
827.branchsearch { display: block; margin: 0 0 0.8rem; }
828.branchsearch input { width: min(100%, 24rem); }
829.branchtable { width: 100%; border-collapse: collapse; background: var(--card); }
830.branchtable th, .branchtable td {
831 border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle;
832 padding: 0.45rem 0.7rem; height: 3rem;
833}
834.branchtable th { font-size: var(--fs-sm); color: var(--muted); font-weight: 650; }
835.branchtable .nums, .branchtable .addstat, .branchtable .delstat { font-variant-numeric: tabular-nums; white-space: nowrap; }
836.branchacts { white-space: nowrap; width: 1%; }
837.branchline { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 0.3rem; }
838.branchline .tiny, .tiny-menu > summary {
839 min-height: 1.7rem; padding: 0 0.45rem; font-size: var(--fs-sm);
840 background: white; color: var(--ink); border: 1px solid var(--line);
841 border-radius: var(--radius); text-decoration: none; line-height: 1.2;
842}
843.tiny-menu > summary { display: inline-flex; align-items: center; }
844.mrlinks { white-space: nowrap; }
845.mrlinks a + a { margin-left: 0.35rem; }
846.branchtable .subject {
847 display: inline-block; max-width: 16rem; overflow: hidden;
848 text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
849}
850.when-short { white-space: nowrap; }
851.mergewhy {
852 border: 1px solid var(--line); border-radius: var(--radius);
853 padding: 0.7rem 0.9rem; margin: 0.6rem 0; background: #fff8f0;
854}
855.mergewhy p { margin: 0; font-weight: 650; }
856.mergewhy ul { margin: 0.35rem 0 0; }
857.force-merge { margin: 0.4rem 0 1rem; }
858.force-merge .check { display: flex; gap: 0.4rem; align-items: center; margin: 0.4rem 0; }
859.branch-dialog {
860 border: 0; border-radius: var(--radius-lg); padding: 1.2rem 1.3rem;
861 max-width: 32rem; width: calc(100% - 2rem);
862}
863.branch-dialog::backdrop { background: rgba(8, 16, 32, 0.45); }
864.branch-dialog p { min-height: 1.5rem; }
865.mdbox { margin: 0 0 0.8rem; }
866.mdtabs { display: flex; min-height: 2.4rem; }
867.mdtabs button { background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 0; }
868.mdtabs button + button { border-left: 0; }
869.mdtabs button[aria-selected="true"] { background: var(--blue-soft); color: var(--blue-deep); }
870.mdbox [data-md-write] textarea,
871.mdbox [data-md-preview] {
872 display: block; width: 100%; height: 9rem; min-height: 9rem; max-height: 9rem;
873 overflow: auto; box-sizing: border-box; margin: 0;
874}
875.fieldlabel { margin: 0.6rem 0 0.3rem; }
876.timeline { list-style: none; margin: 0; padding: 0; }
877.timeline > li {
878 border-left: 2px solid var(--line); margin: 0 0 0 0.4rem; padding: 0.35rem 0 0.8rem 0.9rem;
879 min-height: 2.4rem;
880}
881.timeline .pushlist, .reply {
882 background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
883 padding: 0.45rem 0.7rem; margin: 0.35rem 0;
884}
885.commitline.with-gutter { grid-template-columns: 16px 3.2rem 3.2rem minmax(0, 1fr); }
886.commitline.with-gutter.kind-hunk { grid-template-columns: minmax(0, 1fr); }
887.commitline.picked { box-shadow: inset 3px 0 0 var(--blue); }
888tr[hidden] { display: none; }
889@media (max-width: 900px) {
890 .commitlayout { grid-template-columns: minmax(0, 1fr); }
891 .commitfiles { position: static; max-height: 16rem; }
892}
893form.wh .secret-custom { display: none; }
894form.wh.secret-ready .secret-native {
895 position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
896 overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
897}
898form.wh.secret-ready .secret-custom { display: block; }
899.secret-pick { position: relative; }
900.secret-toggle {
901 width: 100%; justify-content: flex-start;
902 background: var(--card); color: var(--ink); border: 1px solid var(--line);
903}
904.secret-menu {
905 margin: 0; padding: var(--sp-2); border: 1px solid var(--line);
906 border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
907 max-height: 16rem; overflow: auto;
908}
909.secret-menu ul { list-style: none; margin: 0; padding: 0; }
910.secret-menu li[hidden] { display: none; }
911.secret-menu li button {
912 width: 100%; justify-content: space-between;
913 background: transparent; color: var(--ink); border: 0;
914}
915.secret-menu li button:hover { background: var(--blue-soft); }
916.secret-menu input { width: 100%; margin-bottom: var(--sp-2); }
917button.tiny, a.tiny, summary.tiny {
918 min-height: 1.75rem; padding: 0 0.55rem; font-size: 0.82rem; width: auto;
919}
920button.fit, a.fit { width: auto; }
921summary.ghost {
922 background: transparent; color: var(--ink); border: 1px solid var(--line);
923 border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center;
924 font: inherit; cursor: pointer; list-style: none;
925}
926summary.ghost::-webkit-details-marker { display: none; }
927.acts { display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; }
928.acts > * { flex: none; }
929.evgrid {
930 display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
931 gap: 0.2rem 0.8rem; margin: 0.35rem 0 0.6rem;
932}
933.evgrid label { margin: 0; }
934form.wh textarea, form.secret textarea, .hooktable textarea { min-height: 4.5rem; }
935form.wh .grid-2 label { margin-top: 0; }
936.urlclip {
937 display: inline-block; max-width: 16rem; overflow: hidden;
938 text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
939}
940.hooktable { background: var(--card); }
941.hooktable .pill { display: inline-block; margin: 0 0.25rem 0.25rem 0; }
942.hooktable details[open] > form { display: block; margin-top: 0.45rem; min-width: 16rem; white-space: normal; }
943.secretvalue { display: block; margin-top: 0.35rem; white-space: pre-wrap; word-break: break-all; font-family: var(--mono); }
944
945@media (max-width: 800px) {
946 .proj, .fileview, .joblayout { grid-template-columns: minmax(0, 1fr); }
947 .proj > *, .fileview > *, .toolbar, .commitbar, .hscroll { min-width: 0; max-width: 100%; }
948 .fileview { height: auto; min-height: 0; }
949 .fileview .treelist { max-height: 40vh; flex: none; }
950 .fileview .filepane { overflow: visible; }
951 .fileview .codebox { overflow: auto; }
952 .heat-foot { flex-direction: column; align-items: flex-start; }
953 .heat-legend, .heat-foot .muted { justify-content: flex-start; text-align: left; }
954 .repolist > li { flex-wrap: wrap; }
955 .usercard { grid-template-columns: auto minmax(0, 1fr); }
956 .usercard-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
957 .pagehead { align-items: flex-start; }
958 .pageacts { flex-wrap: wrap; justify-content: flex-end; }
959 .mrwidget .rowline { align-items: flex-start; }
960 .sub { flex-wrap: nowrap; overflow-x: auto; }
961}
962.issuelist { list-style: none; margin: 0; padding: 0; }
963.issuelist > li { border-bottom: 1px solid var(--line); padding: 0.6rem 0; min-height: 2.4rem; }
964.lab { display: inline-block; color: #fff; border-radius: 999px; padding: 0.05rem 0.45rem; font-size: 0.78rem; margin: 0 0.2rem; }
965.issue-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin: 0.4rem 0; }
966.checks label { display: block; margin: 0.2rem 0; }
967.mrhead { margin: 0 0 var(--sp-4); }
968.mrhead h1 { margin: 0.35rem 0 0.15rem; overflow-wrap: anywhere; }
969.mrbadges { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin: 0; }
970.mrstate {
971 display: inline-flex; align-items: center; border-radius: 999px;
972 padding: 0.18rem 0.7rem; font-weight: 650; font-size: 0.84rem;
973}
974.mrstate.open { background: #e5f6ec; color: #146c43; }
975.mrstate.merged { background: var(--blue-soft); color: var(--blue-deep); }
976.mrstate.closed { background: #fde8e8; color: var(--bad); }
977.mrmeta { color: var(--muted); margin: 0.15rem 0 0.45rem; }
978.mrwant { margin: 0.2rem 0; line-height: 1.9; }
979.mrwant span:empty { display: none; }
980.mrwant a.who {
981 display: inline-flex; align-items: center; gap: 0.35rem; vertical-align: middle;
982 margin-right: 0.15rem; font-weight: 650; color: var(--ink); text-decoration: none;
983}
984.mrwant a.who:hover { text-decoration: underline; }
985.branchchip {
986 display: inline-flex; align-items: center; gap: 0.1rem; max-width: 100%;
987 background: #f6f8fa; border: 1px solid var(--line); border-radius: 6px;
988 padding: 0 0.1rem 0 0.4rem; vertical-align: middle;
989}
990.branchchip code { font-size: 0.85rem; overflow-wrap: anywhere; }
991.branchchip button.copy {
992 border: 0; background: transparent; color: var(--muted); cursor: pointer;
993 font: inherit; font-size: 0.78rem; min-height: 1.6rem; padding: 0 0.4rem;
994}
995.mrchips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.35rem 0 0; }
996.mrwidget {
997 background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
998 margin: var(--sp-3) 0 var(--sp-4);
999}
1000.mrwidget .rowline {
1001 display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem;
1002 padding: 0.75rem 1rem; border-bottom: 1px solid var(--line);
1003}
1004.mrwidget .rowline:last-child { border-bottom: 0; }
1005.mrwidget h2 { margin: 0; font-size: 0.95rem; flex: none; }
1006.mrwidget .mrpipe { margin: 0; min-width: 0; }
1007.mrwidget .checks { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
1008.mrwidget .checks label { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0; }
1009.mrwidget .checks label:last-child { flex: 1 1 100%; display: block; }
1010.mrwidget textarea { min-height: 4.5rem; }
1011.mrwidget form { margin: 0; }
1012.revblock { flex: 1 1 16rem; min-width: 0; }
1013.mrreviews { list-style: none; padding: 0; margin: 0 0 0.35rem; }
1014.mrreviews li { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; padding: 0.15rem 0; }
1015.mrreviews form { margin: 0; }
1016.mergeacts { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
1017.mergedby { margin: 0; }
1018.mergedby .branchchip { margin-left: 0.45rem; vertical-align: middle; }
1019.sub .count {
1020 display: inline-block; margin-left: 0.3rem; background: #eef2f7; color: var(--muted);
1021 border-radius: 999px; padding: 0 0.4rem; font-size: 0.75rem; font-weight: 650;
1022}
1023.sub a.on .count { background: #fff; color: var(--blue-deep); }
1024.taskcount { margin: 0.7rem 0 0.2rem; font-size: 0.9rem; }
1025ul.tasks { list-style: none; padding-left: 0.1rem; }
1026ul.tasks > li { display: flex; align-items: flex-start; gap: 0.35rem; margin: 0.25rem 0; }
1027.taskform { display: inline-flex; margin: 0; }
1028button.taskbox {
1029 min-height: 1.1rem; width: 1.1rem; height: 1.1rem; padding: 0;
1030 background: var(--card); color: var(--ink); border: 1px solid var(--ink); border-radius: 3px;
1031 font-size: 0.75rem;
1032}
1033button.taskbox.on { background: var(--blue); color: #fff; border-color: var(--blue); }
1034input.tasktick { margin: 0.15rem 0.35rem 0 0; }