* { box-sizing: border-box; } :root { color-scheme: light dark; --bg: #f4f6f8; --surface: #ffffff; --surface-alt: #fbfcfe; --border: #d5d7db; --border-light: #e1e3e6; --text: #111111; --text-muted: #4f5765; --text-soft: #6a7282; --hover: #eef2f6; --selected: #dbe7ff; --progress-track: #e6e9ef; --progress-fill-start: #5c87ff; --progress-fill-end: #7aa2ff; } @media (prefers-color-scheme: dark) { :root:not([data-theme]) { --bg: #14161b; --surface: #1f232b; --surface-alt: #202530; --border: #2d3440; --border-light: #2a303a; --text: #e9ecf1; --text-muted: #c0c7d3; --text-soft: #9aa3b2; --hover: #2a3140; --selected: #2c3b66; --progress-track: #2c313c; --progress-fill-start: #7aa2ff; --progress-fill-end: #8fb0ff; } } :root[data-theme="dark"] { --bg: #14161b; --surface: #1f232b; --surface-alt: #202530; --border: #2d3440; --border-light: #2a303a; --text: #e9ecf1; --text-muted: #c0c7d3; --text-soft: #9aa3b2; --hover: #2a3140; --selected: #2c3b66; --progress-track: #2c313c; --progress-fill-start: #7aa2ff; --progress-fill-end: #8fb0ff; } :root[data-theme="light"] { --bg: #f4f6f8; --surface: #ffffff; --surface-alt: #fbfcfe; --border: #d5d7db; --border-light: #e1e3e6; --text: #111111; --text-muted: #4f5765; --text-soft: #6a7282; --hover: #eef2f6; --selected: #dbe7ff; --progress-track: #e6e9ef; --progress-fill-start: #5c87ff; --progress-fill-end: #7aa2ff; } html, body { height: 100%; } body { margin: 0; font-family: "Segoe UI", Tahoma, sans-serif; background: var(--bg); color: var(--text); display: flex; flex-direction: column; overflow: hidden; } .toolbar { display: flex; align-items: center; gap: 12px; padding: 16px 24px; background: var(--surface); border-bottom: 1px solid var(--border); } .toolbar input { flex: 1; padding: 8px 10px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); color: var(--text); } .toolbar button { padding: 8px 12px; } .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; flex: 1; min-height: 0; } .panel { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; display: flex; flex-direction: column; min-height: 520px; } .panel-head { padding: 16px; border-bottom: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 12px; } .panel-body { padding: 12px 16px; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; } .list { --col-name: 1fr; --col-size: 140px; display: flex; flex-direction: column; min-height: 0; flex: 1; } .list-row { display: grid; grid-template-columns: var(--col-name) var(--col-size); gap: 12px; align-items: center; min-width: max-content; } .list-header { font-weight: 600; color: var(--text); padding: 6px 8px; border-bottom: 1px solid var(--border-light); position: sticky; top: 0; background: var(--surface); z-index: 1; } .list-body { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: auto; } .col { position: relative; } .col-resizer { position: absolute; top: 0; right: -8px; width: 12px; height: 100%; cursor: col-resize; } .tree { border: 1px solid var(--border-light); border-radius: 6px; padding: 8px; margin-bottom: 12px; background: var(--surface-alt); max-height: 180px; overflow: auto; position: sticky; top: 0; z-index: 2; } .tree-node { padding: 4px 6px; border-radius: 4px; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 6px; } .tree-node:hover { background: var(--hover); } .tree-node.current { background: var(--selected); } .tree-toggle { display: inline-flex; width: 12px; justify-content: center; color: var(--text-soft); font-size: 12px; } .tree-label { flex: 1; } .tree-loading { padding: 4px 6px; font-size: 12px; color: var(--text-soft); white-space: nowrap; } .path-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .path-row input { flex: 1; padding: 6px 10px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); color: var(--text); } .row { padding: 6px 8px; border-radius: 4px; cursor: pointer; white-space: nowrap; } .row .size, .list-header .size { text-align: right; color: var(--text-muted); } .row:hover { background: var(--hover); } .row.selected { background: var(--selected); } .log { margin: 0 24px 24px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); flex-shrink: 0; padding: 8px 16px; } #log-list { padding: 12px 16px; font-family: Consolas, monospace; font-size: 12px; height: 200px; overflow-y: auto; } .checkbox { display: flex; align-items: center; gap: 6px; font-size: 12px; } .progress { position: relative; width: 200px; height: 10px; border-radius: 999px; background: var(--progress-track); overflow: hidden; display: none; } .progress.active { display: block; } .progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--progress-fill-start), var(--progress-fill-end)); transition: width 0.2s ease; } .progress.indeterminate .progress-bar { width: 40%; position: absolute; animation: progress-slide 1s infinite ease-in-out; } .progress-meta { font-size: 12px; color: var(--text-muted); min-width: 140px; } .progress-meta.secondary { color: var(--text-soft); } @keyframes progress-slide { 0% { left: -40%; } 100% { left: 100%; } } @media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }