265 lines
4.8 KiB
CSS
265 lines
4.8 KiB
CSS
.payment-screen {
|
|
margin: 0 auto;
|
|
position: relative;
|
|
max-width: 428px;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.payment-screen__header {
|
|
display: flex;
|
|
width: 100%;
|
|
padding: 24px 0 11px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.payment-screen__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.payment-screen__content * {
|
|
font-family: OpenSans Regular;
|
|
}
|
|
|
|
.payment-screen__about-us {
|
|
display: flex;
|
|
text-align: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.payment-screen__about-us>span {
|
|
padding: 0 60px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.payment-screen__about-us span {
|
|
font-size: 14px;
|
|
line-height: 18px;
|
|
font-family: Alata Regular !important;
|
|
}
|
|
|
|
.payment-screen__about-us-accent {
|
|
color: #066fde;
|
|
}
|
|
|
|
.payment-screen__timer {
|
|
width: 100%;
|
|
display: flex;
|
|
padding: 8px 12px;
|
|
border-radius: 4px;
|
|
background: #eff2fd;
|
|
margin-bottom: 16px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
.payment-screen__timer-title {
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.payment-screen__timer-time {
|
|
gap: 1px;
|
|
display: flex;
|
|
font-size: 16px;
|
|
line-height: 22px;
|
|
align-items: center;
|
|
}
|
|
|
|
.payment-screen__timer-time span {
|
|
width: 18px;
|
|
height: 28px;
|
|
display: flex;
|
|
background: #fff;
|
|
font-weight: 700;
|
|
border-radius: 4px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid #dee5f9;
|
|
}
|
|
|
|
.payment-screen__title {
|
|
width: 100%;
|
|
margin-bottom: 16px;
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
text-align: left;
|
|
color: #121620;
|
|
font-weight: 400;
|
|
font-family: Alata Regular !important;
|
|
}
|
|
|
|
.payment-screen__total-today {
|
|
width: 100%;
|
|
display: flex;
|
|
padding: 12px 0;
|
|
margin-bottom: 6px;
|
|
align-items: center;
|
|
border-top: 1px solid #dee5f9;
|
|
border-bottom: 1px solid #dee5f9;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.payment-screen__total-today span {
|
|
font-size: 16px;
|
|
line-height: 18px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.payment-screen__total-today .payment-screen__trial-price {
|
|
color: #066fde;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.payment-screen__promocode {
|
|
gap: 8px;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12px 0 16px;
|
|
}
|
|
|
|
.payment-screen__promocode span {
|
|
color: #04a777;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.payment-screen__prices {
|
|
width: 100%;
|
|
display: flex;
|
|
margin-bottom: 6px;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.payment-screen__prices span {
|
|
color: #4b536a;
|
|
font-size: 12px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.payment-screen__prices s {
|
|
color: #858da5;
|
|
}
|
|
|
|
.payment-screen__guarantees {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 30px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.payment-screen__guarantee {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
max-width: 155px;
|
|
align-items: center;
|
|
}
|
|
|
|
.payment-screen__guarantee svg {
|
|
min-width: 24px;
|
|
min-height: 24px;
|
|
max-width: 24px;
|
|
max-height: 24px;
|
|
}
|
|
|
|
.payment-screen__guarantee span {
|
|
color: #4b536a;
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.payment-screen__widget {
|
|
position: fixed;
|
|
background: #fff;
|
|
bottom: 0;
|
|
box-shadow: 0 -2px 16px rgba(18, 22, 32, .1);
|
|
width: 100%;
|
|
padding: 12px 20px;
|
|
text-align: center;
|
|
text-align: -webkit-center;
|
|
transition: .5s height;
|
|
max-width: 560px;
|
|
margin-left: -66px;
|
|
}
|
|
|
|
.payment-screen__widget_success {
|
|
height: 400px;
|
|
}
|
|
|
|
.payment-screen__success {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #fff;
|
|
z-index: 99;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 30px;
|
|
padding: 40px;
|
|
}
|
|
|
|
.payment-screen__success-icon {
|
|
width: 100px;
|
|
height: 100px;
|
|
max-width: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.payment-screen__success-text {
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
text-align: center;
|
|
color: #121620;
|
|
}
|
|
|
|
.payment-screen__widget_modal_container {
|
|
height: 100%;
|
|
}
|
|
|
|
.payment-screen__button {
|
|
position: sticky;
|
|
bottom: calc(0dvh + 26px);
|
|
max-width: 343px;
|
|
font-size: 24px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.payment-screen__toast {
|
|
position: fixed;
|
|
bottom: calc(0dvh + 26px);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: calc(100% - 32px);
|
|
max-width: 492px;
|
|
z-index: 9999;
|
|
}
|
|
|
|
@media screen and (max-width: 560px) {
|
|
.payment-screen__widget {
|
|
width: 100%;
|
|
padding: 12px 20px;
|
|
text-align: center;
|
|
text-align: -webkit-center;
|
|
transition: height 1s linear;
|
|
max-width: 560px;
|
|
margin-left: 0;
|
|
left: 0;
|
|
}
|
|
} |