Files

1384 lines
35 KiB
CSS

/* ClaudeDo — Rider Island theme */
/* Floating islands, logbook monospace, tactile dark UI */
:root {
/* Base palette */
--void: #0a0e0c;
--deep: #0d1311;
--surface: #161d1a;
--surface-2: #1c2422;
--surface-3: #222b28;
--line: #2a3330;
--line-bright: #3a4542;
--text: #e4ebe4;
--text-dim: #9aa8a0;
--text-mute: #6b7973;
--text-faint: #4a5550;
/* Accents (moss / sage / peat) */
--moss: #4a6b4a;
--moss-bright: #6b8e6b;
--sage: #8b9d7a;
--peat: #d4a574;
--peat-soft: #b88d5e;
--blood: #c87060;
/* Tweakables (overridden by Tweaks panel) */
--accent-h: 88; /* 88 moss, 40 peat, 180 sea */
--island-gap: 14px;
--island-radius: 14px;
--grain-opacity: 0.035;
--density: 1; /* 1 comfy, 0.85 compact */
--sidebar-w: 260px;
/* Derived */
--accent: oklch(58% 0.08 var(--accent-h));
--accent-dim: oklch(48% 0.07 var(--accent-h));
--accent-soft: oklch(32% 0.05 var(--accent-h));
--accent-glow: oklch(65% 0.12 var(--accent-h) / 0.22);
/* Fonts */
--mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;
--sans: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
color-scheme: dark;
}
* { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
height: 100%;
background: #000;
color: var(--text);
font-family: var(--sans);
font-feature-settings: 'ss01', 'cv11';
-webkit-font-smoothing: antialiased;
overflow: hidden;
}
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font-family: inherit; color: inherit; background: none; border: 0; outline: 0; }
input::placeholder, textarea::placeholder { color: var(--text-faint); }
/* ==================== Windows desktop wallpaper ==================== */
.desktop {
position: fixed;
inset: 0;
background:
radial-gradient(ellipse 120% 80% at 50% 110%, oklch(20% 0.02 var(--accent-h)) 0%, transparent 55%),
radial-gradient(ellipse 80% 60% at 20% 0%, oklch(15% 0.015 var(--accent-h)) 0%, transparent 50%),
linear-gradient(180deg, #05070a 0%, #0a0d10 50%, #060a08 100%);
overflow: hidden;
display: flex;
flex-direction: column;
}
.desktop::before {
content: '';
position: absolute;
inset: 0;
background-image:
radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
background-size: 3px 3px;
opacity: var(--grain-opacity);
pointer-events: none;
}
/* Taskbar (Windows 11 style, centered) */
.taskbar {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 44px;
background: rgba(10, 14, 12, 0.72);
backdrop-filter: blur(32px) saturate(1.2);
-webkit-backdrop-filter: blur(32px) saturate(1.2);
border-top: 1px solid rgba(255,255,255,0.06);
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
z-index: 10;
}
.taskbar-icon {
width: 36px;
height: 36px;
border-radius: 6px;
display: grid;
place-items: center;
color: var(--text-dim);
position: relative;
transition: background 0.15s;
}
.taskbar-icon:hover { background: rgba(255,255,255,0.06); }
.taskbar-icon.active { background: rgba(255,255,255,0.04); }
.taskbar-icon.active::after {
content: '';
position: absolute;
bottom: 2px;
left: 50%;
transform: translateX(-50%);
width: 14px;
height: 2px;
border-radius: 1px;
background: var(--accent);
}
.taskbar-clock {
position: absolute;
right: 14px;
top: 50%;
transform: translateY(-50%);
font-family: var(--mono);
font-size: 11px;
color: var(--text-dim);
text-align: right;
line-height: 1.25;
}
/* ==================== App window ==================== */
.window {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, calc(-50% - 22px));
width: min(1320px, calc(100vw - 32px));
height: min(820px, calc(100vh - 76px));
min-width: 880px;
background: linear-gradient(180deg, #0b100e 0%, #080c0a 100%);
border-radius: 10px;
border: 1px solid rgba(255,255,255,0.06);
box-shadow:
0 0 0 1px rgba(0,0,0,0.4),
0 30px 80px rgba(0,0,0,0.6),
0 60px 120px rgba(0,0,0,0.5);
display: flex;
flex-direction: column;
overflow: hidden;
}
/* Title bar */
.titlebar {
height: 32px;
display: flex;
align-items: center;
padding-left: 12px;
border-bottom: 1px solid rgba(255,255,255,0.04);
user-select: none;
-webkit-app-region: drag;
flex-shrink: 0;
}
.titlebar-title {
font-family: var(--mono);
font-size: 11px;
color: var(--text-mute);
letter-spacing: 0.08em;
text-transform: uppercase;
}
.titlebar-title .bullet { color: var(--accent); margin: 0 8px; }
.titlebar-controls {
display: flex;
margin-left: auto;
height: 100%;
}
.titlebar-btn {
width: 46px;
height: 100%;
display: grid;
place-items: center;
color: var(--text-dim);
transition: background 0.1s;
}
.titlebar-btn:hover { background: rgba(255,255,255,0.06); }
.titlebar-btn.close:hover { background: #c42b1c; color: #fff; }
/* Window body = the "sea" between islands */
.window-body {
flex: 1;
display: grid;
grid-template-columns: minmax(200px, var(--sidebar-w)) minmax(340px, 1fr) minmax(260px, 320px);
gap: var(--island-gap);
padding: var(--island-gap);
min-height: 0;
background:
radial-gradient(ellipse 60% 50% at 30% 20%, oklch(14% 0.012 var(--accent-h)) 0%, transparent 60%),
radial-gradient(ellipse 50% 40% at 80% 90%, oklch(13% 0.01 var(--accent-h)) 0%, transparent 60%),
#070a09;
position: relative;
}
.window-body::before {
content: '';
position: absolute;
inset: 0;
background-image:
radial-gradient(circle at 1px 1px, rgba(255,255,255,0.025) 1px, transparent 0);
background-size: 3px 3px;
opacity: var(--grain-opacity);
pointer-events: none;
}
/* ==================== Island ==================== */
.island {
background: linear-gradient(180deg, var(--surface) 0%, #131917 100%);
border-radius: var(--island-radius);
border: 1px solid rgba(255,255,255,0.05);
box-shadow:
0 1px 0 rgba(255,255,255,0.03) inset,
0 20px 40px rgba(0,0,0,0.35),
0 2px 4px rgba(0,0,0,0.3);
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
position: relative;
}
.island-header {
padding: calc(16px * var(--density)) calc(18px * var(--density)) calc(12px * var(--density));
border-bottom: 1px solid var(--line);
flex-shrink: 0;
}
.island-eyebrow {
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.14em;
color: var(--text-faint);
text-transform: uppercase;
margin-bottom: 4px;
display: flex;
align-items: center;
gap: 6px;
}
.island-eyebrow .dot {
width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
box-shadow: 0 0 8px var(--accent-glow);
}
.island-title {
font-size: 18px;
font-weight: 600;
letter-spacing: -0.01em;
color: var(--text);
margin: 0;
}
.island-body {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
padding: calc(8px * var(--density)) 0;
}
.island-body::-webkit-scrollbar { width: 6px; }
.island-body::-webkit-scrollbar-track { background: transparent; }
.island-body::-webkit-scrollbar-thumb { background: var(--line-bright); border-radius: 3px; }
.island-body::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }
.island-footer {
padding: calc(10px * var(--density)) calc(14px * var(--density));
border-top: 1px solid var(--line);
flex-shrink: 0;
}
/* ==================== Lists island ==================== */
.search-wrap {
margin: 10px 14px 4px;
background: var(--surface-2);
border: 1px solid var(--line);
border-radius: 8px;
padding: 7px 10px;
display: flex;
align-items: center;
gap: 8px;
transition: border-color 0.15s;
}
.search-wrap:focus-within { border-color: var(--accent-dim); }
.search-wrap input {
flex: 1;
font-family: var(--mono);
font-size: 12px;
}
.search-wrap .kbd {
font-family: var(--mono);
font-size: 10px;
color: var(--text-faint);
padding: 2px 5px;
border: 1px solid var(--line-bright);
border-radius: 3px;
}
.list-section-label {
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.14em;
color: var(--text-faint);
text-transform: uppercase;
padding: 14px 18px 6px;
}
.list-item {
display: flex;
align-items: center;
gap: 10px;
padding: calc(8px * var(--density)) 14px;
margin: 1px 8px;
border-radius: 7px;
cursor: pointer;
color: var(--text-dim);
position: relative;
transition: background 0.12s, color 0.12s;
}
.list-item:hover { background: var(--surface-2); color: var(--text); }
.list-item.active {
background: var(--surface-3);
color: var(--text);
}
.list-item.active::before {
content: '';
position: absolute;
left: 0;
top: 8px;
bottom: 8px;
width: 2px;
border-radius: 0 2px 2px 0;
background: var(--accent);
box-shadow: 0 0 8px var(--accent-glow);
}
.list-item .icon { width: 16px; flex-shrink: 0; opacity: 0.85; }
.list-item .label {
flex: 1;
font-size: 13px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.list-item .count {
font-family: var(--mono);
font-size: 10px;
color: var(--text-faint);
font-variant-numeric: tabular-nums;
}
.list-item .swatch {
width: 8px;
height: 8px;
border-radius: 2px;
}
.new-list-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 14px;
width: calc(100% - 16px);
margin: 4px 8px;
border-radius: 7px;
color: var(--text-mute);
font-size: 12px;
font-family: var(--mono);
letter-spacing: 0.04em;
transition: background 0.12s, color 0.12s;
}
.new-list-btn:hover { background: var(--surface-2); color: var(--text); }
/* ==================== Tasks island ==================== */
.tasks-head {
padding: 18px 20px 14px;
border-bottom: 1px solid var(--line);
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
flex-wrap: nowrap;
}
.tasks-actions { flex-shrink: 0; }
.details-col { display: contents; }
.details-col > .island { height: 100%; }
/* Collapse details island on narrow windows */
@media (max-width: 1100px) {
.window-body {
grid-template-columns: minmax(200px, var(--sidebar-w)) minmax(340px, 1fr);
}
.details-col { display: none; }
}
@media (max-width: 780px) {
.window-body {
grid-template-columns: 1fr;
}
.island:first-child { display: none; }
}
.tasks-meta {
display: flex;
align-items: baseline;
gap: 10px;
min-width: 0;
flex: 1;
}
.tasks-date {
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.14em;
color: var(--text-faint);
text-transform: uppercase;
}
.tasks-title {
font-size: 24px;
font-weight: 600;
letter-spacing: -0.02em;
color: var(--text);
margin: 4px 0 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tasks-subtitle {
font-family: var(--mono);
font-size: 11px;
color: var(--text-mute);
margin-top: 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tasks-subtitle .sep { color: var(--text-faint); margin: 0 6px; }
.tasks-actions {
display: flex;
gap: 4px;
}
.icon-btn {
width: 30px;
height: 30px;
display: grid;
place-items: center;
border-radius: 7px;
color: var(--text-mute);
transition: background 0.12s, color 0.12s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn.active { background: var(--surface-3); color: var(--accent); }
/* Add task row */
.add-task {
margin: 14px 16px 8px;
background: var(--surface-2);
border: 1px solid var(--line);
border-radius: 10px;
padding: 12px 14px;
display: flex;
align-items: center;
gap: 12px;
transition: border-color 0.15s;
}
.add-task:focus-within { border-color: var(--accent-dim); }
.add-task .plus {
width: 20px; height: 20px; border-radius: 50%;
border: 1.5px dashed var(--text-faint);
display: grid; place-items: center;
color: var(--text-faint); font-size: 14px; line-height: 1;
flex-shrink: 0;
}
.add-task input {
flex: 1;
font-size: 14px;
}
.add-task .hint {
font-family: var(--mono);
font-size: 10px;
color: var(--text-faint);
letter-spacing: 0.08em;
}
.tasks-group-label {
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.14em;
color: var(--text-faint);
text-transform: uppercase;
padding: 18px 24px 6px;
display: flex;
align-items: center;
gap: 8px;
}
.tasks-group-label::after {
content: '';
flex: 1;
height: 1px;
background: var(--line);
}
/* Task row */
.task {
display: flex;
align-items: flex-start;
gap: 12px;
padding: calc(12px * var(--density)) 16px calc(12px * var(--density)) 18px;
margin: 2px 8px;
min-width: 0;
border-radius: 10px;
cursor: pointer;
position: relative;
transition: background 0.12s;
}
.task:hover { background: var(--surface-2); }
.task.selected { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-bright); }
.task.selected::before {
content: '';
position: absolute;
left: 6px;
top: 14px;
bottom: 14px;
width: 2px;
border-radius: 1px;
background: var(--accent);
}
/* Checkbox */
.check {
width: 20px;
height: 20px;
border-radius: 50%;
border: 1.5px solid var(--line-bright);
flex-shrink: 0;
margin-top: 1px;
position: relative;
transition: border-color 0.2s, background 0.2s, transform 0.15s;
cursor: pointer;
display: grid;
place-items: center;
}
.check:hover { border-color: var(--accent); transform: scale(1.05); }
.check svg {
width: 12px;
height: 12px;
stroke: var(--deep);
stroke-width: 2.5;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
stroke-dasharray: 20;
stroke-dashoffset: 20;
transition: stroke-dashoffset 0.35s ease-out 0.05s;
}
.check.done {
background: var(--accent);
border-color: var(--accent);
animation: check-pop 0.35s ease-out;
}
.check.done svg { stroke-dashoffset: 0; }
@keyframes check-pop {
0% { transform: scale(1); }
40% { transform: scale(1.2); box-shadow: 0 0 0 6px var(--accent-glow); }
100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; }
}
.task-body { flex: 1; min-width: 0; }
.task-title {
font-size: 14px;
line-height: 1.35;
color: var(--text);
transition: color 0.3s, text-decoration-color 0.3s;
text-decoration: line-through transparent;
}
.task.done .task-title {
color: var(--text-faint);
text-decoration-color: var(--text-mute);
}
.task-meta {
display: flex;
align-items: center;
gap: 8px;
margin-top: 5px;
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.04em;
color: var(--text-mute);
flex-wrap: wrap;
}
.task-meta .chip {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 6px;
border-radius: 3px;
background: var(--surface-3);
color: var(--text-dim);
}
.task-meta .chip.due-today { color: var(--accent); background: color-mix(in oklab, var(--accent) 12%, transparent); }
.task-meta .chip.overdue { color: var(--blood); background: color-mix(in oklab, var(--blood) 12%, transparent); }
.task-meta .chip.starred { color: var(--peat); }
.task-meta .tag { color: var(--text-faint); }
.task-meta .tag::before { content: '#'; }
.task-meta .subcount { color: var(--text-faint); }
.star-btn {
width: 20px;
height: 20px;
display: grid;
place-items: center;
color: var(--text-faint);
flex-shrink: 0;
margin-top: 1px;
opacity: 0;
transition: opacity 0.15s, color 0.15s, transform 0.2s;
}
.task:hover .star-btn { opacity: 1; }
.star-btn.on { opacity: 1; color: var(--peat); }
.star-btn:hover { color: var(--peat); transform: scale(1.15); }
.star-btn.pulse { animation: star-pulse 0.4s ease-out; }
@keyframes star-pulse {
0% { transform: scale(1); }
50% { transform: scale(1.35); filter: drop-shadow(0 0 6px var(--peat)); }
100% { transform: scale(1); }
}
/* ==================== Details island ==================== */
.details-empty {
height: 100%;
display: grid;
place-items: center;
text-align: center;
padding: 40px 24px;
color: var(--text-faint);
}
.details-empty .glyph {
width: 48px;
height: 48px;
border-radius: 10px;
border: 1px dashed var(--line-bright);
display: grid;
place-items: center;
margin: 0 auto 14px;
color: var(--text-mute);
}
.details-empty .label {
font-family: var(--mono);
font-size: 11px;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--text-mute);
}
.details-empty .hint {
font-size: 12px;
margin-top: 8px;
color: var(--text-faint);
line-height: 1.5;
}
.details-title-row {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 18px 20px 14px;
border-bottom: 1px solid var(--line);
}
.details-title {
flex: 1;
font-size: 16px;
font-weight: 500;
color: var(--text);
line-height: 1.4;
resize: none;
min-height: 22px;
max-height: 100px;
}
.details-section {
padding: 14px 20px;
border-bottom: 1px solid var(--line);
}
.details-section-label {
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.14em;
color: var(--text-faint);
text-transform: uppercase;
margin-bottom: 10px;
}
.subtask-row {
display: flex;
align-items: center;
gap: 10px;
padding: 6px 0;
font-size: 13px;
}
.subtask-row .check { width: 16px; height: 16px; }
.subtask-row .check svg { width: 10px; height: 10px; }
.subtask-row .label { flex: 1; color: var(--text-dim); }
.subtask-row.done .label {
color: var(--text-faint);
text-decoration: line-through;
text-decoration-color: var(--text-mute);
}
.subtask-add {
display: flex;
align-items: center;
gap: 10px;
padding: 6px 0;
color: var(--text-faint);
font-size: 13px;
}
.subtask-add input { flex: 1; font-size: 13px; }
.meta-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 0;
font-family: var(--mono);
font-size: 11px;
}
.meta-row .key { color: var(--text-faint); letter-spacing: 0.06em; text-transform: uppercase; font-size: 10px; }
.meta-row .val { color: var(--text); }
.meta-row .val.muted { color: var(--text-mute); }
.meta-row .val.accent { color: var(--accent); }
.meta-row .val.peat { color: var(--peat); }
.notes-area {
width: 100%;
min-height: 70px;
font-size: 13px;
line-height: 1.55;
color: var(--text);
resize: none;
font-family: var(--sans);
}
.tag-chip {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 8px;
border-radius: 4px;
background: var(--surface-3);
border: 1px solid var(--line);
font-family: var(--mono);
font-size: 10px;
color: var(--text-dim);
margin-right: 4px;
margin-bottom: 4px;
}
.tag-chip::before { content: '#'; color: var(--text-faint); }
.activity-log {
font-family: var(--mono);
font-size: 10px;
color: var(--text-faint);
line-height: 1.7;
}
.activity-log .time { color: var(--text-mute); margin-right: 8px; }
/* ==================== Agent / Worktree / Terminal ==================== */
.status-dot {
width: 8px; height: 8px; border-radius: 50%;
display: inline-block;
flex-shrink: 0;
position: relative;
}
.status-dot.running { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent); }
.status-dot.running::after {
content: ''; position: absolute; inset: -3px; border-radius: 50%;
border: 1.5px solid var(--accent); opacity: 0.6;
animation: pulse-ring 1.6s ease-out infinite;
}
.status-dot.review { background: var(--peat); }
.status-dot.error { background: var(--blood); box-shadow: 0 0 0 3px color-mix(in oklab, var(--blood) 22%, transparent); }
.status-dot.done { background: var(--moss-bright); opacity: 0.6; }
.status-dot.queued { background: var(--text-mute); }
.status-dot.idle { background: var(--text-faint); }
@keyframes pulse-ring {
0% { transform: scale(1); opacity: 0.7; }
100% { transform: scale(2.4); opacity: 0; }
}
.status-chip {
display: inline-flex; align-items: center; gap: 6px;
padding: 3px 8px; border-radius: 4px;
background: var(--surface-3);
font-family: var(--mono);
font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
}
.status-chip.running { color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, transparent); }
.status-chip.review { color: var(--peat); background: color-mix(in oklab, var(--peat) 10%, transparent); }
.status-chip.error { color: var(--blood); background: color-mix(in oklab, var(--blood) 10%, transparent); }
.status-chip.done { color: var(--moss-bright); }
.status-chip.queued { color: var(--text-mute); }
.status-chip.idle { color: var(--text-faint); }
/* Worktree card */
.worktree-card {
background: var(--surface-2);
border: 1px solid var(--line);
border-radius: 8px;
padding: 10px 12px;
font-family: var(--mono);
font-size: 11px;
margin-bottom: 10px;
}
.worktree-card .row {
display: flex; align-items: center; gap: 8px;
padding: 3px 0;
color: var(--text-dim);
}
.worktree-card .row .k {
color: var(--text-faint);
letter-spacing: 0.06em; text-transform: uppercase;
font-size: 10px;
width: 54px;
flex-shrink: 0;
}
.worktree-card .row .v {
color: var(--text);
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.worktree-card .row .v.path { color: var(--text-dim); }
.worktree-card .row .v .branch {
display: inline-flex; align-items: center; gap: 4px;
color: var(--accent);
}
.worktree-card .row .copy-btn {
color: var(--text-faint);
padding: 2px 4px; border-radius: 3px;
flex-shrink: 0;
}
.worktree-card .row .copy-btn:hover { color: var(--text); background: var(--surface-3); }
.diff-stats {
display: inline-flex; align-items: center; gap: 6px;
font-family: var(--mono); font-size: 11px;
}
.diff-stats .add { color: var(--moss-bright); }
.diff-stats .del { color: var(--blood); }
.diff-stats .bars { display: inline-flex; gap: 1px; align-items: center; margin-left: 2px; }
.diff-stats .bars span { width: 4px; height: 8px; background: var(--line-bright); border-radius: 1px; }
.diff-stats .bars span.add { background: var(--moss-bright); }
.diff-stats .bars span.del { background: var(--blood); }
.action-row {
display: flex; gap: 6px; margin-top: 10px;
}
.btn {
display: inline-flex; align-items: center; gap: 6px;
padding: 7px 12px;
border-radius: 7px;
font-family: var(--mono);
font-size: 11px;
letter-spacing: 0.04em;
color: var(--text);
background: var(--surface-3);
border: 1px solid var(--line-bright);
transition: background 0.12s, border-color 0.12s, transform 0.1s;
flex-shrink: 0;
}
.btn:hover { background: var(--line); border-color: var(--text-faint); }
.btn:active { transform: translateY(1px); }
.btn.primary {
background: color-mix(in oklab, var(--accent) 22%, var(--surface-3));
border-color: var(--accent-dim);
color: var(--text);
}
.btn.primary:hover { background: color-mix(in oklab, var(--accent) 32%, var(--surface-3)); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--blood); }
.btn.danger:hover { background: color-mix(in oklab, var(--blood) 14%, var(--surface-3)); border-color: var(--blood); }
.btn.icon-only { padding: 7px 8px; }
.btn.grow { flex: 1; justify-content: center; }
/* Terminal-style session log */
.terminal {
background: #070a09;
border: 1px solid var(--line);
border-radius: 8px;
margin-top: 8px;
overflow: hidden;
display: flex; flex-direction: column;
max-height: 320px;
}
.terminal-head {
display: flex; align-items: center; gap: 8px;
padding: 7px 12px;
border-bottom: 1px solid var(--line);
background: var(--surface-2);
}
.terminal-head .dots { display: flex; gap: 4px; }
.terminal-head .dots span {
width: 8px; height: 8px; border-radius: 50%;
}
.terminal-head .dots .r { background: #5a2a26; }
.terminal-head .dots .y { background: #6a5a28; }
.terminal-head .dots .g { background: #2f4d2f; }
.terminal-head .lbl {
font-family: var(--mono); font-size: 10px;
color: var(--text-mute);
letter-spacing: 0.08em;
flex: 1; text-align: center;
}
.terminal-head .live {
font-family: var(--mono); font-size: 9px;
color: var(--accent);
letter-spacing: 0.12em;
text-transform: uppercase;
display: flex; align-items: center; gap: 5px;
}
.terminal-head .live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink {
0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}
.terminal-body {
flex: 1;
overflow-y: auto;
padding: 8px 12px 12px;
font-family: var(--mono);
font-size: 11px;
line-height: 1.55;
color: var(--text-dim);
}
.terminal-body::-webkit-scrollbar { width: 5px; }
.terminal-body::-webkit-scrollbar-track { background: transparent; }
.terminal-body::-webkit-scrollbar-thumb { background: var(--line-bright); border-radius: 3px; }
.log-line {
display: flex; gap: 8px;
padding: 1px 0;
white-space: pre-wrap;
word-break: break-word;
}
.log-line .ts {
color: var(--text-faint);
flex-shrink: 0;
font-variant-numeric: tabular-nums;
font-size: 10px;
}
.log-line .tag {
flex-shrink: 0;
font-size: 9px;
letter-spacing: 0.08em;
text-transform: uppercase;
width: 44px;
text-align: right;
padding-top: 1px;
}
.log-line.sys .tag { color: var(--text-mute); }
.log-line.tool .tag { color: var(--sage); }
.log-line.msg .tag { color: var(--accent); }
.log-line.msg .m { color: var(--text); }
.log-line.stdout .tag { color: var(--text-faint); }
.log-line.stderr .tag { color: #c08070; }
.log-line.stderr .m { color: #e8a090; }
.log-line.error .tag { color: var(--blood); }
.log-line.error .m { color: #e8a090; }
.log-line.done .tag { color: var(--moss-bright); }
.log-line.done .m { color: var(--moss-bright); }
.log-line .m { flex: 1; }
.cursor-block {
display: inline-block;
width: 7px; height: 12px;
background: var(--accent);
vertical-align: middle;
margin-left: 4px;
animation: cursor 1s step-end infinite;
}
@keyframes cursor {
50% { opacity: 0; }
}
/* Mini live-output preview on task row */
.task-agent-line {
display: flex; align-items: center; gap: 6px;
margin-top: 6px;
padding: 4px 8px;
background: #080c0b;
border: 1px solid var(--line);
border-radius: 5px;
font-family: var(--mono);
font-size: 10px;
color: var(--text-mute);
overflow: hidden;
}
.task-agent-line .prompt { color: var(--accent); }
.task-agent-line .txt {
flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
color: var(--text-dim);
}
.task-agent-line .mini-cursor {
width: 5px; height: 10px; background: var(--accent);
animation: cursor 1s step-end infinite;
}
/* Agent header strip in details */
.agent-strip {
display: flex; align-items: center; gap: 10px;
padding: 10px 20px;
border-bottom: 1px solid var(--line);
background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}
.agent-strip .meta {
flex: 1; min-width: 0;
font-family: var(--mono); font-size: 10px; color: var(--text-mute);
letter-spacing: 0.04em;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.agent-strip .meta .sep { color: var(--text-faint); margin: 0 6px; }
/* ==================== Modals ==================== */
.modal-backdrop {
position: fixed; inset: 0;
background: rgba(3, 5, 4, 0.75);
backdrop-filter: blur(8px);
z-index: 100;
display: grid; place-items: center;
animation: fade-in 0.15s ease-out;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
background: linear-gradient(180deg, var(--surface) 0%, #131917 100%);
border: 1px solid rgba(255,255,255,0.08);
border-radius: 12px;
box-shadow: 0 40px 80px rgba(0,0,0,0.7);
display: flex; flex-direction: column;
overflow: hidden;
animation: modal-in 0.18s ease-out;
}
@keyframes modal-in {
from { opacity: 0; transform: translateY(8px) scale(0.98); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.diff-modal { width: min(1100px, 90vw); height: min(720px, 88vh); }
.worktree-modal { width: min(560px, 90vw); height: min(620px, 88vh); }
.modal-head {
padding: 14px 18px;
border-bottom: 1px solid var(--line);
display: flex; align-items: center; justify-content: space-between;
gap: 12px;
flex-shrink: 0;
}
.modal-title {
font-family: var(--mono);
font-size: 12px;
color: var(--text);
letter-spacing: 0.04em;
display: flex; align-items: center; gap: 8px;
}
.modal-sub {
font-family: var(--mono);
font-size: 10px;
color: var(--text-faint);
margin-top: 3px;
letter-spacing: 0.04em;
}
.modal-sub .add { color: var(--moss-bright); }
.modal-sub .del { color: var(--blood); }
.modal-body { flex: 1; overflow: hidden; min-height: 0; }
/* Diff modal */
.diff-body { display: flex; }
.diff-sidebar {
width: 260px;
border-right: 1px solid var(--line);
overflow-y: auto;
background: #0f1513;
flex-shrink: 0;
}
.diff-file-tab {
padding: 9px 14px;
cursor: pointer;
border-bottom: 1px solid rgba(255,255,255,0.02);
transition: background 0.1s;
}
.diff-file-tab:hover { background: var(--surface-2); }
.diff-file-tab.active { background: var(--surface-3); }
.diff-file-tab.active {
box-shadow: inset 2px 0 0 var(--accent);
}
.diff-file-name {
font-family: var(--mono);
font-size: 11px;
color: var(--text);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
direction: rtl; text-align: left;
}
.diff-file-stats {
font-family: var(--mono);
font-size: 10px;
margin-top: 2px;
display: flex; gap: 8px;
}
.diff-file-stats .add { color: var(--moss-bright); }
.diff-file-stats .del { color: var(--blood); }
.diff-view {
flex: 1;
overflow-y: auto;
background: #080c0b;
}
.diff-file-header {
position: sticky; top: 0;
display: flex; align-items: center; gap: 8px;
padding: 8px 16px;
background: var(--surface-2);
border-bottom: 1px solid var(--line);
font-family: var(--mono);
font-size: 11px;
color: var(--text-dim);
z-index: 2;
}
.diff-hunk { font-family: var(--mono); font-size: 12px; line-height: 1.55; }
.diff-hunk-header {
padding: 4px 16px;
color: var(--sage);
background: rgba(139, 157, 122, 0.05);
border-top: 1px solid var(--line);
border-bottom: 1px solid var(--line);
font-size: 11px;
}
.diff-line {
display: flex;
padding: 0 8px;
white-space: pre;
}
.diff-line .ln {
width: 40px;
text-align: right;
padding: 0 6px;
color: var(--text-faint);
font-size: 10px;
flex-shrink: 0;
font-variant-numeric: tabular-nums;
user-select: none;
}
.diff-line .sign {
width: 14px;
text-align: center;
flex-shrink: 0;
color: var(--text-faint);
}
.diff-line .t { color: var(--text-dim); flex: 1; }
.diff-line.add { background: rgba(107, 142, 107, 0.08); }
.diff-line.add .sign { color: var(--moss-bright); }
.diff-line.add .t { color: #d0e4d0; }
.diff-line.del { background: rgba(200, 112, 96, 0.08); }
.diff-line.del .sign { color: var(--blood); }
.diff-line.del .t { color: #e8bfb4; }
/* Worktree modal tree */
.tree-row {
display: flex; align-items: center; gap: 6px;
padding: 3px 8px;
color: var(--text-dim);
border-radius: 4px;
cursor: default;
}
.tree-row:hover { background: var(--surface-2); }
.tree-row.mod { color: var(--peat); }
.tree-row.added { color: var(--moss-bright); }
.tree-badge {
margin-left: auto;
font-size: 9px;
font-family: var(--mono);
padding: 1px 5px;
border-radius: 3px;
letter-spacing: 0.06em;
}
.tree-badge.mod { background: color-mix(in oklab, var(--peat) 16%, transparent); color: var(--peat); }
.tree-badge.add { background: color-mix(in oklab, var(--moss-bright) 16%, transparent); color: var(--moss-bright); }
/* ==================== Tweaks panel ==================== */
.tweaks-panel {
position: absolute;
bottom: 58px;
right: 18px;
width: 280px;
background: rgba(12, 16, 14, 0.92);
backdrop-filter: blur(24px) saturate(1.4);
-webkit-backdrop-filter: blur(24px) saturate(1.4);
border: 1px solid rgba(255,255,255,0.08);
border-radius: 12px;
padding: 14px 16px 16px;
box-shadow: 0 24px 48px rgba(0,0,0,0.5);
z-index: 50;
transform: translateY(6px);
opacity: 0;
pointer-events: none;
transition: opacity 0.2s, transform 0.2s;
}
.tweaks-panel.open {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
}
.tweaks-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.tweaks-title {
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.16em;
color: var(--text-dim);
text-transform: uppercase;
}
.tweaks-close {
color: var(--text-faint);
font-size: 14px;
width: 20px; height: 20px;
display: grid; place-items: center;
border-radius: 4px;
}
.tweaks-close:hover { background: var(--surface-2); color: var(--text); }
.tweak-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 7px 0;
}
.tweak-row .label {
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.1em;
color: var(--text-mute);
text-transform: uppercase;
flex-shrink: 0;
}
.tweak-row input[type="range"] {
flex: 1;
height: 2px;
-webkit-appearance: none;
appearance: none;
background: var(--line-bright);
border-radius: 1px;
}
.tweak-row input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 12px; height: 12px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
cursor: pointer;
}
.tweak-row .val {
font-family: var(--mono);
font-size: 10px;
color: var(--text-dim);
min-width: 34px;
text-align: right;
font-variant-numeric: tabular-nums;
}
.hue-swatches {
display: flex;
gap: 6px;
padding: 4px 0;
}
.hue-swatch {
width: 22px; height: 22px;
border-radius: 6px;
cursor: pointer;
border: 1.5px solid transparent;
transition: transform 0.1s, border-color 0.1s;
}
.hue-swatch:hover { transform: scale(1.1); }
.hue-swatch.active { border-color: #fff4; transform: scale(1.1); }
.density-toggle {
display: flex;
background: var(--surface-2);
border: 1px solid var(--line);
border-radius: 6px;
padding: 2px;
}
.density-toggle button {
padding: 4px 10px;
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-mute);
border-radius: 4px;
}
.density-toggle button.on {
background: var(--surface-3);
color: var(--text);
}
.tweaks-fab {
position: absolute;
bottom: 58px;
right: 18px;
width: 36px;
height: 36px;
border-radius: 50%;
background: rgba(12, 16, 14, 0.88);
backdrop-filter: blur(24px);
border: 1px solid rgba(255,255,255,0.08);
color: var(--text-dim);
display: grid;
place-items: center;
box-shadow: 0 8px 24px rgba(0,0,0,0.4);
z-index: 20;
transition: transform 0.15s, color 0.15s;
}
.tweaks-fab:hover { color: var(--accent); transform: rotate(45deg); }
.tweaks-fab.hidden { display: none; }
/* Completion celebration */
.complete-ripple {
position: absolute;
inset: 0;
pointer-events: none;
border-radius: 10px;
overflow: hidden;
}
.complete-ripple::after {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(circle at var(--rx, 30px) 50%, var(--accent-glow) 0%, transparent 60%);
animation: ripple 0.5s ease-out forwards;
}
@keyframes ripple {
0% { opacity: 0.8; transform: scale(0.3); }
100% { opacity: 0; transform: scale(1.2); }
}
/* Fade-in for removing done items */
.task.leaving {
animation: task-leave 0.3s ease-out forwards;
}
@keyframes task-leave {
to { opacity: 0; transform: translateX(8px); }
}
/* Enter animation */
.task.entering {
animation: task-enter 0.25s ease-out;
}
@keyframes task-enter {
from { opacity: 0; transform: translateY(-4px); }
to { opacity: 1; transform: translateY(0); }
}