added styles for payments-mobile

This commit is contained in:
Kostya
2024-01-13 22:00:08 +03:00
parent 7f31d89255
commit 63e4c8122c
2 changed files with 44 additions and 7 deletions

View File

@@ -13,11 +13,17 @@ input:focus {
top: 15%; top: 15%;
left: 10%; left: 10%;
background: #22252F; background: #22252F;
border-radius: 25px;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
width: 80%; width: 80%;
height: 405px; height: 455px;
max-width: 400px; max-width: 400px;
} }
.margin-mobile___payments {
margin-left: 10px;
}
.payments-modal-mobile { .payments-modal-mobile {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -63,7 +69,7 @@ input:focus {
border-radius: 15px; border-radius: 15px;
border: 2px solid #2B3458; border: 2px solid #2B3458;
background: #22252F; background: #22252F;
width: 100%; width: 250px;
} }
.input-mobile__number { .input-mobile__number {
@@ -82,9 +88,11 @@ input:focus {
padding: 6px 12px; padding: 6px 12px;
background: #252C47; background: #252C47;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
border-radius: 4px; border-radius: 6px;
border: none; border: none;
margin: 5px 0 5px 5px; margin: 5px 0 5px 5px;
font-weight: 700;
font-family: Montserrat Alternates;
} }
.payments-modal__agree { .payments-modal__agree {
@@ -97,7 +105,8 @@ input:focus {
font-family: Montserrat Alternates; font-family: Montserrat Alternates;
line-height: 31px; line-height: 31px;
font-weight: 700; font-weight: 700;
font-size: 10px; font-size: 9px;
margin-left: 5px;
} }
.payments-modal__submit { .payments-modal__submit {
@@ -123,3 +132,30 @@ input:focus {
border: none; border: none;
padding: 20px 20px; padding: 20px 20px;
} }
.payments-modal__promocode {
margin-top: 10px;
}
.payments-modal__promocode input {
height: 25px;
width: 250px;
}
.payments-modal__promocode input[placeholder] {
color: rgba(148, 148, 148, 0.95);
font-family: Montserrat Alternates;
font-weight: 700;
padding-left: 10px;
}
.payments-modal__agree {
margin-top: 6px;
display: flex;
align-items: center;
}
.captcha-mobile {
top: 25px;
left: -10px;
}

View File

@@ -8,7 +8,7 @@
@click="closeModal()" @click="closeModal()"
> >
</div> </div>
<div class="payments-modal-mobile__content"> <div class="payments-modal-mobile__content margin-mobile___payments">
<h2>Сумма {{ payments.paymentsView ? 'пополнения' : 'вывода' }}</h2> <h2>Сумма {{ payments.paymentsView ? 'пополнения' : 'вывода' }}</h2>
<div class="payments-modal__input input-style__mobile img-style"> <div class="payments-modal__input input-style__mobile img-style">
<img src="@/assets/icons-games/saper-game/icon-diamond-ore-saper.png"> <img src="@/assets/icons-games/saper-game/icon-diamond-ore-saper.png">
@@ -25,10 +25,11 @@
<input type="text" placeholder="Введите промокод"> <input type="text" placeholder="Введите промокод">
</div> </div>
<div class="payments-modal__agree checkbox-styles"> <div class="payments-modal__agree checkbox-styles">
<input type="checkbox" v-model="agreeUser"> <input v-if="!payments.paymentsView" type="checkbox" v-model="agreeUser">
<input v-else type="checkbox">
<h3>Я согласен с пользовательским соглашением.</h3> <h3>Я согласен с пользовательским соглашением.</h3>
</div> </div>
<captcha-component :showcaptcha="agreeUser"></captcha-component> <captcha-component class="captcha-mobile" :showcaptcha="agreeUser"></captcha-component>
<div class="payments-modal__submit"> <div class="payments-modal__submit">
<p>Вы подтверждаете правильность введенных данных при создании вывода.</p> <p>Вы подтверждаете правильность введенных данных при создании вывода.</p>
<button @click="closeModal()">{{ payments.paymentsView ? 'Пополнить' : 'Вывод' }}</button> <button @click="closeModal()">{{ payments.paymentsView ? 'Пополнить' : 'Вывод' }}</button>