From 1ad2f8da0d8cefc517c4d4b927f60e8d98915116 Mon Sep 17 00:00:00 2001 From: Web-serfer Date: Tue, 5 May 2026 22:16:43 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=BE=D0=B2=D1=8B=D0=B9=20=D0=B8=D0=B7?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B2=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=BC=D0=BF=D0=BE=D0=B5=D0=BD=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/auth/forgot-password.astro | 11 ++++++----- frontend/src/pages/auth/reset-password.astro | 13 +++++++------ frontend/src/pages/auth/sign-in.astro | 14 ++++++++------ frontend/src/pages/auth/verify.astro | 8 ++++---- 4 files changed, 25 insertions(+), 21 deletions(-) diff --git a/frontend/src/pages/auth/forgot-password.astro b/frontend/src/pages/auth/forgot-password.astro index f334862..fd963a4 100644 --- a/frontend/src/pages/auth/forgot-password.astro +++ b/frontend/src/pages/auth/forgot-password.astro @@ -121,13 +121,13 @@ import { SITE_URL } from '@constants'; .auth-card { background: #ffffff; border-radius: 16px; - padding: 2rem; + padding: 1rem 1.25rem; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); } .auth-header { text-align: center; - margin-bottom: 2rem; + margin-bottom: 1rem; } .auth-header h1 { @@ -144,7 +144,7 @@ import { SITE_URL } from '@constants'; } .form-group { - margin-bottom: 1.5rem; + margin-bottom: 1rem; } .form-group label { @@ -157,7 +157,7 @@ import { SITE_URL } from '@constants'; .form-group input { width: 100%; - padding: 0.75rem 1rem; + padding: 0.5rem 0.6rem; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.95rem; @@ -173,7 +173,8 @@ import { SITE_URL } from '@constants'; .error-message { color: #ef4444; font-size: 0.8rem; - margin-top: 0.25rem; + min-height: 0.75rem; + margin-top: 0.15rem; display: block; } diff --git a/frontend/src/pages/auth/reset-password.astro b/frontend/src/pages/auth/reset-password.astro index 1aa87b6..c782d58 100644 --- a/frontend/src/pages/auth/reset-password.astro +++ b/frontend/src/pages/auth/reset-password.astro @@ -231,13 +231,13 @@ const error = Astro.url.searchParams.get('error'); .auth-card { background: #ffffff; border-radius: 16px; - padding: 2rem; + padding: 1rem 1.25rem; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); } .auth-header { text-align: center; - margin-bottom: 2rem; + margin-bottom: 1rem; } .auth-header h1 { @@ -275,7 +275,7 @@ const error = Astro.url.searchParams.get('error'); } .form-group { - margin-bottom: 1.5rem; + margin-bottom: 1rem; } .form-group label { @@ -283,7 +283,7 @@ const error = Astro.url.searchParams.get('error'); color: #1e3050; font-size: 0.875rem; font-weight: 600; - margin-bottom: 0.5rem; + margin-bottom: 0.2rem; } .form-group .hint { @@ -294,7 +294,7 @@ const error = Astro.url.searchParams.get('error'); .form-group input { width: 100%; - padding: 0.75rem 1rem; + padding: 0.5rem 0.6rem; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.95rem; @@ -342,7 +342,8 @@ const error = Astro.url.searchParams.get('error'); .error-message { color: #ef4444; font-size: 0.8rem; - margin-top: 0.25rem; + min-height: 0.75rem; + margin-top: 0.15rem; display: block; } diff --git a/frontend/src/pages/auth/sign-in.astro b/frontend/src/pages/auth/sign-in.astro index 1874c42..eabdbaa 100644 --- a/frontend/src/pages/auth/sign-in.astro +++ b/frontend/src/pages/auth/sign-in.astro @@ -101,7 +101,7 @@ import { SITE_URL } from '@constants'; display: flex; align-items: center; justify-content: center; - padding: 2rem; + padding: 6rem 2rem 2rem; } .auth-container { @@ -113,7 +113,7 @@ import { SITE_URL } from '@constants'; .auth-card { background: #ffffff; border-radius: 16px; - padding: 1.5rem 1.5rem; + padding: 1rem 1.25rem; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); } @@ -141,7 +141,7 @@ import { SITE_URL } from '@constants'; .auth-form { display: flex; flex-direction: column; - gap: 0.5rem; + gap: 0.25rem; } .form-group { @@ -149,6 +149,8 @@ import { SITE_URL } from '@constants'; flex-direction: column; gap: 0.2rem; } + gap: 0.2rem; + } .form-group label { color: #1e3050; @@ -166,7 +168,7 @@ import { SITE_URL } from '@constants'; } .form-group input { - padding: 0.6rem 0.75rem; + padding: 0.5rem 0.6rem; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.9rem; @@ -238,8 +240,8 @@ import { SITE_URL } from '@constants'; .error-message { color: #ef4444; font-size: 0.75rem; - min-height: 1rem; - margin-top: 0.25rem; + min-height: 0.75rem; + margin-top: 0.15rem; } .form-group input.error { diff --git a/frontend/src/pages/auth/verify.astro b/frontend/src/pages/auth/verify.astro index a758d17..e3b4065 100644 --- a/frontend/src/pages/auth/verify.astro +++ b/frontend/src/pages/auth/verify.astro @@ -128,20 +128,20 @@ const userId = Astro.url.searchParams.get('userId'); .verify-card { background: #ffffff; border-radius: 16px; - padding: 2rem 1.5rem; + padding: 1rem 1.25rem; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); text-align: center; } .verify-icon { - width: 80px; - height: 80px; + width: 60px; + height: 60px; background: linear-gradient(135deg, #10b981 0%, #059669 100%); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; - margin-bottom: 1.5rem; + margin-bottom: 1rem; } .verify-icon.success {