.botcoder-git-container { display: flex; height: 100vh; width: 100%; background-color: var(--surface, #1e293b); color: var(--text, #f8fafc); } .botcoder-git-sidebar { width: 320px; background-color: var(--surface-hover, #334155); border-right: 1px solid var(--border, #475569); display: flex; flex-direction: column; } .botcoder-git-header { padding: 16px; border-bottom: 1px solid var(--border, #475569); display: flex; justify-content: space-between; align-items: center; } .botcoder-git-header h3 { margin: 0; font-size: 15px; font-weight: 600; } .botcoder-git-commit-box { padding: 16px; background: var(--surface, #1e293b); border-bottom: 1px solid var(--border, #475569); display: flex; flex-direction: column; gap: 8px; } .botcoder-git-commit-box textarea { width: 100%; min-height: 80px; background: var(--surface-active, #0f172a); border: 1px solid var(--border, #475569); color: var(--text, #f8fafc); padding: 8px; border-radius: 4px; font-family: inherit; font-size: 13px; resize: vertical; } .botcoder-git-changes { flex-grow: 1; display: flex; flex-direction: column; min-height: 0; } .botcoder-git-changes-header { padding: 8px 16px; background: var(--surface-active, #0f172a); font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--text-muted, #94a3b8); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border, #475569); } .botcoder-badge { background: var(--surface-hover, #334155); padding: 2px 6px; border-radius: 10px; font-size: 10px; } .botcoder-git-file-list { flex-grow: 1; overflow-y: auto; } .botcoder-git-file { padding: 6px 16px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.05); } .botcoder-git-file:hover { background-color: rgba(255,255,255,0.05); } .git-file-name { font-weight: 500; } .git-file-path { color: var(--text-muted, #94a3b8); font-size: 11px; flex-grow: 1; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .git-badge { width: 16px; height: 16px; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: bold; color: #fff; } .git-badge-modified { background: #eab308; } .git-badge-added { background: #22c55e; } .git-badge-deleted { background: #ef4444; } .git-badge-untracked { background: #a855f7; } .botcoder-git-branches { border-top: 1px solid var(--border, #475569); } #gitBranchSelect { width: 100%; padding: 10px 16px; background: transparent; border: none; color: var(--text, #f8fafc); font-size: 13px; outline: none; appearance: none; } .botcoder-git-main { flex-grow: 1; background: var(--surface-active, #0f172a); display: flex; flex-direction: column; } .botcoder-git-diff-viewer { flex-grow: 1; overflow: auto; padding: 24px; } .git-diff-pre { margin: 0; font-family: Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.5; } .botcoder-btn { padding: 6px 16px; font-size: 13px; font-weight: 500; border: 1px solid var(--border, #475569); border-radius: 4px; background-color: transparent; color: var(--text, #f8fafc); cursor: pointer; } .botcoder-btn-primary { background-color: var(--accent, #3b82f6); border-color: var(--accent, #3b82f6); } .botcoder-btn:hover { opacity: 0.9; }