5275 lines
106 KiB
HTML
5275 lines
106 KiB
HTML
<style>
|
|
:root {
|
|
--bg-primary: #121212;
|
|
--bg-secondary: #181818;
|
|
--bg-elevated: #232323;
|
|
--bg-hover: #2a2a2a;
|
|
--bg-active: #333;
|
|
--text-primary: #fff;
|
|
--text-secondary: #b3b3b3;
|
|
--text-subdued: #6a6a6a;
|
|
--accent: #1db954;
|
|
--accent-hover: #1ed760;
|
|
--player-height: 80px;
|
|
--sidebar-width: 240px;
|
|
--queue-width: 300px;
|
|
--border-color: #282828;
|
|
--safe-bottom: env(safe-area-inset-bottom, 0px);
|
|
--player-bar-space: calc(var(--player-height) + var(--safe-bottom));
|
|
}
|
|
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
[x-cloak] { display: none !important; }
|
|
|
|
html, body {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Layout */
|
|
.app-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
height: 100dvh;
|
|
min-height: 0;
|
|
}
|
|
|
|
.main-content {
|
|
display: flex;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Left Sidebar */
|
|
.sidebar-left {
|
|
width: var(--sidebar-width);
|
|
min-width: var(--sidebar-width);
|
|
background: var(--bg-secondary);
|
|
border-right: 1px solid var(--border-color);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.user-widget {
|
|
padding: 14px 12px 12px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.user-widget-main {
|
|
display: grid;
|
|
grid-template-columns: 36px minmax(0, 1fr) 32px;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.user-avatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
color: #000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 800;
|
|
font-size: 15px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.user-name {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.user-role {
|
|
margin-top: 2px;
|
|
font-size: 11px;
|
|
color: var(--text-subdued);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.user-logout-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--text-subdued);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.user-logout-btn:hover {
|
|
background: var(--bg-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.user-logout-btn svg { width: 17px; height: 17px; }
|
|
|
|
.user-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 6px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.user-stat {
|
|
min-width: 0;
|
|
padding: 7px 6px;
|
|
border-radius: 6px;
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
button.user-stat {
|
|
border: 0;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
button.user-stat:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.user-stat-value {
|
|
display: block;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.user-stat-label {
|
|
display: block;
|
|
margin-top: 2px;
|
|
font-size: 10px;
|
|
color: var(--text-subdued);
|
|
}
|
|
|
|
.lastfm-profile-action {
|
|
width: 100%;
|
|
min-height: 34px;
|
|
margin-top: 8px;
|
|
padding: 7px 9px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
background: var(--bg-primary);
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
text-align: left;
|
|
transition: background 0.15s, border-color 0.15s, color 0.15s;
|
|
}
|
|
|
|
.lastfm-profile-action:not(:disabled):hover {
|
|
background: var(--bg-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.lastfm-profile-action:disabled {
|
|
cursor: default;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.lastfm-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--text-subdued);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.lastfm-profile-action.connected {
|
|
border-color: rgba(29, 185, 84, 0.32);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.lastfm-profile-action.connected .lastfm-dot {
|
|
background: #1db954;
|
|
}
|
|
|
|
.lastfm-profile-action.available .lastfm-dot,
|
|
.lastfm-profile-action.needs-auth .lastfm-dot {
|
|
background: var(--accent);
|
|
}
|
|
|
|
.lastfm-profile-action.needs-auth {
|
|
border-color: rgba(255, 184, 77, 0.4);
|
|
}
|
|
|
|
.lastfm-profile-text {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
overflow: hidden;
|
|
font-size: 11px;
|
|
font-weight: 650;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.lastfm-profile-brand {
|
|
flex: 0 0 auto;
|
|
color: var(--text-primary);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.lastfm-profile-separator {
|
|
flex: 0 0 auto;
|
|
color: var(--text-subdued);
|
|
}
|
|
|
|
.lastfm-profile-status {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sidebar-header {
|
|
padding: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.sidebar-header h2 {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.sidebar-nav {
|
|
padding: 8px;
|
|
}
|
|
|
|
.sidebar-nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
color: var(--text-secondary);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.sidebar-nav-item:hover { background: var(--bg-hover); color: var(--text-primary); }
|
|
.sidebar-nav-item.active { background: var(--bg-active); color: var(--text-primary); }
|
|
|
|
.sidebar-nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
|
|
|
|
.sidebar-section {
|
|
padding: 8px;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.sidebar-section-title {
|
|
padding: 6px 12px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-subdued);
|
|
}
|
|
|
|
.following-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
max-height: 220px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.following-artist {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 7px 12px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
color: var(--text-secondary);
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.following-artist:hover,
|
|
.following-artist.active {
|
|
background: var(--bg-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.following-avatar {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: var(--bg-elevated);
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.following-avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.following-avatar svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
color: var(--text-subdued);
|
|
}
|
|
|
|
.following-name {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.following-empty {
|
|
padding: 8px 12px;
|
|
color: var(--text-subdued);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.playlist-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 8px;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.playlist-item {
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.playlist-item:hover { background: var(--bg-hover); color: var(--text-primary); }
|
|
|
|
.playlist-count {
|
|
font-size: 11px;
|
|
color: var(--text-subdued);
|
|
}
|
|
|
|
.playlist-public-section {
|
|
margin-top: 10px;
|
|
padding-top: 10px;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.playlist-subtitle {
|
|
padding-top: 2px;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.playlist-title-line,
|
|
.playlist-meta-line {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.playlist-title-text {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.playlist-item-public {
|
|
white-space: normal;
|
|
}
|
|
|
|
.playlist-meta-line {
|
|
margin-top: 2px;
|
|
font-size: 11px;
|
|
color: var(--text-subdued);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.playlist-owner {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.playlist-public-badge {
|
|
flex-shrink: 0;
|
|
padding: 1px 5px;
|
|
border-radius: 999px;
|
|
background: rgba(52, 211, 153, 0.12);
|
|
color: #6ee7b7;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.sidebar-bottom {
|
|
padding: 12px 16px;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.sidebar-bottom a {
|
|
color: var(--text-subdued);
|
|
text-decoration: none;
|
|
font-size: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.sidebar-bottom a:hover { color: var(--text-secondary); }
|
|
|
|
/* Center Content */
|
|
.center-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow-y: auto;
|
|
padding: 24px;
|
|
background: var(--bg-primary);
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.center-content::-webkit-scrollbar { width: 8px; }
|
|
.center-content::-webkit-scrollbar-track { background: transparent; }
|
|
.center-content::-webkit-scrollbar-thumb { background: var(--bg-active); border-radius: 4px; }
|
|
|
|
.section-title {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.playlist-detail-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: -12px 0 18px;
|
|
color: var(--text-subdued);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.breadcrumb {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
font-size: 13px;
|
|
color: var(--text-subdued);
|
|
}
|
|
|
|
.breadcrumb a {
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.breadcrumb a:hover { color: var(--text-primary); text-decoration: underline; }
|
|
|
|
/* Artist / Release Grid */
|
|
.card-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.artist-grid-entry {
|
|
display: contents;
|
|
}
|
|
|
|
.artist-section-divider {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-height: 28px;
|
|
margin: 2px 0 -2px;
|
|
color: var(--text-subdued);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.artist-section-divider::before,
|
|
.artist-section-divider::after {
|
|
content: "";
|
|
flex: 1;
|
|
height: 1px;
|
|
background: var(--border-color);
|
|
}
|
|
|
|
.card {
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
padding: 14px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.card:hover { background: var(--bg-elevated); }
|
|
|
|
.card-img {
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
border-radius: 6px;
|
|
background: var(--bg-elevated);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
margin-bottom: 12px;
|
|
position: relative;
|
|
}
|
|
|
|
.card-img img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.card-img .placeholder-icon {
|
|
color: var(--text-subdued);
|
|
}
|
|
|
|
.card-img .placeholder-icon svg { width: 48px; height: 48px; }
|
|
|
|
.card-play-btn {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
right: 8px;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transform: translateY(8px);
|
|
transition: opacity 0.2s, transform 0.2s;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
.card:hover .card-play-btn { opacity: 1; transform: translateY(0); }
|
|
.card-play-btn:hover { background: var(--accent-hover); transform: scale(1.05); }
|
|
.card-play-btn svg { width: 18px; height: 18px; fill: #000; }
|
|
|
|
.card-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.card-subtitle {
|
|
font-size: 12px;
|
|
color: var(--text-subdued);
|
|
line-height: 1.35;
|
|
}
|
|
|
|
/* Artist detail header */
|
|
.artist-header {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 24px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.artist-header .artist-img {
|
|
width: 200px;
|
|
height: 200px;
|
|
border-radius: 50%;
|
|
background: var(--bg-elevated);
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.artist-header .artist-img img { width: 100%; height: 100%; object-fit: cover; }
|
|
.artist-header .artist-img svg { width: 80px; height: 80px; color: var(--text-subdued); }
|
|
|
|
.artist-header .artist-name { font-size: 48px; font-weight: 900; line-height: 1.1; }
|
|
.artist-stats {
|
|
color: var(--text-subdued);
|
|
margin-top: 8px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
font-size: 14px;
|
|
}
|
|
.artist-release-group { margin-top: 28px; }
|
|
.artist-release-group:first-of-type { margin-top: 0; }
|
|
.artist-release-group-title {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
margin-bottom: 14px;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
/* Release detail header */
|
|
.release-header {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 24px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.release-header .release-cover {
|
|
width: 200px;
|
|
height: 200px;
|
|
border-radius: 8px;
|
|
background: var(--bg-elevated);
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 8px 24px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
.release-header .release-cover img { width: 100%; height: 100%; object-fit: cover; }
|
|
.release-header .release-cover svg { width: 80px; height: 80px; color: var(--text-subdued); }
|
|
|
|
.release-meta .release-type { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); }
|
|
.release-meta .release-title { font-size: 36px; font-weight: 900; line-height: 1.2; margin: 4px 0; }
|
|
.release-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.release-title-row .release-title {
|
|
min-width: 0;
|
|
}
|
|
|
|
.release-title-like {
|
|
flex: 0 0 auto;
|
|
margin-top: 4px;
|
|
}
|
|
.release-meta .release-artists { font-size: 14px; color: var(--text-secondary); }
|
|
|
|
.artist-link {
|
|
color: inherit;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.artist-link:hover {
|
|
color: var(--text-primary);
|
|
text-decoration: underline;
|
|
}
|
|
.release-meta .release-year { font-size: 14px; color: var(--text-subdued); margin-top: 4px; }
|
|
|
|
/* Track list table */
|
|
.track-list { width: 100%; border-collapse: collapse; }
|
|
|
|
.track-list-header {
|
|
display: grid;
|
|
grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr) 154px 60px;
|
|
padding: 8px 16px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
color: var(--text-subdued);
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.track-row {
|
|
display: grid;
|
|
grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr) 154px 60px;
|
|
padding: 8px 16px;
|
|
border-radius: 4px;
|
|
cursor: default;
|
|
align-items: center;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.track-row:hover { background: var(--bg-hover); }
|
|
.track-row.playing { color: var(--accent); }
|
|
.track-row.playing .track-num { color: var(--accent); }
|
|
|
|
.track-num {
|
|
font-size: 14px;
|
|
color: var(--text-subdued);
|
|
text-align: center;
|
|
}
|
|
|
|
.track-info .track-title { font-size: 14px; font-weight: 500; }
|
|
.track-info {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
.track-info .track-title,
|
|
.track-info .track-artists-inline,
|
|
.track-album {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.track-info .track-artists-inline {
|
|
font-size: 12px;
|
|
color: var(--text-subdued);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.artist-appearance-row .track-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.artist-appearance-cover {
|
|
width: 42px;
|
|
height: 42px;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
background: var(--bg-elevated);
|
|
color: var(--text-subdued);
|
|
cursor: pointer;
|
|
flex: 0 0 42px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.artist-appearance-cover img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.artist-appearance-cover svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
.artist-appearance-cover:hover {
|
|
filter: brightness(1.14);
|
|
}
|
|
|
|
.artist-appearance-copy {
|
|
min-width: 0;
|
|
}
|
|
|
|
.track-album { font-size: 13px; color: var(--text-subdued); }
|
|
.track-duration { font-size: 13px; color: var(--text-subdued); text-align: right; pointer-events: none; }
|
|
|
|
/* Track action buttons */
|
|
.track-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 2px;
|
|
opacity: 1;
|
|
min-width: 0;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.track-action-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-subdued);
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: color 0.15s, background 0.15s;
|
|
}
|
|
|
|
.track-actions .track-action-btn,
|
|
.track-actions .like-btn {
|
|
width: 28px;
|
|
height: 28px;
|
|
flex: 0 0 28px;
|
|
}
|
|
|
|
.track-actions .popularity-info-btn {
|
|
width: auto;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.track-action-btn:hover { color: var(--text-primary); background: var(--bg-active); }
|
|
.track-action-btn.play-btn:hover { color: var(--accent); }
|
|
.track-action-btn svg { width: 16px; height: 16px; }
|
|
.track-action-btn.queue-insert-btn svg { width: 17px; height: 17px; }
|
|
|
|
.info-btn {
|
|
color: var(--text-subdued);
|
|
}
|
|
|
|
.info-btn:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.popularity-info-btn {
|
|
min-width: 26px;
|
|
height: 20px;
|
|
padding: 0 3px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
letter-spacing: 0;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.popularity-info-btn.has-popularity {
|
|
color: var(--popularity-fg, var(--text-primary));
|
|
background: transparent;
|
|
}
|
|
|
|
.popularity-info-btn.has-popularity:hover {
|
|
color: var(--popularity-fg, var(--text-primary));
|
|
background: transparent;
|
|
}
|
|
|
|
.popularity-info-btn.no-popularity {
|
|
min-width: 18px;
|
|
width: 18px;
|
|
padding: 0;
|
|
}
|
|
|
|
.popularity-info-btn .info-letter {
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
font-style: normal;
|
|
line-height: 1;
|
|
}
|
|
|
|
.card-info-btn {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--border-color);
|
|
background: rgba(18,18,18,0.78);
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: opacity 0.2s, background 0.15s;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.35);
|
|
}
|
|
|
|
.card:hover .card-info-btn,
|
|
.search-release-card:hover .card-info-btn {
|
|
opacity: 1;
|
|
}
|
|
|
|
.card-info-btn:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.card-info-btn svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
/* Card enqueue button (next to play button on release cards) */
|
|
.card-enqueue-btn {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
right: 56px;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
background: var(--bg-elevated);
|
|
border: 1px solid var(--border-color);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transform: translateY(8px);
|
|
transition: opacity 0.2s, transform 0.2s;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.card:hover .card-enqueue-btn { opacity: 1; transform: translateY(0); }
|
|
.card-enqueue-btn:hover { background: var(--bg-hover); border-color: var(--text-subdued); }
|
|
.card-enqueue-btn svg { width: 14px; height: 14px; color: var(--text-primary); }
|
|
|
|
/* Release header action buttons */
|
|
.release-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.release-action-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 16px;
|
|
border-radius: 20px;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
transition: transform 0.1s, filter 0.15s;
|
|
}
|
|
|
|
.release-action-btn:hover { filter: brightness(1.1); }
|
|
.release-action-btn:active { transform: scale(0.97); }
|
|
.release-action-btn svg { width: 16px; height: 16px; }
|
|
|
|
.release-action-btn.primary {
|
|
background: var(--accent);
|
|
color: #000;
|
|
}
|
|
|
|
.release-action-btn:disabled {
|
|
opacity: 0.45;
|
|
cursor: default;
|
|
filter: grayscale(0.4);
|
|
}
|
|
|
|
.release-action-btn.secondary {
|
|
background: var(--bg-active);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.release-action-btn.followed {
|
|
background: var(--accent);
|
|
color: #000;
|
|
}
|
|
|
|
.artist-actions {
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.artist-listen-action {
|
|
min-width: 112px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.artist-follow-action,
|
|
.artist-follow-action.followed {
|
|
background: var(--bg-active);
|
|
color: var(--text-secondary);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.artist-follow-action:hover,
|
|
.artist-follow-action.followed:hover {
|
|
color: var(--text-primary);
|
|
border-color: var(--text-subdued);
|
|
}
|
|
|
|
.artist-follow-card-btn {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
right: 8px;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background: var(--bg-elevated);
|
|
border: 0;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transform: translateY(8px);
|
|
transition: opacity 0.2s, transform 0.2s, background 0.15s, color 0.15s;
|
|
box-shadow: none;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.card:hover .artist-follow-card-btn,
|
|
.search-artist-card:hover .artist-follow-card-btn,
|
|
.artist-follow-card-btn.followed {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.artist-follow-card-btn.followed {
|
|
background: var(--accent);
|
|
color: #000;
|
|
}
|
|
|
|
.artist-follow-card-btn svg {
|
|
width: 17px;
|
|
height: 17px;
|
|
}
|
|
|
|
/* Queue Panel */
|
|
.queue-panel {
|
|
width: var(--queue-width);
|
|
min-width: var(--queue-width);
|
|
background: var(--bg-secondary);
|
|
border-left: 1px solid var(--border-color);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.queue-panel.hidden { display: none; }
|
|
|
|
.queue-backdrop {
|
|
display: none;
|
|
}
|
|
|
|
.queue-header {
|
|
padding: 16px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.queue-header h3 { font-size: 14px; font-weight: 600; }
|
|
|
|
.queue-clear-btn {
|
|
background: rgba(229, 96, 96, 0.13);
|
|
border: 1px solid rgba(229, 96, 96, 0.18);
|
|
color: #ffb9b9;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
padding: 5px 10px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.queue-clear-btn:hover {
|
|
color: #ffd7d7;
|
|
background: rgba(229, 96, 96, 0.22);
|
|
border-color: rgba(229, 96, 96, 0.32);
|
|
}
|
|
|
|
.queue-tracks {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 8px;
|
|
}
|
|
|
|
.queue-track {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.queue-track:hover { background: var(--bg-hover); }
|
|
.queue-track.active { background: var(--bg-active); }
|
|
.queue-track.foreign-jam-track {
|
|
background: linear-gradient(90deg, var(--jam-contributor-bg, rgba(82,145,255,0.12)), transparent 78%);
|
|
}
|
|
.queue-track.foreign-jam-track:hover {
|
|
background: linear-gradient(90deg, var(--jam-contributor-bg-active, rgba(82,145,255,0.18)), rgba(255,255,255,0.02) 78%);
|
|
}
|
|
.queue-track.foreign-jam-track.active {
|
|
background: linear-gradient(90deg, var(--jam-contributor-bg-active, rgba(82,145,255,0.2)), var(--bg-active) 82%);
|
|
}
|
|
|
|
.queue-track-cover {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 4px;
|
|
background: var(--bg-elevated);
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.queue-track-cover img { width: 100%; height: 100%; object-fit: cover; }
|
|
.queue-track-cover svg { width: 20px; height: 20px; color: var(--text-subdued); }
|
|
|
|
.queue-track-info { overflow: hidden; flex: 1; }
|
|
.queue-track-title {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.queue-track.active .queue-track-title { color: var(--accent); }
|
|
|
|
.queue-track-artist {
|
|
font-size: 11px;
|
|
color: var(--text-subdued);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.queue-track-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
opacity: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.queue-track-remove {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-subdued);
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: color 0.15s, background 0.15s;
|
|
}
|
|
|
|
.queue-track-remove:hover { color: var(--text-primary); background: var(--bg-hover); }
|
|
|
|
.queue-track-remove.popularity-info-btn {
|
|
min-width: 26px;
|
|
width: auto;
|
|
height: 20px;
|
|
padding: 0 3px;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.queue-track-remove.popularity-info-btn.no-popularity {
|
|
min-width: 18px;
|
|
width: 18px;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Drag handle */
|
|
.queue-drag-handle {
|
|
cursor: grab;
|
|
color: var(--text-subdued);
|
|
padding: 4px 2px;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
opacity: 1;
|
|
touch-action: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.queue-drag-handle:active { cursor: grabbing; }
|
|
.queue-drag-handle svg { width: 14px; height: 14px; }
|
|
|
|
/* Drag states */
|
|
.queue-track.dragging { opacity: 0.4; }
|
|
.queue-track.drag-over { border-top: 2px solid var(--accent); margin-top: -2px; }
|
|
|
|
/* Player Bar */
|
|
.player-bar {
|
|
height: var(--player-bar-space);
|
|
background: var(--bg-secondary);
|
|
border-top: 1px solid var(--border-color);
|
|
display: grid;
|
|
grid-template-columns: 1fr 2fr 1fr;
|
|
align-items: center;
|
|
padding: 0 16px var(--safe-bottom);
|
|
z-index: 10;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.player-now-playing {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
}
|
|
|
|
.player-now-playing > div { min-width: 0; }
|
|
|
|
.player-cover {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 4px;
|
|
background: var(--bg-elevated);
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.player-cover img { width: 100%; height: 100%; object-fit: cover; }
|
|
.player-cover svg { width: 24px; height: 24px; color: var(--text-subdued); }
|
|
|
|
.player-track-info {
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
}
|
|
|
|
.player-track-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.player-track-title {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
min-width: 0;
|
|
}
|
|
|
|
.player-current-like {
|
|
width: 24px;
|
|
height: 24px;
|
|
padding: 4px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.player-track-artist {
|
|
font-size: 11px;
|
|
color: var(--text-subdued);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.player-track-release {
|
|
margin-top: 2px;
|
|
font-size: 11px;
|
|
color: var(--text-subdued);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.player-track-release .artist-link {
|
|
color: var(--text-subdued);
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: inherit;
|
|
}
|
|
|
|
.player-track-release .artist-link:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.player-controls {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.player-buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.player-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: color 0.15s, transform 0.1s;
|
|
}
|
|
|
|
.player-btn:hover { color: var(--text-primary); }
|
|
.player-btn:active { transform: scale(0.95); }
|
|
.player-btn svg { width: 18px; height: 18px; }
|
|
|
|
.player-btn.active { color: var(--accent); }
|
|
|
|
.player-btn-play {
|
|
width: 32px;
|
|
height: 32px;
|
|
background: var(--text-primary);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.player-btn-play svg { width: 16px; height: 16px; fill: #000; color: #000; }
|
|
.player-btn-play:hover { transform: scale(1.06); background: #fff; }
|
|
|
|
.player-timeline {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
max-width: 600px;
|
|
}
|
|
|
|
.player-time { font-size: 11px; color: var(--text-subdued); min-width: 40px; text-align: center; }
|
|
|
|
.player-progress-strip-times {
|
|
display: none;
|
|
}
|
|
|
|
.progress-bar {
|
|
flex: 1;
|
|
height: 4px;
|
|
background: var(--bg-active);
|
|
border-radius: 2px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.progress-bar:hover { height: 6px; }
|
|
|
|
.progress-bar-fill {
|
|
height: 100%;
|
|
background: var(--text-primary);
|
|
border-radius: 2px;
|
|
position: relative;
|
|
transition: width 0.1s linear;
|
|
}
|
|
|
|
.progress-bar:hover .progress-bar-fill { background: var(--accent); }
|
|
|
|
.progress-bar-thumb {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: var(--text-primary);
|
|
position: absolute;
|
|
right: -6px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
opacity: 0;
|
|
transition: opacity 0.15s;
|
|
}
|
|
|
|
.progress-bar:hover .progress-bar-thumb { opacity: 1; }
|
|
|
|
.player-right {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.volume-control {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.volume-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.volume-btn:hover { color: var(--text-primary); }
|
|
.volume-btn svg { width: 18px; height: 18px; }
|
|
|
|
.volume-slider {
|
|
width: 104px;
|
|
height: 28px;
|
|
background: transparent;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
touch-action: none;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.volume-slider::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 50%;
|
|
height: 4px;
|
|
border-radius: 2px;
|
|
background: var(--bg-active);
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.volume-slider-fill {
|
|
height: 4px;
|
|
background: var(--text-primary);
|
|
border-radius: 2px;
|
|
position: relative;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.volume-slider:hover .volume-slider-fill { background: var(--accent); }
|
|
|
|
.volume-slider-thumb {
|
|
position: absolute;
|
|
right: -6px;
|
|
top: 50%;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: var(--text-primary);
|
|
transform: translateY(-50%);
|
|
opacity: 0;
|
|
transition: opacity 0.15s;
|
|
}
|
|
|
|
.volume-slider:hover .volume-slider-thumb,
|
|
.volume-slider:active .volume-slider-thumb {
|
|
opacity: 1;
|
|
}
|
|
|
|
.queue-toggle-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-subdued);
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.queue-toggle-btn:hover { color: var(--text-primary); }
|
|
.queue-toggle-btn.active { color: var(--accent); }
|
|
.queue-toggle-btn svg { width: 18px; height: 18px; }
|
|
|
|
.device-toggle-btn {
|
|
position: relative;
|
|
}
|
|
|
|
.jam-member-squares {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 2px;
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 4px);
|
|
gap: 1px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.jam-member-square {
|
|
width: 4px;
|
|
height: 4px;
|
|
border-radius: 1px;
|
|
background: var(--jam-contributor-color, var(--accent));
|
|
box-shadow: 0 0 0 1px rgba(0,0,0,0.32);
|
|
}
|
|
|
|
.device-picker {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.device-toggle-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.remote-playback-hint {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 38px;
|
|
width: max-content;
|
|
max-width: min(280px, calc(100vw - 24px));
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-elevated);
|
|
color: var(--text-primary);
|
|
box-shadow: 0 14px 34px rgba(0,0,0,0.46);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
overflow: hidden;
|
|
padding: 10px 12px 12px;
|
|
text-align: left;
|
|
z-index: 44;
|
|
}
|
|
|
|
.remote-playback-hint-text {
|
|
display: block;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 13px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.remote-playback-hint-progress {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 2px;
|
|
background: var(--accent);
|
|
transform-origin: left center;
|
|
animation: remote-playback-hint-progress 60s linear forwards;
|
|
}
|
|
|
|
@keyframes remote-playback-hint-progress {
|
|
from { transform: scaleX(1); }
|
|
to { transform: scaleX(0); }
|
|
}
|
|
|
|
.device-popover {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 38px;
|
|
width: 260px;
|
|
max-width: calc(100vw - 24px);
|
|
max-height: min(320px, calc(100dvh - var(--player-bar-space) - 24px));
|
|
overflow-y: auto;
|
|
padding: 6px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-elevated);
|
|
box-shadow: 0 16px 46px rgba(0,0,0,0.48);
|
|
z-index: 45;
|
|
}
|
|
|
|
.device-row {
|
|
width: 100%;
|
|
min-height: 44px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
display: grid;
|
|
grid-template-columns: 28px minmax(0, 1fr) 22px;
|
|
align-items: center;
|
|
gap: 9px;
|
|
padding: 7px 8px;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.device-row:hover,
|
|
.device-row.active {
|
|
background: var(--bg-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.device-row.current-device {
|
|
background: rgba(255,255,255,0.035);
|
|
}
|
|
|
|
.device-row.current-device:hover {
|
|
background: rgba(255,255,255,0.055);
|
|
}
|
|
|
|
.device-row.active {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.device-row-icon,
|
|
.device-row-check {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.device-row-icon svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.device-row-check svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.device-row-main {
|
|
min-width: 0;
|
|
}
|
|
|
|
.device-row-name {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.device-row-name {
|
|
color: inherit;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.device-row-current {
|
|
display: block;
|
|
margin-top: 2px;
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.device-section-label {
|
|
padding: 8px 8px 4px;
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.jam-section-label,
|
|
.jam-row,
|
|
.start-jam-row,
|
|
.jam-create-panel {
|
|
background: rgba(82,145,255,0.045);
|
|
}
|
|
|
|
.jam-row:hover,
|
|
.start-jam-row:hover {
|
|
background: rgba(82,145,255,0.075);
|
|
}
|
|
|
|
.jam-row.active {
|
|
background: rgba(82,145,255,0.105);
|
|
color: #9bbcff;
|
|
}
|
|
|
|
.jam-row.pending .device-row-name {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.start-jam-row {
|
|
margin-top: 4px;
|
|
border-top: 1px solid rgba(82,145,255,0.16);
|
|
}
|
|
|
|
.jam-create-panel {
|
|
margin: 6px 2px 2px;
|
|
padding: 8px;
|
|
border: 1px solid rgba(82,145,255,0.18);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.jam-panel-title {
|
|
margin-bottom: 7px;
|
|
color: #c9dcff;
|
|
font-size: 12px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.jam-selected-users {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
.jam-user-chip {
|
|
border: 1px solid rgba(82,145,255,0.2);
|
|
border-radius: 4px;
|
|
background: rgba(82,145,255,0.07);
|
|
color: var(--text-secondary);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
max-width: 100%;
|
|
padding: 3px 6px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.jam-user-search {
|
|
width: 100%;
|
|
height: 30px;
|
|
border: 1px solid rgba(82,145,255,0.2);
|
|
border-radius: 4px;
|
|
background: rgba(82,145,255,0.045);
|
|
color: var(--text-primary);
|
|
padding: 0 8px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.jam-search-results {
|
|
margin-top: 6px;
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
|
|
.jam-search-row {
|
|
border: 0;
|
|
border-radius: 4px;
|
|
background: rgba(82,145,255,0.035);
|
|
color: var(--text-secondary);
|
|
display: grid;
|
|
gap: 1px;
|
|
padding: 6px;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.jam-search-row:hover {
|
|
background: rgba(82,145,255,0.075);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.jam-search-row small {
|
|
color: var(--text-subdued);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.jam-create-btn {
|
|
flex: 1;
|
|
height: 30px;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
background: rgba(82,145,255,0.14);
|
|
color: #c9dcff;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.jam-create-btn:disabled {
|
|
opacity: 0.45;
|
|
cursor: default;
|
|
}
|
|
|
|
.jam-panel-actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.jam-leave-btn {
|
|
height: 30px;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
background: rgba(255,96,96,0.1);
|
|
color: #ffb2b2;
|
|
padding: 0 9px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.jam-leave-btn:hover {
|
|
background: rgba(255,96,96,0.18);
|
|
}
|
|
|
|
/* Loading */
|
|
.loading-spinner {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 40px;
|
|
}
|
|
|
|
.spinner {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 3px solid var(--bg-active);
|
|
border-top-color: var(--accent);
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
.scroll-load-indicator {
|
|
min-height: 56px;
|
|
margin: 18px 0 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
color: var(--text-secondary);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.scroll-load-spinner {
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 2px solid var(--bg-active);
|
|
border-top-color: var(--accent);
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
|
|
/* Empty state */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 60px 20px;
|
|
color: var(--text-subdued);
|
|
}
|
|
|
|
.empty-state svg { width: 64px; height: 64px; margin-bottom: 16px; }
|
|
.empty-state p { font-size: 14px; }
|
|
|
|
.content-topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.connection-alert {
|
|
flex: 0 0 auto;
|
|
min-width: 42px;
|
|
height: 42px;
|
|
padding: 0 12px;
|
|
border: 1px solid rgba(248, 113, 113, 0.34);
|
|
border-radius: 8px;
|
|
background: rgba(127, 29, 29, 0.2);
|
|
color: #f87171;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.connection-alert svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.connection-alert-text {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: #fecaca;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Search bar */
|
|
.search-bar {
|
|
position: relative;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.version-chip {
|
|
flex: 0 0 auto;
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
letter-spacing: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.player-version-chip {
|
|
width: 100%;
|
|
max-width: 600px;
|
|
margin-top: -2px;
|
|
padding-left: 0;
|
|
color: var(--text-subdued);
|
|
opacity: 0.55;
|
|
font-size: 9px;
|
|
line-height: 1;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mobile-account-chip {
|
|
display: none;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
max-width: 148px;
|
|
height: 42px;
|
|
padding: 0 10px 0 6px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-elevated);
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mobile-library-btn {
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 42px;
|
|
height: 42px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-elevated);
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
flex: 0 0 auto;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.mobile-library-btn:hover,
|
|
.mobile-account-chip:hover {
|
|
background: var(--bg-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.mobile-library-btn svg {
|
|
width: 19px;
|
|
height: 19px;
|
|
}
|
|
|
|
.mobile-account-popover {
|
|
position: absolute;
|
|
right: 16px;
|
|
top: 66px;
|
|
z-index: 80;
|
|
width: min(286px, calc(100vw - 32px));
|
|
padding: 12px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 10px;
|
|
background: var(--bg-elevated);
|
|
box-shadow: 0 16px 36px rgba(0,0,0,0.42);
|
|
}
|
|
|
|
.mobile-account-popover .user-widget-main {
|
|
grid-template-columns: 36px minmax(0, 1fr);
|
|
}
|
|
|
|
.mobile-account-logout {
|
|
width: 100%;
|
|
margin-top: 12px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.torrent-import-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 42px;
|
|
height: 42px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-elevated);
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
flex: 0 0 auto;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.torrent-import-btn:hover {
|
|
background: var(--bg-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.torrent-import-btn svg {
|
|
width: 19px;
|
|
height: 19px;
|
|
}
|
|
|
|
.mobile-account-chip .user-avatar {
|
|
width: 30px;
|
|
height: 30px;
|
|
font-size: 13px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mobile-account-name {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-align: left;
|
|
}
|
|
|
|
.mobile-library-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 70;
|
|
display: none;
|
|
background: rgba(0,0,0,0.58);
|
|
}
|
|
|
|
.mobile-library-drawer {
|
|
width: min(360px, calc(100vw - 28px));
|
|
height: calc(100dvh - var(--player-bar-space) - 20px);
|
|
margin: 10px 0 0 10px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 12px;
|
|
background: var(--bg-secondary);
|
|
box-shadow: 0 18px 60px rgba(0,0,0,0.55);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mobile-drawer-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 14px 14px 12px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.mobile-drawer-title {
|
|
font-size: 15px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.mobile-drawer-body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 8px;
|
|
}
|
|
|
|
.mobile-drawer-section {
|
|
padding: 6px 0 10px;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.mobile-drawer-section:first-child {
|
|
border-top: 0;
|
|
}
|
|
|
|
.mobile-list-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mobile-list-row .following-artist,
|
|
.mobile-list-row .playlist-item {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mobile-list-action {
|
|
flex: 0 0 auto;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 6px;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
color: var(--text-subdued);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
appearance: none;
|
|
}
|
|
|
|
.mobile-list-action:hover {
|
|
background: var(--bg-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.mobile-list-action svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
.search-bar input {
|
|
width: 100%;
|
|
padding: 10px 40px 10px 40px;
|
|
background: var(--bg-elevated);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
outline: none;
|
|
transition: border-color 0.15s, background 0.15s;
|
|
}
|
|
|
|
.search-bar input::placeholder { color: var(--text-subdued); }
|
|
.search-bar input:focus { border-color: var(--text-secondary); background: var(--bg-hover); }
|
|
|
|
.search-bar .search-icon {
|
|
position: absolute;
|
|
left: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--text-subdued);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.search-bar .search-icon svg { width: 18px; height: 18px; }
|
|
|
|
.search-bar .search-clear {
|
|
position: absolute;
|
|
right: 8px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-subdued);
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.search-bar .search-clear:hover { color: var(--text-primary); background: var(--bg-hover); }
|
|
.search-bar .search-clear svg { width: 16px; height: 16px; }
|
|
|
|
.search-bar .search-shortcut {
|
|
position: absolute;
|
|
right: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
pointer-events: none;
|
|
background: var(--bg-active);
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Search results */
|
|
.search-section { margin-bottom: 24px; }
|
|
.search-section-title {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.search-artists-row {
|
|
display: flex;
|
|
gap: 16px;
|
|
overflow-x: auto;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.search-artists-row::-webkit-scrollbar { height: 6px; }
|
|
.search-artists-row::-webkit-scrollbar-track { background: transparent; }
|
|
.search-artists-row::-webkit-scrollbar-thumb { background: var(--bg-active); border-radius: 3px; }
|
|
|
|
.search-artist-card {
|
|
flex-shrink: 0;
|
|
width: 140px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
text-align: center;
|
|
}
|
|
|
|
.search-artist-card:hover { background: var(--bg-elevated); }
|
|
|
|
.search-artist-img {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
background: var(--bg-elevated);
|
|
margin: 0 auto 8px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.search-artist-img img { width: 100%; height: 100%; object-fit: cover; }
|
|
.search-artist-img svg { width: 32px; height: 32px; color: var(--text-subdued); }
|
|
|
|
.search-artist-name {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.search-releases-row {
|
|
display: flex;
|
|
gap: 16px;
|
|
overflow-x: auto;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.search-releases-row::-webkit-scrollbar { height: 6px; }
|
|
.search-releases-row::-webkit-scrollbar-track { background: transparent; }
|
|
.search-releases-row::-webkit-scrollbar-thumb { background: var(--bg-active); border-radius: 3px; }
|
|
|
|
.search-release-card {
|
|
flex-shrink: 0;
|
|
width: 150px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.search-release-card:hover { background: var(--bg-elevated); }
|
|
|
|
.search-release-cover {
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
border-radius: 6px;
|
|
background: var(--bg-elevated);
|
|
margin-bottom: 8px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.search-release-cover img { width: 100%; height: 100%; object-fit: cover; }
|
|
.search-release-cover svg { width: 40px; height: 40px; color: var(--text-subdued); }
|
|
|
|
/* Like button */
|
|
.like-btn {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: color 0.15s, transform 0.1s;
|
|
color: var(--text-subdued);
|
|
}
|
|
|
|
.like-btn:hover { color: var(--text-primary); }
|
|
.like-btn:active { transform: scale(0.9); }
|
|
.like-btn.liked { color: var(--accent); }
|
|
.like-btn svg { width: 16px; height: 16px; }
|
|
|
|
.like-btn-lg svg { width: 22px; height: 22px; }
|
|
|
|
/* Playlist modal overlay */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.6);
|
|
z-index: 100;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal-box {
|
|
background: var(--bg-elevated);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
min-width: 320px;
|
|
max-width: 400px;
|
|
max-height: 70vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 16px 48px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.modal-box h3 {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.modal-box input[type="text"] {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
outline: none;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.modal-box input[type="text"]:focus { border-color: var(--accent); }
|
|
|
|
.modal-playlist-list {
|
|
overflow-y: auto;
|
|
max-height: 40vh;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.modal-playlist-item {
|
|
padding: 10px 12px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
transition: background 0.15s, color 0.15s;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.modal-playlist-item:hover { background: var(--bg-hover); color: var(--text-primary); }
|
|
.modal-playlist-item svg { width: 16px; height: 16px; flex-shrink: 0; }
|
|
|
|
.info-modal {
|
|
max-width: min(620px, calc(100vw - 24px));
|
|
}
|
|
|
|
.info-modal-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.info-modal-head h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.info-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: -4px 0 12px;
|
|
flex-wrap: wrap;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.info-action-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 38px;
|
|
padding: 9px 15px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: var(--accent);
|
|
color: #061307;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
box-shadow: 0 8px 22px rgba(29, 185, 84, 0.2);
|
|
transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
|
|
}
|
|
|
|
.info-action-btn:hover {
|
|
background: var(--accent-hover);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 10px 26px rgba(29, 185, 84, 0.28);
|
|
}
|
|
|
|
.info-action-btn:disabled {
|
|
opacity: 0.7;
|
|
cursor: default;
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.info-modal-body {
|
|
margin: 0;
|
|
padding: 14px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-primary);
|
|
color: var(--text-secondary);
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
overflow: auto;
|
|
max-height: min(58dvh, 520px);
|
|
}
|
|
|
|
.info-modal-plain {
|
|
margin: 0;
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.info-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.info-table th,
|
|
.info-table td {
|
|
padding: 9px 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
|
|
vertical-align: top;
|
|
}
|
|
|
|
.info-table tr:last-child th,
|
|
.info-table tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.info-table th {
|
|
width: 34%;
|
|
padding-right: 18px;
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-align: left;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.info-table td {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.info-link-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.info-link {
|
|
border: 1px solid rgba(29, 185, 84, 0.36);
|
|
border-radius: 999px;
|
|
background: rgba(29, 185, 84, 0.1);
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
padding: 3px 8px;
|
|
font: inherit;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.info-link:hover {
|
|
border-color: rgba(29, 185, 84, 0.7);
|
|
background: rgba(29, 185, 84, 0.18);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.modal-btn {
|
|
padding: 8px 16px;
|
|
border-radius: 20px;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
transition: filter 0.15s;
|
|
}
|
|
|
|
.modal-btn:hover { filter: brightness(1.1); }
|
|
.modal-btn-primary { background: var(--accent); color: #000; }
|
|
.modal-btn-pause {
|
|
background: #f0b84d;
|
|
color: #111;
|
|
}
|
|
.modal-btn-ghost { background: transparent; color: var(--text-secondary); }
|
|
.modal-btn-danger {
|
|
background: rgba(229,96,96,0.16);
|
|
color: #ffb9b9;
|
|
border: 1px solid rgba(229,96,96,0.32);
|
|
}
|
|
|
|
.modal-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
}
|
|
|
|
.torrent-modal {
|
|
width: min(1180px, calc(100vw - 48px));
|
|
max-width: 1180px;
|
|
height: min(820px, calc(100dvh - 64px));
|
|
max-height: calc(100dvh - 64px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.torrent-modal-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
margin-bottom: 12px;
|
|
flex: 0 0 auto;
|
|
position: relative;
|
|
}
|
|
|
|
.torrent-modal-head h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.torrent-client-status {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
color: var(--text-subdued);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.torrent-status-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-height: 24px;
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-color);
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.torrent-modal-close {
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
width: 34px;
|
|
height: 34px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 999px;
|
|
background: var(--bg-primary);
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.torrent-modal-close svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.torrent-status-pill.active {
|
|
border-color: rgba(29,185,84,0.42);
|
|
color: #9ff0b9;
|
|
}
|
|
|
|
.torrent-agent-pill.active {
|
|
border-color: rgba(240,184,77,0.45);
|
|
color: #ffd78a;
|
|
}
|
|
|
|
.torrent-agent-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: var(--text-subdued);
|
|
}
|
|
|
|
.torrent-agent-pill.active .torrent-agent-dot {
|
|
background: #f0b84d;
|
|
box-shadow: 0 0 0 3px rgba(240,184,77,0.14);
|
|
}
|
|
|
|
.torrent-tabs {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 12px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.torrent-tab-btn {
|
|
min-height: 34px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
background: var(--bg-primary);
|
|
color: var(--text-secondary);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 0 12px;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.torrent-tab-btn:hover,
|
|
.torrent-tab-btn.active {
|
|
color: var(--text-primary);
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.torrent-tab-btn.active {
|
|
border-color: rgba(29,185,84,0.42);
|
|
}
|
|
|
|
.torrent-tab-count {
|
|
min-width: 18px;
|
|
height: 18px;
|
|
border-radius: 999px;
|
|
background: rgba(29,185,84,0.2);
|
|
color: #9ff0b9;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.torrent-manager-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
|
|
gap: 14px;
|
|
min-height: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.torrent-manager-sidebar,
|
|
.torrent-workspace {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.torrent-manager-sidebar {
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-primary);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.torrent-manager-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.torrent-session-list {
|
|
overflow-y: auto;
|
|
min-height: 0;
|
|
max-height: none;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.torrent-session-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.torrent-session-add {
|
|
width: 100%;
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
align-items: center;
|
|
border: 0;
|
|
border-bottom: 1px solid var(--border-color);
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
text-align: left;
|
|
font: inherit;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.torrent-session-add:disabled {
|
|
cursor: default;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.torrent-session-add-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(29,185,84,0.38);
|
|
color: #9ff0b9;
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.torrent-session-row:last-child { border-bottom: 0; }
|
|
.torrent-session-row:hover,
|
|
.torrent-session-row.active { background: var(--bg-hover); }
|
|
|
|
.torrent-session-main {
|
|
min-width: 0;
|
|
}
|
|
|
|
.torrent-session-topline {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.torrent-session-name {
|
|
min-width: 0;
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.torrent-status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 20px;
|
|
padding: 2px 7px;
|
|
border-radius: 999px;
|
|
font-size: 10px;
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.torrent-status-badge.status-preview {
|
|
background: rgba(122,162,255,0.16);
|
|
color: #adc3ff;
|
|
}
|
|
|
|
.torrent-status-badge.status-resolving {
|
|
background: rgba(182,141,255,0.16);
|
|
color: #d0b6ff;
|
|
}
|
|
|
|
.torrent-status-badge.status-queued {
|
|
background: rgba(122,162,255,0.16);
|
|
color: #adc3ff;
|
|
}
|
|
|
|
.torrent-status-badge.status-processing {
|
|
background: rgba(240,184,77,0.18);
|
|
color: #ffd78a;
|
|
}
|
|
|
|
.torrent-status-badge.status-downloading {
|
|
background: rgba(29,185,84,0.16);
|
|
color: #9ff0b9;
|
|
}
|
|
|
|
.torrent-status-badge.status-moving {
|
|
background: rgba(75,198,240,0.16);
|
|
color: #a8e8ff;
|
|
}
|
|
|
|
.torrent-status-badge.status-completed {
|
|
background: rgba(110,211,123,0.16);
|
|
color: #b8f7be;
|
|
}
|
|
|
|
.torrent-status-badge.status-paused {
|
|
background: rgba(240,184,77,0.18);
|
|
color: #ffd78a;
|
|
}
|
|
|
|
.torrent-status-badge.status-failed {
|
|
background: rgba(229,96,96,0.18);
|
|
color: #ffb9b9;
|
|
}
|
|
|
|
.torrent-session-meta {
|
|
margin-top: 4px;
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.torrent-session-progress {
|
|
height: 5px;
|
|
margin-top: 7px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.torrent-session-progress-bar {
|
|
height: 100%;
|
|
width: 0%;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, var(--accent), #7ee4a2);
|
|
transition: width 0.25s ease;
|
|
}
|
|
|
|
.torrent-progress-card {
|
|
margin-top: 10px;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border-color);
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.torrent-progress-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.torrent-progress-track {
|
|
height: 8px;
|
|
margin-top: 8px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.torrent-progress-bar {
|
|
height: 100%;
|
|
width: 0%;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, var(--accent), #7ee4a2);
|
|
transition: width 0.25s ease;
|
|
}
|
|
|
|
.torrent-progress-details {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
color: var(--text-subdued);
|
|
min-height: 38px;
|
|
}
|
|
|
|
.torrent-progress-details.completed {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.torrent-progress-metric {
|
|
min-width: 0;
|
|
min-height: 38px;
|
|
padding: 5px 7px;
|
|
border-radius: 6px;
|
|
background: var(--bg-secondary);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
.torrent-progress-label {
|
|
color: var(--text-muted);
|
|
font-size: 10px;
|
|
line-height: 12px;
|
|
text-transform: uppercase;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.torrent-progress-value {
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
line-height: 14px;
|
|
font-weight: 700;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.history-modal {
|
|
width: min(980px, calc(100vw - 32px));
|
|
max-width: 980px;
|
|
}
|
|
|
|
.history-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
}
|
|
|
|
.history-list {
|
|
margin-top: 12px;
|
|
overflow-y: auto;
|
|
max-height: min(54vh, 460px);
|
|
border-top: 1px solid var(--border-color);
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.history-table-head,
|
|
.history-row.track-row {
|
|
display: grid;
|
|
grid-template-columns: 48px minmax(0, 1fr) 144px 154px 72px;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.history-table-head {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 3;
|
|
padding: 8px 12px;
|
|
background: var(--bg-elevated);
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.history-row.track-row {
|
|
padding: 8px 12px;
|
|
border-radius: 0;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.history-row:last-child { border-bottom: 0; }
|
|
|
|
.history-cover {
|
|
width: 40px;
|
|
height: 40px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 5px;
|
|
background: var(--bg-active);
|
|
color: var(--text-subdued);
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.history-cover img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.history-cover svg {
|
|
width: 21px;
|
|
height: 21px;
|
|
}
|
|
|
|
.history-release-line {
|
|
margin-top: 2px;
|
|
color: var(--text-subdued);
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.history-release,
|
|
.history-date,
|
|
.history-duration {
|
|
color: var(--text-subdued);
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.history-date,
|
|
.history-duration {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.history-duration { text-align: right; }
|
|
|
|
.history-pager {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.torrent-modal-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 360px);
|
|
gap: 10px;
|
|
max-width: 360px;
|
|
}
|
|
|
|
.torrent-import-panel,
|
|
.torrent-workspace-empty {
|
|
min-height: 150px;
|
|
}
|
|
|
|
.torrent-upload-summary {
|
|
min-height: 16px;
|
|
margin-top: 5px;
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.torrent-upload-progress {
|
|
margin-top: 10px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.torrent-modal label {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.torrent-modal input[type="file"],
|
|
.torrent-modal input[type="text"],
|
|
.torrent-modal input[type="number"],
|
|
.torrent-modal select,
|
|
.torrent-modal textarea {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
color: var(--text-primary);
|
|
font: inherit;
|
|
outline: none;
|
|
}
|
|
|
|
.torrent-modal input[type="file"]:focus,
|
|
.torrent-modal input[type="text"]:focus,
|
|
.torrent-modal input[type="number"]:focus,
|
|
.torrent-modal select:focus,
|
|
.torrent-modal textarea:focus {
|
|
border-color: var(--text-secondary);
|
|
}
|
|
|
|
.torrent-message {
|
|
margin: 10px 0 0;
|
|
min-height: 18px;
|
|
color: var(--text-subdued);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.torrent-message.error { color: #ff8b8b; }
|
|
|
|
.upload-manager-panel {
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
flex: 1 1 auto;
|
|
position: relative;
|
|
}
|
|
|
|
.upload-manager-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.upload-manager-head h4 {
|
|
margin: 0;
|
|
color: var(--text-primary);
|
|
font-size: 16px;
|
|
}
|
|
|
|
.upload-manager-head p {
|
|
margin: 3px 0 0;
|
|
color: var(--text-subdued);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.upload-manager-grid {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
|
|
gap: 12px;
|
|
flex: 1 1 auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.upload-review-column,
|
|
.upload-library-column {
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.upload-panel-card {
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-primary);
|
|
padding: 10px;
|
|
}
|
|
|
|
.upload-panel-subtitle,
|
|
.upload-mini-empty {
|
|
margin: 4px 0 0;
|
|
color: var(--text-subdued);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.upload-review-list {
|
|
display: grid;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
max-height: 196px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.upload-review-list.editing {
|
|
max-height: none;
|
|
}
|
|
|
|
.upload-review-item {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.upload-review-row {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
gap: 7px;
|
|
align-items: center;
|
|
width: 100%;
|
|
min-height: 34px;
|
|
padding: 7px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 7px;
|
|
background: var(--bg-secondary);
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.upload-review-row.active,
|
|
.upload-review-row:hover {
|
|
border-color: var(--text-subdued);
|
|
background: var(--bg-elevated);
|
|
}
|
|
|
|
.upload-review-row.failed {
|
|
border-color: rgba(255,139,139,0.28);
|
|
}
|
|
|
|
.upload-review-name,
|
|
.upload-review-error {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.upload-review-name {
|
|
font-size: 13px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.upload-review-error {
|
|
grid-column: 2;
|
|
color: #ffb9b9;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.upload-review-editor-inline {
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-secondary);
|
|
padding: 10px;
|
|
}
|
|
|
|
.upload-review-editor-inline .upload-panel-title {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.upload-review-form {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.upload-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.upload-field span {
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
font-weight: 850;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.upload-field-half {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.upload-field-compact {
|
|
grid-column: span 1;
|
|
}
|
|
|
|
.upload-field-wide,
|
|
.upload-review-actions {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.upload-review-form input,
|
|
.upload-review-form select,
|
|
.upload-review-form textarea {
|
|
min-height: 36px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.upload-review-form textarea {
|
|
min-height: 72px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.upload-review-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.upload-editor-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 140;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 40px;
|
|
background: rgba(0,0,0,0.32);
|
|
}
|
|
|
|
.upload-editor-drawer {
|
|
width: min(680px, calc(100vw - 48px));
|
|
max-height: calc(100vh - 80px);
|
|
overflow-y: auto;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 10px;
|
|
background: var(--bg-elevated);
|
|
box-shadow: 0 18px 60px rgba(0,0,0,0.42);
|
|
padding: 14px;
|
|
}
|
|
|
|
.upload-editor-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.upload-editor-head h4 {
|
|
margin: 0;
|
|
color: var(--text-primary);
|
|
font-size: 16px;
|
|
line-height: 1.25;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.upload-editor-form {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.upload-editor-form input,
|
|
.upload-editor-form select,
|
|
.upload-editor-form textarea {
|
|
min-height: 38px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.upload-editor-form textarea {
|
|
min-height: 96px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.upload-field-toggle {
|
|
grid-column: 1 / -1;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
min-height: 38px;
|
|
}
|
|
|
|
.upload-field-toggle input {
|
|
width: auto !important;
|
|
}
|
|
|
|
.upload-editor-actions {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.upload-bulk-bar {
|
|
display: grid;
|
|
grid-template-columns: auto repeat(4, minmax(86px, 1fr)) auto auto auto;
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.upload-bulk-title {
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.upload-release-tree {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.upload-artist-group {
|
|
display: grid;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.upload-artist-row {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
padding: 2px 2px 0;
|
|
}
|
|
|
|
.upload-artist-name {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
font-weight: 950;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.upload-artist-meta {
|
|
flex: 0 0 auto;
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
font-weight: 750;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.upload-release-node {
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-primary);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.upload-release-node.hidden,
|
|
.upload-tree-track.hidden {
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.upload-release-row {
|
|
display: grid;
|
|
grid-template-columns: 24px 24px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 9px 10px;
|
|
}
|
|
|
|
.upload-release-main,
|
|
.upload-track-main {
|
|
min-width: 0;
|
|
}
|
|
|
|
.upload-release-title {
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.upload-track-children {
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.upload-tree-track {
|
|
display: grid;
|
|
grid-template-columns: 24px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 44px;
|
|
padding: 7px 10px 7px 28px;
|
|
border-top: 1px solid rgba(255,255,255,0.04);
|
|
}
|
|
|
|
.upload-tree-track:first-child {
|
|
border-top: 0;
|
|
}
|
|
|
|
.upload-tree-track.selected {
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.upload-release-edit-form,
|
|
.upload-track-edit-form {
|
|
margin: 0 10px 10px;
|
|
padding: 10px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.upload-tree-track .upload-track-edit-form {
|
|
grid-column: 1 / -1;
|
|
margin: 4px 0 0;
|
|
}
|
|
|
|
.upload-wide-field {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.upload-queue-panel {
|
|
flex: 0 0 auto;
|
|
margin-bottom: 12px;
|
|
padding: 10px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.upload-panel-title {
|
|
margin-bottom: 6px;
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.upload-panel-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.upload-queue-nav {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.upload-queue-range {
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
font-weight: 850;
|
|
text-transform: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.upload-queue-nav-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
padding: 0;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
background: var(--bg-secondary);
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.upload-queue-nav-btn:hover:not(:disabled) {
|
|
border-color: var(--text-subdued);
|
|
background: var(--bg-elevated);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.upload-queue-nav-btn:disabled {
|
|
cursor: default;
|
|
opacity: 0.42;
|
|
}
|
|
|
|
.upload-queue-nav-btn svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.upload-queue-row {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 30px;
|
|
}
|
|
|
|
.upload-queue-name,
|
|
.upload-queue-error {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.upload-queue-name {
|
|
color: var(--text-secondary);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.upload-queue-error {
|
|
grid-column: 2;
|
|
color: #ffb9b9;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.upload-track-list {
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
display: grid;
|
|
gap: 8px;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.upload-track-card {
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-primary);
|
|
padding: 10px;
|
|
}
|
|
|
|
.upload-track-card.hidden {
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.upload-track-display {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.upload-track-main {
|
|
min-width: 0;
|
|
}
|
|
|
|
.upload-track-title {
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.upload-hidden-pill {
|
|
display: inline-flex;
|
|
margin-left: 6px;
|
|
padding: 1px 5px;
|
|
border-radius: 999px;
|
|
background: rgba(240,184,77,0.16);
|
|
color: #ffd78a;
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.upload-track-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
margin-top: 3px;
|
|
color: var(--text-subdued);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.upload-track-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.upload-edit-form {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.upload-edit-form label {
|
|
margin: 0;
|
|
}
|
|
|
|
.upload-edit-form label span {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.upload-hidden-toggle {
|
|
display: flex !important;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-top: 22px;
|
|
}
|
|
|
|
.upload-hidden-toggle input {
|
|
width: auto;
|
|
}
|
|
|
|
.upload-edit-actions {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
}
|
|
|
|
.torrent-preview-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
align-items: center;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.torrent-preview-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
}
|
|
|
|
.torrent-preview-title {
|
|
min-width: 0;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.torrent-preview-meta {
|
|
margin-top: 3px;
|
|
color: var(--text-subdued);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.torrent-preview-panel {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.torrent-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-start;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.torrent-tree-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-top: 12px;
|
|
padding: 10px 12px;
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.torrent-selected-summary {
|
|
min-width: 0;
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.torrent-file-tree {
|
|
flex: 1 1 auto;
|
|
margin-top: 10px;
|
|
overflow-y: auto;
|
|
min-height: 140px;
|
|
max-height: none;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.torrent-tree-row {
|
|
display: grid;
|
|
grid-template-columns: 28px 24px minmax(0, 1fr) 92px;
|
|
gap: 8px;
|
|
align-items: center;
|
|
min-height: 38px;
|
|
padding: 7px 10px 7px var(--indent, 10px);
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.torrent-tree-row:last-child { border-bottom: 0; }
|
|
.torrent-tree-row:hover { background: var(--bg-hover); }
|
|
|
|
.torrent-tree-toggle,
|
|
.torrent-tree-check {
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--text-subdued);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.torrent-tree-toggle svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
transition: transform 0.15s;
|
|
}
|
|
|
|
.torrent-tree-toggle.expanded svg {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.torrent-tree-check {
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 5px;
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.torrent-tree-check.checked {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
color: #000;
|
|
}
|
|
|
|
.torrent-tree-check.partial {
|
|
border-color: var(--text-secondary);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.torrent-tree-check svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
.torrent-tree-label {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.torrent-tree-label svg {
|
|
flex: 0 0 auto;
|
|
width: 17px;
|
|
height: 17px;
|
|
color: var(--text-subdued);
|
|
}
|
|
|
|
.torrent-file-name {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.torrent-file-size {
|
|
color: var(--text-subdued);
|
|
font-size: 12px;
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* Sidebar playlist actions */
|
|
.playlist-item-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.playlist-item-row .playlist-item { flex: 1; min-width: 0; }
|
|
|
|
.playlist-item-actions {
|
|
display: flex;
|
|
gap: 2px;
|
|
opacity: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mobile-player-collapse-btn,
|
|
.mobile-expanded-queue {
|
|
display: none;
|
|
}
|
|
|
|
.mobile-full-player {
|
|
display: contents;
|
|
}
|
|
|
|
.playlist-action-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-subdued);
|
|
cursor: pointer;
|
|
padding: 3px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.playlist-action-btn:hover { color: var(--text-primary); background: var(--bg-hover); }
|
|
.playlist-action-btn svg { width: 14px; height: 14px; }
|
|
|
|
.sidebar-create-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
background: none;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
color: var(--text-subdued);
|
|
font-size: 13px;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.sidebar-create-btn:hover { background: var(--bg-hover); color: var(--text-primary); }
|
|
.sidebar-create-btn svg { width: 16px; height: 16px; }
|
|
|
|
/* Responsive */
|
|
@media (max-width: 1200px) {
|
|
:root {
|
|
--sidebar-width: 220px;
|
|
--queue-width: 280px;
|
|
}
|
|
|
|
.center-content { padding: 20px; }
|
|
.card-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
.artist-header .artist-img,
|
|
.release-header .release-cover {
|
|
width: 168px;
|
|
height: 168px;
|
|
}
|
|
.release-meta .release-title { font-size: 32px; }
|
|
}
|
|
|
|
@media (max-width: 900px), (pointer: coarse) and (max-width: 1024px) {
|
|
:root {
|
|
--player-height: 168px;
|
|
--player-bar-space: calc(var(--player-height) + var(--safe-bottom));
|
|
}
|
|
|
|
.sidebar-left { display: none; }
|
|
|
|
.center-content {
|
|
padding: 16px;
|
|
}
|
|
|
|
.content-topbar {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.content-topbar .search-bar {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.connection-alert {
|
|
width: 42px;
|
|
padding: 0;
|
|
}
|
|
|
|
.connection-alert-text {
|
|
display: none;
|
|
}
|
|
|
|
.mobile-library-btn {
|
|
display: flex;
|
|
}
|
|
|
|
.mobile-account-chip {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.mobile-library-backdrop {
|
|
display: block;
|
|
}
|
|
|
|
.torrent-modal {
|
|
width: min(1180px, calc(100vw - 32px));
|
|
}
|
|
|
|
.card-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
.card {
|
|
padding: 10px;
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.card-title { font-size: 13px; }
|
|
.card-subtitle { font-size: 11px; }
|
|
.card-play-btn,
|
|
.card-enqueue-btn,
|
|
.card-info-btn,
|
|
.artist-follow-card-btn,
|
|
.track-actions,
|
|
.playlist-item-actions,
|
|
.queue-track-actions,
|
|
.queue-drag-handle {
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
|
|
.artist-header,
|
|
.release-header {
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.artist-header .artist-img,
|
|
.release-header .release-cover {
|
|
width: 128px;
|
|
height: 128px;
|
|
}
|
|
|
|
.artist-header .artist-name,
|
|
.artist-header .artist-name[style] {
|
|
font-size: 34px !important;
|
|
}
|
|
|
|
.release-meta .release-title { font-size: 28px; }
|
|
|
|
.track-list-header,
|
|
.track-row {
|
|
grid-template-columns: 32px minmax(0, 1fr) auto 54px;
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.track-list-header span:nth-child(3),
|
|
.track-row > span:nth-child(3) {
|
|
display: none;
|
|
}
|
|
|
|
.track-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.history-table-head,
|
|
.history-row.track-row {
|
|
grid-template-columns: 44px minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
}
|
|
|
|
.history-table-head {
|
|
display: none;
|
|
}
|
|
|
|
.history-row.track-row {
|
|
padding: 9px 10px;
|
|
}
|
|
|
|
.history-row .history-cover {
|
|
grid-row: 1 / span 2;
|
|
}
|
|
|
|
.history-row .track-info {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
}
|
|
|
|
.history-row .history-date {
|
|
grid-column: 2;
|
|
grid-row: 2;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.history-row .track-actions {
|
|
grid-column: 3;
|
|
grid-row: 1 / span 2;
|
|
}
|
|
|
|
.history-duration {
|
|
display: none;
|
|
}
|
|
|
|
.queue-panel {
|
|
position: fixed;
|
|
left: 12px;
|
|
right: 12px;
|
|
top: 24dvh;
|
|
bottom: calc(var(--player-bar-space) + 12px);
|
|
width: auto;
|
|
min-width: 0;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 10px;
|
|
box-shadow: 0 18px 60px rgba(0,0,0,0.55);
|
|
z-index: 30;
|
|
display: flex;
|
|
}
|
|
|
|
.queue-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: block;
|
|
background: rgba(0,0,0,0.52);
|
|
z-index: 29;
|
|
}
|
|
|
|
.queue-panel.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.queue-track {
|
|
padding: 10px 8px;
|
|
}
|
|
|
|
.player-bar {
|
|
position: relative;
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
grid-template-rows: 62px 58px;
|
|
grid-template-areas:
|
|
"now now"
|
|
"buttons actions";
|
|
gap: 4px 10px;
|
|
align-items: center;
|
|
padding: 34px 12px calc(9px + var(--safe-bottom));
|
|
touch-action: auto;
|
|
user-select: none;
|
|
}
|
|
|
|
.player-now-playing {
|
|
grid-area: now;
|
|
justify-content: center;
|
|
text-align: center;
|
|
min-width: 0;
|
|
}
|
|
|
|
.player-now-playing > div {
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
gap: 10px !important;
|
|
width: 100%;
|
|
max-width: 620px;
|
|
margin: 0 auto;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.player-cover {
|
|
width: 52px;
|
|
height: 52px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.player-track-info {
|
|
width: min(58vw, 360px);
|
|
max-width: 360px;
|
|
}
|
|
|
|
.player-track-title-row {
|
|
justify-content: center;
|
|
}
|
|
|
|
.player-current-like {
|
|
display: none;
|
|
}
|
|
|
|
.player-track-title,
|
|
.player-track-artist,
|
|
.player-track-release {
|
|
text-align: center;
|
|
}
|
|
|
|
.player-track-release {
|
|
display: block;
|
|
color: var(--text-subdued);
|
|
font-size: 10px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.player-controls {
|
|
display: contents;
|
|
}
|
|
|
|
.player-buttons {
|
|
grid-area: buttons;
|
|
justify-self: start;
|
|
gap: 4px;
|
|
}
|
|
|
|
.player-bar:not(.mobile-expanded) .player-buttons .player-btn:first-child,
|
|
.player-bar:not(.mobile-expanded) .player-buttons .player-btn:last-child {
|
|
display: none;
|
|
}
|
|
|
|
.player-btn {
|
|
min-width: 42px;
|
|
min-height: 42px;
|
|
padding: 7px;
|
|
}
|
|
|
|
.player-btn svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
.player-btn-play {
|
|
width: 56px;
|
|
height: 56px;
|
|
}
|
|
|
|
.player-btn-play svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.player-timeline {
|
|
max-width: none;
|
|
gap: 5px;
|
|
align-self: center;
|
|
padding-right: 58px;
|
|
}
|
|
|
|
.player-bar:not(.mobile-expanded) .player-timeline {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 21px;
|
|
gap: 0;
|
|
padding-right: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.player-bar:not(.mobile-expanded) .player-time {
|
|
display: none;
|
|
}
|
|
|
|
.player-bar:not(.mobile-expanded) .progress-bar,
|
|
.player-bar:not(.mobile-expanded) .progress-bar:hover {
|
|
width: 100%;
|
|
height: 21px;
|
|
border-radius: 0;
|
|
background: rgba(29, 185, 84, 0.18);
|
|
}
|
|
|
|
.player-bar:not(.mobile-expanded) .progress-bar-fill {
|
|
border-radius: 0;
|
|
background: var(--accent);
|
|
}
|
|
|
|
.player-bar:not(.mobile-expanded) .progress-bar-thumb {
|
|
display: none;
|
|
}
|
|
|
|
.player-bar:not(.mobile-expanded) .player-progress-strip-times {
|
|
position: absolute;
|
|
top: 22px;
|
|
right: 10px;
|
|
height: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0;
|
|
color: var(--text-subdued);
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
pointer-events: none;
|
|
text-shadow: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.player-version-chip {
|
|
display: block;
|
|
position: absolute;
|
|
right: 12px;
|
|
bottom: calc(12px + var(--safe-bottom));
|
|
width: auto;
|
|
max-width: none;
|
|
margin-top: 0;
|
|
padding-left: 0;
|
|
font-size: 8px;
|
|
line-height: 1;
|
|
opacity: 0.58;
|
|
text-align: right;
|
|
}
|
|
|
|
.player-time {
|
|
min-width: 34px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.player-right {
|
|
grid-area: actions;
|
|
justify-self: end;
|
|
display: grid;
|
|
grid-template-columns: minmax(132px, 1fr) 40px 40px;
|
|
align-items: center;
|
|
gap: 6px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.volume-control {
|
|
display: grid;
|
|
grid-template-columns: 30px minmax(112px, 1fr);
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.volume-btn {
|
|
min-width: 30px;
|
|
min-height: 36px;
|
|
justify-content: center;
|
|
padding: 6px;
|
|
}
|
|
|
|
.volume-slider {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 34px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.volume-slider-fill {
|
|
height: 7px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.volume-slider::before {
|
|
height: 7px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.volume-slider-thumb {
|
|
width: 17px;
|
|
height: 17px;
|
|
right: -8.5px;
|
|
opacity: 1;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 6px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.progress-bar-fill {
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.progress-bar-thumb {
|
|
opacity: 1;
|
|
}
|
|
|
|
.queue-toggle-btn {
|
|
min-width: 36px;
|
|
min-height: 36px;
|
|
padding: 6px;
|
|
}
|
|
|
|
.queue-toggle-btn svg,
|
|
.volume-btn svg {
|
|
width: 21px;
|
|
height: 21px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: auto;
|
|
height: 100dvh;
|
|
display: block;
|
|
padding: 0;
|
|
border-top: 0;
|
|
border-radius: 0;
|
|
background: var(--bg-primary);
|
|
box-shadow: none;
|
|
overflow: hidden;
|
|
overscroll-behavior: contain;
|
|
z-index: 80;
|
|
touch-action: auto;
|
|
user-select: auto;
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 100dvh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
gap: 16px;
|
|
align-items: center;
|
|
padding: calc(18px + env(safe-area-inset-top)) 18px calc(16px + var(--safe-bottom));
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
z-index: 3;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .mobile-player-collapse-btn {
|
|
display: flex;
|
|
position: fixed;
|
|
top: calc(12px + env(safe-area-inset-top));
|
|
right: 12px;
|
|
width: 42px;
|
|
height: 42px;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,0.08);
|
|
color: var(--text-primary);
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 2;
|
|
}
|
|
|
|
.mobile-player-collapse-btn svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-now-playing {
|
|
justify-content: center;
|
|
align-self: stretch;
|
|
width: 100%;
|
|
min-height: max(300px, calc(100dvh - 248px));
|
|
flex: 0 0 auto;
|
|
overflow: visible;
|
|
padding-top: 38px;
|
|
touch-action: auto;
|
|
cursor: default;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-now-playing > div {
|
|
width: 100%;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 18px !important;
|
|
overflow: visible !important;
|
|
text-align: center;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-cover {
|
|
width: min(76vw, 38dvh, 360px);
|
|
height: auto;
|
|
aspect-ratio: 1;
|
|
border-radius: 14px;
|
|
box-shadow: 0 22px 62px rgba(0,0,0,0.48);
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-cover svg {
|
|
width: 96px;
|
|
height: 96px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-track-info {
|
|
width: min(100%, 520px);
|
|
overflow: visible;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-track-title-row {
|
|
justify-content: center;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-track-title {
|
|
font-size: 22px;
|
|
font-weight: 800;
|
|
white-space: normal;
|
|
text-align: center;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-track-artist {
|
|
margin-top: 5px;
|
|
font-size: 14px;
|
|
white-space: normal;
|
|
text-align: center;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-current-like {
|
|
display: flex;
|
|
width: 38px;
|
|
height: 38px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-track-release {
|
|
margin-top: 4px;
|
|
font-size: 13px;
|
|
white-space: normal;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-controls {
|
|
display: flex;
|
|
width: 100%;
|
|
flex: 0 0 auto;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-version-chip {
|
|
display: none;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-buttons {
|
|
justify-self: center;
|
|
gap: 18px;
|
|
order: 2;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-btn {
|
|
min-width: 56px;
|
|
min-height: 56px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-btn svg {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-btn-play {
|
|
width: 72px;
|
|
height: 72px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-timeline {
|
|
width: 100%;
|
|
max-width: none;
|
|
justify-self: center;
|
|
align-self: center;
|
|
padding-right: 0;
|
|
order: 1;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .progress-bar {
|
|
height: 7px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .progress-bar-thumb {
|
|
opacity: 1;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-right {
|
|
position: static;
|
|
grid-area: actions;
|
|
justify-self: center;
|
|
width: min(100%, 560px);
|
|
flex: 0 0 auto;
|
|
grid-template-columns: minmax(0, 1fr) 48px 48px;
|
|
gap: 8px;
|
|
padding: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .volume-control {
|
|
grid-template-columns: 44px minmax(0, 1fr);
|
|
gap: 8px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .volume-btn,
|
|
.player-bar.mobile-expanded .mobile-full-player .queue-toggle-btn {
|
|
min-width: 48px;
|
|
min-height: 48px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .volume-btn {
|
|
min-width: 44px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .volume-slider {
|
|
display: flex;
|
|
height: 44px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .device-popover {
|
|
position: fixed;
|
|
top: auto;
|
|
bottom: calc(90px + var(--safe-bottom));
|
|
left: 12px;
|
|
right: 12px;
|
|
width: auto;
|
|
max-width: none;
|
|
max-height: 42dvh;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .remote-playback-hint {
|
|
position: fixed;
|
|
top: auto;
|
|
bottom: calc(90px + var(--safe-bottom));
|
|
right: 18px;
|
|
max-width: calc(100vw - 36px);
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .mobile-expanded-queue {
|
|
display: block;
|
|
width: 100%;
|
|
max-height: none;
|
|
min-height: 0;
|
|
overflow: visible;
|
|
flex: 0 0 auto;
|
|
margin-top: 8px;
|
|
padding-top: 14px;
|
|
padding-bottom: 24px;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.mobile-expanded-queue-title {
|
|
margin: 0 0 8px;
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
letter-spacing: 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.mobile-expanded-queue-empty {
|
|
padding: 18px 0;
|
|
color: var(--text-subdued);
|
|
font-size: 13px;
|
|
text-align: center;
|
|
}
|
|
|
|
.mobile-expanded-queue-row {
|
|
width: 100%;
|
|
min-height: 54px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 6px 4px;
|
|
text-align: left;
|
|
}
|
|
|
|
.mobile-expanded-queue-row:active {
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.mobile-expanded-queue-row.foreign-jam-track {
|
|
background: linear-gradient(90deg, var(--jam-contributor-bg, rgba(82,145,255,0.12)), transparent 82%);
|
|
}
|
|
|
|
.mobile-expanded-queue-row.foreign-jam-track:active {
|
|
background: linear-gradient(90deg, var(--jam-contributor-bg-active, rgba(82,145,255,0.18)), rgba(255,255,255,0.02) 82%);
|
|
}
|
|
|
|
.mobile-expanded-queue-cover {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 5px;
|
|
overflow: hidden;
|
|
background: var(--bg-elevated);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mobile-expanded-queue-cover img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.mobile-expanded-queue-cover svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
color: var(--text-subdued);
|
|
}
|
|
|
|
.mobile-expanded-queue-info {
|
|
min-width: 0;
|
|
}
|
|
|
|
.mobile-expanded-queue-name,
|
|
.mobile-expanded-queue-artist {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mobile-expanded-queue-name {
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.mobile-expanded-queue-artist,
|
|
.mobile-expanded-queue-time {
|
|
color: var(--text-subdued);
|
|
font-size: 11px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
:root {
|
|
--player-height: 170px;
|
|
--player-bar-space: calc(var(--player-height) + var(--safe-bottom));
|
|
}
|
|
|
|
.center-content {
|
|
padding: 12px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 22px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.content-topbar {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.search-bar input {
|
|
padding-top: 11px;
|
|
padding-bottom: 11px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.search-bar .search-shortcut {
|
|
display: none;
|
|
}
|
|
|
|
.mobile-account-chip {
|
|
max-width: 42px;
|
|
width: 42px;
|
|
padding: 0;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mobile-account-name {
|
|
display: none;
|
|
}
|
|
|
|
.mobile-library-drawer {
|
|
width: calc(100vw - 16px);
|
|
margin-left: 8px;
|
|
height: calc(100dvh - var(--player-bar-space) - 16px);
|
|
}
|
|
|
|
.mobile-account-popover {
|
|
right: 8px;
|
|
top: 64px;
|
|
}
|
|
|
|
.card-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.search-artists-row,
|
|
.search-releases-row {
|
|
gap: 12px;
|
|
margin-left: -12px;
|
|
margin-right: -12px;
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
scroll-padding-left: 12px;
|
|
}
|
|
|
|
.search-artist-card,
|
|
.search-release-card {
|
|
width: 132px;
|
|
}
|
|
|
|
.artist-header,
|
|
.release-header {
|
|
display: grid;
|
|
grid-template-columns: 96px minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 14px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.artist-header .artist-img,
|
|
.release-header .release-cover {
|
|
width: 96px;
|
|
height: 96px;
|
|
}
|
|
|
|
.artist-header .artist-img svg,
|
|
.release-header .release-cover svg {
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
|
|
.artist-header .artist-name,
|
|
.artist-header .artist-name[style] {
|
|
font-size: 26px !important;
|
|
line-height: 1.12 !important;
|
|
}
|
|
|
|
.artist-stats {
|
|
font-size: 12px;
|
|
gap: 5px;
|
|
}
|
|
|
|
.release-meta {
|
|
min-width: 0;
|
|
}
|
|
|
|
.release-meta .release-title {
|
|
font-size: 22px;
|
|
line-height: 1.15;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.release-actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.release-action-btn {
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.track-list-header {
|
|
display: none;
|
|
}
|
|
|
|
.track-row {
|
|
grid-template-columns: 26px minmax(0, 1fr) auto;
|
|
gap: 6px;
|
|
padding: 10px 6px;
|
|
}
|
|
|
|
.track-row > span:nth-child(3),
|
|
.track-duration {
|
|
display: none;
|
|
}
|
|
|
|
.track-actions {
|
|
gap: 0;
|
|
}
|
|
|
|
.track-action-btn,
|
|
.like-btn {
|
|
padding: 6px;
|
|
}
|
|
|
|
.popularity-info-btn {
|
|
min-width: 28px;
|
|
height: 22px;
|
|
padding: 0 3px;
|
|
}
|
|
|
|
.popularity-info-btn.no-popularity {
|
|
min-width: 20px;
|
|
width: 20px;
|
|
padding: 0;
|
|
}
|
|
|
|
.track-actions > *,
|
|
.queue-track-actions > * {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.track-action-btn svg,
|
|
.like-btn svg {
|
|
width: 17px;
|
|
height: 17px;
|
|
}
|
|
|
|
.modal-overlay {
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 12px;
|
|
}
|
|
|
|
.modal-box {
|
|
width: min(400px, calc(100vw - 24px));
|
|
min-width: 0;
|
|
max-width: 400px;
|
|
max-height: min(82dvh, 640px);
|
|
border-radius: 12px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.info-modal,
|
|
.history-modal {
|
|
width: min(400px, calc(100vw - 24px));
|
|
max-width: 400px;
|
|
}
|
|
|
|
.history-list {
|
|
max-height: min(60dvh, 520px);
|
|
}
|
|
|
|
.history-row.track-row {
|
|
grid-template-columns: 42px minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
padding: 9px 8px;
|
|
}
|
|
|
|
.history-cover {
|
|
width: 38px;
|
|
height: 38px;
|
|
}
|
|
|
|
.history-row .track-actions {
|
|
gap: 0;
|
|
}
|
|
|
|
.history-row .track-actions .track-action-btn,
|
|
.history-row .track-actions .like-btn {
|
|
width: 26px;
|
|
height: 26px;
|
|
flex-basis: 26px;
|
|
padding: 5px;
|
|
}
|
|
|
|
.history-row .track-actions .popularity-info-btn {
|
|
min-width: 24px;
|
|
padding: 0 2px;
|
|
}
|
|
|
|
.history-release-line {
|
|
display: none;
|
|
}
|
|
|
|
.info-table th,
|
|
.info-table td {
|
|
display: block;
|
|
width: 100%;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.info-table th {
|
|
padding-bottom: 2px;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.info-table td {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.torrent-modal {
|
|
width: 100vw;
|
|
max-width: none;
|
|
height: 100dvh;
|
|
max-height: none;
|
|
border-radius: 0;
|
|
padding: calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));
|
|
overflow: hidden;
|
|
}
|
|
|
|
.torrent-modal-head {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
align-items: start;
|
|
}
|
|
|
|
.torrent-client-status {
|
|
grid-column: 1 / -1;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.torrent-modal-close {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.torrent-manager-layout {
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.torrent-session-list {
|
|
max-height: none;
|
|
min-height: 0;
|
|
}
|
|
|
|
.torrent-manager-sidebar {
|
|
flex: 0 0 178px;
|
|
}
|
|
|
|
.torrent-tabs {
|
|
overflow-x: auto;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.upload-manager-panel {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.upload-manager-grid {
|
|
grid-template-columns: 1fr;
|
|
overflow: visible;
|
|
}
|
|
|
|
.upload-review-column,
|
|
.upload-library-column {
|
|
overflow: visible;
|
|
}
|
|
|
|
.upload-bulk-bar {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.upload-release-row {
|
|
grid-template-columns: 24px 24px minmax(0, 1fr);
|
|
}
|
|
|
|
.upload-release-row .modal-btn {
|
|
grid-column: 1 / -1;
|
|
justify-self: flex-end;
|
|
}
|
|
|
|
.upload-tree-track {
|
|
grid-template-columns: 24px minmax(0, 1fr);
|
|
padding-left: 12px;
|
|
}
|
|
|
|
.upload-tree-track .upload-track-actions {
|
|
grid-column: 1 / -1;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.upload-manager-head {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.upload-track-display {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.upload-track-actions {
|
|
grid-column: 1 / -1;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.upload-edit-form {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.upload-review-form,
|
|
.upload-editor-form {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.upload-field-half,
|
|
.upload-field-compact {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.upload-review-actions {
|
|
justify-content: stretch;
|
|
}
|
|
|
|
.upload-review-actions .modal-btn {
|
|
flex: 1 1 120px;
|
|
min-height: 36px;
|
|
}
|
|
|
|
.upload-editor-backdrop {
|
|
align-items: flex-end;
|
|
padding: 0;
|
|
background: rgba(0,0,0,0.42);
|
|
}
|
|
|
|
.upload-editor-drawer {
|
|
width: 100%;
|
|
max-height: min(88dvh, calc(100dvh - 56px));
|
|
border-right: 0;
|
|
border-bottom: 0;
|
|
border-left: 0;
|
|
border-radius: 12px 12px 0 0;
|
|
padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
|
|
}
|
|
|
|
.upload-editor-actions {
|
|
justify-content: stretch;
|
|
}
|
|
|
|
.upload-editor-actions .modal-btn {
|
|
flex: 1 1 130px;
|
|
min-height: 38px;
|
|
}
|
|
|
|
.upload-hidden-toggle {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.torrent-progress-head {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.torrent-progress-details {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.torrent-progress-details.completed {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.torrent-modal h3 {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.torrent-modal-head h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.torrent-modal-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.torrent-message {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.torrent-actions {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.torrent-preview-head {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.torrent-tree-toolbar {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.torrent-file-tree {
|
|
min-height: 0;
|
|
max-height: none;
|
|
}
|
|
|
|
.torrent-tree-row {
|
|
grid-template-columns: 24px 22px minmax(0, 1fr) 74px;
|
|
gap: 6px;
|
|
}
|
|
|
|
.torrent-file-size {
|
|
grid-column: 4;
|
|
text-align: right;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.queue-panel {
|
|
left: 8px;
|
|
right: 8px;
|
|
top: 18dvh;
|
|
bottom: calc(var(--player-bar-space) + 8px);
|
|
}
|
|
|
|
.device-popover {
|
|
position: fixed;
|
|
right: 8px;
|
|
bottom: calc(var(--player-bar-space) + 8px);
|
|
width: min(280px, calc(100vw - 16px));
|
|
max-height: 42dvh;
|
|
}
|
|
|
|
.player-bar {
|
|
gap: 8px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
grid-template-rows: 60px 58px;
|
|
}
|
|
|
|
.player-track-title { font-size: 12px; }
|
|
.player-track-artist { font-size: 10px; }
|
|
.player-track-release { font-size: 9px; }
|
|
.player-buttons { gap: 2px; }
|
|
|
|
.player-right {
|
|
grid-template-columns: minmax(68px, 1fr) 34px 34px;
|
|
width: 100%;
|
|
gap: 3px;
|
|
}
|
|
|
|
.volume-control {
|
|
grid-template-columns: 22px minmax(44px, 1fr);
|
|
gap: 3px;
|
|
}
|
|
|
|
.player-version-chip {
|
|
padding-left: 0;
|
|
font-size: 8px;
|
|
opacity: 0.58;
|
|
}
|
|
|
|
.volume-control {
|
|
gap: 4px;
|
|
}
|
|
|
|
.volume-btn {
|
|
min-width: 24px;
|
|
min-height: 34px;
|
|
padding: 5px;
|
|
}
|
|
|
|
.queue-toggle-btn {
|
|
min-width: 34px;
|
|
min-height: 34px;
|
|
padding: 5px;
|
|
}
|
|
|
|
.volume-slider {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
.player-btn {
|
|
min-width: 42px;
|
|
min-height: 42px;
|
|
padding: 7px;
|
|
}
|
|
|
|
.player-btn svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
.player-btn-play {
|
|
width: 56px;
|
|
height: 56px;
|
|
}
|
|
|
|
.player-btn-play svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player {
|
|
gap: 14px;
|
|
padding-left: 14px;
|
|
padding-right: 14px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-cover {
|
|
width: min(82vw, 36dvh, 340px);
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-buttons {
|
|
gap: 12px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-btn {
|
|
min-width: 52px;
|
|
min-height: 52px;
|
|
}
|
|
|
|
.player-bar.mobile-expanded .mobile-full-player .player-btn-play {
|
|
width: 68px;
|
|
height: 68px;
|
|
}
|
|
}
|
|
|
|
/* Scrollbar for queue and sidebar */
|
|
.queue-tracks::-webkit-scrollbar,
|
|
.playlist-list::-webkit-scrollbar { width: 6px; }
|
|
.queue-tracks::-webkit-scrollbar-track,
|
|
.playlist-list::-webkit-scrollbar-track { background: transparent; }
|
|
.queue-tracks::-webkit-scrollbar-thumb,
|
|
.playlist-list::-webkit-scrollbar-thumb { background: var(--bg-active); border-radius: 3px; }
|
|
</style>
|