Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
style(component): style buttons and fields
Browse files Browse the repository at this point in the history
  • Loading branch information
lemredd committed Nov 24, 2022
1 parent b515011 commit ff4373c
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions components/settings/update_password_field.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,32 @@
<form class="verification">
<SensitiveTextField
v-model="currentPassword"
class="field"
label="Current password"
placeholder="enter your current password"/>
<SensitiveTextField
v-model="newPassword"
class="field"
label="New password"
placeholder="enter your new password"/>
<SensitiveTextField
v-model="confirmNewPassword"
class="field"
label="Confirm new password"
placeholder="confirm your new password"/>
</form>
</template>
<template #footer>
<button type="button" @click="cancel">
<button
type="button"
class="btn"
@click="cancel">
Cancel
</button>
<button type="button" @click="savePassword">
<button
type="button"
class="btn btn-primary"
@click="savePassword">
Save password
</button>
</template>
Expand All @@ -43,18 +52,24 @@
</template>

<style scoped lang="scss">
.verification {
@apply flex flex-col text-black;
@apply dark:text-light-500;
@import "@styles/btn.scss";
label {
padding: .5em 1em;
.verification {
@apply flex flex-col text-black;
@apply dark:text-light-500;
input {
padding: .25em .5em;
.field {
@apply mb-4;
}
label {
padding: .5em 1em;
input {
padding: .25em .5em;
}
}
}
}
</style>

<script setup lang="ts">
Expand Down

0 comments on commit ff4373c

Please sign in to comment.