/* ── MuseHub CI: Actions runs list and run detail pages ──────────────────── */ /* ── Status colour tokens ── */ :root { --ci-success: #3fb950; --ci-failure: #f85149; --ci-running: #4f8ef7; /* Muse brand blue — active/in-progress */ --ci-pending: #8b949e; --ci-cancelled: #6e7681; --ci-skipped: #6e7681; } /* ─────────────────────────────────────────────────────────────────────────── */ /* CI icon helpers */ /* ─────────────────────────────────────────────────────────────────────────── */ .ci-icon { flex-shrink: 0; } .ci-icon--success { stroke: var(--ci-success); } .ci-icon--failure { stroke: var(--ci-failure); } .ci-icon--running { stroke: var(--ci-running); } .ci-icon--pending { stroke: var(--ci-pending); } .ci-icon--cancelled { stroke: var(--ci-cancelled); } .ci-icon--skipped { stroke: var(--ci-skipped); } @keyframes ci-spin { to { transform: rotate(360deg); } } .ci-spin { animation: ci-spin 1.2s linear infinite; } /* ─────────────────────────────────────────────────────────────────────────── */ /* Actions runs list page (.cir-*) */ /* */ /* Visual language: gradient hero + status-accented cards. */ /* Follows the same design system as the MCP and Releases pages. */ /* ─────────────────────────────────────────────────────────────────────────── */ // ── Hero ────────────────────────────────────────────────────────────────────── .cir-hero { position: relative; background: linear-gradient(135deg, #0d1117 0%, #0f1923 50%, #0d1117 100%); border-bottom: 1px solid var(--border-default); overflow: hidden; // Bleed to page edges (container has horizontal padding) margin: 0 calc(-1 * var(--space-4)); padding: 0 var(--space-4); } .cir-hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 90% at 85% 30%, rgba(79,142,247,0.09) 0%, transparent 65%), radial-gradient(ellipse 40% 60% at 10% 80%, rgba(167,139,250,0.06) 0%, transparent 60%); } .cir-hero-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-8) 0 var(--space-6); flex-wrap: wrap; } .cir-hero-left { flex: 1; min-width: 0; } .cir-hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ci-running); margin-bottom: var(--space-2); } // Pulsing dot shown when any run is active .cir-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ci-running); box-shadow: 0 0 8px var(--ci-running); animation: cir-pulse 2s ease-in-out infinite; } .cir-live-dot--idle { background: var(--text-disabled); box-shadow: none; animation: none; } @keyframes cir-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } } .cir-hero-title { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 var(--space-2); color: var(--text-primary); .gradient-text { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } } .cir-hero-sub { font-size: 13px; color: var(--text-muted); margin: 0; display: flex; align-items: center; gap: 6px; } .cir-hero-repo { font-family: var(--font-mono); font-size: 13px; color: var(--color-accent-link); text-decoration: none; &:hover { text-decoration: underline; } } // Stat pills (right side of hero) .cir-stats { display: flex; gap: var(--space-3); flex-wrap: wrap; flex-shrink: 0; } .cir-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: var(--space-3) var(--space-4); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-subtle); border-radius: var(--radius-base); min-width: 72px; text-align: center; transition: border-color var(--transition-fast); &:hover { border-color: var(--border-muted); } &--success { border-top: 2px solid var(--ci-success); } &--failure { border-top: 2px solid var(--ci-failure); } &--running { border-top: 2px solid var(--ci-running); } } .cir-stat-num { font-family: var(--font-mono); font-size: 20px; font-weight: 700; line-height: 1; color: var(--text-primary); } .cir-stat-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); } // ── Filter strip ────────────────────────────────────────────────────────────── .cir-filter-strip { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; padding: var(--space-4) 0; border-bottom: 1px solid var(--border-subtle); } .cir-filter-group { display: flex; align-items: center; gap: var(--space-2); } .cir-filter-label { font-size: 12px; font-weight: 500; color: var(--text-muted); white-space: nowrap; } .cir-filter-select { font-family: var(--font-sans); font-size: 13px; background: var(--bg-overlay); border: 1px solid var(--border-default); border-radius: var(--radius-base); color: var(--text-primary); padding: 5px 28px 5px 10px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238b949e' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; cursor: pointer; transition: border-color var(--transition-fast), background var(--transition-fast); &:hover { border-color: var(--border-muted); } &:focus { outline: 2px solid rgba(79,142,247,0.5); outline-offset: 1px; border-color: var(--color-accent); } } .cir-filter-branch-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--color-accent-link); background: rgba(88, 166, 255, 0.08); border: 1px solid rgba(88, 166, 255, 0.2); border-radius: var(--radius-full); padding: 3px 10px 3px 8px; } .cir-filter-branch-clear { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; background: rgba(88, 166, 255, 0.15); color: var(--color-accent-link); text-decoration: none; font-size: 11px; line-height: 1; font-weight: 700; &:hover { background: rgba(88, 166, 255, 0.3); } } .cir-filter-spacer { flex: 1; } .cir-filter-count { font-size: 12px; color: var(--text-muted); white-space: nowrap; } // ── Run list ────────────────────────────────────────────────────────────────── .cir-run-list { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4) 0; } .cir-run { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-4); background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); text-decoration: none; color: inherit; transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast); border-left: 3px solid transparent; position: relative; overflow: hidden; &:hover { background: var(--bg-overlay); border-color: var(--border-default); box-shadow: var(--shadow-sm); } // Status accent — left border + subtle background tint on hover &--success { border-left-color: var(--ci-success); &:hover { background: rgba(63, 185, 80, 0.04); } } &--failure { border-left-color: var(--ci-failure); &:hover { background: rgba(248, 81, 73, 0.04); } } &--running, &--queued { border-left-color: var(--ci-running); &:hover { background: rgba(79, 142, 247, 0.04); } } &--pending { border-left-color: var(--border-default); } &--cancelled { border-left-color: var(--ci-cancelled); opacity: 0.75; &:hover { opacity: 1; } } } // Status icon circle .cir-run-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; .cir-run--success & { background: rgba(63, 185, 80, 0.12); } .cir-run--failure & { background: rgba(248, 81, 73, 0.12); } .cir-run--running &, .cir-run--queued & { background: rgba(79, 142, 247, 0.12); } .cir-run--pending & { background: rgba(139, 148, 158, 0.10);} .cir-run--cancelled & { background: rgba(110, 118, 129, 0.10);} } // Main content column .cir-run-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; } .cir-run-name { font-size: 14px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; } .cir-run-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 12px; color: var(--text-muted); line-height: 1.4; } .cir-run-sep { opacity: 0.3; font-size: 10px; } // Trigger badge .cir-trigger { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: var(--radius-full); &--push { background: rgba(79, 142, 247, 0.12); color: var(--color-accent-link); border: 1px solid rgba(79, 142, 247, 0.2); } &--proposal { background: rgba(188, 140, 255, 0.12); color: var(--color-purple); border: 1px solid rgba(188, 140, 255, 0.2); } &--manual { background: rgba(139, 148, 158, 0.1); color: var(--text-muted); border: 1px solid var(--border-subtle); } } .cir-run-branch { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cir-run-commit { font-family: var(--font-mono); font-size: 11px; color: var(--color-accent-link); } .cir-run-actor { font-size: 12px; color: var(--text-muted); } // Right column: status pill + time .cir-run-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; min-width: 100px; } .cir-status-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: var(--radius-full); white-space: nowrap; &--success { background: rgba(63,185,80,0.12); color: var(--ci-success); border: 1px solid rgba(63,185,80,0.25); } &--failure { background: rgba(248,81,73,0.12); color: var(--ci-failure); border: 1px solid rgba(248,81,73,0.25); } &--running, &--queued { background: rgba(79,142,247,0.12); color: var(--ci-running); border: 1px solid rgba(79,142,247,0.25); } &--pending { background: rgba(139,148,158,0.1); color: var(--text-muted); border: 1px solid var(--border-subtle); } &--cancelled { background: rgba(110,118,129,0.1); color: var(--ci-cancelled); border: 1px solid var(--border-subtle); } } // Animated dot inside a running pill .cir-running-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: cir-pulse 1.5s ease-in-out infinite; } .cir-run-time { font-size: 11px; color: var(--text-disabled); white-space: nowrap; } // ── Pagination ──────────────────────────────────────────────────────────────── .cir-pagination { display: flex; align-items: center; justify-content: center; gap: var(--space-3); padding: var(--space-4) 0 var(--space-2); } .cir-page-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-secondary); background: var(--bg-surface); border: 1px solid var(--border-default); border-radius: var(--radius-base); padding: 6px 14px; text-decoration: none; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); &:hover { background: var(--bg-overlay); border-color: var(--border-muted); color: var(--text-primary); } } .cir-page-info { font-size: 12px; color: var(--text-muted); } // ── Empty state ─────────────────────────────────────────────────────────────── .cir-empty { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); padding: 80px var(--space-4); text-align: center; } .cir-empty-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(79, 142, 247, 0.08); border: 1px solid rgba(79, 142, 247, 0.15); display: flex; align-items: center; justify-content: center; svg { stroke: var(--color-accent); } } .cir-empty-title { font-size: 16px; font-weight: 600; color: var(--text-primary); margin: 0; } .cir-empty-body { font-size: 13px; color: var(--text-muted); margin: 0; max-width: 380px; line-height: 1.6; code { font-family: var(--font-mono); font-size: 12px; background: var(--bg-overlay); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 1px 5px; color: var(--color-accent-link); } } // ── Page wrapper ────────────────────────────────────────────────────────────── .cir-page { display: flex; flex-direction: column; } /* ─────────────────────────────────────────────────────────────────────────── */ /* LEGACY list-page classes (replaced by .cir-* above — kept as empty tombstones so old server-rendered HTML doesn't break while the template is being updated) /* ─────────────────────────────────────────────────────────────────────────── */ .ci-runs-page {} .ci-runs-header {} .ci-runs-title {} .ci-runs-subtitle {} .ci-filter-bar {} .ci-filter-group {} .ci-filter-label {} .ci-filter-select {} .ci-filter-active {} .ci-filter-clear {} .ci-run-list {} .ci-run-row {} .ci-run-status-icon {} .ci-run-main {} .ci-run-name {} .ci-run-meta {} .ci-run-sep {} .ci-run-trigger {} .ci-run-commit {} .ci-run-right {} .ci-run-status { font-size: 0.75rem; font-weight: 600; border-radius: 20px; padding: 0.15rem 0.5rem; &--success { background: rgba(63,185,80,0.15); color: var(--ci-success); } &--failure { background: rgba(248,81,73,0.15); color: var(--ci-failure); } &--running { background: rgba(210,153,34,0.15); color: var(--ci-running); } &--queued { background: rgba(210,153,34,0.1); color: var(--ci-running); } &--pending { background: rgba(139,148,158,0.15); color: var(--ci-pending); } &--cancelled { background: rgba(110,118,129,0.15); color: var(--ci-cancelled); } } .ci-run-time { font-size: 0.75rem; color: var(--text-muted); } /* Pagination */ .ci-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; font-size: 0.875rem; } .ci-page-btn { color: var(--accent); text-decoration: none; padding: 0.375rem 0.75rem; border: 1px solid var(--border-default); border-radius: 6px; transition: background 0.12s ease; &:hover { background: var(--bg-hover); } } .ci-page-info { color: var(--text-secondary); } /* Empty state */ .ci-runs-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: 4rem 2rem; text-align: center; color: var(--text-secondary); border: 1px solid var(--border-default); border-radius: 8px; svg { opacity: 0.3; } p { margin: 0; } } .ci-runs-empty-hint { font-size: 0.875rem; code { background: var(--bg-overlay); border-radius: 4px; padding: 0.1rem 0.3rem; font-family: var(--font-mono); font-size: 0.8125rem; } } /* ─────────────────────────────────────────────────────────────────────────── */ /* CI Run detail — two-pane layout (.cird-*) */ /* */ /* All class names use the "cird-" prefix to avoid collisions with the */ /* older .ci-* classes used by the runs list. */ /* Tokens used here are confirmed to exist in _tokens.scss. */ /* ─────────────────────────────────────────────────────────────────────────── */ /* Outer wrapper — no extra padding needed (page-container strips it) */ .cird { display: flex; flex-direction: column; min-height: 0; background: var(--bg-base); } /* ── Top bar ──────────────────────────────────────────────────────────────── */ .cird-topbar { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); background: var(--bg-surface); border-bottom: 1px solid var(--border-default); position: sticky; top: 0; z-index: var(--z-raised); flex-wrap: wrap; } .cird-back { display: flex; align-items: center; gap: var(--space-1); font-size: 12px; color: var(--text-muted); text-decoration: none; white-space: nowrap; flex-shrink: 0; &:hover { color: var(--text-primary); } } .cird-topbar-main { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; } .cird-run-icon { display: flex; align-items: center; flex-shrink: 0; } .cird-icon { display: block; &--success { stroke: var(--ci-success); } &--failure { stroke: var(--ci-failure); } &--running { stroke: var(--ci-running); } &--pending { stroke: var(--ci-pending); } &--cancelled{ stroke: var(--ci-cancelled); } } .cird-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin: 0; white-space: nowrap; } .cird-topbar-meta { display: flex; align-items: center; gap: var(--space-2); flex: 1; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); } .cird-trigger-badge { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: var(--radius-full); white-space: nowrap; &--push { background: rgba(88,166,255,.15); color: #58a6ff; } &--proposal { background: rgba(188,140,255,.15); color: #bc8cff; } &--manual { background: rgba(210,153,34,.15); color: #e3b341; } } .cird-meta-link { color: var(--color-accent-link); text-decoration: none; &:hover { text-decoration: underline; } } .cird-commit { font-family: var(--font-mono); font-size: 11px; } .cird-sep { color: var(--border-muted); } .cird-topbar-end { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; } .cird-status-pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-full); &--success { background: rgba(63,185,80,.15); color: var(--ci-success); } &--failure { background: rgba(248,81,73,.15); color: var(--ci-failure); } &--running, &--queued, &--pending { background: rgba(210,153,34,.15); color: var(--ci-running); } &--cancelled { background: rgba(110,118,129,.15); color: var(--ci-cancelled); } } .cird-total-dur { font-size: 12px; font-family: var(--font-mono); color: var(--text-muted); } /* ── Two-pane body ────────────────────────────────────────────────────────── */ .cird-body { display: flex; flex: 1; min-height: calc(100vh - 110px); align-items: stretch; } /* ── Left sidebar ─────────────────────────────────────────────────────────── */ .cird-sidebar { width: 220px; flex-shrink: 0; border-right: 1px solid var(--border-default); background: var(--bg-surface); padding: var(--space-3) 0; position: sticky; top: 56px; /* below the sticky top bar */ height: calc(100vh - 56px); overflow-y: auto; display: flex; flex-direction: column; gap: 2px; } .cird-sidebar-title { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; padding: 0 var(--space-4) var(--space-2); } .cird-job-btn { display: flex; align-items: center; gap: var(--space-2); padding: 8px var(--space-4); margin: 0 var(--space-2); border-radius: var(--radius-base); border: none; background: transparent; cursor: pointer; width: calc(100% - 16px); text-align: left; font-size: 13px; font-family: var(--font-sans); color: var(--text-secondary); transition: background var(--transition-fast), color var(--transition-fast); &:hover { background: var(--bg-hover); color: var(--text-primary); } &--active { background: var(--bg-hover); color: var(--text-primary); font-weight: 500; /* GitHub-style: blue left border on the active job */ box-shadow: inset 3px 0 0 var(--color-accent); } /* Icon colour per status */ &--success .cird-job-btn-icon svg { stroke: var(--ci-success); } &--failure .cird-job-btn-icon svg { stroke: var(--ci-failure); } &--running .cird-job-btn-icon svg, &--queued .cird-job-btn-icon svg { stroke: var(--ci-running); } &--skipped .cird-job-btn-icon svg { stroke: var(--ci-skipped); } &--pending .cird-job-btn-icon svg { stroke: var(--ci-pending); } &--cancelled .cird-job-btn-icon svg{ stroke: var(--ci-cancelled); } } .cird-job-btn-icon { flex-shrink: 0; display: flex; align-items: center; } .cird-job-btn-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; } .cird-job-btn-dur { font-size: 11px; font-family: var(--font-mono); color: var(--text-muted); flex-shrink: 0; } .cird-live-pulse { font-size: 10px; color: var(--ci-running); animation: ci-pulse 1.5s ease-in-out infinite; } @keyframes ci-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } } /* ── Main pane ────────────────────────────────────────────────────────────── */ .cird-main { flex: 1; min-width: 0; background: var(--bg-base); } .cird-job-panel { display: block; } .cird-job-panel[hidden] { display: none; } /* Job header strip */ .cird-job-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); background: var(--bg-surface); border-bottom: 1px solid var(--border-default); } .cird-job-header-left { display: flex; align-items: center; gap: var(--space-3); } .cird-job-header-name { font-weight: 600; font-size: 14px; color: var(--text-primary); } .cird-job-image, .cird-job-needs { font-size: 11px; font-family: var(--font-mono); color: var(--text-muted); background: var(--bg-overlay); padding: 2px 6px; border-radius: var(--radius-sm); } .cird-job-header-dur { font-size: 12px; font-family: var(--font-mono); color: var(--text-muted); } .cird-live { color: var(--ci-running); } /* ── Step list ────────────────────────────────────────────────────────────── */ .cird-step-list { display: flex; flex-direction: column; } .cird-step { border-bottom: 1px solid var(--border-subtle); &:last-child { border-bottom: none; } /* Left accent bar per status */ &--failure { border-left: 3px solid var(--ci-failure); } &--running, &--queued { border-left: 3px solid var(--ci-running); } &--success { border-left: 3px solid transparent; } } /* Step row button — full width, hover highlights entire row */ .cird-step-row { display: flex; align-items: center; gap: var(--space-2); padding: 10px var(--space-5); background: none; border: none; width: 100%; cursor: pointer; text-align: left; color: var(--text-secondary); font-size: 13px; font-family: var(--font-sans); transition: background var(--transition-fast); &:hover { background: var(--bg-hover); color: var(--text-primary); } &[aria-expanded="true"] { background: var(--bg-overlay); } } /* Expand chevron — rotates when row is open */ .cird-step-expand { flex-shrink: 0; stroke: var(--text-muted); transition: transform var(--transition-base); } .cird-step--open .cird-step-expand { transform: rotate(90deg); } /* Status icon in the step row */ .cird-step-status-icon { flex-shrink: 0; display: flex; align-items: center; .si-success { stroke: var(--ci-success); } .si-failure { stroke: var(--ci-failure); } .si-running { stroke: var(--ci-running); } .si-skipped { stroke: var(--ci-skipped); } .si-pending { stroke: var(--ci-pending); } .si-cancelled { stroke: var(--ci-cancelled); } } .cird-step-name { flex: 1; font-family: var(--font-mono); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cird-step-row-end { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; margin-left: var(--space-2); } .cird-step-exit { font-size: 11px; font-family: var(--font-mono); color: var(--ci-failure); background: rgba(248,81,73,.12); padding: 1px 6px; border-radius: var(--radius-sm); } .cird-step-dur { font-size: 12px; font-family: var(--font-mono); color: var(--text-muted); min-width: 32px; text-align: right; } /* ── Log panel ────────────────────────────────────────────────────────────── */ .cird-log-panel { background: #0d1117; border-top: 1px solid var(--border-subtle); } .cird-log-panel[hidden] { display: none; } .cird-log-cmd { display: flex; align-items: baseline; gap: var(--space-2); padding: var(--space-2) var(--space-5); background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.05); font-family: var(--font-mono); font-size: 12px; color: #b1bac4; } .cird-log-prompt { color: #3fb950; font-weight: 700; margin-right: 4px; } .cird-log-toolbar { display: flex; justify-content: flex-end; padding: var(--space-1) var(--space-4); background: rgba(255,255,255,.02); } .cird-log-copy { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-muted); background: none; border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: 3px 8px; cursor: pointer; font-family: var(--font-sans); transition: color var(--transition-fast), border-color var(--transition-fast); &:hover { color: var(--text-primary); border-color: var(--border-muted); } } .cird-log-pre { margin: 0; padding: var(--space-3) var(--space-5); font-family: var(--font-mono); font-size: 12px; line-height: 1.65; color: #e6edf3; white-space: pre-wrap; word-break: break-all; max-height: 600px; overflow-y: auto; } /* ── Empty state ──────────────────────────────────────────────────────────── */ .cird-empty { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); padding: 80px var(--space-4); color: var(--text-muted); text-align: center; svg { stroke: var(--text-muted); opacity: .35; } p { margin: 0; font-size: 14px; } } /* ── Responsive ───────────────────────────────────────────────────────────── */ @media (max-width: 768px) { .cird-body { flex-direction: column; } .cird-sidebar { width: 100%; position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border-default); } } /* ─────────────────────────────────────────────────────────────────────────── */ /* OLD ci-detail-* classes removed — replaced by .cird-* above */ /* ── Proposal-detail CI run list ─────────────────────────────────────────── */ .proposal-ci-row { display: flex; align-items: center; gap: var(--space-2); padding: 7px 0; border-bottom: 1px solid var(--border-subtle); font-size: 12px; &:last-child { border-bottom: none; } } .proposal-ci-name { flex: 1; font-weight: 500; color: var(--text-primary); } .proposal-ci-dur { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); } .proposal-ci-link { font-size: 11px; color: var(--color-accent); text-decoration: none; &:hover { text-decoration: underline; } } .proposal-ci-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; &.proposal-ci-dot--success { background: var(--ci-success); } &.proposal-ci-dot--failure { background: var(--ci-failure); } &.proposal-ci-dot--running, &.proposal-ci-dot--queued { background: var(--ci-running); } &.proposal-ci-dot--skipped { background: var(--text-muted); } } .proposal-ci-pill { display: inline-flex; align-items: center; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 4px; &.proposal-ci-pill--success { background: rgba(63,185,80, 0.12); color: var(--ci-success); border: 1px solid rgba(63,185,80, 0.3); } &.proposal-ci-pill--failure { background: rgba(248,81,73, 0.12); color: var(--ci-failure); border: 1px solid rgba(248,81,73, 0.3); } &.proposal-ci-pill--running, &.proposal-ci-pill--queued { background: rgba(47,129,247, 0.12); color: var(--ci-running); border: 1px solid rgba(47,129,247, 0.3); } } .proposal-ci-state { font-size: 10px; font-weight: 600; font-family: var(--font-mono); &.proposal-ci-state--success { color: var(--ci-success); } &.proposal-ci-state--failure { color: var(--ci-failure); } &.proposal-ci-state--running, &.proposal-ci-state--queued { color: var(--ci-running); } } .proposal-ci-val { &.proposal-ci-val--success { color: var(--ci-success); } &.proposal-ci-val--failure { color: var(--ci-failure); } &.proposal-ci-val--running, &.proposal-ci-val--queued { color: var(--ci-running); } } // ───────────────────────────────────────────────────────────────────────────── // Selective CI badge + gate warning (CI runs list, .cir-* namespace) // ───────────────────────────────────────────────────────────────────────────── .cir-selective-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; font-family: var(--font-mono); padding: 2px 7px; border-radius: 4px; background: rgba(79, 142, 247, 0.10); color: var(--color-accent); border: 1px solid rgba(79, 142, 247, 0.25); white-space: nowrap; svg { opacity: 0.8; flex-shrink: 0; } } .cir-gate-warn { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px; background: rgba(210, 153, 34, 0.12); color: var(--color-warning); border: 1px solid rgba(210, 153, 34, 0.30); white-space: nowrap; svg { opacity: 0.9; flex-shrink: 0; } } .cir-gates-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-muted); text-decoration: none; padding: 4px 8px; border-radius: 5px; border: 1px solid var(--border-subtle); background: transparent; transition: color 0.15s, border-color 0.15s; svg { opacity: 0.6; flex-shrink: 0; } &:hover { color: var(--text-primary); border-color: var(--border-default); } } // ───────────────────────────────────────────────────────────────────────────── // Gate results band (CI run detail, .cird-gate-* namespace) // ───────────────────────────────────────────────────────────────────────────── .cird-gate-band { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 24px; border-bottom: 1px solid var(--border-subtle); background: var(--bg-surface); } .cird-gate-band-label { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-right: 4px; svg { opacity: 0.5; } } .cird-gate-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 4px; &.cird-gate-chip--pass { background: rgba(63, 185, 80, 0.10); color: var(--ci-success); border: 1px solid rgba(63, 185, 80, 0.25); } &.cird-gate-chip--fail { background: rgba(248, 81, 73, 0.12); color: var(--ci-failure); border: 1px solid rgba(248, 81, 73, 0.30); } &.cird-gate-chip--skip { background: rgba(139, 148, 158, 0.10); color: var(--text-muted); border: 1px solid var(--border-subtle); } &.cird-gate-chip--error { background: rgba(210, 153, 34, 0.10); color: var(--color-warning); border: 1px solid rgba(210, 153, 34, 0.25); } } .cird-gate-band-config { margin-left: auto; font-size: 11px; color: var(--text-muted); text-decoration: none; &:hover { color: var(--color-accent-link); text-decoration: underline; } } // ───────────────────────────────────────────────────────────────────────────── // Symbol → Test Mapping panel (CI run detail, .cird-tm-* namespace) // ───────────────────────────────────────────────────────────────────────────── .cird-tm { margin: 0; border-top: 1px solid var(--border-subtle); background: var(--bg-base); &[open] .cird-tm-chevron { transform: rotate(90deg); } } .cird-tm-summary { display: flex; align-items: center; gap: 8px; padding: 12px 24px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-secondary); user-select: none; list-style: none; background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle); &::-webkit-details-marker { display: none; } &:hover { background: var(--bg-overlay); } } .cird-tm-chevron { flex-shrink: 0; opacity: 0.5; transition: transform 0.15s ease; } .cird-tm-stat { margin-left: 6px; font-size: 11px; font-weight: 400; color: var(--text-muted); } .cird-tm-body { padding: 16px 24px; display: flex; flex-direction: column; gap: 20px; } .cird-tm-coverage { display: flex; align-items: center; gap: 10px; } .cird-tm-coverage-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; } .cird-tm-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--bg-overlay); overflow: hidden; } .cird-tm-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--color-accent) 0%, var(--ci-success) 100%); transition: width 0.4s ease; } .cird-tm-coverage-pct { font-size: 13px; font-weight: 700; color: var(--text-primary); min-width: 36px; text-align: right; } .cird-tm-coverage-frac { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); } .cird-tm-section { display: flex; flex-direction: column; gap: 8px; &.cird-tm-section--warn .cird-tm-section-title { color: var(--color-warning); svg { vertical-align: middle; } } } .cird-tm-section-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); display: flex; align-items: center; gap: 5px; } .cird-tm-test-list { display: flex; flex-direction: column; gap: 4px; } .cird-tm-test { display: flex; align-items: baseline; gap: 8px; font-size: 12px; padding: 4px 0; border-bottom: 1px solid var(--border-subtle); &:last-child { border-bottom: none; } } .cird-tm-confidence { font-family: var(--font-mono); font-size: 10px; letter-spacing: -1px; flex-shrink: 0; &.cird-tm-confidence--high { color: var(--ci-success); } &.cird-tm-confidence--med { color: var(--color-warning); } &.cird-tm-confidence--low { color: var(--text-muted); } } .cird-tm-test-id { font-family: var(--font-mono); font-size: 11px; color: var(--text-primary); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cird-tm-test-via { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); white-space: nowrap; flex-shrink: 0; } .cird-tm-test-reason { font-size: 10px; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; } .cird-tm-addr-list { display: flex; flex-wrap: wrap; gap: 6px; } .cird-tm-addr { font-family: var(--font-mono); font-size: 11px; padding: 2px 8px; border-radius: 4px; &.cird-tm-addr--uncovered { background: rgba(248, 81, 73, 0.08); color: var(--ci-failure); border: 1px solid rgba(248, 81, 73, 0.20); } } // ───────────────────────────────────────────────────────────────────────────── // CI Gates configuration page (.cig-* namespace) // ───────────────────────────────────────────────────────────────────────────── .cig-page { max-width: 860px; margin: 0 auto; padding: var(--space-6) var(--space-4); } .cig-hero { position: relative; overflow: hidden; border-radius: 10px; border: 1px solid var(--border-subtle); background: var(--bg-surface); margin-bottom: var(--space-6); } .cig-hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 50%, rgba(79, 142, 247, 0.06) 0%, transparent 60%); pointer-events: none; } .cig-hero-inner { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); padding: var(--space-6); } .cig-hero-eyebrow { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: var(--space-2); svg { opacity: 0.5; } } .cig-hero-title { font-size: 22px; font-weight: 700; margin: 0 0 var(--space-2) 0; } .cig-hero-sub { font-size: 13px; color: var(--text-muted); margin: 0; max-width: 440px; } .cig-hero-actions { flex-shrink: 0; } .cig-save-banner { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 7px; background: rgba(63, 185, 80, 0.10); border: 1px solid rgba(63, 185, 80, 0.28); color: var(--ci-success); font-size: 13px; font-weight: 500; margin-bottom: var(--space-4); } .cig-form { display: flex; flex-direction: column; gap: var(--space-4); } .cig-table { border: 1px solid var(--border-subtle); border-radius: 8px; overflow: hidden; } .cig-table-head { display: grid; grid-template-columns: 220px 110px 1fr; background: var(--bg-overlay); border-bottom: 1px solid var(--border-subtle); } .cig-col { padding: 10px 16px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); } .cig-row { display: grid; grid-template-columns: 220px 110px 1fr; align-items: center; border-bottom: 1px solid var(--border-subtle); background: var(--bg-base); transition: background 0.15s; &:last-child { border-bottom: none; } &.cig-row--on { background: rgba(79, 142, 247, 0.03); } .cig-col { padding: 14px 16px; font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-primary); } } .cig-gate-name { font-weight: 600; font-size: 13px; margin-bottom: 3px; } .cig-gate-desc { font-size: 11px; color: var(--text-muted); line-height: 1.4; } .cig-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; } .cig-toggle-input { position: absolute; opacity: 0; pointer-events: none; } .cig-toggle-track { position: relative; width: 34px; height: 18px; border-radius: 9px; background: var(--bg-overlay); border: 1px solid var(--border-default); transition: background 0.2s, border-color 0.2s; flex-shrink: 0; .cig-toggle-input:checked + & { background: var(--color-accent); border-color: var(--color-accent); } } .cig-toggle-thumb { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--text-muted); transition: transform 0.2s, background 0.2s; .cig-toggle-input:checked ~ .cig-toggle-track & { transform: translateX(16px); background: #fff; } } .cig-toggle-label { font-size: 11px; font-weight: 700; font-family: var(--font-mono); color: var(--text-muted); min-width: 24px; .cig-toggle-input:checked ~ & { color: var(--color-accent); } } .cig-config-note { font-size: 12px; color: var(--text-muted); } .cig-field { display: flex; align-items: center; gap: 8px; cursor: default; } .cig-field-label { font-size: 12px; color: var(--text-secondary); white-space: nowrap; } .cig-field-input { width: 72px; padding: 4px 8px; background: var(--bg-overlay); border: 1px solid var(--border-default); border-radius: 5px; color: var(--text-primary); font-size: 12px; font-family: var(--font-mono); &:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 2px rgba(79, 142, 247, 0.15); } &:disabled { opacity: 0.45; cursor: not-allowed; } } .cig-field-hint { font-size: 11px; color: var(--text-muted); } .cig-form-footer { display: flex; align-items: center; gap: 12px; } .cig-form-note { font-size: 12px; color: var(--text-muted); } .cig-read-only-note { font-size: 12px; color: var(--text-muted); padding: 10px 0; text-align: center; }