sverweij/mscgen_js

View on GitHub
src/style/snippets/_toast.scss

Summary

Maintainability
Test Coverage
.span--toaster{
    font-size: 0.9em;
    position:fixed;
    width:18em;
    top:0;
    left:calc(50% - 10em);
    padding:.5em 1em 1.5em 1em;
    background-color:white;
    color:inherit;
    // border:1px solid currentColor;
    box-shadow:0px 0px 12px rgba(0,0,0,0.23);
    border-top:0;
}
.span--toaster button {
    position: absolute;
    display: block;
    right:3px;
    bottom:3px;
}