26 lines
375 B
CSS
26 lines
375 B
CSS
.modal {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background-color: var(--background-body);
|
|
padding: 2rem;
|
|
z-index: 900;
|
|
border-radius: 1rem;
|
|
}
|
|
|
|
.modal__overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
z-index: 900;
|
|
}
|
|
|
|
.modal__close-btn {
|
|
margin-top: 1rem;
|
|
float: right;
|
|
}
|