Spaces:
Sleeping
Sleeping
Download dashboard/src/components/Toast.css from jinksQspider/openWa: direct link, hf CLI and curl.
- Browser
- Download file 1.61 kB
-
https://huggingface.co/spaces/jinksQspider/openWa/resolve/main/dashboard/src/components/Toast.css
- Command line
-
hf download hf://spaces/jinksQspider/openWa/dashboard/src/components/Toast.css
-
curl -L -o Toast.css https://huggingface.co/spaces/jinksQspider/openWa/resolve/main/dashboard/src/components/Toast.css
1.61 kB
| .toast-container { | |
| position: fixed; | |
| bottom: 1.5rem; | |
| right: 1.5rem; | |
| z-index: 9999; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.75rem; | |
| max-width: 400px; | |
| } | |
| .toast { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 0.75rem; | |
| padding: 1rem 1.25rem; | |
| background: white; | |
| border-radius: 12px; | |
| box-shadow: | |
| 0 10px 40px rgba(0, 0, 0, 0.12), | |
| 0 4px 12px rgba(0, 0, 0, 0.08); | |
| border-left: 4px solid; | |
| animation: slideIn 0.3s ease-out; | |
| } | |
| @keyframes slideIn { | |
| from { | |
| transform: translateX(100%); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateX(0); | |
| opacity: 1; | |
| } | |
| } | |
| .toast-success { | |
| border-color: #22c55e; | |
| } | |
| .toast-success .toast-icon { | |
| color: #22c55e; | |
| } | |
| .toast-error { | |
| border-color: #ef4444; | |
| } | |
| .toast-error .toast-icon { | |
| color: #ef4444; | |
| } | |
| .toast-warning { | |
| border-color: #f59e0b; | |
| } | |
| .toast-warning .toast-icon { | |
| color: #f59e0b; | |
| } | |
| .toast-info { | |
| border-color: #3b82f6; | |
| } | |
| .toast-info .toast-icon { | |
| color: #3b82f6; | |
| } | |
| .toast-icon { | |
| flex-shrink: 0; | |
| margin-top: 2px; | |
| } | |
| .toast-content { | |
| flex: 1; | |
| min-width: 0; | |
| } | |
| .toast-title { | |
| font-weight: 600; | |
| font-size: 0.9375rem; | |
| color: #1e293b; | |
| line-height: 1.4; | |
| } | |
| .toast-message { | |
| font-size: 0.8125rem; | |
| color: #64748b; | |
| margin-top: 0.25rem; | |
| line-height: 1.5; | |
| } | |
| .toast-close { | |
| flex-shrink: 0; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 24px; | |
| height: 24px; | |
| border-radius: 6px; | |
| border: none; | |
| background: transparent; | |
| color: #94a3b8; | |
| cursor: pointer; | |
| transition: all 0.15s ease; | |
| } | |
| .toast-close:hover { | |
| background: #f1f5f9; | |
| color: #475569; | |
| } | |