Smail/backend/controllers/wechatcallback/page.css
smail 4a927a32a3
Some checks are pending
Security Checks / security (push) Waiting to run
优化微信授权结果页的移动端布局与安全提示
2026-10-03 21:07:19 +08:00

149 lines
2.2 KiB
CSS

:root {
color-scheme: light;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
color: #182638;
background: #f3f6fa;
-webkit-text-size-adjust: 100%;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
min-height: 100svh;
padding: 48px 20px 28px;
padding-top: max(48px, env(safe-area-inset-top));
padding-bottom: max(28px, env(safe-area-inset-bottom));
}
.result-card {
width: 100%;
max-width: 440px;
margin: 0 auto;
padding: 28px 24px 24px;
border: 1px solid #e5eaf1;
border-radius: 24px;
background: #fff;
box-shadow: 0 12px 40px rgb(32 56 85 / 5%);
text-align: center;
}
.brand {
color: #254c8a;
font-size: 18px;
font-weight: 700;
letter-spacing: 0.3px;
}
.brand span {
margin-left: 8px;
color: #697789;
font-size: 14px;
font-weight: 400;
}
.status-icon {
display: flex;
align-items: center;
justify-content: center;
width: 72px;
height: 72px;
margin: 32px auto 16px;
border-radius: 50%;
font-size: 38px;
font-weight: 600;
line-height: 1;
}
.success {
color: #158057;
background: #e9f7f0;
}
.warning {
color: #a15b12;
background: #fff4e3;
}
.status-label {
margin: 0 0 8px;
color: #637186;
font-size: 13px;
}
h1 {
margin: 0;
font-size: 26px;
line-height: 1.4;
font-weight: 650;
}
.description {
margin: 12px 0 24px;
color: #526174;
font-size: 15px;
line-height: 1.7;
}
.steps {
display: grid;
gap: 16px;
margin: 0;
padding: 20px 16px;
border-radius: 16px;
background: #f6f8fb;
list-style: none;
text-align: left;
}
.steps li {
display: flex;
align-items: flex-start;
gap: 12px;
font-size: 15px;
line-height: 24px;
}
.step-number {
flex: 0 0 24px;
height: 24px;
border-radius: 50%;
background: #e8eef8;
color: #355987;
font-size: 13px;
font-weight: 600;
text-align: center;
}
.notice {
margin: 20px 0;
color: #647286;
font-size: 13px;
line-height: 1.8;
}
footer {
padding-top: 18px;
border-top: 1px solid #edf0f5;
color: #68768a;
font-size: 12px;
line-height: 1.7;
}
@media (max-width: 360px) {
body {
padding: 24px 12px;
}
.result-card {
padding: 24px 16px;
}
.steps {
padding: 16px 12px;
}
}