This commit is contained in:
Komek Hayytnazarov 2022-12-07 14:06:38 +05:00
commit 4fbcd19a4a
2 changed files with 29 additions and 6 deletions

View File

@ -156,5 +156,10 @@ onMounted(() => {
.custom-btns {
min-width: 128px;
}
.form-check-input[type="radio"],
.login .login__input,
.form-select {
border-color: rgb(var(--color-slate-400) / var(--tw-border-opacity));;
}
</style>

View File

@ -61,14 +61,21 @@
</template>
</div>
<div class="intro-x mt-5 xl:mt-8 text-center xl:text-left">
<button class="btn btn-primary py-3 px-4 w-full xl:w-32 xl:mr-3 align-top" @click.prevent="onUpdate">
<button class="btn btn-primary py-3 px-4 xl:mr-3 align-top w-full custom-btns" @click.prevent="onUpdate">
{{ $t('UPDATE') }}
<LoadingIcon icon="oval" color="white" class="w-4 h-4 ml-2" v-if="isLoading" />
</button>
<button class="btn btn-outline-secondary py-3 px-4 w-full xl:w-32 mt-3 xl:mt-0 align-top"
@click.prevent="onLogin">
{{ $t('SIGN_IN') }}
</button>
</div>
<div class="intro-x mt-5 xl:mt-8 text-primary xl:text-left">
<p class="w-full text-center">
<a
@click.prevent="onLogin"
href="#"
class="font-bold underline"
>
{{ $t('SIGN_IN') }}
</a>
</p>
</div>
</div>
</div>
@ -162,4 +169,15 @@ const onUpdate = async () => {
onMounted(() => {
dom("body").removeClass("main").removeClass("error-page").addClass("login");
});
</script>
</script>
<style scoped>
.custom-btns {
min-width: 128px;
}
.form-check-input[type="radio"],
.login .login__input,
.form-select {
border-color: rgb(var(--color-slate-400) / var(--tw-border-opacity));;
}
</style>