-
@@ -154,7 +167,7 @@ import {
import { IonPage, IonContent } from '@ionic/vue';
import { Form, Field } from 'vee-validate';
-import { AUTHENTICATION_TIMEOUTS, IS_MOBILE_APP } from '@/constants';
+import { AUTHENTICATION_TIMEOUTS, IS_MOBILE_APP, IS_WEB } from '@/constants';
import { ComponentRef } from '@/types';
import { useAuth, useModals, useUi } from '@/composables';
@@ -233,6 +246,9 @@ export default defineComponent({
});
return {
+ AUTHENTICATION_TIMEOUTS,
+ IS_WEB,
+ IS_MOBILE_APP,
infoBoxEl,
isBiometricLoginEnabled,
isBiometricLoginAvailable,
@@ -245,8 +261,6 @@ export default defineComponent({
setNewPassword,
setBiometricLoginEnabled,
msToMinutes,
- IS_MOBILE_APP,
- AUTHENTICATION_TIMEOUTS,
};
},
});
@@ -258,62 +272,30 @@ export default defineComponent({
@use '@/styles/typography';
.secure-login-settings {
- .top-wrapper {
- padding-inline: var(--screen-padding-x);
- margin-bottom: 28px;
- }
-
- .text-description {
- padding: 16px 0;
- }
+ padding-top: 16px;
+ padding-bottom: 24px;
- .options-info {
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- align-items: flex-start;
- gap: 8px;
-
- &.dimmed {
- opacity: 0.5;
- }
- }
-
- .options-label {
- @extend %face-sans-15-medium;
- }
-
- .options-description {
- @extend %face-sans-15-regular;
- opacity: 0.85;
- }
-
- .options {
- margin-top: 20px;
+ .form-group {
padding-inline: var(--screen-padding-x);
- display: flex;
- flex-direction: column;
- gap: 15px;
- }
- .inputs {
- width: 100%;
-
- .new-password {
- margin-top: 4px;
+ .form-group-fields {
display: flex;
flex-direction: column;
- gap: 4px;
+ gap: 15px;
+ margin-top: 16px;
}
+ }
- .btn-main {
- margin-top: 40px;
- margin-bottom: 24px;
- }
+ .dimmed {
+ opacity: 0.5;
+ }
+
+ .btn-reset-password {
+ margin-top: 40px;
}
.info-box {
- margin-bottom: 24px;
+ margin-top: 24px;
}
}
diff --git a/src/styles/global.scss b/src/styles/global.scss
index 5b6d06f99..40bfbd8c7 100644
--- a/src/styles/global.scss
+++ b/src/styles/global.scss
@@ -273,6 +273,7 @@ hr {
&-subheading {
@extend %face-sans-16-medium;
+
color: rgba($color-white, 0.75);
white-space: pre-line;
margin-bottom: 12px;