mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-02-28 23:04:07 +00:00
42 lines
633 B
SCSS
42 lines
633 B
SCSS
@import '~/css/helpers';
|
|
|
|
.modal {
|
|
@include respond-to('mobile') {
|
|
min-width: unset;
|
|
width: 90vw;
|
|
}
|
|
|
|
min-width: tovw(700px, 'default', 700px);
|
|
background-color: unset;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 50vw;
|
|
transform: translate(-50%, -50%);
|
|
padding: 0;
|
|
margin: 0;
|
|
animation: fadein 1200ms;
|
|
|
|
&__bg {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-color: rgb(0 0 0 / 0.5);
|
|
z-index: 50;
|
|
backdrop-filter: blur(2px);
|
|
animation: fadein 800ms;
|
|
}
|
|
}
|
|
|
|
@keyframes fadein {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|