Files
GitLite/src/app.css
T
Christoph Brandau de8832a919 style(ui): update global theme colors and palette
This commit implements a comprehensive visual refresh by updating the core color scheme across the application. A new, cohesive dark mode aesthetic has been applied, shifting primary accents from purple/orange tones to cooler blue/cyan gradients. This ensures better consistency and modernizes the look of various components, including buttons and loading indicators.

- Updated global CSS variables for consistent theming
- Refreshed component styles with the new color palette
- Adjusted repository loading overlay visuals
2026-07-10 13:47:50 +02:00

5029 lines
139 KiB
CSS

@import "tailwindcss";
@theme {
--color-ink: #edf3ff;
--color-ink-muted: #b1bad0;
--color-ink-faint: #6f7c96;
--color-ink-dim: #8895ad;
--color-ink-quiet: #98a4bb;
--color-surface: rgba(18, 23, 34, 0.88);
--color-surface-alt: #090d14;
--color-surface-dim: rgba(15, 20, 30, 0.94);
--color-surface-hover: rgba(36, 45, 64, 0.78);
--color-surface-raised: rgba(23, 29, 43, 0.92);
--color-surface-solid: #171d2b;
--color-border: rgba(90, 111, 154, 0.3);
--color-border-subtle: rgba(226, 232, 240, 0.08);
--color-border-input: rgba(77, 182, 214, 0.26);
--color-primary: #6f8cff;
--color-primary-dark: #5d74e8;
--color-accent: #4db6d6;
--color-bar: rgba(7, 10, 16, 0.94);
--color-bar-text: #f1f5ff;
--color-bar-muted: #7f8ba3;
--font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}
:root {
--app-color-scheme: dark;
--app-bg: linear-gradient(135deg, #070a10 0%, #0c111a 48%, #090e16 100%);
--app-button-bg: linear-gradient(180deg, rgba(36, 45, 64, 0.92), rgba(22, 28, 42, 0.94));
--app-input-bg: rgba(10, 14, 22, 0.82);
--app-select-option-bg: #171d2b;
--app-panel-highlight: linear-gradient(180deg, rgba(255,255,255,0.038), transparent 70%);
--app-panel-shadow: 0 18px 48px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.045);
--app-dialog-backdrop: #070a10;
--app-dialog-bg: #101622;
--app-dialog-chrome: #141b29;
--app-dialog-shadow: 0 24px 68px rgba(0, 0, 0, 0.54), 0 2px 12px rgba(0,0,0,0.32);
--app-settings-row-bg: #141b29;
--app-scrollbar-thumb: #303a4f;
--app-scrollbar-thumb-hover: #44506a;
}
:root[data-theme="light"] {
--color-ink: #172033;
--color-ink-muted: #475569;
--color-ink-faint: #728098;
--color-ink-dim: #5f6f89;
--color-ink-quiet: #66758d;
--color-surface: rgba(255, 255, 255, 0.86);
--color-surface-alt: #f3f6fb;
--color-surface-dim: rgba(244, 247, 252, 0.92);
--color-surface-hover: rgba(226, 233, 245, 0.82);
--color-surface-raised: rgba(255, 255, 255, 0.94);
--color-surface-solid: #ffffff;
--color-border: rgba(61, 89, 142, 0.24);
--color-border-subtle: rgba(34, 49, 78, 0.11);
--color-border-input: rgba(46, 117, 182, 0.28);
--color-primary: #315fd6;
--color-primary-dark: #284cb4;
--color-accent: #0f8fb5;
--color-bar: rgba(248, 251, 255, 0.94);
--color-bar-text: #172033;
--color-bar-muted: #64728a;
--app-color-scheme: light;
--app-bg:
radial-gradient(circle at 12% 0%, rgba(49, 95, 214, 0.12), transparent 30%),
radial-gradient(circle at 82% 4%, rgba(15, 143, 181, 0.12), transparent 28%),
linear-gradient(135deg, #f7f9fd 0%, #eef3f9 48%, #f8fafc 100%);
--app-button-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 240, 249, 0.95));
--app-input-bg: rgba(255, 255, 255, 0.9);
--app-select-option-bg: #ffffff;
--app-panel-highlight: linear-gradient(180deg, rgba(255,255,255,0.72), transparent 70%);
--app-panel-shadow: 0 18px 48px rgba(28, 44, 74, 0.12), inset 0 1px 0 rgba(255,255,255,0.86);
--app-dialog-backdrop: rgba(232, 238, 248, 0.96);
--app-dialog-bg: #ffffff;
--app-dialog-chrome: #f4f7fc;
--app-dialog-shadow: 0 24px 72px rgba(28, 44, 74, 0.2), 0 2px 12px rgba(28,44,74,0.1);
--app-settings-row-bg: #f8fafd;
--app-scrollbar-thumb: #c2cada;
--app-scrollbar-thumb-hover: #aeb8cb;
}
@layer base {
*, *::before, *::after { box-sizing: border-box; }
html, body, #app { width: 100%; height: 100%; margin: 0; }
* { scrollbar-width: thin; scrollbar-color: var(--app-scrollbar-thumb) transparent; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--app-scrollbar-thumb); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--app-scrollbar-thumb-hover); }
html { color-scheme: var(--app-color-scheme); }
body {
overflow: hidden;
color: var(--color-ink);
background: var(--app-bg);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
button, input, textarea, select { font: inherit; }
button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 30px;
padding: 0 11px;
border: 1px solid var(--color-border);
border-radius: 8px;
color: var(--color-ink-muted);
background: var(--app-button-bg);
cursor: pointer;
transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
font-size: 13px;
}
button:hover:not(:disabled) {
border-color: var(--color-border-input);
background: var(--color-surface-hover);
color: var(--color-ink);
}
button:disabled { cursor: not-allowed; opacity: 0.4; }
input, textarea, select {
width: 100%;
border: 1px solid var(--color-border-input);
border-radius: 8px;
color: var(--color-ink);
background: var(--app-input-bg);
outline: none;
}
input:focus, textarea:focus, select:focus {
border-color: var(--color-primary);
box-shadow: 0 0 0 3px rgba(100, 108, 255, 0.22), 0 0 32px rgba(65, 209, 255, 0.08);
}
input { height: 34px; padding: 0 11px; }
textarea { resize: vertical; min-height: 132px; padding: 10px 11px; line-height: 1.45; }
select { height: 34px; padding: 0 9px; }
select {
appearance: none;
-webkit-appearance: none;
width: 100%;
height: 34px;
padding: 0 32px 0 11px;
border: 1px solid var(--color-border-input);
border-radius: 6px;
color: var(--color-ink);
background-color: var(--color-surface-raised);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235e6e9c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 9px center;
outline: none;
cursor: pointer;
font-size: 13px;
}
select:focus {
border-color: var(--color-primary);
box-shadow: 0 0 0 3px rgba(90, 140, 248, 0.18);
}
select option { background: var(--app-select-option-bg); color: var(--color-ink); }
}
@layer components {
/* --- Shared utilities --- */
.btn-sm { min-height: 26px; padding: 0 8px; font-size: 12px; }
.btn-primary {
border-color: rgba(111, 140, 255, 0.72);
color: #ffffff;
background: linear-gradient(135deg, #5f7df2 0%, #238eb4 100%);
box-shadow: 0 10px 24px rgba(77, 182, 214, 0.16);
font-weight: 600;
}
.btn-primary:hover:not(:disabled) {
border-color: rgba(77, 182, 214, 0.78);
background: linear-gradient(135deg, #6f8cff 0%, #2da0c7 100%);
color: #ffffff;
}
.btn-secondary {
border-color: rgba(77, 182, 214, 0.3);
color: #b8e7f6;
background: linear-gradient(180deg, rgba(77, 182, 214, 0.1), rgba(111, 140, 255, 0.07));
font-weight: 700;
}
.btn-secondary:hover:not(:disabled) {
border-color: rgba(77, 182, 214, 0.58);
color: #ffffff;
background: linear-gradient(180deg, rgba(77, 182, 214, 0.16), rgba(111, 140, 255, 0.12));
}
.btn-danger {
border-color: rgba(255, 90, 103, 0.72);
color: #ffffff;
background: linear-gradient(135deg, rgba(255, 90, 103, 0.92), rgba(195, 44, 64, 0.9));
box-shadow: 0 0 22px rgba(255, 90, 103, 0.16);
font-weight: 700;
}
.btn-danger:hover:not(:disabled) {
border-color: rgba(255, 161, 169, 0.86);
color: #ffffff;
background: linear-gradient(135deg, rgba(255, 111, 124, 0.96), rgba(214, 55, 77, 0.95));
}
.panel {
min-width: 0;
min-height: 0;
border: 1px solid var(--color-border);
border-radius: 12px;
background:
var(--app-panel-highlight),
var(--color-surface);
box-shadow: var(--app-panel-shadow);
backdrop-filter: blur(16px);
}
.section-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
min-height: 46px;
padding: 8px 12px;
border-bottom: 1px solid var(--color-border-subtle);
background: linear-gradient(90deg, rgba(111,140,255,0.07), rgba(77,182,214,0.025));
}
.section-head h2 { margin: 1px 0 0; color: var(--color-ink); font-size: 14px; line-height: 1.2; font-weight: 600; }
.section-head-actions {
display: flex;
align-items: center;
flex: 0 0 auto;
justify-content: flex-end;
gap: 8px;
min-width: 0;
}
.graph-branch-dialog-button {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 26px;
padding: 0 9px;
overflow: hidden;
border: 1px solid rgba(91,209,138,0.24);
border-radius: 999px;
color: #b6f1c4;
background: rgba(34,68,48,0.28);
font-size: 11px;
font-weight: 800;
white-space: nowrap;
transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}
.graph-branch-dialog-button:hover {
border-color: rgba(91,209,138,0.42);
background: rgba(34,68,48,0.42);
}
.graph-branch-dialog-button span {
padding: 1px 5px;
border-radius: 999px;
color: #061021;
background: #6ce18f;
font-size: 10px;
line-height: 1.2;
}
.branch-filter-backdrop {
position: fixed;
inset: 0;
z-index: 80;
display: grid;
place-items: center;
padding: 24px;
background: #050712;
}
.branch-filter-dialog {
display: grid;
grid-template-rows: auto auto minmax(0, 1fr);
width: min(520px, 100%);
max-height: min(680px, calc(100vh - 48px));
overflow: hidden;
border: 1px solid rgba(94,110,156,0.24);
border-radius: 10px;
background:
linear-gradient(180deg, #20253f 0%, #151827 72%),
#151827;
box-shadow: 0 24px 80px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.05);
}
.branch-filter-dialog-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 14px 12px;
border-bottom: 1px solid var(--color-border-subtle);
background: linear-gradient(90deg, rgba(100,108,255,0.12), rgba(65,209,255,0.04));
}
.branch-filter-dialog-head h3 {
margin: 1px 0 0;
color: var(--color-ink);
font-size: 16px;
font-weight: 750;
}
.dialog-icon-button {
display: inline-grid;
place-items: center;
width: 30px;
height: 30px;
padding: 0;
border: 1px solid rgba(94,110,156,0.18);
border-radius: 7px;
color: var(--color-ink-dim);
background: rgba(255,255,255,0.035);
}
.dialog-icon-button:hover {
color: var(--color-ink);
border-color: rgba(65,209,255,0.28);
background: rgba(65,209,255,0.08);
}
.branch-filter-summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 14px;
border-bottom: 1px solid var(--color-border-subtle);
color: var(--color-ink-dim);
font-size: 12px;
font-weight: 700;
}
.branch-filter-actions {
display: inline-flex;
gap: 6px;
}
.branch-filter-actions button {
min-height: 24px;
padding: 0 8px;
border-color: rgba(94,110,156,0.16);
border-radius: 999px;
color: var(--color-ink-dim);
background: rgba(255,255,255,0.035);
font-size: 10.5px;
font-weight: 800;
}
.branch-filter-actions button:hover:not(:disabled) {
border-color: rgba(65,209,255,0.28);
color: var(--color-ink);
background: rgba(65,209,255,0.08);
}
.branch-filter-actions button:disabled {
cursor: default;
opacity: 0.45;
}
.branch-filter-dialog-list {
display: grid;
align-content: start;
gap: 4px;
min-height: 0;
padding: 8px;
overflow: auto;
scrollbar-width: thin;
}
.branch-filter-option {
display: grid;
grid-template-columns: 16px 16px minmax(0, 1fr);
align-items: center;
gap: 8px;
min-height: 32px;
padding: 0 9px;
border: 1px solid transparent;
border-radius: 7px;
color: #a8eeba;
background: transparent;
cursor: pointer;
font-size: 12px;
font-weight: 750;
}
.branch-filter-option:hover {
border-color: rgba(91,209,138,0.18);
background: rgba(34,68,48,0.22);
}
.branch-filter-option.muted {
color: var(--color-ink-faint);
opacity: 0.72;
}
.branch-filter-option input {
width: 14px;
height: 14px;
accent-color: #6ce18f;
}
.branch-filter-option svg {
color: currentColor;
}
.branch-filter-option span {
min-width: 0;
overflow: hidden;
font-family: var(--font-mono);
text-overflow: ellipsis;
white-space: nowrap;
}
.eyebrow {
display: block;
color: var(--color-ink-faint);
font-size: 10.5px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.pill {
display: inline-flex;
align-items: center;
min-height: 20px;
padding: 0 7px;
border-radius: 999px;
font-size: 11px;
font-weight: 700;
white-space: nowrap;
}
.pill-count { color: var(--color-ink-dim); background: rgba(94, 110, 156, 0.15); }
.pill-active { color: #4eca76; background: rgba(78, 202, 118, 0.13); }
.blank-state {
display: grid;
place-items: center;
min-height: 72px;
padding: 14px;
color: var(--color-ink-faint);
font-size: 13px;
text-align: center;
}
.status-badge {
display: inline-block;
min-width: 72px;
padding: 2px 7px;
border: 1px solid transparent;
border-radius: 999px;
font-size: 10.5px;
font-weight: 700;
text-align: center;
text-transform: uppercase;
white-space: nowrap;
letter-spacing: 0.02em;
}
.status-badge.modified { color: #e0a040; background: rgba(224,160,64,0.13); border-color: rgba(224,160,64,0.22); }
.status-badge.added,
.status-badge.untracked { color: #4eca76; background: rgba(78,202,118,0.11); border-color: rgba(78,202,118,0.22); }
.status-badge.deleted { color: #e86060; background: rgba(232,96,96,0.11); border-color: rgba(232,96,96,0.22); }
.status-badge.renamed { color: #7aacff; background: rgba(122,172,255,0.11); border-color: rgba(122,172,255,0.22); }
.status-badge.conflicted { color: #d060c0; background: rgba(208,96,192,0.11); border-color: rgba(208,96,192,0.22); }
.status-badge.unknown,
.status-badge.none { color: var(--color-ink-dim); background: rgba(94,110,156,0.12); border-color: rgba(94,110,156,0.2); }
.quiet { overflow: hidden; color: var(--color-ink-faint); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.spin { animation: spin 900ms linear infinite; }
/* --- App shell --- */
.shell {
--app-titlebar-height: 42px;
display: flex;
flex-direction: column;
height: 100%;
background: transparent;
}
.shell-body {
display: flex;
flex-direction: column;
flex: 1 1 0;
min-height: 0;
padding: 8px 12px 12px;
gap: 8px;
}
/* --- Titlebar --- */
.titlebar {
position: relative;
z-index: 500;
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
height: var(--app-titlebar-height);
background:
linear-gradient(90deg, rgba(111,140,255,0.08), rgba(77,182,214,0.045), rgba(255,255,255,0.012)),
var(--color-bar);
color: var(--color-bar-text);
user-select: none;
flex-shrink: 0;
-webkit-app-region: drag;
}
.titlebar-brand {
display: flex;
align-items: center;
gap: 8px;
padding: 0 13px 0 11px;
height: 100%;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.01em;
color: var(--color-bar-text);
border-right: 1px solid rgba(255,255,255,0.06);
}
.titlebar-brand-icon {
display: grid;
place-items: center;
width: 24px;
height: 24px;
flex: 0 0 24px;
}
.titlebar-brand-icon img {
width: 24px;
height: 24px;
object-fit: contain;
filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}
.tb-version {
margin-left: 1px;
color: rgba(255,255,255,0.32);
font-size: 10px;
font-weight: 600;
font-family: var(--font-mono);
letter-spacing: 0.01em;
}
.titlebar-info {
display: flex;
align-items: center;
gap: 6px;
padding: 0 12px;
min-width: 0;
height: 100%;
overflow: hidden;
}
.titlebar-info svg { color: var(--color-accent); flex-shrink: 0; }
.tb-repo { color: var(--color-bar-muted); font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.tb-sep { color: rgba(255,255,255,0.22); font-size: 13px; }
.tb-branch { color: #f5f7ff; font-size: 12px; font-weight: 700; font-family: var(--font-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.tb-sync { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; flex-shrink: 0; }
.tb-sync.ahead { color: #e0a040; background: rgba(224,160,64,0.13); }
.tb-sync.behind { color: #7aacff; background: rgba(122,172,255,0.13); }
.tb-no-repo { color: var(--color-bar-muted); font-size: 12px; font-style: italic; }
.titlebar-right { display: flex; align-items: stretch; height: 100%; border-left: 1px solid rgba(255,255,255,0.06); }
.titlebar-actions { display: flex; align-items: stretch; }
.tb-action {
display: flex;
align-items: center;
gap: 5px;
height: 100%;
min-height: unset;
padding: 0 10px;
border: none;
border-radius: 0;
background: transparent;
color: var(--color-bar-muted);
font-size: 12px;
cursor: pointer;
transition: background 120ms ease, color 120ms ease;
-webkit-app-region: no-drag;
}
.tb-action:hover:not(:disabled) { background: rgba(255,255,255,0.06); border-color: transparent; color: #d6def0; }
.tb-action:disabled { opacity: 0.3; cursor: not-allowed; }
.tb-action.auto-toggle.active { color: #4eca76; }
.tb-action.auto-toggle.active:hover:not(:disabled) { color: #6ee090; background: rgba(78,202,118,0.1); }
.tb-action-label { font-size: 12px; font-weight: 600; }
.titlebar-divider { width: 1px; margin: 8px 0; background: rgba(255,255,255,0.08); flex-shrink: 0; }
.titlebar-controls { display: flex; align-items: stretch; height: 100%; }
.tb-btn {
display: flex;
align-items: center;
justify-content: center;
width: 46px;
height: 100%;
min-height: unset;
padding: 0;
border: none;
border-radius: 0;
background: transparent;
color: #536078;
cursor: pointer;
transition: background 120ms ease, color 120ms ease;
-webkit-app-region: no-drag;
}
.tb-btn:hover:not(:disabled) { background: rgba(255,255,255,0.08); border-color: transparent; color: #d6def0; }
.tb-btn.close:hover:not(:disabled) { background: #c0392b; color: #ffffff; }
/* --- Top bar (repo form) --- */
.topbar {
padding: 9px 10px;
border: 1px solid var(--color-border);
border-radius: 12px;
background:
linear-gradient(90deg, rgba(111,140,255,0.055), rgba(77,182,214,0.045), rgba(255,255,255,0.012)),
var(--color-surface);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
backdrop-filter: blur(16px);
}
.repo-form {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto auto;
align-items: center;
gap: 9px;
}
.repo-form label { color: var(--color-ink-faint); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.repo-browse { min-width: 104px; }
/* --- Repository tabs + management --- */
.repo-tabbar {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: stretch;
min-height: 40px;
border: 1px solid var(--color-border-subtle);
border-radius: 10px;
background: rgba(16, 17, 29, 0.9);
overflow: hidden;
}
.repo-tabs-scroll {
display: flex;
align-items: stretch;
min-width: 0;
overflow-x: auto;
overflow-y: hidden;
}
.repo-tab-wrap {
display: flex;
align-items: stretch;
min-width: 0;
border-right: 1px solid var(--color-border-subtle);
background: rgba(255,255,255,0.015);
}
.repo-tab-wrap.active {
background: rgba(90, 140, 248, 0.16);
box-shadow: inset 0 -2px 0 var(--color-primary);
}
.repo-tab {
min-height: 38px;
min-width: 0;
max-width: 250px;
padding: 0 10px;
border: 0;
border-right: 1px solid var(--color-border-subtle);
border-radius: 0;
background: transparent;
color: var(--color-ink-muted);
font-size: 12px;
font-weight: 700;
}
.repo-tab.management {
max-width: none;
min-width: 190px;
}
.repo-tab.active,
.repo-tab-wrap.active .repo-tab {
color: var(--color-ink);
}
.repo-tab span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.repo-tab strong {
flex: 0 0 auto;
max-width: 90px;
overflow: hidden;
padding: 2px 6px;
border-radius: 4px;
background: rgba(94, 110, 156, 0.18);
color: var(--color-ink-dim);
font-size: 10.5px;
font-family: var(--font-mono);
text-overflow: ellipsis;
white-space: nowrap;
}
.repo-tab-close,
.repo-tab-add {
min-height: 38px;
min-width: 38px;
padding: 0;
border: 0;
border-radius: 0;
background: transparent;
color: var(--color-ink-faint);
}
.repo-tab-add {
border-left: 1px solid var(--color-border-subtle);
}
.repo-management {
display: grid;
grid-template-rows: auto auto minmax(0, 1fr);
flex: 1 1 0;
min-height: 0;
border: 1px solid var(--color-border);
border-radius: 12px;
background: rgba(20, 21, 34, 0.82);
overflow: hidden;
}
.repo-management-head,
.repo-management-tools {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 16px;
border-bottom: 1px solid var(--color-border-subtle);
background: var(--color-surface-dim);
}
.repo-management-head h1 {
margin: 2px 0 0;
color: var(--color-ink);
font-size: 18px;
line-height: 1.2;
}
.repo-management-actions {
display: flex;
align-items: center;
gap: 8px;
}
.repo-management-tools {
padding: 9px 16px;
background: rgba(12, 13, 24, 0.72);
}
.repo-search {
position: relative;
width: min(620px, 100%);
}
.repo-search svg {
position: absolute;
left: 10px;
top: 50%;
color: var(--color-ink-faint);
transform: translateY(-50%);
pointer-events: none;
}
.repo-search input {
padding-left: 34px;
}
.repo-sections {
min-height: 0;
overflow: auto;
padding: 14px 16px 18px;
}
.repo-section {
border: 1px solid var(--color-border-subtle);
border-radius: 8px;
background: rgba(255,255,255,0.018);
overflow: hidden;
}
.repo-section + .repo-section { margin-top: 12px; }
.repo-section > header {
display: flex;
align-items: center;
gap: 8px;
min-height: 38px;
padding: 0 12px;
border-bottom: 1px solid var(--color-border-subtle);
background: rgba(255,255,255,0.045);
}
.repo-section h2 {
margin: 0;
color: var(--color-ink);
font-size: 13px;
font-weight: 800;
}
.repo-section > header span {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 20px;
min-height: 20px;
border-radius: 999px;
background: rgba(94, 110, 156, 0.18);
color: var(--color-ink-dim);
font-size: 11px;
font-weight: 800;
}
.repo-empty {
padding: 20px 24px;
color: var(--color-ink-faint);
font-size: 13px;
font-style: italic;
}
.repo-table {
display: grid;
}
.repo-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto auto;
align-items: stretch;
min-height: 36px;
border-bottom: 1px solid rgba(255,255,255,0.035);
}
.repo-row:last-child { border-bottom: 0; }
.repo-row-main {
display: grid;
grid-template-columns: minmax(160px, 220px) minmax(220px, 1fr) minmax(160px, 360px);
justify-content: stretch;
min-height: 36px;
padding: 0 10px 0 28px;
border: 0;
border-radius: 0;
background: transparent;
text-align: left;
}
.repo-row-main:hover:not(:disabled) {
background: rgba(90, 140, 248, 0.08);
}
.repo-row-name,
.repo-row-path,
.repo-row-meta {
display: inline-flex;
align-items: center;
min-width: 0;
overflow: hidden;
color: var(--color-ink-muted);
font-size: 12px;
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
}
.repo-row-path {
color: var(--color-ink-faint);
font-family: var(--font-mono);
font-size: 11.5px;
font-weight: 500;
}
.repo-row-meta {
gap: 5px;
justify-content: flex-start;
color: var(--color-ink-dim);
}
.repo-row-meta strong,
.repo-row-meta em {
display: inline-flex;
align-items: center;
gap: 4px;
min-height: 20px;
padding: 0 6px;
border-radius: 4px;
background: rgba(94, 110, 156, 0.18);
color: var(--color-ink-dim);
font-size: 10.5px;
font-style: normal;
font-weight: 800;
}
.repo-row-meta .ahead { color: #e0a040; background: rgba(224,160,64,0.13); }
.repo-row-meta .behind { color: #7aacff; background: rgba(122,172,255,0.13); }
.repo-row-icon {
min-height: 36px;
min-width: 36px;
padding: 0;
border: 0;
border-left: 1px solid rgba(255,255,255,0.035);
border-radius: 0;
background: transparent;
color: var(--color-ink-faint);
}
.repo-row-favorite.active {
color: #e0c15f;
}
.repo-row-favorite.active svg {
fill: currentColor;
}
/* --- Notices --- */
.notice {
display: flex;
align-items: center;
gap: 8px;
min-height: 32px;
padding: 5px 11px;
border: 1px solid;
border-radius: 8px;
font-size: 13px;
flex-shrink: 0;
}
.notice.error { border-color: rgba(232,96,90,0.3); color: #f09090; background: rgba(232,96,90,0.08); }
.notice.busy { border-color: rgba(90,140,248,0.28); color: #8ab0f8; background: rgba(90,140,248,0.07); }
.notice.conflict { border-color: rgba(224,160,64,0.3); color: #e8b060; background: rgba(224,160,64,0.07); }
.notice.rebase { flex-wrap: wrap; border-color: rgba(186,130,255,0.3); color: #c9a8ff; background: rgba(186,130,255,0.075); }
.notice.rebase span { min-width: 0; flex: 1 1 auto; }
.notice.conflict button {
margin-left: auto;
min-height: 26px;
padding: 0 10px;
border-color: rgba(224,160,64,0.3);
color: #e8b060;
background: rgba(224,160,64,0.1);
font-size: 12px;
font-weight: 700;
}
.notice.conflict button:hover:not(:disabled) {
background: rgba(224,160,64,0.18);
border-color: rgba(224,160,64,0.45);
color: #f0c070;
}
.notice.rebase button {
min-height: 26px;
padding: 0 10px;
border-color: rgba(186,130,255,0.28);
color: #d5bdff;
background: rgba(186,130,255,0.1);
font-size: 12px;
font-weight: 700;
}
.notice.rebase button:hover:not(:disabled) {
background: rgba(186,130,255,0.18);
border-color: rgba(186,130,255,0.45);
color: #eadfff;
}
/* --- Update toast --- */
.update-toast {
position: fixed;
right: 18px;
bottom: 18px;
z-index: 70;
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 12px;
width: min(430px, calc(100vw - 32px));
padding: 14px;
overflow: hidden;
border: 1px solid rgba(100, 108, 255, 0.42);
border-radius: 14px;
color: var(--color-ink);
background:
linear-gradient(135deg, rgba(100,108,255,0.22), rgba(189,52,254,0.12) 42%, rgba(65,209,255,0.08)),
rgba(12, 13, 24, 0.96);
box-shadow: 0 24px 72px rgba(0,0,0,0.48), 0 0 0 1px rgba(255,255,255,0.04) inset;
backdrop-filter: blur(18px);
}
.update-toast.error {
border-color: rgba(232,96,96,0.45);
background:
linear-gradient(135deg, rgba(232,96,96,0.16), rgba(100,108,255,0.11)),
rgba(12, 13, 24, 0.96);
}
.update-toast.installed {
border-color: rgba(78,202,118,0.38);
background:
linear-gradient(135deg, rgba(78,202,118,0.15), rgba(65,209,255,0.1), rgba(100,108,255,0.12)),
rgba(12, 13, 24, 0.96);
}
.update-toast-glow {
position: absolute;
inset: auto 18px -46px auto;
width: 170px;
height: 95px;
border-radius: 999px;
background: rgba(65,209,255,0.18);
filter: blur(34px);
pointer-events: none;
}
.update-toast-icon {
display: grid;
place-items: center;
width: 42px;
height: 42px;
flex: 0 0 auto;
border: 1px solid rgba(255,255,255,0.14);
border-radius: 12px;
color: #ffffff;
background: linear-gradient(135deg, rgba(65,209,255,0.28), rgba(100,108,255,0.54), rgba(189,52,254,0.42));
box-shadow: 0 14px 32px rgba(100,108,255,0.22), inset 0 1px 0 rgba(255,255,255,0.16);
}
.update-toast-icon.busy { color: #bfefff; }
.update-toast-content {
position: relative;
z-index: 1;
display: grid;
gap: 9px;
min-width: 0;
}
.update-toast-top {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: start;
gap: 8px;
min-width: 0;
}
.update-toast-copy { min-width: 0; }
.update-toast-kicker {
display: block;
overflow: hidden;
color: var(--color-accent);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.update-toast h2 {
margin: 2px 0 0;
color: #ffffff;
font-size: 15px;
font-weight: 800;
line-height: 1.2;
}
.update-toast p {
margin: 0;
color: var(--color-ink-muted);
font-size: 12.5px;
line-height: 1.45;
overflow-wrap: anywhere;
}
.update-toast-close {
width: 28px;
min-width: 28px;
min-height: 28px;
padding: 0;
border-color: rgba(255,255,255,0.1);
border-radius: 8px;
color: var(--color-ink-dim);
background: rgba(255,255,255,0.04);
}
.update-toast-close:hover:not(:disabled) {
border-color: rgba(255,255,255,0.2);
color: #ffffff;
background: rgba(255,255,255,0.1);
}
.update-progress {
position: relative;
height: 6px;
overflow: hidden;
border-radius: 999px;
background: rgba(255,255,255,0.09);
}
.update-progress span {
position: absolute;
inset: 0 auto 0 0;
min-width: 0;
border-radius: inherit;
background: linear-gradient(90deg, #4db6d6, #6f8cff, #238eb4);
transition: width 160ms ease;
}
.update-progress.indeterminate span {
width: 42% !important;
animation: update-progress-slide 1.1s ease-in-out infinite;
}
.update-progress-label {
margin-top: -3px;
color: var(--color-ink-faint);
font-size: 11px;
font-weight: 700;
}
.update-toast-actions {
display: flex;
justify-content: flex-end;
flex-wrap: wrap;
gap: 8px;
}
.update-toast-primary,
.update-toast-secondary {
min-height: 32px;
border-radius: 8px;
font-size: 12.5px;
font-weight: 800;
}
.update-toast-primary {
border-color: rgba(111,140,255,0.72);
color: #ffffff;
background: linear-gradient(135deg, #5f7df2, #238eb4);
}
.update-toast-primary:hover:not(:disabled) {
border-color: rgba(77,182,214,0.74);
color: #ffffff;
background: linear-gradient(135deg, #6f8cff, #2da0c7);
}
.update-toast-secondary {
border-color: rgba(255,255,255,0.1);
color: var(--color-ink-muted);
background: rgba(255,255,255,0.05);
}
/* --- Workspace layout --- */
.workspace {
display: grid;
grid-template-columns: minmax(220px, var(--left-sidebar-width, 280px)) 8px minmax(0, 1fr) 8px minmax(560px, var(--history-aside-width, 620px));
flex: 1 1 0;
min-width: 0;
min-height: 0;
column-gap: 0;
row-gap: 8px;
}
.history-aside {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) 8px minmax(240px, var(--file-history-width, 300px));
min-width: 0;
min-height: 0;
column-gap: 0;
row-gap: 8px;
}
.history-aside.file-history-collapsed {
grid-template-columns: minmax(0, 1fr) 0 42px;
}
.left-sidebar-resize-handle,
.history-resize-handle,
.file-history-resize-handle {
position: relative;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
min-width: 8px;
cursor: col-resize;
touch-action: none;
}
.left-sidebar-resize-handle::before,
.history-resize-handle::before,
.file-history-resize-handle::before {
content: "";
width: 3px;
height: 40px;
border-radius: 999px;
background: var(--color-border);
transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.left-sidebar-resize-handle:hover::before,
.left-sidebar-resize-handle.resizing::before,
.history-resize-handle:hover::before,
.history-resize-handle.resizing::before,
.file-history-resize-handle:hover::before,
.file-history-resize-handle.resizing::before {
background: var(--color-accent);
box-shadow: 0 0 14px rgba(65,209,255,0.3);
}
.left-sidebar-resize-handle:focus-visible,
.history-resize-handle:focus-visible,
.file-history-resize-handle:focus-visible {
outline: 2px solid var(--color-primary);
outline-offset: 2px;
}
.history-aside.file-history-collapsed .file-history-resize-handle {
pointer-events: none;
}
.history-aside.file-history-collapsed .file-history-resize-handle::before {
display: none;
}
.left-sidebar {
display: grid;
grid-template-rows: minmax(180px, var(--branch-panel-height, 260px)) 14px minmax(150px, var(--stash-panel-height, 190px)) 14px minmax(220px, 1fr);
align-content: start;
min-width: 0;
min-height: 0;
gap: 0;
}
.left-panel-resize-handle {
min-height: 14px;
margin: 0;
}
.left-panel-resize-placeholder {
display: block;
min-height: 0;
min-width: 0;
}
.left-sidebar.branch-collapsed {
grid-template-rows: auto 0 minmax(150px, var(--stash-panel-height, 190px)) 14px minmax(220px, 1fr);
}
.left-sidebar.explorer-collapsed {
grid-template-rows: minmax(180px, var(--branch-panel-height, 260px)) 14px minmax(150px, var(--stash-panel-height, 190px)) 0 auto;
}
.left-sidebar.branch-collapsed.explorer-collapsed {
grid-template-rows: auto 0 minmax(150px, var(--stash-panel-height, 190px)) 0 auto;
}
.left-sidebar:has(.stash-panel.collapsed) {
grid-template-rows: minmax(180px, var(--branch-panel-height, 260px)) 14px auto 0 minmax(220px, 1fr);
}
.left-sidebar.branch-collapsed:has(.stash-panel.collapsed) {
grid-template-rows: auto 0 auto 0 minmax(220px, 1fr);
}
.left-sidebar.explorer-collapsed:has(.stash-panel.collapsed) {
grid-template-rows: minmax(180px, var(--branch-panel-height, 260px)) 14px auto 0 auto;
}
.left-sidebar.branch-collapsed.explorer-collapsed:has(.stash-panel.collapsed) {
grid-template-rows: auto 0 auto 0 auto;
align-content: start;
}
/* --- Main panel --- */
.main-panel {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
min-width: 0;
min-height: 0;
border: 1px solid var(--color-border);
border-radius: 10px;
background: var(--color-surface);
overflow: hidden;
}
.repo-summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
height: 46px;
padding: 0 14px;
border-bottom: 1px solid var(--color-border-subtle);
overflow: hidden;
flex-shrink: 0;
background: var(--color-surface-dim);
}
.repo-meta {
display: flex;
align-items: center;
gap: 7px;
min-width: 0;
overflow: hidden;
}
.repo-meta svg { color: var(--color-primary); flex-shrink: 0; }
.repo-branch {
font-size: 13px;
font-weight: 700;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex-shrink: 0;
max-width: 220px;
color: var(--color-ink);
}
.repo-path {
color: var(--color-ink-faint);
font-size: 11.5px;
font-family: var(--font-mono);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sync-stats, .status-counts { display: flex; align-items: center; gap: 5px; flex-wrap: nowrap; flex-shrink: 0; }
.sync-stats strong, .sync-stats span {
padding: 2px 7px;
border-radius: 999px;
font-size: 11px;
font-weight: 700;
white-space: nowrap;
}
.sync-stats strong:first-of-type { color: #e0a040; background: rgba(224,160,64,0.13); }
.sync-stats strong:last-of-type { color: #7aacff; background: rgba(122,172,255,0.13); }
.sync-stats span { color: var(--color-ink-dim); background: rgba(94,110,156,0.13); }
.top-section {
display: grid;
grid-template-columns: minmax(0, 1fr);
grid-template-rows: minmax(120px, 1fr) 14px var(--commit-panel-height, 220px);
min-height: 0;
gap: 0;
padding: 8px;
overflow: hidden;
}
.panel-resize-handle {
position: relative;
display: flex;
align-items: center;
justify-content: center;
cursor: row-resize;
touch-action: none;
}
.panel-resize-handle::before {
content: "";
width: 40px;
height: 3px;
border-radius: 999px;
background: var(--color-border);
transition: background-color 0.15s ease;
}
.panel-resize-handle:hover::before,
.panel-resize-handle.resizing::before {
background: var(--color-accent);
}
.panel-resize-handle:focus-visible {
outline: 2px solid var(--color-accent);
outline-offset: -2px;
border-radius: 4px;
}
/* --- File list / change lanes --- */
.file-list { padding: 6px; overflow: auto; }
.file-row { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--color-border-subtle); border-radius: 8px; background: var(--color-surface-raised); }
.file-row + .file-row { margin-top: 6px; }
.file-row.selected { border-color: rgba(90,140,248,0.36); background: rgba(90,140,248,0.1); }
.file-row.active { box-shadow: inset 3px 0 0 rgba(65,209,255,0.7); }
.file-title-button {
justify-content: flex-start;
width: 100%;
min-height: 24px;
padding: 0;
border: 0;
background: transparent;
color: inherit;
text-align: left;
}
.file-title-button:hover:not(:disabled) {
background: transparent;
color: var(--color-accent);
}
.file-title strong {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-family: var(--font-mono);
font-size: 12.5px;
color: var(--color-ink);
}
.change-lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.change-lane {
display: grid;
grid-template-rows: auto auto;
gap: 6px;
padding: 8px;
border: 1px solid var(--color-border-subtle);
border-radius: 8px;
background: rgba(255,255,255,0.02);
}
.change-lane.inactive { opacity: 0.5; }
.lane-header { display: flex; align-items: center; gap: 8px; }
.lane-name { color: var(--color-ink-faint); font-size: 11px; font-weight: 800; flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.05em; }
.lane-actions { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.status-toolbar {
display: flex;
align-items: center;
gap: 6px;
padding: 5px 8px;
border-bottom: 1px solid var(--color-border-subtle);
background: var(--color-surface-dim);
}
.status-selection-count {
padding: 0 7px;
color: var(--color-ink-dim);
font-size: 11.5px;
font-weight: 800;
white-space: nowrap;
}
/* --- Stash panel --- */
.stash-panel {
display: grid;
grid-template-rows: auto auto minmax(0, 1fr);
}
.stash-panel.collapsed {
grid-template-rows: auto;
min-height: 0;
}
.stash-head-actions {
display: inline-flex;
align-items: center;
gap: 6px;
}
.stash-toggle {
display: inline-grid;
place-items: center;
width: 26px;
min-width: 26px;
min-height: 26px;
padding: 0;
border-color: rgba(94,110,156,0.18);
border-radius: 7px;
color: var(--color-ink-dim);
background: rgba(255,255,255,0.035);
}
.stash-toggle:hover:not(:disabled) {
border-color: rgba(65,209,255,0.28);
color: var(--color-ink);
background: rgba(65,209,255,0.08);
}
.stash-create {
display: grid;
grid-template-columns: minmax(0, 1fr) auto auto;
align-items: center;
gap: 6px;
padding: 7px;
border-bottom: 1px solid var(--color-border-subtle);
background: var(--color-surface-dim);
}
.stash-input {
min-width: 0;
height: 28px;
padding: 0 8px;
border: 1px solid var(--color-border-subtle);
border-radius: 7px;
color: var(--color-ink);
background: rgba(255,255,255,0.035);
font-size: 12px;
}
.stash-input:focus {
border-color: rgba(65,209,255,0.42);
outline: none;
box-shadow: 0 0 0 2px rgba(65,209,255,0.1);
}
.stash-check {
display: inline-flex;
align-items: center;
gap: 5px;
color: var(--color-ink-dim);
font-size: 11px;
font-weight: 700;
white-space: nowrap;
}
.stash-check input {
width: 13px;
height: 13px;
accent-color: var(--color-accent);
}
.stash-save-button {
border-color: rgba(65,209,255,0.18);
color: var(--color-ink);
background: rgba(65,209,255,0.075);
}
.stash-list {
display: grid;
align-content: start;
gap: 6px;
min-height: 0;
padding: 7px;
overflow: auto;
}
.stash-empty {
min-height: 48px;
}
.stash-row {
display: grid;
gap: 7px;
padding: 8px;
border: 1px solid var(--color-border-subtle);
border-radius: 8px;
background: var(--color-surface-raised);
}
.stash-row-main {
display: grid;
gap: 2px;
min-width: 0;
}
.stash-row-main strong,
.stash-row-main span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.stash-row-main strong {
color: var(--color-ink);
font-size: 12px;
font-weight: 750;
}
.stash-row-main span {
color: var(--color-ink-faint);
font-family: var(--font-mono);
font-size: 10.5px;
}
.stash-actions {
display: flex;
flex-wrap: wrap;
gap: 5px;
}
.btn-sm.danger {
border-color: rgba(232,96,96,0.2);
color: #ef9b9b;
background: rgba(232,96,96,0.08);
}
.btn-sm.danger:hover:not(:disabled) {
border-color: rgba(232,96,96,0.38);
color: #ffd2d2;
background: rgba(232,96,96,0.14);
}
/* --- Branch list --- */
.branch-head-actions {
display: flex;
align-items: center;
gap: 6px;
}
.branch-panel { position: relative; }
.branch-panel.collapsed {
grid-template-rows: auto;
}
.branch-create-toggle {
width: 26px;
min-width: 26px;
min-height: 26px;
padding: 0;
border-color: rgba(65,209,255,0.2);
border-radius: 7px;
color: var(--color-ink-dim);
background: rgba(65,209,255,0.06);
}
.branch-create-toggle:hover:not(:disabled) {
border-color: rgba(65,209,255,0.45);
color: #ffffff;
background: rgba(65,209,255,0.13);
}
.branch-list { gap: 8px; }
.branch-create-form {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto auto;
align-items: center;
gap: 7px;
margin-bottom: 8px;
padding: 7px 8px;
border: 1px solid rgba(65,209,255,0.22);
border-radius: 8px;
background: linear-gradient(90deg, rgba(65,209,255,0.08), rgba(100,108,255,0.07));
}
.branch-create-form svg { color: var(--color-accent); }
.branch-create-form input {
height: 30px;
min-width: 0;
border-radius: 7px;
font-family: var(--font-mono);
font-size: 12px;
}
.branch-create-action {
width: 28px;
min-width: 28px;
min-height: 28px;
padding: 0;
border-radius: 7px;
}
.branch-create-action.confirm {
border-color: rgba(78,202,118,0.34);
color: #6ee090;
background: rgba(78,202,118,0.11);
}
.branch-group { display: grid; gap: 4px; min-width: 0; }
.branch-group + .branch-group { margin-top: 8px; }
.branch-group-toggle {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
justify-content: stretch;
width: 100%;
min-height: 28px;
padding: 4px 6px;
border-color: transparent;
border-radius: 7px;
background: rgba(255,255,255,0.02);
color: var(--color-ink-faint);
font-size: 10px;
font-weight: 800;
letter-spacing: 0.07em;
text-align: left;
text-transform: uppercase;
}
.branch-group-toggle:hover:not(:disabled) {
border-color: var(--color-border-subtle);
background: rgba(255,255,255,0.05);
color: var(--color-ink-muted);
}
.branch-group-toggle svg { color: var(--color-ink-faint); }
.branch-group-label {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin: 2px 2px 5px;
color: var(--color-ink-faint);
font-size: 10px;
font-weight: 800;
letter-spacing: 0.07em;
text-transform: uppercase;
}
.branch-group-count {
display: inline-flex;
align-items: center;
min-height: 16px;
padding: 0 6px;
border-radius: 999px;
color: var(--color-ink-dim);
background: rgba(94,110,156,0.14);
font-size: 10px;
}
.tag-group-head { display: flex; align-items: center; gap: 6px; }
.tag-group-head .branch-group-toggle { flex: 1; min-width: 0; }
.tag-group-head .branch-create-toggle { flex-shrink: 0; }
.tag-create-form { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto auto; }
.branch-empty {
padding: 8px 10px;
color: var(--color-ink-faint);
font-size: 12px;
}
.branch-folder-row {
display: grid;
grid-template-columns: auto auto minmax(0, 1fr) auto;
align-items: center;
justify-content: stretch;
gap: 7px;
width: 100%;
min-height: 34px;
padding: 5px 8px;
padding-left: calc(8px + var(--branch-indent, 0px));
border: 1px solid transparent;
border-radius: 8px;
background: transparent;
color: var(--color-ink-dim);
text-align: left;
}
.branch-folder-row + .branch-folder-row,
.branch-folder-row + .branch-row,
.branch-row + .branch-folder-row {
margin-top: 3px;
}
.branch-folder-row:hover:not(:disabled) {
border-color: var(--color-border-subtle);
background: var(--color-surface-hover);
color: var(--color-ink);
}
.branch-folder-row.current {
border-color: rgba(78,202,118,0.2);
background: rgba(78,202,118,0.08);
}
.branch-folder-row svg { color: var(--color-ink-faint); }
.branch-folder-row.current svg { color: #4eca76; }
.branch-folder-name {
overflow: hidden;
color: var(--color-ink-muted);
font-size: 12.5px;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.branch-folder-count {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 20px;
min-height: 18px;
padding: 0 6px;
border-radius: 999px;
color: var(--color-ink-dim);
background: rgba(94,110,156,0.14);
font-size: 10px;
font-weight: 800;
}
.branch-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 8px;
min-height: 46px;
padding: 7px 8px;
padding-left: calc(8px + var(--branch-indent, 0px));
border: 1px solid transparent;
border-radius: 8px;
transition: background 120ms, border-color 120ms;
}
.branch-row + .branch-row { margin-top: 3px; }
.branch-row:hover { background: var(--color-surface-hover); border-color: var(--color-border-subtle); }
.branch-row.current {
border-color: var(--color-border);
border-left: 2px solid var(--color-primary);
background: rgba(90,140,248,0.07);
}
.branch-info { display: flex; align-items: center; min-width: 0; gap: 8px; }
.branch-info div { min-width: 0; }
.branch-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--color-ink); }
.branch-info span { display: block; margin-top: 2px; color: var(--color-ink-dim); font-size: 11px; }
.branch-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.branch-actions .btn-sm { min-height: 24px; padding: 0 6px; font-size: 11px; }
.branch-context-menu,
.history-context-menu,
.explorer-context-menu,
.repo-tab-context-menu {
z-index: 120;
display: grid;
gap: 2px;
min-width: 184px;
padding: 5px;
border: 1px solid var(--color-border);
border-radius: 8px;
background: var(--color-surface-solid);
box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}
.branch-context-menu,
.history-context-menu { position: absolute; }
.explorer-context-menu,
.repo-tab-context-menu { position: fixed; }
.branch-context-menu button,
.history-context-menu button,
.explorer-context-menu button,
.repo-tab-context-menu button {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 8px;
width: 100%;
min-height: 30px;
padding: 6px 8px;
border-color: transparent;
border-radius: 6px;
background: transparent;
color: var(--color-ink-muted);
font-size: 12px;
font-weight: 700;
text-align: left;
}
.branch-context-menu button:hover:not(:disabled),
.history-context-menu button:hover:not(:disabled),
.explorer-context-menu button:hover:not(:disabled),
.repo-tab-context-menu button:hover:not(:disabled) {
border-color: var(--color-border-subtle);
background: rgba(255,255,255,0.06);
color: var(--color-ink);
}
.branch-context-menu .menu-separator,
.history-context-menu .menu-separator,
.repo-tab-context-menu .menu-separator {
height: 1px;
margin: 4px 3px;
background: var(--color-border-subtle);
}
.branch-context-menu button.danger {
color: #ff9aa8;
}
.branch-context-menu button.danger:hover:not(:disabled) {
border-color: rgba(255,92,117,0.34);
background: rgba(255,92,117,0.12);
color: #ffd0d6;
}
.branch-context-menu button:disabled,
.history-context-menu button:disabled,
.explorer-context-menu button:disabled,
.repo-tab-context-menu button:disabled {
cursor: not-allowed;
opacity: 0.48;
}
/* --- Explorer --- */
.explorer-panel { position: relative; }
.explorer-panel.collapsed {
grid-template-rows: auto;
}
.explorer-head-actions { display: flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.explorer-bulk-button {
width: 26px;
min-width: 26px;
min-height: 26px;
padding: 0;
border-color: rgba(65,209,255,0.2);
border-radius: 7px;
color: var(--color-ink-dim);
background: rgba(65,209,255,0.06);
}
.explorer-bulk-button:hover:not(:disabled) {
border-color: rgba(65,209,255,0.45);
color: #ffffff;
background: rgba(65,209,255,0.13);
}
.explorer-row {
display: grid;
grid-template-columns: auto auto minmax(0, 1fr) auto;
align-items: center;
gap: 6px;
width: 100%;
min-height: 32px;
padding: 4px 8px 4px calc(8px + var(--depth, 0) * 14px);
border: 1px solid transparent;
border-radius: 6px;
background: transparent;
text-align: left;
transition: background 120ms ease, border-color 120ms ease;
}
.explorer-row + .explorer-row { margin-top: 2px; }
.explorer-row:hover { background: var(--color-surface-hover); border-color: var(--color-border-subtle); }
.explorer-row.active { background: rgba(90,140,248,0.1); border-color: rgba(90,140,248,0.28); }
.explorer-row.folder { font-weight: 700; }
.explorer-row svg { color: var(--color-accent); }
.explorer-row svg.file-icon.code { color: #7aacff; }
.explorer-row svg.file-icon.markup { color: #f08a5d; }
.explorer-row svg.file-icon.style { color: #c678dd; }
.explorer-row svg.file-icon.json { color: #e0c15c; }
.explorer-row svg.file-icon.config { color: #9aa6d6; }
.explorer-row svg.file-icon.script { color: #4eca76; }
.explorer-row svg.file-icon.text { color: #b8c2e0; }
.explorer-row svg.file-icon.image { color: #54c7ec; }
.explorer-row svg.file-icon.audio { color: #d98cf0; }
.explorer-row svg.file-icon.video { color: #ff8ba7; }
.explorer-row svg.file-icon.archive { color: #d8a657; }
.explorer-row svg.file-icon.sheet { color: #4eca76; }
.explorer-row svg.file-icon.database { color: #5fc5d9; }
.explorer-row svg.file-icon.font { color: #f0d080; }
.explorer-row .language-icon {
display: block;
width: 15px;
height: 15px;
flex: 0 0 15px;
fill: currentColor;
}
.explorer-row .language-icon path { fill: currentColor; }
.tree-toggle, .explorer-select { min-height: 20px; padding: 0; border: 0; background: transparent; color: var(--color-ink-muted); }
.tree-toggle { width: 14px; }
.tree-toggle:hover:not(:disabled), .explorer-select:hover:not(:disabled) { background: transparent; border-color: transparent; color: var(--color-ink); }
.tree-spacer { width: 14px; }
.explorer-select { justify-content: flex-start; min-width: 0; }
.explorer-select span { overflow: hidden; font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
/* --- Commit form --- */
.commit-panel {
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.commit-panel .section-head { flex: 0 0 auto; }
.commit-form {
display: grid;
grid-template-rows: minmax(0, 1fr) auto auto;
flex: 1 1 0;
min-height: 0;
gap: 8px;
padding: 10px;
overflow: hidden;
}
.commit-form textarea {
min-height: 0;
height: 100%;
resize: none;
overflow: auto;
}
.commit-amend-row {
display: flex;
align-items: center;
justify-content: space-between;
flex: 0 0 auto;
gap: 8px;
min-width: 0;
}
.commit-amend-toggle {
display: flex;
align-items: center;
gap: 6px;
color: var(--color-ink-dim);
font-size: 12px;
white-space: nowrap;
}
.commit-amend-toggle input {
appearance: none;
flex: 0 0 auto;
width: 14px;
height: 14px;
min-width: 14px;
min-height: 14px;
padding: 0;
border: 1px solid rgba(94,110,156,0.42);
border-radius: 4px;
background: rgba(13,14,26,0.78);
box-shadow: none;
cursor: pointer;
}
.commit-amend-toggle input:checked {
border-color: rgba(65,209,255,0.62);
background:
linear-gradient(135deg, rgba(65,209,255,0.92), rgba(100,108,255,0.92));
box-shadow: inset 0 0 0 2px rgba(13,14,26,0.82);
}
.commit-amend-toggle input:focus {
box-shadow: 0 0 0 2px rgba(65,209,255,0.2);
}
.commit-amend-toggle input:disabled {
cursor: not-allowed;
opacity: 0.5;
}
.commit-undo-button {
flex: 0 0 auto;
min-height: 26px;
padding: 0 8px;
font-size: 11px;
}
.commit-actions-row {
display: flex;
flex: 0 0 auto;
gap: 8px;
min-width: 0;
}
.commit-actions-row .btn-primary { min-width: 0; }
.commit-ai-button { flex: 0 0 auto; min-width: 64px; justify-content: center; }
.commit-ai-settings-button { flex: 0 0 auto; width: 38px; min-width: 38px; padding: 0; justify-content: center; }
.commit-block-reason {
margin: 0;
padding: 8px 10px;
border: 1px solid rgba(232,96,96,0.28);
border-radius: 6px;
color: #ef8080;
background: rgba(232,96,96,0.08);
font-size: 12px;
line-height: 1.35;
}
/* --- Commit history --- */
.history-panel { position: relative; }
.history-list { min-width: 0; padding: 6px; overflow: auto; }
.commit-row { display: grid; min-width: 0; gap: 8px; padding: 10px; border: 1px solid var(--color-border-subtle); border-radius: 8px; background: var(--color-surface-raised); transition: border-color 120ms; }
.commit-row + .commit-row { margin-top: 5px; }
.commit-row:hover { border-color: var(--color-border); }
.commit-row.compact { padding: 8px; }
.commit-line { display: flex; align-items: flex-start; min-width: 0; gap: 8px; }
.commit-line svg { flex: 0 0 auto; margin-top: 2px; color: var(--color-accent); }
.commit-line div { min-width: 0; }
.commit-line-text { max-width: 100%; overflow: hidden; }
.commit-line strong { display: block; overflow: hidden; color: var(--color-ink); font-size: 13px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.commit-line span { display: block; overflow: hidden; margin-top: 3px; color: var(--color-ink-dim); font-family: var(--font-mono); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.commit-card-head {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 7px;
min-width: 0;
}
.commit-avatar {
display: grid;
place-items: center;
width: 24px;
height: 24px;
border: 1px solid rgba(122,172,255,0.18);
border-radius: 999px;
color: #b8c5df;
background: rgba(18, 22, 38, 0.72);
font-size: 9px;
font-weight: 800;
}
.commit-card-main { display: grid; gap: 2px; min-width: 0; }
.commit-title-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 6px;
min-width: 0;
}
.commit-summary {
display: block;
overflow: hidden;
color: #edf2ff;
font-size: 12.5px;
font-weight: 700;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.commit-kind {
display: inline-flex;
align-items: center;
gap: 3px;
min-width: 0;
padding: 1px 5px;
border: 1px solid rgba(94,110,156,0.18);
border-radius: 999px;
color: var(--color-ink-dim);
background: rgba(255,255,255,0.025);
font-size: 9px;
font-weight: 800;
line-height: 1.3;
text-transform: uppercase;
}
.commit-kind.merge { color: #dca6da; border-color: rgba(208,96,192,0.24); background: rgba(208,96,192,0.07); }
.commit-kind.root { color: #d7b66b; border-color: rgba(224,180,92,0.22); background: rgba(224,180,92,0.07); }
.commit-meta-line {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
min-width: 0;
color: var(--color-ink-faint);
font-size: 10.5px;
}
.commit-meta-line > * { min-width: 0; }
.commit-hash {
flex: 0 0 auto;
padding: 0;
border: 0;
color: #8db8ff;
background: transparent;
font-family: var(--font-mono);
font-size: 10.5px;
font-weight: 700;
}
.commit-local-branches {
display: inline-flex;
flex: 0 1 auto;
flex-wrap: wrap;
gap: 3px;
min-width: 0;
max-width: min(100%, 260px);
}
.commit-branch-chip {
display: inline-flex;
align-items: center;
gap: 3px;
min-width: 0;
max-width: 100%;
height: 17px;
padding: 0 6px 0 5px;
overflow: hidden;
border: 1px solid rgba(91,209,138,0.22);
border-radius: 999px;
color: #a8eeba;
background: rgba(34,68,48,0.42);
font-family: var(--font-mono);
font-size: 9.5px;
font-weight: 750;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
}
.commit-branch-chip svg {
flex: 0 0 auto;
color: #76d995;
}
.commit-author {
flex: 1 1 80px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ref-list { display: flex; flex-wrap: wrap; gap: 3px; }
.ref-list .ref-chip {
max-width: 100%;
overflow: hidden;
padding: 1px 6px;
border-radius: 999px;
color: var(--color-accent);
background: rgba(106,154,255,0.09);
border: 1px solid rgba(106,154,255,0.16);
font-size: 9.5px;
font-weight: 700;
line-height: 1.25;
text-overflow: ellipsis;
white-space: nowrap;
}
.ref-list .ref-chip.head {
color: #061021;
border-color: rgba(65,209,255,0.48);
background: linear-gradient(135deg, #41d1ff, #7c6cff);
box-shadow: 0 0 14px rgba(65,209,255,0.2);
}
.ref-list .ref-chip.branch { color: #7ddf9c; background: rgba(78,202,118,0.08); border-color: rgba(78,202,118,0.18); }
.ref-list .ref-chip.remote { color: #aeb6ff; background: rgba(124,108,255,0.08); border-color: rgba(124,108,255,0.18); }
.ref-list .ref-chip.tag { color: #dbc078; background: rgba(224,180,92,0.08); border-color: rgba(224,180,92,0.2); }
.commit-files {
display: grid;
gap: 5px;
padding: 6px;
border: 1px solid rgba(94,110,156,0.14);
border-radius: 8px;
background: rgba(7,8,16,0.16);
}
.commit-files-toggle {
justify-content: flex-start;
gap: 6px;
min-height: 26px;
padding: 0 8px;
border-color: transparent;
background: transparent;
color: var(--color-ink-dim);
font-size: 11.5px;
font-weight: 800;
}
.commit-files-toggle:hover:not(:disabled) { border-color: var(--color-border-subtle); background: var(--color-surface-hover); color: var(--color-ink); }
.commit-file-list { display: grid; gap: 4px; }
.commit-file-button {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
justify-content: stretch;
width: 100%;
min-height: 30px;
padding: 4px 7px;
text-align: left;
border-color: rgba(94,110,156,0.16);
background: rgba(255,255,255,0.03);
}
.commit-file-button:hover:not(:disabled) { border-color: rgba(65,209,255,0.22); background: rgba(65,209,255,0.055); }
.commit-file-button strong { overflow: hidden; color: var(--color-ink-muted); font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.commit-actions { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; }
.commit-actions time,
.commit-time {
min-width: 0;
overflow: hidden;
color: var(--color-ink-faint);
font-size: 11px;
text-overflow: ellipsis;
white-space: nowrap;
}
.commit-action-buttons { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; }
.commit-action-buttons button { flex: 0 0 auto; white-space: nowrap; }
.commit-menu-button {
width: 28px;
min-width: 28px;
min-height: 26px;
padding: 0;
border-color: rgba(94,110,156,0.16);
border-radius: 7px;
background: rgba(255,255,255,0.035);
color: var(--color-ink-dim);
}
.commit-menu-button:hover:not(:disabled),
.commit-menu-button[aria-expanded="true"] {
border-color: rgba(65,209,255,0.28);
background: rgba(65,209,255,0.08);
color: var(--color-ink);
}
.file-history-panel.collapsed {
display: grid;
grid-template-rows: 1fr;
overflow: hidden;
}
.file-history-rail-toggle {
display: grid;
grid-template-rows: auto minmax(0, 1fr) auto;
justify-items: center;
gap: 8px;
width: 100%;
height: 100%;
min-width: 0;
min-height: 0;
padding: 12px 0;
border: 0;
border-radius: 0;
color: var(--color-ink-dim);
background: linear-gradient(180deg, rgba(100,108,255,0.12), rgba(65,209,255,0.04));
}
.file-history-rail-toggle:hover:not(:disabled) {
color: var(--color-ink);
background: linear-gradient(180deg, rgba(100,108,255,0.18), rgba(65,209,255,0.08));
}
.file-history-rail-toggle span {
writing-mode: vertical-rl;
text-orientation: mixed;
overflow: hidden;
color: currentColor;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
white-space: nowrap;
}
.file-history-rail-toggle small {
display: inline-grid;
place-items: center;
min-width: 22px;
min-height: 22px;
border-radius: 999px;
color: var(--color-ink);
background: rgba(94,110,156,0.18);
font-size: 11px;
font-weight: 800;
}
.file-history-head { align-items: flex-start; }
.file-history-heading { min-width: 0; flex: 1 1 auto; overflow: hidden; }
.file-history-head-actions {
display: flex;
align-items: center;
flex: 0 0 auto;
gap: 6px;
}
.file-history-toggle {
width: 26px;
min-width: 26px;
min-height: 26px;
padding: 0;
border-color: rgba(65,209,255,0.2);
border-radius: 7px;
color: var(--color-ink-dim);
background: rgba(65,209,255,0.06);
}
.file-history-toggle:hover:not(:disabled) {
border-color: rgba(65,209,255,0.45);
color: #ffffff;
background: rgba(65,209,255,0.13);
}
.section-head .file-history-name {
display: -webkit-box;
max-height: 2.4em;
margin: 2px 0 0;
overflow: hidden;
color: var(--color-ink);
font-size: 14px;
font-weight: 700;
line-height: 1.2;
overflow-wrap: anywhere;
word-break: break-word;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.file-history-count { flex: 0 0 auto; margin-top: 2px; }
.file-history-row { grid-template-columns: minmax(0, 1fr); min-width: 0; overflow: hidden; }
.file-history-row .commit-line { overflow: hidden; }
.file-history-row .commit-line strong {
display: -webkit-box;
white-space: normal;
overflow-wrap: anywhere;
word-break: break-word;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.file-history-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; align-items: center; gap: 6px; }
.file-history-actions .commit-action-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; justify-content: stretch; }
.file-history-actions .commit-action-buttons button { min-width: 0; justify-content: center; padding-inline: 6px; }
/* --- File history loading (scoped, non-blocking) --- */
.file-history-loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
min-height: 156px;
padding: 22px;
overflow: hidden;
background:
radial-gradient(circle at center 42%, rgba(111, 140, 255, 0.1), transparent 52%),
linear-gradient(180deg, rgba(15, 18, 31, 0.55), transparent);
}
.file-history-loading-mark {
position: relative;
display: grid;
place-items: center;
width: 86px;
height: 86px;
isolation: isolate;
}
.file-history-loading-halo {
position: absolute;
inset: 10px;
border: 1px solid rgba(111, 140, 255, 0.22);
border-radius: 18px;
transform: rotate(45deg);
animation: fhl-halo-breathe 2.4s ease-in-out infinite;
}
.file-history-loading-traces {
position: absolute;
inset: -12px;
width: 110px;
height: 110px;
overflow: visible;
}
.file-history-loading-traces .fhl-trace {
fill: none;
stroke-width: 2.5;
stroke-linecap: round;
stroke-dasharray: 92;
stroke-dashoffset: 92;
filter: drop-shadow(0 0 6px rgba(77, 182, 214, 0.3));
animation: fhl-trace-draw 2.4s ease-in-out infinite;
}
.file-history-loading-traces .fhl-trace-main {
stroke: #6f8cff;
}
.file-history-loading-traces .fhl-trace-branch {
stroke: #4db6d6;
animation-delay: 0.28s;
}
.file-history-loading-icon {
position: relative;
z-index: 1;
width: 64px;
height: 64px;
object-fit: contain;
filter:
drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45))
drop-shadow(0 0 12px rgba(77, 182, 214, 0.2));
animation: fhl-icon-float 2.4s ease-in-out infinite;
}
.file-history-loading-label {
color: var(--color-ink-faint);
font-size: 12.5px;
font-weight: 800;
}
.file-history-loading-bar {
position: relative;
width: 118px;
height: 3px;
overflow: hidden;
border-radius: 999px;
background: rgba(111, 140, 255, 0.14);
}
.file-history-loading-bar span {
position: absolute;
inset: 0;
width: 46%;
border-radius: inherit;
background: linear-gradient(90deg, transparent, #6f8cff 42%, #4db6d6 74%, transparent);
box-shadow: 0 0 12px rgba(77, 182, 214, 0.24);
animation: fhl-bar-slide 1.35s ease-in-out infinite;
}
@keyframes fhl-halo-breathe {
0%, 100% { opacity: 0.35; transform: rotate(45deg) scale(0.94); }
50% { opacity: 0.8; transform: rotate(45deg) scale(1.04); }
}
@keyframes fhl-icon-float {
0%, 100% { transform: translateY(0) scale(1); }
50% { transform: translateY(-3px) scale(1.02); }
}
@keyframes fhl-trace-draw {
0% { stroke-dashoffset: 92; opacity: 0; }
36% { opacity: 1; }
64%, 100% { stroke-dashoffset: 0; opacity: 0.72; }
}
@keyframes fhl-bar-slide {
0% { transform: translateX(-120%); }
100% { transform: translateX(320%); }
}
@media (prefers-reduced-motion: reduce) {
.file-history-loading-halo,
.file-history-loading-traces .fhl-trace,
.file-history-loading-icon,
.file-history-loading-bar span { animation: none; }
.file-history-loading-traces .fhl-trace { stroke-dashoffset: 0; opacity: 0.72; }
}
/* --- Git graph --- */
.graph-list {
padding: 0;
background: var(--color-surface-dim);
}
.graph-row {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 0;
min-height: 58px;
margin: 0;
padding: 0;
border: none;
border-radius: 0;
background: none;
}
.graph-row + .graph-row { margin-top: 0; }
.graph-gutter {
position: relative;
align-self: stretch;
min-width: 42px;
border-right: 1px solid rgba(226,232,240,0.08);
background:
linear-gradient(90deg, rgba(111,140,255,0.025), transparent),
rgba(7,10,16,0.24);
}
.graph-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.graph-svg path {
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
opacity: 0.76;
transition: opacity 120ms ease, stroke-width 120ms ease;
}
.graph-svg path.hidden-branch {
opacity: 0.08;
}
.graph-svg path.graph-segment-ahead {
stroke: #e0a040;
filter: drop-shadow(0 0 3px rgba(224,160,64,0.24));
}
.graph-svg path.graph-segment-behind {
stroke: #7aacff;
stroke-dasharray: 4 4;
filter: drop-shadow(0 0 3px rgba(122,172,255,0.24));
}
.graph-dot {
position: absolute;
z-index: 2;
top: 50%;
width: 12px;
height: 12px;
border-radius: 999px;
background: var(--dot-color, #5a8cf8);
border: 2px solid var(--app-dialog-bg);
box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 2px 8px rgba(0,0,0,0.22);
transform: translate(-50%, -50%);
transition: transform 120ms ease, box-shadow 120ms ease;
}
.graph-dot.hidden-branch {
opacity: 0.16;
box-shadow: none;
}
.graph-dot.ahead {
background: #e0a040;
box-shadow: 0 0 0 1px rgba(224,160,64,0.42), 0 0 10px rgba(224,160,64,0.16);
}
.graph-dot.behind {
background: #7aacff;
box-shadow: 0 0 0 1px rgba(122,172,255,0.46), 0 0 10px rgba(122,172,255,0.18);
}
.graph-dot.tip { width: 14px; height: 14px; box-shadow: 0 0 0 1px var(--dot-color, #5a8cf8); }
.graph-dot.merge {
width: 15px;
height: 15px;
background: var(--color-surface-alt);
border-color: var(--dot-color, #5a8cf8);
box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}
.graph-hover-branches {
position: absolute;
z-index: 5;
top: 50%;
display: flex;
flex-wrap: wrap;
gap: 3px;
max-width: 190px;
opacity: 0;
pointer-events: none;
transform: translateY(-50%) translateX(-4px);
transition: opacity 120ms ease, transform 120ms ease;
}
.graph-gutter:hover .graph-hover-branches {
opacity: 1;
transform: translateY(-50%) translateX(0);
}
.graph-hover-branches span {
display: inline-flex;
align-items: center;
gap: 3px;
max-width: 180px;
height: 18px;
padding: 0 6px 0 5px;
overflow: hidden;
border: 1px solid rgba(91,209,138,0.28);
border-radius: 999px;
color: #b2f0c2;
background: rgba(14,36,27,0.94);
box-shadow: 0 8px 22px rgba(0,0,0,0.24);
font-family: var(--font-mono);
font-size: 9.5px;
font-weight: 750;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
}
.graph-hover-branches span.remote,
.branch-filter-option.remote {
border-color: rgba(122,172,255,0.32);
color: #bcd2ff;
background: rgba(31,43,72,0.88);
}
.graph-hover-branches span.ahead {
border-color: rgba(224,160,64,0.42);
color: #ffd99a;
background: rgba(58,42,20,0.94);
}
.graph-hover-branches span.behind {
border-color: rgba(122,172,255,0.46);
color: #c7dbff;
background: rgba(25,39,70,0.94);
}
.graph-hover-branches svg {
flex: 0 0 auto;
color: #76d995;
}
.commit-body {
display: grid;
gap: 5px;
min-width: 0;
padding: 8px 10px;
background: rgba(18,24,36,0.5);
transition: background 120ms ease;
}
.graph-row + .graph-row .commit-body { border-top: 1px solid rgba(226,232,240,0.075); }
.graph-row.graph-ahead-row .commit-body {
box-shadow: inset 3px 0 0 rgba(224,160,64,0.72);
}
.graph-row.graph-behind-row .commit-body {
box-shadow: inset 3px 0 0 rgba(122,172,255,0.72);
}
.graph-row:hover .commit-body { background: rgba(30,39,57,0.72); }
.graph-row:hover .graph-svg path { opacity: 1; stroke-width: 2.65; }
.graph-row:hover .graph-svg path.hidden-branch { opacity: 0.12; stroke-width: 2.2; }
.graph-row:hover .graph-dot { transform: translate(-50%, -50%) scale(1.12); }
.graph-row:hover .graph-dot.hidden-branch { transform: translate(-50%, -50%) scale(1); }
.graph-row.merge-row .commit-body {
background: rgba(26,27,43,0.56);
}
.graph-row.tip-row .commit-body {
background:
linear-gradient(90deg, rgba(111,140,255,0.065), transparent 34%),
rgba(20,27,40,0.62);
}
/* --- Compare panel --- */
.compare-panel {
display: grid;
grid-template-rows: auto auto;
margin: 0 8px 8px;
border: 1px solid var(--color-border-subtle);
border-radius: 8px;
background: var(--color-surface-dim);
overflow: hidden;
}
.compare-form {
display: grid;
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
align-items: end;
gap: 8px;
padding: 10px 12px;
border-bottom: 1px solid var(--color-border-subtle);
}
.compare-field { display: grid; gap: 4px; min-width: 0; }
.compare-field span { color: var(--color-ink-faint); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.compare-arrow { margin-bottom: 6px; color: var(--color-ink-faint); }
.compare-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
.compare-range { display: flex; align-items: center; gap: 7px; color: var(--color-ink-muted); }
.compare-range .hash, .dialog-range .hash {
padding: 2px 7px;
border-radius: 6px;
background: rgba(90,140,248,0.13);
color: var(--color-accent);
border: 1px solid rgba(90,140,248,0.22);
font-family: var(--font-mono);
font-size: 11.5px;
font-weight: 700;
}
.compare-count { color: var(--color-ink-dim); font-size: 12px; font-weight: 700; }
/* --- Dialogs --- */
.dialog-backdrop {
position: fixed;
inset: 0;
z-index: 50;
display: grid;
place-items: center;
padding: 24px;
background-color: var(--app-dialog-backdrop);
background-image: none;
}
.app-chrome-backdrop {
top: var(--app-titlebar-height, 42px);
}
.dialog {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
width: min(1100px, 100%);
height: min(760px, 100%);
border: 1px solid var(--color-border);
border-radius: 12px;
background-color: var(--app-dialog-bg);
background-image: none;
box-shadow: var(--app-dialog-shadow);
overflow: hidden;
}
.compare-dialog {
width: min(1560px, calc(100vw - 32px));
height: min(940px, calc(100vh - 32px));
}
.global-search-dialog {
width: min(1180px, calc(100vw - 32px));
height: min(840px, calc(100vh - 32px));
}
.line-patch-dialog {
grid-template-rows: auto minmax(0, 1fr);
width: min(1320px, calc(100vw - 32px));
height: min(860px, calc(100vh - 32px));
}
.blame-dialog {
grid-template-rows: auto minmax(0, 1fr);
width: min(1320px, calc(100vw - 32px));
height: min(860px, calc(100vh - 32px));
}
.compare-select-dialog {
display: block;
width: min(720px, calc(100vw - 32px));
height: auto;
max-height: calc(100vh - 32px);
overflow: auto;
}
.new-branch-dialog {
display: block;
width: min(520px, calc(100vw - 32px));
height: auto;
max-height: calc(100vh - 32px);
overflow: auto;
}
.rename-branch-dialog {
display: block;
width: min(520px, calc(100vw - 32px));
height: auto;
max-height: calc(100vh - 32px);
overflow: auto;
}
.discard-confirm-dialog {
display: grid;
grid-template-rows: auto auto auto;
width: min(560px, calc(100vw - 32px));
height: auto;
max-height: calc(100vh - 32px);
overflow: auto;
}
.ai-settings-dialog {
display: block;
width: min(560px, calc(100vw - 32px));
height: auto;
max-height: calc(100vh - 32px);
overflow: auto;
}
.app-settings-dialog,
.analytics-notice-dialog {
display: block;
width: min(620px, calc(100vw - 32px));
height: auto;
max-height: calc(100vh - 32px);
overflow: auto;
}
.clone-repository-dialog {
display: block;
width: min(620px, calc(100vw - 32px));
height: auto;
max-height: calc(100vh - 32px);
overflow: auto;
}
.clone-dialog-form {
display: grid;
gap: 14px;
padding: 16px;
}
.clone-dialog-field {
display: grid;
gap: 5px;
min-width: 0;
}
.clone-dialog-field > span {
overflow: hidden;
color: var(--color-ink-faint);
font-size: 10.5px;
font-weight: 800;
text-transform: uppercase;
text-overflow: ellipsis;
white-space: nowrap;
letter-spacing: 0.04em;
}
.clone-dialog-path-field {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 8px;
min-width: 0;
}
.clone-dialog-error {
padding: 9px 10px;
border: 1px solid rgba(232,96,90,0.3);
border-radius: 7px;
color: #f09090;
background: rgba(232,96,90,0.08);
font-size: 12.5px;
line-height: 1.45;
}
.clone-dialog-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
padding-top: 2px;
}
.ai-settings-form {
display: flex;
flex-direction: column;
gap: 14px;
padding: 16px;
}
.app-settings-form {
display: flex;
flex-direction: column;
gap: 16px;
padding: 16px;
}
.settings-section {
display: grid;
gap: 12px;
min-width: 0;
}
.settings-section > header {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
padding-bottom: 10px;
border-bottom: 1px solid var(--color-border-subtle);
}
.settings-section > header svg {
color: var(--color-accent);
flex: 0 0 auto;
}
.settings-section h3 {
margin: 1px 0 0;
color: var(--color-ink);
font-size: 15px;
font-weight: 750;
}
.settings-segmented {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 6px;
min-width: 0;
padding: 4px;
border: 1px solid var(--color-border-subtle);
border-radius: 8px;
background: var(--app-settings-row-bg);
}
.settings-segmented label {
display: flex;
align-items: center;
justify-content: center;
min-width: 0;
min-height: 32px;
padding: 0 10px;
border: 1px solid transparent;
border-radius: 6px;
color: var(--color-ink-dim);
cursor: pointer;
font-size: 12px;
font-weight: 800;
transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.settings-segmented label:hover {
border-color: var(--color-border-subtle);
color: var(--color-ink);
background: var(--color-surface-hover);
}
.settings-segmented label.active {
border-color: var(--color-border-input);
color: var(--color-ink);
background: var(--color-surface-raised);
box-shadow: 0 1px 4px rgba(28,44,74,0.08);
}
.settings-segmented input {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
opacity: 0;
pointer-events: none;
}
.settings-segmented span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.settings-toggle-row {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: start;
gap: 10px;
min-width: 0;
padding: 12px;
border: 1px solid var(--color-border-subtle);
border-radius: 8px;
background: var(--app-settings-row-bg);
color: var(--color-ink-muted);
cursor: pointer;
}
.settings-toggle-row input {
width: 16px;
height: 16px;
margin-top: 2px;
accent-color: var(--color-accent);
}
.settings-toggle-row span {
display: grid;
gap: 4px;
min-width: 0;
}
.settings-toggle-row strong {
color: var(--color-ink);
font-size: 13px;
}
.settings-toggle-row small {
color: var(--color-ink-dim);
font-size: 12px;
line-height: 1.45;
}
.analytics-notice-body {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 14px;
padding: 18px 16px 16px;
}
.analytics-notice-icon {
display: grid;
place-items: center;
width: 44px;
height: 44px;
border: 1px solid rgba(65,209,255,0.28);
border-radius: 10px;
color: var(--color-accent);
background: rgba(65,209,255,0.08);
}
.analytics-notice-copy {
display: grid;
gap: 9px;
min-width: 0;
color: var(--color-ink-muted);
font-size: 13px;
line-height: 1.5;
}
.analytics-notice-copy p {
margin: 0;
}
.analytics-notice-toggle {
grid-column: 1 / -1;
}
.analytics-notice-footer {
align-items: center;
}
.ai-provider-options {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.ai-provider-option {
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 38px;
padding: 0 10px;
border: 1px solid var(--color-border-subtle);
border-radius: 8px;
background: rgba(255,255,255,0.03);
color: var(--color-ink-dim);
font-size: 12.5px;
font-weight: 700;
}
.ai-provider-option:hover {
border-color: var(--color-border);
color: var(--color-ink);
background: var(--color-surface-hover);
}
.ai-provider-option.active {
border-color: rgba(100,108,255,0.5);
color: #f5f7ff;
background: linear-gradient(180deg, rgba(100,108,255,0.22), rgba(65,209,255,0.1));
}
.ai-provider-option-local {
flex-wrap: wrap;
row-gap: 2px;
}
.ai-provider-badge {
flex-basis: 100%;
text-align: center;
font-size: 9.5px;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--color-ink-faint);
}
.ai-local-profile-options {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.ai-local-profile-option {
min-width: 0;
min-height: 34px;
padding: 0 8px;
border-color: var(--color-border-subtle);
background: rgba(255,255,255,0.03);
color: var(--color-ink-dim);
font-size: 12px;
font-weight: 700;
}
.ai-local-profile-option:hover:not(:disabled) {
border-color: var(--color-border);
color: var(--color-ink);
background: var(--color-surface-hover);
}
.ai-local-profile-option.active {
border-color: rgba(65,209,255,0.48);
color: #f5f7ff;
background: linear-gradient(180deg, rgba(65,209,255,0.16), rgba(100,108,255,0.12));
}
.new-branch-form {
display: flex;
flex-direction: column;
gap: 14px;
padding: 16px;
}
.rename-branch-form {
display: flex;
flex-direction: column;
gap: 14px;
padding: 16px;
}
.new-branch-target {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
padding: 8px 10px;
border: 1px solid var(--color-border-subtle);
border-radius: 8px;
background: var(--color-surface-raised);
}
.new-branch-summary {
overflow: hidden;
color: var(--color-ink-dim);
text-overflow: ellipsis;
white-space: nowrap;
}
.new-branch-field { display: grid; gap: 6px; }
.new-branch-field span {
color: var(--color-ink-faint);
font-size: 10.5px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.new-branch-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--color-border-subtle); background: var(--app-dialog-chrome); }
.dialog-header > div:first-child { min-width: 0; }
.dialog-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 0 0 auto; min-width: 0; }
.compare-restore { max-width: 170px; min-width: 0; }
.compare-restore span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dialog-range { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; color: var(--color-accent); font-size: 15px; }
.dialog-title { margin: 2px 0 0; color: var(--color-ink); font-size: 15px; font-weight: 600; }
.dialog-close { min-height: 32px; min-width: 32px; padding: 0; justify-content: center; }
.dialog-body { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 0; }
.compare-dialog .dialog-body { grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); }
.dialog-files { display: grid; align-content: start; gap: 4px; padding: 8px; overflow: auto; border-right: 1px solid var(--color-border-subtle); background: var(--app-dialog-chrome); }
.dialog-file-row {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
gap: 7px;
min-height: 30px;
padding: 5px 8px;
border: 1px solid transparent;
border-radius: 6px;
background: transparent;
text-align: left;
transition: background 120ms, border-color 120ms;
}
.dialog-file-row:hover { background: var(--color-surface-hover); border-color: var(--color-border-subtle); }
.dialog-file-row.active { background: rgba(90,140,248,0.1); border-color: rgba(90,140,248,0.28); }
.dialog-file-row.prepared { background: rgba(78,202,118,0.08); border-color: rgba(78,202,118,0.22); }
.dialog-file-row.prepared.active { background: rgba(78,202,118,0.13); border-color: rgba(78,202,118,0.32); }
.dialog-file-row strong { overflow: hidden; color: var(--color-ink); font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.dialog-file-row svg { color: #4eca76; }
.dialog-diff { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.diff-header {
display: flex;
align-items: center;
gap: 8px;
padding: 7px 12px;
border-bottom: 1px solid var(--color-border-subtle);
background: #171a2b;
font-family: var(--font-mono);
font-size: 12px;
color: var(--color-ink-muted);
flex-shrink: 0;
overflow: hidden;
}
.diff-header svg { flex-shrink: 0; color: var(--color-ink-faint); }
.diff-header span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.split-diff {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
align-content: start;
flex: 1 1 0;
min-width: 0;
min-height: 0;
overflow: hidden;
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.5;
tab-size: 2;
background: #111321;
}
.split-pane {
min-width: 0;
min-height: 0;
overflow: auto;
scrollbar-gutter: stable;
}
.split-pane + .split-pane { border-left: 1px solid var(--color-border-subtle); }
.split-pane-grid {
display: grid;
grid-template-columns: 3.2rem minmax(max-content, 1fr);
align-content: start;
min-width: 100%;
}
.split-span {
grid-column: 1 / -1;
padding: 2px 10px;
white-space: pre-wrap;
word-break: break-all;
}
.split-span.split-meta { color: var(--color-ink-faint); background: #0c0e18; font-size: 11px; }
.split-span.split-hunk { color: #7aacff; background: rgba(122,172,255,0.08); padding: 3px 10px; }
.split-num {
padding: 0 6px 0 4px;
text-align: right;
color: var(--color-ink-faint);
font-size: 11px;
user-select: none;
border-right: 1px solid var(--color-border-subtle);
background: #0d101a;
}
.split-num.del { background: rgba(232,96,96,0.12); color: rgba(232,96,96,0.6); border-right-color: rgba(232,96,96,0.2); }
.split-num.add { background: rgba(78,202,118,0.1); color: rgba(78,202,118,0.6); border-right-color: rgba(78,202,118,0.2); }
.split-num.empty { background: #10131e; }
.split-cell {
padding: 0 8px;
white-space: pre;
color: var(--color-ink-muted);
min-width: 0;
overflow: visible;
}
.split-cell.del { background: rgba(232,96,96,0.1); color: #ef8080; }
.split-cell.add { background: rgba(78,202,118,0.09); color: #5dd88a; }
.split-cell.empty { background: #10131e; }
/* Search-hit highlight: amber, distinct from add (green) / del (red).
Higher specificity so it overrides the add/del backgrounds on a matched line. */
.split-diff .split-cell.match {
background: rgba(240,182,72,0.22);
color: #f3c969;
box-shadow: inset 2px 0 0 rgba(240,182,72,0.9);
}
.split-diff .split-num.match {
background: rgba(240,182,72,0.2);
color: rgba(240,182,72,0.9);
border-right-color: rgba(240,182,72,0.35);
}
.split-col-headers {
display: grid;
grid-template-columns: 1fr 1fr;
flex-shrink: 0;
border-bottom: 1px solid var(--color-border-subtle);
}
.split-col-label {
display: flex;
align-items: center;
gap: 8px;
padding: 5px 10px 5px calc(3.2rem + 10px);
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--color-ink-faint);
background: #0d101a;
}
.split-col-label + .split-col-label { border-left: 1px solid var(--color-border-subtle); }
.split-col-hash {
padding: 1px 6px;
border-radius: 5px;
background: rgba(90,140,248,0.12);
color: var(--color-accent);
border: 1px solid rgba(90,140,248,0.2);
font-family: var(--font-mono);
font-size: 10.5px;
font-weight: 700;
text-transform: none;
letter-spacing: 0;
}
.dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--color-border-subtle); background: var(--app-dialog-chrome); }
.dialog-footer-info { color: var(--color-ink-dim); font-size: 13px; font-weight: 700; }
.prepared-tag { display: inline-flex; align-items: center; gap: 4px; margin-right: auto; color: #4eca76; font-size: 12px; font-weight: 700; }
.discard-confirm-body {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 14px;
padding: 18px 16px 16px;
}
.branch-delete-body {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 14px;
padding: 18px 16px 16px;
}
.discard-warning-icon {
display: grid;
place-items: center;
width: 42px;
height: 42px;
border: 1px solid rgba(255, 90, 103, 0.32);
border-radius: 10px;
color: #ff9aa4;
background: rgba(255, 90, 103, 0.1);
}
.discard-confirm-copy {
display: grid;
gap: 10px;
min-width: 0;
color: var(--color-ink-muted);
font-size: 13px;
line-height: 1.45;
}
.discard-confirm-copy p { margin: 0; }
.discard-target {
display: block;
min-width: 0;
max-height: 84px;
overflow: auto;
padding: 8px 9px;
border: 1px solid var(--color-border-subtle);
border-radius: 6px;
color: var(--color-ink);
background: rgba(0, 0, 0, 0.18);
font-family: var(--font-mono);
font-size: 12px;
white-space: pre-wrap;
word-break: break-word;
}
.branch-delete-body .discard-target {
display: flex;
align-items: center;
gap: 6px;
}
.discard-target-list {
display: grid;
gap: 4px;
max-height: 168px;
overflow: auto;
margin: 0;
padding: 0;
list-style: none;
}
.discard-target-list .discard-target {
max-height: none;
}
.discard-target-more {
padding: 2px 2px 0;
color: var(--color-ink-muted);
font-size: 12px;
}
.discard-warning-text {
color: #ffb8bf;
font-weight: 650;
}
.discard-confirm-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
padding: 12px 16px 14px;
border-top: 1px solid var(--color-border-subtle);
background: var(--color-surface-dim);
}
.line-patch-body {
display: grid;
grid-template-rows: minmax(0, 1fr);
min-height: 0;
overflow: hidden;
}
.line-patch-scroll {
min-height: 0;
overflow: auto;
background: #0b0b14;
}
.line-patch-hunk {
border-bottom: 1px solid var(--color-border-subtle);
}
.line-patch-hunk-head {
position: sticky;
top: 0;
left: 0;
z-index: 1;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 12px;
width: max-content;
min-width: 100%;
padding: 7px 10px;
border-bottom: 1px solid var(--color-border-subtle);
background: rgba(20, 22, 36, 0.96);
}
.line-patch-hunk-head code {
color: var(--color-accent);
font-family: var(--font-mono);
font-size: 12px;
white-space: pre;
}
.line-patch-hunk-actions {
display: flex;
align-items: center;
gap: 6px;
flex: 0 0 auto;
padding-left: 16px;
}
.line-patch-hunk-button {
min-height: 22px;
padding: 0 8px;
border: 1px solid var(--color-border-subtle);
border-radius: 3px;
background: rgba(255, 255, 255, 0.03);
color: var(--color-ink);
font-size: 12px;
font-weight: 700;
line-height: 1;
}
.line-patch-hunk-button:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.08);
}
.line-patch-hunk-button.discard {
border-color: rgba(255, 90, 103, 0.7);
color: #ffccd1;
}
.line-patch-hunk-button.stage,
.line-patch-hunk-button.unstage {
border-color: rgba(78, 202, 118, 0.72);
color: #bff1ce;
}
.line-patch-lines {
min-width: max-content;
font-family: var(--font-mono);
font-size: 12px;
}
.line-patch-row {
display: grid;
grid-template-columns: 22px minmax(max-content, 1fr);
align-items: start;
min-height: 22px;
padding: 1px 10px 1px 28px;
color: var(--color-ink-muted);
}
.line-patch-row.add {
background: rgba(78, 202, 118, 0.09);
color: #bff1ce;
}
.line-patch-row.delete {
background: rgba(255, 90, 103, 0.1);
color: #ffccd1;
}
.line-patch-row.meta {
color: var(--color-ink-faint);
}
.line-patch-prefix {
color: var(--color-ink-faint);
text-align: center;
user-select: none;
}
.line-patch-row.add .line-patch-prefix { color: #4eca76; }
.line-patch-row.delete .line-patch-prefix { color: #ff6b7a; }
.line-patch-row code {
white-space: pre;
font-family: var(--font-mono);
}
.blame-body {
min-height: 0;
overflow: hidden;
background: #111321;
}
.blame-code-header strong {
flex: 0 0 auto;
margin-left: auto;
color: var(--color-ink-faint);
font-size: 11px;
font-weight: 800;
}
.blame-search-bar {
position: relative;
display: flex;
align-items: center;
min-height: 38px;
padding: 6px 10px;
border-bottom: 1px solid var(--color-border-subtle);
background: #111321;
}
.blame-search-bar svg {
position: absolute;
left: 20px;
color: var(--color-ink-faint);
pointer-events: none;
}
.blame-search-bar input {
width: 100%;
height: 26px;
padding: 0 34px;
border: 1px solid var(--color-border-subtle);
border-radius: 6px;
background: #0b0e18;
color: var(--color-ink);
font-size: 12px;
}
.blame-search-clear {
position: absolute;
right: 14px;
width: 24px;
height: 24px;
padding: 0;
border: 0;
background: transparent;
color: var(--color-ink-faint);
}
.blame-search-clear svg {
position: static;
}
.blame-column-headers {
grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
}
.blame-commit-col-label {
padding-left: 12px;
}
.blame-code-col-label {
padding-left: calc(3.2rem + 10px);
}
.blame-commit-col-label + .blame-code-col-label {
border-left: 1px solid var(--color-border-subtle);
}
.blame-diff {
grid-template-columns: minmax(0, 1fr);
}
.blame-scroll {
min-height: 0;
overflow: auto;
}
.blame-code-table {
width: max-content;
min-width: 100%;
}
.blame-group {
display: grid;
grid-template-columns: minmax(300px, 340px) minmax(max-content, 1fr);
align-items: stretch;
min-width: max-content;
border-bottom: 1px solid var(--color-border-subtle);
}
.blame-group.uncommitted {
background: #171725;
}
.blame-meta {
position: sticky;
left: 0;
z-index: 1;
display: flex;
flex-direction: column;
gap: 3px;
min-width: 0;
padding: 8px 12px;
border-right: 1px solid var(--color-border-subtle);
background: #0d101a;
box-shadow: 8px 0 18px rgba(0, 0, 0, 0.18);
}
.blame-hash {
align-self: flex-start;
overflow: hidden;
max-width: 100%;
padding: 2px 7px;
border: 1px solid rgba(90,140,248,0.2);
border-radius: 5px;
background: #141b2d;
color: var(--color-accent);
font-size: 10.5px;
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
}
.blame-author {
overflow: hidden;
color: var(--color-ink);
font-size: 12px;
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
}
.blame-summary {
overflow: hidden;
color: #aeb6d8;
font-size: 11px;
text-overflow: ellipsis;
white-space: nowrap;
}
.blame-date {
color: var(--color-ink-faint);
font-size: 10.5px;
}
.blame-group:hover .blame-meta {
background: #111728;
}
.blame-group.uncommitted .blame-hash,
.blame-group.uncommitted .blame-author {
color: #e8b45a;
}
.blame-group.uncommitted .blame-hash {
border-color: rgba(232, 180, 90, 0.26);
background: #271f14;
}
.blame-lines {
min-width: max-content;
grid-template-columns: 4rem minmax(max-content, 1fr);
}
.blame-line-number {
min-height: 20px;
padding-right: 8px;
}
.blame-line-code {
min-height: 20px;
}
.blame-group:hover .blame-line-number {
background: #111728;
}
.blame-group:hover .blame-line-code {
background: #151a2b;
}
.blame-search-hit {
padding: 0 1px;
border-radius: 3px;
background: rgba(240,182,72,0.28);
color: #f3d487;
}
.global-search-body {
display: grid;
grid-template-rows: auto auto minmax(0, 1fr);
min-width: 0;
min-height: 0;
}
.global-search-tabs {
display: flex;
align-items: center;
gap: 6px;
padding: 9px 12px;
border-bottom: 1px solid var(--color-border-subtle);
background: rgba(7, 8, 16, 0.34);
}
.global-search-tab {
min-height: 30px;
padding: 0 12px;
border-color: transparent;
color: var(--color-ink-dim);
background: transparent;
font-size: 12px;
font-weight: 800;
}
.global-search-tab:hover:not(:disabled) {
border-color: rgba(65,209,255,0.22);
background: rgba(65,209,255,0.07);
}
.global-search-tab.active {
border-color: rgba(65,209,255,0.36);
color: #ffffff;
background: linear-gradient(135deg, rgba(100,108,255,0.26), rgba(65,209,255,0.1));
}
.global-search-form {
display: grid;
gap: 10px;
padding: 12px;
border-bottom: 1px solid var(--color-border-subtle);
background: linear-gradient(90deg, rgba(100,108,255,0.08), rgba(65,209,255,0.035));
}
.global-search-query { display: grid; gap: 6px; min-width: 0; }
.global-search-query span,
.search-limit span {
color: var(--color-ink-faint);
font-size: 10.5px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.global-search-query textarea {
min-height: 112px;
max-height: 240px;
resize: vertical;
font-family: var(--font-mono);
font-size: 12px;
white-space: pre;
overflow: auto;
}
.global-search-query input {
height: 40px;
font-family: var(--font-mono);
font-size: 13px;
}
.global-search-options {
display: grid;
grid-template-columns: minmax(0, 1fr) 120px auto auto;
align-items: end;
gap: 10px;
}
.check-row {
display: inline-flex;
align-items: center;
gap: 8px;
min-width: 0;
color: var(--color-ink-muted);
font-size: 12px;
font-weight: 700;
}
.check-row input { width: 15px; height: 15px; flex: 0 0 auto; }
.search-limit { display: grid; gap: 5px; }
.search-cancel {
border-color: rgba(232,96,96,0.35);
color: #ef9090;
background: rgba(232,96,96,0.1);
}
.search-cancel:hover:not(:disabled) {
border-color: rgba(232,96,96,0.55);
color: #ffb0b0;
background: rgba(232,96,96,0.16);
}
.global-search-results {
min-width: 0;
min-height: 0;
overflow: auto;
padding: 10px;
}
.search-result-head {
display: flex;
align-items: center;
gap: 7px;
min-width: 0;
margin-bottom: 8px;
color: var(--color-ink-dim);
font-size: 12px;
font-weight: 700;
}
.search-result-head strong { color: var(--color-accent); font-family: var(--font-mono); }
.search-result-head span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-error { color: #ef9090; }
.search-hit-list { display: grid; gap: 8px; }
.search-hit {
display: grid;
gap: 7px;
min-width: 0;
padding: 10px;
border: 1px solid var(--color-border-subtle);
border-radius: 8px;
background: var(--color-surface-raised);
}
.search-hit-top {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto auto;
align-items: center;
gap: 8px;
min-width: 0;
}
.search-hit-diff {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 3px 9px;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.04em;
white-space: nowrap;
}
.search-hit-top .hash {
padding: 2px 7px;
border: 1px solid rgba(90,140,248,0.22);
border-radius: 6px;
color: var(--color-accent);
background: rgba(90,140,248,0.13);
font-family: var(--font-mono);
font-size: 11.5px;
font-weight: 800;
}
.search-hit-top strong {
min-width: 0;
overflow: hidden;
color: var(--color-ink);
font-size: 13px;
text-overflow: ellipsis;
white-space: nowrap;
}
.search-hit-meta {
display: flex;
flex-wrap: wrap;
gap: 8px 12px;
color: var(--color-ink-faint);
font-size: 11.5px;
}
.search-hit-meta span,
.search-hit-file {
display: inline-flex;
align-items: center;
min-width: 0;
gap: 5px;
}
.search-hit-meta svg,
.search-hit-file svg { flex: 0 0 auto; color: var(--color-ink-faint); }
.search-hit-file {
overflow: hidden;
color: var(--color-ink-muted);
font-family: var(--font-mono);
font-size: 12px;
}
.search-hit-file span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.search-hit-file strong { flex: 0 0 auto; color: var(--color-accent); }
.search-hit-line {
overflow: auto;
margin: 0;
padding: 8px 10px;
border-radius: 7px;
color: #5dd88a;
background: rgba(78,202,118,0.08);
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.45;
white-space: pre;
}
.file-search-form { grid-template-columns: minmax(0, 1fr); }
.file-search-results {
padding: 0;
overflow: hidden;
}
.file-search-split {
display: grid;
grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
height: 100%;
min-width: 0;
min-height: 0;
}
.file-search-column {
min-width: 0;
min-height: 0;
overflow: auto;
padding: 10px;
border-right: 1px solid var(--color-border-subtle);
}
.file-search-list { display: grid; gap: 7px; }
.file-search-hit {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto auto;
align-items: center;
gap: 10px;
width: 100%;
min-height: 48px;
padding: 8px 10px;
border: 1px solid var(--color-border-subtle);
border-radius: 8px;
background: var(--color-surface-raised);
text-align: left;
}
.file-search-hit:hover:not(:disabled) {
border-color: rgba(65,209,255,0.3);
background: var(--color-surface-hover);
}
.file-search-hit.active {
border-color: rgba(90,140,248,0.42);
background: rgba(90,140,248,0.11);
}
.file-search-icon {
display: grid;
place-items: center;
width: 22px;
height: 22px;
color: var(--color-accent);
}
.file-search-icon .language-icon {
display: block;
width: 17px;
height: 17px;
fill: currentColor;
}
.file-search-icon .language-icon path { fill: currentColor; }
.file-search-main {
display: grid;
gap: 2px;
min-width: 0;
}
.file-search-main strong {
min-width: 0;
overflow: hidden;
color: var(--color-ink);
font-family: var(--font-mono);
font-size: 12.5px;
text-overflow: ellipsis;
white-space: nowrap;
}
.file-search-main span {
min-width: 0;
overflow: hidden;
color: var(--color-ink-faint);
font-family: var(--font-mono);
font-size: 11.5px;
text-overflow: ellipsis;
white-space: nowrap;
}
.file-search-action {
display: inline-flex;
align-items: center;
gap: 5px;
color: var(--color-accent);
font-size: 11px;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
white-space: nowrap;
}
.file-search-history {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
min-width: 0;
min-height: 0;
overflow: hidden;
background: rgba(7, 8, 16, 0.18);
}
.file-search-history-head {
display: grid;
gap: 2px;
min-width: 0;
padding: 10px 12px;
border-bottom: 1px solid var(--color-border-subtle);
background: rgba(0,0,0,0.12);
}
.file-search-history-head span {
color: var(--color-ink-faint);
font-size: 10.5px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.file-search-history-head strong {
min-width: 0;
overflow: hidden;
color: var(--color-ink);
font-family: var(--font-mono);
font-size: 12.5px;
text-overflow: ellipsis;
white-space: nowrap;
}
.file-search-history-list {
display: grid;
align-content: start;
gap: 8px;
min-width: 0;
min-height: 0;
overflow: auto;
padding: 10px;
}
.file-search-history-row {
display: grid;
gap: 8px;
min-width: 0;
padding: 9px;
border: 1px solid var(--color-border-subtle);
border-radius: 8px;
background: var(--color-surface-raised);
}
.file-search-history-main {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 5px 8px;
min-width: 0;
}
.file-search-history-main .hash {
padding: 2px 7px;
border: 1px solid rgba(90,140,248,0.22);
border-radius: 6px;
color: var(--color-accent);
background: rgba(90,140,248,0.13);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 800;
}
.file-search-history-main strong {
min-width: 0;
overflow: hidden;
color: var(--color-ink);
font-size: 12.5px;
text-overflow: ellipsis;
white-space: nowrap;
}
.file-search-history-main > span:last-child {
grid-column: 1 / -1;
overflow: hidden;
color: var(--color-ink-faint);
font-size: 11.5px;
text-overflow: ellipsis;
white-space: nowrap;
}
.file-search-history-actions {
display: flex;
justify-content: flex-end;
flex-wrap: wrap;
gap: 6px;
}
/* --- Credential dialog --- */
.cred-card {
display: flex;
flex-direction: column;
width: min(500px, calc(100vw - 32px));
max-height: calc(100vh - 48px);
border: 1px solid rgba(100, 108, 255, 0.36);
border-radius: 14px;
background:
linear-gradient(180deg, #222743 0%, #111321 42%),
#111321;
box-shadow: 0 32px 90px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(255,255,255,0.04) inset;
overflow: hidden;
}
.cred-hero {
display: grid;
gap: 12px;
padding: 20px 22px 18px;
border-bottom: 1px solid rgba(255,255,255,0.07);
background:
linear-gradient(135deg, rgba(100,108,255,0.24), rgba(189,52,254,0.18) 46%, rgba(65,209,255,0.09)),
var(--color-bar);
}
.cred-hero-top {
display: flex;
align-items: center;
gap: 14px;
min-width: 0;
}
.cred-hero-icon {
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
flex-shrink: 0;
border-radius: 12px;
border: 1px solid rgba(255,255,255,0.16);
color: #ffffff;
background:
linear-gradient(135deg, rgba(65,209,255,0.32), rgba(100,108,255,0.5) 46%, rgba(189,52,254,0.48));
box-shadow: 0 14px 36px rgba(100,108,255,0.22), inset 0 1px 0 rgba(255,255,255,0.18);
}
.cred-hero-text { flex: 1; min-width: 0; }
.cred-hero-label {
margin: 0 0 2px;
color: #aeb8ff;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.cred-hero-title {
margin: 0;
color: #ffffff;
font-size: 19px;
font-weight: 800;
line-height: 1.15;
}
.cred-hero-copy {
max-width: 420px;
margin: 0;
color: #c4caea;
font-size: 13px;
line-height: 1.45;
}
.cred-security-note {
display: inline-flex;
align-items: center;
justify-self: start;
gap: 7px;
min-height: 26px;
padding: 0 9px;
border: 1px solid rgba(65,209,255,0.18);
border-radius: 999px;
color: #bfefff;
background: rgba(65,209,255,0.08);
font-size: 11.5px;
font-weight: 700;
}
.cred-security-note svg { flex: 0 0 auto; color: #41d1ff; }
.cred-security-note span { min-width: 0; }
.cred-close {
display: flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
flex-shrink: 0;
padding: 0;
border: 1px solid rgba(255,255,255,0.12);
border-radius: 8px;
background: rgba(255,255,255,0.04);
color: #aeb8ff;
cursor: pointer;
transition: background 0.12s, color 0.12s;
}
.cred-close:hover:not(:disabled) {
background: rgba(255,255,255,0.1);
border-color: rgba(255,255,255,0.2);
color: #ffffff;
}
.cred-body {
display: flex;
flex-direction: column;
gap: 14px;
padding: 18px 22px 20px;
overflow: auto;
background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
}
.cred-segment {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
gap: 4px;
padding: 4px;
border: 1px solid rgba(100,108,255,0.28);
border-radius: 10px;
background: rgba(8, 9, 18, 0.58);
}
.cred-seg-btn {
flex: 1;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 34px;
padding: 0 12px;
border: 1px solid transparent;
border-radius: 8px;
background: transparent;
color: var(--color-ink-dim);
font-size: 12.5px;
font-weight: 800;
cursor: pointer;
transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.cred-seg-btn:hover:not(.active) { color: var(--color-ink-muted); }
.cred-seg-btn.active {
background: linear-gradient(135deg, rgba(100,108,255,0.28), rgba(65,209,255,0.12));
border-color: rgba(65,209,255,0.36);
color: var(--color-ink);
box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}
.cred-fields { display: flex; flex-direction: column; gap: 12px; }
.cred-field { display: flex; flex-direction: column; gap: 5px; }
.cred-field-label {
font-size: 12px;
font-weight: 800;
color: var(--color-ink-muted);
letter-spacing: 0.03em;
}
.cred-input {
position: relative;
display: flex;
align-items: center;
}
.cred-input .cred-field-icon {
position: absolute;
left: 11px;
color: var(--color-ink-faint);
pointer-events: none;
}
.cred-input input {
height: 42px;
padding-left: 34px;
padding-right: 40px;
border-radius: 9px;
border-color: rgba(65,209,255,0.22);
background: rgba(7, 8, 16, 0.7);
font-size: 14px;
}
.cred-input input::placeholder { color: rgba(168,177,216,0.48); }
.cred-reveal {
position: absolute;
right: 8px;
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
padding: 0;
border: none;
border-radius: 5px;
background: transparent;
color: var(--color-ink-faint);
cursor: pointer;
transition: background 0.12s, color 0.12s;
}
.cred-reveal:hover { background: var(--color-surface-hover); color: var(--color-ink); }
.cred-token-hint {
display: flex;
align-items: flex-start;
gap: 8px;
padding: 10px 11px;
border-radius: 8px;
border: 1px solid rgba(65,209,255,0.22);
background: linear-gradient(135deg, rgba(65,209,255,0.08), rgba(100,108,255,0.07));
color: var(--color-ink-muted);
font-size: 12px;
line-height: 1.55;
}
.cred-token-hint svg { flex-shrink: 0; margin-top: 1px; color: var(--color-primary); }
.cred-token-hint code {
padding: 1px 5px;
border-radius: 4px;
background: rgba(90,140,248,0.15);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 700;
color: var(--color-accent);
}
.cred-expiry { display: flex; flex-direction: column; gap: 5px; }
.cred-expiry input[type="date"] {
height: 40px;
padding: 0 11px;
border-radius: 9px;
border: 1px solid rgba(65,209,255,0.22);
background: rgba(7, 8, 16, 0.7);
color: var(--color-ink);
font-size: 13.5px;
color-scheme: dark;
}
.cred-expiry-hint { font-size: 11.5px; color: var(--color-ink-faint); line-height: 1.5; }
.cred-error {
display: flex;
align-items: flex-start;
gap: 8px;
padding: 10px 12px;
border: 1px solid rgba(232,96,90,0.3);
border-radius: 8px;
background: rgba(232,96,90,0.08);
color: #f09090;
font-size: 13px;
line-height: 1.5;
}
.cred-error svg { flex-shrink: 0; margin-top: 1px; }
.cred-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
padding-top: 8px;
border-top: 1px solid var(--color-border-subtle);
}
.cred-save {
display: flex;
align-items: center;
gap: 7px;
cursor: pointer;
user-select: none;
}
.cred-save input[type="checkbox"] { width: auto; height: auto; cursor: pointer; }
.cred-save span { font-size: 12.5px; color: var(--color-ink-dim); }
.cred-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cred-cancel {
min-height: 36px;
padding: 0 14px;
border: 1px solid var(--color-border);
border-radius: 7px;
background: var(--color-surface-raised);
color: var(--color-ink-muted);
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.cred-cancel:hover:not(:disabled) {
border-color: var(--color-border-input);
background: var(--color-surface-hover);
color: var(--color-ink);
}
.cred-submit {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 36px;
padding: 0 16px;
border: 1px solid rgba(111,140,255,0.72);
border-radius: 7px;
background: linear-gradient(135deg, #5f7df2, #238eb4);
color: #ffffff;
font-size: 13px;
font-weight: 700;
cursor: pointer;
transition: background 0.12s, border-color 0.12s;
}
.cred-submit:hover:not(:disabled) {
background: linear-gradient(135deg, #6f8cff, #2da0c7);
border-color: rgba(77,182,214,0.7);
}
.cred-submit:disabled { opacity: 0.45; cursor: not-allowed; }
/* --- Diff viewer --- */
.diff-view {
min-height: 0;
max-height: 420px;
margin: 0;
padding: 10px;
overflow: auto;
border: 1px solid var(--color-border-subtle);
border-radius: 6px;
background: var(--color-surface-raised);
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.5;
tab-size: 2;
}
.diff-line { display: block; white-space: pre-wrap; word-break: break-word; }
.diff-line.meta { color: var(--color-ink-faint); }
.diff-line.hunk { color: #7aacff; background: rgba(122,172,255,0.07); }
.diff-line.add { color: #4eca76; background: rgba(78,202,118,0.09); }
.diff-line.del { color: #e86060; background: rgba(232,96,96,0.09); }
.diff-line.context { color: var(--color-ink-muted); }
.diff-counts { display: flex; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.diff-counts .adds { color: #4eca76; }
.diff-counts .dels { color: #e86060; }
/* --- Conflict resolver --- */
.resolve-editor { display: flex; flex-direction: column; min-height: 0; padding: 10px; gap: 8px; }
.resolve-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.resolve-toolbar button { min-height: 30px; padding: 0 10px; font-size: 12.5px; }
.resolve-toolbar-label { color: var(--color-ink-dim); font-size: 12px; font-weight: 800; }
.resolve-status { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: 12px; font-weight: 700; color: #e0a040; }
.resolve-textarea {
width: 100%;
flex: 1 1 auto;
min-height: 120px;
padding: 10px;
border: 1px solid var(--color-border-input);
border-radius: 6px;
background: var(--color-surface-raised);
color: var(--color-ink);
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.5;
tab-size: 2;
resize: none;
white-space: pre;
}
.resolve-structured {
display: flex;
flex-direction: column;
gap: 8px;
flex: 1 1 auto;
min-height: 0;
padding: 4px;
overflow: hidden;
border: 1px solid var(--color-border-subtle);
border-radius: 6px;
background: var(--color-surface-raised);
}
.resolve-conflict-controls {
display: grid;
align-content: start;
gap: 6px;
flex: 0 0 auto;
max-height: 126px;
overflow: auto;
}
.resolve-conflict-controls .resolve-conflict-bar {
padding: 7px 8px;
border: 1px solid rgba(224,160,64,0.25);
border-radius: 6px;
background: rgba(224,160,64,0.06);
}
.resolve-conflict-controls .resolve-conflict-bar.unresolved {
border-color: rgba(232,96,96,0.3);
background: rgba(232,96,96,0.06);
}
.resolve-split {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
flex: 1 1 auto;
min-width: 0;
min-height: 0;
overflow: hidden;
border: 1px solid var(--color-border-subtle);
border-radius: 6px;
background: rgba(0,0,0,0.12);
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.5;
tab-size: 2;
}
.resolve-pane {
min-width: 0;
min-height: 0;
overflow: auto;
scrollbar-gutter: stable;
}
.resolve-pane + .resolve-pane { border-left: 1px solid var(--color-border-subtle); }
.resolve-pane-grid {
display: grid;
grid-template-columns: 3.2rem minmax(max-content, 1fr);
align-content: start;
min-width: 100%;
}
.resolve-split-marker {
grid-column: 1 / -1;
padding: 3px 8px;
color: #e0a040;
background: rgba(224,160,64,0.12);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
}
.resolve-split-marker.unresolved { color: #ef8080; background: rgba(232,96,96,0.12); }
.resolve-num {
padding: 0 6px 0 4px;
border-right: 1px solid var(--color-border-subtle);
color: var(--color-ink-faint);
background: rgba(0,0,0,0.14);
text-align: right;
user-select: none;
}
.resolve-num.ours { color: rgba(78,202,118,0.65); background: rgba(78,202,118,0.11); border-right-color: rgba(78,202,118,0.2); }
.resolve-num.theirs { color: rgba(122,172,255,0.65); background: rgba(122,172,255,0.11); border-right-color: rgba(122,172,255,0.2); }
.resolve-num.empty { background: rgba(0,0,0,0.07); }
.resolve-cell {
min-width: 0;
padding: 0 8px;
overflow: visible;
color: var(--color-ink-muted);
white-space: pre;
}
.resolve-cell.ours { color: #5dd88a; background: rgba(78,202,118,0.1); }
.resolve-cell.theirs { color: #8fb4ff; background: rgba(90,140,248,0.11); }
.resolve-cell.empty { background: rgba(0,0,0,0.06); }
.resolve-cell.dimmed { opacity: 0.42; filter: grayscale(0.5); }
.resolve-context { margin: 0; padding: 2px 8px; overflow-x: auto; font-family: var(--font-mono); font-size: 12px; line-height: 1.5; tab-size: 2; color: var(--color-ink-muted); }
.resolve-conflict { display: grid; gap: 6px; padding: 8px; border: 1px solid rgba(224,160,64,0.25); border-radius: 6px; background: rgba(224,160,64,0.06); }
.resolve-conflict.unresolved { border-color: rgba(232,96,96,0.3); background: rgba(232,96,96,0.06); }
.resolve-conflict-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.resolve-conflict-label { color: #e0a040; font-size: 12px; font-weight: 800; }
.resolve-choice-buttons { display: flex; flex-wrap: wrap; gap: 4px; }
.resolve-choice-buttons button { min-height: 24px; padding: 0 8px; font-size: 11.5px; }
.resolve-choice-buttons button.active { border-color: var(--color-primary); color: #ffffff; background: var(--color-primary); }
.resolve-side { display: grid; gap: 3px; padding: 6px; border: 1px solid var(--color-border-subtle); border-radius: 6px; border-left-width: 3px; }
.resolve-side.ours { border-left-color: #4eca76; background: rgba(78,202,118,0.06); }
.resolve-side.theirs { border-left-color: #5a8cf8; background: rgba(90,140,248,0.06); }
.resolve-side.dimmed { opacity: 0.4; filter: grayscale(0.5); }
.resolve-side-label { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.resolve-side.ours .resolve-side-label { color: #4eca76; }
.resolve-side.theirs .resolve-side-label { color: #6a9aff; }
.resolve-lines { margin: 0; overflow-x: auto; font-family: var(--font-mono); font-size: 12px; line-height: 1.5; tab-size: 2; }
.resolve-line { display: block; white-space: pre-wrap; word-break: break-word; }
.resolve-line.ours { color: #4eca76; }
.resolve-line.theirs { color: #7aacff; }
.resolve-line.context { color: var(--color-ink-muted); }
.resolve-binary { display: grid; align-content: start; gap: 12px; padding: 4px; }
.resolve-binary-note { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid rgba(224,160,64,0.28); border-radius: 6px; color: #e0a040; background: rgba(224,160,64,0.07); font-size: 13px; }
.resolve-binary-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.resolve-binary-card { display: grid; gap: 6px; justify-items: start; padding: 14px; border: 1px solid var(--color-border-subtle); border-left-width: 3px; border-radius: 8px; text-align: left; background: var(--color-surface-raised); }
.resolve-binary-card.ours { border-left-color: #4eca76; }
.resolve-binary-card.theirs { border-left-color: #5a8cf8; }
.resolve-binary-card.active { box-shadow: 0 0 0 2px var(--color-primary) inset; border-color: var(--color-primary); }
.resolve-binary-card strong { color: var(--color-ink); font-size: 18px; }
.resolve-binary-hint { color: var(--color-ink-faint); font-size: 12px; }
.resolve-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.resolve-path { overflow: hidden; color: var(--color-ink-faint); font-family: var(--font-mono); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
}
:root[data-theme="light"] button:hover:not(:disabled) {
background: var(--color-surface-hover);
}
:root[data-theme="light"] input:focus,
:root[data-theme="light"] textarea:focus,
:root[data-theme="light"] select:focus {
box-shadow: 0 0 0 3px rgba(49, 95, 214, 0.14), 0 10px 24px rgba(28, 44, 74, 0.06);
}
:root[data-theme="light"] .btn-primary {
border-color: rgba(49, 95, 214, 0.72);
background: linear-gradient(135deg, #315fd6 0%, #0f8fb5 100%);
box-shadow: 0 10px 24px rgba(49, 95, 214, 0.18);
}
:root[data-theme="light"] .btn-primary:hover:not(:disabled) {
border-color: rgba(15, 143, 181, 0.72);
background: linear-gradient(135deg, #3d6ee4 0%, #139dc7 100%);
}
:root[data-theme="light"] .btn-secondary {
border-color: rgba(15, 143, 181, 0.28);
color: #0c6683;
background: linear-gradient(180deg, rgba(15, 143, 181, 0.08), rgba(49, 95, 214, 0.06));
}
:root[data-theme="light"] .btn-secondary:hover:not(:disabled) {
color: #0d4f9e;
background: linear-gradient(180deg, rgba(15, 143, 181, 0.13), rgba(49, 95, 214, 0.1));
}
:root[data-theme="light"] .titlebar {
background:
linear-gradient(90deg, rgba(49, 95, 214, 0.08), rgba(15, 143, 181, 0.05), rgba(214, 156, 49, 0.04)),
var(--color-bar);
}
:root[data-theme="light"] .titlebar-brand,
:root[data-theme="light"] .titlebar-right {
border-color: rgba(34,49,78,0.1);
}
:root[data-theme="light"] .titlebar-brand-icon img {
filter: drop-shadow(0 1px 2px rgba(28,44,74,0.18));
}
:root[data-theme="light"] .tb-version {
color: rgba(23,32,51,0.36);
}
:root[data-theme="light"] .titlebar-info svg {
color: var(--color-accent);
}
:root[data-theme="light"] .tb-repo,
:root[data-theme="light"] .tb-no-repo {
color: var(--color-bar-muted);
}
:root[data-theme="light"] .tb-sep {
color: rgba(23,32,51,0.28);
}
:root[data-theme="light"] .tb-branch {
color: var(--color-bar-text);
}
:root[data-theme="light"] .tb-action:hover:not(:disabled),
:root[data-theme="light"] .tb-btn:hover:not(:disabled) {
background: rgba(49,95,214,0.08);
color: var(--color-ink);
}
:root[data-theme="light"] .titlebar-divider {
background: rgba(34,49,78,0.1);
}
:root[data-theme="light"] .tb-btn {
color: var(--color-bar-muted);
}
:root[data-theme="light"] .topbar {
border-color: var(--color-border);
background:
linear-gradient(90deg, rgba(49,95,214,0.06), rgba(15,143,181,0.045), rgba(214,156,49,0.035)),
var(--color-surface);
}
:root[data-theme="light"] .repo-tabbar,
:root[data-theme="light"] .repo-management-tools {
background: rgba(255,255,255,0.78);
}
:root[data-theme="light"] .repo-tab-wrap {
background: rgba(244,247,252,0.72);
}
:root[data-theme="light"] .repo-tab-wrap.active {
background: rgba(49,95,214,0.1);
}
:root[data-theme="light"] .repo-row {
border-bottom-color: rgba(34,49,78,0.08);
}
:root[data-theme="light"] .repo-row-main:hover:not(:disabled) {
background: rgba(49,95,214,0.07);
}
:root[data-theme="light"] .repo-row-icon {
border-left-color: rgba(34,49,78,0.08);
}
:root[data-theme="light"] .notice.error,
:root[data-theme="light"] .cred-error {
color: #b33445;
background: rgba(210, 55, 75, 0.08);
}
:root[data-theme="light"] .notice.busy {
color: #315fd6;
}
:root[data-theme="light"] .notice.conflict,
:root[data-theme="light"] .notice-action.conflict,
:root[data-theme="light"] .resolve-status,
:root[data-theme="light"] .resolve-conflict-label {
color: #96620f;
}
:root[data-theme="light"] .notice.rebase,
:root[data-theme="light"] .notice-action.rebase {
color: #6f3ca8;
}
:root[data-theme="light"] .update-toast {
box-shadow: 0 22px 56px rgba(28,44,74,0.18), 0 0 0 1px rgba(255,255,255,0.75) inset;
}
:root[data-theme="light"] .branch-filter-backdrop {
background: rgba(232,238,248,0.96);
}
:root[data-theme="light"] .branch-filter-dialog {
background:
linear-gradient(180deg, #ffffff 0%, #f4f7fc 72%),
#f4f7fc;
box-shadow: var(--app-dialog-shadow);
}
:root[data-theme="light"] .graph-branch-dialog-button,
:root[data-theme="light"] .branch-filter-option {
color: #16723b;
}
:root[data-theme="light"] .graph-branch-dialog-button span {
color: #ffffff;
background: #22834a;
}
:root[data-theme="light"] .main-panel {
background: var(--color-surface);
box-shadow: var(--app-panel-shadow);
}
:root[data-theme="light"] .repo-management {
background: var(--color-surface);
box-shadow: var(--app-panel-shadow);
}
:root[data-theme="light"] .repo-section {
background: rgba(255,255,255,0.62);
}
:root[data-theme="light"] .repo-section > header {
background: rgba(244,247,252,0.88);
}
:root[data-theme="light"] .repo-empty {
background: rgba(255,255,255,0.48);
}
:root[data-theme="light"] .repo-summary,
:root[data-theme="light"] .lane-header,
:root[data-theme="light"] .stash-toolbar,
:root[data-theme="light"] .dialog-footer,
:root[data-theme="light"] .cred-header {
background: var(--color-surface-dim);
}
:root[data-theme="light"] .file-row.selected,
:root[data-theme="light"] .branch-row.current,
:root[data-theme="light"] .file-history-row.active {
background: rgba(49,95,214,0.08);
}
:root[data-theme="light"] .graph-list {
background: rgba(248,250,253,0.9);
}
:root[data-theme="light"] .graph-gutter {
border-right-color: rgba(34,49,78,0.1);
background:
linear-gradient(90deg, rgba(49,95,214,0.035), rgba(255,255,255,0.18)),
rgba(238,243,249,0.78);
}
:root[data-theme="light"] .graph-dot {
border-color: #ffffff;
box-shadow: 0 0 0 1px rgba(34,49,78,0.16), 0 2px 6px rgba(28,44,74,0.12);
}
:root[data-theme="light"] .graph-dot.merge {
background: #ffffff;
box-shadow: 0 0 0 1px rgba(34,49,78,0.14);
}
:root[data-theme="light"] .commit-body {
background: rgba(255,255,255,0.72);
}
:root[data-theme="light"] .graph-row + .graph-row .commit-body {
border-top-color: rgba(34,49,78,0.08);
}
:root[data-theme="light"] .graph-row:hover .commit-body {
background: rgba(235,241,250,0.9);
}
:root[data-theme="light"] .graph-row.merge-row .commit-body {
background: rgba(248,244,252,0.82);
}
:root[data-theme="light"] .graph-row.tip-row .commit-body {
background:
linear-gradient(90deg, rgba(49,95,214,0.075), transparent 34%),
rgba(255,255,255,0.82);
}
:root[data-theme="light"] .commit-summary {
color: var(--color-ink);
}
:root[data-theme="light"] .commit-avatar {
border-color: rgba(49,95,214,0.18);
color: #315fd6;
background: rgba(232,238,248,0.92);
}
:root[data-theme="light"] .commit-kind {
background: rgba(244,247,252,0.82);
}
:root[data-theme="light"] .commit-hash {
color: #315fd6;
}
:root[data-theme="light"] .commit-branch-chip,
:root[data-theme="light"] .graph-hover-branches span {
border-color: rgba(31,128,76,0.22);
color: #146b3b;
background: rgba(224,246,233,0.92);
box-shadow: 0 8px 22px rgba(28,44,74,0.12);
}
:root[data-theme="light"] .graph-hover-branches span.remote,
:root[data-theme="light"] .branch-filter-option.remote {
border-color: rgba(49,95,214,0.22);
color: #315fd6;
background: rgba(231,237,255,0.92);
}
:root[data-theme="light"] .graph-hover-branches span.ahead {
border-color: rgba(150,98,15,0.28);
color: #96620f;
background: rgba(255,244,224,0.95);
}
:root[data-theme="light"] .graph-hover-branches span.behind {
border-color: rgba(49,95,214,0.26);
color: #315fd6;
background: rgba(231,237,255,0.95);
}
:root[data-theme="light"] .ref-list .ref-chip.head {
color: #ffffff;
background: linear-gradient(135deg, #0f8fb5, #315fd6);
}
:root[data-theme="light"] .ref-list .ref-chip.branch {
color: #16723b;
background: rgba(78,202,118,0.12);
}
:root[data-theme="light"] .ref-list .ref-chip.remote {
color: #315fd6;
background: rgba(49,95,214,0.09);
}
:root[data-theme="light"] .commit-files,
:root[data-theme="light"] .commit-file-button {
background: rgba(248,250,253,0.78);
}
:root[data-theme="light"] .file-history-rail-toggle {
background: linear-gradient(180deg, rgba(49,95,214,0.08), rgba(15,143,181,0.04));
}
:root[data-theme="light"] .file-history-rail-toggle:hover:not(:disabled) {
background: linear-gradient(180deg, rgba(49,95,214,0.12), rgba(15,143,181,0.08));
}
:root[data-theme="light"] .file-history-loading {
background:
radial-gradient(circle at center 42%, rgba(49,95,214,0.1), transparent 52%),
linear-gradient(180deg, rgba(244,247,252,0.88), transparent);
}
:root[data-theme="light"] .file-history-loading-icon {
filter:
drop-shadow(0 10px 14px rgba(28,44,74,0.18))
drop-shadow(0 0 12px rgba(49,95,214,0.18));
}
:root[data-theme="light"] .branch-context-menu {
box-shadow: 0 18px 50px rgba(28,44,74,0.18);
}
:root[data-theme="light"] .dialog-file-row:hover,
:root[data-theme="light"] .branch-row:hover,
:root[data-theme="light"] .explorer-row:hover,
:root[data-theme="light"] .commit-files-toggle:hover:not(:disabled) {
background: var(--color-surface-hover);
}
:root[data-theme="light"] .split-span.split-meta {
background: #e9eef7;
}
:root[data-theme="light"] .resolve-split,
:root[data-theme="light"] .resolve-num,
:root[data-theme="light"] .resolve-cell.empty,
:root[data-theme="light"] .resolve-num.empty {
background: rgba(234,239,248,0.72);
}
:root[data-theme="light"] .diff-line.meta,
:root[data-theme="light"] .resolve-split-marker {
color: #64728a;
}
:root[data-theme="light"] .cred-input input,
:root[data-theme="light"] .cred-expiry input[type="date"] {
background: rgba(255,255,255,0.92);
color-scheme: light;
}
:root[data-theme="light"] .cred-token-hint code {
color: #0d78a0;
}
:root[data-theme="light"] .status-panel-overlay {
background:
radial-gradient(circle at 50% 38%, rgba(49, 95, 214, 0.12), transparent 55%),
rgba(244, 247, 252, 0.68);
}
:root[data-theme="light"] .status-panel-overlay-card {
background:
linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,247,252,0.94)),
var(--color-surface-raised);
box-shadow: 0 18px 44px rgba(28,44,74,0.16), inset 0 1px 0 rgba(255,255,255,0.9);
}
/* Custom tooltip — appended to body, not clipped by overflow:hidden parents */
.path-tooltip {
position: fixed;
z-index: 300;
max-width: 480px;
padding: 5px 10px;
border: 1px solid var(--color-border);
border-radius: 6px;
background: var(--color-surface-raised);
color: var(--color-ink-muted);
font-family: var(--font-mono);
font-size: 12px;
white-space: pre-wrap;
word-break: break-all;
pointer-events: none;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes update-progress-slide {
0% { transform: translateX(-120%); }
50% { transform: translateX(120%); }
100% { transform: translateX(320%); }
}
/* --- Responsive breakpoints --- */
@media (min-width: 1800px) {
.workspace { grid-template-columns: minmax(220px, var(--left-sidebar-width, 320px)) 8px minmax(0, 1fr) 8px minmax(560px, var(--history-aside-width, 680px)); }
}
@media (max-width: 1400px) {
.workspace { grid-template-columns: minmax(200px, var(--left-sidebar-width, 265px)) 8px minmax(0, 1fr) 8px minmax(540px, var(--history-aside-width, 580px)); }
}
/* Stack CommitPanel below StatusPanel; history panels stay side by side */
@media (max-width: 1100px) {
.workspace { grid-template-columns: minmax(185px, var(--left-sidebar-width, 220px)) 8px minmax(0, 1fr) 8px minmax(500px, var(--history-aside-width, 560px)); }
.top-section { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 14px var(--commit-panel-height, 190px); }
}
/* Compact: stack history panels vertically, narrow sidebars */
@media (max-width: 960px) {
.workspace { grid-template-columns: 180px 8px minmax(0, 1fr) 0 300px; row-gap: 6px; }
.history-aside { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1.3fr) minmax(0, 0.7fr); row-gap: 6px; }
.history-aside.file-history-collapsed { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 42px; }
.history-resize-handle,
.file-history-resize-handle { display: none; }
.shell-body { gap: 6px; }
.left-sidebar {
grid-template-rows: minmax(180px, var(--branch-panel-height, 230px)) 14px minmax(150px, var(--stash-panel-height, 170px)) 14px minmax(220px, 1fr);
}
.left-sidebar:has(.stash-panel.collapsed) {
grid-template-rows: minmax(180px, var(--branch-panel-height, 230px)) 14px auto 0 minmax(220px, 1fr);
}
.left-sidebar.branch-collapsed {
grid-template-rows: auto 0 minmax(150px, var(--stash-panel-height, 170px)) 14px minmax(220px, 1fr);
}
.left-sidebar.explorer-collapsed {
grid-template-rows: minmax(180px, var(--branch-panel-height, 230px)) 14px minmax(150px, var(--stash-panel-height, 170px)) 0 auto;
}
.left-sidebar.branch-collapsed:has(.stash-panel.collapsed) {
grid-template-rows: auto 0 auto 0 minmax(220px, 1fr);
}
.left-sidebar.explorer-collapsed:has(.stash-panel.collapsed) {
grid-template-rows: minmax(180px, var(--branch-panel-height, 230px)) 14px auto 0 auto;
}
.left-sidebar.branch-collapsed.explorer-collapsed {
grid-template-rows: auto 0 minmax(150px, var(--stash-panel-height, 170px)) 0 auto;
}
.left-sidebar.branch-collapsed.explorer-collapsed:has(.stash-panel.collapsed) {
grid-template-rows: auto 0 auto 0 auto;
align-content: start;
}
.section-head { min-height: 40px; padding: 6px 10px; }
.repo-summary { height: 40px; padding: 0 10px; }
.repo-branch { max-width: 160px; }
.repo-path { display: none; }
.sync-stats span { display: none; }
.branch-actions { flex-direction: column; align-items: flex-end; gap: 4px; }
.branch-actions button { width: 100%; }
.tb-action-label { display: none; }
}
/* Narrow: single column */
@media (max-width: 740px) {
body { overflow: auto; }
.shell-body { min-height: 100%; gap: 6px; }
.titlebar-info { padding: 0 8px; }
.titlebar-actions .tb-action:not(.auto-toggle):not(:last-child) { display: none; }
.tb-action { width: 36px; padding: 0 8px; }
.tb-btn { width: 34px; }
.workspace { grid-template-columns: 1fr; gap: 6px; }
.left-sidebar-resize-handle { display: none; }
.history-aside { grid-template-columns: 1fr; grid-template-rows: minmax(200px, 1fr) minmax(150px, 0.5fr); min-height: 380px; }
.history-aside.file-history-collapsed { grid-template-rows: minmax(200px, 1fr) 42px; }
.left-sidebar {
grid-template-rows: minmax(180px, var(--branch-panel-height, 240px)) 14px minmax(150px, var(--stash-panel-height, 180px)) 14px minmax(220px, 1fr);
min-height: 560px;
}
.left-sidebar:has(.stash-panel.collapsed) {
grid-template-rows: minmax(180px, var(--branch-panel-height, 240px)) 14px auto 0 minmax(220px, 1fr);
}
.left-sidebar.branch-collapsed {
grid-template-rows: auto 0 minmax(150px, var(--stash-panel-height, 180px)) 14px minmax(220px, 1fr);
}
.left-sidebar.explorer-collapsed {
grid-template-rows: minmax(120px, var(--branch-panel-height, 240px)) 14px minmax(150px, var(--stash-panel-height, 180px)) 0 auto;
}
.left-sidebar.branch-collapsed:has(.stash-panel.collapsed) {
grid-template-rows: auto 0 auto 0 minmax(0, 1fr);
}
.left-sidebar.explorer-collapsed:has(.stash-panel.collapsed) {
grid-template-rows: minmax(120px, var(--branch-panel-height, 240px)) 14px auto 0 auto;
}
.left-sidebar.branch-collapsed.explorer-collapsed {
grid-template-rows: auto 0 minmax(150px, var(--stash-panel-height, 180px)) 0 auto;
}
.left-sidebar.branch-collapsed.explorer-collapsed:has(.stash-panel.collapsed) {
grid-template-rows: auto 0 auto 0 auto;
align-content: start;
}
.top-section { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 14px var(--commit-panel-height, 190px); }
.repo-form { grid-template-columns: 1fr; }
.repo-tabbar { grid-template-columns: minmax(0, 1fr) auto; }
.repo-tab.management { min-width: 0; }
.repo-tabs-scroll { grid-column: 1 / -1; order: 2; border-top: 1px solid var(--color-border-subtle); }
.repo-management-head,
.repo-management-tools { align-items: stretch; flex-direction: column; }
.repo-management-actions { justify-content: flex-start; }
.clone-dialog-path-field { grid-template-columns: minmax(0, 1fr); }
.clone-dialog-actions { flex-direction: column-reverse; }
.clone-dialog-actions button { width: 100%; }
.repo-row-main { grid-template-columns: minmax(0, 1fr); gap: 2px; align-content: center; padding-left: 12px; }
.repo-row { min-height: 58px; }
.repo-row-icon { min-height: 58px; }
.repo-path { display: none; }
.repo-summary { height: 40px; }
.change-lanes { grid-template-columns: 1fr; }
.compare-form { grid-template-columns: 1fr; }
.compare-arrow { display: none; }
.dialog-body { grid-template-columns: 1fr; grid-template-rows: minmax(120px, 0.4fr) minmax(0, 1fr); }
.compare-dialog .dialog-body { grid-template-columns: 1fr; grid-template-rows: minmax(120px, 0.4fr) minmax(0, 1fr); }
.global-search-options { grid-template-columns: 1fr; }
.file-search-split { grid-template-columns: 1fr; grid-template-rows: minmax(150px, 0.9fr) minmax(0, 1fr); }
.file-search-column { border-right: none; border-bottom: 1px solid var(--color-border-subtle); }
.file-search-hit { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.file-search-hit .status-badge,
.file-search-action { grid-column: 2; justify-self: start; }
.dialog-files { border-right: none; border-bottom: 1px solid var(--color-border-subtle); }
.branch-actions { flex-direction: row; justify-content: flex-start; }
.tb-action-label { display: none; }
}