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

18 lines
360 B
SCSS
Raw Normal View History

.toast {
background-color: $toast-background-color;
color: $toast-text-color;
padding: #{10 / $base-font-size}rem;
position: absolute;
top: 0;
right: 40%;
display: flex;
z-index: 9999;
box-shadow: 0 6px 6px 0 rgba(0,0,0,0.10);
}
.toast__close {
@include themify() {
@extend %icon-toast;
}
margin-left: #{20 / $base-font-size}rem;
}