更新 登录、注册表单样式

This commit is contained in:
moux1024 2025-09-20 21:44:19 +08:00
parent fe47bd2c18
commit 795e7447b3
2 changed files with 4 additions and 4 deletions

View File

@ -406,7 +406,7 @@ export default function SignupPage() {
<label
className={`absolute left-3 transition-all duration-200 pointer-events-none ${
email || emailFocused
? 'top-0 -translate-y-1/2 text-base text-white bg-black/40 px-1 rounded'
? 'top-0 -translate-y-1/2 text-base text-white bg-[#141400]/30 px-1 rounded'
: 'opacity-0'
}`}
>
@ -429,7 +429,7 @@ export default function SignupPage() {
<label
className={`absolute left-3 transition-all duration-200 pointer-events-none z-10 ${
password || passwordFocused
? 'top-0 -translate-y-1/2 text-base text-white bg-black/40 px-1 rounded'
? 'top-0 -translate-y-1/2 text-base text-white bg-[#141400]/30 px-1 rounded'
: 'opacity-0'
}`}
>

View File

@ -185,7 +185,7 @@ export default function Login() {
<label
className={`absolute left-3 transition-all duration-200 pointer-events-none ${
email || emailFocused
? 'top-0 -translate-y-1/2 text-base text-white bg-black/60 px-2 rounded'
? 'top-0 -translate-y-1/2 text-base text-white bg-[#141400]/30 px-2 rounded'
: 'opacity-0'
}`}
>
@ -207,7 +207,7 @@ export default function Login() {
<label
className={`absolute left-3 transition-all duration-200 pointer-events-none z-10 ${
password || passwordFocused
? 'top-0 -translate-y-1/2 text-base text-white bg-black/60 px-2 rounded'
? 'top-0 -translate-y-1/2 text-base text-white bg-[#141400]/30 px-2 rounded'
: 'opacity-0'
}`}
>