Spaces:
Running
Running
Upload style.css with huggingface_hub
Browse files
style.css
CHANGED
|
@@ -1,76 +1,194 @@
|
|
| 1 |
-
|
| 2 |
-
box-sizing: border-box;
|
| 3 |
-
padding: 0;
|
| 4 |
-
margin: 0;
|
| 5 |
-
font-family: sans-serif;
|
| 6 |
-
}
|
| 7 |
-
|
| 8 |
-
html,
|
| 9 |
-
body {
|
| 10 |
-
height: 100%;
|
| 11 |
-
}
|
| 12 |
-
|
| 13 |
-
body {
|
| 14 |
-
padding: 32px;
|
| 15 |
-
}
|
| 16 |
-
|
| 17 |
-
body,
|
| 18 |
-
#container {
|
| 19 |
-
display: flex;
|
| 20 |
-
flex-direction: column;
|
| 21 |
-
justify-content: center;
|
| 22 |
-
align-items: center;
|
| 23 |
-
}
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
|
|
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
|
|
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
font-size: 18px;
|
| 44 |
-
}
|
| 45 |
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
|
|
|
| 49 |
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
|
|
|
| 53 |
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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effects for cards */
|
| 9 |
+
.hover-lift:hover {
|
| 10 |
+
transform: translateY(-2px);
|
| 11 |
+
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
|
| 12 |
+
}
|
| 13 |
|
| 14 |
+
/* Custom scrollbar */
|
| 15 |
+
::-webkit-scrollbar {
|
| 16 |
+
width: 8px;
|
| 17 |
+
height: 8px;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
::-webkit-scrollbar-track {
|
| 21 |
+
background: #f1f1f1;
|
| 22 |
+
border-radius: 4px;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
::-webkit-scrollbar-thumb {
|
| 26 |
+
background: #888;
|
| 27 |
+
border-radius: 4px;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
::-webkit-scrollbar-thumb:hover {
|
| 31 |
+
background: #555;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
/* Progress bar animation */
|
| 35 |
+
@keyframes progress {
|
| 36 |
+
0% { width: 0%; }
|
| 37 |
+
100% { width: var(--progress); }
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.progress-animated {
|
| 41 |
+
animation: progress 1s ease-in-out;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
/* Pulse animation for status indicators */
|
| 45 |
+
@keyframes pulse {
|
| 46 |
+
0% { opacity: 1; }
|
| 47 |
+
50% { opacity: 0.5; }
|
| 48 |
+
100% { opacity: 1; }
|
| 49 |
+
}
|
| 50 |
|
| 51 |
+
.pulse {
|
| 52 |
+
animation: pulse 2s infinite;
|
| 53 |
+
}
|
|
|
|
|
|
|
| 54 |
|
| 55 |
+
/* Loading screen blur effect */
|
| 56 |
+
.backdrop-blur {
|
| 57 |
+
backdrop-filter: blur(5px);
|
| 58 |
+
}
|
| 59 |
|
| 60 |
+
/* Button hover effects */
|
| 61 |
+
.btn-hover:hover {
|
| 62 |
+
transform: scale(1.05);
|
| 63 |
+
}
|
| 64 |
|
| 65 |
+
.btn-hover:active {
|
| 66 |
+
transform: scale(0.95);
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
/* Status indicator colors */
|
| 70 |
+
.status-connected { color: #10b981; }
|
| 71 |
+
.status-playing { color: #3b82f6; }
|
| 72 |
+
.status-paused { color: #f59e0b; }
|
| 73 |
+
.status-offline { color: #ef4444; }
|
| 74 |
+
|
| 75 |
+
/* Gradient text effect */
|
| 76 |
+
.gradient-text {
|
| 77 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 78 |
+
-webkit-background-clip: text;
|
| 79 |
+
-webkit-text-fill-color: transparent;
|
| 80 |
+
background-clip: text;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
/* Card shadow effects */
|
| 84 |
+
.card-shadow {
|
| 85 |
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.card-shadow-lg {
|
| 89 |
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
/* Custom range slider */
|
| 93 |
+
input[type="range"] {
|
| 94 |
+
-webkit-appearance: none;
|
| 95 |
+
appearance: none;
|
| 96 |
+
background: transparent;
|
| 97 |
cursor: pointer;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
input[type="range"]::-webkit-slider-track {
|
| 101 |
+
background: #e5e7eb;
|
| 102 |
+
height: 6px;
|
| 103 |
+
border-radius: 3px;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
input[type="range"]::-webkit-slider-thumb {
|
| 107 |
+
-webkit-appearance: none;
|
| 108 |
+
appearance: none;
|
| 109 |
+
background: #7c3aed;
|
| 110 |
+
height: 20px;
|
| 111 |
+
width: 20px;
|
| 112 |
+
border-radius: 50%;
|
| 113 |
+
margin-top: -7px;
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
input[type="range"]::-moz-range-track {
|
| 117 |
+
background: #e5e7eb;
|
| 118 |
+
height: 6px;
|
| 119 |
+
border-radius: 3px;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
input[type="range"]::-moz-range-thumb {
|
| 123 |
+
background: #7c3aed;
|
| 124 |
+
height: 20px;
|
| 125 |
+
width: 20px;
|
| 126 |
+
border-radius: 50%;
|
| 127 |
+
border: none;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
/* Animations */
|
| 131 |
+
@keyframes fadeIn {
|
| 132 |
+
from { opacity: 0; transform: translateY(10px); }
|
| 133 |
+
to { opacity: 1; transform: translateY(0); }
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.fade-in {
|
| 137 |
+
animation: fadeIn 0.5s ease-out;
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
/* Responsive adjustments */
|
| 141 |
+
@media (max-width: 768px) {
|
| 142 |
+
.container {
|
| 143 |
+
padding: 0 1rem;
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
.grid-cols-3 {
|
| 147 |
+
grid-template-columns: 1fr;
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
.lg\\:col-span-2 {
|
| 151 |
+
grid-column: span 1;
|
| 152 |
+
}
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
/* Focus styles */
|
| 156 |
+
.focus-ring:focus {
|
| 157 |
+
outline: 2px solid #7c3aed;
|
| 158 |
+
outline-offset: 2px;
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
/* Loading animation */
|
| 162 |
+
@keyframes spin {
|
| 163 |
+
to { transform: rotate(360deg); }
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
.animate-spin {
|
| 167 |
+
animation: spin 1s linear infinite;
|
| 168 |
+
}
|
| 169 |
+
|
| 170 |
+
/* Custom badge styles */
|
| 171 |
+
.badge {
|
| 172 |
+
display: inline-flex;
|
| 173 |
+
align-items: center;
|
| 174 |
+
padding: 0.25rem 0.75rem;
|
| 175 |
+
border-radius: 9999px;
|
| 176 |
+
font-size: 0.875rem;
|
| 177 |
+
font-weight: 500;
|
| 178 |
+
}
|
| 179 |
+
|
| 180 |
+
/* Hover effect for playlist items */
|
| 181 |
+
.playlist-item:hover {
|
| 182 |
+
background-color: #f3f4f6;
|
| 183 |
+
border-color: #9ca3af;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
/* Status message animations */
|
| 187 |
+
.status-message {
|
| 188 |
+
animation: slideIn 0.3s ease-out;
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
@keyframes slideIn {
|
| 192 |
+
from { transform: translateX(-100%); opacity: 0; }
|
| 193 |
+
to { transform: translateX(0); opacity: 1; }
|
| 194 |
+
}
|