Smail/frontend/src/views/Recovery/Recovery.css
smail f60d3b0880
Some checks are pending
Security Checks / security (push) Waiting to run
整理前后端与测试构建目录并完善配置和安全引导
统一 frontend、backend、test、test-log 和 out 目录,更新构建、部署及测试入口;纳入配置管理兼容与首次安全引导修复;排除本机配置、密钥和测试产物。
2026-09-05 19:19:52 +08:00

169 lines
2.8 KiB
CSS

.recovery-content {
width: 100%;
max-width: 720px;
min-width: 0;
margin: 0 auto;
padding: clamp(24px, 4vw, 44px);
box-sizing: border-box;
}
.reset-boundary {
margin-top: 18px;
}
.security-notice,
.steps-card,
.channel-card {
min-width: 0;
box-sizing: border-box;
border: 1px solid var(--pm-border-color);
border-radius: 14px;
background: rgba(247, 250, 255, 0.9);
box-shadow: 0 4px 14px rgba(31, 41, 55, 0.04);
}
.security-notice {
display: flex;
gap: 14px;
align-items: flex-start;
padding: 18px;
border-color: rgba(245, 158, 11, 0.32);
background: rgba(255, 251, 235, 0.92);
}
.notice-icon {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 50%;
color: #ffffff;
background: #d97706;
font-size: 17px;
font-weight: 700;
}
.security-notice h2,
.steps-card h3 {
margin: 0;
color: var(--pm-text-primary);
line-height: 1.4;
}
.security-notice h2 {
font-size: 19px;
}
.security-notice p,
.channel-card p {
margin: 8px 0 0;
color: var(--pm-text-secondary);
font-size: 14px;
line-height: 1.7;
overflow-wrap: anywhere;
}
.steps-card,
.channel-card {
margin-top: 16px;
padding: 18px;
}
.steps-card h3 {
font-size: 17px;
}
.steps-card ol {
margin: 12px 0 0;
padding-left: 24px;
color: var(--pm-text-secondary);
font-size: 14px;
line-height: 1.8;
}
.steps-card li + li {
margin-top: 4px;
}
code {
padding: 2px 6px;
border-radius: 6px;
color: var(--pm-primary-color);
background: rgba(37, 99, 235, 0.1);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.94em;
}
.channel-heading {
display: flex;
gap: 10px;
align-items: center;
justify-content: space-between;
color: var(--pm-text-secondary);
font-size: 14px;
}
.channel-heading strong {
color: var(--pm-text-primary);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 16px;
}
.channel-hint {
display: flex;
flex-wrap: wrap;
gap: 8px 16px;
margin-top: 12px;
color: var(--pm-text-secondary);
font-size: 12px;
}
.back-button {
display: flex;
width: 100%;
margin-top: 20px;
min-height: 44px;
border-radius: 12px;
font-size: 15px;
font-weight: 600;
}
@media (max-width: 760px) {
.recovery-content {
padding: 18px 16px 24px;
}
}
@media (max-width: 480px) {
.recovery-content {
padding: 16px 12px 20px;
}
.security-notice,
.steps-card,
.channel-card {
padding: 14px;
}
.security-notice {
gap: 10px;
}
.security-notice h2 {
font-size: 17px;
}
.security-notice p,
.channel-card p,
.steps-card ol {
font-size: 13px;
}
.channel-heading {
align-items: flex-start;
flex-direction: column;
gap: 5px;
}
}