- Add disclosure state with expanded/collapsed toggle button - Implement disclosure pattern CSS styles for visual feedback - Update QuickEntryBox to support expandable/collapsible interface - Fix CSS variable reference: use --card-hover instead of non-existent --background-hover - Set default disclosure state to expanded (true) for backward compatibility - Add comprehensive tests for disclosure state, toggle behavior, and interactions
12066 lines
217 KiB
CSS
12066 lines
217 KiB
CSS
/* === Reset & Tokens === */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* === Utility Classes === */
|
|
.visually-hidden {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
/* === Design Tokens (Theme-Agnostic Defaults) === */
|
|
:root {
|
|
/* Typography */
|
|
--font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
|
|
--font-mono: "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
|
|
/* Spacing Scale */
|
|
--space-xs: 4px;
|
|
--space-sm: 8px;
|
|
--space-md: 12px;
|
|
--space-lg: 16px;
|
|
--space-xl: 24px;
|
|
--space-2xl: 32px;
|
|
|
|
/* Border Radius Scale */
|
|
--radius-sm: 4px;
|
|
--radius-md: 8px;
|
|
--radius-lg: 12px;
|
|
--radius-xl: 16px;
|
|
|
|
/* Component-specific tokens */
|
|
--btn-padding: 8px 16px;
|
|
--btn-border-width: 1px;
|
|
--card-padding: 10px 12px;
|
|
--modal-padding: 16px 20px;
|
|
--header-padding: 12px 24px;
|
|
--column-gap: 12px;
|
|
--board-padding: 16px 24px;
|
|
|
|
/* Shadow tokens */
|
|
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
--shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.4);
|
|
--shadow-glow: 0 0 8px rgba(88, 166, 255, 0.3);
|
|
--glow-success: 0 0 8px rgba(46, 160, 67, 0.3);
|
|
--glow-warning: 0 0 8px rgba(227, 179, 65, 0.3);
|
|
--glow-danger: 0 0 8px rgba(248, 81, 73, 0.3);
|
|
--focus-ring: 0 0 0 2px rgba(88, 166, 255, 0.15);
|
|
--focus-ring-strong: 0 0 0 2px rgba(88, 166, 255, 0.3);
|
|
|
|
/* Animation tokens */
|
|
--transition-instant: 0.1s ease;
|
|
--transition-fast: 0.15s ease;
|
|
--transition-normal: 0.2s ease;
|
|
--transition-slow: 0.3s ease;
|
|
|
|
/* Backward-compatible aliases */
|
|
--radius: var(--radius-md);
|
|
--shadow: var(--shadow-lg);
|
|
}
|
|
|
|
:root {
|
|
--bg: #0d1117;
|
|
--surface: #161b22;
|
|
--card: #21262d;
|
|
--card-hover: #282e36;
|
|
--bg-secondary: #1a1a2e;
|
|
--bg-tertiary: #252536;
|
|
--border: #30363d;
|
|
--text: #e6edf3;
|
|
--text-muted: #8b949e;
|
|
--text-dim: #484f58;
|
|
|
|
--triage: #d29922;
|
|
--todo: #58a6ff;
|
|
--in-progress: #bc8cff;
|
|
--in-progress-rgb: 188, 140, 255;
|
|
--in-review: #3fb950;
|
|
--done: #8b949e;
|
|
|
|
--color-success: #3fb950;
|
|
--color-error: #f85149;
|
|
--color-muted: #8b949e;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
font-family: var(--font-primary);
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* === Header === */
|
|
.header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--header-padding);
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
}
|
|
.header-logo {
|
|
width: 24px;
|
|
height: 24px;
|
|
flex-shrink: 0;
|
|
}
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
position: relative;
|
|
}
|
|
|
|
.btn-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 28px;
|
|
width: 28px;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
border-radius: var(--radius-md);
|
|
transition:
|
|
color var(--transition-fast),
|
|
background var(--transition-fast);
|
|
}
|
|
.btn-icon:hover {
|
|
color: var(--text);
|
|
background: var(--border);
|
|
}
|
|
.btn-icon--terminal {
|
|
position: relative;
|
|
}
|
|
|
|
.btn-icon--terminal:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn-icon--terminal:disabled:hover {
|
|
color: var(--text-muted);
|
|
background: none;
|
|
}
|
|
|
|
.btn-icon--active {
|
|
color: var(--text);
|
|
background: var(--border);
|
|
border-color: var(--todo);
|
|
}
|
|
|
|
.btn-badge {
|
|
position: absolute;
|
|
top: -2px;
|
|
right: -2px;
|
|
min-width: 16px;
|
|
height: 16px;
|
|
padding: 0 4px;
|
|
background: var(--in-progress);
|
|
color: var(--bg);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.btn-icon--paused {
|
|
color: var(--triage);
|
|
}
|
|
.btn-icon--paused:hover {
|
|
color: var(--triage);
|
|
}
|
|
.btn-icon--stopped {
|
|
color: var(--color-error);
|
|
}
|
|
.btn-icon--stopped:hover {
|
|
color: var(--color-error);
|
|
}
|
|
|
|
/* View Toggle */
|
|
.view-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
height: 28px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 2px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.view-toggle-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 24px;
|
|
background: none;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.view-toggle-btn:hover {
|
|
color: var(--text);
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.view-toggle-btn.active {
|
|
background: var(--todo);
|
|
color: var(--bg);
|
|
}
|
|
|
|
.view-toggle-btn.active:hover {
|
|
background: var(--todo);
|
|
color: var(--bg);
|
|
}
|
|
|
|
/* Header Search */
|
|
.header-search {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: 1;
|
|
min-width: 160px;
|
|
max-width: 280px;
|
|
height: 28px;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 0 8px;
|
|
box-sizing: border-box;
|
|
transition: border-color var(--transition-fast);
|
|
}
|
|
|
|
.header-search:focus-within {
|
|
border-color: var(--todo);
|
|
}
|
|
|
|
.header-search-icon {
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.header-search-input {
|
|
flex: 1;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
min-width: 0;
|
|
}
|
|
|
|
.header-search-input::placeholder {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.header-search-clear {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
padding: 2px;
|
|
border-radius: 4px;
|
|
flex-shrink: 0;
|
|
transition: color var(--transition-fast), background var(--transition-fast);
|
|
}
|
|
|
|
.header-search-clear: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: var(--btn-padding);
|
|
border-style: solid;
|
|
border-width: var(--btn-border-width);
|
|
border-color: var(--border);
|
|
border-radius: var(--radius-md);
|
|
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: var(--shadow-glow);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: #da3633;
|
|
border-color: #f85149;
|
|
color: #fff;
|
|
}
|
|
.btn-danger:hover {
|
|
background: #f85149;
|
|
box-shadow: var(--glow-danger);
|
|
}
|
|
|
|
.btn-warning {
|
|
background: #d29922;
|
|
border-color: #e3b341;
|
|
color: #fff;
|
|
}
|
|
.btn-warning:hover {
|
|
background: #e3b341;
|
|
box-shadow: var(--glow-warning);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 4px 10px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* === Board === */
|
|
.board {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, minmax(260px, 1fr));
|
|
gap: var(--column-gap);
|
|
padding: var(--board-padding);
|
|
height: calc(100vh - 57px);
|
|
height: calc(100dvh - 57px);
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
scroll-snap-type: x proximity;
|
|
scroll-padding-inline: 50%;
|
|
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: 0;
|
|
min-height: 0;
|
|
transition: border-color var(--transition-normal);
|
|
scroll-snap-align: center;
|
|
}
|
|
|
|
.column.drag-over {
|
|
border-color: var(--todo);
|
|
box-shadow: inset 0 0 0 1px var(--todo);
|
|
}
|
|
|
|
.column-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
padding: calc(var(--space-lg) - 2px) calc(var(--space-lg) - 2px) 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);
|
|
}
|
|
.dot-archived {
|
|
background: var(--text-muted);
|
|
}
|
|
|
|
.column-header h2 {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
flex: 1;
|
|
}
|
|
|
|
.column-count {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
background: var(--card);
|
|
padding: calc(var(--space-xs) / 2) var(--space-sm);
|
|
border-radius: var(--radius-xl);
|
|
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: var(--space-xs) calc(var(--space-lg) - 2px) calc(var(--space-md) - 2px);
|
|
}
|
|
|
|
.column-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: var(--space-xs) var(--space-sm) var(--space-sm);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: calc(var(--space-sm) - 2px);
|
|
}
|
|
|
|
.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-md);
|
|
padding: var(--card-padding);
|
|
cursor: grab;
|
|
transition:
|
|
background var(--transition-fast),
|
|
border-color var(--transition-fast),
|
|
transform var(--transition-fast),
|
|
opacity var(--transition-normal);
|
|
user-select: none;
|
|
touch-action: pan-y;
|
|
}
|
|
.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(var(--in-progress-rgb), 0.4),
|
|
0 0 20px rgba(var(--in-progress-rgb), 0.15);
|
|
animation: agent-glow 2.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes agent-glow {
|
|
0%,
|
|
100% {
|
|
box-shadow:
|
|
0 0 8px rgba(var(--in-progress-rgb), 0.4),
|
|
0 0 20px rgba(var(--in-progress-rgb), 0.15);
|
|
}
|
|
50% {
|
|
box-shadow:
|
|
0 0 12px rgba(var(--in-progress-rgb), 0.6),
|
|
0 0 28px rgba(var(--in-progress-rgb), 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: var(--font-mono);
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
/* Size badge: positioned in card header, subtle color coding for effort estimation */
|
|
.card-size-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;
|
|
}
|
|
|
|
/* Size S: subtle green tint (low effort) */
|
|
.card-size-badge.size-s {
|
|
background: rgba(63, 185, 80, 0.15);
|
|
color: var(--color-success);
|
|
}
|
|
|
|
/* Size M: neutral tint (medium effort) */
|
|
.card-size-badge.size-m {
|
|
background: rgba(139, 148, 158, 0.15);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Size L: subtle amber tint (higher effort) */
|
|
.card-size-badge.size-l {
|
|
background: rgba(210, 153, 34, 0.15);
|
|
color: var(--triage);
|
|
}
|
|
|
|
.card.failed {
|
|
border-left: 3px solid #da3633;
|
|
}
|
|
|
|
/* Error display on failed task cards */
|
|
.card-error {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
margin: 6px 0;
|
|
padding: 6px 8px;
|
|
background: rgba(218, 54, 51, 0.1);
|
|
border: 1px solid rgba(218, 54, 51, 0.3);
|
|
border-radius: var(--radius);
|
|
font-size: 11px;
|
|
color: #da3633;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.card-error-icon {
|
|
flex-shrink: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.card-error-text {
|
|
word-break: break-word;
|
|
}
|
|
|
|
/* Error display on failed task cards */
|
|
.card-error {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
margin: 6px 0;
|
|
padding: 6px 8px;
|
|
background: rgba(218, 54, 51, 0.1);
|
|
border: 1px solid rgba(218, 54, 51, 0.3);
|
|
border-radius: var(--radius);
|
|
font-size: 11px;
|
|
color: #da3633;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.card-error-icon {
|
|
flex-shrink: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.card-error-text {
|
|
word-break: break-word;
|
|
}
|
|
|
|
.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.clickable {
|
|
cursor: pointer;
|
|
transition: color var(--transition-fast), text-decoration var(--transition-fast);
|
|
}
|
|
|
|
.card-dep-badge.clickable:hover {
|
|
color: var(--todo);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.card-dep-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.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: var(--shadow-md);
|
|
}
|
|
|
|
.card-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.card-session-files {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.card-session-files:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.card-session-files:disabled {
|
|
cursor: default;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.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: var(--font-mono);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Steps toggle and list */
|
|
.card-steps-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-top: 6px;
|
|
padding: 0;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.card-steps-toggle:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.card-steps-toggle:focus {
|
|
outline: 1px solid var(--todo);
|
|
outline-offset: 1px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.card-steps-toggle-icon {
|
|
transition: transform var(--transition-normal);
|
|
}
|
|
|
|
.card-steps-toggle-icon.expanded {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.card-steps-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
margin-top: 8px;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.card-step-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.card-step-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.card-step-dot--pending {
|
|
background: var(--border, #30363d);
|
|
}
|
|
|
|
.card-step-dot--in-progress {
|
|
background: var(--todo, #58a6ff);
|
|
}
|
|
|
|
.card-step-dot--done {
|
|
background: var(--color-success, #3fb950);
|
|
}
|
|
|
|
.card-step-dot--skipped {
|
|
background: var(--text-dim, #484f58);
|
|
}
|
|
|
|
.card-step-name {
|
|
color: var(--text-muted);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.card-step-name.completed {
|
|
text-decoration: line-through;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
/* === ProjectCard Component === */
|
|
.project-card {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-lg);
|
|
cursor: pointer;
|
|
transition:
|
|
transform var(--transition-fast),
|
|
box-shadow var(--transition-fast),
|
|
border-color var(--transition-fast);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
min-width: 280px;
|
|
}
|
|
|
|
.project-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-md);
|
|
border-color: var(--text-dim);
|
|
}
|
|
|
|
.project-card:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.project-card-loading {
|
|
opacity: 0.7;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.project-card-errored {
|
|
border-color: var(--color-error);
|
|
box-shadow: 0 0 0 1px var(--color-error);
|
|
}
|
|
|
|
.project-card-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.project-card-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
background: var(--surface);
|
|
border-radius: var(--radius-md);
|
|
color: var(--todo);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.project-card-title-section {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.project-card-name {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
margin: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.project-card-path {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.project-card-status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 8px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
border: 1px solid currentColor;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.project-card-health {
|
|
display: flex;
|
|
gap: var(--space-lg);
|
|
padding: var(--space-md) 0;
|
|
border-top: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.project-card-metric {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.project-card-metric-value {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.project-card-metric-label {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.project-card-metric-empty {
|
|
flex: 1;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.project-card-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.project-card-activity {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.project-card-activity-label {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.project-card-activity-time {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.project-card-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.project-card-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 6px 10px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition:
|
|
background-color var(--transition-fast),
|
|
border-color var(--transition-fast),
|
|
color var(--transition-fast);
|
|
}
|
|
|
|
.project-card-action:hover:not(:disabled) {
|
|
background: var(--card-hover);
|
|
border-color: var(--text-dim);
|
|
color: var(--text);
|
|
}
|
|
|
|
.project-card-action:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.project-card-action-resume {
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.project-card-action-resume:hover:not(:disabled) {
|
|
background: rgba(63, 185, 80, 0.1);
|
|
border-color: var(--color-success);
|
|
}
|
|
|
|
.project-card-action-pause {
|
|
color: var(--warning, #e3b341);
|
|
}
|
|
|
|
.project-card-action-pause:hover:not(:disabled) {
|
|
background: rgba(227, 179, 65, 0.1);
|
|
border-color: var(--warning, #e3b341);
|
|
}
|
|
|
|
.project-card-action-open {
|
|
color: var(--todo);
|
|
}
|
|
|
|
.project-card-action-open:hover:not(:disabled) {
|
|
background: rgba(88, 166, 255, 0.1);
|
|
border-color: var(--todo);
|
|
}
|
|
|
|
.project-card-action-remove {
|
|
padding: 6px;
|
|
color: var(--color-error);
|
|
}
|
|
|
|
.project-card-action-remove:hover:not(:disabled) {
|
|
background: rgba(248, 81, 73, 0.1);
|
|
border-color: var(--color-error);
|
|
}
|
|
|
|
/* Animation for initializing spinner */
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.animate-spin {
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
/* === ActivityFeed Component === */
|
|
.activity-feed {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-lg);
|
|
max-height: 600px;
|
|
overflow-y: auto;
|
|
padding: var(--space-md);
|
|
}
|
|
|
|
.activity-feed-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.activity-feed-group-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--space-sm) 0;
|
|
border-bottom: 1px solid var(--border);
|
|
margin-bottom: var(--space-sm);
|
|
position: sticky;
|
|
top: 0;
|
|
background: var(--surface);
|
|
z-index: 1;
|
|
}
|
|
|
|
.activity-feed-group-date {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.activity-feed-group-count {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
background: var(--card);
|
|
padding: 2px 8px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.activity-feed-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.activity-feed-item {
|
|
display: flex;
|
|
gap: var(--space-md);
|
|
padding: var(--space-md);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
transition: background-color var(--transition-fast);
|
|
}
|
|
|
|
.activity-feed-item:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.activity-feed-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
background: var(--surface);
|
|
border-radius: var(--radius-md);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.activity-feed-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.activity-feed-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.activity-feed-type {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.activity-feed-project-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 11px;
|
|
color: var(--todo);
|
|
background: rgba(88, 166, 255, 0.1);
|
|
padding: 2px 8px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.activity-feed-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.activity-feed-task-id {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.activity-feed-task-title {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.activity-feed-description {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.activity-feed-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.activity-feed-time {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
/* Activity Feed States */
|
|
.activity-feed-loading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 200px;
|
|
}
|
|
|
|
.activity-feed-skeleton {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
width: 100%;
|
|
}
|
|
|
|
.activity-feed-skeleton-item {
|
|
display: flex;
|
|
gap: var(--space-md);
|
|
padding: var(--space-md);
|
|
}
|
|
|
|
.activity-feed-skeleton-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
background: var(--border);
|
|
border-radius: var(--radius-md);
|
|
flex-shrink: 0;
|
|
animation: pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
.activity-feed-skeleton-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.activity-feed-skeleton-line {
|
|
height: 12px;
|
|
background: var(--border);
|
|
border-radius: var(--radius-sm);
|
|
animation: pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
.activity-feed-skeleton-line.short {
|
|
width: 60%;
|
|
}
|
|
|
|
.activity-feed-error {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 200px;
|
|
padding: var(--space-xl);
|
|
}
|
|
|
|
.activity-feed-error-message {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
color: var(--error);
|
|
text-align: center;
|
|
}
|
|
|
|
.activity-feed-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 300px;
|
|
padding: var(--space-xl);
|
|
}
|
|
|
|
.activity-feed-empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.activity-feed-empty-state p {
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
margin: 0;
|
|
}
|
|
|
|
.activity-feed-empty-hint {
|
|
font-size: 13px;
|
|
color: var(--text-dim);
|
|
max-width: 300px;
|
|
}
|
|
|
|
/* === SetupWizard Component === */
|
|
.wizard-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--space-lg) var(--space-xl);
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--bg);
|
|
}
|
|
|
|
.wizard-progress-step {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
opacity: 0.5;
|
|
transition: opacity var(--transition-fast);
|
|
}
|
|
|
|
.wizard-progress-step.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.wizard-progress-step.current .wizard-progress-number {
|
|
background: var(--todo);
|
|
color: var(--bg);
|
|
}
|
|
|
|
.wizard-progress-number {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
background: var(--border);
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
transition:
|
|
background-color var(--transition-fast),
|
|
color var(--transition-fast);
|
|
}
|
|
|
|
.wizard-progress-label {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
}
|
|
|
|
.wizard-content {
|
|
padding: var(--space-xl);
|
|
min-height: 280px;
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.wizard-step {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-lg);
|
|
animation: fadeIn var(--transition-normal);
|
|
}
|
|
|
|
.wizard-step h4 {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
margin: 0;
|
|
}
|
|
|
|
.wizard-description {
|
|
font-size: 14px;
|
|
color: var(--text-muted);
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
}
|
|
|
|
.wizard-input-group {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.wizard-input-icon {
|
|
position: absolute;
|
|
left: 12px;
|
|
color: var(--text-muted);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.wizard-input-group input {
|
|
padding-left: 40px !important;
|
|
}
|
|
|
|
.wizard-hint {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-md);
|
|
background: var(--surface);
|
|
border-radius: var(--radius-md);
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.wizard-hint svg {
|
|
flex-shrink: 0;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.wizard-hint code {
|
|
background: var(--card);
|
|
padding: 2px 6px;
|
|
border-radius: var(--radius-sm);
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.wizard-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.wizard-option {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--space-md);
|
|
padding: var(--space-lg);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
cursor: pointer;
|
|
transition:
|
|
background-color var(--transition-fast),
|
|
border-color var(--transition-fast);
|
|
}
|
|
|
|
.wizard-option:hover {
|
|
background: var(--card-hover);
|
|
border-color: var(--text-dim);
|
|
}
|
|
|
|
.wizard-option.selected {
|
|
background: rgba(88, 166, 255, 0.05);
|
|
border-color: var(--todo);
|
|
box-shadow: 0 0 0 1px var(--todo);
|
|
}
|
|
|
|
.wizard-option input[type="radio"] {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.wizard-option-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
flex: 1;
|
|
}
|
|
|
|
.wizard-option-content strong {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
}
|
|
|
|
.wizard-option-content span {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.wizard-option-recommended {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
width: fit-content;
|
|
padding: 2px 8px;
|
|
background: rgba(63, 185, 80, 0.1);
|
|
color: var(--color-success) !important;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 11px !important;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.wizard-option-note {
|
|
font-size: 11px !important;
|
|
color: var(--text-dim) !important;
|
|
font-style: italic;
|
|
}
|
|
|
|
.wizard-loading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-lg);
|
|
padding: var(--space-2xl);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.wizard-error {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-md);
|
|
background: rgba(248, 81, 73, 0.1);
|
|
border: 1px solid var(--error);
|
|
border-radius: var(--radius-md);
|
|
color: var(--error);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.wizard-validation-success {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-md);
|
|
padding: var(--space-2xl);
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.wizard-summary {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
padding: var(--space-lg);
|
|
background: var(--surface);
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
|
|
.wizard-summary-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.wizard-summary-label {
|
|
width: 120px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wizard-summary-value {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
color: var(--text);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(8px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(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-lg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.modal-lg {
|
|
width: 640px;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: var(--modal-padding);
|
|
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: var(--modal-padding);
|
|
border-top: 1px solid var(--border);
|
|
background: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.modal-actions-left {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.modal-actions-right {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.import-preview-list {
|
|
margin: 8px 0;
|
|
padding-left: 20px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.import-preview-list li {
|
|
margin: 4px 0;
|
|
}
|
|
|
|
/* === Forms === */
|
|
.form-group {
|
|
padding: 0 var(--space-xl);
|
|
margin-top: var(--space-lg);
|
|
}
|
|
.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-md);
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
transition:
|
|
border-color var(--transition-fast),
|
|
box-shadow var(--transition-fast);
|
|
}
|
|
.form-group input:not([type="checkbox"]):focus,
|
|
.form-group textarea:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
.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: var(--focus-ring-strong);
|
|
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: var(--focus-ring);
|
|
}
|
|
.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;
|
|
}
|
|
|
|
/* Scope indicators in sidebar nav items */
|
|
.settings-scope-icon {
|
|
margin-right: 6px;
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* Scope banner above section content */
|
|
.settings-scope-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 20px;
|
|
margin: 0 0 4px 0;
|
|
font-size: 12px;
|
|
border-radius: var(--radius);
|
|
color: var(--text-muted);
|
|
}
|
|
.settings-scope-global {
|
|
background: rgba(59, 130, 246, 0.08);
|
|
border-left: 3px solid rgba(59, 130, 246, 0.4);
|
|
}
|
|
.settings-scope-project {
|
|
background: rgba(34, 197, 94, 0.08);
|
|
border-left: 3px solid rgba(34, 197, 94, 0.4);
|
|
}
|
|
|
|
/* === 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: var(--font-mono);
|
|
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;
|
|
}
|
|
|
|
/* Error alert in task detail modal */
|
|
.detail-error-alert {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
margin: 12px 0 16px;
|
|
padding: 12px 14px;
|
|
background: rgba(218, 54, 51, 0.1);
|
|
border: 1px solid rgba(218, 54, 51, 0.3);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.detail-error-icon {
|
|
flex-shrink: 0;
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.detail-error-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.detail-error-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #da3633;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.detail-error-message {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
line-height: 1.5;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.detail-section {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
/* Summary section - styled for done tasks with success accent */
|
|
.detail-summary {
|
|
background: rgba(63, 185, 80, 0.08);
|
|
border: 1px solid rgba(63, 185, 80, 0.25);
|
|
border-radius: var(--radius-md);
|
|
padding: 16px;
|
|
}
|
|
|
|
.detail-summary h4 {
|
|
color: var(--color-success, #3fb950);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.detail-summary .markdown-body {
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.detail-summary .markdown-body p:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.detail-summary .markdown-body p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Spec tab layout - allows SpecEditor to fill available vertical space */
|
|
.detail-section--spec {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 0;
|
|
margin-top: 0;
|
|
}
|
|
|
|
/* Mobile responsive for spec tab */
|
|
@media (max-width: 768px) {
|
|
.detail-section--spec {
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
}
|
|
|
|
.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: var(--font-mono);
|
|
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: var(--font-mono);
|
|
}
|
|
|
|
.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-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.detail-dep-link {
|
|
color: var(--todo);
|
|
font-family: var(--font-mono);
|
|
cursor: pointer;
|
|
transition: text-decoration var(--transition-fast);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.detail-dep-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.detail-dep-link:focus {
|
|
outline: 1px solid var(--todo);
|
|
outline-offset: 2px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* === Step Progress === */
|
|
.detail-step-progress {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.detail-step-progress h4 {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.step-progress-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.step-progress-bar {
|
|
flex: 1;
|
|
display: flex;
|
|
gap: 2px;
|
|
height: 8px;
|
|
}
|
|
|
|
.step-progress-segment {
|
|
flex: 1;
|
|
height: 100%;
|
|
border-radius: 2px;
|
|
transition: filter 0.15s ease, transform 0.15s ease;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.step-progress-segment:hover {
|
|
filter: brightness(1.2);
|
|
transform: scaleY(1.1);
|
|
}
|
|
|
|
.step-progress-segment[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);
|
|
}
|
|
|
|
.step-progress-label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
font-family: var(--font-mono);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step-progress-empty {
|
|
font-size: 13px;
|
|
color: var(--text-dim);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* === 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: var(--font-mono);
|
|
}
|
|
|
|
.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: var(--font-mono);
|
|
}
|
|
|
|
/* 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);
|
|
}
|
|
|
|
/* === Card Inline Editing === */
|
|
|
|
/* Card in edit mode - highlighted border matching column theme */
|
|
.card.card-editing {
|
|
border: 1px solid var(--todo);
|
|
border-left: 3px solid var(--todo);
|
|
background: var(--card);
|
|
cursor: default;
|
|
}
|
|
|
|
.card.card-editing[data-column="triage"] {
|
|
border-color: var(--triage);
|
|
border-left-color: var(--triage);
|
|
}
|
|
|
|
.card.card-editing[data-column="todo"] {
|
|
border-color: var(--todo);
|
|
border-left-color: var(--todo);
|
|
}
|
|
|
|
/* Edit content container */
|
|
.card-editing-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Title input in edit mode */
|
|
.card-edit-title-input {
|
|
width: 100%;
|
|
padding: 6px 8px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
font-family: inherit;
|
|
outline: none;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
|
|
.card-edit-title-input:focus {
|
|
border-color: var(--todo);
|
|
border-bottom-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.card-edit-title-input::placeholder {
|
|
color: var(--text-dim);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.card-edit-title-input:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Description textarea in edit mode - follows InlineCreateCard patterns */
|
|
.card-edit-desc-textarea {
|
|
width: 100%;
|
|
padding: 6px 8px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
resize: none;
|
|
overflow: hidden;
|
|
line-height: 1.4;
|
|
min-height: 38px;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
|
|
.card-edit-desc-textarea:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.card-edit-desc-textarea::placeholder {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.card-edit-desc-textarea:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Card header actions container - groups size badge and buttons on the right */
|
|
.card-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Edit button - visible on hover */
|
|
.card-edit-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
transition: opacity 0.15s, background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.card:hover .card-edit-btn {
|
|
opacity: 1;
|
|
}
|
|
|
|
.card-edit-btn:hover {
|
|
background: var(--border);
|
|
color: var(--text);
|
|
}
|
|
|
|
.card-edit-btn:focus {
|
|
opacity: 1;
|
|
outline: 1px solid var(--todo);
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
/* Expand button - visible on hover */
|
|
.card-expand-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
transition: opacity 0.15s, background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.card:hover .card-expand-btn {
|
|
opacity: 1;
|
|
}
|
|
|
|
.card-expand-btn:hover {
|
|
background: var(--border);
|
|
color: var(--text);
|
|
}
|
|
|
|
.card-expand-btn:focus {
|
|
opacity: 1;
|
|
outline: 1px solid var(--todo);
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
/* Archive/Unarchive buttons */
|
|
.card-archive-btn,
|
|
.card-unarchive-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2px 8px;
|
|
margin-left: 8px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
transition: opacity 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
|
|
}
|
|
|
|
.card:hover .card-archive-btn,
|
|
.card:hover .card-unarchive-btn {
|
|
opacity: 1;
|
|
}
|
|
|
|
.card-archive-btn:hover,
|
|
.card-unarchive-btn:hover {
|
|
background: var(--card-hover);
|
|
color: var(--text);
|
|
border-color: var(--border-hover);
|
|
}
|
|
|
|
.card-archive-btn:focus,
|
|
.card-unarchive-btn:focus {
|
|
opacity: 1;
|
|
outline: 1px solid var(--todo);
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
/* Loading state during save */
|
|
.card-edit-loading {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 4px;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.card-edit-loading-spinner {
|
|
width: 12px;
|
|
height: 12px;
|
|
border: 2px solid var(--border);
|
|
border-top-color: var(--todo);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
.card-edit-loading-text {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* === Modal Edit Mode Styles === */
|
|
|
|
.modal-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.modal-edit-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.modal-edit-btn:hover {
|
|
background: var(--border);
|
|
color: var(--text);
|
|
}
|
|
|
|
.modal-edit-btn:focus {
|
|
outline: 1px solid var(--todo);
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
.modal-edit-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.modal-edit-input {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
font-family: inherit;
|
|
outline: none;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
|
|
.modal-edit-input:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
|
|
.modal-edit-input::placeholder {
|
|
color: var(--text-dim);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.modal-edit-input:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.modal-edit-textarea {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
resize: vertical;
|
|
min-height: 80px;
|
|
line-height: 1.5;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
|
|
.modal-edit-textarea:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
|
|
.modal-edit-textarea::placeholder {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.modal-edit-textarea:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.modal-edit-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.modal-edit-hint {
|
|
font-size: 12px;
|
|
color: var(--text-dim);
|
|
text-align: center;
|
|
}
|
|
|
|
.modal-edit-hint kbd {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
padding: 2px 6px;
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Card saving state */
|
|
.card.card-saving {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* === 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 Card main row with toggle */
|
|
.inline-create-main-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
}
|
|
|
|
.inline-create-main-row .inline-create-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.inline-create-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 6px;
|
|
height: 32px;
|
|
width: 32px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Collapsed state - minimal appearance */
|
|
.inline-create-card--collapsed {
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.inline-create-card--collapsed .inline-create-input {
|
|
min-height: 32px;
|
|
}
|
|
|
|
.inline-create-footer {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.inline-create-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: 1 1 auto;
|
|
flex-wrap: wrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.inline-create-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.inline-create-hint {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.inline-create-previews {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
max-height: 120px;
|
|
overflow-y: auto;
|
|
padding: 2px;
|
|
}
|
|
|
|
.inline-create-preview {
|
|
position: relative;
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
background: var(--card);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.inline-create-preview img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.inline-create-preview-remove {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 2px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 50%;
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
padding: 0;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.inline-create-preview-remove:hover {
|
|
background: rgba(248, 81, 73, 0.9);
|
|
}
|
|
|
|
.dep-trigger-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.inline-create-model-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.dep-trigger,
|
|
.inline-create-model-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: 240px;
|
|
max-width: 320px;
|
|
max-height: 240px;
|
|
overflow-y: auto;
|
|
z-index: 200;
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.dep-dropdown-search {
|
|
position: sticky;
|
|
top: 0;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 6px 12px;
|
|
font-size: 12px;
|
|
font-family: inherit;
|
|
background: var(--surface);
|
|
border: none;
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--text);
|
|
outline: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.dep-dropdown-search::placeholder {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.dep-dropdown-search:focus {
|
|
border-bottom-color: var(--accent, #58a6ff);
|
|
}
|
|
|
|
.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: var(--font-mono);
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dep-dropdown-title {
|
|
color: var(--text);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* === AI Refine Menu === */
|
|
.refine-trigger-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.refine-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
margin-top: 4px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
min-width: 200px;
|
|
max-width: 280px;
|
|
z-index: 100;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.refine-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.refine-button--loading {
|
|
opacity: 0.7;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.refine-menu-item {
|
|
padding: 10px 14px;
|
|
cursor: pointer;
|
|
transition: background 0.1s ease;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.refine-menu-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.refine-menu-item:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.refine-menu-item-title {
|
|
font-weight: 500;
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.refine-menu-item-desc {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* NewTaskModal description with refine button */
|
|
.description-with-refine {
|
|
position: relative;
|
|
}
|
|
|
|
.description-with-refine .refine-button {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
}
|
|
|
|
.description-with-refine textarea {
|
|
padding-right: 70px; /* Make room for the refine button */
|
|
}
|
|
|
|
.refine-menu--modal {
|
|
right: 0;
|
|
left: auto;
|
|
top: calc(100% + 4px);
|
|
}
|
|
|
|
.inline-create-model-dropdown {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
margin-top: 4px;
|
|
width: min(320px, calc(100vw - 32px));
|
|
max-width: calc(100vw - 32px);
|
|
padding: 12px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
z-index: 500;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.inline-create-model-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.inline-create-model-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.inline-create-model-select {
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: 7px 10px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text);
|
|
font-size: 12px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
}
|
|
|
|
.inline-create-model-select:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
|
|
.inline-create-model-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.inline-create-model-row .model-badge {
|
|
width: fit-content;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.inline-create-actions {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.inline-create-hint {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.inline-create-model-dropdown {
|
|
left: 0;
|
|
right: auto;
|
|
width: min(360px, calc(100vw - 48px));
|
|
max-width: calc(100vw - 48px);
|
|
}
|
|
}
|
|
|
|
/* === 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: var(--radius-md);
|
|
transition: background var(--transition-normal);
|
|
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 var(--transition-normal);
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
/* === Detail Tabs === */
|
|
.detail-tabs {
|
|
display: flex;
|
|
gap: 0;
|
|
border-bottom: 1px solid var(--border);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.detail-tab {
|
|
padding: 8px 16px;
|
|
background: none;
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
font-family: inherit;
|
|
transition:
|
|
color var(--transition-fast),
|
|
border-color var(--transition-fast);
|
|
}
|
|
|
|
.detail-tab-active {
|
|
border-bottom-color: var(--in-progress);
|
|
color: var(--text);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* === Mobile Responsive Overrides ===
|
|
On narrow viewports (≤768px) the board switches from a 5-column grid to a
|
|
horizontally-scrollable flex layout so only one scrollbar appears. Each
|
|
column gets a fixed min-width and snap-scrolling for a polished swipe feel.
|
|
The modal also goes full-screen with reduced spacing. */
|
|
@media (max-width: 768px) {
|
|
/* Mobile task-entry font sizing: prevent Safari zoom-on-focus by ensuring
|
|
task entry inputs are at least 16px on mobile viewports */
|
|
.quick-entry-input,
|
|
#new-task-description,
|
|
.inline-create-input,
|
|
.card-edit-title-input,
|
|
.card-edit-desc-textarea {
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Prevent ancestor elements from producing a second horizontal scrollbar */
|
|
html,
|
|
body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
#root {
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Board: flex layout with single horizontal scroll + snap */
|
|
.board {
|
|
display: flex;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
-webkit-overflow-scrolling: touch;
|
|
scroll-snap-type: x mandatory;
|
|
scroll-padding-inline: calc(50% - 140px);
|
|
padding: 12px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.board > .column {
|
|
width: 280px;
|
|
flex-shrink: 0;
|
|
scroll-snap-align: center;
|
|
}
|
|
|
|
/* Reduce header padding to reclaim horizontal space */
|
|
.header {
|
|
padding: 12px 12px;
|
|
}
|
|
|
|
/* Mobile header: collapsible search and overflow menu */
|
|
.mobile-search-trigger {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mobile-search-expanded {
|
|
position: absolute;
|
|
right: 140px;
|
|
left: auto;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 200px;
|
|
max-width: 200px;
|
|
min-width: 160px;
|
|
z-index: 10;
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.mobile-overflow-trigger {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mobile-overflow-menu {
|
|
position: absolute;
|
|
top: calc(100% + 4px);
|
|
right: 12px;
|
|
min-width: 220px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-lg);
|
|
z-index: 100;
|
|
padding: 4px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.mobile-overflow-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
background: none;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.mobile-overflow-item:hover {
|
|
background: var(--card);
|
|
}
|
|
|
|
.mobile-overflow-item svg {
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Modal: full-screen on mobile */
|
|
.modal-overlay {
|
|
padding-top: 0;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.modal,
|
|
.modal-lg {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
max-height: 100vh;
|
|
max-height: 100dvh;
|
|
border-radius: 0;
|
|
border: none;
|
|
}
|
|
|
|
.detail-body {
|
|
padding: 14px;
|
|
}
|
|
|
|
.detail-title {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.modal-actions {
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.modal-actions .btn {
|
|
min-width: 0;
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.detail-tabs {
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.detail-tabs::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.detail-tab {
|
|
padding: 8px 12px;
|
|
font-size: 13px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Settings modal: stack sidebar above content for mobile */
|
|
.settings-layout {
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.settings-sidebar {
|
|
width: auto;
|
|
min-width: 0;
|
|
flex-direction: row;
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--border);
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
padding: 6px 8px;
|
|
gap: 2px;
|
|
}
|
|
|
|
.settings-nav-item {
|
|
border-left: none;
|
|
border-bottom: 2px solid transparent;
|
|
border-radius: var(--radius) var(--radius) 0 0;
|
|
padding: 6px 12px;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
}
|
|
|
|
.settings-nav-item:hover {
|
|
border-left-color: transparent;
|
|
border-bottom-color: var(--border);
|
|
}
|
|
|
|
.settings-nav-item.active {
|
|
border-left-color: transparent;
|
|
border-bottom-color: var(--todo);
|
|
}
|
|
|
|
.settings-content {
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.settings-section-heading {
|
|
padding: 12px 14px 10px;
|
|
margin-right: 14px;
|
|
}
|
|
|
|
.form-group {
|
|
padding: 0 14px;
|
|
}
|
|
|
|
.auth-provider-row {
|
|
flex-wrap: wrap;
|
|
padding: 12px 14px;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Card edit button: always visible on mobile (no hover) */
|
|
.card-edit-btn {
|
|
opacity: 1;
|
|
width: 44px;
|
|
height: 44px;
|
|
margin-right: -8px;
|
|
margin-top: -8px;
|
|
margin-bottom: -8px;
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.card-edit-btn svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
}
|
|
|
|
/* === GitHub Import Modal === */
|
|
/* Compact Toolbar Layout */
|
|
.github-import-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
padding: var(--space-md) var(--space-lg);
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.github-import-toolbar__zone {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.github-import-toolbar__zone--remote {
|
|
flex: 0 0 auto;
|
|
min-width: 140px;
|
|
}
|
|
|
|
.github-import-toolbar__zone--filter {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.github-import-toolbar__zone--filter input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.github-import-toolbar__zone--action {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.github-import-toolbar__loading {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.github-import-toolbar__no-remote {
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Remote pill for single remote */
|
|
.github-import-remote-pill {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.github-import-remote-pill__name {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.github-import-remote-pill__repo {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
}
|
|
|
|
/* Remote select dropdown */
|
|
.github-import-remote-select select {
|
|
min-width: 180px;
|
|
padding: var(--space-sm) var(--space-md);
|
|
font-size: 13px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text);
|
|
}
|
|
|
|
.github-import-remote-select select:focus {
|
|
outline: none;
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.2);
|
|
}
|
|
|
|
/* Load button */
|
|
.github-import-load-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-sm);
|
|
min-height: 36px;
|
|
padding: var(--space-sm) var(--space-md);
|
|
}
|
|
|
|
.github-import-load-button span {
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Two-pane layout */
|
|
.github-import-workspace {
|
|
display: flex;
|
|
gap: var(--space-lg);
|
|
min-height: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.github-import-list-pane,
|
|
.github-import-preview-pane {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.github-import-list-pane {
|
|
flex: 0 0 clamp(280px, 40%, 400px);
|
|
border-right: 1px solid var(--border);
|
|
padding-right: var(--space-lg);
|
|
}
|
|
|
|
.github-import-preview-pane {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.github-import-pane-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-sm);
|
|
padding-bottom: var(--space-sm);
|
|
margin-bottom: var(--space-sm);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.github-import-pane-header h4 {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.01em;
|
|
color: var(--text);
|
|
}
|
|
|
|
.github-import-pane-content {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Wider modal for two-pane layout */
|
|
.github-import-modal {
|
|
width: min(900px, calc(100vw - 32px));
|
|
max-height: min(800px, calc(100vh - 64px));
|
|
}
|
|
|
|
.github-import-modal__header {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.github-import-modal__subtitle {
|
|
margin-top: var(--space-xs);
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.github-import-modal__body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
padding: var(--space-lg) var(--space-xl);
|
|
overflow-y: auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
.github-import-modal__actions {
|
|
align-items: center;
|
|
}
|
|
|
|
/* Tab styles for GitHub Import Modal */
|
|
.github-import-tabs {
|
|
display: flex;
|
|
gap: var(--space-xs);
|
|
padding: var(--space-sm) var(--space-md);
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.github-import-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
padding: var(--space-sm) var(--space-md);
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius-md);
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.github-import-tab:hover:not(:disabled) {
|
|
background: var(--surface-hover);
|
|
color: var(--text);
|
|
}
|
|
|
|
.github-import-tab.active {
|
|
background: var(--card);
|
|
border-color: var(--border);
|
|
color: var(--text);
|
|
}
|
|
|
|
.github-import-tab:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.github-import-filter-hint {
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.pull-branch-info {
|
|
display: block;
|
|
margin-top: 2px;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
font-family: var(--font-mono, monospace);
|
|
}
|
|
|
|
.preview-branch {
|
|
margin-bottom: var(--space-sm);
|
|
padding: var(--space-sm);
|
|
background: var(--surface);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 12px;
|
|
font-family: var(--font-mono, monospace);
|
|
}
|
|
|
|
.preview-branch strong {
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Legacy section styles - kept for compatibility */
|
|
.github-import-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
padding: var(--space-lg);
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%), var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
|
|
.github-import-section__header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.github-import-section__header h4 {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.github-import-section__helper {
|
|
margin-top: var(--space-xs);
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.github-import-repository-pill {
|
|
min-width: 180px;
|
|
padding: var(--space-sm) var(--space-md);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
text-align: right;
|
|
}
|
|
|
|
.github-import-repository-pill__label {
|
|
display: block;
|
|
color: var(--text-muted);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.github-import-repository-pill__value {
|
|
display: block;
|
|
margin-top: 2px;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.github-import-controls-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.github-import-form-group {
|
|
margin-top: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.github-import-form-group:last-of-type {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.github-import-form-group--remote {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.github-import-form-group--action {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.github-import-remote-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-md);
|
|
padding: var(--space-md);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.github-import-remote-card__eyebrow {
|
|
color: var(--text-muted);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.github-import-remote-card__title {
|
|
margin-top: 2px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.github-import-remote-card__title span {
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.github-import-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 4px 10px;
|
|
border: 1px solid var(--color-success);
|
|
border-radius: var(--radius-lg);
|
|
color: var(--color-success);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.github-import-command {
|
|
display: block;
|
|
padding: var(--space-sm) var(--space-md);
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text);
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.form-error {
|
|
margin: 12px 0;
|
|
padding: var(--space-sm) var(--space-md);
|
|
background: rgba(248, 81, 73, 0.1);
|
|
border: 1px solid var(--color-error);
|
|
border-radius: var(--radius-md);
|
|
color: var(--color-error);
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.github-import-banner {
|
|
margin: 0;
|
|
}
|
|
|
|
.github-import-section--results,
|
|
.github-import-section--preview {
|
|
min-height: 100%;
|
|
}
|
|
|
|
.github-import-results-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: var(--space-sm);
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.github-import-results-meta span {
|
|
padding: 4px 8px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.github-import-state {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--space-md);
|
|
padding: var(--space-md);
|
|
border: 1px dashed var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.github-import-state strong {
|
|
display: block;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.github-import-state span {
|
|
display: block;
|
|
margin-top: 2px;
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.github-import-state--loading {
|
|
border-style: solid;
|
|
}
|
|
|
|
.github-import-state--warning {
|
|
border-style: solid;
|
|
}
|
|
|
|
.github-import-state--error {
|
|
border-style: solid;
|
|
border-color: var(--color-error);
|
|
}
|
|
|
|
.github-import-state--error strong {
|
|
color: var(--color-error);
|
|
}
|
|
|
|
.github-import-state--empty,
|
|
.github-import-state--idle {
|
|
border-color: var(--border);
|
|
}
|
|
|
|
.issues-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: none;
|
|
overflow-y: auto;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.issue-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--space-md);
|
|
padding: var(--space-md);
|
|
border-bottom: 1px solid var(--border);
|
|
cursor: pointer;
|
|
transition:
|
|
background var(--transition-fast),
|
|
border-color var(--transition-fast),
|
|
box-shadow var(--transition-fast);
|
|
}
|
|
|
|
.issue-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.issue-item input[type="radio"] {
|
|
margin-top: 2px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.issue-item:hover:not(.imported) {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.issue-item.selected {
|
|
background: rgba(var(--in-progress-rgb), 0.12);
|
|
box-shadow: inset 0 0 0 1px rgba(var(--in-progress-rgb), 0.35);
|
|
}
|
|
|
|
.issue-item.imported {
|
|
opacity: 0.65;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.issue-main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.issue-heading-row {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: var(--space-sm);
|
|
min-width: 0;
|
|
}
|
|
|
|
.issue-number {
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.issue-title {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.issue-labels {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-top: var(--space-sm);
|
|
}
|
|
|
|
.label-chip {
|
|
padding: 3px 8px;
|
|
font-size: 11px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.imported-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
align-self: center;
|
|
padding: 4px 10px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
border: 1px solid var(--color-success);
|
|
border-radius: var(--radius-lg);
|
|
color: var(--color-success);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.issue-preview {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-lg);
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.preview-meta {
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.preview-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.preview-body {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
line-height: 1.6;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
/* Back button - hidden on desktop by default */
|
|
.github-import-back-button {
|
|
display: none;
|
|
}
|
|
|
|
/* Responsive breakpoints */
|
|
@media (max-width: 860px) {
|
|
.github-import-modal {
|
|
width: calc(100vw - (var(--space-lg) * 2));
|
|
}
|
|
|
|
.github-import-workspace {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.github-import-list-pane {
|
|
flex: none;
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--border);
|
|
padding-right: 0;
|
|
padding-bottom: var(--space-md);
|
|
max-height: 50%;
|
|
}
|
|
|
|
.github-import-preview-pane {
|
|
flex: none;
|
|
max-height: 50%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.github-import-modal {
|
|
width: calc(100vw - 16px);
|
|
max-height: 90vh;
|
|
}
|
|
|
|
.github-import-modal__body {
|
|
padding: var(--space-md);
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.github-import-toolbar {
|
|
flex-wrap: wrap;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-sm);
|
|
}
|
|
|
|
.github-import-toolbar__zone--remote {
|
|
flex: 1 1 100%;
|
|
order: 1;
|
|
}
|
|
|
|
.github-import-toolbar__zone--filter {
|
|
flex: 1 1 auto;
|
|
order: 2;
|
|
min-width: 140px;
|
|
}
|
|
|
|
.github-import-toolbar__zone--action {
|
|
flex: 0 0 auto;
|
|
order: 3;
|
|
}
|
|
|
|
.github-import-remote-select select {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.github-import-section {
|
|
padding: var(--space-md);
|
|
}
|
|
|
|
.github-import-section__header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.github-import-repository-pill {
|
|
width: 100%;
|
|
min-width: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.github-import-controls-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.github-import-results-meta {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.issue-item {
|
|
flex-wrap: wrap;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.imported-badge {
|
|
align-self: flex-start;
|
|
margin-left: 28px;
|
|
}
|
|
|
|
.issues-list {
|
|
max-height: 50vh;
|
|
}
|
|
|
|
/* Mobile pane visibility - show one at a time */
|
|
.github-import-list-pane.mobile {
|
|
display: none;
|
|
}
|
|
|
|
.github-import-list-pane.mobile.active {
|
|
display: flex;
|
|
flex: 1;
|
|
border-right: none;
|
|
padding-right: 0;
|
|
max-height: none;
|
|
}
|
|
|
|
.github-import-preview-pane.mobile {
|
|
display: none;
|
|
}
|
|
|
|
.github-import-preview-pane.mobile.active {
|
|
display: flex;
|
|
flex: 1;
|
|
max-height: none;
|
|
}
|
|
|
|
/* Back button styles */
|
|
.github-import-back-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-sm) var(--space-md);
|
|
background: transparent;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.github-import-back-button:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.github-import-back-button:focus {
|
|
outline: none;
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
|
|
.github-import-pane-header:has(.github-import-back-button) {
|
|
justify-content: flex-start;
|
|
gap: var(--space-md);
|
|
}
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.spin {
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
/* === List View === */
|
|
.list-view {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: calc(100vh - 57px);
|
|
overflow: hidden;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.list-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 24px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.list-filter {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: 1;
|
|
max-width: 320px;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 6px 12px;
|
|
transition: border-color var(--transition-fast);
|
|
}
|
|
|
|
.list-filter:focus-within {
|
|
border-color: var(--todo);
|
|
}
|
|
|
|
.filter-icon {
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.filter-input {
|
|
flex: 1;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
}
|
|
|
|
.filter-input::placeholder {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.filter-clear {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
padding: 0 2px;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.filter-clear:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.list-stats {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Section expand/collapse controls */
|
|
.list-section-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.list-section-controls .btn {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.list-stats-hidden {
|
|
color: var(--text-dim);
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Selection stats */
|
|
.list-selection-stats {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
background: var(--todo-bg, rgba(59, 130, 246, 0.1));
|
|
border: 1px solid var(--todo-border, rgba(59, 130, 246, 0.3));
|
|
border-radius: var(--radius);
|
|
padding: 4px 12px;
|
|
}
|
|
|
|
.selection-count {
|
|
font-weight: 500;
|
|
color: var(--todo);
|
|
}
|
|
|
|
/* Bulk edit toolbar */
|
|
.bulk-edit-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 8px 12px;
|
|
background: var(--surface-hover, rgba(0, 0, 0, 0.03));
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.bulk-edit-label {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.bulk-edit-dropdown {
|
|
min-width: 180px;
|
|
}
|
|
|
|
.bulk-edit-dropdown .model-combobox-trigger {
|
|
font-size: 12px;
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
.bulk-edit-apply-btn {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.bulk-edit-apply-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Checkbox column in table */
|
|
.list-header-checkbox,
|
|
.list-cell-checkbox {
|
|
width: 40px;
|
|
text-align: center;
|
|
padding: 8px 4px;
|
|
}
|
|
|
|
.list-header-checkbox input[type="checkbox"],
|
|
.list-cell-checkbox input[type="checkbox"] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.list-cell-checkbox input[type="checkbox"]:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* Column toggle dropdown */
|
|
.list-column-toggle {
|
|
position: relative;
|
|
}
|
|
|
|
.list-column-toggle .btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.list-create-area {
|
|
width: 100%;
|
|
padding: var(--space-md) var(--space-xl);
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.list-create-area .quick-entry-box {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* New class for QuickEntryBox positioned above the table in list view */
|
|
.list-quick-entry-above-table {
|
|
width: 100%;
|
|
padding: var(--space-md) var(--space-xl);
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.list-quick-entry-above-table .quick-entry-box {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.list-column-dropdown {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
margin-top: 4px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
min-width: 160px;
|
|
padding: 6px 0;
|
|
z-index: 100;
|
|
box-shadow: var(--shadow);
|
|
animation: dropdown-in 0.15s ease-out;
|
|
}
|
|
|
|
@keyframes dropdown-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-4px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.list-column-dropdown-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 12px;
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.list-column-dropdown-item:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.list-column-dropdown-item.disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.list-column-dropdown-item.disabled:hover {
|
|
background: none;
|
|
}
|
|
|
|
.list-column-dropdown-item input[type="checkbox"] {
|
|
width: 14px;
|
|
height: 14px;
|
|
accent-color: var(--todo);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.list-column-dropdown-item.disabled input[type="checkbox"] {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Hide done tasks toggle */
|
|
.list-hide-done-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* Drop zones for drag and drop */
|
|
.list-drop-zones {
|
|
display: flex;
|
|
gap: 8px;
|
|
padding: 12px 24px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.list-drop-zone {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.list-drop-zone:hover {
|
|
background: var(--card-hover);
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
.list-drop-zone.active {
|
|
border-color: var(--todo);
|
|
background: rgba(88, 166, 255, 0.15);
|
|
box-shadow: 0 0 0 1px var(--todo);
|
|
}
|
|
|
|
.list-drop-zone.drag-over {
|
|
border-color: var(--todo);
|
|
box-shadow: 0 0 0 1px var(--todo);
|
|
background: rgba(88, 166, 255, 0.1);
|
|
}
|
|
|
|
.drop-zone-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.drop-zone-label {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.drop-zone-count {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
background: var(--bg);
|
|
padding: 2px 6px;
|
|
border-radius: 10px;
|
|
min-width: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Table container */
|
|
.list-table-container {
|
|
flex: 1;
|
|
overflow: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
.list-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.list-table thead {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.list-header-cell {
|
|
text-align: left;
|
|
padding: 12px 16px;
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--border);
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: color var(--transition-fast);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Reduce padding on ID column header to match data cells */
|
|
.list-table th:first-child.list-header-cell {
|
|
padding-right: 8px;
|
|
}
|
|
|
|
/* Set width on ID column header to match data cells */
|
|
.list-table th:nth-child(2).list-header-cell {
|
|
width: 70px;
|
|
}
|
|
|
|
.list-header-cell:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.sort-icon {
|
|
vertical-align: middle;
|
|
margin-left: 4px;
|
|
opacity: 0.5;
|
|
transition: opacity var(--transition-fast);
|
|
}
|
|
|
|
.sort-icon.active {
|
|
opacity: 1;
|
|
color: var(--todo);
|
|
}
|
|
|
|
/* Table rows */
|
|
.list-row {
|
|
cursor: pointer;
|
|
transition: background var(--transition-fast), opacity var(--transition-fast);
|
|
}
|
|
|
|
.list-row:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.list-row.dragging {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.list-row.failed {
|
|
border-left: 3px solid #da3633;
|
|
}
|
|
|
|
.list-row.paused {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.list-row.agent-active {
|
|
border-left: 3px solid var(--in-progress);
|
|
animation: list-agent-glow 2.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes list-agent-glow {
|
|
0%,
|
|
100% {
|
|
background: rgba(var(--in-progress-rgb), 0.05);
|
|
}
|
|
50% {
|
|
background: rgba(var(--in-progress-rgb), 0.12);
|
|
}
|
|
}
|
|
|
|
/* Table cells */
|
|
.list-cell {
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--border);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.list-cell-id {
|
|
width: 70px;
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
padding: 12px 8px 12px 16px; /* Reduced right padding to tighten space with title */
|
|
}
|
|
|
|
.list-cell-title {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.list-cell-date {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.list-cell-deps {
|
|
text-align: center;
|
|
}
|
|
|
|
/* Badges */
|
|
.list-status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
padding: 3px 10px;
|
|
border-radius: 10px;
|
|
background: var(--card);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.list-status-badge.failed {
|
|
background: rgba(218, 54, 51, 0.15);
|
|
color: #da3633;
|
|
}
|
|
|
|
.list-status-badge.pulsing {
|
|
animation: pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
.list-column-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
padding: 3px 10px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.list-dep-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 11px;
|
|
color: var(--triage);
|
|
}
|
|
|
|
/* Progress bar */
|
|
.list-cell-progress {
|
|
min-width: 100px;
|
|
}
|
|
|
|
.list-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.list-progress-bar {
|
|
flex: 1;
|
|
height: 4px;
|
|
background: var(--border);
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.list-progress-fill {
|
|
height: 100%;
|
|
border-radius: 2px;
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
.list-progress-label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
font-family: var(--font-mono);
|
|
flex-shrink: 0;
|
|
min-width: 30px;
|
|
text-align: right;
|
|
}
|
|
|
|
/* Empty state */
|
|
.list-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 200px;
|
|
font-size: 14px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Section headers for grouped list view */
|
|
.list-section-header {
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--border);
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.list-section-header:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.list-section-header--collapsed {
|
|
background: var(--card);
|
|
border-bottom-color: var(--border);
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.list-section-header--collapsed:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.list-section-chevron {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: 8px;
|
|
color: var(--text-muted);
|
|
transition: transform var(--transition-fast), color var(--transition-fast);
|
|
transform: rotate(0deg);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.list-section-chevron--expanded {
|
|
transform: rotate(90deg);
|
|
color: var(--text);
|
|
}
|
|
|
|
.list-section-cell {
|
|
padding: 10px 16px;
|
|
text-align: left;
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text);
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.list-section-dot {
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
margin-right: 8px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.list-section-title {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.list-section-count {
|
|
display: inline-block;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
background: var(--card);
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
min-width: 24px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Section expand/collapse animation - only for expanded sections */
|
|
@keyframes section-expand {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-4px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.list-section-header ~ tr {
|
|
animation: section-expand 0.2s ease-out;
|
|
}
|
|
|
|
/* Empty section row */
|
|
.list-section-empty {
|
|
background: var(--bg);
|
|
}
|
|
|
|
.list-section-empty:hover {
|
|
background: var(--bg); /* Prevent hover effect on empty section rows */
|
|
}
|
|
|
|
.list-empty-cell {
|
|
padding: 24px 16px;
|
|
text-align: center;
|
|
font-size: 13px;
|
|
color: var(--text-dim);
|
|
font-style: italic;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
/* === List View Mobile Responsive === */
|
|
@media (max-width: 768px) {
|
|
.list-toolbar {
|
|
padding: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.list-create-area {
|
|
padding: var(--space-sm) var(--space-md);
|
|
}
|
|
|
|
.list-filter {
|
|
max-width: none;
|
|
width: 100%;
|
|
order: 2;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.list-stats {
|
|
order: 1;
|
|
}
|
|
|
|
.list-column-toggle {
|
|
order: 3;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.list-drop-zones {
|
|
padding: 8px 12px;
|
|
gap: 6px;
|
|
}
|
|
|
|
.drop-zone-label {
|
|
display: none;
|
|
}
|
|
|
|
.list-table-container {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.list-table {
|
|
min-width: auto;
|
|
}
|
|
|
|
.list-cell-title {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.list-cell-date {
|
|
display: none;
|
|
}
|
|
|
|
.list-header-cell:nth-child(5),
|
|
.list-header-cell:nth-child(6) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* === Terminal Modal === */
|
|
.terminal-modal {
|
|
width: 90vw;
|
|
max-width: 1200px;
|
|
min-height: 90vh;
|
|
max-height: 90vh;
|
|
background: var(--card);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.terminal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
padding: 0;
|
|
gap: 0;
|
|
}
|
|
|
|
.terminal-tabs {
|
|
display: flex;
|
|
flex: 1;
|
|
overflow-x: auto;
|
|
gap: 0;
|
|
padding: 0 4px;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--border) transparent;
|
|
}
|
|
|
|
.terminal-tabs::-webkit-scrollbar {
|
|
height: 4px;
|
|
}
|
|
|
|
.terminal-tabs::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.terminal-tabs::-webkit-scrollbar-thumb {
|
|
background: var(--border);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.terminal-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
background: none;
|
|
border: none;
|
|
border-bottom: 3px solid transparent;
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: color var(--transition-fast), border-color var(--transition-fast);
|
|
position: relative;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.terminal-tab:hover {
|
|
color: var(--text);
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.terminal-tab--active {
|
|
color: var(--text);
|
|
border-bottom-color: var(--in-progress);
|
|
}
|
|
|
|
.terminal-tab--active:hover {
|
|
border-bottom-color: var(--in-progress);
|
|
}
|
|
|
|
.terminal-tab-indicator {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 3px;
|
|
background: var(--in-progress);
|
|
border-radius: 3px 3px 0 0;
|
|
}
|
|
|
|
.terminal-tab-label {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.terminal-tab--empty {
|
|
color: var(--text-muted);
|
|
cursor: default;
|
|
font-style: italic;
|
|
}
|
|
|
|
.terminal-tab--empty:hover {
|
|
background: none;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.terminal-close {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
background: none;
|
|
border: none;
|
|
border-left: 1px solid var(--border);
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: color var(--transition-fast), background var(--transition-fast);
|
|
}
|
|
|
|
.terminal-close:hover {
|
|
color: var(--text);
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.terminal-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.terminal-empty-state {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
padding: 40px;
|
|
}
|
|
|
|
.terminal-empty-state p {
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.terminal-empty-state p:first-child {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
}
|
|
|
|
.terminal-empty-state p:last-child {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.terminal-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.terminal-task-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.terminal-task-id {
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.terminal-task-title {
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
min-width: 0;
|
|
}
|
|
|
|
.terminal-clear-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.terminal-clear-btn:hover {
|
|
color: var(--text);
|
|
border-color: var(--text-muted);
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.terminal-log-container {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.terminal-log-container .agent-log-viewer {
|
|
flex: 1;
|
|
max-height: none;
|
|
background: var(--card);
|
|
border-radius: 0;
|
|
}
|
|
|
|
/* === Interactive Terminal Styles === */
|
|
|
|
.terminal-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 16px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
flex: 1;
|
|
}
|
|
|
|
.terminal-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0;
|
|
}
|
|
|
|
.terminal-output {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 16px;
|
|
background: var(--bg);
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.terminal-welcome {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
height: 100%;
|
|
}
|
|
|
|
.terminal-welcome-icon {
|
|
color: var(--in-progress);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.terminal-welcome h3 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
}
|
|
|
|
.terminal-welcome p {
|
|
margin: 0;
|
|
max-width: 400px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.terminal-commands-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
justify-content: center;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.terminal-commands-list span {
|
|
display: inline-block;
|
|
padding: 4px 10px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
font-size: 12px;
|
|
font-family: var(--font-mono);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.terminal-shortcuts {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.terminal-shortcuts kbd {
|
|
display: inline-block;
|
|
padding: 2px 6px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.terminal-history {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.terminal-entry {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.terminal-prompt-line {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.terminal-prompt {
|
|
color: var(--success);
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.terminal-command {
|
|
color: var(--text);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.terminal-output-text {
|
|
margin: 0;
|
|
padding: 12px 16px;
|
|
background: var(--card);
|
|
border-radius: var(--radius);
|
|
color: var(--text);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.terminal-output-error {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border-left: 3px solid var(--failed);
|
|
}
|
|
|
|
.terminal-running-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.terminal-spinner {
|
|
width: 12px;
|
|
height: 12px;
|
|
border: 2px solid var(--border);
|
|
border-top-color: var(--in-progress);
|
|
border-radius: 50%;
|
|
animation: terminal-spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes terminal-spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.terminal-input-area {
|
|
border-top: 1px solid var(--border);
|
|
background: var(--surface);
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.terminal-form {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.terminal-input-prompt {
|
|
color: var(--success);
|
|
font-weight: 600;
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.terminal-input {
|
|
flex: 1;
|
|
padding: 8px 12px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text);
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
outline: none;
|
|
transition: border-color var(--transition-fast);
|
|
}
|
|
|
|
.terminal-input:focus {
|
|
border-color: var(--in-progress);
|
|
}
|
|
|
|
.terminal-input:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.terminal-input::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.terminal-kill-btn {
|
|
padding: 8px 16px;
|
|
background: var(--failed);
|
|
border: none;
|
|
border-radius: var(--radius);
|
|
color: white;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: opacity var(--transition-fast);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.terminal-kill-btn:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* === PTY Terminal Styles === */
|
|
|
|
.terminal-container {
|
|
flex: 1;
|
|
min-height: 0;
|
|
position: relative;
|
|
background: #1e1e1e;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.terminal-xterm {
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 4px;
|
|
}
|
|
|
|
.terminal-xterm .xterm {
|
|
height: 100%;
|
|
}
|
|
|
|
.terminal-loading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
gap: 16px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.terminal-loading .terminal-spinner {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 3px solid var(--border);
|
|
border-top-color: var(--in-progress);
|
|
border-radius: 50%;
|
|
animation: terminal-spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes terminal-spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.terminal-shell-name {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
font-family: "SF Mono", Monaco, Consolas, monospace;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.terminal-status {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.terminal-status.connected {
|
|
background: var(--done);
|
|
}
|
|
|
|
.terminal-status.connecting,
|
|
.terminal-status.reconnecting {
|
|
background: var(--in-progress);
|
|
animation: terminal-pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
.terminal-status.disconnected {
|
|
background: var(--error);
|
|
}
|
|
|
|
@keyframes terminal-pulse {
|
|
0%, 100% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
.terminal-status-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 8px 16px;
|
|
background: var(--surface);
|
|
border-top: 1px solid var(--border);
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.terminal-connection-status {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.terminal-connection-status.connected {
|
|
color: var(--done);
|
|
}
|
|
|
|
.terminal-connection-status.connecting,
|
|
.terminal-connection-status.reconnecting {
|
|
color: var(--in-progress);
|
|
}
|
|
|
|
.terminal-connection-status.disconnected {
|
|
color: var(--error);
|
|
}
|
|
|
|
.terminal-exit-code {
|
|
color: var(--error);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.terminal-reconnect-btn,
|
|
.terminal-restart-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 6px 12px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.terminal-reconnect-btn:hover,
|
|
.terminal-restart-btn:hover {
|
|
background: var(--card-hover);
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
.terminal-error {
|
|
padding: 12px 16px;
|
|
background: rgba(179, 38, 38, 0.1);
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--error);
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* === Terminal Modal Mobile Responsive === */
|
|
@media (max-width: 768px) {
|
|
.terminal-modal {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
height: 100vh;
|
|
height: 100dvh;
|
|
max-height: 100vh;
|
|
max-height: 100dvh;
|
|
border-radius: 0;
|
|
border: none;
|
|
}
|
|
|
|
.terminal-header {
|
|
padding-top: env(safe-area-inset-top, 0);
|
|
}
|
|
|
|
.terminal-tab {
|
|
min-height: 48px;
|
|
padding: 12px 14px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.terminal-tab-label {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.terminal-close {
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
|
|
.terminal-toolbar {
|
|
padding: 10px 12px;
|
|
padding-bottom: max(10px, env(safe-area-inset-bottom, 0));
|
|
}
|
|
|
|
.terminal-task-title {
|
|
font-size: 12px;
|
|
max-width: 200px;
|
|
}
|
|
|
|
.terminal-clear-btn {
|
|
padding: 8px 12px;
|
|
min-height: 36px;
|
|
}
|
|
|
|
.terminal-empty-state {
|
|
padding: 24px;
|
|
padding-bottom: max(24px, env(safe-area-inset-bottom, 0));
|
|
}
|
|
|
|
/* Mobile styles for interactive terminal */
|
|
.terminal-title {
|
|
padding: 0 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.terminal-output {
|
|
padding: 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.terminal-welcome {
|
|
padding: 24px 16px;
|
|
}
|
|
|
|
.terminal-welcome h3 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.terminal-commands-list {
|
|
gap: 6px;
|
|
}
|
|
|
|
.terminal-commands-list span {
|
|
padding: 3px 8px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.terminal-shortcuts {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.terminal-shortcuts kbd {
|
|
padding: 1px 4px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.terminal-input-area {
|
|
padding: 10px 12px;
|
|
padding-bottom: max(10px, env(safe-area-inset-bottom, 0));
|
|
}
|
|
|
|
.terminal-input {
|
|
font-size: 12px;
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
.terminal-kill-btn {
|
|
padding: 6px 12px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.terminal-output-text {
|
|
padding: 10px 12px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
|
|
/* === Model Selector Tab === */
|
|
.model-selector-tab {
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.model-selector-tab h4 {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.model-selector-intro {
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.model-selector-loading,
|
|
.model-selector-empty {
|
|
padding: 24px;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.model-selector-error {
|
|
padding: 16px;
|
|
background: rgba(248, 81, 73, 0.1);
|
|
color: var(--color-error);
|
|
border-radius: var(--radius);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.model-selector-current {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.model-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.model-badge-default {
|
|
background: var(--text-dim);
|
|
color: var(--text);
|
|
}
|
|
|
|
.model-badge-custom {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: var(--todo);
|
|
color: var(--bg);
|
|
}
|
|
|
|
.model-badge-custom .provider-icon {
|
|
display: inline-flex;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.model-selector-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 24px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.model-selector-status {
|
|
margin-top: 12px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
}
|
|
|
|
.model-selector-filter {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
position: relative;
|
|
}
|
|
|
|
.model-selector-filter-input {
|
|
flex: 1;
|
|
padding: 8px 12px;
|
|
padding-right: 32px;
|
|
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 var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
|
|
.model-selector-filter-input:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
|
|
.model-selector-filter-input::placeholder {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.model-selector-filter-clear {
|
|
position: absolute;
|
|
right: 64px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
padding: 0 4px;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.model-selector-filter-clear:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.model-selector-filter-clear:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.model-selector-results-count {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
min-width: 50px;
|
|
text-align: right;
|
|
}
|
|
|
|
.model-selector-no-results {
|
|
padding: 12px;
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-style: italic;
|
|
background: var(--surface);
|
|
border-radius: var(--radius);
|
|
margin-top: 8px;
|
|
}
|
|
|
|
/* === Model Combobox Component === */
|
|
|
|
.model-combobox {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.model-combobox-trigger {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
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;
|
|
cursor: pointer;
|
|
outline: none;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
|
|
.model-combobox-trigger:hover:not(:disabled) {
|
|
border-color: var(--text-dim);
|
|
}
|
|
|
|
.model-combobox-trigger:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
|
|
.model-combobox-trigger:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.model-combobox-trigger-text {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
text-align: left;
|
|
}
|
|
|
|
.model-combobox-trigger-icon {
|
|
display: inline-flex;
|
|
margin-right: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.model-combobox-trigger-arrow {
|
|
font-size: 10px;
|
|
color: var(--text-muted);
|
|
margin-left: 8px;
|
|
transition: transform 0.15s;
|
|
}
|
|
|
|
.model-combobox-trigger[aria-expanded="true"] .model-combobox-trigger-arrow {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.model-combobox-dropdown {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
margin-top: 4px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--shadow);
|
|
z-index: 500;
|
|
max-height: 320px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.model-combobox-search-wrapper {
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.model-combobox-search {
|
|
width: 100%;
|
|
padding: 10px 36px 10px 12px;
|
|
background: var(--bg);
|
|
border: none;
|
|
border-radius: var(--radius) var(--radius) 0 0;
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
}
|
|
|
|
.model-combobox-search::placeholder {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.model-combobox-search:focus {
|
|
background: var(--card);
|
|
}
|
|
|
|
.model-combobox-clear {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
padding: 0 4px;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.model-combobox-clear:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.model-combobox-results-count {
|
|
flex-shrink: 0;
|
|
padding: 6px 12px;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
background: var(--bg);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.model-combobox-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.model-combobox-option {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
transition: background 0.1s;
|
|
}
|
|
|
|
.model-combobox-option:hover,
|
|
.model-combobox-option--highlighted {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.model-combobox-option--selected {
|
|
background: rgba(88, 166, 255, 0.15);
|
|
}
|
|
|
|
.model-combobox-option--selected:hover,
|
|
.model-combobox-option--selected.model-combobox-option--highlighted {
|
|
background: rgba(88, 166, 255, 0.25);
|
|
}
|
|
|
|
.model-combobox-option-text {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.model-combobox-option-text--default {
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
}
|
|
|
|
.model-combobox-option-id {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
font-family: var(--font-mono);
|
|
margin-left: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.model-combobox-group {
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.model-combobox-group:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.model-combobox-optgroup {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
background: var(--bg);
|
|
cursor: default;
|
|
}
|
|
|
|
.model-combobox-optgroup-text {
|
|
flex: 1;
|
|
}
|
|
|
|
.model-combobox-no-results {
|
|
padding: 16px 12px;
|
|
text-align: center;
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Mobile responsive model dropdown */
|
|
@media (max-width: 768px) {
|
|
.model-combobox-dropdown {
|
|
max-height: 70vh;
|
|
max-height: 70dvh; /* Use dynamic viewport height where supported */
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.model-combobox-dropdown {
|
|
max-height: 60vh;
|
|
max-height: 60dvh;
|
|
/* Ensure dropdown doesn't overflow horizontally on small screens */
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: calc(100vw - 32px);
|
|
min-width: unset;
|
|
}
|
|
}
|
|
|
|
/* ============================================================
|
|
THEME SYSTEM
|
|
============================================================ */
|
|
|
|
/* Smooth transitions for theme changes */
|
|
html,
|
|
html *,
|
|
html *::before,
|
|
html *::after {
|
|
transition:
|
|
background-color var(--transition-normal),
|
|
color var(--transition-normal),
|
|
border-color var(--transition-normal),
|
|
box-shadow var(--transition-normal);
|
|
}
|
|
|
|
/* Disable transitions on specific elements that shouldn't animate */
|
|
html .card.dragging,
|
|
html .card.dragging *,
|
|
html .list-row.dragging,
|
|
html .list-row.dragging *,
|
|
html .column.drag-over,
|
|
html .column.drag-over * {
|
|
transition: none !important;
|
|
}
|
|
|
|
/* ============================================================
|
|
LIGHT THEME (data-theme="light")
|
|
============================================================ */
|
|
[data-theme="light"] {
|
|
/* Backgrounds */
|
|
--bg: #ffffff;
|
|
--surface: #f6f8fa;
|
|
--card: #ffffff;
|
|
--card-hover: #f3f4f6;
|
|
--bg-secondary: #f6f8fa;
|
|
--bg-tertiary: #eaeef2;
|
|
--border: #d0d7de;
|
|
|
|
/* Text */
|
|
--text: #1f2328;
|
|
--text-muted: #656d76;
|
|
--text-dim: #8c959f;
|
|
|
|
/* Status colors (adjusted for light backgrounds) */
|
|
--triage: #9a6700;
|
|
--todo: #0969da;
|
|
--in-progress: #8250df;
|
|
--in-progress-rgb: 130, 80, 223;
|
|
--in-review: #1a7f37;
|
|
--done: #6e7781;
|
|
|
|
/* Feedback colors */
|
|
--color-success: #1a7f37;
|
|
--color-error: #cf222e;
|
|
--color-muted: #6e7781;
|
|
|
|
/* Shadow for light mode */
|
|
--shadow-sm: 0 1px 2px rgba(31, 35, 40, 0.08);
|
|
--shadow-md: 0 4px 6px rgba(31, 35, 40, 0.12);
|
|
--shadow-lg: 0 4px 24px rgba(31, 35, 40, 0.15);
|
|
--shadow-glow: 0 0 8px rgba(9, 105, 218, 0.18);
|
|
--glow-success: 0 0 8px rgba(26, 127, 55, 0.3);
|
|
--glow-warning: 0 0 8px rgba(154, 103, 0, 0.3);
|
|
--glow-danger: 0 0 8px rgba(207, 34, 46, 0.3);
|
|
--focus-ring: 0 0 0 2px rgba(9, 105, 218, 0.12);
|
|
--focus-ring-strong: 0 0 0 2px rgba(9, 105, 218, 0.24);
|
|
--shadow: var(--shadow-lg);
|
|
}
|
|
|
|
/* Light theme specific overrides */
|
|
[data-theme="light"] .modal-overlay {
|
|
background: rgba(31, 35, 40, 0.5);
|
|
}
|
|
|
|
[data-theme="light"] .modal-header {
|
|
background: rgba(246, 248, 250, 0.8);
|
|
}
|
|
|
|
[data-theme="light"] .modal-actions {
|
|
background: rgba(246, 248, 250, 0.6);
|
|
}
|
|
|
|
[data-theme="light"] .settings-sidebar {
|
|
background: rgba(246, 248, 250, 0.6);
|
|
}
|
|
|
|
[data-theme="light"] .toast-success {
|
|
background: #1a7f37;
|
|
}
|
|
|
|
[data-theme="light"] .toast-error {
|
|
background: #cf222e;
|
|
}
|
|
|
|
[data-theme="light"] .toast-info {
|
|
background: #0969da;
|
|
}
|
|
|
|
[data-theme="light"] .btn-primary {
|
|
background: #1a7f37;
|
|
border-color: #1f883d;
|
|
}
|
|
|
|
[data-theme="light"] .btn-primary:hover {
|
|
background: #1f883d;
|
|
box-shadow: var(--shadow-glow);
|
|
}
|
|
|
|
[data-theme="light"] .btn-danger {
|
|
background: #cf222e;
|
|
border-color: #a40e26;
|
|
}
|
|
|
|
[data-theme="light"] .btn-danger:hover {
|
|
background: #a40e26;
|
|
box-shadow: var(--glow-danger);
|
|
}
|
|
|
|
[data-theme="light"] .btn-warning {
|
|
background: #9a6700;
|
|
border-color: #7d5400;
|
|
}
|
|
|
|
[data-theme="light"] .btn-warning:hover {
|
|
background: #7d5400;
|
|
box-shadow: var(--glow-warning);
|
|
}
|
|
|
|
/* ============================================================
|
|
COLOR THEMES (data-color-theme="...")
|
|
============================================================ */
|
|
|
|
/* OCEAN - Deep blues and cyans */
|
|
[data-color-theme="ocean"] {
|
|
--todo: #00b8d4;
|
|
--in-progress: #00e5ff;
|
|
--in-progress-rgb: 0, 229, 255;
|
|
--in-review: #00c853;
|
|
--triage: #ffab00;
|
|
--done: #607d8b;
|
|
--color-success: #00c853;
|
|
--color-error: #ff5252;
|
|
}
|
|
|
|
[data-color-theme="ocean"][data-theme="light"] {
|
|
--todo: #0097a7;
|
|
--in-progress: #00bcd4;
|
|
--in-progress-rgb: 0, 188, 212;
|
|
--in-review: #4caf50;
|
|
--triage: #f57c00;
|
|
--done: #546e7a;
|
|
--color-success: #4caf50;
|
|
--color-error: #f44336;
|
|
}
|
|
|
|
/* FOREST - Deep greens and emeralds */
|
|
[data-color-theme="forest"] {
|
|
--todo: #34d399;
|
|
--in-progress: #10b981;
|
|
--in-progress-rgb: 16, 185, 129;
|
|
--in-review: #22c55e;
|
|
--triage: #fbbf24;
|
|
--done: #6b7280;
|
|
--color-success: #22c55e;
|
|
--color-error: #ef4444;
|
|
}
|
|
|
|
[data-color-theme="forest"][data-theme="light"] {
|
|
--todo: #059669;
|
|
--in-progress: #047857;
|
|
--in-progress-rgb: 4, 120, 87;
|
|
--in-review: #16a34a;
|
|
--triage: #d97706;
|
|
--done: #4b5563;
|
|
--color-success: #16a34a;
|
|
--color-error: #dc2626;
|
|
}
|
|
|
|
/* SUNSET - Warm oranges and reds */
|
|
[data-color-theme="sunset"] {
|
|
--todo: #ffab00;
|
|
--in-progress: #ff6d00;
|
|
--in-progress-rgb: 255, 109, 0;
|
|
--in-review: #ff9100;
|
|
--triage: #ff3d00;
|
|
--done: #8d6e63;
|
|
--color-success: #ff9100;
|
|
--color-error: #ff1744;
|
|
}
|
|
|
|
[data-color-theme="sunset"][data-theme="light"] {
|
|
--todo: #e65100;
|
|
--in-progress: #ef6c00;
|
|
--in-progress-rgb: 239, 108, 0;
|
|
--in-review: #f57c00;
|
|
--triage: #d84315;
|
|
--done: #5d4037;
|
|
--color-success: #f57c00;
|
|
--color-error: #c62828;
|
|
}
|
|
|
|
/* BERRY - Purple/pink tones */
|
|
[data-color-theme="berry"] {
|
|
--todo: #e040fb;
|
|
--in-progress: #ea80fc;
|
|
--in-progress-rgb: 234, 128, 252;
|
|
--in-review: #b388ff;
|
|
--triage: #ff4081;
|
|
--done: #9575cd;
|
|
--color-success: #b388ff;
|
|
--color-error: #ff5252;
|
|
}
|
|
|
|
[data-color-theme="berry"][data-theme="light"] {
|
|
--todo: #7b1fa2;
|
|
--in-progress: #8e24aa;
|
|
--in-progress-rgb: 142, 36, 170;
|
|
--in-review: #9c27b0;
|
|
--triage: #c2185b;
|
|
--done: #673ab7;
|
|
--color-success: #9c27b0;
|
|
--color-error: #d32f2f;
|
|
}
|
|
|
|
/* MONOCHROME - Pure grays */
|
|
[data-color-theme="monochrome"] {
|
|
--todo: #9e9e9e;
|
|
--in-progress: #bdbdbd;
|
|
--in-progress-rgb: 189, 189, 189;
|
|
--in-review: #e0e0e0;
|
|
--triage: #757575;
|
|
--done: #616161;
|
|
--color-success: #e0e0e0;
|
|
--color-error: #ff5252;
|
|
}
|
|
|
|
[data-color-theme="monochrome"][data-theme="light"] {
|
|
--todo: #616161;
|
|
--in-progress: #757575;
|
|
--in-progress-rgb: 117, 117, 117;
|
|
--in-review: #9e9e9e;
|
|
--triage: #424242;
|
|
--done: #424242;
|
|
--color-success: #616161;
|
|
--color-error: #d32f2f;
|
|
}
|
|
|
|
/* ZEN - Minimal, clean monochrome with subtle accents */
|
|
[data-color-theme="zen"] {
|
|
--bg: #0c0c0c;
|
|
--surface: #111111;
|
|
--card: #1a1a1a;
|
|
--card-hover: #222222;
|
|
--border: #2a2a2a;
|
|
--text: #e0e0e0;
|
|
--text-muted: #808080;
|
|
--text-dim: #555555;
|
|
|
|
--todo: #6b7b8c;
|
|
--in-progress: #7a8590;
|
|
--in-progress-rgb: 122, 133, 144;
|
|
--in-review: #6b8c7a;
|
|
--triage: #8c7b6b;
|
|
--done: #666666;
|
|
--color-success: #6b8c7a;
|
|
--color-error: #8c6b6b;
|
|
|
|
/* Minimal glow effects */
|
|
--shadow-glow: none;
|
|
--glow-success: none;
|
|
--glow-warning: none;
|
|
--glow-danger: none;
|
|
--focus-ring: 0 0 0 1px var(--border);
|
|
}
|
|
|
|
[data-color-theme="zen"][data-theme="light"] {
|
|
--bg: #f5f5f5;
|
|
--surface: #fafafa;
|
|
--card: #ffffff;
|
|
--card-hover: #f0f0f0;
|
|
--border: #e0e0e0;
|
|
--text: #333333;
|
|
--text-muted: #777777;
|
|
--text-dim: #999999;
|
|
|
|
--todo: #5a6a7a;
|
|
--in-progress: #6a757f;
|
|
--in-progress-rgb: 106, 117, 127;
|
|
--in-review: #5a7a6a;
|
|
--triage: #7a6a5a;
|
|
--done: #555555;
|
|
--color-success: #5a7a6a;
|
|
--color-error: #7a5a5a;
|
|
|
|
/* Minimal glow effects */
|
|
--shadow-glow: none;
|
|
--glow-success: none;
|
|
--glow-warning: none;
|
|
--glow-danger: none;
|
|
--focus-ring: 0 0 0 1px var(--border);
|
|
}
|
|
|
|
/* HIGH CONTRAST - Extreme contrast for accessibility */
|
|
[data-color-theme="high-contrast"] {
|
|
--bg: #000000;
|
|
--surface: #0a0a0a;
|
|
--card: #141414;
|
|
--card-hover: #1f1f1f;
|
|
--border: #ffffff;
|
|
--text: #ffffff;
|
|
--text-muted: #cccccc;
|
|
--text-dim: #999999;
|
|
|
|
--todo: #00ffff;
|
|
--in-progress: #ff00ff;
|
|
--in-progress-rgb: 255, 0, 255;
|
|
--in-review: #00ff00;
|
|
--triage: #ffff00;
|
|
--done: #ffffff;
|
|
--color-success: #00ff00;
|
|
--color-error: #ff0000;
|
|
}
|
|
|
|
[data-color-theme="high-contrast"][data-theme="light"] {
|
|
--bg: #ffffff;
|
|
--surface: #ffffff;
|
|
--card: #ffffff;
|
|
--card-hover: #f0f0f0;
|
|
--border: #000000;
|
|
--text: #000000;
|
|
--text-muted: #333333;
|
|
--text-dim: #666666;
|
|
|
|
--todo: #0066ff;
|
|
--in-progress: #cc00cc;
|
|
--in-progress-rgb: 204, 0, 204;
|
|
--in-review: #009900;
|
|
--triage: #cc6600;
|
|
--done: #000000;
|
|
--color-success: #009900;
|
|
--color-error: #cc0000;
|
|
}
|
|
|
|
/* INDUSTRIAL - Technical engineering spec sheet aesthetic */
|
|
[data-color-theme="industrial"] {
|
|
--bg: #0c0c0c;
|
|
--surface: #141414;
|
|
--card: #1a1a1a;
|
|
--card-hover: #222222;
|
|
--border: #333333;
|
|
--text: #e8e8e8;
|
|
--text-muted: #888888;
|
|
--text-dim: #555555;
|
|
|
|
--todo: #ff6b00;
|
|
--in-progress: #ff8c00;
|
|
--in-progress-rgb: 255, 140, 0;
|
|
--in-review: #00bcd4;
|
|
--triage: #ff5722;
|
|
--done: #666666;
|
|
--color-success: #00bcd4;
|
|
--color-error: #ff3d00;
|
|
}
|
|
|
|
[data-color-theme="industrial"][data-theme="light"] {
|
|
--bg: #f0f0f0;
|
|
--surface: #fafafa;
|
|
--card: #ffffff;
|
|
--card-hover: #f5f5f5;
|
|
--border: #d0d0d0;
|
|
--text: #1a1a1a;
|
|
--text-muted: #666666;
|
|
--text-dim: #999999;
|
|
|
|
--todo: #e65100;
|
|
--in-progress: #ef6c00;
|
|
--in-progress-rgb: 239, 108, 0;
|
|
--in-review: #0097a7;
|
|
--triage: #d84315;
|
|
--done: #555555;
|
|
--color-success: #0097a7;
|
|
--color-error: #d84315;
|
|
}
|
|
|
|
/* SOLARIZED - Classic solarized palette */
|
|
[data-color-theme="solarized"] {
|
|
--bg: #002b36;
|
|
--surface: #073642;
|
|
--card: #083c4a;
|
|
--card-hover: #094c5e;
|
|
--border: #586e75;
|
|
--text: #839496;
|
|
--text-muted: #657b83;
|
|
--text-dim: #586e75;
|
|
|
|
--todo: #268bd2;
|
|
--in-progress: #2aa198;
|
|
--in-progress-rgb: 42, 161, 152;
|
|
--in-review: #859900;
|
|
--triage: #b58900;
|
|
--done: #93a1a1;
|
|
--color-success: #859900;
|
|
--color-error: #dc322f;
|
|
}
|
|
|
|
[data-color-theme="solarized"][data-theme="light"] {
|
|
--bg: #fdf6e3;
|
|
--surface: #eee8d5;
|
|
--card: #f5efdc;
|
|
--card-hover: #e8e2d0;
|
|
--border: #93a1a1;
|
|
--text: #586e75;
|
|
--text-muted: #657b83;
|
|
--text-dim: #839496;
|
|
|
|
--todo: #268bd2;
|
|
--in-progress: #2aa198;
|
|
--in-progress-rgb: 42, 161, 152;
|
|
--in-review: #859900;
|
|
--triage: #b58900;
|
|
--done: #93a1a1;
|
|
--color-success: #859900;
|
|
--color-error: #dc322f;
|
|
}
|
|
|
|
/* FACTORY - Industrial Mission Control Theme
|
|
A comprehensive design theme that overrides fonts, spacing, and
|
|
component styling for an industrial sci-fi aesthetic.
|
|
*/
|
|
[data-color-theme="factory"] {
|
|
--bg: #0a0a0a;
|
|
--surface: #111111;
|
|
--card: #1a1a1a;
|
|
--card-hover: #222222;
|
|
--border: #333333;
|
|
|
|
--text: #e5e5e5;
|
|
--text-muted: #888888;
|
|
--text-dim: #555555;
|
|
|
|
--todo: #f59e0b;
|
|
--in-progress: #06b6d4;
|
|
--in-progress-rgb: 6, 182, 212;
|
|
--in-review: #22c55e;
|
|
--triage: #ef4444;
|
|
--done: #6b7280;
|
|
|
|
--color-success: #22c55e;
|
|
--color-error: #ef4444;
|
|
--color-muted: #6b7280;
|
|
|
|
--font-primary: "SF Mono", "JetBrains Mono", "Fira Code", Monaco, Consolas, monospace;
|
|
--font-mono: "SF Mono", "JetBrains Mono", "Fira Code", Monaco, Consolas, monospace;
|
|
|
|
--space-xs: 2px;
|
|
--space-sm: 4px;
|
|
--space-md: 8px;
|
|
--space-lg: 12px;
|
|
--space-xl: 16px;
|
|
--space-2xl: 24px;
|
|
|
|
--radius-sm: 2px;
|
|
--radius-md: 4px;
|
|
--radius-lg: 6px;
|
|
--radius-xl: 8px;
|
|
--radius: var(--radius-md);
|
|
|
|
--btn-padding: 6px 12px;
|
|
--btn-border-width: 2px;
|
|
--card-padding: 8px 10px;
|
|
--modal-padding: 12px 16px;
|
|
--header-padding: 8px 16px;
|
|
--column-gap: 8px;
|
|
--board-padding: 12px 16px;
|
|
|
|
--shadow-sm: 0 1px 1px rgba(0, 0, 0, 0.5);
|
|
--shadow-md: 0 2px 4px rgba(0, 0, 0, 0.5);
|
|
--shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.6);
|
|
--shadow-glow: 0 0 6px rgba(245, 158, 11, 0.4);
|
|
--glow-success: 0 0 8px rgba(34, 197, 94, 0.35);
|
|
--glow-warning: 0 0 8px rgba(245, 158, 11, 0.4);
|
|
--glow-danger: 0 0 8px rgba(239, 68, 68, 0.35);
|
|
--focus-ring: 0 0 0 2px rgba(245, 158, 11, 0.18);
|
|
--focus-ring-strong: 0 0 0 2px rgba(245, 158, 11, 0.3);
|
|
--shadow: var(--shadow-lg);
|
|
|
|
--transition-instant: 0.05s ease;
|
|
--transition-fast: 0.1s ease;
|
|
--transition-normal: 0.15s ease;
|
|
--transition-slow: 0.2s ease;
|
|
}
|
|
|
|
[data-color-theme="factory"][data-theme="light"] {
|
|
--bg: #f5f5f5;
|
|
--surface: #ffffff;
|
|
--card: #fafafa;
|
|
--card-hover: #f0f0f0;
|
|
--border: #d4d4d4;
|
|
|
|
--text: #1a1a1a;
|
|
--text-muted: #666666;
|
|
--text-dim: #999999;
|
|
|
|
--todo: #d97706;
|
|
--in-progress: #0891b2;
|
|
--in-progress-rgb: 8, 145, 178;
|
|
--in-review: #16a34a;
|
|
--triage: #dc2626;
|
|
--done: #4b5563;
|
|
|
|
--color-success: #16a34a;
|
|
--color-error: #dc2626;
|
|
--color-muted: #6b7280;
|
|
|
|
--shadow-sm: 0 1px 1px rgba(0, 0, 0, 0.1);
|
|
--shadow-md: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
--shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
--shadow-glow: 0 0 6px rgba(217, 119, 6, 0.3);
|
|
--glow-success: 0 0 8px rgba(22, 163, 74, 0.25);
|
|
--glow-warning: 0 0 8px rgba(217, 119, 6, 0.3);
|
|
--glow-danger: 0 0 8px rgba(220, 38, 38, 0.22);
|
|
--focus-ring: 0 0 0 2px rgba(217, 119, 6, 0.14);
|
|
--focus-ring-strong: 0 0 0 2px rgba(217, 119, 6, 0.24);
|
|
--shadow: var(--shadow-lg);
|
|
}
|
|
|
|
[data-color-theme="factory"] .card.agent-active {
|
|
border-color: var(--todo);
|
|
box-shadow:
|
|
0 0 6px rgba(245, 158, 11, 0.5),
|
|
0 0 12px rgba(245, 158, 11, 0.2);
|
|
animation: agent-glow-factory 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes agent-glow-factory {
|
|
0%,
|
|
100% {
|
|
box-shadow:
|
|
0 0 6px rgba(245, 158, 11, 0.5),
|
|
0 0 12px rgba(245, 158, 11, 0.2);
|
|
}
|
|
50% {
|
|
box-shadow:
|
|
0 0 10px rgba(245, 158, 11, 0.7),
|
|
0 0 20px rgba(245, 158, 11, 0.4);
|
|
}
|
|
}
|
|
|
|
[data-color-theme="factory"][data-theme="light"] .card.agent-active {
|
|
box-shadow:
|
|
0 0 6px rgba(217, 119, 6, 0.4),
|
|
0 0 12px rgba(217, 119, 6, 0.15);
|
|
animation: agent-glow-factory-light 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes agent-glow-factory-light {
|
|
0%,
|
|
100% {
|
|
box-shadow:
|
|
0 0 6px rgba(217, 119, 6, 0.4),
|
|
0 0 12px rgba(217, 119, 6, 0.15);
|
|
}
|
|
50% {
|
|
box-shadow:
|
|
0 0 10px rgba(217, 119, 6, 0.6),
|
|
0 0 20px rgba(217, 119, 6, 0.3);
|
|
}
|
|
}
|
|
|
|
[data-color-theme="factory"] .btn {
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
[data-color-theme="factory"] .btn-primary {
|
|
background: transparent;
|
|
border-color: var(--todo);
|
|
color: var(--todo);
|
|
box-shadow: none;
|
|
}
|
|
|
|
[data-color-theme="factory"] .btn-primary:hover {
|
|
background: var(--todo);
|
|
color: var(--bg);
|
|
box-shadow: var(--shadow-glow);
|
|
}
|
|
|
|
[data-color-theme="factory"] .card,
|
|
[data-color-theme="factory"] .column {
|
|
border-width: 2px;
|
|
}
|
|
|
|
[data-color-theme="factory"] .column-header h2 {
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
font-size: 12px;
|
|
}
|
|
|
|
[data-color-theme="factory"] .column-count,
|
|
[data-color-theme="factory"] .card-id {
|
|
font-family: var(--font-mono);
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* AYU - Popular code editor theme with dark and light variants */
|
|
[data-color-theme="ayu"] {
|
|
--bg: #0f1419;
|
|
--surface: #131d27;
|
|
--card: #1a2634;
|
|
--card-hover: #232d3b;
|
|
--border: #304357;
|
|
--text: #bfbdb6;
|
|
--text-muted: #565b66;
|
|
--text-dim: #4d5666;
|
|
|
|
--todo: #39bae6;
|
|
--in-progress: #ffb454;
|
|
--in-progress-rgb: 255, 180, 84;
|
|
--in-review: #7ee787;
|
|
--triage: #f2966b;
|
|
--done: #6c7986;
|
|
--color-success: #7ee787;
|
|
--color-error: #f07178;
|
|
--shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.5);
|
|
--shadow: var(--shadow-lg);
|
|
}
|
|
|
|
[data-color-theme="ayu"][data-theme="light"] {
|
|
--bg: #fafafa;
|
|
--surface: #f3f3f3;
|
|
--card: #ffffff;
|
|
--card-hover: #f0f0f0;
|
|
--border: #e0e0e0;
|
|
--text: #5c6166;
|
|
--text-muted: #8a9199;
|
|
--text-dim: #a0a0a0;
|
|
|
|
--todo: #007acc;
|
|
--in-progress: #ff8f40;
|
|
--in-progress-rgb: 255, 143, 64;
|
|
--in-review: #86b300;
|
|
--triage: #fa8d3e;
|
|
--done: #8a9199;
|
|
--color-success: #86b300;
|
|
--color-error: #f07178;
|
|
--shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.15);
|
|
--shadow: var(--shadow-lg);
|
|
}
|
|
|
|
/* ONE DARK - Atom's iconic dark theme */
|
|
[data-color-theme="one-dark"] {
|
|
--bg: #282c34;
|
|
--surface: #21252b;
|
|
--card: #2c313a;
|
|
--card-hover: #353b45;
|
|
--border: #3e4451;
|
|
--text: #abb2bf;
|
|
--text-muted: #636d83;
|
|
--text-dim: #5c6370;
|
|
|
|
--todo: #61afef;
|
|
--in-progress: #c678dd;
|
|
--in-progress-rgb: 198, 120, 221;
|
|
--in-review: #98c379;
|
|
--triage: #e5c07b;
|
|
--done: #828997;
|
|
--color-success: #98c379;
|
|
--color-error: #e06c75;
|
|
--shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.5);
|
|
--shadow: var(--shadow-lg);
|
|
}
|
|
|
|
/* ============================================================
|
|
THEME SELECTOR COMPONENT STYLES
|
|
============================================================ */
|
|
|
|
.theme-selector {
|
|
padding: 0 20px 20px;
|
|
}
|
|
|
|
.theme-mode-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 4px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.theme-mode-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 8px 16px;
|
|
background: none;
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
flex: 1;
|
|
}
|
|
|
|
.theme-mode-btn:hover {
|
|
color: var(--text);
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.theme-mode-btn.active {
|
|
background: var(--todo);
|
|
color: var(--bg);
|
|
}
|
|
|
|
.theme-mode-btn.active:hover {
|
|
background: var(--todo);
|
|
color: var(--bg);
|
|
}
|
|
|
|
.theme-section-title {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.theme-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.theme-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
.theme-option {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px;
|
|
background: var(--card);
|
|
border: 2px solid var(--border);
|
|
border-radius: var(--radius);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.theme-option:hover {
|
|
border-color: var(--todo);
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.theme-option.active {
|
|
border-color: var(--todo);
|
|
background: rgba(88, 166, 255, 0.1);
|
|
}
|
|
|
|
.theme-option-swatch {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: var(--radius);
|
|
border: 2px solid var(--border);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.theme-option-swatch::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, var(--bg) 50%, var(--surface) 50%);
|
|
}
|
|
|
|
.theme-option-label {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
text-align: center;
|
|
}
|
|
|
|
/* Theme preview swatch colors */
|
|
.theme-swatch-default {
|
|
--bg: #0d1117;
|
|
--surface: #161b22;
|
|
}
|
|
|
|
.theme-swatch-ocean {
|
|
--bg: #0a1929;
|
|
--surface: #132f4c;
|
|
}
|
|
|
|
.theme-swatch-forest {
|
|
--bg: #0d2818;
|
|
--surface: #1a472a;
|
|
}
|
|
|
|
.theme-swatch-sunset {
|
|
--bg: #2d1f1f;
|
|
--surface: #4a2c2c;
|
|
}
|
|
|
|
.theme-swatch-zen {
|
|
--bg: #0c0c0c;
|
|
--surface: #111111;
|
|
}
|
|
|
|
.theme-swatch-berry {
|
|
--bg: #1a0b2e;
|
|
--surface: #2d1b4e;
|
|
}
|
|
|
|
.theme-swatch-monochrome {
|
|
--bg: #0d0d0d;
|
|
--surface: #1a1a1a;
|
|
}
|
|
|
|
.theme-swatch-high-contrast {
|
|
--bg: #000000;
|
|
--surface: #0a0a0a;
|
|
}
|
|
|
|
.theme-swatch-industrial {
|
|
--bg: #0c0c0c;
|
|
--surface: #1a1a1a;
|
|
}
|
|
|
|
.theme-swatch-solarized {
|
|
--bg: #002b36;
|
|
--surface: #073642;
|
|
}
|
|
|
|
.theme-swatch-factory {
|
|
--bg: #0a0a0a;
|
|
--surface: #111111;
|
|
}
|
|
|
|
.theme-swatch-ayu {
|
|
--bg: #0f1419;
|
|
--surface: #131d27;
|
|
}
|
|
|
|
.theme-swatch-one-dark {
|
|
--bg: #282c34;
|
|
--surface: #21252b;
|
|
}
|
|
|
|
/* Light mode swatch overrides */
|
|
[data-theme="light"] .theme-swatch-factory {
|
|
--bg: #f5f5f5;
|
|
--surface: #ffffff;
|
|
}
|
|
|
|
[data-theme="light"] .theme-swatch-ayu {
|
|
--bg: #fafafa;
|
|
--surface: #f3f3f3;
|
|
}
|
|
|
|
[data-theme="light"] .theme-swatch-zen {
|
|
--bg: #f5f5f5;
|
|
--surface: #fafafa;
|
|
}
|
|
|
|
/* Reset to defaults button */
|
|
.theme-reset-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
margin-top: 20px;
|
|
padding: 10px 16px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
width: 100%;
|
|
}
|
|
|
|
.theme-reset-btn:hover {
|
|
background: var(--card-hover);
|
|
color: var(--text);
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
/* Theme current preview in settings */
|
|
.theme-current-preview {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.theme-preview-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
background: var(--surface);
|
|
border-radius: var(--radius);
|
|
color: var(--todo);
|
|
}
|
|
|
|
.theme-preview-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.theme-preview-label {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.theme-preview-value {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
/* === File Browser === */
|
|
.file-browser-modal {
|
|
width: 90vw;
|
|
max-width: 1200px;
|
|
height: 80vh;
|
|
max-height: 90vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.file-browser-split {
|
|
display: flex;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.file-browser-sidebar {
|
|
width: 260px;
|
|
min-width: 260px;
|
|
border-right: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.file-browser-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* File Browser Component */
|
|
.file-browser {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.file-browser-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
min-height: 44px;
|
|
}
|
|
|
|
.file-browser-up {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 8px;
|
|
background: none;
|
|
border: none;
|
|
color: var(--todo);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
border-radius: var(--radius);
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.file-browser-up:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.file-browser-path {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
font-family: var(--font-mono);
|
|
margin-left: auto;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.file-browser-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.file-browser-empty {
|
|
padding: 24px;
|
|
text-align: center;
|
|
color: var(--text-dim);
|
|
font-size: 13px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.file-browser-loading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
padding: 40px;
|
|
color: var(--text-muted);
|
|
flex: 1;
|
|
}
|
|
|
|
.file-browser-error {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 24px;
|
|
text-align: center;
|
|
color: var(--color-error);
|
|
flex: 1;
|
|
}
|
|
|
|
.file-browser-error p {
|
|
margin: 0;
|
|
}
|
|
|
|
/* File Node */
|
|
.file-node {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
cursor: pointer;
|
|
transition: background var(--transition-fast);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.file-node:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.file-node--directory {
|
|
color: var(--todo);
|
|
}
|
|
|
|
.file-node--file {
|
|
color: var(--text);
|
|
}
|
|
|
|
.file-node-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.file-node--directory .file-node-icon {
|
|
color: var(--todo);
|
|
}
|
|
|
|
.file-node-name {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-node-size {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
font-family: var(--font-mono);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.file-node-time {
|
|
color: var(--text-dim);
|
|
font-family: var(--font-mono);
|
|
flex-shrink: 0;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
/* File Editor Toolbar */
|
|
.file-browser-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
min-height: 44px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.file-path {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
font-family: var(--font-mono);
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-mtime {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.file-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.file-actions .btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* File Editor Container */
|
|
.file-editor-container {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background: var(--bg);
|
|
min-height: 0;
|
|
}
|
|
|
|
.file-editor-container .cm-editor {
|
|
height: 100%;
|
|
}
|
|
|
|
/* File Editor Toolbar */
|
|
.file-editor-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 8px 16px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.file-editor-mode-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.file-editor-mode-toggle .btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* File Editor Preview */
|
|
.file-editor-preview {
|
|
flex: 1;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 16px;
|
|
}
|
|
|
|
/* Textarea-based file editor */
|
|
.file-editor-textarea {
|
|
flex: 1;
|
|
min-height: 0;
|
|
width: 100%;
|
|
min-width: 100%;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: var(--font-mono);
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
padding: 16px;
|
|
border: none;
|
|
outline: none;
|
|
resize: none;
|
|
overflow: auto;
|
|
white-space: pre;
|
|
overflow-wrap: normal;
|
|
tab-size: 2;
|
|
}
|
|
|
|
.file-editor-textarea.file-editor-textarea--wrap {
|
|
white-space: pre-wrap;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.file-editor-textarea:focus {
|
|
outline: 1px solid var(--border);
|
|
outline-offset: -1px;
|
|
}
|
|
|
|
.file-editor-textarea::selection {
|
|
background: var(--todo);
|
|
color: var(--bg);
|
|
}
|
|
|
|
/* File States */
|
|
.file-error {
|
|
padding: 12px 16px;
|
|
background: rgba(248, 81, 73, 0.1);
|
|
border-left: 3px solid var(--color-error);
|
|
color: var(--color-error);
|
|
font-size: 13px;
|
|
margin: 12px 16px;
|
|
border-radius: 0 var(--radius) var(--radius) 0;
|
|
}
|
|
|
|
.file-binary-notice {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.file-loading {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.file-placeholder {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.placeholder-icon {
|
|
color: var(--text-dim);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* Keyboard Hints */
|
|
.keyboard-hints {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.keyboard-hints kbd {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
padding: 2px 6px;
|
|
font-size: 10px;
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
/* === File Browser Mobile Responsive === */
|
|
@media (max-width: 768px) {
|
|
.file-browser-modal {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
height: 100vh;
|
|
height: 100dvh;
|
|
max-height: 100vh;
|
|
max-height: 100dvh;
|
|
border-radius: 0;
|
|
border: none;
|
|
}
|
|
|
|
.file-browser-split {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.file-browser-sidebar {
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-height: 40vh;
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.file-browser-toolbar {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
padding: 10px 14px;
|
|
}
|
|
|
|
.file-path {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.file-actions {
|
|
width: 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.keyboard-hints {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.file-browser-split {
|
|
display: flex;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
|
|
|
|
/* === File Browser === */
|
|
.file-browser-modal {
|
|
width: 90vw;
|
|
max-width: 1200px;
|
|
height: 80vh;
|
|
max-height: 800px;
|
|
}
|
|
|
|
.file-browser-modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.file-browser-header-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.file-browser-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.file-browser-modal-header .modal-close {
|
|
position: static;
|
|
}
|
|
|
|
.file-browser-header-path {
|
|
color: var(--text-muted);
|
|
font-weight: 400;
|
|
font-size: 13px;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.file-browser-body {
|
|
display: flex;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.file-browser-sidebar {
|
|
width: 280px;
|
|
min-width: 280px;
|
|
border-right: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--surface);
|
|
}
|
|
|
|
.file-browser-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.file-browser {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.file-browser-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--bg);
|
|
}
|
|
|
|
.file-browser-up {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: none;
|
|
border: none;
|
|
color: var(--todo);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
padding: 4px;
|
|
}
|
|
|
|
.file-browser-up:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.file-browser-path {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.file-browser-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 4px 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.file-browser-empty {
|
|
padding: 24px;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
}
|
|
|
|
.file-browser-loading,
|
|
.file-browser-error {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
padding: 24px;
|
|
height: 100%;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.file-node {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.file-node:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.file-node-icon {
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.file-node--directory .file-node-icon {
|
|
color: var(--todo);
|
|
}
|
|
|
|
.file-node-name {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-node-size,
|
|
.file-node-time {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-browser-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface);
|
|
gap: 12px;
|
|
}
|
|
|
|
.file-browser-file-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.file-browser-mtime {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.file-browser-binary-indicator {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
background: var(--bg-tertiary);
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.file-browser-loading {
|
|
font-size: 11px;
|
|
color: var(--todo);
|
|
}
|
|
|
|
.file-browser-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.file-browser-error-banner {
|
|
background: rgba(248, 81, 73, 0.1);
|
|
color: var(--color-error);
|
|
padding: 8px 16px;
|
|
font-size: 13px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.file-editor-wrapper {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
background: var(--bg);
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.file-browser-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 8px 16px;
|
|
border-top: 1px solid var(--border);
|
|
background: var(--surface);
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.file-browser-unsaved {
|
|
color: var(--triage);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.file-browser-placeholder {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.file-browser-placeholder p {
|
|
font-size: 14px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Mobile responsive */
|
|
@media (max-width: 768px) {
|
|
.file-browser-modal {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.file-browser-body {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.file-browser-sidebar {
|
|
width: 100%;
|
|
height: 40%;
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
/* Mobile two-state view: show only list or editor at a time */
|
|
.file-browser-sidebar.mobile {
|
|
display: none;
|
|
}
|
|
|
|
.file-browser-sidebar.mobile.active {
|
|
display: flex;
|
|
flex: 1;
|
|
height: 100%;
|
|
max-height: none;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.file-browser-content.mobile {
|
|
display: none;
|
|
}
|
|
|
|
.file-browser-content.mobile.active {
|
|
display: flex;
|
|
flex: 1;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Back button styles */
|
|
.file-browser-back-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 12px;
|
|
background: transparent;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: background var(--transition-fast);
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.file-browser-back-button:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.file-browser-back-button:focus {
|
|
outline: none;
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
}
|
|
|
|
/* === Planning Mode Styles === */
|
|
.planning-modal-overlay {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.planning-modal {
|
|
width: 90vw;
|
|
max-width: 640px;
|
|
min-height: 400px;
|
|
max-height: 90vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.planning-modal .modal-header {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.planning-modal .text-muted {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.planning-modal-body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.planning-error {
|
|
flex-shrink: 0;
|
|
margin: 24px 24px 0;
|
|
}
|
|
|
|
.planning-view-scroll {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.planning-view-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding: 16px 24px 24px;
|
|
border-top: 1px solid var(--border);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Initial View */
|
|
.planning-initial {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
text-align: center;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.planning-intro {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
max-width: 520px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.planning-intro h4 {
|
|
font-size: 20px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.planning-intro p {
|
|
max-width: 480px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.planning-icon {
|
|
color: var(--triage);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.planning-description {
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
max-width: 480px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.planning-textarea {
|
|
width: 100%;
|
|
min-height: 120px;
|
|
padding: 12px;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text);
|
|
font-family: inherit;
|
|
font-size: 14px;
|
|
resize: vertical;
|
|
outline: none;
|
|
transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
|
|
}
|
|
|
|
.planning-textarea:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
|
|
.planning-char-count {
|
|
text-align: right;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.planning-initial .form-group,
|
|
.planning-summary-form .form-group {
|
|
width: 100%;
|
|
padding: 0;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.planning-initial .form-group,
|
|
.planning-examples {
|
|
max-width: 520px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.planning-initial .form-group {
|
|
text-align: left;
|
|
}
|
|
|
|
.planning-examples {
|
|
width: 100%;
|
|
}
|
|
|
|
.planning-examples-label {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 8px;
|
|
display: block;
|
|
}
|
|
|
|
.planning-example-chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.planning-example-chip {
|
|
padding: 8px 14px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition:
|
|
background var(--transition-fast),
|
|
border-color var(--transition-fast),
|
|
color var(--transition-fast),
|
|
transform var(--transition-fast),
|
|
box-shadow var(--transition-fast);
|
|
}
|
|
|
|
.planning-example-chip:hover {
|
|
background: var(--card-hover);
|
|
border-color: var(--todo);
|
|
color: var(--text);
|
|
transform: translateY(-1px);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
|
|
.planning-start-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.planning-initial .planning-view-footer {
|
|
width: 100%;
|
|
max-width: 568px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Question View */
|
|
.planning-question {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.planning-progress {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid var(--border);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.planning-progress-bar {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
.planning-progress-step {
|
|
height: 4px;
|
|
border-radius: 999px;
|
|
background: var(--border);
|
|
transition: background-color var(--transition-fast);
|
|
}
|
|
|
|
.planning-progress-step.active {
|
|
background: var(--todo);
|
|
}
|
|
|
|
.planning-progress-text {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.planning-question-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.planning-question-scroll {
|
|
gap: 20px;
|
|
}
|
|
|
|
.planning-question-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
|
|
.planning-question-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.planning-question-text {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.planning-question-desc {
|
|
font-size: 14px;
|
|
color: var(--text-muted);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* Options */
|
|
.planning-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.planning-option {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
padding: 14px 16px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
cursor: pointer;
|
|
transition:
|
|
background var(--transition-fast),
|
|
border-color var(--transition-fast),
|
|
box-shadow var(--transition-fast),
|
|
transform var(--transition-fast);
|
|
}
|
|
|
|
.planning-option--radio,
|
|
.planning-option--checkbox {
|
|
width: 100%;
|
|
}
|
|
|
|
.planning-option:hover {
|
|
background: var(--card-hover);
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.planning-option input[type="radio"],
|
|
.planning-option input[type="checkbox"] {
|
|
margin-top: 2px;
|
|
accent-color: var(--todo);
|
|
}
|
|
|
|
.planning-option-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.planning-option-label {
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
}
|
|
|
|
.planning-option-desc {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.planning-radio-group,
|
|
.planning-checkbox-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.planning-confirm-group {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.planning-confirm-btn {
|
|
flex: 1;
|
|
padding: 12px 24px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--surface);
|
|
color: var(--text);
|
|
}
|
|
|
|
.planning-confirm-btn.selected {
|
|
background: var(--todo);
|
|
color: var(--bg);
|
|
border-color: var(--todo);
|
|
}
|
|
|
|
/* Actions */
|
|
.planning-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 16px 24px 24px;
|
|
border-top: 1px solid var(--border);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.planning-actions .btn {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.planning-actions-primary {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.planning-back-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Summary View */
|
|
.planning-summary {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.planning-summary-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.planning-summary-icon {
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.planning-summary-scroll {
|
|
gap: 20px;
|
|
}
|
|
|
|
.planning-summary-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.planning-summary-form .form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 16px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
|
|
.planning-summary-form .form-group label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.planning-expand-btn {
|
|
margin-left: auto;
|
|
padding: 0;
|
|
background: none;
|
|
border: none;
|
|
color: var(--todo);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.planning-expand-btn:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.planning-size-selector {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.planning-size-btn {
|
|
min-width: 0;
|
|
padding: 14px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
cursor: pointer;
|
|
transition:
|
|
background var(--transition-fast),
|
|
border-color var(--transition-fast),
|
|
box-shadow var(--transition-fast),
|
|
transform var(--transition-fast);
|
|
}
|
|
|
|
.planning-size-btn:hover {
|
|
background: var(--card-hover);
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.planning-size-btn.selected {
|
|
background: var(--card-hover);
|
|
border-color: var(--todo);
|
|
box-shadow: inset 0 0 0 1px var(--todo);
|
|
}
|
|
|
|
.planning-size-label {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.planning-deps-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-content: flex-start;
|
|
gap: 8px;
|
|
max-height: 180px;
|
|
overflow-y: auto;
|
|
padding-right: 4px;
|
|
overscroll-behavior: contain;
|
|
}
|
|
|
|
.planning-dep-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
padding: 8px 12px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition:
|
|
background var(--transition-fast),
|
|
border-color var(--transition-fast),
|
|
box-shadow var(--transition-fast),
|
|
transform var(--transition-fast);
|
|
}
|
|
|
|
.planning-dep-chip:hover {
|
|
background: var(--card-hover);
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.planning-dep-chip.selected {
|
|
background: var(--card-hover);
|
|
border-color: var(--todo);
|
|
box-shadow: inset 0 0 0 1px var(--todo);
|
|
}
|
|
|
|
.planning-dep-chip input[type="checkbox"] {
|
|
accent-color: var(--todo);
|
|
}
|
|
|
|
.planning-dep-id {
|
|
font-family: var(--font-mono);
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.planning-dep-title {
|
|
color: var(--text);
|
|
max-width: 150px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.planning-deliverables {
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 0;
|
|
font-size: 14px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.planning-deliverables li {
|
|
position: relative;
|
|
padding-left: 16px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.planning-deliverables li::before {
|
|
content: "•";
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--todo);
|
|
}
|
|
|
|
.planning-summary-actions {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
/* Loading State */
|
|
.planning-loading {
|
|
display: flex;
|
|
flex: 1;
|
|
min-height: 0;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 300px;
|
|
gap: 16px;
|
|
padding: 24px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* AI Thinking Output Display */
|
|
.planning-thinking-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: 100%;
|
|
max-width: 600px;
|
|
}
|
|
|
|
.planning-thinking-toggle {
|
|
padding: 6px 12px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.planning-thinking-toggle:hover {
|
|
background: var(--card-hover);
|
|
color: var(--text);
|
|
}
|
|
|
|
.planning-thinking-output {
|
|
width: 100%;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px;
|
|
text-align: left;
|
|
}
|
|
|
|
.planning-thinking-output pre {
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
color: var(--text);
|
|
}
|
|
|
|
/* Subtask Drag-and-Drop Styles */
|
|
.subtask-item {
|
|
transition: opacity var(--transition-fast), transform var(--transition-fast);
|
|
}
|
|
|
|
.subtask-item-dragging {
|
|
opacity: 0.5;
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.subtask-item-drop-target {
|
|
background: rgba(88, 166, 255, 0.08);
|
|
border-color: var(--todo);
|
|
}
|
|
|
|
.subtask-item-drop-before {
|
|
position: relative;
|
|
}
|
|
|
|
.subtask-item-drop-before::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: var(--todo);
|
|
z-index: 1;
|
|
}
|
|
|
|
.subtask-item-drop-after {
|
|
position: relative;
|
|
}
|
|
|
|
.subtask-item-drop-after::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: var(--todo);
|
|
z-index: 1;
|
|
}
|
|
|
|
.subtask-item-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.subtask-drag-handle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: grab;
|
|
color: var(--text-dim);
|
|
transition: color var(--transition-fast);
|
|
user-select: none;
|
|
}
|
|
|
|
.subtask-drag-handle:hover {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.subtask-item-dragging .subtask-drag-handle {
|
|
cursor: grabbing;
|
|
color: var(--todo);
|
|
}
|
|
|
|
.subtask-item-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.subtask-item-actions .btn-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-dim);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.subtask-item-actions .btn-icon:hover:not(:disabled) {
|
|
background: var(--card-hover);
|
|
border-color: var(--border);
|
|
color: var(--text);
|
|
}
|
|
|
|
.subtask-item-actions .btn-icon:disabled {
|
|
opacity: 0.3;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.planning-modal {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
height: 100dvh;
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.planning-error {
|
|
margin: 16px 16px 0;
|
|
}
|
|
|
|
.planning-view-scroll {
|
|
padding: 16px;
|
|
gap: 20px;
|
|
}
|
|
|
|
.planning-view-footer,
|
|
.planning-actions {
|
|
padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
|
|
}
|
|
|
|
.planning-actions {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.planning-actions .btn,
|
|
.planning-start-btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.planning-actions-primary {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.planning-example-chips {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.planning-example-chip {
|
|
width: 100%;
|
|
text-align: left;
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
|
|
.planning-size-selector {
|
|
gap: 10px;
|
|
}
|
|
|
|
.planning-size-btn {
|
|
min-height: 72px;
|
|
padding: 12px 10px;
|
|
}
|
|
|
|
.planning-deps-list {
|
|
flex-direction: column;
|
|
flex-wrap: nowrap;
|
|
max-height: 200px;
|
|
}
|
|
|
|
.planning-dep-chip {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
|
|
.planning-dep-title {
|
|
max-width: none;
|
|
}
|
|
|
|
/* Planning thinking output mobile adjustments */
|
|
.planning-thinking-container {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.planning-thinking-output {
|
|
max-height: 200px;
|
|
padding: 12px;
|
|
}
|
|
|
|
.planning-thinking-output pre {
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Prevent mobile zoom on focus for planning text inputs (16px minimum) */
|
|
.planning-textarea {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
/* ============================================================
|
|
USAGE INDICATOR STYLES
|
|
============================================================ */
|
|
|
|
/* Modal sizing */
|
|
.usage-modal {
|
|
width: 520px;
|
|
max-width: 90vw;
|
|
}
|
|
|
|
.usage-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.usage-header-icon {
|
|
color: var(--in-progress);
|
|
}
|
|
|
|
/* Header actions with view toggle */
|
|
.usage-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* View mode toggle */
|
|
.usage-view-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
background: var(--card);
|
|
padding: 3px;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.usage-view-toggle-btn {
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.usage-view-toggle-btn:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.usage-view-toggle-btn.active {
|
|
background: var(--todo);
|
|
color: var(--bg);
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.usage-view-toggle-btn.active:hover {
|
|
background: var(--todo);
|
|
color: var(--bg);
|
|
}
|
|
|
|
/* Content area */
|
|
.usage-content {
|
|
max-height: 60vh;
|
|
overflow-y: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Provider cards */
|
|
.usage-providers {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.usage-provider {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 14px;
|
|
}
|
|
|
|
.usage-provider-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.usage-provider-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.usage-provider-icon {
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.usage-provider-name {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Status badges */
|
|
.usage-status-badge {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3px;
|
|
padding: 3px 8px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.usage-status-badge--connected {
|
|
background: rgba(63, 185, 80, 0.15);
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.usage-status-badge--error {
|
|
background: rgba(248, 81, 73, 0.15);
|
|
color: var(--color-error);
|
|
}
|
|
|
|
.usage-status-badge--not-configured {
|
|
background: rgba(139, 148, 158, 0.15);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Provider meta (plan, email) */
|
|
.usage-provider-meta {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.usage-provider-plan {
|
|
font-weight: 500;
|
|
color: var(--todo);
|
|
}
|
|
|
|
.usage-provider-email {
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
}
|
|
|
|
/* Provider error */
|
|
.usage-provider-error {
|
|
font-size: 12px;
|
|
color: var(--color-error);
|
|
background: rgba(248, 81, 73, 0.1);
|
|
border-left: 3px solid var(--color-error);
|
|
border-radius: 0 var(--radius) var(--radius) 0;
|
|
padding: 8px 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
/* Usage windows */
|
|
.usage-provider-windows {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.usage-window {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.usage-window-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.usage-window-label {
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
}
|
|
|
|
.usage-window-percentage {
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
/* Progress bar */
|
|
.usage-progress-bar {
|
|
height: 8px;
|
|
background: var(--border);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.usage-progress-fill {
|
|
height: 100%;
|
|
border-radius: 4px;
|
|
transition: width 0.3s ease, background-color 0.3s ease;
|
|
}
|
|
|
|
.usage-progress-fill--low {
|
|
background: var(--color-success);
|
|
}
|
|
|
|
.usage-progress-fill--medium {
|
|
background: var(--triage);
|
|
}
|
|
|
|
.usage-progress-fill--high {
|
|
background: var(--color-error);
|
|
}
|
|
|
|
/* Window footer */
|
|
.usage-window-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.usage-window-left {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.usage-window-reset {
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Pace marker and text */
|
|
.usage-progress-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.usage-pace-marker {
|
|
position: absolute;
|
|
top: -1px;
|
|
width: 2px;
|
|
height: 10px;
|
|
background: var(--text-muted);
|
|
border-radius: 1px;
|
|
z-index: 2;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.usage-pace-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 11px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.pace-icon {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.pace-text {
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ahead = over pace, consuming faster than expected (warning - red) */
|
|
.pace-ahead {
|
|
color: var(--color-error);
|
|
}
|
|
|
|
/* on-track = good/expected usage (unchanged) */
|
|
.pace-ontrack {
|
|
color: var(--color-success);
|
|
}
|
|
|
|
/* behind = under pace, consuming slower than expected (positive - green) */
|
|
.pace-behind {
|
|
color: var(--color-success);
|
|
}
|
|
|
|
/* Empty state */
|
|
.usage-provider-empty {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
/* Loading skeleton */
|
|
.usage-skeleton {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.usage-skeleton-provider {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 14px;
|
|
}
|
|
|
|
.usage-skeleton-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.usage-skeleton-icon,
|
|
.usage-skeleton-name,
|
|
.usage-skeleton-badge,
|
|
.usage-skeleton-bar,
|
|
.usage-skeleton-text {
|
|
background: var(--border);
|
|
border-radius: 4px;
|
|
animation: skeleton-pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
.usage-skeleton-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.usage-skeleton-name {
|
|
flex: 1;
|
|
height: 14px;
|
|
max-width: 120px;
|
|
}
|
|
|
|
.usage-skeleton-badge {
|
|
width: 80px;
|
|
height: 18px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.usage-skeleton-bar {
|
|
height: 8px;
|
|
width: 100%;
|
|
border-radius: 4px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.usage-skeleton-text {
|
|
height: 12px;
|
|
width: 60%;
|
|
}
|
|
|
|
@keyframes skeleton-pulse {
|
|
0%, 100% {
|
|
opacity: 0.4;
|
|
}
|
|
50% {
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
/* Error state */
|
|
.usage-error {
|
|
padding: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.usage-error p:first-child {
|
|
font-weight: 600;
|
|
color: var(--color-error);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.usage-error-message {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* Empty state */
|
|
.usage-empty {
|
|
padding: 32px 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.usage-empty p:first-child {
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.usage-empty-hint {
|
|
font-size: 12px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
/* Actions */
|
|
.usage-actions {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.usage-last-updated {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
flex: 1;
|
|
}
|
|
|
|
/* Mobile responsive */
|
|
@media (max-width: 768px) {
|
|
.usage-modal {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
max-height: 100vh;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.usage-content {
|
|
max-height: calc(100vh - 120px);
|
|
}
|
|
|
|
.usage-actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.usage-last-updated {
|
|
width: 100%;
|
|
text-align: center;
|
|
order: 3;
|
|
margin-top: 8px;
|
|
}
|
|
}
|
|
|
|
/* === Spec Editor === */
|
|
.spec-editor {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Double-click to edit cursor - only when not readOnly */
|
|
.spec-editor:not(.spec-editor-readonly) .markdown-body {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Toolbar - fixed at top */
|
|
.spec-editor-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 8px 0;
|
|
border-bottom: 1px solid var(--border);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.spec-editor-mode-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.spec-editor-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Actions row for Save/Cancel in Definition tab edit mode */
|
|
.spec-editor-actions-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
/* Edit mode container in Definition tab */
|
|
.spec-editor-edit-mode {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Content area - flexible and scrollable */
|
|
.spec-editor-content {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 12px 0;
|
|
}
|
|
|
|
/* Textarea - fills available space in edit mode */
|
|
.spec-editor-textarea {
|
|
width: 100%;
|
|
min-height: 200px;
|
|
height: 100%;
|
|
flex: 1;
|
|
padding: 12px;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text);
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
resize: none;
|
|
outline: none;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
|
|
.spec-editor-textarea:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
|
|
.spec-editor-textarea:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Empty state */
|
|
.spec-editor-empty {
|
|
padding: 24px;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Keyboard hint - stays above revision section */
|
|
.spec-editor-hint {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 8px 0;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
border-top: 1px solid var(--border);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.spec-editor-hint kbd {
|
|
display: inline-block;
|
|
padding: 2px 6px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
/* AI Revision section - fixed at bottom */
|
|
.spec-editor-revision {
|
|
padding: 16px 0;
|
|
border-top: 1px solid var(--border);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.spec-editor-revision h4 {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
margin: 0 0 4px 0;
|
|
color: var(--text);
|
|
}
|
|
|
|
.spec-editor-revision-help {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin: 0 0 8px 0;
|
|
}
|
|
|
|
.spec-editor-feedback {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text);
|
|
font-family: inherit;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
resize: vertical;
|
|
outline: none;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
|
|
.spec-editor-feedback:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
|
|
.spec-editor-feedback:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.spec-editor-revision-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.spec-editor-char-count {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
/* Mobile responsive */
|
|
@media (max-width: 768px) {
|
|
.spec-editor-content {
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.spec-editor-textarea {
|
|
min-height: 150px;
|
|
padding: 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.spec-editor-toolbar {
|
|
padding: 6px 0;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.spec-editor-hint {
|
|
padding: 6px 0;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.spec-editor-revision {
|
|
padding: 12px 0;
|
|
}
|
|
|
|
.spec-editor-revision h4 {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.spec-editor-revision-help {
|
|
font-size: 11px;
|
|
}
|
|
}
|
|
|
|
/* === Quick Entry Box === */
|
|
.quick-entry-box {
|
|
padding: 8px 10px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.quick-entry-input {
|
|
width: 100%;
|
|
padding: 6px 8px;
|
|
background: transparent;
|
|
border: none;
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
line-height: 1.4;
|
|
font-family: inherit;
|
|
outline: none;
|
|
resize: none;
|
|
min-height: 36px;
|
|
max-height: 200px;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast), min-height 0.2s ease;
|
|
}
|
|
|
|
.quick-entry-input--expanded {
|
|
min-height: 80px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.quick-entry-input--expanded {
|
|
min-height: 60px;
|
|
}
|
|
}
|
|
|
|
.quick-entry-input:focus {
|
|
border-bottom-color: var(--triage);
|
|
box-shadow: 0 1px 0 0 var(--triage);
|
|
}
|
|
|
|
.quick-entry-input::placeholder {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.quick-entry-input:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Quick Entry Box expanded controls */
|
|
.quick-entry-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid var(--border);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.quick-entry-controls-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: 1 1 auto;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.quick-entry-model-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.quick-entry-subtasks-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.quick-entry-subtasks-toggle input[type="checkbox"] {
|
|
width: 14px;
|
|
height: 14px;
|
|
margin: 0;
|
|
accent-color: var(--todo);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.quick-entry-hint {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
margin-left: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.quick-entry-model-trigger {
|
|
font-size: 12px;
|
|
padding: 3px 8px;
|
|
}
|
|
|
|
/* Responsive layout for quick entry controls */
|
|
@media (max-width: 640px) {
|
|
.quick-entry-controls {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.quick-entry-controls-left {
|
|
width: 100%;
|
|
}
|
|
|
|
.quick-entry-hint {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
/* Quick Entry Box main row with toggle */
|
|
.quick-entry-main-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
}
|
|
|
|
.quick-entry-main-row .quick-entry-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.quick-entry-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 6px;
|
|
height: 32px;
|
|
width: 32px;
|
|
flex-shrink: 0;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.quick-entry-toggle:hover {
|
|
background: var(--card-hover);
|
|
border-color: var(--border);
|
|
color: var(--text);
|
|
}
|
|
|
|
.quick-entry-toggle:focus-visible {
|
|
outline: 2px solid var(--focus-ring);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Expanded state - normal padding */
|
|
.quick-entry-box--expanded {
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.quick-entry-box--expanded .quick-entry-input {
|
|
min-height: 36px;
|
|
}
|
|
|
|
/* Collapsed state - minimal padding */
|
|
.quick-entry-box--collapsed {
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
.quick-entry-box--collapsed .quick-entry-input {
|
|
min-height: 32px;
|
|
border-bottom-color: transparent;
|
|
}
|
|
|
|
.quick-entry-box--collapsed .quick-entry-input:focus {
|
|
border-bottom-color: var(--triage);
|
|
}
|
|
|
|
/* Responsive adjustments for quick entry */
|
|
@media (max-width: 640px) {
|
|
.quick-entry-controls {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.quick-entry-controls-left {
|
|
width: 100%;
|
|
}
|
|
|
|
.quick-entry-hint {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.quick-entry-toggle {
|
|
height: 28px;
|
|
width: 28px;
|
|
padding: 4px;
|
|
}
|
|
}
|
|
|
|
/* === New Task Modal === */
|
|
.new-task-modal .modal-body {
|
|
padding: 20px 24px;
|
|
overflow-y: auto;
|
|
max-height: calc(80vh - 120px);
|
|
}
|
|
|
|
.new-task-modal .form-group {
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
padding: 0;
|
|
}
|
|
|
|
.new-task-modal .form-group:last-of-type {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.new-task-modal .form-group label {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.new-task-modal .checkbox-label {
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
.new-task-modal .form-group small {
|
|
display: block;
|
|
margin-top: 8px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.new-task-modal textarea {
|
|
min-height: 80px;
|
|
transition: height 0.1s ease-out;
|
|
}
|
|
|
|
.selected-deps {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.dep-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 3px 8px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
font-size: 12px;
|
|
color: var(--text);
|
|
font-family: var(--font-mono);
|
|
max-width: 100%;
|
|
}
|
|
|
|
.dep-chip-remove {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 16px;
|
|
height: 16px;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
padding: 0;
|
|
margin-left: 2px;
|
|
border-radius: 50%;
|
|
transition: background 0.1s, color 0.1s;
|
|
}
|
|
|
|
.dep-chip-remove:hover {
|
|
color: var(--color-error);
|
|
background: rgba(248, 81, 73, 0.1);
|
|
}
|
|
|
|
.model-select-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.model-select-row:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.model-select-label {
|
|
width: 70px;
|
|
flex-shrink: 0;
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
text-align: right;
|
|
}
|
|
|
|
/* ── Scheduled Tasks ──────────────────────────────────────────────── */
|
|
|
|
.schedule-modal-content {
|
|
padding: 16px 20px;
|
|
overflow-y: auto;
|
|
max-height: 70vh;
|
|
}
|
|
|
|
.schedule-empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
padding: 48px 24px;
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.schedule-empty-state h4 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.schedule-empty-state p {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.schedule-empty-state .btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.schedule-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.schedule-card {
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
padding: 14px 16px;
|
|
background: var(--card-bg);
|
|
transition: border-color 0.15s;
|
|
}
|
|
|
|
.schedule-card:hover {
|
|
border-color: var(--border-hover, var(--border));
|
|
}
|
|
|
|
.schedule-card.disabled {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.schedule-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
|
|
.schedule-card-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.schedule-card-name-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.schedule-card-name {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.schedule-type-badge {
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
padding: 1px 7px;
|
|
border-radius: 999px;
|
|
border: 1px solid;
|
|
line-height: 1.5;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.schedule-card-description {
|
|
margin: 4px 0 0;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.schedule-card-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.schedule-card-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-top: 10px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.schedule-meta-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.schedule-meta-label {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.schedule-cron {
|
|
font-size: 11px;
|
|
padding: 1px 5px;
|
|
background: var(--bg-secondary, rgba(128, 128, 128, 0.1));
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.schedule-run-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
padding: 1px 7px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.schedule-run-badge.success {
|
|
color: var(--color-green, #22c55e);
|
|
background: rgba(34, 197, 94, 0.1);
|
|
}
|
|
|
|
.schedule-run-badge.failure {
|
|
color: var(--color-red, #ef4444);
|
|
background: rgba(239, 68, 68, 0.1);
|
|
}
|
|
|
|
.schedule-run-duration {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Run History */
|
|
.schedule-card-history {
|
|
margin-top: 10px;
|
|
border-top: 1px solid var(--border);
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.schedule-history-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 2px 0;
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
|
|
.schedule-history-toggle:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.schedule-history-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.schedule-history-item {
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.schedule-history-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
padding: 4px 6px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.schedule-history-header:hover {
|
|
background: var(--bg-secondary, rgba(128, 128, 128, 0.08));
|
|
}
|
|
|
|
.schedule-history-status.success {
|
|
color: var(--color-green, #22c55e);
|
|
}
|
|
|
|
.schedule-history-status.failure {
|
|
color: var(--color-red, #ef4444);
|
|
}
|
|
|
|
.schedule-history-time {
|
|
flex: 1;
|
|
}
|
|
|
|
.schedule-history-duration {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.schedule-history-detail {
|
|
padding: 4px 6px 8px 26px;
|
|
}
|
|
|
|
.schedule-history-output {
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
margin: 0;
|
|
padding: 8px;
|
|
background: var(--bg-secondary, rgba(128, 128, 128, 0.08));
|
|
border-radius: 4px;
|
|
overflow-x: auto;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.schedule-history-error {
|
|
font-size: 11px;
|
|
color: var(--color-red, #ef4444);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.schedule-history-more {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
padding: 4px 6px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Schedule card: step count badge */
|
|
.schedule-steps-badge {
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.schedule-meta-command-preview {
|
|
max-width: 200px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.schedule-command-preview {
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 200px;
|
|
}
|
|
|
|
/* Step result indicators (dots in run history header) */
|
|
.step-results-indicator {
|
|
display: inline-flex;
|
|
gap: 3px;
|
|
align-items: center;
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.step-result-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
|
|
.step-result-dot.success {
|
|
background: var(--color-green, #22c55e);
|
|
}
|
|
|
|
.step-result-dot.failure {
|
|
background: var(--color-red, #ef4444);
|
|
}
|
|
|
|
/* Per-step results in run history detail */
|
|
.schedule-step-results {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
margin-bottom: 8px;
|
|
padding: 6px;
|
|
border-radius: 4px;
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.schedule-step-result {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.schedule-step-result-status {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.schedule-step-result.success .schedule-step-result-status {
|
|
color: var(--color-green, #22c55e);
|
|
}
|
|
|
|
.schedule-step-result.failure .schedule-step-result-status {
|
|
color: var(--color-red, #ef4444);
|
|
}
|
|
|
|
.schedule-step-result-name {
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.schedule-step-result-error {
|
|
color: var(--color-red, #ef4444);
|
|
font-size: 10px;
|
|
}
|
|
|
|
/* Step type badges */
|
|
.step-type-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.step-type-command {
|
|
color: var(--color-blue, #3b82f6);
|
|
background: color-mix(in srgb, var(--color-blue, #3b82f6) 12%, transparent);
|
|
}
|
|
|
|
.step-type-ai-prompt {
|
|
color: var(--color-purple, #a855f7);
|
|
background: color-mix(in srgb, var(--color-purple, #a855f7) 12%, transparent);
|
|
}
|
|
|
|
/* Steps editor */
|
|
.steps-editor {
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.steps-editor-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.steps-editor-title {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.steps-empty-state {
|
|
padding: 16px;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
border: 1px dashed var(--border);
|
|
border-radius: 6px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.steps-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.step-card {
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.step-card-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.step-card-drag {
|
|
color: var(--text-muted);
|
|
cursor: grab;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.step-card-index {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
min-width: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.step-card-name {
|
|
flex: 1;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.step-card-flag {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.step-card-actions {
|
|
display: flex;
|
|
gap: 2px;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Step editor inline form */
|
|
.step-editor {
|
|
padding: 12px;
|
|
}
|
|
|
|
.step-editor .form-group {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.step-editor-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
/* Steps add buttons */
|
|
.steps-add-buttons {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.steps-add-buttons .btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
/* Schedule form mode toggle */
|
|
.schedule-mode-toggle {
|
|
display: flex;
|
|
gap: 0;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.schedule-mode-btn {
|
|
flex: 1;
|
|
padding: 6px 12px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
border: none;
|
|
background: var(--bg-secondary);
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.schedule-mode-btn:hover {
|
|
background: var(--bg-tertiary, var(--bg-secondary));
|
|
}
|
|
|
|
.schedule-mode-btn.active {
|
|
background: var(--accent-color, #3b82f6);
|
|
color: white;
|
|
}
|
|
|
|
.form-group-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.form-group-row .form-group {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Schedule form within modal */
|
|
.schedule-form {
|
|
padding: 0;
|
|
}
|
|
|
|
.schedule-form .modal-actions {
|
|
padding: 16px 0 0;
|
|
border-top: 1px solid var(--border);
|
|
margin-top: 16px;
|
|
}
|
|
|
|
/* ── Activity Log Modal ─────────────────────────────────────────── */
|
|
|
|
.activity-log-modal {
|
|
max-width: 600px;
|
|
max-height: 80vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.activity-log-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--bg-secondary);
|
|
border-radius: 12px 12px 0 0;
|
|
}
|
|
|
|
.activity-log-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
}
|
|
|
|
.activity-log-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.activity-log-filter {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 10px;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.activity-log-filter-select {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
outline: none;
|
|
}
|
|
|
|
.activity-log-refresh,
|
|
.activity-log-clear,
|
|
.activity-log-close {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
transition: background var(--transition-fast), color var(--transition-fast);
|
|
}
|
|
|
|
.activity-log-refresh:hover,
|
|
.activity-log-clear:hover {
|
|
background: var(--card-hover);
|
|
color: var(--text);
|
|
}
|
|
|
|
.activity-log-close:hover {
|
|
background: var(--color-red, rgba(239, 68, 68, 0.1));
|
|
color: var(--color-red, #ef4444);
|
|
}
|
|
|
|
.activity-log-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 16px 20px;
|
|
min-height: 300px;
|
|
}
|
|
|
|
.activity-log-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 60px 20px;
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.activity-log-empty-icon {
|
|
opacity: 0.3;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.activity-log-empty p {
|
|
font-size: 14px;
|
|
margin: 0;
|
|
}
|
|
|
|
.activity-log-error {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
background: var(--color-red, rgba(239, 68, 68, 0.1));
|
|
color: var(--color-red, #ef4444);
|
|
border-radius: 8px;
|
|
margin-bottom: 16px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.activity-log-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.activity-log-entry {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 12px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.activity-log-entry-icon {
|
|
flex-shrink: 0;
|
|
width: 28px;
|
|
height: 28px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--bg);
|
|
border-radius: 6px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.activity-icon {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.activity-icon.created {
|
|
color: var(--todo, #58a6ff);
|
|
}
|
|
|
|
.activity-icon.moved {
|
|
color: var(--in-progress, #f0883e);
|
|
}
|
|
|
|
.activity-icon.updated {
|
|
color: var(--info, #79c0ff);
|
|
}
|
|
|
|
.activity-icon.deleted {
|
|
color: var(--color-red, #ef4444);
|
|
}
|
|
|
|
.activity-icon.merged {
|
|
color: var(--done, #3fb950);
|
|
}
|
|
|
|
.activity-icon.failed {
|
|
color: var(--color-red, #ef4444);
|
|
}
|
|
|
|
.activity-icon.settings {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.activity-log-entry-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.activity-log-entry-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.activity-log-entry-type {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.activity-log-entry-time {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.activity-log-entry-details {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.activity-log-task-link {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--todo, #58a6ff);
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.activity-log-task-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.activity-log-task-title {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
}
|
|
|
|
.activity-log-entry-text {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.activity-log-entry-metadata {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.activity-log-metadata-item {
|
|
font-size: 11px;
|
|
padding: 2px 8px;
|
|
background: var(--bg);
|
|
border-radius: 4px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.activity-log-metadata-item.success {
|
|
color: var(--done, #3fb950);
|
|
background: rgba(63, 185, 80, 0.1);
|
|
}
|
|
|
|
.activity-log-metadata-item.error {
|
|
color: var(--color-red, #ef4444);
|
|
background: rgba(239, 68, 68, 0.1);
|
|
}
|
|
|
|
.activity-log-load-more {
|
|
width: 100%;
|
|
padding: 12px;
|
|
margin-top: 16px;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.activity-log-load-more:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.activity-log-loading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.activity-log-loading .spin {
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* Confirmation dialog */
|
|
.activity-log-confirm-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.activity-log-confirm-dialog {
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
max-width: 360px;
|
|
text-align: center;
|
|
}
|
|
|
|
.activity-log-confirm-dialog h3 {
|
|
margin: 0 0 8px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
}
|
|
|
|
.activity-log-confirm-dialog p {
|
|
margin: 0 0 20px;
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.activity-log-confirm-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.activity-log-confirm-cancel,
|
|
.activity-log-confirm-clear {
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.activity-log-confirm-cancel {
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
color: var(--text);
|
|
}
|
|
|
|
.activity-log-confirm-cancel:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.activity-log-confirm-clear {
|
|
background: var(--color-red, #ef4444);
|
|
border: 1px solid var(--color-red, #ef4444);
|
|
color: white;
|
|
}
|
|
|
|
.activity-log-confirm-clear:hover {
|
|
background: #dc2626;
|
|
border-color: #dc2626;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════════════
|
|
GIT MANAGER MODAL
|
|
══════════════════════════════════════════════════════════════════ */
|
|
|
|
/* Modal size override */
|
|
.gm-modal {
|
|
width: 900px;
|
|
max-width: 95vw;
|
|
max-height: 85vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Main layout: sidebar + content */
|
|
.gm-layout {
|
|
display: flex;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* ── Sidebar ── */
|
|
|
|
.gm-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 160px;
|
|
min-width: 160px;
|
|
border-right: 1px solid var(--border);
|
|
background: rgba(0, 0, 0, 0.05);
|
|
padding: var(--space-sm) 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.gm-nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-sm) var(--space-lg);
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
text-align: left;
|
|
width: 100%;
|
|
border-left: 3px solid transparent;
|
|
}
|
|
|
|
.gm-nav-item:hover {
|
|
color: var(--text);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.gm-nav-item.active {
|
|
color: var(--text);
|
|
background: rgba(88, 166, 255, 0.08);
|
|
border-left-color: var(--todo);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ── Header Actions ── */
|
|
|
|
.gm-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
/* ── Content Area ── */
|
|
|
|
.gm-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: var(--space-lg);
|
|
min-height: 0;
|
|
position: relative;
|
|
}
|
|
|
|
/* ── Loading / Error ── */
|
|
|
|
.gm-loading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-2xl);
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.gm-error {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-lg);
|
|
background: rgba(248, 81, 73, 0.1);
|
|
border: 1px solid rgba(248, 81, 73, 0.2);
|
|
border-radius: var(--radius-md);
|
|
color: var(--color-error);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.gm-error .btn {
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* ── Panel Container ── */
|
|
|
|
.gm-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.gm-panel-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.gm-panel-header h4 {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
margin: 0;
|
|
}
|
|
|
|
/* ── Empty State ── */
|
|
|
|
.gm-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: var(--space-xl);
|
|
color: var(--text-dim);
|
|
font-size: 13px;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* ── Status Panel ── */
|
|
|
|
.gm-status-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.gm-status-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-xs);
|
|
padding: var(--space-md);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.gm-status-label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.gm-status-value {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
font-size: 14px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.gm-status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
padding: 2px 8px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.gm-status-badge.clean {
|
|
color: var(--color-success);
|
|
background: rgba(63, 185, 80, 0.1);
|
|
}
|
|
|
|
.gm-status-badge.dirty {
|
|
color: var(--color-error);
|
|
background: rgba(248, 81, 73, 0.1);
|
|
}
|
|
|
|
.gm-hash {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
padding: 2px 6px;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--todo);
|
|
}
|
|
|
|
.gm-ahead {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
color: var(--color-success);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.gm-behind {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
color: var(--color-error);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.gm-in-sync {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
color: var(--color-success);
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* ── Icon Button ── */
|
|
|
|
.gm-icon-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
background: none;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.gm-icon-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: var(--text);
|
|
}
|
|
|
|
/* ── Search Box ── */
|
|
|
|
.gm-search-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
padding: 4px 8px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
flex: 0 0 auto;
|
|
max-width: 200px;
|
|
}
|
|
|
|
.gm-search-box input {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text);
|
|
font-size: 12px;
|
|
outline: none;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.gm-search-box svg {
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ── Changes Panel ── */
|
|
|
|
.gm-changes-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
padding: var(--space-sm) var(--space-md);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.gm-branch-indicator {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
}
|
|
|
|
.gm-dirty-badge {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
padding: 2px 6px;
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(248, 81, 73, 0.1);
|
|
color: var(--color-error);
|
|
}
|
|
|
|
/* ── File Section ── */
|
|
|
|
.gm-file-section {
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.gm-file-section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--space-sm) var(--space-md);
|
|
background: rgba(0, 0, 0, 0.1);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.gm-file-section-header h5 {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3px;
|
|
color: var(--text-muted);
|
|
margin: 0;
|
|
}
|
|
|
|
.gm-file-section-actions {
|
|
display: flex;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
/* ── File List ── */
|
|
|
|
.gm-file-list {
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.gm-file-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-xs) var(--space-md);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
|
|
font-size: 13px;
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.gm-file-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.gm-file-item:hover {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.gm-file-item.staged {
|
|
background: rgba(63, 185, 80, 0.03);
|
|
}
|
|
|
|
.gm-file-checkbox {
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.gm-file-checkbox input[type="checkbox"] {
|
|
width: 14px;
|
|
height: 14px;
|
|
accent-color: var(--todo);
|
|
}
|
|
|
|
.gm-file-name {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.gm-file-icon {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.gm-file-added { color: var(--color-success); }
|
|
.gm-file-modified { color: var(--todo); }
|
|
.gm-file-deleted { color: var(--color-error); }
|
|
.gm-file-renamed { color: var(--in-progress); }
|
|
|
|
.gm-file-badge {
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
padding: 1px 4px;
|
|
border-radius: 3px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.gm-file-badge-added,
|
|
.gm-file-badge-untracked {
|
|
background: rgba(63, 185, 80, 0.15);
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.gm-file-badge-modified {
|
|
background: rgba(88, 166, 255, 0.15);
|
|
color: var(--todo);
|
|
}
|
|
|
|
.gm-file-badge-deleted {
|
|
background: rgba(248, 81, 73, 0.15);
|
|
color: var(--color-error);
|
|
}
|
|
|
|
.gm-file-badge-renamed,
|
|
.gm-file-badge-copied {
|
|
background: rgba(188, 140, 255, 0.15);
|
|
color: var(--in-progress);
|
|
}
|
|
|
|
/* ── Diff Viewer ── */
|
|
|
|
.gm-diff-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.gm-diff-viewer {
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.gm-diff-stat {
|
|
padding: var(--space-sm) var(--space-md);
|
|
background: rgba(0, 0, 0, 0.1);
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
border-bottom: 1px solid var(--border);
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.gm-diff-patch {
|
|
padding: var(--space-sm) var(--space-md);
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
color: var(--text);
|
|
max-height: 300px;
|
|
overflow: auto;
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.gm-diff-loading {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-lg);
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.gm-diff-error {
|
|
padding: var(--space-md);
|
|
color: var(--color-error);
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* ── Commit Form ── */
|
|
|
|
.gm-commit-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-md);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.gm-commit-input {
|
|
width: 100%;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text);
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
padding: var(--space-sm);
|
|
resize: vertical;
|
|
min-height: 60px;
|
|
outline: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.gm-commit-input:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
|
|
.gm-commit-actions {
|
|
display: flex;
|
|
gap: var(--space-sm);
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
/* ── Commits Panel ── */
|
|
|
|
.gm-commits-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.gm-commit-item {
|
|
display: flex;
|
|
gap: var(--space-sm);
|
|
position: relative;
|
|
}
|
|
|
|
.gm-commit-graph {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 20px;
|
|
flex-shrink: 0;
|
|
padding-top: 12px;
|
|
}
|
|
|
|
.gm-commit-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background: var(--todo);
|
|
border: 2px solid var(--card);
|
|
flex-shrink: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.gm-commit-line {
|
|
width: 2px;
|
|
flex: 1;
|
|
background: var(--border);
|
|
margin-top: -1px;
|
|
}
|
|
|
|
.gm-commit-body {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding-bottom: var(--space-sm);
|
|
}
|
|
|
|
.gm-commit-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
width: 100%;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
padding: var(--space-xs) var(--space-sm);
|
|
border-radius: var(--radius-sm);
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.gm-commit-header:hover {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.gm-commit-top-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.gm-commit-message {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.gm-commit-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.gm-merge-badge {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
padding: 1px 5px;
|
|
border-radius: 3px;
|
|
background: rgba(188, 140, 255, 0.15);
|
|
color: var(--in-progress);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.gm-commit-actions-row {
|
|
display: flex;
|
|
gap: var(--space-xs);
|
|
padding-left: var(--space-sm);
|
|
}
|
|
|
|
.gm-commit-diff {
|
|
margin-top: var(--space-xs);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.gm-load-more {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: var(--space-sm);
|
|
background: none;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
width: 100%;
|
|
margin-top: var(--space-sm);
|
|
}
|
|
|
|
.gm-load-more:hover {
|
|
color: var(--text);
|
|
border-color: var(--text-muted);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
/* ── Create Form (branches, stashes) ── */
|
|
|
|
.gm-create-form {
|
|
display: flex;
|
|
gap: var(--space-sm);
|
|
align-items: center;
|
|
}
|
|
|
|
.gm-create-form input,
|
|
.gm-create-form select {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: 6px 10px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text);
|
|
font-size: 12px;
|
|
outline: none;
|
|
}
|
|
|
|
.gm-create-form input:focus,
|
|
.gm-create-form select:focus {
|
|
border-color: var(--todo);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
|
|
.gm-branch-select {
|
|
max-width: 150px;
|
|
}
|
|
|
|
/* ── Branches List ── */
|
|
|
|
.gm-branches-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: 350px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.gm-branch-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--space-sm) var(--space-md);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.gm-branch-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.gm-branch-item:hover {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.gm-branch-item.current {
|
|
background: rgba(88, 166, 255, 0.05);
|
|
}
|
|
|
|
.gm-branch-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.gm-branch-name {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
}
|
|
|
|
.gm-current-icon {
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.gm-branch-remote {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.gm-branch-date {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.gm-branch-actions {
|
|
display: flex;
|
|
gap: var(--space-xs);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ── Worktrees Panel ── */
|
|
|
|
.gm-worktree-stats {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.gm-stat-separator {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.gm-worktrees-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.gm-worktree-item {
|
|
padding: var(--space-sm) var(--space-md);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.gm-worktree-item:hover {
|
|
background: var(--card-hover);
|
|
}
|
|
|
|
.gm-worktree-item.main {
|
|
border-left: 3px solid var(--color-success);
|
|
}
|
|
|
|
.gm-worktree-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.gm-worktree-path-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.gm-worktree-path {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.gm-worktree-detail {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.gm-worktree-branch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.gm-worktree-task {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
padding: 1px 6px;
|
|
border-radius: 3px;
|
|
background: rgba(88, 166, 255, 0.12);
|
|
color: var(--todo);
|
|
}
|
|
|
|
.gm-badge {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
padding: 1px 5px;
|
|
border-radius: 3px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.gm-badge.main {
|
|
background: rgba(63, 185, 80, 0.15);
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.gm-badge.bare {
|
|
background: rgba(139, 148, 158, 0.15);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ── Stash Panel ── */
|
|
|
|
.gm-stash-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.gm-stash-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: var(--space-md);
|
|
padding: var(--space-sm) var(--space-md);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.gm-stash-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.gm-stash-ref {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--todo);
|
|
}
|
|
|
|
.gm-stash-message {
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.gm-stash-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.gm-stash-branch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
.gm-stash-actions {
|
|
display: flex;
|
|
gap: var(--space-xs);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ── Remote Panel ── */
|
|
|
|
.gm-remote-status {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.gm-remote-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-sm) var(--space-md);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.gm-remote-indicator.ahead {
|
|
background: rgba(63, 185, 80, 0.08);
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.gm-remote-indicator.behind {
|
|
background: rgba(248, 81, 73, 0.08);
|
|
color: var(--color-error);
|
|
}
|
|
|
|
.gm-remote-actions {
|
|
display: flex;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.gm-remote-result {
|
|
padding: var(--space-sm) var(--space-md);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
font-size: 12px;
|
|
font-family: var(--font-mono);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ── Remote Management (enhanced) ── */
|
|
|
|
.gm-remotes-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.gm-remote-form {
|
|
padding: var(--space-md);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.gm-form-row {
|
|
display: flex;
|
|
gap: var(--space-sm);
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.gm-form-row .gm-input {
|
|
flex: 1;
|
|
min-width: 120px;
|
|
}
|
|
|
|
.gm-form-row .gm-input-url {
|
|
flex: 2;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.gm-remote-operations {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.gm-remote-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.gm-remote-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--space-md);
|
|
padding: var(--space-md);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
transition: border-color 0.15s ease;
|
|
}
|
|
|
|
.gm-remote-item:hover {
|
|
border-color: var(--border-hover);
|
|
}
|
|
|
|
.gm-remote-info {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
min-width: 0;
|
|
}
|
|
|
|
.gm-remote-name-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.gm-remote-name {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.gm-remote-urls {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-xs);
|
|
font-size: 12px;
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.gm-remote-url {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
min-width: 0;
|
|
}
|
|
|
|
.gm-url-label {
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
width: 40px;
|
|
}
|
|
|
|
.gm-url-value {
|
|
color: var(--text);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
flex: 1;
|
|
}
|
|
|
|
.gm-remote-url.gm-push-url {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.gm-remote-url.gm-push-url .gm-url-value {
|
|
flex: 1;
|
|
}
|
|
|
|
.gm-remote-edit {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
flex: 1;
|
|
}
|
|
|
|
.gm-remote-edit.gm-url-edit {
|
|
margin-left: 44px;
|
|
}
|
|
|
|
.gm-remote-edit .gm-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.gm-remote-actions-inline {
|
|
display: flex;
|
|
gap: var(--space-xs);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.gm-remote-actions-inline .btn {
|
|
padding: var(--space-xs);
|
|
}
|
|
|
|
/* ── Responsive ── */
|
|
|
|
@media (max-width: 640px) {
|
|
.gm-modal {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
height: 100vh;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.gm-layout {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.gm-sidebar {
|
|
flex-direction: row;
|
|
width: 100%;
|
|
min-width: unset;
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--border);
|
|
overflow-x: auto;
|
|
padding: var(--space-xs) var(--space-sm);
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.gm-nav-item {
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: var(--space-xs) var(--space-sm);
|
|
border-left: none;
|
|
border-bottom: 2px solid transparent;
|
|
font-size: 10px;
|
|
min-width: 56px;
|
|
text-align: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.gm-nav-item.active {
|
|
border-left-color: transparent;
|
|
border-bottom-color: var(--todo);
|
|
}
|
|
|
|
.gm-content {
|
|
min-height: 200px;
|
|
padding: var(--space-md);
|
|
}
|
|
|
|
.gm-status-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.gm-create-form {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.gm-create-form input,
|
|
.gm-create-form select {
|
|
flex: 1 1 100%;
|
|
}
|
|
|
|
.gm-branch-item {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.gm-stash-item {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.gm-remote-actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.gm-remote-form .gm-form-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.gm-remote-form .gm-form-row .gm-input,
|
|
.gm-remote-form .gm-form-row .gm-input-url {
|
|
flex: 1 1 100%;
|
|
min-width: unset;
|
|
}
|
|
|
|
.gm-remote-item {
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.gm-remote-actions-inline {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.gm-remote-edit {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.gm-remote-edit.gm-url-edit {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.gm-commit-form .gm-commit-actions {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
/* ── Light Theme Overrides ── */
|
|
|
|
[data-theme="light"] .gm-sidebar {
|
|
background: rgba(0, 0, 0, 0.02);
|
|
}
|
|
|
|
[data-theme="light"] .gm-nav-item:hover {
|
|
background: rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
[data-theme="light"] .gm-nav-item.active {
|
|
background: rgba(9, 105, 218, 0.06);
|
|
}
|
|
|
|
[data-theme="light"] .gm-file-item:hover {
|
|
background: rgba(0, 0, 0, 0.02);
|
|
}
|
|
|
|
[data-theme="light"] .gm-file-item.staged {
|
|
background: rgba(26, 127, 55, 0.04);
|
|
}
|
|
|
|
[data-theme="light"] .gm-commit-header:hover {
|
|
background: rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
[data-theme="light"] .gm-branch-item:hover {
|
|
background: rgba(0, 0, 0, 0.02);
|
|
}
|
|
|
|
[data-theme="light"] .gm-branch-item.current {
|
|
background: rgba(9, 105, 218, 0.04);
|
|
}
|
|
|
|
[data-theme="light"] .gm-hash {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
[data-theme="light"] .gm-icon-btn:hover {
|
|
background: rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
[data-theme="light"] .gm-file-section-header {
|
|
background: rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
[data-theme="light"] .gm-load-more:hover {
|
|
background: rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
/* ── Task Changes Tab Styles ─────────────────────────────────────────────── */
|
|
|
|
.task-changes-tab {
|
|
padding: 16px;
|
|
}
|
|
|
|
.changes-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.changes-header h4 {
|
|
margin: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.changes-file-list {
|
|
border: 1px solid var(--border, #30363d);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.changes-file-item {
|
|
border-bottom: 1px solid var(--border, #30363d);
|
|
}
|
|
|
|
.changes-file-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.changes-file-item.expanded {
|
|
background: var(--bg-secondary, #161b22);
|
|
}
|
|
|
|
.changes-file-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
background: none;
|
|
border: none;
|
|
width: 100%;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
color: var(--text-primary, #c9d1d9);
|
|
font-size: 13px;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.changes-file-header:hover {
|
|
background: var(--bg-hover, #1f242c);
|
|
}
|
|
|
|
.changes-file-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
color: var(--text-secondary, #8b949e);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.changes-file-status {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.changes-file-path {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
|
|
}
|
|
|
|
.changes-file-stat {
|
|
color: var(--text-secondary, #8b949e);
|
|
font-size: 11px;
|
|
flex-shrink: 0;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.changes-file-content {
|
|
border-top: 1px solid var(--border, #30363d);
|
|
background: var(--bg-primary, #0d1117);
|
|
}
|
|
|
|
.changes-diff-patch {
|
|
margin: 0;
|
|
padding: 12px;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
overflow-x: auto;
|
|
white-space: pre;
|
|
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
|
|
color: var(--text-primary, #c9d1d9);
|
|
}
|
|
|
|
.changes-diff-patch code {
|
|
background: none;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Syntax highlighting for diff */
|
|
.changes-diff-patch .diff-add,
|
|
.changes-diff-patch [data-prefix="+"] {
|
|
color: #3fb950;
|
|
}
|
|
|
|
.changes-diff-patch .diff-del,
|
|
.changes-diff-patch [data-prefix="-"] {
|
|
color: #f85149;
|
|
}
|
|
|
|
.changes-diff-patch .diff-hunk,
|
|
.changes-diff-patch [data-prefix="@@"] {
|
|
color: #58a6ff;
|
|
}
|