BlueGit

timfa bluegit

Files

bluegit / internal / server / static / style.css

style.css

style.css 42.8 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.commitwho a { color: var(--ink); font-weight: 650; text-decoration: none; }
240.commitwho a:hover { text-decoration: underline; }
241ul.clean li.commitline { display: flex; gap: 0.65rem; align-items: center; }
242.sha { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 0.15rem 0.4rem; }
243table.files { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
244table.files th { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
245table.files td.msg { max-width: 280px; }
246table.files td.msg a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; }
247table.tags { width: 100%; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); border-collapse: collapse; }
248table.tags th, table.tags td { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line); vertical-align: top; }
249table.tags th { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
250table.tags td.acts { white-space: nowrap; }
251table.tags td.acts a { margin-right: 0.55rem; }
252.tagmsg { white-space: pre-wrap; }
253.readme, .codebox, .side {
254 background: white; border: 1px solid var(--line); border-radius: 12px; margin-top: 1rem;
255}
256.readme header, .codebox header { padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); font-weight: 600; }
257.mdbody { padding: 0.2rem 1.1rem 1rem; }
258.mdbody h1, .mdbody h2, .mdbody h3 { margin: 1rem 0 0.4rem; }
259table.md { margin: 0.6rem 0 1rem; }
260table.md th, table.md td { border: 1px solid var(--line); padding: 0.4rem 0.6rem; }
261.side { margin-top: 0.2rem; padding: 0.9rem 1rem; }
262.side h2 { margin: 0 0 0.5rem; font-size: 1rem; }
263.counts { list-style: none; padding: 0; margin: 0.6rem 0; }
264.counts li { padding: 0.28rem 0; }
265.counts a { text-decoration: none; }
266.fileview { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1rem; align-items: start; }
267.treebox h2 { margin: 0 0 0.5rem; font-size: 1.15rem; }
268.treelist { list-style: none; padding: 0; margin: 0.5rem 0 0; }
269.treelist li { padding: 0.18rem 0.3rem; border-radius: 6px; white-space: nowrap; }
270.treelist li a { color: inherit; text-decoration: none; }
271.treelist li.active { background: #ddf4ff; }
272.treelist li.depth-1 { padding-left: 0.9rem; }
273.treelist li.depth-2 { padding-left: 1.6rem; }
274.treelist li.depth-3 { padding-left: 2.3rem; }
275.treelist li.depth-4 { padding-left: 3rem; }
276.treelist li.depth-5 { padding-left: 3.7rem; }
277.treelist li.depth-6, .treelist li.depth-7, .treelist li.depth-8 { padding-left: 4.4rem; }
278.filename { display: flex; align-items: center; gap: 0.35rem; margin: 0.2rem 0 0.6rem; }
279.codebox { margin-top: 0.8rem; overflow: auto; }
280table.code { border-collapse: collapse; width: 100%; }
281table.code td { border: 0; padding: 0 0.7rem; vertical-align: top; font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45; }
282table.code td.ln { color: #8c959f; text-align: right; width: 1%; user-select: none; background: #f6f8fa; }
283table.code td.src { white-space: pre; }
284.hl-k { color: #8250df; }
285.hl-s { color: #cf222e; }
286.hl-c { color: #6e7781; }
287.hl-n { color: #0550ae; }
288.heat {
289 background: white; border: 1px solid var(--line); border-radius: 16px;
290 padding: 1rem 1.1rem 0.8rem; box-shadow: var(--shadow); margin: 0.4rem 0 1.1rem;
291}
292.heat h2 { margin: 0 0 0.55rem; font-size: 1.05rem; }
293.heat-scroll { overflow-x: auto; padding: 1.7rem 0.2rem 0.15rem; }
294.heat-months, .heat-cols {
295 display: grid; grid-auto-flow: column; grid-auto-columns: 11px; column-gap: 3px;
296}
297.heat-months { margin: 0 0 0.25rem 20px; height: 1rem; font-size: 0.68rem; color: var(--muted); }
298.heat-months span { white-space: nowrap; line-height: 1rem; }
299.heat-body { display: flex; gap: 4px; }
300.heat-dow {
301 display: grid; grid-template-rows: repeat(7, 11px); row-gap: 3px;
302 width: 16px; font-size: 0.65rem; color: var(--muted); line-height: 11px;
303}
304.heat-col { display: grid; grid-auto-rows: 11px; row-gap: 3px; }
305.sq { width: 11px; height: 11px; border-radius: 2px; display: block; position: relative; }
306.sq.off { background: transparent; }
307.sq.lv0 { background: #e6edf5; }
308.sq.lv1 { background: #b9d4f6; }
309.sq.lv2 { background: #6eacf0; }
310.sq.lv3 { background: #1f6feb; }
311.sq.lv4 { background: #0c3f86; }
312.heat-foot {
313 display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
314 margin-top: 0.7rem; color: var(--muted); font-size: 0.85rem;
315}
316.heat-total, .heat-legend, .heat-foot .muted { margin: 0; }
317.heat-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
318.heat-foot .muted { text-align: right; margin-top: 0.2rem; }
319.chooser { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.2rem 0 0.4rem; transition: opacity .28s ease, transform .28s ease; }
320.chooser.away { opacity: 0; transform: translateY(-10px) scale(.97); pointer-events: none; }
321.pick { min-width: 11rem; padding: 1rem 1.3rem; font-size: 1.05rem; }
322.sheet { transform-origin: top center; }
323.sheet.open { animation: unfold .32s ease; }
324.sheet.closing { animation: fold .28s ease forwards; }
325@keyframes unfold {
326 from { opacity: 0; transform: scaleY(.55); }
327 to { opacity: 1; transform: scaleY(1); }
328}
329@keyframes fold {
330 from { opacity: 1; transform: scaleY(1); }
331 to { opacity: 0; transform: scaleY(.45); }
332}
333.flag.ok { color: var(--ok); font-weight: 600; }
334.flag.bad { color: var(--bad); font-weight: 600; }
335.form-err:empty { display: none; }
336.form-err { color: var(--bad); margin: 0.2rem 0; }
337.bar { display: flex; gap: .6rem; align-items: center; margin: .4rem 0 .2rem; }
338.bar input[type="search"] { flex: 1; }
339.sortlabel { color: var(--muted); }
340.iconbtn, .copyline button {
341 text-decoration: none; background: white; color: var(--ink);
342 border: 1px solid var(--line); border-radius: var(--radius);
343 min-height: var(--control-h); padding: 0 var(--sp-2); cursor: pointer; font: inherit;
344}
345.repolist { list-style: none; padding: 0; margin: .4rem 0 1rem; }
346.repolist > li { display: flex; align-items: center; gap: .7rem; padding: .75rem .2rem; border-bottom: 1px solid var(--line); }
347.reponame { font-weight: 600; text-decoration: none; }
348.stars { color: #9a6700; white-space: nowrap; }
349.grown { flex: 1; }
350.rowmenu { position: relative; }
351.rowmenu > summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; padding: .15rem .55rem; background: white; }
352.rowmenu > summary::-webkit-details-marker { display: none; }
353.rowmenu .menu-panel { position: absolute; right: 0; z-index: 3; min-width: 9rem; }
354.rowmenu .menu-panel button, .rowmenu .menu-panel form { width: 100%; }
355.rowmenu .menu-panel button { text-align: left; border-radius: 8px; }
356img.tile { object-fit: cover; background: #fff; }
357@font-face {
358 font-family: "Noto Sans Cuneiform";
359 src: url("/assets/NotoSansCuneiform-Regular.ttf") format("truetype");
360 font-display: swap;
361}
362html.cunei, html.cunei body, html.cunei button, html.cunei input, html.cunei select, html.cunei textarea {
363 font-family: "Noto Sans Cuneiform", "Segoe UI", sans-serif;
364}
365.applybar {
366 position: sticky; top: 0; z-index: 6; display: flex; justify-content: flex-end;
367 padding: 0.45rem 0; background: rgba(243, 246, 251, 0.94);
368}
369.applybar[hidden] { display: none; }
370.sugmodal {
371 border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem;
372 width: min(32rem, 92vw); box-shadow: var(--shadow);
373}
374.sugmodal::backdrop { background: rgba(20, 32, 51, 0.45); }
375.sugmodal h2 { margin: 0 0 0.4rem; }
376.diff {
377 background: white; border: 1px solid var(--line); border-radius: 12px;
378 overflow: auto; user-select: none; margin: 0.4rem 0 1rem;
379}
380.difffile + .difffile { border-top: 1px solid var(--line); }
381.difffile header {
382 padding: 0.5rem 0.75rem; background: #f6f8fa; border-bottom: 1px solid var(--line); font-weight: 650;
383}
384.diffline {
385 position: relative; display: grid; grid-template-columns: 16px 3.2rem minmax(0, 1fr);
386 font-family: ui-monospace, monospace; font-size: 0.84rem; line-height: 1.5;
387}
388.diffline code { white-space: pre; padding: 0 0.7rem 0 0.35rem; }
389.diffline .ln { color: #8c959f; text-align: right; padding-right: 0.45rem; }
390.gutter { background: #eef2f7; cursor: ns-resize; }
391.gutter.off { background: transparent; cursor: default; }
392.kind-add { background: #e6ffec; }
393.kind-del { background: #ffebe9; }
394.kind-hunk { color: #8c959f; background: #f6f8fa; }
395.diffline.picked { box-shadow: inset 3px 0 0 var(--blue); }
396.diffline.picked .gutter { background: #bfdbfe; }
397.linenote, .lineform {
398 margin: 0.35rem 0.6rem 0.55rem 2.6rem; background: #f6f8fa;
399 border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.7rem;
400}
401.linenote pre.note, ul.clean pre.note {
402 background: white; color: var(--ink); border: 1px solid var(--line); margin: 0.35rem 0;
403}
404label.sugcheck { display: flex; align-items: center; gap: 0.45rem; }
405label.sugcheck input { width: auto; }
406.bubble {
407 position: absolute; left: 18px; top: 0.15rem; z-index: 3;
408 width: 28px; height: 28px; padding: 0; border-radius: 8px;
409 background: white; border: 1px solid var(--line); box-shadow: var(--shadow);
410}
411.bubble-icon {
412 width: 14px; height: 10px; border: 2px solid var(--blue); border-radius: 7px;
413 display: inline-block; position: relative; background: white;
414}
415.bubble-icon::after {
416 content: ""; position: absolute; left: 2px; bottom: -6px;
417 border-width: 6px 5px 0 0; border-style: solid;
418 border-color: var(--blue) transparent transparent transparent;
419}
420.pipebar { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; margin: 0.4rem 0 1rem; }
421.pipe-filter {
422 display: flex; align-items: stretch; flex: 1; max-width: 42rem;
423 border: 1px solid var(--line); border-radius: 8px; background: white; overflow: hidden;
424}
425.pipe-filter input { border: 0; border-radius: 0; width: 100%; }
426.pipe-filter button.iconbtn {
427 width: 2.6rem; border: 0; border-left: 1px solid var(--line); border-radius: 0;
428 background: white; color: var(--ink); padding: 0;
429}
430.showid { position: relative; }
431.showid summary {
432 list-style: none; cursor: pointer; background: white; color: var(--ink);
433 border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.75rem;
434}
435.showid summary::-webkit-details-marker { display: none; }
436.showid summary::after { content: "▾"; margin-left: 0.45rem; color: var(--muted); }
437.showid form {
438 position: absolute; right: 0; top: calc(100% + 6px); z-index: 6;
439 display: flex; gap: 0.4rem; width: 18rem; padding: 0.6rem;
440 background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
441}
442.showid form[popover]:not(:popover-open) { display: none; }
443.showid form[popover]:popover-open { display: flex; width: min(18rem, calc(100vw - 16px)); }
444.showid form input { width: auto; flex: 1; }
445table.pipes td { padding: var(--sp-2) var(--sp-3); }
446table.pipes .pipeid { font-weight: 700; }
447.ellip { display: block; max-width: 28rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
448.chips { display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; margin-top: 0.28rem; }
449.chip {
450 display: inline-flex; align-items: center; gap: 0.15rem;
451 background: #eef2f7; color: var(--ink); text-decoration: none;
452 border-radius: 999px; padding: 0.05rem 0.5rem; font-size: 0.78rem;
453}
454.when { display: flex; align-items: center; gap: 0.3rem; color: var(--muted); font-size: 0.82rem; margin-top: 0.18rem; }
455svg.ico { width: 14px; height: 14px; flex: none; }
456.avatar.sm { width: 20px; height: 20px; font-size: 0.68rem; }
457.status {
458 display: inline-flex; align-items: center; gap: 0.32rem;
459 border-radius: 999px; padding: 0.12rem 0.55rem 0.12rem 0.28rem;
460 font-weight: 650; font-size: 0.84rem; background: #eef2f7; color: var(--ink);
461}
462.status.passed { background: #e5f6ec; color: #146c43; }
463.status.failed { background: #fde8e8; color: #9f2d2d; }
464.status.warning { background: #fff4e0; color: #8a5a00; }
465.status.running { background: #e7f0ff; color: #1f6feb; }
466.status.canceled { background: #f3f0f0; color: #57606a; }
467.mark { position: relative; width: 16px; height: 16px; border-radius: 50%; display: inline-block; flex: none; background: #8c959f; }
468.status.passed .mark, .stage-dot.passed .mark { background: #1aaa55; }
469.status.failed .mark, .stage-dot.failed .mark { background: #dd2b0e; }
470.status.warning .mark, .stage-dot.warning .mark { background: #c17d10; }
471.status.running .mark, .stage-dot.running .mark { background: #1f75cb; }
472.status.canceled .mark, .stage-dot.canceled .mark { background: #8c959f; }
473.passed .mark::after {
474 content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px;
475 border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
476}
477.failed .mark::before, .failed .mark::after {
478 content: ""; position: absolute; left: 3px; top: 7px; width: 10px; height: 2px; background: #fff;
479}
480.failed .mark::before { transform: rotate(45deg); }
481.failed .mark::after { transform: rotate(-45deg); }
482.warning .mark::before {
483 content: ""; position: absolute; left: 7px; top: 3px; width: 2px; height: 6px; background: #fff;
484}
485.warning .mark::after {
486 content: ""; position: absolute; left: 7px; top: 11px; width: 2px; height: 2px; background: #fff;
487}
488.skipped .mark::after, .canceled .mark::after {
489 content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 2px; background: #fff;
490}
491.status.pending .mark, .status.created .mark,
492.stage-dot.pending .mark, .stage-dot.created .mark {
493 background: transparent;
494 box-shadow: inset 0 0 0 2px #8c959f;
495}
496.running .mark::after {
497 content: ""; position: absolute; left: 3px; top: 3px; width: 10px; height: 10px;
498 border: 2px solid #fff; border-radius: 50%; border-right-color: transparent; box-sizing: border-box;
499 animation: spin 0.8s linear infinite;
500}
501.stage-dot.sm.running .mark::after { left: 2px; top: 2px; width: 8px; height: 8px; }
502@keyframes spin { to { transform: rotate(1turn); } }
503@media (prefers-reduced-motion: reduce) {
504 .running .mark::after { animation: none; }
505}
506.commitbar a.status { flex: none; text-decoration: none; }
507.stages { display: flex; align-items: center; }
508.mrpipe { display: flex; align-items: center; gap: 0.8rem; margin: 0.2rem 0 1rem; }
509.danger-modal {
510 border: 6px solid #a31212;
511 background: #fde8e8;
512 color: #6d1212;
513 width: min(92vw, 52rem);
514 padding: 2.2rem 2rem;
515 border-radius: 16px;
516}
517.danger-modal::backdrop { background: rgba(80, 8, 8, 0.55); }
518.danger-modal p { font-size: 1.7rem; line-height: 1.45; margin: 0 0 1.2rem; }
519.danger-modal [data-transfer-submit], .danger-modal [data-tag-submit] { background: #a31212; color: #fff; }
520.danger-modal [data-transfer-submit]:disabled { opacity: 0.45; }
521.stage { position: relative; display: flex; align-items: center; }
522.stage + .stage::before { content: ""; width: 14px; height: 2px; background: #c5d0dc; margin: 0 2px; }
523button.stage-dot {
524 width: 26px; height: 26px; min-height: 0; padding: 0; border: 0; border-radius: 50%;
525 background: transparent; display: grid; place-items: center; position: relative;
526}
527.stage.open button.stage-dot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1f75cb; }
528.float-tip {
529 border: 0; padding: 0.28rem 0.5rem; border-radius: 6px;
530 background: #24292f; color: white; font-size: 0.75rem; font-weight: 600;
531 line-height: 1.2; white-space: nowrap; pointer-events: none;
532}
533.float-tip.heat { background: #142033; font-size: 0.78rem; font-weight: 400; }
534.stage-pop {
535 min-width: min(220px, calc(100vw - 16px));
536 background: white; border: 1px solid var(--line); border-radius: 8px;
537 box-shadow: var(--shadow); padding: 0.7rem 0.85rem;
538}
539.stage-pop ul { list-style: none; margin: 0.35rem 0 0; padding: 0; }
540.stage-pop a, .related a { display: flex; align-items: center; gap: 0.4rem; text-decoration: none; padding: 0.22rem 0; color: var(--ink); }
541.queue { color: var(--muted); font-weight: 500; }
542.stage-dot.sm { width: 16px; height: 16px; display: inline-grid; place-items: center; }
543.stage-dot.sm .mark { width: 14px; height: 14px; }
544.stage-dot.sm.passed .mark::after { left: 4px; top: 2px; width: 3px; height: 6px; }
545.jobhead { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
546.joblayout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1rem; align-items: start; }
547.console-wrap { border: 1px solid #2a2a2a; border-radius: 8px; overflow: hidden; background: #1e1e1e; }
548.conbar {
549 display: flex; justify-content: space-between; gap: 0.6rem; align-items: center; flex-wrap: wrap;
550 background: #f6f8fa; padding: 0.45rem 0.55rem; border-bottom: 1px solid var(--line);
551}
552.conbar .pipe-filter { max-width: none; flex: 1; min-width: 12rem; }
553.contools { display: flex; gap: 0.3rem; align-items: center; flex-wrap: wrap; }
554.contools .ghost, .contools a.ghost { padding: 0.3rem 0.55rem; background: white; }
555.console {
556 color: #e6edf3; font-family: ui-monospace, monospace; font-size: 0.82rem;
557 max-height: 68vh; overflow-x: hidden; overflow-y: auto; padding: 0.35rem 0 0.8rem;
558}
559.console.nowrap { overflow-x: auto; }
560.console code { min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
561.console.nowrap code { white-space: pre; overflow-wrap: normal; }
562.ansi-bold { font-weight: 700; }
563.ansi-dim { opacity: 0.65; }
564.ansi-italic { font-style: italic; }
565.ansi-underline { text-decoration: underline; }
566.ansi-fg-black { color: #6e7681; }
567.ansi-fg-red { color: #ff7b72; }
568.ansi-fg-green { color: #3fb950; }
569.ansi-fg-yellow { color: #d29922; }
570.ansi-fg-blue { color: #79c0ff; }
571.ansi-fg-magenta { color: #d2a8ff; }
572.ansi-fg-cyan { color: #56d4dd; }
573.ansi-fg-white { color: #f0f6fc; }
574.ansi-fg-bright-black { color: #8b949e; }
575.ansi-fg-bright-red { color: #ffa198; }
576.ansi-fg-bright-green { color: #56d364; }
577.ansi-fg-bright-yellow { color: #e3b341; }
578.ansi-fg-bright-blue { color: #a5d6ff; }
579.ansi-fg-bright-magenta { color: #e2c5ff; }
580.ansi-fg-bright-cyan { color: #7ee7ef; }
581.ansi-fg-bright-white { color: #ffffff; }
582.ansi-bg-black { background: #1c2128; }
583.ansi-bg-red { background: #6e2b29; }
584.ansi-bg-green { background: #1f4d32; }
585.ansi-bg-yellow { background: #5c4a1f; }
586.ansi-bg-blue { background: #1f3b5c; }
587.ansi-bg-magenta { background: #4a2d5c; }
588.ansi-bg-cyan { background: #1c4a4e; }
589.ansi-bg-white { background: #d0d7de; color: #1c2128; }
590.ansi-bg-bright-black { background: #2d333b; }
591.ansi-bg-bright-red { background: #8a3834; }
592.ansi-bg-bright-green { background: #2a6b3c; }
593.ansi-bg-bright-yellow { background: #7a641f; }
594.ansi-bg-bright-blue { background: #2a5580; }
595.ansi-bg-bright-magenta { background: #684080; }
596.ansi-bg-bright-cyan { background: #2a666c; }
597.ansi-bg-bright-white { background: #f0f6fc; color: #1c2128; }
598.lognote { margin: 0.2rem 0.8rem 0.45rem; color: #8b949e; font-family: inherit; }
599.logline, .logsec ol li {
600 display: grid; grid-template-columns: 3rem 5.4rem minmax(0, 1fr);
601 gap: 0.45rem; padding: 0 0.7rem; line-height: 1.45; min-width: 0;
602}
603.logsec ol { list-style: none; margin: 0; padding: 0; display: none; }
604.logsec.open ol { display: block; }
605.ln, .ts { color: #8b949e; }
606.ln { text-align: right; }
607.logline.hit, .logsec li.hit { background: #3d3416; }
608.logline.hit.on, .logsec li.hit.on { background: #6b5710; }
609button.section-toggle {
610 position: sticky; left: 0; z-index: 2; box-sizing: border-box;
611 width: 100%; max-width: 100%;
612 min-height: 0; background: #1e1e1e; color: #9ecbff; border: 0; border-radius: 0;
613 display: flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.7rem; text-align: left; font-weight: 650;
614}
615.section-toggle .sectitle { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
616.section-toggle .pill { flex: none; margin-left: auto; background: #2d333b; color: #d0d7de; border-color: #444c56; }
617.contools .ghost[aria-pressed="true"] { background: var(--blue-soft); color: var(--blue-deep); border-color: var(--blue); }
618.chev {
619 width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
620 border-left: 6px solid currentColor; display: inline-block;
621}
622.logsec.open .chev { transform: rotate(90deg); }
623.console-wrap:fullscreen { display: flex; flex-direction: column; background: #111; border-radius: 0; }
624.console-wrap:fullscreen .console { max-height: none; flex: 1; }
625.console-wrap.full { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; border-radius: 0; }
626.console-wrap.full .console { max-height: none; flex: 1; }
627.jobside {
628 background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem;
629}
630.jobside dt { color: var(--muted); font-size: 0.78rem; margin-top: 0.7rem; }
631.jobside dd { margin: 0.12rem 0 0; }
632.jobside h2 { font-size: 0.95rem; margin: 0.9rem 0 0.3rem; }
633.related { list-style: none; margin: 0; padding: 0; }
634.related li { display: flex; align-items: center; gap: 0.3rem; }
635.related .arrow { width: 1rem; color: var(--muted); }
636.editorhead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.7rem; }
637.editorhead h2 { margin: 0; font-size: 1.15rem; }
638.editorhead .status { margin: 0; }
639.ciedit {
640 display: grid; grid-template-columns: 3.2rem minmax(0, 1fr);
641 border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white;
642}
643.ci-gutter {
644 overflow: hidden; background: #f6f8fa; color: #8c959f; text-align: right;
645 font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45;
646 padding: 0.55rem 0.45rem; user-select: none;
647}
648.ci-gutter span { display: block; }
649.ci-gutter span.bad { background: #fde8e8; color: var(--bad); font-weight: 700; }
650.ci-stage { position: relative; display: grid; align-items: stretch; }
651.ci-back, .ciedit textarea {
652 grid-area: 1 / 1;
653 font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45;
654 padding: 0.55rem 0.7rem; margin: 0; white-space: pre; tab-size: 2;
655}
656.ci-back { position: relative; overflow: hidden; color: var(--ink); pointer-events: none; }
657.codeline { min-height: 1.45em; }
658.codeline.bad { background: #fff5f5; }
659.ciedit textarea {
660 position: relative; width: 100%; height: auto; align-self: stretch; border: 0; border-radius: 0;
661 background: transparent; color: transparent; caret-color: var(--ink); resize: none; overflow: auto;
662}
663.ciedit textarea::selection { background: rgba(31, 111, 235, 0.25); }
664.ci-issues { list-style: none; padding: 0; margin: 0.7rem 0 0; }
665.ci-issues li.bad { color: var(--bad); }
666.ci-issues li.warn { color: #8a5a00; }
667.hero h1 { font-size: 32px; }
668.mdbody h1 { font-size: 24px; }
669.sidecontext .tile { width: 32px; height: 32px; font-size: 1rem; }
670.filename { font-size: 16px; font-weight: 600; }
671@media (max-width: 960px) {
672 .frame.with-side { flex-direction: column; align-items: stretch; }
673 .sidenav, .content { width: 100%; max-width: 100%; min-width: 0; }
674 .sidenav {
675 position: sticky; top: var(--top-h); height: auto;
676 border-right: 0; border-bottom: 1px solid var(--line); z-index: 20;
677 }
678 .sidenav-links {
679 flex-direction: row; overflow-x: auto; min-width: 0; padding: 0 var(--sp-2);
680 scrollbar-width: none;
681 }
682 .sidenav-links::-webkit-scrollbar { display: none; }
683 .sidenav-links a {
684 flex: none; white-space: nowrap; margin: 0; border-radius: 0;
685 box-shadow: inset 0 -2px 0 transparent; padding: var(--sp-2) var(--sp-3);
686 }
687 .sidenav-links a.on { background: transparent; font-weight: 400; box-shadow: inset 0 -2px 0 var(--blue); }
688}
689.spec h2 { scroll-margin-top: calc(var(--top-h) + 12px); margin: 1.6rem 0 0.6rem; }
690.spec .lead { margin-top: 0; }
691.spec-example {
692 background: #142033; color: #e7f0ff; border-radius: var(--radius-lg);
693 padding: 0.85rem 1rem; overflow: auto; font-family: var(--mono); font-size: 0.88rem;
694 line-height: 1.45;
695}
696.spec-table { width: 100%; border-collapse: collapse; background: var(--card); }
697.spec-table th, .spec-table td {
698 border-bottom: 1px solid var(--line); text-align: left; vertical-align: top;
699 padding: 0.45rem 0.7rem;
700}
701.spec-table th { font-size: var(--fs-sm); color: var(--muted); font-weight: 650; }
702.spec-table code { font-family: var(--mono); font-size: 0.92em; }
703.spec-list { margin: 0.2rem 0 0; padding-left: 1.2rem; }
704.spec-list li { margin: 0.35rem 0; }
705main.wide:has(.commitpage) { width: min(100%, 1440px); max-width: 1440px; }
706.commithead h1 { white-space: normal; overflow-wrap: anywhere; }
707pre.commitmsg {
708 background: var(--card); color: var(--ink); border: 1px solid var(--line);
709 white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 var(--sp-3);
710}
711.commitmeta { margin-top: 0; }
712.commitfacts { display: grid; gap: 0.55rem; margin: 0.9rem 0 0; }
713.commitfacts div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.7rem; align-items: center; }
714.commitfacts dt, .commitfacts dd { margin: 0; }
715.commitfacts dt { color: var(--muted); }
716.commitfacts code.sha { word-break: break-all; }
717.commitfacts .parents { display: flex; flex-wrap: wrap; gap: 0.45rem; }
718.commitfacts a.status { text-decoration: none; width: fit-content; }
719.diffbar { margin-top: 0; }
720.diffswitch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; flex: none; }
721.diffswitch button { background: white; color: var(--ink); border: 0; border-radius: 0; min-width: 7.5rem; }
722.diffswitch button + button { border-left: 1px solid var(--line); }
723.commitdiff[data-mode="inline"] [data-diff-mode="inline"],
724.commitdiff[data-mode="side"] [data-diff-mode="side"] { background: var(--blue-soft); color: var(--blue-deep); }
725.commitlayout { display: grid; grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr); gap: 1rem; align-items: start; }
726.commitfiles {
727 position: sticky; top: calc(var(--top-h) + 8px); max-height: calc(100vh - var(--top-h) - 16px);
728 overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
729 padding: 0.7rem 0.75rem;
730}
731.commitfiles h2 { margin: 0 0 0.4rem; font-size: var(--fs-sm); color: var(--muted); }
732.commitfiles ul { list-style: none; margin: 0; padding: 0; }
733.commitfiles li {
734 display: flex; align-items: center; gap: 0.35rem; min-height: 1.7rem;
735 font-variant-numeric: tabular-nums;
736}
737.commitfiles li.d1 { padding-left: 0.9rem; }
738.commitfiles li.d2 { padding-left: 1.8rem; }
739.commitfiles li.d3 { padding-left: 2.7rem; }
740.commitfiles li.d4 { padding-left: 3.6rem; }
741.commitfiles li.d5 { padding-left: 4.5rem; }
742.commitfiles li.d6 { padding-left: 5.4rem; }
743.commitfiles li.d7 { padding-left: 6.3rem; }
744.commitfiles li.d8 { padding-left: 7.2rem; }
745.commitfiles a { display: inline-flex; align-items: center; min-width: 0; color: inherit; text-decoration: none; }
746.commitfiles .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
747.addstat { color: var(--ok); font-variant-numeric: tabular-nums; }
748.delstat { color: var(--bad); font-variant-numeric: tabular-nums; }
749.commitdiffs { min-width: 0; }
750.commitfile {
751 background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
752 margin: 0 0 0.8rem; scroll-margin-top: calc(var(--top-h) + 12px); min-width: 0;
753}
754.commitfile > header {
755 display: flex; align-items: center; gap: 0.5rem; min-height: 44px;
756 padding: 0.35rem 0.7rem; background: #f6f8fa; border-bottom: 1px solid var(--line);
757 border-radius: var(--radius-lg) var(--radius-lg) 0 0; position: sticky; top: var(--top-h); z-index: 2;
758}
759.commitfile > header .path { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
760.commitfile > header .oldpath { color: var(--muted); text-decoration: line-through; }
761.commitfile > header .counts { flex: none; }
762.commitfile > header button[data-toggle-diff] { flex: none; min-width: 7.5rem; }
763.commitfile[data-collapsed="1"] > header { border-bottom: 0; border-radius: var(--radius-lg); }
764.commitfile[data-collapsed="1"] .diffbody { display: none; }
765.commitdiff[data-mode="inline"] .split { display: none; }
766.commitdiff[data-mode="side"] .unified { display: none; }
767.commitline, .half {
768 display: grid; grid-template-columns: 3.2rem 3.2rem minmax(0, 1fr);
769 font-family: var(--mono); font-size: 0.84rem; line-height: 1.45; min-width: 0;
770}
771.half { grid-template-columns: 3.2rem minmax(0, 1fr); }
772.commitline code, .half code {
773 display: block; white-space: pre; overflow-x: auto; min-width: 0;
774 padding: 0 0.7rem; font-family: inherit;
775}
776.commitline .ln, .half .ln { color: #8c959f; text-align: right; padding: 0 0.45rem; user-select: none; }
777.commitline.kind-add, .half.kind-add { background: #e6ffec; }
778.commitline.kind-del, .half.kind-del { background: #ffebe9; }
779.commitline.kind-hunk { grid-template-columns: minmax(0, 1fr); color: #8c959f; background: #f6f8fa; }
780.half.kind-empty { background: #f6f8fa; }
781.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
782.pair .half + .half { border-left: 1px solid var(--line); }
783.binaryhint { margin: 0; padding: 0.8rem 0.9rem; }
784a.btn { text-decoration: none; }
785.branchsearch { display: block; margin: 0 0 0.8rem; }
786.branchsearch input { width: min(100%, 24rem); }
787.branchtable { width: 100%; border-collapse: collapse; background: var(--card); }
788.branchtable th, .branchtable td {
789 border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle;
790 padding: 0.45rem 0.7rem; height: 3rem;
791}
792.branchtable th { font-size: var(--fs-sm); color: var(--muted); font-weight: 650; }
793.branchtable .nums, .branchtable .addstat, .branchtable .delstat { font-variant-numeric: tabular-nums; white-space: nowrap; }
794.branchacts { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; min-height: 2.4rem; }
795.branchacts a { white-space: nowrap; }
796.branch-dialog {
797 border: 0; border-radius: var(--radius-lg); padding: 1.2rem 1.3rem;
798 max-width: 32rem; width: calc(100% - 2rem);
799}
800.branch-dialog::backdrop { background: rgba(8, 16, 32, 0.45); }
801.branch-dialog p { min-height: 1.5rem; }
802.mdbox { margin: 0 0 0.8rem; }
803.mdtabs { display: flex; min-height: 2.4rem; }
804.mdtabs button { background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 0; }
805.mdtabs button + button { border-left: 0; }
806.mdtabs button[aria-selected="true"] { background: var(--blue-soft); color: var(--blue-deep); }
807.mdbox [data-md-write] textarea,
808.mdbox [data-md-preview] {
809 display: block; width: 100%; height: 9rem; min-height: 9rem; max-height: 9rem;
810 overflow: auto; box-sizing: border-box; margin: 0;
811}
812.fieldlabel { margin: 0.6rem 0 0.3rem; }
813.timeline { list-style: none; margin: 0; padding: 0; }
814.timeline > li {
815 border-left: 2px solid var(--line); margin: 0 0 0 0.4rem; padding: 0.35rem 0 0.8rem 0.9rem;
816 min-height: 2.4rem;
817}
818.timeline .pushlist, .reply {
819 background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
820 padding: 0.45rem 0.7rem; margin: 0.35rem 0;
821}
822.commitline.with-gutter { grid-template-columns: 16px 3.2rem 3.2rem minmax(0, 1fr); }
823.commitline.with-gutter.kind-hunk { grid-template-columns: minmax(0, 1fr); }
824.commitline.picked { box-shadow: inset 3px 0 0 var(--blue); }
825tr[hidden] { display: none; }
826@media (max-width: 900px) {
827 .commitlayout { grid-template-columns: minmax(0, 1fr); }
828 .commitfiles { position: static; max-height: 16rem; }
829}
830form.wh .secret-custom { display: none; }
831form.wh.secret-ready .secret-native {
832 position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
833 overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
834}
835form.wh.secret-ready .secret-custom { display: block; }
836.secret-pick { position: relative; }
837.secret-toggle {
838 width: 100%; justify-content: flex-start;
839 background: var(--card); color: var(--ink); border: 1px solid var(--line);
840}
841.secret-menu {
842 margin: 0; padding: var(--sp-2); border: 1px solid var(--line);
843 border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
844 max-height: 16rem; overflow: auto;
845}
846.secret-menu ul { list-style: none; margin: 0; padding: 0; }
847.secret-menu li[hidden] { display: none; }
848.secret-menu li button {
849 width: 100%; justify-content: space-between;
850 background: transparent; color: var(--ink); border: 0;
851}
852.secret-menu li button:hover { background: var(--blue-soft); }
853.secret-menu input { width: 100%; margin-bottom: var(--sp-2); }
854
855@media (max-width: 800px) {
856 .proj, .fileview, .joblayout { grid-template-columns: minmax(0, 1fr); }
857 .proj > *, .fileview > *, .toolbar, .commitbar, .hscroll { min-width: 0; max-width: 100%; }
858 .heat-foot { flex-direction: column; align-items: flex-start; }
859 .heat-legend, .heat-foot .muted { justify-content: flex-start; text-align: left; }
860 .repolist > li { flex-wrap: wrap; }
861 .pagehead { align-items: flex-start; }
862 .pageacts { flex-wrap: wrap; justify-content: flex-end; }
863}