Spaces:
Running
Running
Download widget.css from haxwitcher/sales-widget: direct link, hf CLI and curl.
- Browser
- Download file 763 Bytes
-
https://huggingface.co/spaces/haxwitcher/sales-widget/resolve/main/widget.css
- Command line
-
hf download hf://spaces/haxwitcher/sales-widget/widget.css
-
curl -L -o widget.css https://huggingface.co/spaces/haxwitcher/sales-widget/resolve/main/widget.css
763 Bytes
| #sales-notification-container { | |
| position: fixed; | |
| bottom: 20px; | |
| left: 20px; | |
| display: flex; | |
| flex-direction: column-reverse; | |
| gap: 10px; | |
| z-index: 9999; | |
| } | |
| .notification { | |
| display: flex; | |
| align-items: center; | |
| background: #fff; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 8px rgba(0,0,0,0.15); | |
| padding: 10px; | |
| max-width: 300px; | |
| font-family: sans-serif; | |
| opacity: 0; | |
| transform: translateY(20px); | |
| transition: opacity 0.5s, transform 0.5s; | |
| } | |
| .notification.show { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| .notification img.avatar { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| margin-right: 10px; | |
| object-fit: cover; | |
| } | |
| .notification .text { | |
| font-size: 14px; | |
| line-height: 1.3; | |
| } | |
| .notification .text b { | |
| font-weight: 600; | |
| } | |