mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-21 23:05:46 +00:00
4b4cf42167
components.css (14205 LOC) → 84 per-section files in src/styles/components/ +
an index.css that imports them in original cascade order.
Same approach as the theme.css split: top-level sections are detected by
single-dash or 3+ dash header decoration (/^\/\* ─(?: |─{2,})/), 2-dash
sub-sections stay inside their parent. Concatenating in @import order
reproduces the original byte stream (+1 trailing newline, cosmetic).
Each section is now self-contained — touching Tracklist, Modal, Hero,
Sidebar, etc. only opens one focused file.
Generated via /tmp/split-components-css.mjs.
26 lines
418 B
CSS
26 lines
418 B
CSS
/* ─── Empty state ─── */
|
|
.mobile-search-empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mobile-search-hint {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 48px 20px 32px;
|
|
}
|
|
|
|
.mobile-search-hint-icon {
|
|
color: var(--text-muted);
|
|
opacity: 0.25;
|
|
}
|
|
|
|
.mobile-search-hint-text {
|
|
font-size: 16px;
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
}
|
|
|