- Enhance CSS custom properties and add form control styling - Polish settings layout, sidebar, and auth card styles - Add checkbox styling, modal refinements, and migrate inline styles from SettingsModal - Add structural test assertions for new CSS classes in SettingsModal - Expand styles.css with ~170 new lines of maintainable, token-based CSS
1235 lines
25 KiB
CSS
1235 lines
25 KiB
CSS
/* === Reset & Tokens === */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
:root {
|
|
--bg: #0d1117;
|
|
--surface: #161b22;
|
|
--card: #21262d;
|
|
--card-hover: #282e36;
|
|
--border: #30363d;
|
|
--text: #e6edf3;
|
|
--text-muted: #8b949e;
|
|
--text-dim: #484f58;
|
|
|
|
--triage: #d29922;
|
|
--todo: #58a6ff;
|
|
--in-progress: #bc8cff;
|
|
--in-review: #3fb950;
|
|
--done: #8b949e;
|
|
|
|
--color-success: #3fb950;
|
|
--color-error: #f85149;
|
|
--color-muted: #8b949e;
|
|
|
|
--radius: 8px;
|
|
--radius-lg: 12px;
|
|
--shadow: 0 4px 24px rgba(0,0,0,0.4);
|
|
--transition-fast: 0.15s ease;
|
|
--transition-normal: 0.2s ease;
|
|
}
|
|
|
|
html, body {
|
|
height: 100%;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* === Header === */
|
|
.header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 24px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.header-left { display: flex; align-items: center; gap: 8px; }
|
|
.header-logo { width: 24px; height: 24px; flex-shrink: 0; }
|
|
.header-actions { display: flex; align-items: center; gap: 8px; }
|
|
|
|
.btn-icon {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
border-radius: var(--radius);
|
|
transition: color 0.15s, background 0.15s;
|
|
}
|
|
.btn-icon:hover {
|
|
color: var(--text);
|
|
background: var(--border);
|
|
}
|
|
.logo { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
|
|
.logo-sub { font-size: 13px; color: var(--text-muted); font-weight: 400; }
|
|
|
|
/* === Buttons === */
|
|
.btn {
|
|
padding: 8px 16px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: var(--card);
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
.btn:hover { background: var(--card-hover); border-color: var(--text-muted); }
|
|
.btn:active { transform: scale(0.97); }
|
|
|
|
.btn-primary {
|
|
background: #238636;
|
|
border-color: #2ea043;
|
|
color: #fff;
|
|
}
|
|
.btn-primary:hover { background: #2ea043; box-shadow: 0 0 8px rgba(46,160,67,0.3); }
|
|
|
|
.btn-danger {
|
|
background: #da3633;
|
|
border-color: #f85149;
|
|
color: #fff;
|
|
}
|
|
.btn-danger:hover { background: #f85149; box-shadow: 0 0 8px rgba(248,81,73,0.3); }
|
|
|
|
.btn-warning {
|
|
background: #d29922;
|
|
border-color: #e3b341;
|
|
color: #fff;
|
|
}
|
|
.btn-warning:hover { background: #e3b341; box-shadow: 0 0 8px rgba(227,179,65,0.3); }
|
|
|
|
.btn-sm { padding: 4px 10px; font-size: 12px; }
|
|
|
|
/* === Board === */
|
|
.board {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(260px, 1fr));
|
|
gap: 12px;
|
|
padding: 16px 24px;
|
|
height: calc(100vh - 57px);
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
scrollbar-color: var(--border) transparent;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.board::-webkit-scrollbar { height: 6px; }
|
|
.board::-webkit-scrollbar-track { background: transparent; }
|
|
.board::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
|
|
|
|
.column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--surface);
|
|
border-radius: var(--radius-lg);
|
|
border: 1px solid var(--border);
|
|
overflow: hidden;
|
|
min-width: 260px;
|
|
min-height: 0;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.column.drag-over {
|
|
border-color: var(--todo);
|
|
box-shadow: inset 0 0 0 1px var(--todo);
|
|
}
|
|
|
|
.column-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 14px 14px 0;
|
|
}
|
|
|
|
.column-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
}
|
|
.dot-triage { background: var(--triage); }
|
|
.dot-todo { background: var(--todo); }
|
|
.dot-in-progress { background: var(--in-progress); }
|
|
.dot-in-review { background: var(--in-review); }
|
|
.dot-done { background: var(--done); }
|
|
|
|
.column-header h2 {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
flex: 1;
|
|
}
|
|
|
|
.column-count {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
background: var(--card);
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
min-width: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
@keyframes count-flash-bg {
|
|
from {
|
|
background: #238636;
|
|
}
|
|
to {
|
|
background: var(--card);
|
|
}
|
|
}
|
|
|
|
.column-count.count-flash {
|
|
animation: count-flash-bg 1400ms ease-out;
|
|
}
|
|
|
|
.column-desc {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
padding: 4px 14px 10px;
|
|
}
|
|
|
|
.column-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 4px 8px 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.column-body::-webkit-scrollbar { width: 4px; }
|
|
.column-body::-webkit-scrollbar-track { background: transparent; }
|
|
.column-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
|
|
|
|
/* === Cards === */
|
|
.card {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 10px 12px;
|
|
cursor: grab;
|
|
transition: background 0.15s, border-color 0.15s, transform 0.15s, opacity 0.2s;
|
|
user-select: none;
|
|
}
|
|
.card:hover {
|
|
background: var(--card-hover);
|
|
border-color: var(--text-muted);
|
|
}
|
|
.card:active { cursor: grabbing; }
|
|
.card.dragging { opacity: 0.4; transform: scale(0.98); }
|
|
.card.file-drop-target {
|
|
border: 2px dashed var(--todo);
|
|
background: rgba(88, 166, 255, 0.08);
|
|
}
|
|
|
|
/* Agent-active glow: animated border glow when an agent is actively working on a task.
|
|
Uses the in-progress column color to stay consistent with the theme. */
|
|
.card.agent-active {
|
|
border-color: var(--in-progress);
|
|
box-shadow: 0 0 8px rgba(188, 140, 255, 0.4), 0 0 20px rgba(188, 140, 255, 0.15);
|
|
animation: agent-glow 2.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes agent-glow {
|
|
0%, 100% { box-shadow: 0 0 8px rgba(188, 140, 255, 0.4), 0 0 20px rgba(188, 140, 255, 0.15); }
|
|
50% { box-shadow: 0 0 12px rgba(188, 140, 255, 0.6), 0 0 28px rgba(188, 140, 255, 0.25); }
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.card-id {
|
|
display: inline-block;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
font-family: "SF Mono", Monaco, Consolas, monospace;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 13px;
|
|
line-height: 1.4;
|
|
word-break: break-word;
|
|
}
|
|
|
|
/* z-index + position: relative so .card-dep-badge tooltip renders above .card-title */
|
|
.card-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.card-status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.card-status-badge.pulsing {
|
|
animation: pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
.card-status-badge.failed {
|
|
background: rgba(218,54,51,0.15);
|
|
color: #da3633;
|
|
}
|
|
|
|
.card.failed {
|
|
border-left: 3px solid #da3633;
|
|
}
|
|
|
|
.card.paused {
|
|
opacity: 0.55;
|
|
border-left: 3px solid var(--text-secondary, #888);
|
|
cursor: default;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
}
|
|
|
|
.card-dep-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
font-size: 11px;
|
|
color: var(--triage);
|
|
position: relative;
|
|
cursor: default;
|
|
}
|
|
|
|
.card-dep-badge[data-tooltip]:hover::after {
|
|
content: attr(data-tooltip);
|
|
position: absolute;
|
|
bottom: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background: var(--surface);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
padding: 4px 8px;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
z-index: 10;
|
|
pointer-events: none;
|
|
margin-bottom: 4px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.card-scope-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
font-size: 11px;
|
|
color: var(--in-progress);
|
|
position: relative;
|
|
cursor: default;
|
|
}
|
|
|
|
.card-scope-badge[data-tooltip]:hover::after {
|
|
content: attr(data-tooltip);
|
|
position: absolute;
|
|
bottom: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background: var(--bg-card);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
padding: 4px 8px;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
z-index: 10;
|
|
pointer-events: none;
|
|
margin-bottom: 4px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.card-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.card-progress-bar {
|
|
flex: 1;
|
|
height: 3px;
|
|
background: var(--border);
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card-progress-fill {
|
|
height: 100%;
|
|
border-radius: 2px;
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
.card-progress-label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
font-family: "SF Mono", Monaco, Consolas, monospace;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* === Modals === */
|
|
.modal-overlay {
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.6);
|
|
backdrop-filter: blur(4px);
|
|
z-index: 100;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
padding-top: 10vh;
|
|
}
|
|
.modal-overlay.open { display: flex; }
|
|
|
|
.modal {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
width: 480px;
|
|
max-height: 80vh;
|
|
box-shadow: var(--shadow);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.modal-lg { width: 640px; }
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: rgba(0,0,0,0.1);
|
|
}
|
|
.modal-header h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.3px; }
|
|
|
|
.modal-close {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 22px;
|
|
cursor: pointer;
|
|
padding: 0 4px;
|
|
line-height: 1;
|
|
}
|
|
.modal-close:hover { color: var(--text); }
|
|
|
|
.modal-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
padding: 14px 20px;
|
|
border-top: 1px solid var(--border);
|
|
background: rgba(0,0,0,0.05);
|
|
}
|
|
|
|
/* === Forms === */
|
|
.form-group { padding: 0 20px; margin-top: 16px; }
|
|
.form-group:last-of-type { margin-bottom: 8px; }
|
|
.form-group label {
|
|
display: block;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
margin-bottom: 6px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; }
|
|
|
|
.form-group input:not([type="checkbox"]),
|
|
.form-group textarea {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
transition: border-color 0.15s;
|
|
}
|
|
.form-group input:not([type="checkbox"]):focus,
|
|
.form-group textarea:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: 0 0 0 2px rgba(88,166,255,0.15);
|
|
}
|
|
.form-group input[type="checkbox"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
padding: 0;
|
|
margin: 0;
|
|
accent-color: var(--todo);
|
|
cursor: pointer;
|
|
border-radius: 3px;
|
|
transition: box-shadow var(--transition-fast);
|
|
}
|
|
.form-group input[type="checkbox"]:focus-visible {
|
|
box-shadow: 0 0 0 2px rgba(88,166,255,0.3);
|
|
outline: none;
|
|
}
|
|
.checkbox-label {
|
|
display: flex !important;
|
|
align-items: center;
|
|
gap: 8px;
|
|
text-transform: none !important;
|
|
letter-spacing: 0 !important;
|
|
font-weight: 500 !important;
|
|
color: var(--text) !important;
|
|
font-size: 13px !important;
|
|
cursor: pointer;
|
|
}
|
|
.form-group textarea { resize: vertical; }
|
|
|
|
/* === Select Styling === */
|
|
.form-group select {
|
|
width: 100%;
|
|
padding: 8px 32px 8px 12px;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
cursor: pointer;
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b949e' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 10px center;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
.form-group select:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: 0 0 0 2px rgba(88,166,255,0.15);
|
|
}
|
|
.form-group select:hover:not(:focus) {
|
|
border-color: var(--text-dim);
|
|
}
|
|
.form-group select optgroup {
|
|
background: var(--surface);
|
|
color: var(--text-muted);
|
|
font-weight: 600;
|
|
}
|
|
.form-group select option {
|
|
background: var(--surface);
|
|
color: var(--text);
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
/* === Helper Text & Field Errors === */
|
|
.form-group small {
|
|
display: block;
|
|
margin-top: 6px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
line-height: 1.4;
|
|
}
|
|
.form-group .field-error {
|
|
color: var(--color-error);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* === Settings Layout === */
|
|
.settings-layout {
|
|
display: flex;
|
|
flex-direction: row;
|
|
min-height: 300px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.settings-sidebar {
|
|
width: 170px;
|
|
min-width: 170px;
|
|
border-right: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 10px 8px;
|
|
gap: 2px;
|
|
background: rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.settings-nav-item {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
background: none;
|
|
border: none;
|
|
border-left: 3px solid transparent;
|
|
border-radius: 0 var(--radius) var(--radius) 0;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
|
|
}
|
|
.settings-nav-item:hover {
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
border-left-color: var(--border);
|
|
}
|
|
.settings-nav-item.active {
|
|
background: var(--bg);
|
|
color: var(--todo);
|
|
font-weight: 600;
|
|
border-left-color: var(--todo);
|
|
}
|
|
|
|
.settings-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 4px 0 12px;
|
|
}
|
|
.settings-content > * {
|
|
animation: settingsFadeIn var(--transition-normal);
|
|
}
|
|
@keyframes settingsFadeIn {
|
|
from { opacity: 0; transform: translateY(4px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.settings-section-heading {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
padding: 12px 20px 10px;
|
|
margin: 0 20px 0 0;
|
|
color: var(--text);
|
|
border-bottom: 1px solid var(--border);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
/* === Auth Provider Cards === */
|
|
.auth-provider-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 20px;
|
|
margin: 0;
|
|
border-bottom: 1px solid var(--border);
|
|
transition: background var(--transition-fast);
|
|
}
|
|
.auth-provider-row:hover {
|
|
background: rgba(255,255,255,0.02);
|
|
}
|
|
.auth-provider-row:last-of-type {
|
|
border-bottom: none;
|
|
}
|
|
.auth-provider-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.auth-status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
.auth-status-badge.authenticated {
|
|
background: rgba(63,185,80,0.15);
|
|
color: var(--color-success);
|
|
}
|
|
.auth-status-badge.not-authenticated {
|
|
background: rgba(248,81,73,0.15);
|
|
color: var(--color-error);
|
|
}
|
|
.auth-hint {
|
|
display: block;
|
|
padding: 10px 20px 0;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
.settings-empty-state {
|
|
padding: 12px 20px;
|
|
font-size: 13px;
|
|
}
|
|
.settings-muted {
|
|
color: var(--text-muted);
|
|
}
|
|
.settings-loading {
|
|
text-align: center;
|
|
}
|
|
|
|
/* === Detail Modal === */
|
|
.detail-title-row { display: flex; align-items: center; gap: 10px; }
|
|
|
|
.detail-id {
|
|
font-family: "SF Mono", Monaco, Consolas, monospace;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.detail-column-badge {
|
|
font-size: 11px;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
.badge-triage { background: rgba(210,153,34,0.15); color: var(--triage); }
|
|
.badge-todo { background: rgba(88,166,255,0.15); color: var(--todo); }
|
|
.badge-in-progress { background: rgba(188,140,255,0.15); color: var(--in-progress); }
|
|
.badge-in-review { background: rgba(63,185,80,0.15); color: var(--in-review); }
|
|
.badge-done { background: rgba(139,148,158,0.15); color: var(--done); }
|
|
|
|
.detail-body {
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.detail-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.detail-meta {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.detail-section { margin-top: 16px; }
|
|
.detail-section h4 {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.detail-prompt {
|
|
padding: 14px;
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
font-family: "SF Mono", Monaco, Consolas, monospace;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* === Markdown Prose === */
|
|
.markdown-body {
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
color: var(--text);
|
|
word-break: break-word;
|
|
}
|
|
|
|
.markdown-body h1,
|
|
.markdown-body h2,
|
|
.markdown-body h3,
|
|
.markdown-body h4 {
|
|
color: var(--text);
|
|
font-weight: 600;
|
|
margin-top: 1.2em;
|
|
margin-bottom: 0.5em;
|
|
line-height: 1.3;
|
|
}
|
|
.markdown-body h1 { font-size: 1.4em; border-bottom: 1px solid var(--border); padding-bottom: 0.3em; }
|
|
.markdown-body h2 { font-size: 1.2em; border-bottom: 1px solid var(--border); padding-bottom: 0.3em; }
|
|
.markdown-body h3 { font-size: 1.05em; }
|
|
.markdown-body h4 { font-size: 1em; color: var(--text-muted); }
|
|
.markdown-body h1:first-child,
|
|
.markdown-body h2:first-child,
|
|
.markdown-body h3:first-child,
|
|
.markdown-body h4:first-child { margin-top: 0; }
|
|
|
|
.markdown-body p {
|
|
margin: 0.6em 0;
|
|
}
|
|
|
|
.markdown-body ul,
|
|
.markdown-body ol {
|
|
padding-left: 1.6em;
|
|
margin: 0.5em 0;
|
|
}
|
|
.markdown-body ul { list-style: disc; }
|
|
.markdown-body ol { list-style: decimal; }
|
|
.markdown-body li { margin: 0.25em 0; }
|
|
.markdown-body li > ul,
|
|
.markdown-body li > ol { margin: 0.15em 0; }
|
|
|
|
.markdown-body code {
|
|
background: var(--card);
|
|
border-radius: 4px;
|
|
padding: 0.15em 0.4em;
|
|
font-size: 0.9em;
|
|
font-family: "SF Mono", Monaco, Consolas, monospace;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 12px;
|
|
overflow-x: auto;
|
|
margin: 0.6em 0;
|
|
}
|
|
.markdown-body pre > code {
|
|
background: none;
|
|
padding: 0;
|
|
border-radius: 0;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.markdown-body a {
|
|
color: var(--todo);
|
|
text-decoration: none;
|
|
}
|
|
.markdown-body a:hover { text-decoration: underline; }
|
|
|
|
.markdown-body blockquote {
|
|
border-left: 3px solid var(--border);
|
|
padding: 0.3em 0.8em;
|
|
margin: 0.6em 0;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.markdown-body table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
margin: 0.6em 0;
|
|
font-size: 0.9em;
|
|
}
|
|
.markdown-body th,
|
|
.markdown-body td {
|
|
border: 1px solid var(--border);
|
|
padding: 6px 10px;
|
|
text-align: left;
|
|
}
|
|
.markdown-body th {
|
|
background: var(--card);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
margin-right: 0.4em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.markdown-body hr {
|
|
border: none;
|
|
border-top: 1px solid var(--border);
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.markdown-body strong { color: var(--text); }
|
|
.markdown-body em { font-style: italic; }
|
|
|
|
.markdown-body img { max-width: 100%; border-radius: var(--radius); }
|
|
|
|
.detail-deps { margin-top: 16px; }
|
|
.detail-deps h4 {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 6px;
|
|
}
|
|
.detail-dep-list {
|
|
list-style: none;
|
|
font-size: 13px;
|
|
}
|
|
.detail-dep-list li {
|
|
padding: 4px 0;
|
|
color: var(--todo);
|
|
font-family: "SF Mono", Monaco, Consolas, monospace;
|
|
}
|
|
|
|
/* === Activity Timeline === */
|
|
.detail-activity {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.detail-activity-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.detail-log-entry {
|
|
padding: 8px 0 8px 14px;
|
|
border-left: 2px solid var(--border);
|
|
position: relative;
|
|
}
|
|
|
|
.detail-log-entry::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: -4px;
|
|
top: 13px;
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--text-dim);
|
|
}
|
|
|
|
.detail-log-entry:first-child::before {
|
|
background: var(--todo);
|
|
}
|
|
|
|
.detail-log-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.detail-log-timestamp {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
font-family: "SF Mono", Monaco, Consolas, monospace;
|
|
}
|
|
|
|
.detail-log-action {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.detail-log-outcome {
|
|
margin-top: 6px;
|
|
padding: 8px 12px;
|
|
background: var(--bg);
|
|
border-left: 3px solid var(--border);
|
|
border-radius: 0 var(--radius) var(--radius) 0;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
color: var(--text-muted);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.detail-log-empty {
|
|
font-size: 13px;
|
|
color: var(--text-dim);
|
|
padding: 12px 0;
|
|
}
|
|
|
|
/* === Toasts === */
|
|
.toast-container {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
z-index: 200;
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
gap: 8px;
|
|
}
|
|
|
|
.toast {
|
|
padding: 10px 16px;
|
|
border-radius: var(--radius);
|
|
font-size: 13px;
|
|
color: #fff;
|
|
animation: toast-in 0.25s ease-out;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.toast-success { background: #238636; }
|
|
.toast-error { background: #da3633; }
|
|
.toast-info { background: #1f6feb; }
|
|
|
|
@keyframes toast-in {
|
|
from { opacity: 0; transform: translateY(12px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* === Worktree Groups === */
|
|
.worktree-group {
|
|
background: var(--surface);
|
|
border-left: 3px solid var(--in-progress);
|
|
border-radius: var(--radius);
|
|
padding: 8px;
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.worktree-group-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.worktree-icon {
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.worktree-label {
|
|
font-family: "SF Mono", Monaco, Consolas, monospace;
|
|
}
|
|
|
|
/* Queued preview cards */
|
|
.card.queued {
|
|
opacity: 0.55;
|
|
border-style: dashed;
|
|
cursor: default;
|
|
}
|
|
.card.queued:hover {
|
|
cursor: default;
|
|
}
|
|
.card.queued:active {
|
|
cursor: default;
|
|
}
|
|
|
|
.queued-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
font-size: 11px;
|
|
color: var(--todo);
|
|
}
|
|
|
|
/* === Inline Create Card === */
|
|
.inline-create-card {
|
|
background: var(--card);
|
|
border: 1px solid var(--todo);
|
|
border-left: 3px solid var(--todo);
|
|
border-radius: var(--radius);
|
|
padding: 10px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.inline-create-input {
|
|
width: 100%;
|
|
padding: 6px 8px;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
resize: none;
|
|
overflow: hidden;
|
|
line-height: 1.4;
|
|
}
|
|
.inline-create-input::placeholder {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.inline-create-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.inline-create-hint {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.inline-create-previews {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.inline-create-preview {
|
|
position: relative;
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 1px solid var(--border, #333);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
background: var(--bg-secondary, #1a1a2e);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.inline-create-preview img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.inline-create-preview-remove {
|
|
position: absolute;
|
|
top: 1px;
|
|
right: 1px;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 50%;
|
|
width: 18px;
|
|
height: 18px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
text-align: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.inline-create-preview-remove:hover {
|
|
background: rgba(200, 0, 0, 0.8);
|
|
}
|
|
|
|
.dep-trigger-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.dep-trigger {
|
|
font-size: 12px;
|
|
padding: 3px 8px;
|
|
}
|
|
|
|
.dep-dropdown {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
margin-top: 4px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
min-width: 220px;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
z-index: 50;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.dep-dropdown-empty {
|
|
padding: 10px 12px;
|
|
font-size: 12px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.dep-dropdown-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 12px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition: background 0.1s;
|
|
}
|
|
.dep-dropdown-item:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
.dep-dropdown-item.selected {
|
|
background: rgba(88,166,255,0.15);
|
|
}
|
|
|
|
.dep-dropdown-id {
|
|
font-family: "SF Mono", Monaco, Consolas, monospace;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dep-dropdown-title {
|
|
color: var(--text);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* === Empty state === */
|
|
.empty-column {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 80px;
|
|
font-size: 12px;
|
|
color: var(--text-dim);
|
|
border: 1px dashed var(--border);
|
|
border-radius: var(--radius);
|
|
margin: 4px;
|
|
}
|
|
|
|
/* Auto-merge toggle */
|
|
.auto-merge-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.auto-merge-toggle input {
|
|
display: none;
|
|
}
|
|
|
|
.toggle-slider {
|
|
position: relative;
|
|
width: 28px;
|
|
height: 16px;
|
|
background: var(--border);
|
|
border-radius: 8px;
|
|
transition: background 0.2s;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.toggle-slider::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
width: 12px;
|
|
height: 12px;
|
|
background: var(--card);
|
|
border-radius: 50%;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.auto-merge-toggle input:checked + .toggle-slider {
|
|
background: var(--in-review);
|
|
}
|
|
|
|
.auto-merge-toggle input:checked + .toggle-slider::after {
|
|
transform: translateX(12px);
|
|
}
|
|
|
|
.toggle-label {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
}
|