fix(ui): 统一认证页输入框 36px 与视觉样式

This commit is contained in:
zhanjunhao
2026-11-18 17:27:33 +08:00
parent db3dba1e96
commit 5610fdc273
14 changed files with 472 additions and 465 deletions
+7 -7
View File
@@ -42,12 +42,12 @@ const AuthCardHeader = ({
const { t } = useTranslation();
return (
<div
className={`flex flex-col items-center justify-center ${wrapperClassName}`}
className={`auth-card-header flex flex-col items-center justify-center ${wrapperClassName}`}
>
<div className={`relative ${logoWrapperClassName}`}>
{/* Logo 光环 */}
<div className='absolute -inset-1.5 bg-gradient-to-r from-brand-from/30 to-brand-to/30 rounded-xl blur-md opacity-60' />
<div className='relative p-2 bg-white dark:bg-neutral-800 rounded-xl shadow-md'>
<div className={`auth-card-logo relative ${logoWrapperClassName}`}>
{/* Logo 光环(.auth-login-page 认证页内隐藏,保持克制) */}
<div className='auth-card-logo-halo absolute -inset-1.5 bg-gradient-to-r from-brand-from/30 to-brand-to/30 rounded-xl blur-md opacity-60' />
<div className='auth-card-logo-box relative p-2 bg-white dark:bg-neutral-800 rounded-xl shadow-md'>
{logoNode || (
<img
src={logo}
@@ -58,10 +58,10 @@ const AuthCardHeader = ({
</div>
<Sparkles
size={14}
className='absolute -top-0.5 -right-0.5 text-amber-400 motion-safe:animate-pulse'
className='auth-card-sparkle absolute -top-0.5 -right-0.5 text-amber-400 motion-safe:animate-pulse'
/>
</div>
<h4 className='text-xl font-bold text-gray-800 dark:text-white tracking-tight mb-0.5'>
<h4 className='auth-card-title text-xl font-bold text-gray-800 dark:text-white tracking-tight mb-0.5'>
{title}
</h4>
<p className='auth-card-subtitle text-gray-500 dark:text-gray-400 text-xs'>