phase-4: scss upgrade

This commit is contained in:
Sai Kiran Vella
2026-06-04 15:49:49 -04:00
committed by saikiranvella
parent d5cf3fc31f
commit dbcc0376b0
18 changed files with 1275 additions and 819 deletions
+78
View File
@@ -0,0 +1,78 @@
// ── Section card ──────────────────────────────────────────────────────────
.section {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
margin-bottom: 16px;
overflow: hidden;
}
.section-header {
display: flex;
align-items: center;
gap: 10px;
padding: 14px var(--space-xl) 12px;
border-bottom: 1px solid var(--border);
background: var(--bg-elevated);
}
// Section heading — small caps label style
.section h2,
.section-header h2 {
font-size: var(--fs-sm);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-dim);
margin: 0;
}
// ── Count badge ───────────────────────────────────────────────────────────
.count {
font-size: var(--fs-xs);
font-weight: 600;
color: var(--text-faint);
background: var(--bg-card);
padding: 2px 7px;
border-radius: var(--radius-pill);
}
// ── Mode tabs (Mkt-Adjusted / Graham) ────────────────────────────────────
.mode-tabs {
display: flex;
gap: var(--space-xs);
margin-left: auto;
button {
background: transparent;
color: var(--text-dimmer);
border: 1px solid var(--border);
font-size: var(--fs-sm);
padding: 4px 12px;
border-radius: var(--radius-sm);
font-weight: 600;
cursor: pointer;
transition: background var(--transition), color var(--transition);
&.active {
background: var(--blue-surface);
color: var(--blue-muted);
border-color: var(--blue-surface);
}
}
}
// ── Error banner ──────────────────────────────────────────────────────────
.error-banner {
background: var(--red-deep);
border: 1px solid var(--red-border);
border-radius: var(--radius-md);
color: var(--red);
padding: 10px var(--space-lg);
margin-bottom: 16px;
font-size: var(--fs-md);
}