From 125235c293ed3af45622301b35d3ff37cf05f9a6 Mon Sep 17 00:00:00 2001 From: cesnimda Date: Mon, 13 Jul 2026 09:33:51 +0200 Subject: [PATCH] style(ui): float auth/security cards to match mockup shadow language Login/register, forgot-password, reset-password, verify-email, and the 2FA/sessions settings cards all used a bare MuiPaper (1px border, no shadow) predating this session's theme foundation. MuiPaper itself stays untouched (it's a lower-level primitive used too broadly across the app -- menus, popovers -- to safely restyle globally), so these specific card instances get the same explicit no-border/floating-shadow treatment already applied screen-by-screen elsewhere this session. Static shadow value again, not theme.vars.customShadows -- inline sx callbacks execute against whatever theme is in context, and none of this repo's tests wrap components in a ThemeProvider (see fc56f94). --- job-tracker-ui/src/components/SessionsSettingsCard.tsx | 2 +- job-tracker-ui/src/components/TwoFactorSettingsCard.tsx | 2 +- job-tracker-ui/src/views/ForgotPasswordPage.tsx | 2 +- job-tracker-ui/src/views/LoginPage.tsx | 2 +- job-tracker-ui/src/views/ResetPasswordPage.tsx | 2 +- job-tracker-ui/src/views/VerifyEmailPage.tsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/job-tracker-ui/src/components/SessionsSettingsCard.tsx b/job-tracker-ui/src/components/SessionsSettingsCard.tsx index e480fca..b2862e5 100644 --- a/job-tracker-ui/src/components/SessionsSettingsCard.tsx +++ b/job-tracker-ui/src/components/SessionsSettingsCard.tsx @@ -85,7 +85,7 @@ export default function SessionsSettingsCard() { } return ( - + {t("sessionsSectionTitle")} diff --git a/job-tracker-ui/src/components/TwoFactorSettingsCard.tsx b/job-tracker-ui/src/components/TwoFactorSettingsCard.tsx index 44eba14..d85ddf5 100644 --- a/job-tracker-ui/src/components/TwoFactorSettingsCard.tsx +++ b/job-tracker-ui/src/components/TwoFactorSettingsCard.tsx @@ -184,7 +184,7 @@ export default function TwoFactorSettingsCard() { const isRecoveryStep = flow === "enable-recovery" || flow === "regenerate-recovery"; return ( - + {t("twoFactorSectionTitle")} diff --git a/job-tracker-ui/src/views/ForgotPasswordPage.tsx b/job-tracker-ui/src/views/ForgotPasswordPage.tsx index f9a63e9..e34ec64 100644 --- a/job-tracker-ui/src/views/ForgotPasswordPage.tsx +++ b/job-tracker-ui/src/views/ForgotPasswordPage.tsx @@ -36,7 +36,7 @@ export default function ForgotPasswordPage() { "radial-gradient(1200px 700px at 20% 0%, rgba(79,140,255,0.14), transparent 55%), radial-gradient(900px 600px at 80% 20%, rgba(245,158,11,0.10), transparent 55%)", }} > - + {t("forgotPasswordTitle")} diff --git a/job-tracker-ui/src/views/LoginPage.tsx b/job-tracker-ui/src/views/LoginPage.tsx index fc39a1c..b9b6804 100644 --- a/job-tracker-ui/src/views/LoginPage.tsx +++ b/job-tracker-ui/src/views/LoginPage.tsx @@ -130,7 +130,7 @@ export default function LoginPage() { "radial-gradient(1200px 700px at 20% 0%, rgba(79,140,255,0.14), transparent 55%), radial-gradient(900px 600px at 80% 20%, rgba(245,158,11,0.10), transparent 55%)", }} > - + {t("signInTitle")} diff --git a/job-tracker-ui/src/views/ResetPasswordPage.tsx b/job-tracker-ui/src/views/ResetPasswordPage.tsx index 53be715..e0b29bd 100644 --- a/job-tracker-ui/src/views/ResetPasswordPage.tsx +++ b/job-tracker-ui/src/views/ResetPasswordPage.tsx @@ -40,7 +40,7 @@ export default function ResetPasswordPage() { "radial-gradient(1200px 700px at 20% 0%, rgba(79,140,255,0.14), transparent 55%), radial-gradient(900px 600px at 80% 20%, rgba(245,158,11,0.10), transparent 55%)", }} > - + {t("resetPasswordTitle")} diff --git a/job-tracker-ui/src/views/VerifyEmailPage.tsx b/job-tracker-ui/src/views/VerifyEmailPage.tsx index 2524d0e..dca6109 100644 --- a/job-tracker-ui/src/views/VerifyEmailPage.tsx +++ b/job-tracker-ui/src/views/VerifyEmailPage.tsx @@ -48,7 +48,7 @@ export default function VerifyEmailPage() { "radial-gradient(1200px 700px at 20% 0%, rgba(79,140,255,0.14), transparent 55%), radial-gradient(900px 600px at 80% 20%, rgba(245,158,11,0.10), transparent 55%)", }} > - + {t("verifyEmailTitle")}