1342 lines
27 KiB
CSS
1342 lines
27 KiB
CSS
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
body {
|
|
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
|
|
background: #f4f6f9;
|
|
color: #1c2127;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
|
|
Shell — sidebar + main
|
|
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
|
|
.cp-shell {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* ── Sidebar ── */
|
|
.cp-sidebar {
|
|
width: 240px;
|
|
flex-shrink: 0;
|
|
background: #1a2332;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: sticky;
|
|
top: 0;
|
|
height: 100vh;
|
|
}
|
|
|
|
.cp-sidebar-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 1.4rem 1.25rem 1.25rem;
|
|
border-bottom: 1px solid rgba(255,255,255,0.07);
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 32px;
|
|
height: 32px;
|
|
background: #215db0;
|
|
border-radius: 8px;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.brand-name {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
color: #e5e8eb;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.cp-sidebar-nav {
|
|
flex: 1;
|
|
padding: 0.5rem 0.5rem;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Make Blueprint Menu transparent on dark sidebar */
|
|
.cp-sidebar-menu.bp5-menu {
|
|
background: transparent;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Nav items */
|
|
.cp-sidebar-menu .bp5-menu-item {
|
|
color: #8f99a8;
|
|
border-radius: 6px;
|
|
padding: 0.5rem 0.75rem;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.cp-sidebar-menu .bp5-menu-item:hover {
|
|
background: rgba(255,255,255,0.06);
|
|
color: #d3d8de;
|
|
}
|
|
|
|
.cp-sidebar-menu .bp5-menu-item.bp5-active,
|
|
.cp-sidebar-menu .bp5-menu-item.bp5-intent-primary {
|
|
background: rgba(33, 93, 176, 0.35) !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.cp-sidebar-menu .bp5-menu-item .bp5-icon {
|
|
color: inherit;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.cp-sidebar-menu .bp5-menu-item.bp5-active .bp5-icon {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Divider */
|
|
.cp-sidebar-menu .bp5-menu-divider {
|
|
border-color: rgba(255,255,255,0.07);
|
|
margin: 0.25rem 0;
|
|
}
|
|
|
|
.cp-sidebar-footer {
|
|
padding: 0.85rem 1rem;
|
|
border-top: 1px solid rgba(255,255,255,0.07);
|
|
}
|
|
|
|
.cp-sidebar-user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.user-avatar {
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 50%;
|
|
background: #215db0;
|
|
color: #fff;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
display: grid;
|
|
place-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.user-info { display: flex; flex-direction: column; }
|
|
.user-name { font-size: 0.8rem; font-weight: 600; color: #d3d8de; }
|
|
.user-role { font-size: 0.7rem; color: #5f6b7c; }
|
|
|
|
/* ── Main content area ── */
|
|
.cp-main {
|
|
flex: 1;
|
|
padding: 2rem 2.5rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* ── Page header ── */
|
|
.page-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
margin-bottom: 2rem;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.page-header h1 {
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: #1c2127;
|
|
letter-spacing: -0.02em;
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
|
|
.page-header p {
|
|
font-size: 0.875rem;
|
|
color: #738091;
|
|
}
|
|
|
|
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
|
|
Job cards
|
|
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
|
|
.job-list { display: flex; flex-direction: column; gap: 0.75rem; }
|
|
|
|
.job-card {
|
|
background: #fff;
|
|
border: 1px solid #e5e8eb;
|
|
border-radius: 10px;
|
|
padding: 1.1rem 1.25rem;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
|
|
transition: box-shadow 0.15s, border-color 0.15s;
|
|
}
|
|
|
|
.job-card:hover {
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
|
border-color: #c5cbd3;
|
|
}
|
|
|
|
.job-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.job-card-header strong { font-size: 0.95rem; display: block; }
|
|
|
|
.job-card-subdomain {
|
|
font-size: 0.78rem;
|
|
color: #738091;
|
|
display: block;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.job-card-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 0.78rem;
|
|
color: #8f99a8;
|
|
}
|
|
|
|
/* ── Empty state ── */
|
|
.empty-state {
|
|
background: #fff;
|
|
border: 1px dashed #d3d8de;
|
|
border-radius: 10px;
|
|
padding: 4rem 2rem;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.empty-state-icon { font-size: 2.5rem; }
|
|
.empty-state h3 { font-size: 1rem; font-weight: 600; color: #1c2127; }
|
|
.empty-state p { font-size: 0.875rem; color: #738091; margin-bottom: 0.5rem; }
|
|
|
|
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
|
|
Wizard
|
|
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
|
|
.wizard-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0;
|
|
padding: 1rem 1.5rem 0;
|
|
border-bottom: 1px solid #e5e8eb;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.wizard-progress-step {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: 1;
|
|
padding-bottom: 0.85rem;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
color: #8f99a8;
|
|
border-bottom: 2px solid transparent;
|
|
}
|
|
|
|
.wizard-progress-step.active {
|
|
color: #215db0;
|
|
border-bottom-color: #215db0;
|
|
}
|
|
|
|
.wizard-progress-step.done { color: #1c6e42; }
|
|
|
|
.wizard-progress-dot {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 50%;
|
|
background: #e5e8eb;
|
|
color: #738091;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
display: grid;
|
|
place-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wizard-progress-step.active .wizard-progress-dot {
|
|
background: #215db0;
|
|
color: #fff;
|
|
}
|
|
|
|
.wizard-progress-step.done .wizard-progress-dot {
|
|
background: #1c6e42;
|
|
color: #fff;
|
|
}
|
|
|
|
.wizard-step { padding: 0.25rem 0; }
|
|
|
|
.step-description {
|
|
font-size: 0.875rem;
|
|
color: #738091;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.wizard-step .bp5-form-group { margin-bottom: 1rem; }
|
|
|
|
.review-table { width: 100%; font-size: 0.875rem; }
|
|
.review-table td:first-child { width: 150px; color: #738091; padding-right: 1rem; padding-bottom: 0.6rem; }
|
|
.review-table td:last-child { font-weight: 500; }
|
|
.review-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: #738091; }
|
|
|
|
/* Stack config table in DeploymentConfigStep */
|
|
.stack-config-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.875rem;
|
|
}
|
|
.stack-config-table th,
|
|
.stack-config-table td {
|
|
padding: 0.5rem 0.75rem;
|
|
border: 1px solid #dce0e6;
|
|
vertical-align: middle;
|
|
}
|
|
.stack-config-table th {
|
|
background: #f6f7f9;
|
|
font-weight: 600;
|
|
text-align: left;
|
|
font-size: 0.78rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: #5f6b7c;
|
|
}
|
|
.stack-config-table tbody tr:hover { background: #f6f7f9; }
|
|
.stack-config-select {
|
|
width: 100%;
|
|
padding: 0.3rem 0.5rem;
|
|
border: 1px solid #b3bac5;
|
|
border-radius: 4px;
|
|
background: #fff;
|
|
font-size: 0.875rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wizard-footer-actions { display: flex; gap: 8px; align-items: center; }
|
|
|
|
.wizard-error { color: #c23030; font-size: 0.85rem; margin-top: 0.5rem; }
|
|
|
|
/* ── Wizard as inline page ── */
|
|
.wizard-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.wizard-page-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.wizard-page-title h2 {
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: #1c2127;
|
|
letter-spacing: -0.02em;
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
|
|
.wizard-page-title p {
|
|
font-size: 0.875rem;
|
|
color: #738091;
|
|
}
|
|
|
|
.wizard-page-body {
|
|
flex: 1;
|
|
max-width: 640px;
|
|
padding-top: 1.5rem;
|
|
}
|
|
|
|
.wizard-page-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-top: 1.5rem;
|
|
margin-top: 1.5rem;
|
|
border-top: 1px solid #e5e8eb;
|
|
max-width: 640px;
|
|
}
|
|
|
|
/* ── Tier cards ── */
|
|
.tier-cards {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.tier-card {
|
|
width: 100%;
|
|
text-align: left;
|
|
background: #fff;
|
|
border: 2px solid #e5e8eb;
|
|
border-radius: 10px;
|
|
padding: 1rem 1.25rem;
|
|
cursor: pointer;
|
|
transition: border-color 0.15s, box-shadow 0.15s;
|
|
}
|
|
|
|
.tier-card:hover {
|
|
border-color: #215db0;
|
|
box-shadow: 0 2px 8px rgba(33,93,176,0.1);
|
|
}
|
|
|
|
.tier-card.selected {
|
|
border-color: #215db0;
|
|
background: #f0f4ff;
|
|
box-shadow: 0 2px 8px rgba(33,93,176,0.12);
|
|
}
|
|
|
|
.tier-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
.tier-card-label {
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
color: #1c2127;
|
|
}
|
|
|
|
.tier-card-badge {
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
padding: 2px 8px;
|
|
border-radius: 99px;
|
|
letter-spacing: 0.03em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.tier-badge-shared { background: #e5e8eb; color: #5f6b7c; }
|
|
.tier-badge-trial { background: #dce9ff; color: #184a90; }
|
|
.tier-badge-isolated { background: #fef3c7; color: #92400e; }
|
|
.tier-badge-dedicated { background: #fde8d8; color: #9e3a06; }
|
|
.tier-badge-enterprise { background: #fee2e2; color: #991b1b; }
|
|
|
|
.tier-card-description {
|
|
font-size: 0.8rem;
|
|
color: #738091;
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
}
|
|
|
|
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
|
|
OPC — Online Project Communication
|
|
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
|
|
|
|
/* Filter bar */
|
|
.opc-filter-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
margin-bottom: 1.25rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.opc-count-badge {
|
|
margin-left: auto;
|
|
font-size: 0.78rem;
|
|
color: #738091;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Table */
|
|
.opc-table.bp5-html-table {
|
|
width: 100%;
|
|
background: #fff;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
border: 1px solid #e5e8eb;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
|
|
}
|
|
|
|
.opc-table.bp5-html-table thead tr th {
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: #738091;
|
|
padding: 0.6rem 0.85rem;
|
|
background: #f8f9fb;
|
|
border-bottom: 1px solid #e5e8eb;
|
|
}
|
|
|
|
.opc-table.bp5-html-table tbody tr td {
|
|
padding: 0.65rem 0.85rem;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.opc-table.bp5-html-table.bp5-interactive tbody tr:hover td {
|
|
cursor: pointer;
|
|
background: #f0f4ff;
|
|
}
|
|
|
|
.opc-row-selected td {
|
|
background: #e8f0fb !important;
|
|
}
|
|
|
|
.opc-number-chip {
|
|
font-family: 'Consolas', 'Courier New', monospace;
|
|
font-size: 0.78rem;
|
|
color: #215db0;
|
|
background: #e8f0fb;
|
|
padding: 2px 7px;
|
|
border-radius: 4px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.opc-title-cell {
|
|
font-weight: 500;
|
|
max-width: 340px;
|
|
}
|
|
|
|
.opc-date-cell {
|
|
font-size: 0.78rem;
|
|
color: #738091;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Drawer body */
|
|
.opc-drawer-body {
|
|
padding: 1.25rem 1.5rem;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Meta strip */
|
|
.opc-meta-strip {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.opc-meta-label {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: #738091;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
/* Tab panel */
|
|
.opc-tab-panel {
|
|
padding-top: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
/* Field display */
|
|
.opc-field-label {
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: #738091;
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
|
|
.opc-field-value {
|
|
font-size: 0.875rem;
|
|
color: #1c2127;
|
|
}
|
|
|
|
.opc-field-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.opc-description {
|
|
font-size: 0.875rem;
|
|
color: #1c2127;
|
|
line-height: 1.65;
|
|
white-space: pre-wrap;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Notes */
|
|
.opc-notes-feed {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
min-height: 60px;
|
|
}
|
|
|
|
.opc-note-card {
|
|
background: #f6f7f9;
|
|
border: 1px solid #e5e8eb;
|
|
border-radius: 8px;
|
|
padding: 0.8rem 1rem;
|
|
}
|
|
|
|
.opc-note-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
.opc-note-author {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: #1c2127;
|
|
}
|
|
|
|
.opc-note-time {
|
|
font-size: 0.73rem;
|
|
color: #738091;
|
|
}
|
|
|
|
.opc-note-content {
|
|
font-size: 0.875rem;
|
|
color: #1c2127;
|
|
line-height: 1.6;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.opc-note-compose {
|
|
border-top: 1px solid #e5e8eb;
|
|
padding-top: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Commits */
|
|
.opc-commits-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.opc-commit-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
padding: 0.6rem 0.75rem;
|
|
background: #f6f7f9;
|
|
border: 1px solid #e5e8eb;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.opc-commit-hash {
|
|
font-family: 'Consolas', 'Courier New', monospace;
|
|
font-size: 0.75rem;
|
|
color: #215db0;
|
|
background: #e8f0fb;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
align-self: center;
|
|
}
|
|
|
|
.opc-commit-info { flex: 1; }
|
|
.opc-commit-msg { font-size: 0.82rem; font-weight: 500; color: #1c2127; }
|
|
.opc-commit-meta { font-size: 0.72rem; color: #738091; margin-top: 2px; }
|
|
|
|
.opc-commit-files {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.3rem;
|
|
margin-top: 0.35rem;
|
|
}
|
|
|
|
.opc-commit-files span {
|
|
font-size: 0.68rem;
|
|
font-family: 'Consolas', monospace;
|
|
background: #e5e8eb;
|
|
color: #5f6b7c;
|
|
padding: 1px 5px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* Drawer form actions */
|
|
.opc-drawer-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 0.5rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid #e5e8eb;
|
|
margin-top: auto;
|
|
}
|
|
|
|
/* Inline editable description */
|
|
.opc-editable-desc {
|
|
font-size: 0.875rem !important;
|
|
color: #1c2127;
|
|
line-height: 1.65;
|
|
white-space: pre-wrap;
|
|
min-height: 60px;
|
|
width: 100%;
|
|
border-radius: 4px;
|
|
padding: 4px 6px;
|
|
}
|
|
|
|
.opc-editable-desc.bp5-editable-text-editing {
|
|
box-shadow: 0 0 0 1px #215db0, 0 0 0 3px rgba(33,93,176,0.2);
|
|
}
|
|
|
|
/* AI assist box */
|
|
.opc-ai-box {
|
|
background: #faf7ff;
|
|
border: 1px dashed #c4b5fd;
|
|
border-radius: 8px;
|
|
padding: 0.75rem 1rem;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.opc-ai-label { margin-bottom: 0.4rem; }
|
|
|
|
.opc-ai-input-row { display: flex; gap: 0.5rem; align-items: center; }
|
|
|
|
.opc-ai-result {
|
|
margin-top: 0.75rem;
|
|
background: #fff;
|
|
border: 1px solid #e5e8eb;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.opc-ai-result-text {
|
|
font-size: 0.8rem;
|
|
color: #1c2127;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
margin: 0;
|
|
padding: 0.75rem 1rem;
|
|
max-height: 220px;
|
|
overflow-y: auto;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.opc-ai-result-actions {
|
|
display: flex;
|
|
gap: 0.4rem;
|
|
padding: 0.5rem 0.75rem;
|
|
border-top: 1px solid #e5e8eb;
|
|
background: #f8f9fb;
|
|
}
|
|
|
|
/* Artifact panel */
|
|
.opc-artifact-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.opc-artifact-card {
|
|
background: #fff;
|
|
border: 1px solid #e5e8eb;
|
|
border-radius: 8px;
|
|
padding: 0.9rem 1rem;
|
|
}
|
|
|
|
.opc-artifact-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.opc-artifact-body {
|
|
font-size: 0.82rem;
|
|
color: #1c2127;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
margin: 0;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.opc-artifact-meta {
|
|
font-size: 0.7rem;
|
|
color: #738091;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.opc-artifact-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* Branch coverage */
|
|
.opc-branch-coverage {
|
|
background: #f8f9fb;
|
|
border: 1px solid #e5e8eb;
|
|
border-radius: 8px;
|
|
padding: 0.75rem 1rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.opc-branch-chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
/* SDLC Delivery Chain */
|
|
.opc-delivery-chain {
|
|
background: #f6f7f9;
|
|
border: 1px solid #dce0e6;
|
|
border-radius: 8px;
|
|
padding: 0.75rem 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.opc-sdlc-pipeline {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
flex-wrap: nowrap;
|
|
gap: 0;
|
|
overflow-x: auto;
|
|
padding-bottom: 0.25rem;
|
|
}
|
|
|
|
.opc-sdlc-arrow {
|
|
color: #8f99a8;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
align-self: center;
|
|
margin: 0 0.4rem;
|
|
user-select: none;
|
|
}
|
|
|
|
/* Individual branch box */
|
|
.opc-sdlc-box {
|
|
flex: 1 1 140px;
|
|
min-width: 130px;
|
|
max-width: 200px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid #dce0e6;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.opc-sdlc-box--reached {
|
|
border-width: 2px;
|
|
}
|
|
|
|
.opc-sdlc-box-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.3rem 0.5rem;
|
|
background: #f6f7f9;
|
|
border-bottom: 1px solid #e5e8eb;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.opc-sdlc-box-count {
|
|
font-size: 0.68rem;
|
|
color: #738091;
|
|
background: #e5e8eb;
|
|
border-radius: 10px;
|
|
padding: 0 6px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Scrollable body */
|
|
.opc-sdlc-box-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
max-height: 140px;
|
|
min-height: 60px;
|
|
padding: 0.3rem 0.4rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.15rem;
|
|
}
|
|
|
|
.opc-sdlc-sha-row {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 0.35rem;
|
|
padding: 0.1rem 0.2rem;
|
|
border-radius: 3px;
|
|
opacity: 0.35;
|
|
}
|
|
|
|
.opc-sdlc-sha-row--reached {
|
|
opacity: 1;
|
|
}
|
|
|
|
.opc-sdlc-sha {
|
|
font-family: 'Consolas', 'Courier New', monospace;
|
|
font-size: 0.7rem;
|
|
color: #2d72d2;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.opc-sdlc-sha-msg {
|
|
font-size: 0.68rem;
|
|
color: #4a5568;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.opc-sdlc-box-empty {
|
|
font-size: 0.7rem;
|
|
color: #a3acb6;
|
|
font-style: italic;
|
|
padding: 0.2rem 0;
|
|
}
|
|
|
|
.opc-sdlc-box-pending {
|
|
font-size: 0.68rem;
|
|
color: #a3acb6;
|
|
font-style: italic;
|
|
margin-top: auto;
|
|
padding-top: 0.25rem;
|
|
border-top: 1px dashed #e5e8eb;
|
|
}
|
|
|
|
/* Commits section labels */
|
|
.opc-commits-section-label {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 0.25rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.opc-section-hint {
|
|
font-size: 0.8rem;
|
|
color: #738091;
|
|
}
|
|
|
|
.opc-empty-hint {
|
|
font-size: 0.82rem;
|
|
color: #738091;
|
|
margin: 0 0 0.5rem;
|
|
}
|
|
|
|
/* ── Git Commit Drawer ──────────────────────────────────────────────────────── */
|
|
|
|
/* Drawer shell: full-height flex column */
|
|
.git-commit-drawer.bp6-drawer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.git-commit-drawer .bp6-drawer-header {
|
|
flex-shrink: 0;
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
/*
|
|
* .gcd-body is the scrollable content area.
|
|
* Blueprint v6 renders children directly inside .bp6-drawer — no body wrapper.
|
|
*/
|
|
.git-commit-drawer .gcd-body {
|
|
flex: 1 1 0; /* 0 basis — don't size from content, allow shrink */
|
|
min-height: 0; /* flex children won't shrink past content without this */
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
position: relative; /* loading overlay anchor */
|
|
}
|
|
|
|
/* Children of the scroll container must NOT shrink — if they do, content
|
|
* never overflows and the scrollbar never appears. */
|
|
.git-commit-drawer .gcd-body > * {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Footer rendered as last child — sits below the scroll area */
|
|
.git-commit-drawer .gcd-footer {
|
|
flex-shrink: 0;
|
|
padding: 0.5rem 1rem;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.git-drawer-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.git-drawer-hash {
|
|
font-size: 0.78rem;
|
|
background: #e8edf2;
|
|
border-radius: 4px;
|
|
padding: 2px 6px;
|
|
flex-shrink: 0;
|
|
color: #215db0;
|
|
font-family: 'JetBrains Mono', 'Fira Code', monospace;
|
|
}
|
|
|
|
/* Loading overlay — keeps old diff visible while fetching next commit */
|
|
.gcd-loading-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(255, 255, 255, 0.7);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Per-file accordion */
|
|
.gcd-files-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
border: 1px solid #dce0e6;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
margin: 0.75rem 0;
|
|
}
|
|
|
|
.gcd-file-section {
|
|
border-bottom: 1px solid #dce0e6;
|
|
}
|
|
|
|
.gcd-file-section:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.gcd-file-header {
|
|
all: unset;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
width: 100%;
|
|
padding: 0.45rem 0.75rem;
|
|
background: #f6f8fa;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: background 0.1s;
|
|
font-family: 'JetBrains Mono', 'Fira Code', monospace;
|
|
font-size: 0.78rem;
|
|
color: #1c2127;
|
|
}
|
|
|
|
.gcd-file-header:hover,
|
|
.gcd-file-header--open {
|
|
background: #edf2f7;
|
|
}
|
|
|
|
.gcd-file-chevron {
|
|
flex-shrink: 0;
|
|
color: #738091;
|
|
}
|
|
|
|
.gcd-file-status-icon {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.gcd-file-path {
|
|
flex: 1;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
min-width: 0;
|
|
}
|
|
|
|
.gcd-file-stats {
|
|
display: flex;
|
|
gap: 0.4rem;
|
|
flex-shrink: 0;
|
|
font-size: 0.73rem;
|
|
font-family: 'JetBrains Mono', 'Fira Code', monospace;
|
|
}
|
|
|
|
.gcd-adds { color: #1a7f37; font-weight: 600; }
|
|
.gcd-dels { color: #cf222e; font-weight: 600; }
|
|
|
|
.gcd-no-diff {
|
|
padding: 0.6rem 1rem;
|
|
font-size: 0.8rem;
|
|
color: #738091;
|
|
font-style: italic;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.git-drawer-subject {
|
|
font-size: 0.92rem;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: #1c2127;
|
|
}
|
|
|
|
|
|
.git-commit-meta-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
padding: 0.6rem 0.75rem;
|
|
background: #f6f8fa;
|
|
border: 1px solid #d0d7de;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.git-commit-meta-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.git-commit-meta-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.git-commit-hash-chip {
|
|
font-size: 0.78rem;
|
|
background: #dbe7ff;
|
|
color: #215db0;
|
|
border-radius: 4px;
|
|
padding: 2px 7px;
|
|
font-family: 'JetBrains Mono', 'Fira Code', monospace;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.git-commit-hash-chip:hover {
|
|
background: #c3d6ff;
|
|
}
|
|
|
|
.git-commit-author {
|
|
font-size: 0.83rem;
|
|
font-weight: 600;
|
|
color: #1c2127;
|
|
}
|
|
|
|
.git-commit-date {
|
|
font-size: 0.8rem;
|
|
color: #738091;
|
|
}
|
|
|
|
.git-commit-body {
|
|
font-size: 0.82rem;
|
|
color: #404854;
|
|
background: #f6f8fa;
|
|
border: 1px solid #d0d7de;
|
|
border-radius: 6px;
|
|
padding: 0.75rem;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-family: 'Inter', system-ui, sans-serif;
|
|
}
|
|
|
|
.git-diff-container {
|
|
font-size: 0.78rem;
|
|
line-height: 1.45;
|
|
border-radius: 6px;
|
|
overflow-x: auto; /* horizontal scroll for wide diffs, not clip */
|
|
overflow-y: visible;
|
|
border: 1px solid #d0d7de;
|
|
}
|
|
|
|
/* Tune diff2html table to fit drawer width */
|
|
.git-diff-container .d2h-wrapper {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.git-diff-container .d2h-file-header {
|
|
background: #f0f3f6;
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.git-diff-container .d2h-code-line {
|
|
font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.git-diff-container .d2h-ins {
|
|
background: #e6ffec;
|
|
}
|
|
|
|
.git-diff-container .d2h-del {
|
|
background: #ffebe9;
|
|
}
|
|
|
|
.git-diff-container .d2h-ins > td.d2h-code-linenumber {
|
|
background: #ccffd8;
|
|
color: #196c2e;
|
|
}
|
|
|
|
.git-diff-container .d2h-del > td.d2h-code-linenumber {
|
|
background: #ffd7d5;
|
|
color: #82071e;
|
|
}
|
|
|
|
/* ── Changesets Page ───────────────────────────────────────────────────── */
|
|
|
|
.cs-timeline {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid #dce0e6;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.cs-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
padding: 0.55rem 1rem;
|
|
border-bottom: 1px solid #e5e8eb;
|
|
cursor: pointer;
|
|
transition: background 0.1s;
|
|
}
|
|
|
|
.cs-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.cs-row:hover {
|
|
background: #f6f7f9;
|
|
}
|
|
|
|
.cs-row-left {
|
|
flex-shrink: 0;
|
|
width: 68px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.cs-repo-badge {
|
|
font-size: 0.67rem;
|
|
min-width: 52px;
|
|
text-align: center;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.cs-row-body {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.cs-row-top {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 0.5rem;
|
|
flex-wrap: nowrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.cs-subject {
|
|
font-size: 0.84rem;
|
|
font-weight: 500;
|
|
color: #1c2127;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.cs-row-meta {
|
|
font-size: 0.72rem;
|
|
color: #738091;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.cs-file-count {
|
|
color: #8f99a8;
|
|
}
|
|
|
|
.cs-pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
padding: 1rem 0;
|
|
border-top: 1px solid #e5e8eb;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.cs-page-label {
|
|
font-size: 0.85rem;
|
|
color: #5c7080;
|
|
font-weight: 500;
|
|
min-width: 60px;
|
|
text-align: center;
|
|
}
|
|
|
|
.cs-page-with-tree {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.cs-branch-tree {
|
|
width: 200px;
|
|
flex-shrink: 0;
|
|
position: sticky;
|
|
top: 1rem;
|
|
border: 1px solid #dce0e6;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
padding: 0.25rem 0;
|
|
max-height: calc(100vh - 8rem);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.cs-branch-tree .bp6-tree-node-content {
|
|
font-size: 0.82rem;
|
|
height: 28px;
|
|
}
|
|
|
|
.cs-branch-tree .bp6-tree-node-content:hover {
|
|
background: #f6f7f9;
|
|
}
|
|
|
|
.cs-branch-tree .bp6-tree-node.bp6-tree-node-selected > .bp6-tree-node-content {
|
|
background: #e8f0fb;
|
|
color: #215db0;
|
|
}
|
|
|
|
.cs-content-area {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.cs-branch-badge {
|
|
font-size: 0.67rem;
|
|
letter-spacing: 0.01em;
|
|
white-space: nowrap;
|
|
margin-left: 0.5rem;
|
|
opacity: 0.85;
|
|
vertical-align: middle;
|
|
}
|