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

23 lines
554 B
SCSS
Raw Normal View History

.toast {
background-color: $toast-background-color;
color: $toast-text-color;
padding: #{10 / $base-font-size}rem;
position: absolute;
bottom: 10%;
left: 5%;
min-width: #{375 / $base-font-size}rem; //500px
font-size: #{20 / $base-font-size}rem;
display: flex;
z-index: 9999;
align-items: center;
justify-content: space-between;
box-shadow: 0 6px 6px 0 rgba(0,0,0,0.10);
}
.toast__close {
@include themify() {
@extend %icon-toast;
}
padding-top: #{10 / $base-font-size}rem;
margin-left: #{40 / $base-font-size}rem;
}