2023-06-26 20:45:24 -06:00
|
|
|
.toastify {
|
|
|
|
color: var(--color-white);
|
|
|
|
position: fixed;
|
|
|
|
opacity: 0;
|
|
|
|
transition: all .2s ease;
|
|
|
|
z-index: 500;
|
2023-08-28 13:43:59 -06:00
|
|
|
border-radius: var(--border-radius);
|
2023-06-26 20:45:24 -06:00
|
|
|
box-shadow: 0 8px 24px var(--color-shadow);
|
|
|
|
display: flex;
|
|
|
|
max-width: 50vw;
|
|
|
|
min-width: 300px;
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toastify.on {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toast-body {
|
|
|
|
flex: 1;
|
|
|
|
padding: 5px 0;
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
}
|
|
|
|
|
2024-06-27 07:58:38 -06:00
|
|
|
.toast-close {
|
2023-08-28 13:43:59 -06:00
|
|
|
border-radius: var(--border-radius);
|
2023-06-26 20:45:24 -06:00
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
justify-content: center;
|
2024-06-27 07:58:38 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.toast-icon {
|
|
|
|
display: inline-flex;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
2023-06-26 20:45:24 -06:00
|
|
|
align-items: center;
|
2024-06-27 07:58:38 -06:00
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toast-duplicate-number::before {
|
|
|
|
content: "(";
|
|
|
|
}
|
|
|
|
.toast-duplicate-number {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
.toast-duplicate-number::after {
|
|
|
|
content: ")";
|
2023-06-26 20:45:24 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.toast-close:hover {
|
|
|
|
background: var(--color-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
.toast-close:active {
|
|
|
|
background: var(--color-active);
|
|
|
|
}
|
|
|
|
|
|
|
|
.toastify-right {
|
|
|
|
right: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toastify-left {
|
|
|
|
left: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toastify-top {
|
|
|
|
top: -150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toastify-bottom {
|
|
|
|
bottom: -150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toastify-center {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 360px) {
|
|
|
|
.toastify-right, .toastify-left {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
max-width: fit-content;
|
|
|
|
}
|
|
|
|
}
|