Replace raw RGBA styling in scoped dashboard CSS with theme-token-backed values. - update PullRequestView.css state, banner, error, and disagreement styles to use CSS variables with existing rgba fallbacks - replace SessionTerminal tooltip box-shadow with the shared shadow token - exclude out-of-scope Board.canDropTask.test.tsx changes from the squash merge Files changed: packages/dashboard/app/components/PullRequestView.css | 14 +++++++------- packages/dashboard/app/components/SessionTerminal.css | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) Fusion-Task-Id: FN-6002 Fusion-Task-Lineage: 1f0431e1-32e8-4c24-9f02-3d641e8b074f
255 lines
4.7 KiB
CSS
255 lines
4.7 KiB
CSS
.pr-view {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
padding: var(--space-lg);
|
|
color: var(--text);
|
|
}
|
|
|
|
.pr-view--loading,
|
|
.pr-view--error {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.pr-view--error {
|
|
color: var(--danger, #e5534b);
|
|
}
|
|
|
|
/* identity header */
|
|
.pr-identity {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
flex-wrap: wrap;
|
|
padding-bottom: var(--space-sm);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.pr-identity-repo {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pr-identity-number {
|
|
color: var(--accent, var(--text));
|
|
text-decoration: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
.pr-identity-branch {
|
|
color: var(--text-muted);
|
|
font-family: var(--font-mono, monospace);
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.pr-identity-state {
|
|
margin-left: auto;
|
|
text-transform: uppercase;
|
|
font-size: 0.7em;
|
|
letter-spacing: 0.04em;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
background: var(--surface-2, rgba(127, 127, 127, 0.15));
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.pr-identity-state--failed {
|
|
background: var(--pr-failed-bg, rgba(229, 83, 75, 0.18));
|
|
color: var(--danger, #e5534b);
|
|
}
|
|
|
|
.pr-identity-state--merged {
|
|
background: var(--pr-merged-bg, rgba(130, 80, 223, 0.18));
|
|
}
|
|
|
|
/* placeholders / banners / notices */
|
|
.pr-placeholder,
|
|
.pr-notice,
|
|
.pr-banner,
|
|
.pr-error-reason {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
padding: var(--space-sm) var(--space-md);
|
|
border-radius: 6px;
|
|
background: var(--surface-2, rgba(127, 127, 127, 0.1));
|
|
}
|
|
|
|
.pr-banner--responding {
|
|
background: var(--pr-responding-bg, rgba(54, 130, 220, 0.14));
|
|
}
|
|
|
|
.pr-notice--unverified {
|
|
background: var(--pr-unverified-bg, rgba(220, 170, 54, 0.14));
|
|
}
|
|
|
|
.pr-error-reason {
|
|
background: var(--pr-error-bg, rgba(229, 83, 75, 0.14));
|
|
color: var(--danger, #e5534b);
|
|
}
|
|
|
|
/* action bar */
|
|
.pr-action-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.pr-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 10px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
background: var(--surface, transparent);
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.pr-action:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.pr-action--merge,
|
|
.pr-action--merge-confirm {
|
|
border-color: var(--accent, var(--border));
|
|
}
|
|
|
|
.pr-action--merge-confirm {
|
|
background: var(--accent, #2f81f7);
|
|
color: #fff;
|
|
}
|
|
|
|
.pr-action--close {
|
|
border-color: var(--pr-close-border, rgba(229, 83, 75, 0.4));
|
|
}
|
|
|
|
.pr-automerge-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-left: auto;
|
|
font-size: 0.82em;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.pr-automerge-gate {
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
background: var(--surface-2, rgba(127, 127, 127, 0.15));
|
|
}
|
|
|
|
.pr-conflict-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: var(--danger, #e5534b);
|
|
text-decoration: none;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
/* merge-readiness summary */
|
|
.pr-summary {
|
|
display: flex;
|
|
gap: var(--space-md);
|
|
flex-wrap: wrap;
|
|
padding: var(--space-sm) 0;
|
|
border-top: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.pr-summary-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 0.85em;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.pr-icon-success {
|
|
color: var(--success, #3fb950);
|
|
}
|
|
|
|
.pr-icon-failure {
|
|
color: var(--danger, #e5534b);
|
|
}
|
|
|
|
.pr-icon-pending {
|
|
color: var(--warning, #d29922);
|
|
}
|
|
|
|
/* threads */
|
|
.pr-threads {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.pr-threads-empty {
|
|
color: var(--text-muted);
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.pr-thread {
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
padding: var(--space-sm);
|
|
}
|
|
|
|
.pr-thread--agent-disagreement {
|
|
border-left: 3px solid var(--warning, #d29922);
|
|
background: var(--pr-disagreement-bg, rgba(210, 153, 34, 0.08));
|
|
}
|
|
|
|
.pr-thread--pending {
|
|
border-left: 3px solid var(--text-muted);
|
|
}
|
|
|
|
.pr-thread-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
font-size: 0.82em;
|
|
}
|
|
|
|
.pr-thread-pending,
|
|
.pr-thread-disagreed,
|
|
.pr-thread-fixed {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.pr-thread-id {
|
|
color: var(--text-muted);
|
|
font-family: var(--font-mono, monospace);
|
|
font-size: 0.85em;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.pr-thread-reply {
|
|
margin-top: 6px;
|
|
margin-left: var(--space-md);
|
|
padding: var(--space-xs) var(--space-sm);
|
|
border-left: 2px solid var(--border);
|
|
color: var(--text-muted);
|
|
font-size: 0.82em;
|
|
}
|
|
|
|
.pr-inline-error {
|
|
color: var(--danger, #e5534b);
|
|
font-size: 0.85em;
|
|
}
|