repositories / pi-ext
pi-ext
bugabingas pi extensions
owned by admin
extensions/loop/site/app.css
Raw:root {
--bg: var(--nugu-content-backdrop);
--fg: var(--nugu-content-normal);
--minor: var(--nugu-content-minor);
--line: color-mix(in oklch, var(--nugu-content-minor) 35%, var(--bg));
--surface: var(--nugu-ui-backdrop);
--accent: var(--nugu-content-accent);
--focus: var(--nugu-content-focus);
--pass: var(--nugu-info);
--fail: var(--nugu-error);
--warn: var(--nugu-warning);
--muted-dot: var(--nugu-ui-unfocus);
--important: var(--nugu-content-important-local);
--pass-line: color-mix(in oklch, var(--nugu-info) 35%, var(--bg));
--fail-line: color-mix(in oklch, var(--nugu-error) 40%, var(--bg));
}
* {
box-sizing: border-box;
}
[hidden] {
display: none !important;
}
body {
margin: 0;
background: var(--bg);
color: var(--fg);
font:
13px / 1.45 system-ui,
sans-serif;
}
.loop-dash {
max-width: 1100px;
margin: 0 auto;
padding: 14px 20px 32px;
}
.mono,
code,
pre {
font-family: ui-monospace, monospace;
}
.top {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 8px;
}
.brand {
font-weight: 700;
letter-spacing: 0.12em;
color: var(--accent);
}
.brand small {
color: var(--minor);
letter-spacing: 0;
font-weight: 400;
}
.conn {
color: var(--minor);
font-size: 12px;
}
.conn.ok {
color: var(--pass);
}
.empty {
color: var(--minor);
margin-top: 24px;
}
.run,
.tl,
.events {
margin-top: 12px;
border: 1px solid var(--line);
border-radius: 8px;
padding: 10px;
}
.eyebrow {
display: flex;
gap: 10px;
align-items: center;
font-size: 11px;
color: var(--minor);
text-transform: uppercase;
letter-spacing: 0.08em;
}
.status.st-active {
color: var(--warn);
}
.status.st-succeeded {
color: var(--pass);
}
.status.st-paused,
.status.st-stopped {
color: var(--fail);
}
.goal {
margin: 8px 0;
font-size: 13px;
font-weight: 400;
line-height: 1.6;
overflow-wrap: anywhere;
}
.goal > :first-child {
margin-top: 0;
}
.goal > :last-child {
margin-bottom: 0;
}
.goal :is(h1, h2, h3, h4, h5, h6) {
font-size: 1.1em;
line-height: 1.4;
margin: 1em 0 0.5em;
color: var(--focus);
}
.goal :is(p, ul, ol, blockquote, pre, table) {
margin: 0.6em 0;
}
.goal :is(ul, ol) {
padding-left: 1.8em;
}
.goal a {
color: var(--accent);
text-underline-offset: 0.15em;
}
.goal blockquote {
margin-left: 0;
padding-left: 12px;
border-left: 3px solid var(--line);
color: var(--minor);
}
.goal code {
background: var(--surface);
border-radius: 3px;
padding: 0.1em 0.3em;
}
.goal pre {
background: var(--surface);
border-radius: 4px;
padding: 10px;
overflow: auto;
white-space: pre-wrap;
}
.goal pre code {
padding: 0;
}
.goal table {
display: block;
max-width: 100%;
overflow-x: auto;
overflow-wrap: normal;
border-collapse: collapse;
}
.goal :is(th, td) {
border: 1px solid var(--line);
padding: 4px 8px;
}
.goal input[type="checkbox"] {
accent-color: var(--accent);
}
.banner {
margin: 8px 0 0;
padding: 6px 10px;
border-radius: 6px;
font-size: 12px;
display: flex;
gap: 10px;
align-items: center;
}
.banner.ok {
background: color-mix(in oklch, var(--pass) 15%, var(--bg));
color: var(--focus);
border: 1px solid var(--pass-line);
}
.banner.pause {
background: color-mix(in oklch, var(--fail) 12%, var(--bg));
color: var(--fail);
border: 1px solid var(--fail-line);
}
.banner .big {
display: block;
font-size: 13px;
margin-bottom: 2px;
color: var(--fg);
}
.resume {
margin-left: auto;
border: 1px solid var(--focus);
color: var(--focus);
background: none;
border-radius: 5px;
padding: 3px 10px;
font-size: 12px;
cursor: pointer;
white-space: nowrap;
}
.budgets {
display: flex;
gap: 8px;
margin-top: 8px;
flex-wrap: wrap;
}
.budget {
border: 1px solid var(--line);
border-radius: 5px;
padding: 2px 8px;
font-size: 12px;
color: var(--minor);
}
.budget b {
color: var(--focus);
font-weight: 600;
}
.gates {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 8px;
margin-top: 10px;
}
.gate {
border: 1px solid var(--line);
border-radius: 6px;
padding: 6px 10px;
}
.gate .row {
display: flex;
gap: 8px;
align-items: center;
}
.dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--muted-dot);
flex: none;
}
.gate.pass {
border-color: var(--pass-line);
}
.gate.pass .dot {
background: var(--pass);
}
.gate.fail {
border-color: var(--fail-line);
}
.gate.fail .dot {
background: var(--fail);
}
.gate.running .dot {
background: var(--warn);
}
.gate .command {
flex: 1 1 auto;
color: var(--minor);
font-size: 11px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
}
.gate .code {
color: var(--minor);
font-size: 11px;
margin-left: auto;
white-space: nowrap;
}
.gate summary {
cursor: pointer;
color: var(--minor);
font-size: 11px;
margin-top: 6px;
}
.gate pre {
margin: 6px 0 0;
background: var(--surface);
border-radius: 4px;
padding: 8px;
font-size: 11px;
overflow: auto;
max-height: 260px;
white-space: pre-wrap;
}
.gate pre .err {
color: var(--fail);
}
.tl h2,
.events h2 {
font-size: 12px;
color: var(--minor);
margin: 0 0 8px;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.track {
position: relative;
height: 40px;
}
.axis {
position: absolute;
top: 19px;
left: 0;
right: 0;
height: 2px;
background: var(--line);
}
.mark {
position: absolute;
width: 10px;
height: 10px;
border-radius: 50%;
transform: translateX(-50%);
top: 15px;
}
.mark.turn {
background: var(--muted-dot);
width: 4px;
height: 4px;
top: 18px;
}
.mark.fail {
background: var(--fail);
}
.mark.pass {
background: var(--pass);
}
.mark.latest::after {
content: "";
position: absolute;
inset: -4px;
border: 1px solid var(--focus);
border-radius: 50%;
}
.mark .tip {
position: absolute;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
background: var(--surface);
border: 1px solid var(--line);
padding: 4px 8px;
border-radius: 4px;
white-space: nowrap;
font-size: 11px;
opacity: 0;
pointer-events: none;
}
.mark:hover .tip,
.mark:focus-visible .tip {
opacity: 1;
}
.events {
max-height: 220px;
overflow: auto;
}
.ev {
display: flex;
gap: 8px;
font-size: 12px;
padding: 2px 0;
}
.ev time {
color: var(--muted-dot);
}
.ev .k {
color: var(--important);
min-width: 90px;
}
details.hist {
margin-top: 12px;
border: 1px solid var(--line);
border-radius: 8px;
}
details.hist summary {
padding: 8px 10px;
cursor: pointer;
color: var(--minor);
font-size: 12px;
}
.hrow {
display: flex;
gap: 10px;
padding: 4px 10px;
font-size: 12px;
}
.hrow .st-succeeded {
color: var(--pass);
}
.hrow .st-paused,
.hrow .st-stopped {
color: var(--warn);
}
.hrow .st-active {
color: var(--fg);
}
:focus-visible {
outline: 2px solid var(--focus);
outline-offset: 2px;
}