1117 lines
22 KiB
CSS
1117 lines
22 KiB
CSS
/* Global Styles & Variables */
|
|
:root {
|
|
--bg-dark: #070913;
|
|
--bg-surface: rgba(15, 18, 36, 0.6);
|
|
--bg-surface-hover: rgba(22, 26, 54, 0.7);
|
|
--border-glass: rgba(255, 255, 255, 0.06);
|
|
--border-active: rgba(139, 92, 246, 0.4);
|
|
|
|
--primary: #8b5cf6;
|
|
--primary-hover: #a78bfa;
|
|
--primary-glow: rgba(139, 92, 246, 0.35);
|
|
|
|
--secondary: #6366f1;
|
|
--secondary-hover: #818cf8;
|
|
|
|
--success: #10b981;
|
|
--success-glow: rgba(16, 185, 129, 0.25);
|
|
--danger: #ef4444;
|
|
--text-main: #f3f4f6;
|
|
--text-muted: #9ca3af;
|
|
|
|
--font-sans: 'Outfit', sans-serif;
|
|
--shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
|
|
--transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: var(--font-sans);
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-dark);
|
|
color: var(--text-main);
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
/* Background Animated Glows */
|
|
.background-glow {
|
|
position: fixed;
|
|
width: 600px;
|
|
height: 600px;
|
|
border-radius: 50%;
|
|
filter: blur(140px);
|
|
z-index: -1;
|
|
opacity: 0.25;
|
|
pointer-events: none;
|
|
animation: pulse 12s infinite alternate ease-in-out;
|
|
}
|
|
|
|
.bg-glow-1 {
|
|
background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
|
|
top: -200px;
|
|
left: -200px;
|
|
}
|
|
|
|
.bg-glow-2 {
|
|
background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
|
|
bottom: -200px;
|
|
right: -200px;
|
|
animation-delay: -6s;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% { transform: scale(1) translate(0, 0); opacity: 0.2; }
|
|
100% { transform: scale(1.2) translate(100px, 50px); opacity: 0.3; }
|
|
}
|
|
|
|
/* App Container */
|
|
.app-container {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Header */
|
|
.main-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px;
|
|
margin-bottom: 24px;
|
|
background: var(--bg-surface);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--border-glass);
|
|
border-radius: 20px;
|
|
box-shadow: var(--shadow-premium);
|
|
}
|
|
|
|
.logo-area {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.logo-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
|
|
border-radius: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
box-shadow: 0 4px 15px var(--primary-glow);
|
|
}
|
|
|
|
.logo-icon i {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.logo-text h1 {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
letter-spacing: -0.5px;
|
|
background: linear-gradient(to right, #ffffff, #d8b4fe);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.logo-text .subtitle {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.bot-status-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
padding: 8px 16px;
|
|
border-radius: 30px;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
border: 1px solid var(--border-glass);
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.status-indicator {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
|
|
.status-indicator.online {
|
|
background-color: var(--success);
|
|
box-shadow: 0 0 10px var(--success-glow);
|
|
}
|
|
|
|
.status-indicator.offline {
|
|
background-color: var(--danger);
|
|
box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
|
|
}
|
|
|
|
/* Dashboard Grid Layout */
|
|
.dashboard-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
|
|
gap: 24px;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.dashboard-grid {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
}
|
|
|
|
.grid-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Glassmorphic Cards */
|
|
.glass-card {
|
|
background: var(--bg-surface);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--border-glass);
|
|
border-radius: 24px;
|
|
padding: 24px;
|
|
box-shadow: var(--shadow-premium);
|
|
transition: var(--transition-smooth);
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.glass-card:hover {
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.card-title i {
|
|
color: var(--primary);
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
/* Inputs & Buttons Styling */
|
|
.premium-select, .premium-input {
|
|
width: 100%;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 1px solid var(--border-glass);
|
|
color: var(--text-main);
|
|
padding: 12px 16px;
|
|
border-radius: 12px;
|
|
outline: none;
|
|
font-size: 0.95rem;
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.premium-select:focus, .premium-input:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 10px var(--primary-glow);
|
|
background: rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.premium-select option {
|
|
background-color: var(--bg-dark);
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.control-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 12px 24px;
|
|
border-radius: 12px;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: var(--transition-smooth);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 5px 15px var(--primary-glow);
|
|
}
|
|
|
|
.btn-primary:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.btn-glow {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.btn-glow::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: -100%;
|
|
width: 100%; height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
transition: 0.5s;
|
|
}
|
|
|
|
.btn-glow:hover::after {
|
|
left: 100%;
|
|
}
|
|
|
|
/* Vinyl / Wave Visualizer */
|
|
.visualizer-container {
|
|
height: 180px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: relative;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.vinyl-record {
|
|
width: 150px;
|
|
height: 150px;
|
|
border-radius: 50%;
|
|
background: #09090b;
|
|
position: relative;
|
|
box-shadow: 0 10px 25px rgba(0,0,0,0.8);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border: 4px solid #18181b;
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.vinyl-center {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
|
|
z-index: 2;
|
|
border: 3px solid #09090b;
|
|
}
|
|
|
|
.vinyl-grooves {
|
|
position: absolute;
|
|
width: calc(100% - 20px);
|
|
height: calc(100% - 20px);
|
|
border-radius: 50%;
|
|
border: 1px double rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.vinyl-grooves::before {
|
|
content: '';
|
|
position: absolute;
|
|
width: calc(100% - 30px);
|
|
height: calc(100% - 30px);
|
|
border-radius: 50%;
|
|
border: 1px solid rgba(255,255,255,0.03);
|
|
top: 15px; left: 15px;
|
|
}
|
|
|
|
.vinyl-icon {
|
|
position: absolute;
|
|
color: rgba(255,255,255,0.15);
|
|
z-index: 1;
|
|
}
|
|
|
|
.vinyl-record.playing {
|
|
animation: spin 6s linear infinite;
|
|
box-shadow: 0 10px 30px var(--primary-glow);
|
|
border-color: #27272a;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Sound Waves */
|
|
.music-wave {
|
|
position: absolute;
|
|
bottom: 5px;
|
|
display: flex;
|
|
gap: 4px;
|
|
height: 30px;
|
|
align-items: flex-end;
|
|
opacity: 0;
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.music-wave.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.music-wave span {
|
|
width: 3px;
|
|
height: 10px;
|
|
background-color: var(--success);
|
|
border-radius: 3px;
|
|
animation: bounce 0.6s ease-in-out infinite alternate;
|
|
}
|
|
|
|
.music-wave span:nth-child(2) { animation-delay: 0.15s; height: 18px; }
|
|
.music-wave span:nth-child(3) { animation-delay: 0.3s; height: 25px; }
|
|
.music-wave span:nth-child(4) { animation-delay: 0.45s; height: 15px; }
|
|
.music-wave span:nth-child(5) { animation-delay: 0.6s; height: 8px; }
|
|
|
|
@keyframes bounce {
|
|
0% { height: 5px; }
|
|
100% { height: 28px; }
|
|
}
|
|
|
|
/* Now Playing Information */
|
|
.now-playing-info {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.track-title {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
margin-bottom: 6px;
|
|
color: white;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.track-artist {
|
|
font-size: 0.9rem;
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.track-link-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-top: 10px;
|
|
font-size: 0.8rem;
|
|
color: var(--primary-hover);
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
background: rgba(139, 92, 246, 0.1);
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
border: 1px solid rgba(139, 92, 246, 0.2);
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.track-link-btn:hover {
|
|
background: rgba(139, 92, 246, 0.2);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
/* Progress Bar styling */
|
|
.track-progress-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: 100%;
|
|
margin-bottom: 20px;
|
|
padding: 0 10px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.time-text {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
min-width: 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.progress-bar-bg {
|
|
flex-grow: 1;
|
|
height: 6px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-radius: 4px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: var(--transition-smooth);
|
|
border: 1px solid rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.progress-bar-bg:hover {
|
|
height: 8px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.progress-bar-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
|
|
border-radius: 4px;
|
|
width: 0%;
|
|
box-shadow: 0 0 10px var(--primary-glow);
|
|
transition: width 0.2s linear;
|
|
}
|
|
|
|
.playback-state-bar {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
min-height: 25px;
|
|
}
|
|
|
|
.badge {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--text-muted);
|
|
padding: 4px 12px;
|
|
border-radius: 20px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
border: 1px solid var(--border-glass);
|
|
}
|
|
|
|
.badge-live {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: var(--danger);
|
|
border-color: rgba(239, 68, 68, 0.2);
|
|
}
|
|
|
|
#loop-badge {
|
|
display: none;
|
|
background: rgba(16, 185, 129, 0.15);
|
|
color: var(--success);
|
|
border-color: rgba(16, 185, 129, 0.3);
|
|
animation: pulse-glow 1.5s infinite alternate;
|
|
}
|
|
|
|
@keyframes pulse-glow {
|
|
0% { box-shadow: 0 0 5px rgba(16, 185, 129, 0.1); }
|
|
100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); }
|
|
}
|
|
|
|
/* Playback Control Buttons */
|
|
.player-controls {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.btn-icon {
|
|
width: 54px;
|
|
height: 54px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: var(--transition-smooth);
|
|
color: white;
|
|
}
|
|
|
|
.btn-icon i {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
.btn-icon.btn-primary {
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
|
|
width: 64px;
|
|
height: 64px;
|
|
box-shadow: 0 4px 15px var(--primary-glow);
|
|
}
|
|
|
|
.btn-icon.btn-primary:hover {
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
.btn-icon.btn-secondary {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid var(--border-glass);
|
|
}
|
|
|
|
.btn-icon.btn-secondary:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
transform: scale(1.05);
|
|
border-color: rgba(255,255,255,0.15);
|
|
}
|
|
|
|
/* Loop button active state */
|
|
.btn-icon.btn-secondary.active {
|
|
background: rgba(16, 185, 129, 0.15);
|
|
color: var(--success);
|
|
border-color: rgba(16, 185, 129, 0.4);
|
|
box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
|
|
}
|
|
|
|
/* Volume Control */
|
|
.volume-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
padding: 10px 16px;
|
|
border-radius: 16px;
|
|
border: 1px solid var(--border-glass);
|
|
}
|
|
|
|
.btn-icon-small {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.btn-icon-small:hover {
|
|
color: white;
|
|
}
|
|
|
|
.btn-icon-small i {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.premium-slider {
|
|
flex: 1;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
height: 5px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
outline: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.premium-slider::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
background: var(--primary);
|
|
box-shadow: 0 0 8px var(--primary-glow);
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.premium-slider::-webkit-slider-thumb:hover {
|
|
transform: scale(1.2);
|
|
background: var(--primary-hover);
|
|
}
|
|
|
|
.volume-value {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
min-width: 35px;
|
|
text-align: right;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Search / Add Form */
|
|
.add-form {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.input-with-icon {
|
|
position: relative;
|
|
flex: 1;
|
|
}
|
|
|
|
.input-icon {
|
|
position: absolute;
|
|
left: 14px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--text-muted);
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.premium-input {
|
|
padding-left: 42px;
|
|
}
|
|
|
|
/* Spinner Loader */
|
|
.spinner {
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 2px solid rgba(255,255,255,0.3);
|
|
border-radius: 50%;
|
|
border-top-color: white;
|
|
animation: spin-loader 0.8s ease-in-out infinite;
|
|
display: inline-block;
|
|
}
|
|
|
|
@keyframes spin-loader {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Queue List */
|
|
.queue-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.queue-header .card-title {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.queue-count {
|
|
font-size: 0.8rem;
|
|
background: rgba(139, 92, 246, 0.15);
|
|
color: var(--primary-hover);
|
|
padding: 4px 10px;
|
|
border-radius: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.queue-list-container {
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.queue-list-container::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.queue-list-container::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.queue-list-container::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.queue-list-container::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.queue-list {
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.queue-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid var(--border-glass);
|
|
padding: 12px 16px;
|
|
border-radius: 16px;
|
|
transition: var(--transition-smooth);
|
|
user-select: none;
|
|
}
|
|
|
|
.queue-item:hover {
|
|
background: var(--bg-surface-hover);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
/* Dragging state */
|
|
.queue-item.dragging {
|
|
opacity: 0.4;
|
|
transform: scale(0.96);
|
|
background: rgba(139, 92, 246, 0.1);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
/* Drag over visual indicator */
|
|
.queue-item.drag-over {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 10px var(--primary-glow);
|
|
background: rgba(139, 92, 246, 0.08);
|
|
}
|
|
|
|
/* Playing state */
|
|
.queue-item.playing-item {
|
|
background: rgba(139, 92, 246, 0.15);
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 15px var(--primary-glow);
|
|
}
|
|
|
|
.queue-item.playing-item .queue-track-title {
|
|
color: var(--primary-light);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Played state */
|
|
.queue-item.played-item {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.drag-handle {
|
|
cursor: grab;
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.drag-handle:hover {
|
|
color: white;
|
|
}
|
|
|
|
.drag-handle i {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.queue-index {
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
min-width: 20px;
|
|
}
|
|
|
|
.queue-track-info {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.queue-track-title {
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
color: white;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.queue-item-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.btn-action-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.btn-action-icon:hover {
|
|
background: rgba(255,255,255,0.06);
|
|
color: white;
|
|
}
|
|
|
|
.btn-action-icon.delete:hover {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.btn-action-icon i {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
/* Empty Queue State */
|
|
.empty-queue-message {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
gap: 12px;
|
|
}
|
|
|
|
.empty-queue-message i {
|
|
width: 48px;
|
|
height: 48px;
|
|
color: rgba(255,255,255,0.1);
|
|
stroke-width: 1.5;
|
|
}
|
|
|
|
.empty-queue-message p {
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Toast Notification */
|
|
.toast-container {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.toast {
|
|
background: rgba(15, 18, 36, 0.85);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid var(--border-glass);
|
|
padding: 12px 20px;
|
|
border-radius: 12px;
|
|
color: white;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
transform: translateY(50px);
|
|
opacity: 0;
|
|
animation: slide-in 0.3s forwards cubic-bezier(0.4, 0, 0.2, 1);
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
@keyframes slide-in {
|
|
to { transform: translateY(0); opacity: 1; }
|
|
}
|
|
|
|
.toast.success {
|
|
border-left: 4px solid var(--success);
|
|
}
|
|
|
|
.toast.success i {
|
|
color: var(--success);
|
|
}
|
|
|
|
.toast.error {
|
|
border-left: 4px solid var(--danger);
|
|
}
|
|
|
|
.toast.error i {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.toast.info {
|
|
border-left: 4px solid var(--secondary);
|
|
}
|
|
|
|
.toast.info i {
|
|
color: var(--secondary);
|
|
}
|
|
|
|
/* Settings Modal */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(8px);
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
animation: fadeIn 0.2s ease-out;
|
|
}
|
|
|
|
.modal-card {
|
|
width: 100%;
|
|
max-width: 650px;
|
|
max-height: 85vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-glass);
|
|
border-radius: 24px;
|
|
box-shadow: var(--shadow-premium);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20px 24px;
|
|
border-bottom: 1px solid var(--border-glass);
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
#btn-close-settings, #btn-close-uploads {
|
|
width: 42px;
|
|
height: 42px;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
color: #ffffff;
|
|
border-radius: 12px;
|
|
transition: var(--transition-smooth);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#btn-close-settings:hover, #btn-close-uploads:hover {
|
|
background: rgba(239, 68, 68, 0.25);
|
|
border-color: rgba(239, 68, 68, 0.6);
|
|
color: #ff6b6b;
|
|
transform: scale(1.05);
|
|
box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 24px;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.settings-section {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.settings-section h3 {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: var(--text-main);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.settings-desc {
|
|
font-size: 0.9rem;
|
|
color: var(--text-muted);
|
|
margin-bottom: 16px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.guild-setting-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid var(--border-glass);
|
|
margin-bottom: 12px;
|
|
gap: 16px;
|
|
}
|
|
|
|
.guild-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.guild-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 12px;
|
|
background: rgba(139, 92, 246, 0.15);
|
|
color: var(--primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.2rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.guild-name {
|
|
font-weight: 600;
|
|
color: var(--text-main);
|
|
font-size: 0.95rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.guild-id {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.guild-control {
|
|
width: 240px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Zapobieganie rozjeżdżaniu się layoutu przy długich tytułach nagrań */
|
|
.now-playing-info,
|
|
.track-title,
|
|
.queue-item,
|
|
.queue-track-info,
|
|
.queue-track-title,
|
|
.guild-setting-row,
|
|
.guild-info,
|
|
.guild-name,
|
|
.glass-card,
|
|
.grid-column,
|
|
.player-panel {
|
|
min-width: 0 !important;
|
|
max-width: 100% !important;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.track-title,
|
|
.queue-track-title,
|
|
.guild-name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
display: block;
|
|
}
|