diff --git a/src/assets/styles/main.css b/src/assets/styles/main.css index abb8ff0..259a5ca 100644 --- a/src/assets/styles/main.css +++ b/src/assets/styles/main.css @@ -216,11 +216,89 @@ input[type='number'] { color: var(--color-text); } +.auth-page { + background: transparent; +} + +.auth-top { + display: grid; + grid-template-columns: 40px 1fr 40px; + align-items: center; + gap: 4px; + padding: 8px var(--page-padding); + background: var(--color-surface); +} + +.auth-top__title { + margin: 0; + text-align: center; + font-size: 1rem; + font-weight: 700; + color: var(--color-text); +} + +.auth-top .icon-btn { + width: 40px; + height: 40px; + border: none; + border-radius: 12px; + background: transparent; + display: grid; + place-items: center; + cursor: pointer; + color: var(--color-text); + padding: 0; +} + +.auth-body { + padding: 20px var(--page-padding) 32px; + display: flex; + flex-direction: column; + gap: 16px; + background: transparent; +} + +.auth-lead { + margin: 0; + font-size: 0.875rem; + color: var(--color-text-muted); + line-height: 1.6; +} + .auth-page .card { + width: 100%; + max-width: var(--auth-form-max-width); + margin-inline: auto; background: transparent; border: none; box-shadow: none; - padding-inline: 0; + padding: 0; +} + +.auth-switch { + margin: 0 auto; + width: 100%; + max-width: var(--auth-form-max-width); + text-align: center; + font-size: 0.875rem; + color: var(--color-text-muted); +} + +.auth-switch a { + font-weight: 700; + color: var(--color-primary); +} + +.auth-page .input, +.auth-page .job-select, +.auth-page .otp-box { + border: 1px solid #eeeef1; + border-radius: 12px; + background: var(--color-surface); +} + +.auth-page .btn { + border-radius: 12px; } .card + .card { diff --git a/src/assets/styles/responsive.css b/src/assets/styles/responsive.css index 845b5b4..ed9a463 100644 --- a/src/assets/styles/responsive.css +++ b/src/assets/styles/responsive.css @@ -48,19 +48,16 @@ } /* Auth pages */ - .auth-page__scroll { - display: flex; - flex-direction: column; + .auth-body { align-items: center; - justify-content: center; - padding-block: 48px; + padding-block: 32px 48px; } - .auth-header, + .auth-lead, .auth-page .card, - .auth-footer { + .auth-switch { width: 100%; - max-width: var(--form-max-width); + max-width: var(--auth-form-max-width); } /* Company selection */ diff --git a/src/views/auth/LoginView.vue b/src/views/auth/LoginView.vue index f1a0986..e01e139 100644 --- a/src/views/auth/LoginView.vue +++ b/src/views/auth/LoginView.vue @@ -72,14 +72,15 @@ async function submit() { diff --git a/src/views/auth/OtpView.vue b/src/views/auth/OtpView.vue index 0a894c4..518c990 100644 --- a/src/views/auth/OtpView.vue +++ b/src/views/auth/OtpView.vue @@ -231,22 +231,22 @@ onMounted(() => {