BlueGit

timfa bluegit

Files

bluegit / internal / server / static / style.css

style.css

feat: voeg image-presets en een CI-infopagina toe
timfa project_87923614_bot_3aff574f6f98414b945a8799374f9092 · pushed by timfa · 3 weeks ago
a6677fb6 History
style.css 33.9 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, .row > button, .row > .btn { width: auto; flex: 1 1 8rem; min-width: 0; }
129code, pre { font-family: var(--mono); }
130pre, .code {
131 background: #0f1b2d; color: #e7eef8; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-lg); overflow: auto;
132}
133form.wh .wh-field { display: none; }
134form.wh[data-preset="custom"] .for-custom,
135form.wh[data-preset="generic"] .for-generic,
136form.wh[data-preset="discord"] .for-discord,
137form.wh[data-preset="slack"] .for-slack,
138form.wh[data-preset="teams"] .for-teams,
139form.wh[data-preset="mattermost"] .for-mattermost,
140form.wh[data-preset="rocketchat"] .for-rocketchat,
141form.wh[data-preset="telegram"] .for-telegram,
142form.wh[data-preset="matrix"] .for-matrix,
143form.wh[data-preset="googlechat"] .for-googlechat,
144form.wh[data-preset="ntfy"] .for-ntfy,
145form.wh[data-preset="gotify"] .for-gotify,
146form.wh[data-preset="grok"] .for-grok { display: block; }
147form.wh .wh-field .muted { display: block; margin-top: 0.25rem; }
148ul.clean { list-style: none; padding: 0; }
149ul.clean li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
150.pill { font-size: 0.78rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.45rem; }
151table { width: 100%; border-collapse: collapse; }
152.hscroll { overflow-x: auto; max-width: 100%; }
153.heat, .heat-scroll { max-width: 100%; }
154td, th { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line); vertical-align: top; font-size: var(--fs); }
155.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
156@media (max-width: 720px) {
157 .hero, .grid-2 { grid-template-columns: 1fr; }
158 main, main.wide { padding: var(--sp-3); }
159 .brand { font-size: 0; gap: 0; }
160 .brand img { width: 28px; height: 28px; }
161 .top { padding: 0 var(--sp-2); gap: var(--sp-2); }
162 .top nav { gap: var(--sp-2); min-width: 0; overflow-x: auto; }
163}
164.sub a.on { border-bottom-color: var(--blue); color: var(--blue-deep); background: var(--blue-soft); font-weight: 400; }
165.crumbs { color: var(--muted); margin: 0 0 var(--sp-2); min-height: 20px; font-size: var(--fs-sm); }
166.crumbs a { color: var(--muted); text-decoration: none; }
167.projhead { display: flex; align-items: center; gap: 0.7rem; }
168.projhead h1 { margin: 0; font-size: var(--fs-h); }
169.tile {
170 width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center;
171 background: #e56a93; color: white; font-weight: 700; font-size: 1.2rem;
172}
173.vis { width: 18px; height: 18px; color: var(--muted); }
174.ficon { width: 16px; height: 16px; vertical-align: -2px; margin-right: 0.25rem; }
175.proj { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.2rem; align-items: start; }
176.toolbar { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; margin: 0.9rem 0; flex-wrap: wrap; }
177.toolbar .left, .toolbar .right { display: flex; gap: 0.45rem; align-items: center; flex-wrap: wrap; }
178.branch select { width: auto; border-radius: 8px; padding: 0.35rem 0.5rem; background: #f6f8fa; }
179.pathnow { color: var(--ink); }
180.pathnow a { color: inherit; text-decoration: none; }
181.menu { position: relative; }
182.menu summary { list-style: none; cursor: pointer; }
183.menu summary::-webkit-details-marker { display: none; }
184.menu-panel {
185 position: absolute; right: 0; top: 2.3rem; z-index: 4; width: min(420px, 80vw);
186 background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem;
187 box-shadow: var(--shadow);
188}
189.menu-panel[popover]:popover-open,
190.showid form[popover]:popover-open,
191.stage-pop:popover-open,
192.float-tip:popover-open {
193 position: fixed;
194 inset: auto;
195 margin: 0;
196 width: max-content;
197 max-width: min(420px, calc(100vw - 16px));
198 height: auto;
199}
200.menu-panel[popover]:popover-open { width: min(420px, calc(100vw - 16px)); }
201.copyline { display: flex; gap: 0.4rem; }
202.copyline input { font-family: ui-monospace, monospace; font-size: 0.85rem; }
203.commitbar {
204 display: flex; gap: 0.7rem; align-items: center; background: #f6f8fa;
205 border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.75rem; margin: 0.4rem 0 0.8rem;
206}
207.commitbar .grow { flex: 1; min-width: 0; }
208.commitbar .subject { display: block; font-weight: 650; color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
209.avatar {
210 width: 32px; height: 32px; border-radius: 50%; background: #d5e0ee; color: var(--ink);
211 display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; flex: none;
212}
213img.avatar { object-fit: cover; display: block; }
214.avatar.lg { width: 64px; height: 64px; font-size: 1.35rem; }
215.commitwho a { color: var(--ink); font-weight: 650; text-decoration: none; }
216.commitwho a:hover { text-decoration: underline; }
217ul.clean li.commitline { display: flex; gap: 0.65rem; align-items: center; }
218.sha { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 0.15rem 0.4rem; }
219table.files { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
220table.files th { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
221table.files td.msg { max-width: 280px; }
222table.files td.msg a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; }
223table.tags { width: 100%; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); border-collapse: collapse; }
224table.tags th, table.tags td { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line); vertical-align: top; }
225table.tags th { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
226table.tags td.acts { white-space: nowrap; }
227table.tags td.acts a { margin-right: 0.55rem; }
228.tagmsg { white-space: pre-wrap; }
229.readme, .codebox, .side {
230 background: white; border: 1px solid var(--line); border-radius: 12px; margin-top: 1rem;
231}
232.readme header, .codebox header { padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); font-weight: 600; }
233.mdbody { padding: 0.2rem 1.1rem 1rem; }
234.mdbody h1, .mdbody h2, .mdbody h3 { margin: 1rem 0 0.4rem; }
235table.md { margin: 0.6rem 0 1rem; }
236table.md th, table.md td { border: 1px solid var(--line); padding: 0.4rem 0.6rem; }
237.side { margin-top: 0.2rem; padding: 0.9rem 1rem; }
238.side h2 { margin: 0 0 0.5rem; font-size: 1rem; }
239.counts { list-style: none; padding: 0; margin: 0.6rem 0; }
240.counts li { padding: 0.28rem 0; }
241.counts a { text-decoration: none; }
242.fileview { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1rem; align-items: start; }
243.treebox h2 { margin: 0 0 0.5rem; font-size: 1.15rem; }
244.treelist { list-style: none; padding: 0; margin: 0.5rem 0 0; }
245.treelist li { padding: 0.18rem 0.3rem; border-radius: 6px; white-space: nowrap; }
246.treelist li a { color: inherit; text-decoration: none; }
247.treelist li.active { background: #ddf4ff; }
248.treelist li.depth-1 { padding-left: 0.9rem; }
249.treelist li.depth-2 { padding-left: 1.6rem; }
250.treelist li.depth-3 { padding-left: 2.3rem; }
251.treelist li.depth-4 { padding-left: 3rem; }
252.treelist li.depth-5 { padding-left: 3.7rem; }
253.treelist li.depth-6, .treelist li.depth-7, .treelist li.depth-8 { padding-left: 4.4rem; }
254.filename { display: flex; align-items: center; gap: 0.35rem; margin: 0.2rem 0 0.6rem; }
255.codebox { margin-top: 0.8rem; overflow: auto; }
256table.code { border-collapse: collapse; width: 100%; }
257table.code td { border: 0; padding: 0 0.7rem; vertical-align: top; font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45; }
258table.code td.ln { color: #8c959f; text-align: right; width: 1%; user-select: none; background: #f6f8fa; }
259table.code td.src { white-space: pre; }
260.hl-k { color: #8250df; }
261.hl-s { color: #cf222e; }
262.hl-c { color: #6e7781; }
263.hl-n { color: #0550ae; }
264.heat {
265 background: white; border: 1px solid var(--line); border-radius: 16px;
266 padding: 1rem 1.1rem 0.8rem; box-shadow: var(--shadow); margin: 0.4rem 0 1.1rem;
267}
268.heat h2 { margin: 0 0 0.55rem; font-size: 1.05rem; }
269.heat-scroll { overflow-x: auto; padding: 1.7rem 0.2rem 0.15rem; }
270.heat-months, .heat-cols {
271 display: grid; grid-auto-flow: column; grid-auto-columns: 11px; column-gap: 3px;
272}
273.heat-months { margin: 0 0 0.25rem 20px; height: 1rem; font-size: 0.68rem; color: var(--muted); }
274.heat-months span { white-space: nowrap; line-height: 1rem; }
275.heat-body { display: flex; gap: 4px; }
276.heat-dow {
277 display: grid; grid-template-rows: repeat(7, 11px); row-gap: 3px;
278 width: 16px; font-size: 0.65rem; color: var(--muted); line-height: 11px;
279}
280.heat-col { display: grid; grid-auto-rows: 11px; row-gap: 3px; }
281.sq { width: 11px; height: 11px; border-radius: 2px; display: block; position: relative; }
282.sq.off { background: transparent; }
283.sq.lv0 { background: #e6edf5; }
284.sq.lv1 { background: #b9d4f6; }
285.sq.lv2 { background: #6eacf0; }
286.sq.lv3 { background: #1f6feb; }
287.sq.lv4 { background: #0c3f86; }
288.heat-foot {
289 display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
290 margin-top: 0.7rem; color: var(--muted); font-size: 0.85rem;
291}
292.heat-total, .heat-legend, .heat-foot .muted { margin: 0; }
293.heat-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
294.heat-foot .muted { text-align: right; margin-top: 0.2rem; }
295.chooser { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.2rem 0 0.4rem; transition: opacity .28s ease, transform .28s ease; }
296.chooser.away { opacity: 0; transform: translateY(-10px) scale(.97); pointer-events: none; }
297.pick { min-width: 11rem; padding: 1rem 1.3rem; font-size: 1.05rem; }
298.sheet { transform-origin: top center; }
299.sheet.open { animation: unfold .32s ease; }
300.sheet.closing { animation: fold .28s ease forwards; }
301@keyframes unfold {
302 from { opacity: 0; transform: scaleY(.55); }
303 to { opacity: 1; transform: scaleY(1); }
304}
305@keyframes fold {
306 from { opacity: 1; transform: scaleY(1); }
307 to { opacity: 0; transform: scaleY(.45); }
308}
309.flag.ok { color: var(--ok); font-weight: 600; }
310.flag.bad { color: var(--bad); font-weight: 600; }
311.form-err:empty { display: none; }
312.form-err { color: var(--bad); margin: 0.2rem 0; }
313.bar { display: flex; gap: .6rem; align-items: center; margin: .4rem 0 .2rem; }
314.bar input[type="search"] { flex: 1; }
315.sortlabel { color: var(--muted); }
316.iconbtn, .copyline button {
317 text-decoration: none; background: white; color: var(--ink);
318 border: 1px solid var(--line); border-radius: var(--radius);
319 min-height: var(--control-h); padding: 0 var(--sp-2); cursor: pointer; font: inherit;
320}
321.repolist { list-style: none; padding: 0; margin: .4rem 0 1rem; }
322.repolist > li { display: flex; align-items: center; gap: .7rem; padding: .75rem .2rem; border-bottom: 1px solid var(--line); }
323.reponame { font-weight: 600; text-decoration: none; }
324.stars { color: #9a6700; white-space: nowrap; }
325.grown { flex: 1; }
326.rowmenu { position: relative; }
327.rowmenu > summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; padding: .15rem .55rem; background: white; }
328.rowmenu > summary::-webkit-details-marker { display: none; }
329.rowmenu .menu-panel { position: absolute; right: 0; z-index: 3; min-width: 9rem; }
330.rowmenu .menu-panel button, .rowmenu .menu-panel form { width: 100%; }
331.rowmenu .menu-panel button { text-align: left; border-radius: 8px; }
332img.tile { object-fit: cover; background: #fff; }
333@font-face {
334 font-family: "Noto Sans Cuneiform";
335 src: url("/assets/NotoSansCuneiform-Regular.ttf") format("truetype");
336 font-display: swap;
337}
338html.cunei, html.cunei body, html.cunei button, html.cunei input, html.cunei select, html.cunei textarea {
339 font-family: "Noto Sans Cuneiform", "Segoe UI", sans-serif;
340}
341.applybar {
342 position: sticky; top: 0; z-index: 6; display: flex; justify-content: flex-end;
343 padding: 0.45rem 0; background: rgba(243, 246, 251, 0.94);
344}
345.applybar[hidden] { display: none; }
346.sugmodal {
347 border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem;
348 width: min(32rem, 92vw); box-shadow: var(--shadow);
349}
350.sugmodal::backdrop { background: rgba(20, 32, 51, 0.45); }
351.sugmodal h2 { margin: 0 0 0.4rem; }
352.diff {
353 background: white; border: 1px solid var(--line); border-radius: 12px;
354 overflow: auto; user-select: none; margin: 0.4rem 0 1rem;
355}
356.difffile + .difffile { border-top: 1px solid var(--line); }
357.difffile header {
358 padding: 0.5rem 0.75rem; background: #f6f8fa; border-bottom: 1px solid var(--line); font-weight: 650;
359}
360.diffline {
361 position: relative; display: grid; grid-template-columns: 16px 3.2rem minmax(0, 1fr);
362 font-family: ui-monospace, monospace; font-size: 0.84rem; line-height: 1.5;
363}
364.diffline code { white-space: pre; padding: 0 0.7rem 0 0.35rem; }
365.diffline .ln { color: #8c959f; text-align: right; padding-right: 0.45rem; }
366.gutter { background: #eef2f7; cursor: ns-resize; }
367.gutter.off { background: transparent; cursor: default; }
368.kind-add { background: #e6ffec; }
369.kind-del { background: #ffebe9; }
370.kind-hunk { color: #8c959f; background: #f6f8fa; }
371.diffline.picked { box-shadow: inset 3px 0 0 var(--blue); }
372.diffline.picked .gutter { background: #bfdbfe; }
373.linenote, .lineform {
374 margin: 0.35rem 0.6rem 0.55rem 2.6rem; background: #f6f8fa;
375 border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.7rem;
376}
377.linenote pre.note, ul.clean pre.note {
378 background: white; color: var(--ink); border: 1px solid var(--line); margin: 0.35rem 0;
379}
380label.sugcheck { display: flex; align-items: center; gap: 0.45rem; }
381label.sugcheck input { width: auto; }
382.bubble {
383 position: absolute; left: 18px; top: 0.15rem; z-index: 3;
384 width: 28px; height: 28px; padding: 0; border-radius: 8px;
385 background: white; border: 1px solid var(--line); box-shadow: var(--shadow);
386}
387.bubble-icon {
388 width: 14px; height: 10px; border: 2px solid var(--blue); border-radius: 7px;
389 display: inline-block; position: relative; background: white;
390}
391.bubble-icon::after {
392 content: ""; position: absolute; left: 2px; bottom: -6px;
393 border-width: 6px 5px 0 0; border-style: solid;
394 border-color: var(--blue) transparent transparent transparent;
395}
396.pipebar { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; margin: 0.4rem 0 1rem; }
397.pipe-filter {
398 display: flex; align-items: stretch; flex: 1; max-width: 42rem;
399 border: 1px solid var(--line); border-radius: 8px; background: white; overflow: hidden;
400}
401.pipe-filter input { border: 0; border-radius: 0; width: 100%; }
402.pipe-filter button.iconbtn {
403 width: 2.6rem; border: 0; border-left: 1px solid var(--line); border-radius: 0;
404 background: white; color: var(--ink); padding: 0;
405}
406.showid { position: relative; }
407.showid summary {
408 list-style: none; cursor: pointer; background: white; color: var(--ink);
409 border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.75rem;
410}
411.showid summary::-webkit-details-marker { display: none; }
412.showid summary::after { content: "▾"; margin-left: 0.45rem; color: var(--muted); }
413.showid form {
414 position: absolute; right: 0; top: calc(100% + 6px); z-index: 6;
415 display: flex; gap: 0.4rem; width: 18rem; padding: 0.6rem;
416 background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
417}
418.showid form[popover]:not(:popover-open) { display: none; }
419.showid form[popover]:popover-open { display: flex; width: min(18rem, calc(100vw - 16px)); }
420.showid form input { width: auto; flex: 1; }
421table.pipes td { padding: var(--sp-2) var(--sp-3); }
422table.pipes .pipeid { font-weight: 700; }
423.ellip { display: block; max-width: 28rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
424.chips { display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; margin-top: 0.28rem; }
425.chip {
426 display: inline-flex; align-items: center; gap: 0.15rem;
427 background: #eef2f7; color: var(--ink); text-decoration: none;
428 border-radius: 999px; padding: 0.05rem 0.5rem; font-size: 0.78rem;
429}
430.when { display: flex; align-items: center; gap: 0.3rem; color: var(--muted); font-size: 0.82rem; margin-top: 0.18rem; }
431svg.ico { width: 14px; height: 14px; flex: none; }
432.avatar.sm { width: 20px; height: 20px; font-size: 0.68rem; }
433.status {
434 display: inline-flex; align-items: center; gap: 0.32rem;
435 border-radius: 999px; padding: 0.12rem 0.55rem 0.12rem 0.28rem;
436 font-weight: 650; font-size: 0.84rem; background: #eef2f7; color: var(--ink);
437}
438.status.passed { background: #e5f6ec; color: #146c43; }
439.status.failed { background: #fde8e8; color: #9f2d2d; }
440.status.warning { background: #fff4e0; color: #8a5a00; }
441.status.running { background: #e7f0ff; color: #1f6feb; }
442.status.canceled { background: #f3f0f0; color: #57606a; }
443.mark { position: relative; width: 16px; height: 16px; border-radius: 50%; display: inline-block; flex: none; background: #8c959f; }
444.status.passed .mark, .stage-dot.passed .mark { background: #1aaa55; }
445.status.failed .mark, .stage-dot.failed .mark { background: #dd2b0e; }
446.status.warning .mark, .stage-dot.warning .mark { background: #c17d10; }
447.status.running .mark, .stage-dot.running .mark { background: #1f75cb; }
448.status.canceled .mark, .stage-dot.canceled .mark { background: #8c959f; }
449.passed .mark::after {
450 content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px;
451 border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
452}
453.failed .mark::before, .failed .mark::after {
454 content: ""; position: absolute; left: 3px; top: 7px; width: 10px; height: 2px; background: #fff;
455}
456.failed .mark::before { transform: rotate(45deg); }
457.failed .mark::after { transform: rotate(-45deg); }
458.warning .mark::before {
459 content: ""; position: absolute; left: 7px; top: 3px; width: 2px; height: 6px; background: #fff;
460}
461.warning .mark::after {
462 content: ""; position: absolute; left: 7px; top: 11px; width: 2px; height: 2px; background: #fff;
463}
464.skipped .mark::after, .canceled .mark::after {
465 content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 2px; background: #fff;
466}
467.status.pending .mark, .status.created .mark,
468.stage-dot.pending .mark, .stage-dot.created .mark {
469 background: transparent;
470 box-shadow: inset 0 0 0 2px #8c959f;
471}
472.running .mark::after {
473 content: ""; position: absolute; left: 3px; top: 3px; width: 10px; height: 10px;
474 border: 2px solid #fff; border-radius: 50%; border-right-color: transparent; box-sizing: border-box;
475 animation: spin 0.8s linear infinite;
476}
477.stage-dot.sm.running .mark::after { left: 2px; top: 2px; width: 8px; height: 8px; }
478@keyframes spin { to { transform: rotate(1turn); } }
479@media (prefers-reduced-motion: reduce) {
480 .running .mark::after { animation: none; }
481}
482.commitbar a.status { flex: none; text-decoration: none; }
483.stages { display: flex; align-items: center; }
484.mrpipe { display: flex; align-items: center; gap: 0.8rem; margin: 0.2rem 0 1rem; }
485.danger-modal {
486 border: 6px solid #a31212;
487 background: #fde8e8;
488 color: #6d1212;
489 width: min(92vw, 52rem);
490 padding: 2.2rem 2rem;
491 border-radius: 16px;
492}
493.danger-modal::backdrop { background: rgba(80, 8, 8, 0.55); }
494.danger-modal p { font-size: 1.7rem; line-height: 1.45; margin: 0 0 1.2rem; }
495.danger-modal [data-transfer-submit], .danger-modal [data-tag-submit] { background: #a31212; color: #fff; }
496.danger-modal [data-transfer-submit]:disabled { opacity: 0.45; }
497.stage { position: relative; display: flex; align-items: center; }
498.stage + .stage::before { content: ""; width: 14px; height: 2px; background: #c5d0dc; margin: 0 2px; }
499button.stage-dot {
500 width: 26px; height: 26px; min-height: 0; padding: 0; border: 0; border-radius: 50%;
501 background: transparent; display: grid; place-items: center; position: relative;
502}
503.stage.open button.stage-dot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1f75cb; }
504.float-tip {
505 border: 0; padding: 0.28rem 0.5rem; border-radius: 6px;
506 background: #24292f; color: white; font-size: 0.75rem; font-weight: 600;
507 line-height: 1.2; white-space: nowrap; pointer-events: none;
508}
509.float-tip.heat { background: #142033; font-size: 0.78rem; font-weight: 400; }
510.stage-pop {
511 min-width: min(220px, calc(100vw - 16px));
512 background: white; border: 1px solid var(--line); border-radius: 8px;
513 box-shadow: var(--shadow); padding: 0.7rem 0.85rem;
514}
515.stage-pop ul { list-style: none; margin: 0.35rem 0 0; padding: 0; }
516.stage-pop a, .related a { display: flex; align-items: center; gap: 0.4rem; text-decoration: none; padding: 0.22rem 0; color: var(--ink); }
517.queue { color: var(--muted); font-weight: 500; }
518.stage-dot.sm { width: 16px; height: 16px; display: inline-grid; place-items: center; }
519.stage-dot.sm .mark { width: 14px; height: 14px; }
520.stage-dot.sm.passed .mark::after { left: 4px; top: 2px; width: 3px; height: 6px; }
521.jobhead { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
522.joblayout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1rem; align-items: start; }
523.console-wrap { border: 1px solid #2a2a2a; border-radius: 8px; overflow: hidden; background: #1e1e1e; }
524.conbar {
525 display: flex; justify-content: space-between; gap: 0.6rem; align-items: center; flex-wrap: wrap;
526 background: #f6f8fa; padding: 0.45rem 0.55rem; border-bottom: 1px solid var(--line);
527}
528.conbar .pipe-filter { max-width: none; flex: 1; min-width: 12rem; }
529.contools { display: flex; gap: 0.3rem; align-items: center; flex-wrap: wrap; }
530.contools .ghost, .contools a.ghost { padding: 0.3rem 0.55rem; background: white; }
531.console {
532 color: #e6edf3; font-family: ui-monospace, monospace; font-size: 0.82rem;
533 max-height: 68vh; overflow-x: hidden; overflow-y: auto; padding: 0.35rem 0 0.8rem;
534}
535.console.nowrap { overflow-x: auto; }
536.console code { min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
537.console.nowrap code { white-space: pre; overflow-wrap: normal; }
538.ansi-bold { font-weight: 700; }
539.ansi-dim { opacity: 0.65; }
540.ansi-italic { font-style: italic; }
541.ansi-underline { text-decoration: underline; }
542.ansi-fg-black { color: #6e7681; }
543.ansi-fg-red { color: #ff7b72; }
544.ansi-fg-green { color: #3fb950; }
545.ansi-fg-yellow { color: #d29922; }
546.ansi-fg-blue { color: #79c0ff; }
547.ansi-fg-magenta { color: #d2a8ff; }
548.ansi-fg-cyan { color: #56d4dd; }
549.ansi-fg-white { color: #f0f6fc; }
550.ansi-fg-bright-black { color: #8b949e; }
551.ansi-fg-bright-red { color: #ffa198; }
552.ansi-fg-bright-green { color: #56d364; }
553.ansi-fg-bright-yellow { color: #e3b341; }
554.ansi-fg-bright-blue { color: #a5d6ff; }
555.ansi-fg-bright-magenta { color: #e2c5ff; }
556.ansi-fg-bright-cyan { color: #7ee7ef; }
557.ansi-fg-bright-white { color: #ffffff; }
558.ansi-bg-black { background: #1c2128; }
559.ansi-bg-red { background: #6e2b29; }
560.ansi-bg-green { background: #1f4d32; }
561.ansi-bg-yellow { background: #5c4a1f; }
562.ansi-bg-blue { background: #1f3b5c; }
563.ansi-bg-magenta { background: #4a2d5c; }
564.ansi-bg-cyan { background: #1c4a4e; }
565.ansi-bg-white { background: #d0d7de; color: #1c2128; }
566.ansi-bg-bright-black { background: #2d333b; }
567.ansi-bg-bright-red { background: #8a3834; }
568.ansi-bg-bright-green { background: #2a6b3c; }
569.ansi-bg-bright-yellow { background: #7a641f; }
570.ansi-bg-bright-blue { background: #2a5580; }
571.ansi-bg-bright-magenta { background: #684080; }
572.ansi-bg-bright-cyan { background: #2a666c; }
573.ansi-bg-bright-white { background: #f0f6fc; color: #1c2128; }
574.lognote { margin: 0.2rem 0.8rem 0.45rem; color: #8b949e; font-family: inherit; }
575.logline, .logsec ol li {
576 display: grid; grid-template-columns: 3rem 5.4rem minmax(0, 1fr);
577 gap: 0.45rem; padding: 0 0.7rem; line-height: 1.45; min-width: 0;
578}
579.logsec ol { list-style: none; margin: 0; padding: 0; display: none; }
580.logsec.open ol { display: block; }
581.ln, .ts { color: #8b949e; }
582.ln { text-align: right; }
583.logline.hit, .logsec li.hit { background: #3d3416; }
584.logline.hit.on, .logsec li.hit.on { background: #6b5710; }
585button.section-toggle {
586 position: sticky; left: 0; z-index: 2; box-sizing: border-box;
587 width: 100%; max-width: 100%;
588 min-height: 0; background: #1e1e1e; color: #9ecbff; border: 0; border-radius: 0;
589 display: flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.7rem; text-align: left; font-weight: 650;
590}
591.section-toggle .sectitle { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
592.section-toggle .pill { flex: none; margin-left: auto; background: #2d333b; color: #d0d7de; border-color: #444c56; }
593.contools .ghost[aria-pressed="true"] { background: var(--blue-soft); color: var(--blue-deep); border-color: var(--blue); }
594.chev {
595 width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
596 border-left: 6px solid currentColor; display: inline-block;
597}
598.logsec.open .chev { transform: rotate(90deg); }
599.console-wrap:fullscreen { display: flex; flex-direction: column; background: #111; border-radius: 0; }
600.console-wrap:fullscreen .console { max-height: none; flex: 1; }
601.console-wrap.full { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; border-radius: 0; }
602.console-wrap.full .console { max-height: none; flex: 1; }
603.jobside {
604 background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem;
605}
606.jobside dt { color: var(--muted); font-size: 0.78rem; margin-top: 0.7rem; }
607.jobside dd { margin: 0.12rem 0 0; }
608.jobside h2 { font-size: 0.95rem; margin: 0.9rem 0 0.3rem; }
609.related { list-style: none; margin: 0; padding: 0; }
610.related li { display: flex; align-items: center; gap: 0.3rem; }
611.related .arrow { width: 1rem; color: var(--muted); }
612.editorhead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.7rem; }
613.editorhead h2 { margin: 0; font-size: 1.15rem; }
614.editorhead .status { margin: 0; }
615.ciedit {
616 display: grid; grid-template-columns: 3.2rem minmax(0, 1fr);
617 border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white;
618}
619.ci-gutter {
620 overflow: hidden; background: #f6f8fa; color: #8c959f; text-align: right;
621 font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45;
622 padding: 0.55rem 0.45rem; user-select: none;
623}
624.ci-gutter span { display: block; }
625.ci-gutter span.bad { background: #fde8e8; color: var(--bad); font-weight: 700; }
626.ci-stage { position: relative; display: grid; align-items: stretch; }
627.ci-back, .ciedit textarea {
628 grid-area: 1 / 1;
629 font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45;
630 padding: 0.55rem 0.7rem; margin: 0; white-space: pre; tab-size: 2;
631}
632.ci-back { position: relative; overflow: hidden; color: var(--ink); pointer-events: none; }
633.codeline { min-height: 1.45em; }
634.codeline.bad { background: #fff5f5; }
635.ciedit textarea {
636 position: relative; width: 100%; height: auto; align-self: stretch; border: 0; border-radius: 0;
637 background: transparent; color: transparent; caret-color: var(--ink); resize: none; overflow: auto;
638}
639.ciedit textarea::selection { background: rgba(31, 111, 235, 0.25); }
640.ci-issues { list-style: none; padding: 0; margin: 0.7rem 0 0; }
641.ci-issues li.bad { color: var(--bad); }
642.ci-issues li.warn { color: #8a5a00; }
643.hero h1 { font-size: 32px; }
644.mdbody h1 { font-size: 24px; }
645.sidecontext .tile { width: 32px; height: 32px; font-size: 1rem; }
646.filename { font-size: 16px; font-weight: 600; }
647@media (max-width: 960px) {
648 .frame.with-side { flex-direction: column; align-items: stretch; }
649 .sidenav, .content { width: 100%; max-width: 100%; min-width: 0; }
650 .sidenav {
651 position: sticky; top: var(--top-h); height: auto;
652 border-right: 0; border-bottom: 1px solid var(--line); z-index: 20;
653 }
654 .sidenav-links {
655 flex-direction: row; overflow-x: auto; min-width: 0; padding: 0 var(--sp-2);
656 scrollbar-width: none;
657 }
658 .sidenav-links::-webkit-scrollbar { display: none; }
659 .sidenav-links a {
660 flex: none; white-space: nowrap; margin: 0; border-radius: 0;
661 box-shadow: inset 0 -2px 0 transparent; padding: var(--sp-2) var(--sp-3);
662 }
663 .sidenav-links a.on { background: transparent; font-weight: 400; box-shadow: inset 0 -2px 0 var(--blue); }
664}
665.spec h2 { scroll-margin-top: calc(var(--top-h) + 12px); margin: 1.6rem 0 0.6rem; }
666.spec .lead { margin-top: 0; }
667.spec-example {
668 background: #142033; color: #e7f0ff; border-radius: var(--radius-lg);
669 padding: 0.85rem 1rem; overflow: auto; font-family: var(--mono); font-size: 0.88rem;
670 line-height: 1.45;
671}
672.spec-table { width: 100%; border-collapse: collapse; background: var(--card); }
673.spec-table th, .spec-table td {
674 border-bottom: 1px solid var(--line); text-align: left; vertical-align: top;
675 padding: 0.45rem 0.7rem;
676}
677.spec-table th { font-size: var(--fs-sm); color: var(--muted); font-weight: 650; }
678.spec-table code { font-family: var(--mono); font-size: 0.92em; }
679.spec-list { margin: 0.2rem 0 0; padding-left: 1.2rem; }
680.spec-list li { margin: 0.35rem 0; }
681@media (max-width: 800px) {
682 .proj, .fileview, .joblayout { grid-template-columns: minmax(0, 1fr); }
683 .proj > *, .fileview > *, .toolbar, .commitbar, .hscroll { min-width: 0; max-width: 100%; }
684 .heat-foot { flex-direction: column; align-items: flex-start; }
685 .heat-legend, .heat-foot .muted { justify-content: flex-start; text-align: left; }
686 .repolist > li { flex-wrap: wrap; }
687 .pagehead { align-items: flex-start; }
688 .pageacts { flex-wrap: wrap; justify-content: flex-end; }
689}