feat(ui): split downloads and history into tabs

This commit is contained in:
2026-05-17 13:09:01 +01:00
parent dd7e3e2a90
commit e8ffd7f7dd
3 changed files with 101 additions and 25 deletions

View File

@@ -552,11 +552,54 @@ body {
word-break: break-word;
}
/* ===== Main Tabs ===== */
.main-tabs {
max-width: 1200px;
margin: 16px auto 0;
padding: 0 16px;
}
.tab-bar {
display: flex;
gap: 4px;
border-bottom: 2px solid var(--border);
margin-bottom: 0;
}
.tab-btn {
background: none;
border: none;
border-bottom: 3px solid transparent;
margin-bottom: -2px;
padding: 10px 20px;
font-size: 0.95rem;
font-weight: 600;
color: var(--text-secondary);
cursor: pointer;
transition: color 0.2s, border-color 0.2s;
border-radius: 4px 4px 0 0;
}
.tab-btn:hover {
color: var(--text-primary);
background: var(--surface);
}
.tab-btn.active {
color: var(--accent);
border-bottom-color: var(--accent);
background: var(--surface);
}
.tab-panel {
padding-top: 0;
}
/* ===== Recently Completed History ===== */
.history-container {
max-width: 1200px;
margin: 24px auto 0;
padding: 0 16px;
max-width: unset;
margin: 0;
padding: 0;
}
.history-header {