2290 lines
No EOL
51 KiB
CSS
2290 lines
No EOL
51 KiB
CSS
/* SoulSync WebUI - Replicating PyQt6 GUI Styling */
|
|
|
|
/* Reset and Base Styles */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
|
|
background: #121212;
|
|
color: #ffffff;
|
|
overflow: hidden;
|
|
height: 100vh;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Main Container Layout */
|
|
.main-container {
|
|
display: flex;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
}
|
|
|
|
/* ======================================
|
|
SIDEBAR STYLING - Matching ModernSidebar
|
|
====================================== */
|
|
|
|
.sidebar {
|
|
width: 240px;
|
|
background: linear-gradient(135deg, #0d1117 0%, #121212 30%, #0a0a0a 100%);
|
|
border-right: 1px solid rgba(29, 185, 84, 0.1);
|
|
border-top-right-radius: 12px;
|
|
border-bottom-right-radius: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Sidebar Header */
|
|
.sidebar-header {
|
|
height: 95px;
|
|
background: linear-gradient(180deg, rgba(29, 185, 84, 0.08) 0%, rgba(29, 185, 84, 0.03) 40%, transparent 100%);
|
|
border-bottom: 1px solid rgba(29, 185, 84, 0.15);
|
|
border-top-right-radius: 12px;
|
|
padding: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.app-name {
|
|
font-family: 'SF Pro Display', -apple-system, sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
background: linear-gradient(90deg, #ffffff 0%, #1ed760 60%, #1db954 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
letter-spacing: -0.8px;
|
|
margin: 0;
|
|
}
|
|
|
|
.app-subtitle {
|
|
font-family: 'SF Pro Text', -apple-system, sans-serif;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.65);
|
|
letter-spacing: 0.2px;
|
|
margin: 0;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* Navigation Buttons */
|
|
.sidebar-nav {
|
|
padding: 25px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.nav-button {
|
|
height: 52px;
|
|
width: 216px;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 16px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 0 18px;
|
|
transition: all 0.3s ease;
|
|
font-family: 'SF Pro Text', -apple-system, sans-serif;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.nav-button:hover {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
|
|
border-left: 2px solid rgba(255, 255, 255, 0.2);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.nav-button.active {
|
|
background: linear-gradient(135deg, rgba(29, 185, 84, 0.18) 0%, rgba(29, 185, 84, 0.12) 50%, rgba(29, 185, 84, 0.08) 100%);
|
|
border-left: 3px solid #1ed760;
|
|
border: 1px solid rgba(29, 185, 84, 0.2);
|
|
}
|
|
|
|
.nav-button.active:hover {
|
|
background: linear-gradient(135deg, rgba(29, 185, 84, 0.25) 0%, rgba(29, 185, 84, 0.18) 50%, rgba(29, 185, 84, 0.12) 100%);
|
|
border: 1px solid rgba(29, 185, 84, 0.3);
|
|
}
|
|
|
|
.nav-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
border-radius: 14px;
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.nav-button.active .nav-icon {
|
|
color: #1ed760;
|
|
background: linear-gradient(135deg, rgba(29, 185, 84, 0.25) 0%, rgba(30, 215, 96, 0.2) 100%);
|
|
border: 1px solid rgba(29, 185, 84, 0.3);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.nav-text {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
letter-spacing: 0.1px;
|
|
}
|
|
|
|
.nav-button.active .nav-text {
|
|
color: #1ed760;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Sidebar Spacer */
|
|
.sidebar-spacer {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Media Player Section - Matching MediaPlayer widget */
|
|
.media-player {
|
|
background: linear-gradient(180deg, rgba(26, 26, 26, 0.95) 0%, rgba(18, 18, 18, 0.98) 50%, rgba(12, 12, 12, 1.0) 100%);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 12px;
|
|
margin: 8px 10px;
|
|
padding: 18px 18px 12px 18px;
|
|
min-height: 85px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.media-player:hover {
|
|
border: 1px solid rgba(29, 185, 84, 0.2);
|
|
background: linear-gradient(180deg, rgba(29, 185, 84, 0.08) 0%, rgba(26, 26, 26, 0.95) 50%, rgba(18, 18, 18, 1.0) 100%);
|
|
}
|
|
|
|
.loading-animation {
|
|
height: 12px;
|
|
margin-bottom: 12px;
|
|
position: relative;
|
|
}
|
|
|
|
.loading-bar {
|
|
height: 4px;
|
|
background: #2a2a2a;
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.loading-progress {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #1db954 0%, #1ed760 100%);
|
|
border-radius: 2px;
|
|
width: 0%;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.loading-text {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-family: 'Segoe UI', sans-serif;
|
|
font-size: 7px;
|
|
font-weight: 500;
|
|
color: #b4b4b4;
|
|
line-height: 8px;
|
|
}
|
|
|
|
.media-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.media-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.track-title {
|
|
font-family: 'Spotify Circular', 'SF Pro Display', -apple-system, sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
letter-spacing: -0.3px;
|
|
line-height: 1.2;
|
|
margin-bottom: 2px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.track-title:hover {
|
|
color: #1ed760;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.artist-name {
|
|
font-family: 'Spotify Circular', -apple-system, sans-serif;
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
color: #b3b3b3;
|
|
letter-spacing: 0.1px;
|
|
margin-top: 1px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.play-button {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 20px;
|
|
background: #1ed760;
|
|
border: none;
|
|
color: #000000;
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.play-button:hover:not(:disabled) {
|
|
background: #1fdf64;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.play-button:active:not(:disabled) {
|
|
background: #1ca851;
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.play-button:disabled {
|
|
background: #535353;
|
|
color: #b3b3b3;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.media-expanded {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.album-name {
|
|
font-family: 'Spotify Circular', -apple-system, sans-serif;
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
color: #a7a7a7;
|
|
letter-spacing: 0.1px;
|
|
margin-bottom: 4px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.media-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.volume-control {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.volume-icon {
|
|
color: #b3b3b3;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.volume-slider {
|
|
width: 80px;
|
|
height: 20px;
|
|
background: transparent;
|
|
outline: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.volume-slider::-webkit-slider-track {
|
|
width: 100%;
|
|
height: 3px;
|
|
background: #4f4f4f;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.volume-slider::-webkit-slider-thumb {
|
|
appearance: none;
|
|
width: 12px;
|
|
height: 12px;
|
|
background: #ffffff;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
margin-top: -4px;
|
|
}
|
|
|
|
.volume-slider::-webkit-slider-thumb:hover {
|
|
background: #1ed760;
|
|
}
|
|
|
|
.volume-slider::-webkit-slider-runnable-track {
|
|
background: linear-gradient(to right, #1ed760 0%, #1ed760 var(--volume-percent, 70%), #4f4f4f var(--volume-percent, 70%), #4f4f4f 100%);
|
|
}
|
|
|
|
.stop-button {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid #b3b3b3;
|
|
color: #ffffff;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.stop-button:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border: 1px solid #ffffff;
|
|
}
|
|
|
|
.stop-button:active:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.25);
|
|
}
|
|
|
|
.stop-button:disabled {
|
|
background: transparent;
|
|
border: 1px solid #2a2a2a;
|
|
color: #535353;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.no-track-message {
|
|
color: #6a6a6a;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
text-align: center;
|
|
padding: 20px 16px;
|
|
letter-spacing: 0.2px;
|
|
font-family: 'Spotify Circular', -apple-system, sans-serif;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* Crypto Donation Section - Matching CryptoDonationWidget */
|
|
.crypto-donation {
|
|
background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 30%, rgba(255, 255, 255, 0.04) 100%);
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
|
|
padding: 15px 0;
|
|
}
|
|
|
|
.donation-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 20px 8px 20px;
|
|
}
|
|
|
|
.donation-title {
|
|
font-family: 'SF Pro Text', -apple-system, sans-serif;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
letter-spacing: 0.2px;
|
|
}
|
|
|
|
.toggle-button {
|
|
width: 40px;
|
|
height: 20px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 10px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 8px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.toggle-button:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.donation-addresses {
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.donation-item {
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 4px 12px;
|
|
margin: 0 0 4px 0;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.donation-item:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.donation-name {
|
|
font-family: 'SF Pro Text', -apple-system, sans-serif;
|
|
font-size: 9px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.donation-address, .donation-link {
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 8px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.donation-link {
|
|
font-family: 'SF Pro Text', -apple-system, sans-serif;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Version Section - Matching version widget */
|
|
.version-section {
|
|
height: 45px;
|
|
background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 30%, rgba(255, 255, 255, 0.04) 100%);
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
|
|
margin: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 12px 20px;
|
|
}
|
|
|
|
.version-button {
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-family: 'SF Pro Text', -apple-system, sans-serif;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.1px;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.version-button:hover {
|
|
color: #1ed760;
|
|
background: rgba(29, 185, 84, 0.1);
|
|
border: 1px solid rgba(29, 185, 84, 0.2);
|
|
}
|
|
|
|
.version-button:active {
|
|
background: rgba(29, 185, 84, 0.15);
|
|
}
|
|
|
|
/* Status Section - Matching status indicators */
|
|
.status-section {
|
|
height: fit-content;
|
|
background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 30%, rgba(255, 255, 255, 0.04) 100%);
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-bottom-right-radius: 12px;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.status-title {
|
|
font-family: 'SF Pro Text', -apple-system, sans-serif;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
letter-spacing: 0.2px;
|
|
padding: 0 20px 8px 20px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.status-indicator {
|
|
height: 38px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 8px 20px;
|
|
}
|
|
|
|
.status-dot {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 9px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.status-dot.connected {
|
|
color: #1ed760;
|
|
background: linear-gradient(135deg, rgba(29, 185, 84, 0.2) 0%, rgba(30, 215, 96, 0.15) 100%);
|
|
border: 1px solid rgba(29, 185, 84, 0.3);
|
|
}
|
|
|
|
.status-dot.connected::before {
|
|
content: "●";
|
|
}
|
|
|
|
.status-dot.disconnected {
|
|
color: #ff6b6b;
|
|
background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 107, 107, 0.1) 100%);
|
|
border: 1px solid rgba(255, 107, 107, 0.2);
|
|
}
|
|
|
|
.status-dot.disconnected::before {
|
|
content: "●";
|
|
}
|
|
|
|
.status-name {
|
|
font-family: 'SF Pro Text', -apple-system, sans-serif;
|
|
font-size: 10px;
|
|
letter-spacing: 0.1px;
|
|
min-width: 85px;
|
|
}
|
|
|
|
.status-indicator:has(.connected) .status-name {
|
|
color: rgba(255, 255, 255, 0.95);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.status-indicator:has(.disconnected) .status-name {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* =====================================
|
|
MAIN CONTENT AREA STYLING
|
|
===================================== */
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
background: #121212;
|
|
overflow: auto;
|
|
}
|
|
|
|
.page {
|
|
display: none;
|
|
height: 100%;
|
|
padding: 40px;
|
|
}
|
|
|
|
.page.active {
|
|
display: block;
|
|
}
|
|
|
|
.page-header {
|
|
margin-bottom: 30px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.page-header h2 {
|
|
font-family: 'SF Pro Display', -apple-system, sans-serif;
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
margin: 0;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
/* Dashboard Page Styling */
|
|
.dashboard-content {
|
|
display: flex;
|
|
gap: 40px;
|
|
height: calc(100vh - 150px);
|
|
}
|
|
|
|
.activity-section {
|
|
flex: 1;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.activity-section h3 {
|
|
font-family: 'SF Pro Text', -apple-system, sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.activity-feed {
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.activity-item {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.activity-time {
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
min-width: 80px;
|
|
}
|
|
|
|
.activity-text {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
flex: 1;
|
|
}
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 16px;
|
|
width: 300px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
|
|
border: 1px solid rgba(29, 185, 84, 0.2);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-value {
|
|
font-family: 'SF Pro Display', -apple-system, sans-serif;
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
color: #1ed760;
|
|
line-height: 1;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Settings Page Styling - Two Column Layout */
|
|
.settings-content {
|
|
max-width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.settings-columns {
|
|
display: flex;
|
|
gap: 24px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.settings-left-column, .settings-right-column {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.settings-group {
|
|
background: #282828;
|
|
border: 1px solid #404040;
|
|
border-radius: 8px;
|
|
padding: 16px 16px 16px 16px;
|
|
}
|
|
|
|
.settings-group h3 {
|
|
font-family: 'SF Pro Text', -apple-system, sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
margin-bottom: 15px;
|
|
margin-top: 10px;
|
|
padding-left: 10px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
/* API Service Frames */
|
|
.api-service-frame {
|
|
background: #333333;
|
|
border: 1px solid #444444;
|
|
border-radius: 8px;
|
|
padding: 8px 12px 12px 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.service-title {
|
|
font-family: 'Arial', sans-serif;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
margin-bottom: 8px;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.spotify-title {
|
|
color: #1db954;
|
|
}
|
|
|
|
.tidal-title {
|
|
color: #ff6600;
|
|
}
|
|
|
|
.soulseek-title {
|
|
color: #5dade2;
|
|
}
|
|
|
|
/* Server Toggle Buttons */
|
|
.server-toggle-container {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.server-toggle-btn {
|
|
flex: 1;
|
|
padding: 8px 16px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 6px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.server-toggle-btn.active {
|
|
background: rgba(29, 185, 84, 0.2);
|
|
border-color: rgba(29, 185, 84, 0.5);
|
|
color: #1ed760;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.server-toggle-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.server-toggle-btn.active:hover {
|
|
background: rgba(29, 185, 84, 0.3);
|
|
}
|
|
|
|
.server-config-container {
|
|
padding-top: 8px;
|
|
}
|
|
|
|
/* Callback Info Styling */
|
|
.callback-info {
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.callback-label {
|
|
color: #ffffff;
|
|
font-size: 11px;
|
|
margin-top: 8px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.callback-url {
|
|
color: #1db954;
|
|
font-size: 11px;
|
|
font-family: 'Courier New', monospace;
|
|
background-color: rgba(29, 185, 84, 0.1);
|
|
border: 1px solid rgba(29, 185, 84, 0.3);
|
|
border-radius: 4px;
|
|
padding: 6px 8px;
|
|
margin-bottom: 6px;
|
|
user-select: all;
|
|
cursor: text;
|
|
}
|
|
|
|
.callback-help {
|
|
color: #ffffff;
|
|
font-size: 10px;
|
|
font-style: italic;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
/* Form Styling */
|
|
.form-group {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.form-group{
|
|
option{
|
|
color: black;
|
|
&:hover{
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.form-group input, .form-group select {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 6px;
|
|
color: #ffffff;
|
|
font-size: 12px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.form-group input:focus, .form-group select:focus {
|
|
outline: none;
|
|
border-color: #1ed760;
|
|
background: rgba(29, 185, 84, 0.05);
|
|
}
|
|
|
|
/* Checkbox Styling */
|
|
.checkbox-label {
|
|
display: flex !important;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
font-size: 12px !important;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.checkbox-label input[type="checkbox"] {
|
|
width: 16px !important;
|
|
height: 16px !important;
|
|
margin: 0 !important;
|
|
accent-color: #1ed760;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Help Text */
|
|
.help-text {
|
|
color: #ffffff;
|
|
font-size: 10px;
|
|
font-style: italic;
|
|
line-height: 1.3;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* Supported Formats */
|
|
.supported-formats {
|
|
color: #ffffff;
|
|
font-size: 11px;
|
|
background: transparent;
|
|
border: none;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
/* Read-only Fields */
|
|
.readonly-field {
|
|
padding: 8px 12px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 6px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 12px;
|
|
font-family: 'Courier New', monospace;
|
|
}
|
|
|
|
/* Form Actions */
|
|
.form-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.test-button, .detect-button {
|
|
padding: 6px 12px;
|
|
border-radius: 6px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.test-button {
|
|
background: rgba(29, 185, 84, 0.1);
|
|
color: #1ed760;
|
|
border: 1px solid rgba(29, 185, 84, 0.3);
|
|
}
|
|
|
|
.test-button:hover {
|
|
background: rgba(29, 185, 84, 0.2);
|
|
border-color: rgba(29, 185, 84, 0.5);
|
|
}
|
|
|
|
.detect-button {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.detect-button:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* Save Button */
|
|
.save-button {
|
|
background: #1db954;
|
|
border: none;
|
|
border-radius: 22px;
|
|
color: #000000;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
padding: 12px 32px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.save-button:hover {
|
|
background: #1ed760;
|
|
}
|
|
|
|
.settings-actions {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
/* Additional Settings Components */
|
|
.path-input-group {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.path-input-group input {
|
|
flex: 1;
|
|
}
|
|
|
|
.browse-button {
|
|
padding: 10px 16px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.browse-button:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.auth-button {
|
|
background: #1db954;
|
|
color: #ffffff;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.auth-button {
|
|
background: #1db954;
|
|
color: #ffffff;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 15px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.auth-button:hover {
|
|
background: #1ed760;
|
|
}
|
|
|
|
.tidal-title + * .auth-button {
|
|
background: #ff6600;
|
|
}
|
|
|
|
.tidal-title + * .auth-button:hover {
|
|
background: #e55500;
|
|
}
|
|
|
|
/* API Test Buttons */
|
|
.api-test-buttons {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.api-test-buttons .test-button {
|
|
flex: 1;
|
|
min-width: 80px;
|
|
}
|
|
|
|
/* Server Test Section */
|
|
.server-test-section {
|
|
margin-top: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.server-test-btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.reset-button, .export-button, .import-button {
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border: none;
|
|
}
|
|
|
|
.reset-button {
|
|
background: rgba(255, 107, 107, 0.1);
|
|
color: #ff6b6b;
|
|
border: 1px solid rgba(255, 107, 107, 0.3);
|
|
}
|
|
|
|
.reset-button:hover {
|
|
background: rgba(255, 107, 107, 0.2);
|
|
}
|
|
|
|
.export-button, .import-button {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.export-button:hover, .import-button:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.cancel-button {
|
|
padding: 6px 12px;
|
|
background: rgba(255, 107, 107, 0.1);
|
|
color: #ff6b6b;
|
|
border: 1px solid rgba(255, 107, 107, 0.3);
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.cancel-button:hover {
|
|
background: rgba(255, 107, 107, 0.2);
|
|
}
|
|
|
|
.status-display {
|
|
margin-top: 12px;
|
|
padding: 8px 12px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.status-display .status-text {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.status-display.connected .status-text {
|
|
color: #1ed760;
|
|
}
|
|
|
|
.status-display.error .status-text {
|
|
color: #ff6b6b;
|
|
}
|
|
|
|
.detection-progress {
|
|
margin-top: 12px;
|
|
padding: 12px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.detection-progress .progress-bar {
|
|
width: 100%;
|
|
height: 6px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.detection-progress .progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #1db954 0%, #1ed760 100%);
|
|
width: 0%;
|
|
transition: width 0.3s ease;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.7; }
|
|
}
|
|
|
|
.detection-progress .progress-text {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
/* Form styling improvements */
|
|
.form-group input[type="checkbox"] {
|
|
width: auto;
|
|
margin-right: 8px;
|
|
accent-color: #1ed760;
|
|
}
|
|
|
|
.form-group input[type="number"] {
|
|
width: 120px;
|
|
}
|
|
|
|
.form-group select {
|
|
width: 200px;
|
|
}
|
|
|
|
/* Sync Page Styling */
|
|
.sync-content {
|
|
max-width: 600px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.playlist-section {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.playlist-section h3 {
|
|
font-size: 16px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.playlist-selector {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
color: #ffffff;
|
|
font-size: 14px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.sync-button {
|
|
background: #1ed760;
|
|
color: #000000;
|
|
padding: 12px 24px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sync-button:hover {
|
|
background: #1fdf64;
|
|
}
|
|
|
|
.sync-progress {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.progress-bar {
|
|
width: 100%;
|
|
height: 8px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #1db954 0%, #1ed760 100%);
|
|
width: 0%;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.progress-text {
|
|
text-align: center;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* ======================================================= */
|
|
/* == STYLES FOR DOWNLOADS PAGE == */
|
|
/* ======================================================= */
|
|
|
|
/* Main Layout: Replicates QSplitter */
|
|
.downloads-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 370px; /* Left panel is flexible, right is fixed */
|
|
gap: 24px;
|
|
height: calc(100vh - 80px); /* Fill page height, accounting for padding */
|
|
padding: 0 40px 40px 40px;
|
|
}
|
|
|
|
.downloads-main-panel, .downloads-side-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
overflow: hidden; /* Prevent content from overflowing panels */
|
|
}
|
|
|
|
.downloads-side-panel{
|
|
margin-top: 100px;
|
|
}
|
|
|
|
/* Header: Replicates create_elegant_header() */
|
|
.downloads-header {
|
|
padding: 16px 0;
|
|
}
|
|
.downloads-header .downloads-title {
|
|
font-family: 'Segoe UI', sans-serif;
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
letter-spacing: 1px;
|
|
}
|
|
.downloads-header .downloads-subtitle {
|
|
font-family: 'Segoe UI', sans-serif;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
font-weight: 300;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* Search Bar: Replicates create_elegant_search_bar() */
|
|
.search-bar-container {
|
|
background: linear-gradient(to bottom, rgba(50, 50, 50, 0.8), rgba(40, 40, 40, 0.9));
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(29, 185, 84, 0.3);
|
|
padding: 16px 20px;
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: center;
|
|
}
|
|
#downloads-search-input {
|
|
flex-grow: 1;
|
|
height: 40px;
|
|
background: rgba(60, 60, 60, 0.7);
|
|
border: 2px solid rgba(100, 100, 100, 0.3);
|
|
border-radius: 20px;
|
|
padding: 0 20px;
|
|
color: #ffffff;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
outline: none;
|
|
transition: all 0.2s ease;
|
|
}
|
|
#downloads-search-input:focus {
|
|
border-color: rgba(29, 185, 84, 0.8);
|
|
background: rgba(70, 70, 70, 0.9);
|
|
}
|
|
#downloads-search-btn, #downloads-cancel-btn {
|
|
height: 40px;
|
|
border: none;
|
|
border-radius: 20px;
|
|
font-size: 13px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: background 0.2s ease;
|
|
}
|
|
#downloads-search-btn {
|
|
background: linear-gradient(to bottom, #1ed760, #1db954);
|
|
color: #000000;
|
|
width: 120px;
|
|
}
|
|
#downloads-search-btn:hover { background: linear-gradient(to bottom, #1fdf64, #1ed760); }
|
|
#downloads-cancel-btn {
|
|
background: linear-gradient(to bottom, rgba(220, 53, 69, 0.9), rgba(200, 43, 58, 0.9));
|
|
color: #ffffff;
|
|
width: 100px;
|
|
}
|
|
#downloads-cancel-btn:hover {
|
|
background: linear-gradient(to bottom, rgba(240, 73, 89, 1.0), rgba(220, 63, 79, 1.0));
|
|
}
|
|
|
|
|
|
/* Search Status Bar */
|
|
.search-status-container {
|
|
background: linear-gradient(to right, rgba(29, 185, 84, 0.12), rgba(29, 185, 84, 0.08));
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(29, 185, 84, 0.25);
|
|
padding: 8px 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
#search-status-text {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 11px;
|
|
}
|
|
|
|
/* Search Results Area */
|
|
.search-results-container {
|
|
background: rgba(20, 20, 20, 0.3);
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(64, 64, 64, 0.2);
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1; /* Take remaining vertical space */
|
|
overflow: hidden;
|
|
}
|
|
.search-results-header h3 {
|
|
color: rgba(255, 255, 255, 0.95);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
margin-bottom: 12px;
|
|
}
|
|
.search-results-scroll-area {
|
|
overflow-y: auto;
|
|
flex-grow: 1;
|
|
padding-right: 5px; /* Space for scrollbar */
|
|
}
|
|
.search-results-placeholder {
|
|
text-align: center;
|
|
padding: 50px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* SearchResultItem (Single Track) Styling */
|
|
.search-result-item {
|
|
background: linear-gradient(to bottom, rgba(48, 48, 52, 0.95), rgba(38, 38, 42, 0.98));
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(70, 70, 76, 0.5);
|
|
margin-bottom: 8px;
|
|
padding: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
transition: all 0.2s ease;
|
|
}
|
|
.search-result-item:hover {
|
|
border-color: rgba(29, 185, 84, 0.8);
|
|
transform: translateY(-2px);
|
|
}
|
|
.result-item__main-content {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
flex-grow: 1;
|
|
min-width: 0; /* Prevents text overflow issues */
|
|
}
|
|
.result-item__icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 22px;
|
|
background: linear-gradient(to bottom right, rgba(29, 185, 84, 0.3), rgba(24, 156, 71, 0.2));
|
|
border: 2px solid rgba(29, 185, 84, 0.4);
|
|
font-size: 18px;
|
|
color: #1ed760;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
.result-item__info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
.result-item__title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.result-item__title {
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.result-item__secondary-info {
|
|
font-size: 9px;
|
|
color: rgba(179, 179, 179, 0.8);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.result-item__actions { display: flex; gap: 8px; }
|
|
.action-btn {
|
|
width: 46px; height: 46px; border-radius: 23px;
|
|
border: 2px solid; font-size: 18px; font-weight: bold;
|
|
cursor: pointer; transition: all 0.2s ease;
|
|
display: flex; align-items: center; justify-content: center;
|
|
}
|
|
.action-btn:hover { transform: scale(1.1); }
|
|
.action-btn--stream {
|
|
background: linear-gradient(to bottom, #ffc107, #ff9800);
|
|
border-color: rgba(255, 193, 7, 0.3);
|
|
color: #000;
|
|
}
|
|
.action-btn--download {
|
|
background: linear-gradient(to bottom, #1ed760, #1db954);
|
|
border-color: rgba(29, 185, 84, 0.3);
|
|
color: #000;
|
|
}
|
|
.action-btn--matched {
|
|
background: linear-gradient(to bottom, #9333ea, #7c28c0);
|
|
border-color: rgba(147, 51, 234, 0.3);
|
|
color: #fff;
|
|
}
|
|
|
|
/* AlbumResultItem Styling */
|
|
.album-result-item {
|
|
background: linear-gradient(to bottom, rgba(52, 52, 58, 0.95), rgba(42, 42, 48, 0.98));
|
|
border-radius: 20px;
|
|
border: 1px solid rgba(75, 75, 82, 0.5);
|
|
margin-bottom: 10px;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition: all 0.2s ease;
|
|
}
|
|
.album-result-item:hover {
|
|
border-color: rgba(29, 185, 84, 0.8);
|
|
}
|
|
.album-item__header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 16px;
|
|
cursor: pointer;
|
|
}
|
|
.album-item__icon-container { text-align: center; }
|
|
.album-item__icon {
|
|
width: 48px; height: 48px; border-radius: 24px;
|
|
background: linear-gradient(to bottom right, rgba(29, 185, 84, 0.2), rgba(24, 156, 71, 0.15));
|
|
border: 2px solid rgba(29, 185, 84, 0.4);
|
|
font-size: 24px; color: #1ed760;
|
|
display: flex; align-items: center; justify-content: center;
|
|
}
|
|
.album-item__expand-indicator {
|
|
color: rgba(29, 185, 84, 0.9); font-size: 14px; font-weight: bold;
|
|
background: rgba(29, 185, 84, 0.1); border-radius: 10px;
|
|
width: 20px; height: 20px; line-height: 20px; margin: 4px auto 0;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
.album-item__info { flex-grow: 1; min-width: 0; }
|
|
.album-item__title { font-size: 12px; font-weight: bold; color: #fff; }
|
|
.album-item__details { font-size: 10px; color: rgba(179, 179, 179, 0.9); margin: 2px 0; }
|
|
.album-item__user { font-size: 9px; color: rgba(29, 185, 84, 0.8); }
|
|
.album-item__actions { display: flex; flex-direction: column; gap: 4px; }
|
|
.album-action-btn {
|
|
height: 36px; width: 160px; border-radius: 18px; border: 2px solid;
|
|
font-size: 12px; font-weight: bold; cursor: pointer; transition: background 0.2s ease;
|
|
}
|
|
.album-action-btn--download {
|
|
background: linear-gradient(to bottom, #1ed760, #1db954);
|
|
border-color: rgba(29, 185, 84, 0.3); color: #000;
|
|
}
|
|
.album-action-btn--download:hover {
|
|
background: linear-gradient(to bottom, #1fdf64, #1ed760);
|
|
}
|
|
.album-action-btn--matched {
|
|
background: linear-gradient(to bottom, #9333ea, #7c28c0);
|
|
border-color: rgba(147, 51, 234, 0.3); color: #fff;
|
|
}
|
|
.album-action-btn--matched:hover {
|
|
background: linear-gradient(to bottom, #a747fe, #903fdd);
|
|
}
|
|
|
|
|
|
/* Album Expansion and TrackItem Styling */
|
|
.album-item__tracks-container {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.4s ease-in-out;
|
|
}
|
|
.album-result-item.expanded .album-item__tracks-container {
|
|
max-height: 1000px; /* Large value to allow content to expand */
|
|
}
|
|
.album-result-item.expanded .album-item__expand-indicator {
|
|
transform: rotate(90deg);
|
|
}
|
|
.track-item {
|
|
background: rgba(40, 40, 40, 0.5); border-radius: 8px;
|
|
border: 1px solid rgba(60, 60, 60, 0.3); margin: 2px 16px 6px 80px;
|
|
padding: 8px 12px; display: flex; align-items: center; justify-content: space-between;
|
|
}
|
|
.track-item:hover { background: rgba(50, 50, 50, 0.7); border-color: rgba(29, 185, 84, 0.5); }
|
|
.track-item__info { flex-grow: 1; min-width: 0; }
|
|
.track-item__title { display: block; font-size: 11px; font-weight: bold; color: #fff; }
|
|
.track-item__details { display: block; font-size: 9px; color: rgba(179, 179, 179, 0.8); }
|
|
.track-item__actions { display: flex; gap: 8px; }
|
|
.track-item .action-btn { width: 32px; height: 32px; border-radius: 16px; font-size: 12px; }
|
|
|
|
/* Right Panel: Controls & Download Queue */
|
|
.controls-panel {
|
|
background: linear-gradient(to bottom, rgba(40, 40, 40, 0.85), rgba(25, 25, 25, 0.95));
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(80, 80, 80, 0.4);
|
|
padding: 14px 8px;
|
|
flex-shrink: 0; /* Prevent this panel from shrinking */
|
|
}
|
|
.controls-panel__header {
|
|
font-size: 12px; font-weight: bold; color: rgba(255, 255, 255, 0.9);
|
|
padding: 6px 14px;
|
|
}
|
|
.controls-panel__stats {
|
|
background: linear-gradient(to bottom, rgba(45, 45, 45, 0.7), rgba(35, 35, 35, 0.8));
|
|
border-radius: 10px; border: 1px solid rgba(80, 80, 80, 0.3);
|
|
padding: 8px 10px; margin: 0 6px;
|
|
font-size: 9px; color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
.controls-panel__actions { padding: 6px; }
|
|
.controls-panel__clear-btn {
|
|
width: 100%; height: 28px;
|
|
background: linear-gradient(to bottom, rgba(220, 53, 69, 0.4), rgba(220, 53, 69, 0.25));
|
|
border: 1px solid rgba(220, 53, 69, 0.8); color: #dc3545;
|
|
border-radius: 14px; font-size: 10px; font-weight: 600; cursor: pointer;
|
|
transition: background 0.2s ease;
|
|
}
|
|
.controls-panel__clear-btn:hover {
|
|
background: linear-gradient(to bottom, rgba(220, 53, 69, 0.5), rgba(220, 53, 69, 0.35));
|
|
}
|
|
|
|
|
|
/* Download Manager (Tabs & Queue) */
|
|
.download-manager { flex-grow: 1; display: flex; flex-direction: column; }
|
|
.download-manager__tabs { display: flex; }
|
|
.tab-btn {
|
|
flex-grow: 1; padding: 6px 12px;
|
|
background: #404040; color: #ffffff;
|
|
border: 1px solid #606060; border-bottom: none;
|
|
font-size: 10px; font-weight: bold; cursor: pointer;
|
|
transition: background 0.2s ease;
|
|
}
|
|
.tab-btn:first-child { border-top-left-radius: 8px; }
|
|
.tab-btn:last-child { border-top-right-radius: 8px; }
|
|
.tab-btn.active {
|
|
background: #1db954; color: #000000; border-color: #1db954;
|
|
}
|
|
.tab-btn:hover:not(.active) {
|
|
background: #505050;
|
|
}
|
|
.download-manager__content {
|
|
background: #282828; border: 1px solid #404040;
|
|
border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;
|
|
padding: 8px; flex-grow: 1;
|
|
}
|
|
.download-queue { display: none; }
|
|
.download-queue.active { display: block; }
|
|
.download-queue__empty-message { text-align: center; padding: 20px; color: rgba(255, 255, 255, 0.5); font-size: 12px; }
|
|
|
|
/* Download Queue Item */
|
|
.download-item {
|
|
background: rgba(45, 45, 45, 0.95); border-radius: 6px;
|
|
border: 1px solid rgba(60, 60, 60, 0.6); padding: 12px; margin-bottom: 6px;
|
|
}
|
|
.download-item__title {
|
|
font-size: 10px; font-weight: 500; color: #fff;
|
|
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
}
|
|
.download-item__bottom-row {
|
|
display: flex; align-items: center; justify-content: space-between; gap: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
.download-item__uploader {
|
|
font-size: 9px; color: #b8b8b8; flex-grow: 1;
|
|
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
}
|
|
.download-item__progress-container { width: 90px; text-align: center; }
|
|
.progress-bar {
|
|
height: 6px; background: rgba(60, 60, 60, 0.8);
|
|
border-radius: 3px; overflow: hidden;
|
|
}
|
|
.progress-fill {
|
|
height: 100%; background: #1ed760; border-radius: 3px;
|
|
width: 0%; transition: width 0.2s linear;
|
|
}
|
|
.progress-text { font-size: 8px; color: #c0c0c0; }
|
|
.download-item__cancel-btn {
|
|
width: 60px; height: 35px; background: rgba(220, 53, 69, 0.9);
|
|
color: white; border: 1px solid rgba(220, 53, 69, 0.6);
|
|
border-radius: 4px; font-size: 9px; font-weight: 500; cursor: pointer;
|
|
transition: background 0.2s ease;
|
|
}
|
|
.download-item__cancel-btn:hover {
|
|
background: rgba(240, 73, 89, 1.0);
|
|
}
|
|
.download-item__status-container { width: 70px; text-align: right; }
|
|
.download-item__open-btn {
|
|
width: 60px; height: 35px; background: rgba(40, 167, 69, 0.9);
|
|
color: white; border: 1px solid rgba(29, 185, 84, 0.6);
|
|
border-radius: 4px; font-size: 9px; font-weight: 500; cursor: pointer;
|
|
transition: background 0.2s ease;
|
|
}
|
|
.download-item__open-btn:hover {
|
|
background: rgba(50, 187, 79, 1.0);
|
|
}
|
|
.download-item__status-text { font-weight: bold; font-size: 10px; }
|
|
.status--cancelled { color: #ffa500; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Artists Page Styling */
|
|
.artists-content {
|
|
height: calc(100vh - 150px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.artists-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
/* Loading Overlay */
|
|
.loading-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.8);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.loading-spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 4px solid rgba(255, 255, 255, 0.1);
|
|
border-top: 4px solid #1ed760;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
.loading-message {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
margin-top: 16px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Toast Notifications */
|
|
.toast-container {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
z-index: 10000;
|
|
}
|
|
|
|
.toast {
|
|
background: rgba(26, 26, 26, 0.95);
|
|
border: 1px solid rgba(29, 185, 84, 0.3);
|
|
border-radius: 8px;
|
|
padding: 16px 20px;
|
|
margin-bottom: 8px;
|
|
color: #ffffff;
|
|
font-size: 14px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
animation: slideIn 0.3s ease-out;
|
|
}
|
|
|
|
.toast.success {
|
|
border-color: rgba(29, 185, 84, 0.5);
|
|
background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, rgba(26, 26, 26, 0.95) 100%);
|
|
}
|
|
|
|
.toast.error {
|
|
border-color: rgba(255, 107, 107, 0.5);
|
|
background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(26, 26, 26, 0.95) 100%);
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* Desktop-Only Optimizations */
|
|
.main-container {
|
|
min-width: 1200px; /* Ensure minimum desktop width */
|
|
}
|
|
|
|
.sidebar {
|
|
min-width: 240px; /* Fixed sidebar width for desktop */
|
|
max-width: 240px;
|
|
}
|
|
|
|
.main-content {
|
|
min-width: 960px; /* Ensure content area has enough space */
|
|
}
|
|
|
|
/* Optimize for larger screens */
|
|
@media (min-width: 1440px) {
|
|
.stats-grid {
|
|
width: 350px; /* Wider stats on large monitors */
|
|
}
|
|
|
|
.settings-content {
|
|
max-width: 900px; /* Wider settings forms */
|
|
}
|
|
}
|
|
|
|
/* ===== VERSION MODAL STYLES ===== */
|
|
|
|
.version-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: rgba(0, 0, 0, 0.75);
|
|
backdrop-filter: blur(8px);
|
|
z-index: 9999;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 1;
|
|
transition: opacity 0.3s ease-in-out;
|
|
}
|
|
|
|
.version-modal-overlay.hidden {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.version-modal {
|
|
background: #1a1a1a;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
width: 600px;
|
|
max-width: 90vw;
|
|
height: 500px;
|
|
max-height: 90vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
|
|
transform: scale(1);
|
|
transition: transform 0.3s ease-in-out;
|
|
}
|
|
|
|
.version-modal-overlay.hidden .version-modal {
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
/* Header */
|
|
.version-modal-header {
|
|
padding: 30px 30px 15px 30px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-top-left-radius: 12px;
|
|
border-top-right-radius: 12px;
|
|
background: #1a1a1a;
|
|
}
|
|
|
|
.version-modal-title {
|
|
color: #ffffff;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.5px;
|
|
margin: 0 0 5px 0;
|
|
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
}
|
|
|
|
.version-modal-subtitle {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.1px;
|
|
margin: 0;
|
|
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
}
|
|
|
|
/* Content Area */
|
|
.version-modal-content {
|
|
flex: 1;
|
|
padding: 0;
|
|
overflow-y: auto;
|
|
background: #1a1a1a;
|
|
}
|
|
|
|
.version-modal-content::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.version-modal-content::-webkit-scrollbar-track {
|
|
background: #2a2a2a;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.version-modal-content::-webkit-scrollbar-thumb {
|
|
background: #555555;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.version-modal-content::-webkit-scrollbar-thumb:hover {
|
|
background: #666666;
|
|
}
|
|
|
|
.version-content-container {
|
|
padding: 25px 30px;
|
|
}
|
|
|
|
/* Feature Sections */
|
|
.version-feature-section {
|
|
margin-bottom: 25px;
|
|
padding: 18px 20px;
|
|
border-left: 3px solid rgba(29, 185, 84, 0.4);
|
|
margin-left: 5px;
|
|
background: transparent;
|
|
}
|
|
|
|
.version-section-title {
|
|
color: #1ed760;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.2px;
|
|
margin: 0 0 8px 0;
|
|
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
}
|
|
|
|
.version-section-description {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
margin: 0 0 12px 0;
|
|
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
}
|
|
|
|
.version-feature-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.version-feature-item {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 10px;
|
|
line-height: 1.5;
|
|
padding: 2px 0 2px 8px;
|
|
margin: 2px 0;
|
|
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
}
|
|
|
|
.version-usage-note {
|
|
color: #1ed760;
|
|
font-size: 10px;
|
|
line-height: 1.4;
|
|
margin: 8px 0 0 0;
|
|
padding: 8px 0;
|
|
font-style: italic;
|
|
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
}
|
|
|
|
/* Footer */
|
|
.version-modal-footer {
|
|
padding: 15px 30px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-bottom-left-radius: 12px;
|
|
border-bottom-right-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.version-modal-close {
|
|
background: #1db954;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
padding: 8px 25px;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.1px;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
}
|
|
|
|
.version-modal-close:hover {
|
|
background: #1ed760;
|
|
}
|
|
|
|
.version-modal-close:active {
|
|
background: #169c46;
|
|
}
|
|
|
|
/* Animation for modal appearance */
|
|
@keyframes modalFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.9);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.version-modal-overlay:not(.hidden) .version-modal {
|
|
animation: modalFadeIn 0.3s ease-out;
|
|
}
|
|
|
|
/* GUI-Matching Search Results Styling */
|
|
|
|
/* Single Track Card (SearchResultItem) */
|
|
.track-result-card {
|
|
background: linear-gradient(to bottom,
|
|
rgba(48, 48, 52, 0.95),
|
|
rgba(38, 38, 42, 0.98));
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(70, 70, 76, 0.5);
|
|
margin: 8px 4px;
|
|
padding: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.track-result-card:hover {
|
|
background: linear-gradient(to bottom,
|
|
rgba(55, 55, 60, 0.98),
|
|
rgba(45, 45, 50, 1.0));
|
|
border: 1px solid rgba(29, 185, 84, 0.8);
|
|
}
|
|
|
|
.track-icon {
|
|
background: linear-gradient(to bottom right,
|
|
rgba(29, 185, 84, 0.3),
|
|
rgba(24, 156, 71, 0.2));
|
|
border-radius: 22px;
|
|
border: 2px solid rgba(29, 185, 84, 0.4);
|
|
font-size: 18px;
|
|
color: rgba(29, 185, 84, 1.0);
|
|
width: 44px;
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.track-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.track-title {
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.track-artist {
|
|
font-size: 12px;
|
|
color: #b3b3b3;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.track-details {
|
|
font-size: 10px;
|
|
color: #888888;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.track-uploader {
|
|
font-size: 10px;
|
|
color: rgba(29, 185, 84, 1.0);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.track-actions {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.track-download-btn {
|
|
background: linear-gradient(to bottom,
|
|
rgba(29, 185, 84, 0.95),
|
|
rgba(24, 156, 71, 0.9));
|
|
border: 2px solid rgba(29, 185, 84, 0.3);
|
|
border-radius: 23px;
|
|
color: #000000;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
padding: 8px 16px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.track-download-btn:hover {
|
|
background: linear-gradient(to bottom,
|
|
rgba(30, 215, 96, 1.0),
|
|
rgba(25, 180, 80, 1.0));
|
|
}
|
|
|
|
/* Album Card (AlbumResultItem) */
|
|
.album-result-card {
|
|
background: linear-gradient(to bottom,
|
|
rgba(52, 52, 58, 0.95),
|
|
rgba(42, 42, 48, 0.98));
|
|
border-radius: 20px;
|
|
border: 1px solid rgba(75, 75, 82, 0.5);
|
|
margin: 8px 4px;
|
|
padding: 18px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.album-result-card:hover {
|
|
border: 1px solid rgba(29, 185, 84, 0.8);
|
|
}
|
|
|
|
.album-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
}
|
|
|
|
.album-icon {
|
|
font-size: 28px;
|
|
background: linear-gradient(to bottom right,
|
|
rgba(29, 185, 84, 0.2),
|
|
rgba(24, 156, 71, 0.15));
|
|
border-radius: 28px;
|
|
border: 2px solid rgba(29, 185, 84, 0.4);
|
|
width: 56px;
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(29, 185, 84, 1.0);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.album-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.album-title {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.album-artist {
|
|
font-size: 13px;
|
|
color: #b3b3b3;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.album-details {
|
|
font-size: 11px;
|
|
color: #888888;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.album-uploader {
|
|
font-size: 11px;
|
|
color: rgba(29, 185, 84, 1.0);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.album-actions {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.album-download-btn {
|
|
background: linear-gradient(to bottom,
|
|
rgba(29, 185, 84, 0.95),
|
|
rgba(24, 156, 71, 0.9));
|
|
border: 2px solid rgba(29, 185, 84, 0.3);
|
|
border-radius: 23px;
|
|
color: #000000;
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
padding: 10px 20px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.album-download-btn:hover {
|
|
background: linear-gradient(to bottom,
|
|
rgba(30, 215, 96, 1.0),
|
|
rgba(25, 180, 80, 1.0));
|
|
}
|
|
|
|
/* Album Expansion Functionality */
|
|
.album-card-header {
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.album-expand-indicator {
|
|
position: absolute;
|
|
left: -12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
font-size: 12px;
|
|
color: rgba(29, 185, 84, 0.8);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.album-result-card.expanded .album-expand-indicator {
|
|
transform: translateY(-50%) rotate(90deg);
|
|
}
|
|
|
|
/* Track List within Albums */
|
|
.album-track-list {
|
|
margin-top: 12px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid rgba(75, 75, 82, 0.3);
|
|
}
|
|
|
|
/* Individual Track Items (TrackItem) */
|
|
.track-item {
|
|
background: rgba(40, 40, 40, 0.5);
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(60, 60, 60, 0.3);
|
|
padding: 10px;
|
|
margin-bottom: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.track-item:hover {
|
|
background: rgba(50, 50, 50, 0.7);
|
|
border: 1px solid rgba(29, 185, 84, 0.5);
|
|
}
|
|
|
|
.track-item-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.track-item-title {
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
margin-bottom: 2px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.track-item-details {
|
|
font-size: 10px;
|
|
color: #888888;
|
|
}
|
|
|
|
.track-item-actions {
|
|
flex-shrink: 0;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.track-download-btn {
|
|
background: linear-gradient(to bottom,
|
|
rgba(29, 185, 84, 0.8),
|
|
rgba(24, 156, 71, 0.7));
|
|
border: 1px solid rgba(29, 185, 84, 0.4);
|
|
border-radius: 50%;
|
|
color: #000000;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
width: 28px;
|
|
height: 28px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.track-download-btn:hover {
|
|
background: linear-gradient(to bottom,
|
|
rgba(30, 215, 96, 0.9),
|
|
rgba(25, 180, 80, 0.8));
|
|
border-color: rgba(29, 185, 84, 0.6);
|
|
} |