2019-09-02 14:29:19 +03:00
|
|
|
.modal {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal.is-open {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal[aria-hidden="false"] .modal__overlay {
|
2020-03-03 12:13:08 +03:00
|
|
|
animation: mmfadeIn .2s ease-in;
|
2019-09-02 14:29:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal[aria-hidden="true"] .modal__overlay {
|
2020-03-03 12:13:08 +03:00
|
|
|
animation: mmfadeOut .2s ease-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-enter {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-enter-active {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 100ms ease-in;
|
2019-09-02 14:29:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal__overlay {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background: rgba(0,0,0,0.6);
|
|
|
|
z-index: 99;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__container {
|
|
|
|
background-color: #fff;
|
|
|
|
padding: 1rem 2rem;
|
|
|
|
max-width: 860px;
|
|
|
|
border-radius: 4px;
|
|
|
|
margin: 50px auto;
|
|
|
|
box-sizing: border-box;
|
|
|
|
min-height: 509px;
|
2020-03-03 12:13:08 +03:00
|
|
|
transition: height 200ms ease-in;
|
2019-09-02 14:29:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal__close {
|
2019-11-19 07:30:42 +03:00
|
|
|
position: fixed;
|
|
|
|
color: #b8c2cc;
|
|
|
|
font-size: 48px;
|
2019-09-02 14:29:19 +03:00
|
|
|
font-weight: bold;
|
2019-11-19 07:30:42 +03:00
|
|
|
top: 12px;
|
|
|
|
right: 24px;
|
2019-09-02 14:29:19 +03:00
|
|
|
}
|
|
|
|
|
2019-11-19 07:30:42 +03:00
|
|
|
.modal__close:before { content: "\2715"; }
|
2019-09-02 14:29:19 +03:00
|
|
|
|
|
|
|
.modal__content {
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mmfadeIn {
|
|
|
|
from { opacity: 0; }
|
|
|
|
to { opacity: 1; }
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mmfadeOut {
|
|
|
|
from { opacity: 1; }
|
|
|
|
to { opacity: 0; }
|
|
|
|
}
|