Spaces:
Sleeping
Sleeping
anoderb
Modernisasi Forecast Dashboard: Glassmorphism UI, SARIMA Model, and Backend Refactor
bdef324 | @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| body { | |
| background-color: #020617; /* slate-950 */ | |
| color: #f1f5f9; /* slate-100 */ | |
| } | |
| @layer utilities { | |
| .glass-panel { | |
| background: rgba(15, 23, 42, 0.65); | |
| backdrop-filter: blur(12px); | |
| -webkit-backdrop-filter: blur(12px); | |
| border: 1px solid rgba(255, 255, 255, 0.08); | |
| box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); | |
| } | |
| .glass-input { | |
| background: rgba(255, 255, 255, 0.05); | |
| backdrop-filter: blur(4px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .glass-input:focus { | |
| background: rgba(255, 255, 255, 0.08); | |
| border-color: rgba(45, 212, 191, 0.5); | |
| box-shadow: 0 0 15px rgba(45, 212, 191, 0.2); | |
| } | |
| } | |
| /* Custom Scrollbar */ | |
| ::-webkit-scrollbar { width: 6px; height: 6px; } | |
| ::-webkit-scrollbar-track { background: rgba(15, 23, 42, 0.8); } | |
| ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 3px; } | |
| ::-webkit-scrollbar-thumb:hover { background: rgba(45, 212, 191, 0.4); } | |
| /* Animations */ | |
| @keyframes glow { | |
| 0%, 100% { opacity: 0.4; transform: scale(1); } | |
| 50% { opacity: 0.6; transform: scale(1.05); } | |
| } | |
| .animate-glow { animation: glow 8s ease-in-out infinite alternate; } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(8px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .animate-fade-in { animation: fadeIn 0.4s ease-out forwards; } | |
| @keyframes slideUp { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .animate-slide-up { animation: slideUp 0.5s ease-out forwards; } | |