Download style.css from ngrandson/selectify-sleek-custom-selects: direct link, hf CLI and curl.
- Browser
- Download file 904 Bytes
-
https://huggingface.co/spaces/ngrandson/selectify-sleek-custom-selects/resolve/main/style.css
- Command line
-
hf download hf://spaces/ngrandson/selectify-sleek-custom-selects/style.css
-
curl -L -o style.css https://huggingface.co/spaces/ngrandson/selectify-sleek-custom-selects/resolve/main/style.css
904 Bytes
| /* Base styles for the select component */ | |
| .custom-select { | |
| position: relative; | |
| width: 100%; | |
| max-width: 400px; | |
| } | |
| .select-btn { | |
| text-align: left; | |
| } | |
| .select-list { | |
| transform-origin: top; | |
| will-change: transform, opacity; | |
| transition: transform 200ms ease, opacity 200ms ease; | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); | |
| } | |
| .select-list li { | |
| user-select: none; | |
| } | |
| /* Animation for the portal */ | |
| .select-portal { | |
| transition: opacity 200ms ease, transform 200ms ease; | |
| } | |
| /* Custom scrollbar for the dropdown */ | |
| .select-list::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| .select-list::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| border-radius: 0 4px 4px 0; | |
| } | |
| .select-list::-webkit-scrollbar-thumb { | |
| background: #c1c1c1; | |
| border-radius: 4px; | |
| } | |
| .select-list::-webkit-scrollbar-thumb:hover { | |
| background: #a8a8a8; | |
| } |