- 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
190 lines
3.0 KiB
CSS
190 lines
3.0 KiB
CSS
.page {
|
|
min-height: 100vh;
|
|
padding: 0 28px 50px;
|
|
color: var(--foreground);
|
|
background: var(--background);
|
|
font-family: var(--font-family-base);
|
|
}
|
|
|
|
.topbar,
|
|
.heading,
|
|
.panel {
|
|
width: min(900px, 100%);
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.topbar {
|
|
min-height: 82px;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: center;
|
|
gap: 20px;
|
|
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: center;
|
|
gap: 12px;
|
|
padding: 28px 0 20px;
|
|
}
|
|
|
|
.heading > svg {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.heading h1 {
|
|
margin: 0;
|
|
font: 600 1.8rem/1 var(--font-family-display);
|
|
}
|
|
|
|
.heading p {
|
|
margin: 5px 0 0;
|
|
color: var(--muted-foreground);
|
|
font-size: .78rem;
|
|
}
|
|
|
|
.panel {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.row,
|
|
.checkRow {
|
|
display: grid;
|
|
align-items: start;
|
|
gap: 12px;
|
|
padding: 18px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.row {
|
|
grid-template-columns: 22px 1fr;
|
|
}
|
|
|
|
.row > svg,
|
|
.checkRow > svg {
|
|
margin-top: 3px;
|
|
color: #7d8996;
|
|
}
|
|
|
|
.rowContent label {
|
|
display: block;
|
|
margin-bottom: 7px;
|
|
font-size: .76rem;
|
|
}
|
|
|
|
.rowContent small {
|
|
display: block;
|
|
margin-top: 7px;
|
|
color: #68727d;
|
|
font: .63rem/1.4 var(--font-family-monospace);
|
|
}
|
|
|
|
.checkRow {
|
|
grid-template-columns: 22px 20px 1fr;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.checkRow strong,
|
|
.checkRow span {
|
|
display: block;
|
|
}
|
|
|
|
.checkRow strong {
|
|
font-size: .78rem;
|
|
}
|
|
|
|
.checkRow span {
|
|
margin-top: 4px;
|
|
color: var(--muted-foreground);
|
|
font-size: .7rem;
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 14px 18px;
|
|
}
|
|
|
|
.footer span {
|
|
color: #717c88;
|
|
font-size: .7rem;
|
|
}
|
|
|
|
@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 { padding: 18px 2px 14px; }
|
|
.heading h1 { font-size: 1.55rem; }
|
|
.heading p { font-size: .72rem; }
|
|
.panel { border-left: 0; border-right: 0; }
|
|
.row,
|
|
.checkRow { padding: 14px 10px; gap: 9px; }
|
|
.row { grid-template-columns: 18px 1fr; }
|
|
.checkRow { grid-template-columns: 22px 18px 1fr; }
|
|
.rowContent small { font-size: .58rem; }
|
|
.footer {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
padding: 12px 10px;
|
|
}
|
|
|
|
.footer button { width: 100%; }
|
|
}
|
|
.folderRow {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.folderRow > :first-child {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|