168 lines
3.8 KiB
CSS
168 lines
3.8 KiB
CSS
.modal-popup.esun-test-mode-modal .modal-inner-wrap {
|
|
background: linear-gradient(180deg, #f1faf5 0, #fff 190px);
|
|
border: 1px solid #dcefe4;
|
|
border-radius: 24px;
|
|
box-shadow: 0 24px 70px rgba(11, 45, 28, 0.2);
|
|
box-sizing: border-box;
|
|
margin: 0 auto;
|
|
max-width: 520px;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
top: 50%;
|
|
transform: translateY(-200vh);
|
|
width: calc(100% - 40px);
|
|
}
|
|
|
|
.modal-popup.esun-test-mode-modal._show .modal-inner-wrap {
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.modal-popup.esun-test-mode-modal .modal-header {
|
|
padding: 42px 56px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.modal-popup.esun-test-mode-modal .modal-title {
|
|
border: 0;
|
|
color: #161916;
|
|
font-size: 26px;
|
|
font-weight: 700;
|
|
line-height: 1.35;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.modal-popup.esun-test-mode-modal .modal-title::before {
|
|
align-items: center;
|
|
background: #e1f5e9;
|
|
border: 1px solid #c8ead6;
|
|
border-radius: 50%;
|
|
color: #18aa59;
|
|
content: "!";
|
|
display: flex;
|
|
font-size: 34px;
|
|
font-weight: 700;
|
|
height: 70px;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
margin: 0 auto 22px;
|
|
width: 70px;
|
|
}
|
|
|
|
.modal-popup.esun-test-mode-modal .action-close {
|
|
background: transparent;
|
|
border: 0;
|
|
color: #646b67;
|
|
height: 36px;
|
|
padding: 0;
|
|
right: 18px;
|
|
top: 18px;
|
|
transition: color 160ms ease, transform 160ms ease;
|
|
width: 36px;
|
|
}
|
|
|
|
.modal-popup.esun-test-mode-modal .action-close:hover,
|
|
.modal-popup.esun-test-mode-modal .action-close:focus {
|
|
color: #18aa59;
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.modal-popup.esun-test-mode-modal .modal-content {
|
|
padding: 18px 48px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.esun-test-mode-modal__message {
|
|
color: #505652;
|
|
font-size: 16px;
|
|
line-height: 1.7;
|
|
margin: 0;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
.esun-test-mode-modal .modal-footer {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 28px 40px 40px;
|
|
}
|
|
|
|
.esun-test-mode-modal .modal-footer .action-primary {
|
|
align-items: center;
|
|
background: #18aa59;
|
|
border: 1px solid #18aa59;
|
|
border-radius: 999px;
|
|
box-shadow: none;
|
|
color: #fff;
|
|
display: inline-flex;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
justify-content: center;
|
|
line-height: 20px;
|
|
margin: 0;
|
|
min-height: 50px;
|
|
min-width: 190px;
|
|
padding: 14px 32px;
|
|
text-transform: none;
|
|
transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
|
|
}
|
|
|
|
.esun-test-mode-modal .modal-footer .action-primary:hover,
|
|
.esun-test-mode-modal .modal-footer .action-primary:focus,
|
|
.esun-test-mode-modal .modal-footer .action-primary:active {
|
|
background: #148f4b;
|
|
border-color: #148f4b;
|
|
color: #fff;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.modal-popup.esun-test-mode-modal.modal-slide {
|
|
left: 0;
|
|
}
|
|
|
|
.modal-popup.esun-test-mode-modal .modal-inner-wrap {
|
|
height: auto;
|
|
max-height: calc(100vh - 32px);
|
|
position: absolute;
|
|
width: calc(100% - 32px);
|
|
}
|
|
|
|
.modal-popup.esun-test-mode-modal .modal-header {
|
|
padding: 36px 42px 0;
|
|
}
|
|
|
|
.modal-popup.esun-test-mode-modal .modal-title {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.modal-popup.esun-test-mode-modal .modal-title::before {
|
|
font-size: 29px;
|
|
height: 60px;
|
|
margin-bottom: 18px;
|
|
width: 60px;
|
|
}
|
|
|
|
.modal-popup.esun-test-mode-modal .modal-content {
|
|
padding: 16px 24px 0;
|
|
}
|
|
|
|
.esun-test-mode-modal__message {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.esun-test-mode-modal .modal-footer {
|
|
padding: 24px 24px 30px;
|
|
}
|
|
|
|
.esun-test-mode-modal .modal-footer .action-primary {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.modal-popup.esun-test-mode-modal .action-close,
|
|
.esun-test-mode-modal .modal-footer .action-primary {
|
|
transition: none;
|
|
}
|
|
}
|