36 lines
532 B
SCSS
36 lines
532 B
SCSS
.overlay {
|
|
position: fixed;
|
|
z-index: 1999;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.base {
|
|
position: relative;
|
|
background: #fff;
|
|
}
|
|
|
|
.closeButton {
|
|
position: absolute;
|
|
right: 20px;
|
|
top: 5px;
|
|
display: block;
|
|
padding: 5px;
|
|
border: 1px solid black;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.content {
|
|
padding: 40px;
|
|
max-height: calc(100vh - 80px);
|
|
max-width: calc(100vw - 80px);
|
|
overflow-y: auto;
|
|
}
|