- Spotify playlist, library, album and artist browsing with in-app playback - Song, playlist and album downloads via spotdl with YouTube and Bandcamp fallbacks - Electron desktop app (castLabs Widevine) with a permanent sidebar layout - Linux and Windows packaging scripts
197 lines
3.6 KiB
CSS
197 lines
3.6 KiB
CSS
.page {
|
|
min-height: 100vh;
|
|
padding: 0 28px 50px;
|
|
color: var(--foreground);
|
|
background: var(--background);
|
|
font-family: var(--font-family-base);
|
|
}
|
|
|
|
.topbar,
|
|
.heading,
|
|
.notice,
|
|
.panel {
|
|
width: min(1100px, 100%);
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.topbar {
|
|
min-height: 82px;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.topbar img {
|
|
width: 240px;
|
|
max-height: 60px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.topbar > span {
|
|
justify-self: end;
|
|
color: var(--muted-foreground);
|
|
font: .68rem/1 var(--font-family-monospace);
|
|
}
|
|
|
|
.backLink {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
width: fit-content;
|
|
color: var(--muted-foreground);
|
|
text-decoration: none;
|
|
font-size: .78rem;
|
|
}
|
|
|
|
.heading {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 28px 0 20px;
|
|
}
|
|
|
|
.heading > div:first-child > span {
|
|
color: #687582;
|
|
font: 500 .62rem/1 var(--font-family-monospace);
|
|
letter-spacing: .12em;
|
|
}
|
|
|
|
.heading h1 {
|
|
margin: 7px 0 6px;
|
|
font: 600 2.3rem/1 var(--font-family-display);
|
|
}
|
|
|
|
.heading p {
|
|
margin: 0;
|
|
color: var(--muted-foreground);
|
|
font-size: .8rem;
|
|
}
|
|
|
|
.controls,
|
|
.bitrate {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.bitrate {
|
|
color: #75818e;
|
|
}
|
|
|
|
.bitrate > div {
|
|
width: 120px;
|
|
}
|
|
|
|
.notice {
|
|
margin-bottom: 12px;
|
|
padding: 9px 11px;
|
|
color: #9bcdd2;
|
|
background: #121a1d;
|
|
border: 1px solid #2f3a42;
|
|
font-size: .72rem;
|
|
}
|
|
|
|
.panel {
|
|
padding: 18px;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.toolbar {
|
|
min-height: 58px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.toolbar > span {
|
|
color: #78838f;
|
|
font-size: .7rem;
|
|
}
|
|
|
|
.list {
|
|
margin: 0 -18px -18px;
|
|
}
|
|
|
|
.row {
|
|
min-height: 60px;
|
|
display: grid;
|
|
grid-template-columns: 44px 1fr minmax(180px, .5fr);
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 0 18px;
|
|
border-bottom: 1px solid #242831;
|
|
}
|
|
|
|
.row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.index {
|
|
color: #5f6b78;
|
|
font: .68rem/1 var(--font-family-monospace);
|
|
}
|
|
|
|
.row strong,
|
|
.row span {
|
|
display: block;
|
|
}
|
|
|
|
.row strong {
|
|
font-size: .78rem;
|
|
}
|
|
|
|
.row div > span {
|
|
margin-top: 3px;
|
|
color: #697480;
|
|
font-size: .64rem;
|
|
}
|
|
|
|
.state {
|
|
overflow: hidden;
|
|
color: #76818d;
|
|
text-align: right;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: .68rem;
|
|
}
|
|
|
|
.state svg {
|
|
display: inline;
|
|
vertical-align: -2px;
|
|
color: var(--success);
|
|
}
|
|
|
|
.empty {
|
|
padding: 34px 18px;
|
|
color: #697480;
|
|
text-align: center;
|
|
font-size: .72rem;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.page { padding: 0 10px 84px; }
|
|
.topbar { position: sticky; top: 0; z-index: 20; min-height: 58px; grid-template-columns: auto 1fr; background: rgba(11,12,16,.97); }
|
|
.topbar img { width: 132px; justify-self: end; }
|
|
.topbar > span { display: none; }
|
|
.backLink { font-size: 0; }
|
|
.backLink svg { width: 20px; height: 20px; }
|
|
.heading { align-items: stretch; flex-direction: column; gap: 12px; padding: 18px 2px 14px; }
|
|
.heading h1 { font-size: 1.75rem; }
|
|
.heading p { font-size: .75rem; line-height: 1.5; }
|
|
.controls { display: grid; grid-template-columns: 1fr; align-items: stretch; gap: 8px; }
|
|
.bitrate { justify-content: space-between; }
|
|
.bitrate > div { width: 145px; }
|
|
.controls button { width: 100%; }
|
|
.panel { padding: 10px; border-left: 0; border-right: 0; }
|
|
.toolbar { align-items: stretch; flex-direction: column; padding: 10px 0; }
|
|
.toolbar button { width: 100%; }
|
|
.list { margin: 0 -10px -10px; }
|
|
.row { grid-template-columns: 1fr; gap: 5px; padding: 10px; }
|
|
.index { display: none; }
|
|
.state { text-align: left; }
|
|
} |