schlechtenburg/src/components/internal/Modal.scss

32 lines
518 B
SCSS
Raw Normal View History

2020-05-27 13:57:57 +00:00
.sb-modal {
&__overlay {
background-color: var(--grey-3-t);
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
padding: 10vh 10vw;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
pointer-events: none;
}
&__content {
width: 900px;
max-width: 100%;
height: auto;
max-height: 100%;
background-color: var(--grey-0);
padding: 24px 32px;
}
&_open #{&}__overlay {
opacity: 1;
pointer-events: all;
}
}