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

24 lines
580 B
SCSS
Raw Permalink Normal View History

.toast {
background-color: $toast-background-color;
color: $toast-text-color;
padding: #{10 / $base-font-size}rem;
2019-04-17 22:51:58 +02:00
position: fixed;
top: 0;
left: 50%;
transform: translate(-50%, 0);
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;
}