44 lines
974 B
CSS
44 lines
974 B
CSS
#messages-container {
|
|
position: fixed;
|
|
top: 40px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 1050;
|
|
width: auto;
|
|
min-width: 300px;
|
|
max-width: 600px;
|
|
}
|
|
|
|
#messages-container .alert {
|
|
margin-bottom: 0;
|
|
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
|
|
background-color: rgba(var(--bs-light-rgb), 0.95);
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
opacity: 0;
|
|
transform: translateY(-20px);
|
|
transition: all 0.2s ease-out;
|
|
}
|
|
|
|
#messages-container .alert.show {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
#messages-container .alert-success {
|
|
background-color: rgba(var(--bs-success-rgb), 0.95);
|
|
color: white;
|
|
}
|
|
|
|
#messages-container .alert-danger {
|
|
background-color: rgba(var(--bs-danger-rgb), 0.95);
|
|
color: white;
|
|
}
|
|
|
|
#messages-container .alert-info {
|
|
background-color: rgba(var(--bs-info-rgb), 0.95);
|
|
}
|
|
|
|
#messages-container .alert-warning {
|
|
background-color: rgba(var(--bs-warning-rgb), 0.95);
|
|
}
|