51 lines
No EOL
694 B
SCSS
51 lines
No EOL
694 B
SCSS
@use 'constants' as consts;
|
|
@use 'mixins';
|
|
|
|
#toasts {
|
|
position: fixed;
|
|
z-index: 1;
|
|
left: 50%;
|
|
top: 15px;
|
|
transform: translate(-50%, 0%);
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.toast {
|
|
display: none;
|
|
width: fit-content;
|
|
align-self: center;
|
|
|
|
@include mixins.popup;
|
|
|
|
margin: consts.$margin;
|
|
|
|
.content {
|
|
display: inline-block;
|
|
}
|
|
|
|
img {
|
|
vertical-align: text-bottom;
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes fadein {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes fadeout {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
} |