Spaces:
Runtime error
Runtime error
| .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: var(--bg-card); | |
| 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: var(--text-primary); | |
| line-height: 1.4; | |
| } | |
| .toast-message { | |
| font-size: 0.8125rem; | |
| color: var(--text-secondary); | |
| 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: var(--text-muted); | |
| cursor: pointer; | |
| transition: all 0.15s ease; | |
| } | |
| .toast-close:hover { | |
| background: var(--bg-light); | |
| color: var(--text-secondary); | |
| } | |