Spaces:
Running
Running
File size: 4,140 Bytes
e6dd4f7 69cdfad e6dd4f7 69cdfad e6dd4f7 69cdfad e6dd4f7 69cdfad e6dd4f7 69cdfad e6dd4f7 69cdfad e6dd4f7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 |
/* Custom styles for Video Downloader */
* {
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Custom animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
@keyframes slideInRight {
from {
transform: translateX(100%);
}
to {
transform: translateX(0);
}
}
/* Toast notification styles */
#toast {
z-index: 9999;
}
#toast.show {
animation: slideInRight 0.3s ease-out;
}
/* Loading spinner */
.spinner {
border: 3px solid #f3f3f3;
border-top: 3px solid #3b82f6;
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Button hover effects */
.btn-primary {
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
transition: all 0.3s ease;
}
.btn-primary:hover {
background: linear-gradient(135deg, #1d4ed8, #1e40af);
transform: translateY(-1px);
box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}
/* Form focus styles */
input:focus, select:focus {
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
/* Card hover effects */
.feature-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
/* Progress bar */
.progress-bar {
background: linear-gradient(90deg, #3b82f6, #1d4ed8);
height: 4px;
border-radius: 2px;
transition: width 0.3s ease;
}
/* Responsive design improvements */
@media (max-width: 768px) {
.container {
padding-left: 1rem;
padding-right: 1rem;
}
h1 {
font-size: 1.5rem;
}
h2 {
font-size: 2rem;
}
.grid-cols-3 {
grid-template-columns: 1fr;
gap: 1.5rem;
}
}
/* Dark mode support */
@media (prefers-color-scheme: dark) {
.bg-blue-50 {
background-color: #1e293b;
}
.text-gray-800 {
color: #f1f5f9;
}
.text-gray-600 {
color: #cbd5e1;
}
.bg-white {
background-color: #334155;
}
.border-gray-300 {
border-color: #475569;
}
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #3b82f6;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #1d4ed8;
}
/* Utility classes */
.text-gradient {
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.backdrop-blur {
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
/* Error states */
.error {
border-color: #ef4444 !important;
background-color: #fef2f2 !important;
}
.error-message {
color: #ef4444;
font-size: 0.875rem;
margin-top: 0.25rem;
}
/* Success states */
.success {
border-color: #10b981 !important;
background-color: #f0fdf4 !important;
}
/* Video thumbnail */
.video-thumbnail {
aspect-ratio: 16/9;
object-fit: cover;
border-radius: 8px;
}
/* Download card */
.download-card {
background: linear-gradient(135deg, #ffffff, #f8fafc);
border: 1px solid #e2e8f0;
transition: all 0.3s ease;
}
.download-card:hover {
border-color: #3b82f6;
box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}
/* Loading states */
.skeleton {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
} |