Files
skills/orchestrator/templates/style-ancestry.css
T
Kevin Veen-BirkenbachandClaude Opus 5.5 9d8431049e feat(orchestrator): explain gate chips through one glossary
glossary.js is the single source of the gate, branch and rule terms; ancestry, tree, artifacts, offices and rules render text chips from it with the explanation on hover, focus and Enter. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 80 %
💥 Break: 8 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 74
🚦 Gate: ⛔ fix 80 % < 90, break 8 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:32:03 +00:00

28 lines
2.3 KiB
CSS

.ancestry-frame { max-width: 100%; min-width: 0; margin: 6px 0 10px; overflow-x: auto; overflow-y: hidden; contain: inline-size; }
svg.ancestry { display: block; margin: 0 auto; touch-action: none; user-select: none; }
svg .ancestry-edge { fill: none; stroke: var(--line-strong); stroke-width: 1.6; cursor: pointer; }
svg .ancestry-edge:hover { stroke: var(--accent); }
svg .ancestry-edge.derived { stroke-dasharray: 5 5; }
svg .ancestry-edge.pending { stroke: var(--info); stroke-dasharray: 2 4; }
svg .ancestry-edge.dropping { stroke: var(--bad); opacity: .5; }
svg .ancestry-node { cursor: grab; }
svg .ancestry-node:active { cursor: grabbing; }
svg .ancestry-node .label { fill: var(--text); font-size: var(--fs-2xs); }
.gates { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }
.gate-mark { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; padding: 1px 9px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--neutral-soft); color: var(--text); font: inherit; font-size: var(--fs-xs); font-weight: 650; line-height: 20px; text-align: start; cursor: pointer; }
.gate-mark .bi { flex: none; }
.gate-mark .gate-text { min-width: 0; overflow-wrap: anywhere; }
.gate-mark:hover { background: var(--hover); }
.gate-mark:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.gate-mark.inherited { border-style: dashed; background: transparent; color: var(--muted); }
.gate-mark.pending { border: 1px dashed var(--info); background: var(--info-soft); color: var(--info); }
.gate-explain { margin: 4px 0 8px; }
.gate-explain > summary { display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; color: var(--accent); font-weight: 650; cursor: pointer; }
.gate-explain h4 { margin: 10px 0 4px; color: var(--muted); font-size: var(--fs-xs); font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.glossary { display: grid; gap: 4px; margin: 0; }
.glossary > div { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); gap: 8px; }
.glossary dt { font-weight: 650; overflow-wrap: anywhere; }
.glossary dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.gate-apply, .gate-staged { display: inline-flex; align-items: center; gap: 4px; }
.dry-run.locked pre { opacity: .6; }