Files
xiaoxia-saas/apps/web/src/pages/auth/ResetPassword.css
T
灵应 24f1e47bf5
Deploy / Staging E2E Tests (push) Failing after 88h31m2s
Deploy / Deploy Staging (push) Failing after 88h33m31s
CI/CD Pipeline / Frontend Lint (push) Failing after 88h33m40s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 88h33m40s
Deploy / Production Browser E2E (push) Failing after 1747h9m2s
Deploy / Deploy Production (push) Failing after 1747h9m4s
Deploy / Build Production Runtime Images (push) Failing after 1747h9m5s
feat: P0-1 全局CSS变量体系对齐 — radius变量+硬编码清理
- global.css: radius变量对齐V21 (xs=8, sm=14, md=18, lg=24, xl=28, pill=999)
- main.tsx: Ant Design ConfigProvider borderRadius同步 (14/24/8)
- 全项目19个CSS文件硬编码圆角值替换为CSS变量
- 重点页面: generate/home/Admin/voice-clone/accounts/duplication
- auth页面: Login/Register/ForgotPassword/ResetPassword
- 组件: clone-modal/clone-voice-modal
- 其他: Plans/UpgradeSubscription/MyTemplates/ProfileSettings/index.css
- tsc零错误
2026-07-05 20:19:27 +08:00

107 lines
1.8 KiB
CSS

/* V21 重置密码页 - 与 Login 保持一致 */
.xx-auth-page {
display: grid;
place-items: center;
min-height: 100vh;
background: linear-gradient(
135deg,
rgba(79, 70, 229, 0.08),
rgba(16, 185, 129, 0.06)
);
padding: 24px;
}
.xx-auth-card {
background: rgba(255, 255, 255, 0.94);
border: 1px solid #e2e8f0;
border-radius: var(--radius-xl);
box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
padding: 40px;
width: 100%;
max-width: 400px;
}
.xx-auth-header {
text-align: center;
margin-bottom: 32px;
}
.xx-logo-big {
font-size: 64px;
margin-bottom: 16px;
}
.xx-auth-header h1 {
font-size: 28px;
margin: 0 0 8px;
color: #0f172a;
font-weight: 900;
}
.xx-auth-header p {
color: #64748b;
margin: 0;
font-size: 14px;
}
.xx-auth-footer {
text-align: center;
font-size: 14px;
color: #64748b;
margin-top: 20px;
}
.xx-auth-footer a {
color: #4f46e5;
text-decoration: none;
font-weight: 850;
}
.xx-auth-footer a:hover {
color: #4338ca;
}
/* Form 样式覆盖 */
.ant-form-item-label > label {
font-weight: 850;
color: #0f172a;
font-size: 14px;
}
.ant-input,
.ant-input-password input {
background: white;
border: 1px solid #e2e8f0;
border-radius: var(--radius-sm);
}
.ant-input:focus,
.ant-input-password input:focus {
border-color: #4f46e5;
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
/* Result 结果页样式 */
.xx-result-page {
display: grid;
place-items: center;
min-height: 100vh;
background: linear-gradient(
135deg,
rgba(79, 70, 229, 0.08),
rgba(16, 185, 129, 0.06)
);
padding: 24px;
}
.xx-result-card {
background: rgba(255, 255, 255, 0.94);
border: 1px solid #e2e8f0;
border-radius: var(--radius-xl);
box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
padding: 48px 40px;
width: 100%;
max-width: 400px;
text-align: center;
}