p5.js-web-editor/client/styles/components/_toast.scss
Himanshu ea02d7692d fixes #384 (#563)
* fixes #384

Positioning and font-size was off.

* Added consistent styling

* Further Changes.

* removed line height.
2018-02-27 12:28:17 -05:00

23 lines
No EOL
554 B
SCSS

.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;
}