Spaces:
Running on Zero
Running on Zero
Download frontend/src/index.css from Devashri26/GastroGen: direct link, hf CLI and curl.
- Browser
- Download file 3.29 kB
-
https://huggingface.co/spaces/Devashri26/GastroGen/resolve/main/frontend/src/index.css
- Command line
-
hf download hf://spaces/Devashri26/GastroGen/frontend/src/index.css
-
curl -L -o index.css https://huggingface.co/spaces/Devashri26/GastroGen/resolve/main/frontend/src/index.css
3.29 kB
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| @layer base { | |
| body { | |
| @apply text-slate-800 antialiased font-sans selection:bg-brand-500 selection:text-white; | |
| background-color: #edf2f7; | |
| background-image: | |
| radial-gradient(circle at 1px 1px, rgba(100, 116, 139, 0.24) 1.25px, transparent 1.25px), | |
| radial-gradient(ellipse at 12% 0%, rgba(99, 102, 241, 0.085) 0%, transparent 50%), | |
| radial-gradient(ellipse at 88% 0%, rgba(13, 148, 136, 0.075) 0%, transparent 50%), | |
| radial-gradient(ellipse at 50% 100%, rgba(147, 51, 234, 0.045) 0%, transparent 60%); | |
| background-size: 24px 24px, 100% 100%, 100% 100%, 100% 100%; | |
| background-attachment: fixed; | |
| } | |
| } | |
| /* Custom smooth scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 7px; | |
| height: 7px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f5f9; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #cbd5e1; | |
| border-radius: 9999px; | |
| border: 2px solid #f1f5f9; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #94a3b8; | |
| } | |
| /* Professional research card styling */ | |
| .pro-card { | |
| background: #ffffff; | |
| border: 1px solid rgba(203, 213, 225, 0.85); | |
| box-shadow: | |
| 0 1px 3px 0 rgba(15, 23, 42, 0.04), | |
| 0 8px 24px -4px rgba(15, 23, 42, 0.06), | |
| inset 0 1px 0 0 rgba(255, 255, 255, 1.0); | |
| border-radius: 20px; | |
| transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); | |
| } | |
| .pro-card:hover { | |
| border-color: rgba(167, 139, 250, 0.6); | |
| box-shadow: | |
| 0 2px 6px 0 rgba(15, 23, 42, 0.04), | |
| 0 16px 36px -6px rgba(99, 102, 241, 0.1), | |
| inset 0 1px 0 0 rgba(255, 255, 255, 1.0); | |
| } | |
| /* Sub-panel styling for inner instrument decks */ | |
| .pro-panel-subtle { | |
| background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); | |
| border: 1px solid rgba(226, 232, 240, 0.95); | |
| box-shadow: inset 0 1px 2px 0 rgba(15, 23, 42, 0.02); | |
| border-radius: 14px; | |
| } | |
| /* Glassmorphic card styling */ | |
| .glass-panel { | |
| background: rgba(255, 255, 255, 0.96); | |
| backdrop-filter: blur(16px); | |
| border: 1px solid rgba(226, 232, 240, 0.85); | |
| box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02); | |
| } | |
| .glass-panel-hover { | |
| transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); | |
| } | |
| .glass-panel-hover:hover { | |
| border-color: rgba(167, 139, 250, 0.6); | |
| box-shadow: 0 12px 30px -4px rgba(109, 40, 217, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.03); | |
| transform: translateY(-1px); | |
| } | |
| /* Ambient glowing accents */ | |
| .glow-badge-purple { | |
| box-shadow: 0 0 12px rgba(124, 58, 237, 0.22); | |
| } | |
| .glow-badge-teal { | |
| box-shadow: 0 0 12px rgba(13, 148, 136, 0.22); | |
| } | |
| .glow-badge-emerald { | |
| box-shadow: 0 0 12px rgba(16, 185, 129, 0.22); | |
| } | |
| /* Endoscopy dark frame styling */ | |
| .endo-frame { | |
| position: relative; | |
| background: radial-gradient(circle at center, #0f172a 0%, #020617 100%); | |
| border: 1px solid rgba(51, 65, 85, 0.5); | |
| box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.15); | |
| } | |
| /* Subtle animation pulses */ | |
| @keyframes pulse-subtle { | |
| 0%, 100% { opacity: 1; transform: scale(1); } | |
| 50% { opacity: 0.85; transform: scale(1.03); } | |
| } | |
| .animate-pulse-subtle { | |
| animation: pulse-subtle 3s ease-in-out infinite; | |
| } | |
| @keyframes shimmer { | |
| 0% { transform: translateX(-100%); } | |
| 100% { transform: translateX(100%); } | |
| } | |
| .animate-shimmer { | |
| animation: shimmer 2.5s infinite; | |
| } | |