schlechtenburg/packages/core/lib/components/Modal.scss

35 lines
577 B
SCSS
Raw Normal View History

2020-05-27 13:57:57 +00:00
.sb-modal {
2022-12-29 02:47:45 +00:00
font-family: 'Montserrat';
2020-05-27 13:57:57 +00:00
&__overlay {
background-color: var(--grey-3-t);
position: fixed;
2022-09-05 19:12:20 +00:00
z-index: var(--z-modal);
2020-05-27 13:57:57 +00:00
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;
}
}