Toasts
This commit is contained in:
+29
@@ -323,6 +323,35 @@ body.no-scroll {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
/* Notifications Toasts */
|
||||
.pf-toast {
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
padding: 12px 24px;
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
||||
border-left: 5px solid var(--primary);
|
||||
z-index: 10000;
|
||||
transform: translateX(120%);
|
||||
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
font-weight: 600;
|
||||
color: var(--text-main);
|
||||
}
|
||||
.pf-toast.is-visible {
|
||||
transform: translateX(0);
|
||||
}
|
||||
.pf-toast--success {
|
||||
border-left-color: #10b981;
|
||||
}
|
||||
.pf-toast--error {
|
||||
border-left-color: #ef4444;
|
||||
}
|
||||
.pf-toast--warning {
|
||||
border-left-color: #f59e0b;
|
||||
}
|
||||
|
||||
/* === MOBILE RESPONSIVE === */
|
||||
@media (max-width: 768px) {
|
||||
.pf-header {
|
||||
|
||||
Reference in New Issue
Block a user