FetalCLIP / frontend /src /index.css
Numan Saeed
Upgrade to React + FastAPI (Docker-based)
a874986
@tailwind base;
@tailwind components;
@tailwind utilities;
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
background-color: #f8fafc;
color: #0f172a;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Custom scrollbar - light theme */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
/* Selection color */
::selection {
background-color: rgba(118, 185, 0, 0.2);
color: #0f172a;
}
/* Focus rings */
:focus-visible {
outline: 2px solid #76b900;
outline-offset: 2px;
}
/* Animations */
@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
.animate-shimmer {
animation: shimmer 2s infinite;
background: linear-gradient(
90deg,
#f1f5f9 0%,
#e2e8f0 50%,
#f1f5f9 100%
);
background-size: 200% 100%;
}
/* Smooth transitions globally */
button, a, input, [role="button"] {
transition: all 0.15s ease;
}