// ci: page parts in the one page language (docs/ui-language.md). Tokens only. // Runs list: one line per run, the way the issue list reads. Tick, title, then the meta. // The mini bar and the estimate bar are not part of a row; the run page shows the detail. .ci-split > .ci-side .ci-row { display: flex; flex-direction: row; align-items: center; gap: 10px; min-height: 46px; padding: 8px 18px; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; text-align: left; } .ci-split > .ci-side .ci-row:last-child { border-bottom: 0; } .ci-split > .ci-side .ci-row[aria-current="true"], .ci-split > .ci-side .ci-run-item:has(> .ci-row[aria-current="true"]) { background: var(--surface-2); } .ci-split > .ci-side .ci-run-item > .ci-row[aria-current="true"] { background: none; } .ci-split > .ci-side .ci-row .ci-bar, .ci-split > .ci-side .ci-row .ci-est { display: none; } .ci-split > .ci-side .ci-row .name { flex: 0 1 auto; min-width: 0; max-width: 50%; overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; } .ci-split > .ci-side .ci-row .val { flex: 0 1 auto; min-width: 0; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; } .ci-split > .ci-side .ci-row time, .ci-split > .ci-side .ci-row .ci-row-dur { font-size: 14px; } .ci-split > .ci-side .ci-row .ci-row-dur { font-family: var(--mono); font-size: 13px; } // A run's Re-run sits right after its row's text, not at the far end. The row's line is the item's. .ci-split > .ci-side .ci-run-item { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--border); &:last-child { border-bottom: 0; } > .ci-row { flex: 0 1 auto; min-width: 0; border-bottom: 0; } > .ci-row-rerun-form { flex: none; } // A phone row is the whole width: Re-run goes under its text, on the text's edge. @media (max-width: 700px) { flex-wrap: wrap; > .ci-row { flex: 1 1 100%; } > .ci-row-rerun-form { margin: -10px 0 8px calc(var(--row-x, 18px) - 10px); } } } // Run workflow and Status badge: the same soft pill as every other button in the head. .ci-tool > summary { display: inline-flex; align-items: center; gap: 8px; height: var(--control-h); box-sizing: border-box; padding: 0 14px 0 18px; border: 0; border-radius: 19px; background: var(--surface-2); box-shadow: none; color: var(--text); font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; } .ci-tool > summary:hover { background: color-mix(in oklab, var(--surface-2) 88%, var(--text)); } .ci-tool > .menu-list { left: 0; right: auto; } // The badge is a quiet tool word in the runs sheet's tools row, not a head pill. .sheet-tools > .ci-badge-tool > summary.act { height: 30px; padding: 0 10px; border-radius: 12px; background: none; color: var(--accent-ink); font-size: 14px; font-weight: 600; } .sheet-tools > .ci-badge-tool > summary.act:hover { background: none; } // The run's estimate bar is the step strip's job: the head keeps only the words. .ci-run > .head progress.ci-est-run { display: none; } // Steps: each keeps at least its label's width, so a short step still reads its name. .ci-run > .strip { margin-top: 12px; } .ci-run > .strip > .seg { min-width: min(150px, 28vw); } .ci-run > .strip > .seg .lab { text-overflow: ellipsis; } // A job page's wrapper is not a box: its head and sheet are the page's own parts. .ci-job { display: contents; } // The log's tabs: the shared tab look, with no underline. .sheet-tools .ci-tl-tab, .sheet-tools .ci-tl-tab-log, .sheet-tools .ci-tl-tab-timeline { border-bottom: 0; box-shadow: none; } // The job page fills the window like the run page: the sheet takes what the head leaves, and its // log scrolls inside it. The commit chart is a small strip under the log, not a block of colour. .shell-body > main:has(> .ci-job) { display: flex; flex-direction: column; height: calc(100dvh - 66px); min-height: 560px; } main:has(> .ci-job) > .sheet { flex: 1 1 0; min-height: 0; margin-top: 14px; } .ci-job .ci-dock { flex: none; height: 132px; padding: 10px 18px 12px; overflow: hidden; } .ci-dock .history-label { text-transform: none; letter-spacing: 0; font-family: var(--font); font-size: 13px; color: var(--muted); } .ci-dock .history-bars { height: 56px; align-items: flex-end; } // The timeline's job rows: the shared quiet action, and its output as the log is, not as a box. .ci-tl-panel-timeline .ci-job-all, .ci-tl-panel-timeline .ci-job-last { height: 30px; padding: 0 10px; border: 0; border-radius: 12px; background: none; box-shadow: none; color: var(--muted); font-size: 14px; font-weight: 500; } .ci-tl-panel-timeline .ci-job-all:hover, .ci-tl-panel-timeline .ci-job-last:hover { background: var(--surface-2); color: var(--text); } .ci-tl-panel-timeline pre { background: none; border: 0; border-radius: 0; padding: 0 0 0 26px; } .ci-row .ci-row-meta { font-size: 14px; } // The status badge preview in its menu: the badge keeps its colours and sits in the menu's ring. .ci-pop .ci-chip { border: 0; border-radius: 12px; box-shadow: 0 0 0 1px var(--border); } // The log's tools row is as tall as its tools: on a phone they wrap, and nothing is cut off. .sheet-tools.ci-tl-logbar { height: auto; min-height: 48px; flex-wrap: wrap; gap: 4px 8px; padding: 6px 10px 6px 18px; box-sizing: border-box; } .sheet-tools.ci-tl-logbar .ci-tl-tools { flex-wrap: wrap; gap: 4px 8px; } // A timeline job's Re-run sits right after its row's text, not at the far end. .ci-tl-panel-timeline .ci-job-item .ci-job-line { flex: 0 1 auto; } // A run's title is its commit subject: one line, cut with an ellipsis, whole on hover. .head-sub .b[data-run] { display: inline-block; max-width: min(60ch, 100%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; } // The timeline is drawn on 640 units with text of the page's size: at 640px its labels match the page's // text, so it stops growing there instead of filling a wide window. .ci-gantt { max-width: 640px; } // The log search's match count takes room only once there is a count to show. .ci-logcount:empty { display: none; } // The count and the match arrows show only while the log search has text. .ci-tl-tools:has(input:placeholder-shown) { .ci-logcount, [data-log-prev], [data-log-next] { display: none; } } // The timeline tab: its parts keep their own heights in the scrolling panel (the chart had shrunk to // nothing), start on the sheet's inset, and every action sits on the left with the rest. .ci-tl-panel-timeline { padding: 12px 18px; > * { flex: none; } .ci-job-head { justify-content: flex-start; margin: 12px 0 4px -10px; } // A job's last log line reads as the start of its output: on the name's edge, not centred. .ci-job-last { justify-content: flex-start; align-self: stretch; padding-left: 26px; font-family: var(--mono); font-size: 13px; } .ci-job-last-text { overflow: hidden; text-overflow: ellipsis; } } // The run's commit history under the timeline: one caption line (how many commits, what a bar's // height means), then the bars, each a narrow column in the CI colour of its commit, from the left. .ci-tl-panel-timeline .ci-dock, .ci-job .ci-dock { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 6px; height: auto; padding: 14px 0 4px; > .hint { order: 2; margin: 0; &::before { content: "ยท "; } } .dock-history, .history-strip { display: contents; } .history-label { order: 1; position: static; width: auto; height: auto; clip-path: none; margin: 0; font-family: var(--font); font-size: 13px; letter-spacing: 0; text-transform: none; line-height: 18px; } .history-bars { order: 3; flex: 0 0 100%; justify-content: flex-start; height: 48px; margin-top: 10px; gap: 3px; > a { flex: 0 0 14px; } } } .ci-job .ci-dock { padding: 12px 18px; } // Log lines: the number column fits five digits on one line in the log's own font, so a number // never wraps under itself and every line is one line tall. .ci-log .ll { grid-template-columns: 7ch minmax(0, 1fr); column-gap: 2ch; } .ci-log .ln { width: auto; padding-right: 0; white-space: nowrap; } // A group's name is a line like the others, with its number, and keeps a hairline under it while // it sticks. .ci-log details.lg > summary { display: grid; } // A run or job page fills the window under the top bar, whatever stands between them (a banner, // a notice): the page is a column, and the log takes the room left. body:has(> .shell main > :is(.ci-run, .ci-job)) { height: 100dvh; min-height: 600px; > .shell { flex: 1 1 0; min-height: 0; } .shell-body { min-height: 0; } } .shell-body > main:has(> :is(.ci-run, .ci-job)) { flex: 1 1 0; height: auto; min-height: 0; } // Artifacts are one line of links under the log, not a list that pushes the page past the window. .ci-job .ci-artifacts { display: flex; flex: none; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 10px 18px; border-top: 1px solid var(--border); font-size: 14px; > h2 { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; } .val { color: var(--muted); font-size: 13px; } } // The state in a head's sub line is its word in its colour after a dot, on the line's middle, not a // box that stands taller than the text around it. .head-sub .ci-state { display: inline-flex; align-items: center; gap: 6px; height: auto; padding: 0; border: 0; background: none; font-size: 14px; line-height: 20px; } .head-sub .ci-state::before { margin-right: 0; } // The Timeline tab is the chart and one line a job: what ran where and for how long, with its Re-run. // The output lives in the Log tab, so no tail of it repeats here. .ci-tl-panel-timeline { :is(.ci-job-head, .ci-job-last, .ci-job-tail, .ci-chev) { display: none; } .ci-job-list { margin-top: 8px; border-top: 1px solid var(--border); } }