Files

23 lines
524 B
CSS
Raw Permalink Normal View History

2025-12-20 17:45:44 +08:00
.toast {
position: fixed;
top: 20px;
left: 50%;
transform: translateX(-50%) scale(0.95);
background: #fff3cd;
color: #856404;
border: 1px solid #ffeeba;
border-radius: 8px;
padding: 10px 20px;
box-shadow: 0 2px 10px rgba(0,0,0,.15);
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
font-size: 15px;
opacity: 0;
pointer-events: none;
transition: all 0.3s ease;
z-index: 9999;
}
.toast.show {
opacity: 1;
transform: translateX(-50%) scale(1);
pointer-events: auto;
}