Computer-Vision-Lab / src /globals.css
YOUSEF2434's picture
Upload 96 files
a566fb0 verified
css
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
font-feature-settings: "rlig" 1, "calt" 1;
}
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
::-webkit-scrollbar-track {
background: linear-gradient(to bottom, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.8));
border-radius: 10px;
margin: 4px;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(168, 85, 247, 0.6));
border-radius: 10px;
border: 2px solid rgba(15, 23, 42, 0.3);
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(168, 85, 247, 0.8));
border: 2px solid rgba(59, 130, 246, 0.2);
}
/* Firefox scrollbar */
* {
scrollbar-width: thin;
scrollbar-color: rgba(99, 102, 241, 0.6) rgba(30, 41, 59, 0.5);
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Button fixes */
button {
transition: all 0.2s ease;
}
button:disabled {
cursor: not-allowed !important;
opacity: 0.5 !important;
}
/* Remove default button styles that might cause white backgrounds */
button[type="button"],
button[type="submit"] {
background-color: transparent;
}