65 lines
1.2 KiB
SCSS
65 lines
1.2 KiB
SCSS
@import "src/constants/style/styleConst";
|
|
|
|
.modal {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background-color: rgba(211, 211, 211, 0.8);
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 100;
|
|
&__wrap {
|
|
min-width: 310px;
|
|
min-height: 170px;
|
|
max-height: 90vh;
|
|
max-width: 90%;
|
|
background: white;
|
|
color: white;
|
|
z-index: 10;
|
|
border-radius: 16px;
|
|
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.04);
|
|
position: relative;
|
|
padding: $basic-padding * 1.5;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&__header {
|
|
height: 50px;
|
|
background: white;
|
|
overflow: hidden;
|
|
border-top-left-radius: 16px;
|
|
border-top-right-radius: 16px;
|
|
}
|
|
&__title {
|
|
color: $grey;
|
|
}
|
|
&__content {
|
|
padding: 10px;
|
|
font-size: 14px;
|
|
color: #2c3e50;
|
|
overflow: auto;
|
|
}
|
|
&__footer {
|
|
display: flex;
|
|
justify-content: end;
|
|
margin-top: $basic-margin;
|
|
button:first-child {
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
body.modal-open {
|
|
overflow: hidden;
|
|
padding-right: 14px;
|
|
}
|
|
|
|
|