Spaces:
Running
Running
Download style.css from Nico85525/driver-dashboard-pro: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/spaces/Nico85525/driver-dashboard-pro/resolve/main/style.css
- Command line
-
hf download hf://spaces/Nico85525/driver-dashboard-pro/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Nico85525/driver-dashboard-pro/resolve/main/style.css
1.15 kB
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| /* Custom styles for ride progress bar */ | |
| .progress-bar { | |
| height: 8px; | |
| border-radius: 4px; | |
| background-color: #e5e7eb; | |
| overflow: hidden; | |
| } | |
| .progress-fill { | |
| height: 100%; | |
| background-color: #10b981; | |
| transition: width 0.3s ease; | |
| } | |
| /* Adjustments for mobile navigation */ | |
| @media (max-width: 768px) { | |
| main { | |
| padding-bottom: 80px; | |
| } | |
| nav { | |
| padding-bottom: env(safe-area-inset-bottom); | |
| } | |
| } | |
| /* Card hover effects */ | |
| .bg-white { | |
| transition: all 0.2s ease; | |
| } | |
| .bg-white:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| /* Button transitions */ | |
| button { | |
| transition: all 0.2s ease; | |
| } | |
| button:hover { | |
| transform: translateY(-1px); | |
| } | |
| /* Notification badge */ | |
| #notification-badge { | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { | |
| box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); | |
| } | |
| 70% { | |
| box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); | |
| } | |
| 100% { | |
| box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); | |
| } | |
| } | |