mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-21 23:05:46 +00:00
18bf3adb1f
layout.css (3209 LOC) → 29 per-section files in src/styles/layout/ + an index.css that imports them in original cascade order. Same mechanic as theme.css + components.css splits: top-level sections detected by single-dash or 3+ dash header decoration. Concatenating in @import order reproduces the original byte stream (+1 trailing newline, cosmetic). Generated via /tmp/split-layout-css.mjs.
58 lines
931 B
CSS
58 lines
931 B
CSS
/* ─── Track Metadata ─── */
|
|
.mp-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
padding: 8px 0 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mp-meta-text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mp-title {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.mp-artist {
|
|
font-size: 15px;
|
|
color: var(--accent);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.mp-track-info {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin-top: 4px;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.mp-heart {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
transition: color var(--transition-fast), transform var(--transition-fast);
|
|
}
|
|
|
|
.mp-heart:hover {
|
|
transform: scale(1.12);
|
|
}
|
|
|
|
.mp-heart.active {
|
|
color: var(--color-star-active, var(--accent));
|
|
}
|
|
|