git clone https://garage44.eu/jeroen/cartopolis.git.. /crates/atlas/web/src/components/pages/pipeline/pipeline.css
/* ---- The Data tab ------------------------------------------------------ */
.pipeline-intro {
color: var(--m-text-dim);
font-size: var(--m-font-size-sm);
margin: 0 0 var(--m-space-4);
& code {
font-family: var(--m-font-mono);
overflow-wrap: anywhere;
}
}
.pipeline-muted {
color: var(--m-text-dim);
font-size: var(--m-font-size-sm);
margin: 0;
}
/* Coverage, the steps of a run and the earlier runs: rows divided by a rule. */
.pipeline-coverage,
.pipeline-steps,
.pipeline-runs {
list-style: none;
margin: 0;
padding: 0;
& > li + li {
border-top: 1px solid var(--m-border);
}
}
.pipeline-coverage > li,
.pipeline-runs > li {
padding: var(--m-space-2) 0;
&:first-child {
padding-top: 0;
}
}
.pipeline-row {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: var(--m-space-2);
}
/* The name takes the slack, which pushes the badge and the button to the end. */
.pipeline-name {
color: var(--m-text-strong);
flex: 1 1 auto;
font-weight: 600;
min-width: 0;
overflow-wrap: anywhere;
}
/*
* Several facts in one line — cells, counts, a date — so the separator is a gap
* on the row rather than punctuation in the markup. Without it they run together
* into one value that reads as corrupt.
*/
.pipeline-meta {
color: var(--m-text-dim);
font-size: var(--m-font-size-sm);
margin-top: var(--m-space-1);
& > span + span::before {
color: var(--m-text-faint);
content: "·";
padding: 0 var(--m-space-2);
}
}
.pipeline-form {
display: flex;
flex-direction: column;
gap: var(--m-space-3);
}
.pipeline-picks {
display: flex;
flex-direction: column;
gap: var(--m-space-2);
}
.pipeline-actions {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: var(--m-space-2) var(--m-space-3);
}
.pipeline-steps > li {
align-items: baseline;
display: flex;
flex-wrap: wrap;
gap: var(--m-space-1) var(--m-space-3);
padding: var(--m-space-2) 0;
&:first-child {
padding-top: 0;
}
}
.pipeline-step-name {
color: var(--m-text-dim);
flex: 0 0 9rem;
font-family: var(--m-font-mono);
font-size: var(--m-font-size-sm);
}
/* Takes the rest of the line, and wraps under the name when a phone has none. */
.pipeline-step-detail {
display: flex;
flex: 1 1 12rem;
flex-direction: column;
gap: var(--m-space-1);
min-width: 0;
overflow-wrap: anywhere;
}
.pipeline-steps > li.is-running .pipeline-step-detail {
color: var(--m-warning);
}
.pipeline-steps > li.is-done .pipeline-step-detail {
color: var(--m-text);
}
.pipeline-steps > li.is-failed .pipeline-step-detail {
color: var(--m-danger);
}
.pipeline-steps > li.is-queued .pipeline-step-detail,
.pipeline-steps > li.is-cancelled .pipeline-step-detail {
color: var(--m-text-dim);
}
/*
* A fixed height rather than one that grows: this is a live tail and a box that
* grew with it would push the Stop button off the bottom of the screen within
* seconds of a run starting — on a phone, immediately.
*/
.pipeline-log {
background: var(--m-surface-sunken);
border: 1px solid var(--m-border);
border-radius: var(--m-radius);
color: var(--m-text-dim);
font-family: var(--m-font-mono);
font-size: 0.78rem;
line-height: 1.5;
margin: var(--m-space-3) 0;
max-height: 16rem;
overflow: auto;
padding: var(--m-space-2) var(--m-space-3);
white-space: pre-wrap;
word-break: break-word;
}