open-vault/ui/app/styles/components/global-flash.scss

25 lines
402 B
SCSS
Raw Normal View History

2018-04-03 14:16:57 +00:00
.global-flash {
position: fixed;
@include until($desktop) {
position: -webkit-sticky;
position: sticky;
top: 0;
bottom: auto;
margin: 0 auto;
width: 95%;
}
width: 450px;
bottom: 0;
left: 0;
margin: 10px;
z-index: 1;
.notification {
box-shadow: 0 0 25px rgba($black, 0.2);
margin: 20px;
@include until($desktop) {
margin: 1rem 0;
}
}
}