jam-tracks / frontend /src /index.css
Mina Emadi
added the music generation functionality
59dcfdf
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
margin: 0;
min-height: 100vh;
background: #0D0F1A;
color: white;
font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.card {
background: #141726;
border: 1px solid rgba(255, 255, 255, 0.08);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(240, 165, 0, 0.3);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(240, 165, 0, 0.5);
}
/* Slider styling */
input[type="range"] {
-webkit-appearance: none;
appearance: none;
background: transparent;
}
input[type="range"]::-webkit-slider-track {
height: 4px;
background: rgba(255, 255, 255, 0.08);
border-radius: 2px;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 14px;
height: 14px;
background: #F0A500;
border-radius: 50%;
cursor: pointer;
margin-top: -5px;
transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
transform: scale(1.15);
}
/* Animation keyframes */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.25s ease-out;
}
@keyframes spin-slow {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.animate-spin-slow {
animation: spin-slow 3s linear infinite;
}
@keyframes pulse-border {
0%, 100% { border-color: rgba(240, 165, 0, 0.3); }
50% { border-color: rgba(240, 165, 0, 0.8); }
}
.animate-pulse-border {
animation: pulse-border 2s ease-in-out infinite;
}