p5.js-web-editor/client/styles/components/_toast.scss

18 lines
323 B
SCSS
Raw Normal View History

.toast {
background-color: $toast-background-color;
color: $toast-text-color;
padding: #{20 / $base-font-size}rem;
position: absolute;
top: 0;
right: 40%;
display: flex;
z-index: 9999;
}
.toast__close {
@extend %icon;
& g {
fill: $toast-text-color;
}
margin-left: #{10 / $base-font-size}rem;
}