db8b43b0e8
The press page interleaved active downloads, queued items, and errors in one long list — hard to see what's actually pressing. Split the non-imported rows into three tabs (Active / In queue / Errors) with live counts; the default tab follows the work (Active if anything's running, else Queue, else Errors) until the user picks one. Move the press-level actions (Pause/Resume, Clear queue, Stop now) off the toolbar into a vertical "⋮" kebab menu on the right of the header — Clear queue disables when the queue is empty, Stop now only shows while downloading. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
461 lines
26 KiB
CSS
461 lines
26 KiB
CSS
/* Lyra — "Pressing Plant" component classes. Styled through tokens (globals.css). */
|
|
|
|
/* ── Masthead ─────────────────────────────────────────── */
|
|
.masthead {
|
|
display: flex; align-items: flex-end; justify-content: space-between;
|
|
gap: 20px; flex-wrap: wrap; padding: 40px 0 18px;
|
|
}
|
|
.wordmark { display: flex; align-items: baseline; gap: 16px; }
|
|
.wordmark h1 {
|
|
margin: 0; font-weight: 600; letter-spacing: -0.02em;
|
|
font-size: clamp(2.6rem, 6vw, 3.7rem); line-height: 0.9;
|
|
}
|
|
.wordmark a { color: inherit; text-decoration: none; }
|
|
.tagline {
|
|
font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em;
|
|
text-transform: uppercase; color: var(--graphite); max-width: 15ch; line-height: 1.5;
|
|
}
|
|
.press-status {
|
|
display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
|
|
font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
|
|
text-transform: uppercase; color: var(--graphite); text-align: right; line-height: 1.7;
|
|
}
|
|
.press-status .catalog { color: var(--ink); letter-spacing: 0.18em; }
|
|
.live-dot {
|
|
display: inline-block; width: 7px; height: 7px; border-radius: 50%;
|
|
background: var(--accent); margin-right: 6px; vertical-align: middle;
|
|
animation: lyra-pulse 2.4s ease-out infinite;
|
|
}
|
|
@keyframes lyra-pulse {
|
|
0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); }
|
|
70% { box-shadow: 0 0 0 7px transparent; }
|
|
100% { box-shadow: 0 0 0 0 transparent; }
|
|
}
|
|
|
|
/* ── Contents-bar nav ─────────────────────────────────── */
|
|
nav.contents {
|
|
display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
|
|
border-top: 1.5px solid var(--rule-2); border-bottom: 1px solid var(--rule);
|
|
padding: 11px 0; margin-bottom: 34px;
|
|
font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
|
|
}
|
|
nav.contents a { color: var(--graphite); text-decoration: none; position: relative; padding: 2px 0; }
|
|
nav.contents a:hover { color: var(--ink); }
|
|
nav.contents a.here { color: var(--ink); }
|
|
nav.contents a.here::after {
|
|
content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: var(--accent);
|
|
}
|
|
nav.contents .sep { flex: 1; }
|
|
|
|
/* ── Summary tiles ────────────────────────────────────── */
|
|
.tiles {
|
|
display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
|
|
background: var(--rule); border: 1px solid var(--rule); margin-bottom: 44px;
|
|
}
|
|
.tile { background: var(--paper); padding: 16px 18px 18px; }
|
|
.tile .k {
|
|
font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em;
|
|
text-transform: uppercase; color: var(--graphite);
|
|
}
|
|
.tile .v {
|
|
font-size: 2.5rem; line-height: 1; margin-top: 12px;
|
|
font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
|
|
}
|
|
.tile .v small { font-size: 0.8rem; font-family: var(--mono); color: var(--graphite); letter-spacing: 0.06em; margin-left: 4px; }
|
|
.tile.accent .v { color: var(--accent); }
|
|
|
|
/* ── Section (dept) header ────────────────────────────── */
|
|
.dept { display: flex; align-items: baseline; gap: 14px; margin: 0 0 4px; }
|
|
.dept h2 {
|
|
margin: 0; font-family: var(--mono); font-weight: 500; font-size: 0.78rem;
|
|
letter-spacing: 0.22em; text-transform: uppercase;
|
|
}
|
|
.dept .count { font-family: var(--mono); font-size: 0.72rem; color: var(--graphite); letter-spacing: 0.1em; }
|
|
.dept .fill { flex: 1; border-bottom: 1px solid var(--rule); transform: translateY(-3px); }
|
|
|
|
/* ── Job rows (the pressing floor) ────────────────────── */
|
|
.floor { margin: 0 0 52px; }
|
|
.job {
|
|
display: grid; grid-template-columns: 4px 1fr auto; gap: 0 20px;
|
|
align-items: start; padding: 20px 0 18px; border-bottom: 1px solid var(--rule);
|
|
}
|
|
.job .stripe { width: 4px; align-self: stretch; background: var(--graphite); }
|
|
.job.working .stripe { background: var(--live); }
|
|
.job.verify .stripe { background: var(--accent); }
|
|
.job.attention .stripe { background: var(--alert); }
|
|
.job .title { font-size: 1.42rem; line-height: 1.15; letter-spacing: -0.01em; margin: -3px 0 0; text-wrap: balance; }
|
|
.job .title .artist { color: var(--graphite); }
|
|
.job .meta {
|
|
font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--graphite);
|
|
text-transform: uppercase; margin-top: 9px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
|
|
}
|
|
.job .meta .dot { opacity: 0.5; }
|
|
.job .note { grid-column: 2 / 3; margin-top: 12px; font-size: 0.98rem; color: var(--ink); }
|
|
.job .note a { color: var(--accent); }
|
|
|
|
/* ── Progress bar ─────────────────────────────────────── */
|
|
.prog { grid-column: 2 / 3; margin-top: 14px; display: flex; align-items: center; gap: 12px; }
|
|
.bar { flex: 1; height: 3px; background: var(--rule); position: relative; overflow: hidden; }
|
|
.bar > span { position: absolute; inset: 0 auto 0 0; background: var(--live); }
|
|
.job.verify .bar > span, .job.done .bar > span { background: var(--accent); }
|
|
.bar.indet > span { width: 34%; animation: lyra-slide 1.6s ease-in-out infinite; }
|
|
@keyframes lyra-slide { 0% { left: -34%; } 100% { left: 100%; } }
|
|
.pct {
|
|
font-family: var(--mono); font-size: 0.72rem; color: var(--ink);
|
|
font-variant-numeric: tabular-nums; min-width: 3.4em; text-align: right;
|
|
}
|
|
.pct.muted { color: var(--graphite); }
|
|
|
|
/* ── Status chip ──────────────────────────────────────── */
|
|
.chip {
|
|
font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
|
|
padding: 5px 9px; white-space: nowrap; border: 1px solid var(--rule-2); color: var(--graphite); align-self: start;
|
|
}
|
|
.chip.working { color: var(--live); border-color: color-mix(in srgb, var(--live) 45%, var(--rule)); }
|
|
.chip.verify, .chip.done { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); }
|
|
.chip.attention {
|
|
color: var(--alert); border-color: color-mix(in srgb, var(--alert) 50%, var(--rule));
|
|
background: color-mix(in srgb, var(--alert) 8%, transparent);
|
|
}
|
|
|
|
/* ── Recently pressed (deadwax etch list) ─────────────── */
|
|
.pressed { list-style: none; margin: 0; padding: 0; }
|
|
.pressed li { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
|
|
.pressed .mark { color: var(--accent); font-family: var(--mono); font-size: 0.8rem; }
|
|
.pressed .name { font-size: 1.08rem; }
|
|
.pressed .name .artist { color: var(--graphite); }
|
|
.pressed .matrix {
|
|
margin-left: auto; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em;
|
|
color: var(--graphite); text-transform: uppercase;
|
|
}
|
|
|
|
/* ── Empty state ──────────────────────────────────────── */
|
|
.empty {
|
|
padding: 28px 0 32px; color: var(--graphite); font-size: 1.05rem; line-height: 1.6; max-width: 46ch;
|
|
}
|
|
|
|
/* ── Buttons + fields ─────────────────────────────────── */
|
|
.btn {
|
|
font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
|
|
padding: 9px 16px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
|
|
}
|
|
.btn:hover { background: var(--ink); color: var(--paper); }
|
|
.btn.accent { border-color: var(--accent); color: var(--accent); }
|
|
.btn.accent:hover { background: var(--accent); color: var(--accent-ink); }
|
|
.btn:disabled { opacity: 0.45; cursor: default; }
|
|
.btn:disabled:hover { background: transparent; color: var(--ink); }
|
|
|
|
.request-form { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin: 22px 0 30px; }
|
|
.field { display: flex; flex-direction: column; gap: 6px; }
|
|
.field > span {
|
|
font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite);
|
|
/* keep the label row a consistent height + hold an inline Clear affordance on one line,
|
|
so a set-secret field lines up with a plain sibling field (align-items:end below). */
|
|
display: flex; align-items: center; gap: 8px; min-height: 1.5em;
|
|
}
|
|
.field input, .field select {
|
|
font-family: var(--mono); font-size: 0.9rem; padding: 8px 2px; background: transparent;
|
|
border: 0; border-bottom: 1.5px solid var(--rule-2); color: var(--ink); min-width: 200px;
|
|
}
|
|
.field input::placeholder { color: var(--graphite); opacity: 0.6; }
|
|
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); }
|
|
.field select { -webkit-appearance: none; appearance: none; cursor: pointer; }
|
|
.field select option { color: var(--ink); background: var(--paper); }
|
|
|
|
/* ── Colophon ─────────────────────────────────────────── */
|
|
.colophon {
|
|
margin-top: 40px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em;
|
|
text-transform: uppercase; color: var(--graphite); display: flex; justify-content: space-between;
|
|
border-top: 1.5px solid var(--rule-2); padding-top: 14px; flex-wrap: wrap; gap: 10px;
|
|
}
|
|
|
|
@media (max-width: 620px) {
|
|
.tiles { grid-template-columns: repeat(2, 1fr); }
|
|
.job { grid-template-columns: 4px 1fr; }
|
|
.job .chip { grid-column: 2 / 3; justify-self: start; margin-top: 12px; }
|
|
}
|
|
|
|
/* ── Login ────────────────────────────────────────────── */
|
|
.login { display: flex; justify-content: center; padding: 48px 0; }
|
|
.login-panel {
|
|
border: 1.5px solid var(--rule-2); padding: 34px 32px; max-width: 380px; width: 100%;
|
|
}
|
|
.login-panel .eyebrow {
|
|
font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
|
|
color: var(--accent); margin: 0 0 8px;
|
|
}
|
|
.login-panel h1 { font-family: var(--serif); font-size: 1.9rem; margin: 0 0 6px; }
|
|
.login-lede { color: var(--graphite); margin: 0 0 22px; font-size: 0.9rem; }
|
|
.login-form { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
|
|
.login-form .field input { min-width: 0; }
|
|
.login-form .btn { align-self: flex-start; }
|
|
.login-error {
|
|
font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--accent); margin: 0;
|
|
}
|
|
.sign-out {
|
|
font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase;
|
|
color: var(--graphite); background: transparent; border: 0; cursor: pointer; padding: 0;
|
|
}
|
|
.sign-out:hover { color: var(--accent); }
|
|
.modal-artist { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
|
|
.modal-artist a { color: inherit; text-decoration: none; border-bottom: 1.5px solid var(--rule-2); }
|
|
.modal-artist a:hover { border-bottom-color: var(--accent); color: var(--accent); }
|
|
.tracks-source {
|
|
font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
|
|
color: var(--graphite); margin: 0 0 10px;
|
|
}
|
|
.import-form { display: flex; flex-direction: column; gap: 6px; }
|
|
.dropzone {
|
|
border: 1.5px dashed var(--rule-2); padding: 28px 20px; text-align: center; cursor: pointer;
|
|
font-family: var(--mono); font-size: 0.8rem; color: var(--graphite); margin-bottom: 8px;
|
|
}
|
|
.dropzone:hover, .dropzone.over { border-color: var(--accent); color: var(--accent); }
|
|
.import-picks { text-align: center; font-size: 0.78rem; color: var(--graphite); margin: 6px 0 10px; }
|
|
.import-picks .linkish { font-size: inherit; }
|
|
|
|
/* ── Phase 2: page headers, list rows, tools ──────────── */
|
|
.page-head { margin: 6px 0 26px; }
|
|
.page-head .eyebrow {
|
|
font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em;
|
|
text-transform: uppercase; color: var(--graphite); margin: 0 0 9px;
|
|
}
|
|
.page-head h1 {
|
|
font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em;
|
|
margin: 0; line-height: 1; text-wrap: balance;
|
|
}
|
|
|
|
.list { list-style: none; margin: 0 0 40px; padding: 0; }
|
|
.list-row {
|
|
display: flex; gap: 14px 20px; align-items: baseline; justify-content: space-between;
|
|
flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--rule);
|
|
}
|
|
.list-row .main { min-width: 0; }
|
|
.list-row .rtitle { font-size: 1.2rem; line-height: 1.2; }
|
|
.list-row .rtitle a { color: inherit; text-decoration: none; }
|
|
.list-row .rtitle a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
|
|
.list-row .rtitle .artist, .list-row .rtitle .dim { color: var(--graphite); }
|
|
.list-row .rmeta {
|
|
font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
|
|
color: var(--graphite); margin-top: 7px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
|
|
}
|
|
.list-row .rmeta .dot { opacity: 0.5; }
|
|
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
|
|
|
|
.btn.sm { padding: 6px 11px; font-size: 0.62rem; letter-spacing: 0.12em; }
|
|
.btn.ghost { border-color: var(--rule-2); color: var(--graphite); }
|
|
.btn.ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
|
|
|
|
.press-controls { display: flex; gap: 0.5rem; align-items: center; margin: 0 0 1rem; flex-wrap: wrap; }
|
|
.item-controls { display: inline-flex; gap: 0.5rem; align-items: center; }
|
|
|
|
.toggle {
|
|
font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
|
|
color: var(--graphite); display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
|
|
}
|
|
.toggle input { accent-color: var(--accent); }
|
|
.following { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
|
|
|
|
.tool-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 0 0 28px; }
|
|
.notice { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--alert); }
|
|
.muted-note { color: var(--graphite); font-size: 0.95rem; }
|
|
.score { font-variant-numeric: tabular-nums; }
|
|
|
|
/* tracklist (preview page) */
|
|
.tracks { list-style: none; margin: 10px 0 4px; padding: 0 0 0 2px; }
|
|
.tracks li {
|
|
display: flex; gap: 12px; font-family: var(--mono); font-size: 0.74rem; color: var(--graphite);
|
|
padding: 3px 0; font-variant-numeric: tabular-nums;
|
|
}
|
|
.tracks li .tnum { color: var(--rule-2); min-width: 2em; }
|
|
.tracks li .tname { color: var(--ink); }
|
|
|
|
/* ── Phase 3: settings ────────────────────────────────── */
|
|
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 24px; margin: 16px 0 8px; align-items: end; }
|
|
.field.wide { grid-column: 1 / -1; }
|
|
.subhead {
|
|
font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
|
|
color: var(--graphite); margin: 26px 0 2px; display: flex; align-items: center; gap: 10px;
|
|
}
|
|
.field .set { color: var(--accent); }
|
|
.info-panel {
|
|
background: var(--paper-2); border: 1px solid var(--rule); padding: 15px 18px; margin: 14px 0 16px;
|
|
font-family: var(--mono); font-size: 0.78rem; line-height: 1.8; color: var(--ink);
|
|
}
|
|
.info-panel .k { color: var(--graphite); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.6rem; }
|
|
.info-panel code { color: var(--accent); }
|
|
.saved-note {
|
|
font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
|
|
}
|
|
.save-row { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
|
|
.edit-meta { display: flex; flex-direction: column; gap: 8px; width: 100%; }
|
|
.rmeta.why { font-style: italic; color: var(--graphite); margin-top: 2px; }
|
|
|
|
/* Discover unified row: artist block | compact album list (stacked) | actions.
|
|
Each album is a small horizontal item (cover + title/badge on one line) so two stack
|
|
vertically without making the row taller than the artist block. */
|
|
.disco-row { align-items: center; flex-wrap: wrap; gap: 14px 20px; }
|
|
.disco-row .main { flex: 1 1 200px; }
|
|
.disco-albums { display: flex; flex-direction: column; gap: 6px; flex: 0 1 300px; min-width: 220px; }
|
|
.disco-album { display: flex; align-items: center; gap: 8px; }
|
|
.disco-thumb { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
|
|
.disco-thumb .da-cover { width: 30px; height: 30px; flex-shrink: 0; }
|
|
.da-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
|
|
.disco-album .da-title { font-size: 12px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.disco-album .badge { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--graphite); }
|
|
.disco-album .btn.sm.want { padding: 1px 8px; flex-shrink: 0; }
|
|
.sel-tools { display: inline-flex; align-items: center; gap: 10px; }
|
|
.bulk-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 12px; padding: 8px 12px; border: 1px solid var(--rule); background: var(--paper-2); }
|
|
.album-card { position: relative; }
|
|
.album-card.selected { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
.sel-check { position: absolute; top: 6px; left: 6px; z-index: 1; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--paper); font-weight: 700; border: 1px solid var(--rule); }
|
|
.album-card:not(.selected) .sel-check { background: var(--paper-2); color: transparent; }
|
|
.settings-section { margin-bottom: 30px; }
|
|
.help { font-size: 0.8rem; color: var(--graphite); line-height: 1.5; margin: 4px 0 14px; max-width: 62ch; }
|
|
.help b { color: var(--ink); font-weight: 600; }
|
|
.help code { font-family: var(--mono); font-size: 0.85em; }
|
|
/* compact "?" trigger that opens help in a popup */
|
|
.help-btn {
|
|
font-family: var(--mono); font-size: 0.72rem; line-height: 1; width: 20px; height: 20px;
|
|
border: 1.5px solid var(--rule-2); border-radius: 50%; background: transparent; color: var(--graphite);
|
|
cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0;
|
|
}
|
|
.help-btn:hover { border-color: var(--accent); color: var(--accent); }
|
|
.help-body { font-size: 0.9rem; color: var(--ink); line-height: 1.6; }
|
|
.help-body b { font-weight: 600; }
|
|
.help-body code { font-family: var(--mono); font-size: 0.85em; }
|
|
.info-panel + .info-panel { margin-top: 14px; }
|
|
|
|
/* ── Modal ────────────────────────────────────────────── */
|
|
.modal-backdrop {
|
|
position: fixed; inset: 0; z-index: 100;
|
|
background: rgba(0, 0, 0, 0.55);
|
|
display: flex; align-items: flex-start; justify-content: center;
|
|
padding: 6vh 20px; overflow-y: auto;
|
|
animation: modal-fade 0.14s ease-out;
|
|
}
|
|
.modal-panel {
|
|
background: var(--paper-2); border: 1.5px solid var(--rule-2); width: 100%; max-width: 560px;
|
|
box-shadow: 0 24px 70px -24px rgba(0, 0, 0, 0.6); margin: auto 0;
|
|
animation: modal-rise 0.16s ease-out;
|
|
}
|
|
.modal-panel.wide { max-width: 780px; }
|
|
.modal-head {
|
|
display: flex; align-items: center; justify-content: space-between; gap: 16px;
|
|
padding: 15px 20px; border-bottom: 1px solid var(--rule);
|
|
}
|
|
.modal-title {
|
|
font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
|
|
color: var(--graphite); min-width: 0;
|
|
}
|
|
.modal-close {
|
|
background: transparent; border: 0; color: var(--graphite); cursor: pointer;
|
|
font-size: 0.95rem; line-height: 1; padding: 4px 6px;
|
|
}
|
|
.modal-close:hover { color: var(--ink); }
|
|
.modal-body { padding: 20px; }
|
|
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
|
|
@keyframes modal-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
|
|
@media (prefers-reduced-motion: reduce) { .modal-backdrop, .modal-panel { animation: none; } }
|
|
|
|
/* ── Cover art + album modal ──────────────────────────── */
|
|
.cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); border: 1px solid var(--rule); }
|
|
.cover-fallback { display: flex; align-items: center; justify-content: center; color: var(--rule-2); font-size: 2.2rem; }
|
|
.album-modal-head { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: start; }
|
|
.album-modal-cover { width: 170px; }
|
|
.album-modal-title { font-size: 1.7rem; line-height: 1.1; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
|
|
.album-modal-meta {
|
|
font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
|
|
color: var(--graphite); margin-top: 8px; display: flex; gap: 8px; align-items: center;
|
|
}
|
|
.album-modal-status { margin-top: 12px; }
|
|
.album-modal-actions { margin-top: 16px; }
|
|
.album-modal-tracks { margin-top: 22px; border-top: 1px solid var(--rule); padding-top: 10px; max-height: 42vh; overflow-y: auto; }
|
|
.tracks li .tname { color: var(--ink); flex: 1; }
|
|
@media (max-width: 560px) {
|
|
.album-modal-head { grid-template-columns: 1fr; }
|
|
.album-modal-cover { width: 150px; }
|
|
}
|
|
|
|
/* ── Tabs ─────────────────────────────────────────────── */
|
|
.tabs { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--rule); margin: 8px 0 18px; }
|
|
.tab {
|
|
font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
|
|
color: var(--graphite); background: transparent; border: 0; border-bottom: 2px solid transparent;
|
|
padding: 9px 12px; cursor: pointer; margin-bottom: -1px;
|
|
}
|
|
.tab:hover { color: var(--ink); }
|
|
.tab.active { color: var(--ink); border-bottom-color: var(--accent); }
|
|
.tab .n { color: var(--rule-2); margin-left: 6px; }
|
|
.tab.has-errors .n { color: var(--alert); }
|
|
|
|
/* ── Kebab menu (⋮ popup for press actions) ───────────── */
|
|
.dept.has-actions { align-items: center; }
|
|
.dept.has-actions .fill { transform: none; }
|
|
.menu { position: relative; display: inline-flex; }
|
|
.menu-trigger {
|
|
font-size: 1.15rem; line-height: 1; color: var(--graphite); background: transparent;
|
|
border: 1px solid var(--rule); border-radius: 6px; width: 32px; height: 30px; cursor: pointer;
|
|
display: inline-flex; align-items: center; justify-content: center;
|
|
}
|
|
.menu-trigger:hover { color: var(--ink); border-color: var(--rule-2); }
|
|
.menu-pop {
|
|
position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; min-width: 190px;
|
|
background: var(--paper-2); border: 1px solid var(--rule-2); border-radius: 9px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22); padding: 5px;
|
|
display: flex; flex-direction: column; gap: 1px;
|
|
}
|
|
.menu-item {
|
|
font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
|
|
text-align: left; background: transparent; border: 0; color: var(--ink);
|
|
padding: 10px 11px; border-radius: 6px; cursor: pointer; white-space: nowrap;
|
|
}
|
|
.menu-item:hover { background: var(--rule); }
|
|
.menu-item:disabled { color: var(--rule-2); cursor: default; background: transparent; }
|
|
.menu-item.danger { color: var(--alert); }
|
|
|
|
/* ── Discography row (cover thumb + click-to-modal) ───── */
|
|
.disco-open {
|
|
display: flex; gap: 14px; align-items: center; background: transparent; border: 0; padding: 0;
|
|
cursor: pointer; text-align: left; color: inherit; min-width: 0;
|
|
}
|
|
.thumb { width: 46px; height: 46px; flex-shrink: 0; }
|
|
.disco-open .rtitle { display: block; }
|
|
.disco-open:hover .rtitle { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
|
|
|
|
/* ── Album grid (Library) ─────────────────────────────── */
|
|
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 18px; margin: 8px 0 48px; }
|
|
.album-card { background: transparent; border: 0; padding: 0; cursor: pointer; text-align: left; color: inherit; }
|
|
.album-card .cover { margin-bottom: 9px; }
|
|
.album-card:hover .ac-title { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
|
|
.ac-title { font-size: 0.98rem; line-height: 1.25; }
|
|
.ac-artist { color: var(--graphite); font-size: 0.86rem; margin-top: 1px; }
|
|
.ac-meta { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); margin-top: 5px; }
|
|
|
|
/* ── Link-styled button + artist modal ────────────────── */
|
|
.linkish { background: transparent; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; text-align: left; }
|
|
.linkish:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
|
|
.artist-modal-head { margin-bottom: 18px; }
|
|
.artist-modal-actions { margin-top: 10px; align-items: center; }
|
|
.artist-modal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 20px 14px; max-height: 56vh; overflow-y: auto; padding-top: 4px; }
|
|
.am-rel .cover { margin-bottom: 7px; }
|
|
.am-rel .ac-title { font-size: 0.9rem; }
|
|
.am-rel-action { margin-top: 7px; }
|
|
|
|
/* ── Toasts ───────────────────────────────────────────── */
|
|
.toast-host { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
|
|
.toast {
|
|
background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 0.7rem;
|
|
letter-spacing: 0.1em; text-transform: uppercase; padding: 11px 18px;
|
|
box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.6); animation: toast-in 0.18s ease-out;
|
|
}
|
|
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
|
|
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }
|
|
|
|
/* ── Worker status (live) ─────────────────────────────── */
|
|
.worker-status.off { color: var(--graphite); }
|
|
.worker-status.off .live-dot { background: var(--graphite); animation: none; }
|
|
|
|
/* ── Recently-pressed thumbnail ───────────────────────── */
|
|
.pressed li { align-items: center; }
|
|
.pressed-thumb { width: 30px; height: 30px; flex-shrink: 0; }
|