feat: add beautiful web queue dashboard with loop, reordering, and text channel settings persistence
This commit is contained in:
9 files changed
+2367
-298
No files matched your search
@@ -0,0 +1,881 @@
|
||||
/* 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: 1fr 1.2fr;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.dashboard-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.grid-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
/* 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);
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
Reference in new issue
Block a user