CI / Format and vet (pull_request) Successful in 1m1s
CI / Dependency audit (pull_request) Successful in 31s
CI / Tests (Linux, race detector) (pull_request) Successful in 1m50s
Release / Plan (reuse the published image?) (push) Successful in 5s
Release / ci (push) Skipped
Release / Build hub image (amd64) (push) Skipped
Release / Build probe image (amd64) (push) Skipped
Release / Build hub image (arm64) (push) Skipped
Release / Build probe image (arm64) (push) Skipped
Release / Publish tags (hub) (push) Successful in 15s
Release / Publish tags (probe) (push) Successful in 15s
Release / Gitea release (push) Successful in 5s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
226 lines
18 KiB
CSS
226 lines
18 KiB
CSS
/* Urutau - INCIDENTS page. Ticket text is untrusted: long words wrap or truncate, nothing forces horizontal scroll.
|
|
Spacing scale 4/8/12/16/24; controls 32px; secondary text .8125rem muted. */
|
|
.inc-page { min-width: 0; }
|
|
.inc-hint { font-size: .8125rem; color: var(--ink-muted); overflow-wrap: anywhere; }
|
|
.inc-link { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit; font-size: .8125rem; }
|
|
.inc-link:hover { text-decoration: underline; }
|
|
.inc-link:focus-visible, .inc-title-btn:focus-visible, .inc-tab:focus-visible, .inc-info:focus-visible { outline: 0; box-shadow: var(--focus-ring); border-radius: 4px; }
|
|
.inc-page .btn, .inc-page select, .inc-page input[type="text"], .inc-page input[type="search"] { min-height: 32px; padding-top: 3px; padding-bottom: 3px; }
|
|
.inc-page .btn.sm { min-height: 32px; padding: 3px 12px; font-size: .875rem; }
|
|
.inc-page textarea, .inc-dlg textarea {
|
|
background: var(--surface-raised); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm);
|
|
padding: 8px 12px; font: inherit; resize: vertical; min-height: 64px; width: 100%; box-sizing: border-box;
|
|
}
|
|
.inc-page textarea:focus-visible, .inc-dlg textarea:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
|
|
.inc-field { display: grid; gap: 4px; min-width: 0; }
|
|
.inc-field label { font-size: .875rem; font-weight: 600; }
|
|
.inc-form { display: grid; gap: var(--s-3); }
|
|
.inc-field input[type="text"], .inc-field select { width: 100%; box-sizing: border-box; min-width: 0; }
|
|
.inc-dlg { width: min(34rem, calc(100vw - 32px)); }
|
|
.inc-btns { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: flex-end; margin-top: var(--s-2); }
|
|
.inc-err { color: var(--danger); margin: var(--s-2) 0 0; font-size: .875rem; }
|
|
.inc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-faint); flex: none; display: inline-block; }
|
|
.inc-d-critical, .inc-d-high { background: var(--danger); }
|
|
.inc-d-medium { background: var(--warn); }
|
|
.inc-d-low { background: var(--info); }
|
|
.inc-id { font-weight: 600; white-space: nowrap; }
|
|
|
|
/* ---------------- list */
|
|
.inc-bar { display: flex; flex-direction: column; align-items: stretch; gap: var(--s-2); margin-bottom: var(--s-3); }
|
|
.inc-tabwrap { display: flex; align-items: center; gap: var(--s-2); min-width: 0; border-bottom: 1px solid var(--line); }
|
|
.inc-info { color: var(--ink-muted); cursor: help; font-size: 1rem; flex: none; }
|
|
.inc-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; gap: 0; min-width: 0; scrollbar-width: thin; }
|
|
.inc-tab { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-muted); cursor: pointer; font: inherit; font-size: .875rem; white-space: nowrap; flex: none; }
|
|
.inc-tabs .inc-tab:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
|
|
.inc-tab:hover { color: var(--ink); }
|
|
.inc-tab.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
|
|
.inc-tab.zero { opacity: .55; }
|
|
.inc-n { font-size: .75rem; color: var(--ink-muted); background: var(--surface-raised); border-radius: 999px; padding: 0 6px; min-width: 1.25rem; text-align: center; }
|
|
.inc-tab.on .inc-n { background: var(--accent-soft); color: var(--accent); }
|
|
.inc-tab-sep { width: 1px; background: var(--line); margin: 10px 4px; flex: none; }
|
|
.inc-toolbar { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
|
|
.inc-search { flex: 1 1 260px; min-width: 0; }
|
|
|
|
/* severity: a word, not only a colour; the row's left edge repeats it */
|
|
.inc-sev { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; color: var(--ink-muted); }
|
|
.inc-sev::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--sev-info); flex: none; }
|
|
.inc-sev-critical { color: var(--sev-critical); } .inc-sev-critical::before { background: var(--sev-critical); }
|
|
.inc-sev-high { color: var(--sev-high); } .inc-sev-high::before { background: var(--sev-high); }
|
|
.inc-sev-medium { color: var(--sev-medium); } .inc-sev-medium::before { background: var(--sev-medium); }
|
|
.inc-sev-low { color: var(--info); } .inc-sev-low::before { background: var(--info); }
|
|
|
|
.inc-table { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-panel); overflow: hidden; }
|
|
.inc-thead, .inc-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) 150px 120px 56px 80px; gap: var(--s-3); align-items: center; padding: 10px var(--s-4) 10px calc(var(--s-4) - 3px); }
|
|
.inc-thead { padding-top: 8px; padding-bottom: 8px; background: var(--surface-raised); border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .04em; border-left: 3px solid transparent; }
|
|
.inc-thead .r { text-align: right; }
|
|
.inc-row { min-height: 56px; box-sizing: border-box; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
|
|
.inc-row.inc-s-critical { border-left-color: var(--sev-critical); }
|
|
.inc-row.inc-s-high { border-left-color: var(--sev-high); }
|
|
.inc-row.inc-s-medium { border-left-color: var(--sev-medium); }
|
|
.inc-row:last-child { border-bottom: 0; }
|
|
.inc-row:hover { background: var(--surface-raised); }
|
|
.inc-row:hover .inc-title { color: var(--accent); }
|
|
.inc-row:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--accent); }
|
|
.inc-main { display: grid; gap: 3px; min-width: 0; }
|
|
.inc-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-weight: 600; font-size: .9375rem; }
|
|
.inc-rmeta { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: .75rem; color: var(--ink-muted); white-space: nowrap; overflow: hidden; }
|
|
.inc-rid { color: var(--ink-faint); flex: none; }
|
|
.inc-sep { color: var(--ink-faint); flex: none; }
|
|
.inc-trunc { overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
|
|
.inc-tag { flex: none; padding: 0 6px; border-radius: 4px; background: var(--surface-raised); border: 1px solid var(--line); color: var(--ink-muted); font-size: .75rem; line-height: 18px; }
|
|
.inc-cc { flex: none; display: inline-flex; align-items: center; gap: 3px; }
|
|
.inc-cc::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E") center/contain no-repeat; }
|
|
.inc-c-st { min-width: 0; }
|
|
.inc-c-st .badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
|
|
.inc-who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8125rem; min-width: 0; }
|
|
.inc-who.none { color: var(--ink-faint); font-style: italic; }
|
|
.inc-cnt { text-align: right; font-size: .8125rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
|
|
.inc-when { text-align: right; font-size: .8125rem; color: var(--ink-muted); white-space: nowrap; }
|
|
.inc-empty { display: grid; justify-items: center; gap: var(--s-2); padding: 48px var(--s-4); text-align: center; }
|
|
.inc-results .pgr { margin-top: var(--s-4); }
|
|
@media (max-width: 1100px) {
|
|
.inc-thead, .inc-row { grid-template-columns: 76px minmax(0, 1fr) 140px 72px; }
|
|
.inc-thead > :nth-child(4), .inc-thead > :nth-child(5), .inc-row > .inc-who, .inc-row > .inc-cnt { display: none; }
|
|
}
|
|
@media (max-width: 720px) {
|
|
.inc-thead { display: none; }
|
|
.inc-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "sev st when" "main main main" "who who cnt"; gap: 6px var(--s-2); padding: var(--s-3); }
|
|
.inc-row > .inc-c-sev { grid-area: sev; }
|
|
.inc-row > .inc-c-st { grid-area: st; }
|
|
.inc-row > .inc-when { grid-area: when; }
|
|
.inc-row > .inc-main { grid-area: main; }
|
|
.inc-row > .inc-who { grid-area: who; display: block; font-size: .75rem; color: var(--ink-muted); }
|
|
.inc-row > .inc-cnt { grid-area: cnt; display: block; font-size: .75rem; }
|
|
.inc-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
|
|
.inc-rmeta { flex-wrap: wrap; row-gap: 2px; white-space: normal; }
|
|
.inc-trunc { max-width: 100%; white-space: nowrap; }
|
|
.inc-toolbar > select { flex: 1 1 calc(50% - var(--s-2)); min-width: 0; }
|
|
.inc-toolbar > .btn { flex: 1 1 100%; }
|
|
.inc-search { flex-basis: 100%; }
|
|
}
|
|
|
|
/* ---------------- detail */
|
|
.inc-back { display: inline-block; margin-bottom: var(--s-3); color: var(--accent); text-decoration: none; font-size: .875rem; }
|
|
.inc-back:hover { text-decoration: underline; }
|
|
.inc-detail.busy { pointer-events: none; }
|
|
.inc-backnav { margin-bottom: var(--s-2); }
|
|
.inc-head { display: grid; gap: var(--s-2); padding: 0 0 var(--s-4); margin-bottom: var(--s-4); border-bottom: 1px solid var(--line); min-width: 0; }
|
|
.inc-crumb { display: flex; gap: 6px; font-size: .8125rem; color: var(--ink-muted); }
|
|
.inc-facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; font-size: .8125rem; color: var(--ink-muted); }
|
|
.inc-fk { color: var(--ink-faint); }
|
|
.inc-facts strong { color: var(--ink); font-weight: 600; }
|
|
.inc-supb { background: var(--surface-raised); }
|
|
.inc-h1 { display: flex; align-items: flex-start; gap: var(--s-3); min-width: 0; }
|
|
.inc-h-title { flex: 1 1 auto; margin: 0; font-size: 1.375rem; overflow-wrap: anywhere; font-weight: 700; min-width: 0; line-height: 1.3; }
|
|
.inc-title-btn { all: unset; cursor: text; display: block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; border-radius: 4px; }
|
|
.inc-title-btn:hover { text-decoration: underline dotted; }
|
|
.inc-title-in { width: 100%; box-sizing: border-box; font-size: 1.125rem; }
|
|
.inc-quick { display: flex; flex-wrap: wrap; gap: var(--s-2); flex: none; justify-content: flex-end; }
|
|
.inc-q-tp:not(:disabled) { border-color: var(--danger); color: var(--danger); }
|
|
.inc-q-ok:not(:disabled) { border-color: var(--ok); color: var(--ok); }
|
|
.inc-h2 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); min-width: 0; }
|
|
.inc-h2 .chip { margin: 0; }
|
|
.inc-metaline { margin-left: var(--s-2); }
|
|
|
|
.inc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-4); align-items: start; max-width: 1280px; }
|
|
.inc-maincol { display: grid; gap: var(--s-4); min-width: 0; }
|
|
.inc-aside { display: grid; gap: var(--s-4); position: sticky; top: calc(var(--topbar-h, 56px) + 16px); min-width: 0; align-self: start; }
|
|
.inc-card { background: var(--surface-panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s-3) var(--s-4); min-width: 0; box-sizing: border-box; }
|
|
.inc-card h2, .inc-tech summary { margin: 0 0 var(--s-3); font-size: .9375rem; font-weight: 600; }
|
|
.inc-card-h { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-bottom: var(--s-2); }
|
|
.inc-card-h h2 { margin: 0; }
|
|
.inc-summary.empty { background: none; border: 0; padding: 0; }
|
|
.inc-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
.inc-pre { margin: var(--s-2) 0 0; padding: var(--s-2) var(--s-3); background: var(--surface-sunken); border: 1px solid var(--line); border-radius: var(--radius-sm); font: .75rem/1.5 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 12rem; overflow: auto; }
|
|
|
|
.inc-prop { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--s-2) var(--s-3); align-items: start; padding: 6px 0; }
|
|
.inc-prop > label { font-size: .8125rem; color: var(--ink-muted); line-height: 32px; }
|
|
.inc-prop-c { min-width: 0; }
|
|
.inc-prop select, .inc-prop input[type="text"] { width: 100%; box-sizing: border-box; min-width: 0; }
|
|
.inc-stack { display: grid; gap: 4px; }
|
|
.inc-stack .inc-link { justify-self: start; }
|
|
.inc-switch { appearance: none; -webkit-appearance: none; width: 36px; height: 20px; border-radius: 999px; background: var(--line-strong); border: 0; position: relative; cursor: pointer; margin: 6px 0 0; transition: background .15s; }
|
|
.inc-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-base); transition: transform .15s; }
|
|
.inc-switch:checked { background: var(--accent); }
|
|
.inc-switch:checked::after { transform: translateX(16px); }
|
|
.inc-switch:disabled { opacity: .45; cursor: default; }
|
|
.inc-switch:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
|
|
|
|
.inc-tech summary { cursor: pointer; list-style: none; }
|
|
.inc-tech summary::-webkit-details-marker { display: none; }
|
|
.inc-tech summary::after { content: "\25BE"; float: right; color: var(--ink-muted); }
|
|
.inc-tech:not([open]) summary { margin-bottom: 0; }
|
|
.inc-tech:not([open]) summary::after { content: "\25B8"; }
|
|
.inc-dl { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 4px var(--s-3); margin: 0; }
|
|
.inc-dl dt { color: var(--ink-muted); font-size: .75rem; line-height: 20px; }
|
|
.inc-dl dd { margin: 0; overflow-wrap: anywhere; min-width: 0; font-size: .8125rem; line-height: 20px; }
|
|
.inc-keyrow { display: flex; gap: var(--s-2); align-items: center; }
|
|
.inc-key { font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 auto; }
|
|
|
|
.inc-newc { display: grid; gap: var(--s-2); margin-bottom: var(--s-3); }
|
|
.inc-newc-f { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
|
|
.inc-newc-f .btn { margin-left: auto; }
|
|
.inc-as { font-size: .8125rem; color: var(--ink-muted); }
|
|
.inc-as strong { color: var(--ink); }
|
|
.inc-as-in { width: 9rem; }
|
|
.inc-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
|
|
.inc-cmt { display: flex; gap: var(--s-3); padding: var(--s-3); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); }
|
|
.inc-av { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8125rem; flex: none; }
|
|
.inc-cmt-b { min-width: 0; flex: 1; }
|
|
.inc-c-h { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); align-items: baseline; margin-bottom: 2px; }
|
|
.inc-ev { display: flex; align-items: baseline; gap: var(--s-2); font-size: .8125rem; color: var(--ink-muted); min-width: 0; padding: 0 var(--s-1); }
|
|
.inc-ev-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); flex: none; align-self: center; display: inline-block; margin-right: var(--s-2); }
|
|
.inc-ev-t { min-width: 0; overflow-wrap: anywhere; flex: 1; }
|
|
.inc-ev-chg { display: inline; }
|
|
.inc-ev-chg .inc-from, .inc-ev-chg strong { display: -webkit-inline-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; vertical-align: bottom; max-width: 100%; }
|
|
.inc-from { text-decoration: line-through; }
|
|
.inc-ev-chg strong { color: var(--ink); font-weight: 600; }
|
|
.inc-ev-when { flex: none; white-space: nowrap; }
|
|
.inc-grp { display: block; }
|
|
.inc-grp summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: var(--s-2); }
|
|
.inc-grp summary::-webkit-details-marker { display: none; }
|
|
.inc-sub { margin: var(--s-2) 0 0 var(--s-4); }
|
|
.inc-card h3 { margin: 0 0 4px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
|
|
.inc-verdict + .inc-evid { margin-top: var(--s-3); }
|
|
.inc-evid .inc-pre { margin-top: 0; }
|
|
.inc-supbox { margin-top: var(--s-3); padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-raised); display: grid; gap: 6px; }
|
|
.inc-supbox.on { border-color: color-mix(in srgb, var(--warn) 55%, transparent); background: var(--warn-soft); }
|
|
.inc-supbox.off label { color: var(--ink-muted); }
|
|
.inc-sup-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
|
|
.inc-sup-row label { font-size: .875rem; font-weight: 600; }
|
|
.inc-supbox .inc-switch { margin: 0; flex: none; }
|
|
.inc-supbox p { margin: 0; }
|
|
.inc-why summary { cursor: pointer; font-size: .8125rem; color: var(--accent); }
|
|
.inc-why p { margin: 4px 0 0; }
|
|
/* activity as a timeline: comments are cards, system changes are quiet lines on the rail */
|
|
.inc-activity .inc-feed:not(.inc-sub) { position: relative; padding-left: 20px; }
|
|
.inc-activity .inc-feed:not(.inc-sub)::before { content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
|
|
.inc-activity .inc-feed > li { position: relative; }
|
|
.inc-activity .inc-feed:not(.inc-sub) > .inc-cmt::before { content: ""; position: absolute; left: -18px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--surface-panel); }
|
|
.inc-activity .inc-feed:not(.inc-sub) > .inc-ev > .inc-ev-dot, .inc-activity .inc-feed:not(.inc-sub) > .inc-grp summary > .inc-ev-dot { position: absolute; left: -16px; top: 7px; margin: 0; box-shadow: 0 0 0 3px var(--surface-panel); }
|
|
.inc-ev { padding: 2px 0; line-height: 1.5; }
|
|
|
|
@media (max-width: 900px) {
|
|
.inc-head { position: static; }
|
|
.inc-layout { display: flex; flex-direction: column; gap: var(--s-4); }
|
|
.inc-aside { display: contents; position: static; }
|
|
.inc-props { order: 1; }
|
|
.inc-maincol { order: 2; width: 100%; }
|
|
.inc-tech { order: 3; width: 100%; }
|
|
}
|
|
@media (max-width: 600px) {
|
|
.inc-h1 { flex-wrap: wrap; }
|
|
.inc-quick { flex: 1 1 100%; order: 5; overflow-x: auto; padding-bottom: 2px; }
|
|
.inc-quick .btn { flex: none; }
|
|
.inc-metaline { margin-left: 0; flex-basis: 100%; }
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.inc-quick { overflow-x: visible; justify-content: stretch; }
|
|
.inc-quick .btn { flex: 1 1 auto; }
|
|
.inc-h-title { font-size: 1.1875rem; }
|
|
.inc-cmt { padding: var(--s-2) var(--s-3); }
|
|
}
|
|
.inc-supl { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
|
|
.inc-supbox select { min-width: 0; max-width: 9rem; }
|