Spaces:
Running
Running
Download style.css from CSNET/pulse-whoop: direct link, hf CLI and curl.
- Browser
- Download file 2.58 kB
-
https://huggingface.co/spaces/CSNET/pulse-whoop/resolve/main/style.css
- Command line
-
hf download hf://spaces/CSNET/pulse-whoop/style.css
-
curl -L -o style.css https://huggingface.co/spaces/CSNET/pulse-whoop/resolve/main/style.css
2.58 kB
| /* Custom Thai Font */ | |
| @import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap'); | |
| * { | |
| font-family: 'Prompt', sans-serif; | |
| } | |
| /* Glassmorphism Effect */ | |
| .glass-card { | |
| background: rgba(31, 41, 55, 0.4); | |
| backdrop-filter: blur(12px); | |
| -webkit-backdrop-filter: blur(12px); | |
| transition: all 0.3s ease; | |
| } | |
| .glass-card:hover { | |
| background: rgba(31, 41, 55, 0.6); | |
| border-color: rgba(75, 85, 99, 0.5); | |
| } | |
| /* Custom Scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 6px; | |
| height: 6px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: rgba(17, 24, 39, 0.5); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: linear-gradient(45deg, #34d399, #10b981); | |
| border-radius: 10px; | |
| } | |
| /* Smooth Animations */ | |
| @keyframes fadeInUp { | |
| from { | |
| opacity: 0; | |
| transform: translateY(30px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| @keyframes pulse { | |
| 0% { transform: scale(1); } | |
| 50% { transform: scale(1.05); } | |
| 100% { transform: scale(1); } | |
| } | |
| .animate-fadeInUp { | |
| animation: fadeInUp 0.6s ease-out; | |
| } | |
| .pulse-animation { | |
| animation: pulse 2s infinite; | |
| } | |
| /* Quick Log Buttons */ | |
| .quick-log-btn { | |
| transition: all 0.3s ease; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .quick-log-btn::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); | |
| transition: left 0.5s; | |
| } | |
| .quick-log-btn:hover::before { | |
| left: 100%; | |
| } | |
| .quick-log-btn:active { | |
| transform: scale(0.95); | |
| } | |
| /* Vital Circle Hover Effect */ | |
| vital-circle { | |
| transition: transform 0.3s ease; | |
| } | |
| vital-circle:hover { | |
| transform: translateY(-5px); | |
| } | |
| /* AI Coach Card Typing Effect */ | |
| .ai-typing::after { | |
| content: '...'; | |
| animation: dots 1.5s infinite; | |
| } | |
| @keyframes dots { | |
| 0%, 20% { content: '.'; } | |
| 40% { content: '..'; } | |
| 60%, 100% { content: '...'; } | |
| } | |
| /* Chart Canvas */ | |
| canvas { | |
| max-width: 100%; | |
| height: auto ; | |
| } | |
| /* Mobile Optimizations */ | |
| @media (max-width: 640px) { | |
| .glass-card { | |
| border-radius: 1rem; | |
| } | |
| .quick-log-btn { | |
| font-size: 0.8rem; | |
| padding: 0.75rem 1rem; | |
| } | |
| } | |
| /* Loading State */ | |
| .loading-skeleton { | |
| background: linear-gradient(90deg, #1f2937 25%, #374151 50%, #1f2937 75%); | |
| background-size: 200% 100%; | |
| animation: loading 1.5s infinite; | |
| } | |
| @keyframes loading { | |
| 0% { background-position: 200% 0; } | |
| 100% { background-position: -200% 0; } | |
| } |