Smail/backend/controllers/wechatcallback/page.css
smail 7e28735bf4
Some checks are pending
Security Checks / security (push) Waiting to run
精简微信扫码结果页并优化手机阅读布局
2026-10-03 22:19:28 +08:00

211 lines
3.4 KiB
CSS

:root {
color-scheme: light;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
color: #182638;
background: #f4f7f8;
-webkit-text-size-adjust: 100%;
}
* {
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
margin: 0;
min-height: 100vh;
min-height: 100svh;
padding: 24px 20px;
padding-top: max(24px, env(safe-area-inset-top));
padding-right: max(20px, env(safe-area-inset-right));
padding-bottom: max(24px, env(safe-area-inset-bottom));
padding-left: max(20px, env(safe-area-inset-left));
}
.result-card {
width: 100%;
max-width: 420px;
margin: auto;
padding: 24px;
border: 1px solid #e6eceb;
border-radius: 20px;
background: #fff;
box-shadow: 0 12px 40px rgb(32 56 85 / 5%);
text-align: center;
}
.brand {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
color: #253d38;
font-size: 18px;
font-weight: 700;
letter-spacing: 0.3px;
}
.brand span {
padding-left: 10px;
border-left: 1px solid #dce3e1;
color: #697789;
font-size: 14px;
font-weight: 400;
}
.status-icon {
display: flex;
align-items: center;
justify-content: center;
width: 64px;
height: 64px;
margin: 28px auto 18px;
border-radius: 50%;
font-size: 38px;
font-weight: 600;
line-height: 1;
}
.success {
color: #158057;
background: #e9f7f0;
}
.warning {
color: #a15b12;
background: #fff4e3;
}
.checkmark {
width: 25px;
height: 14px;
margin-top: -6px;
border-bottom: 3px solid currentColor;
border-left: 3px solid currentColor;
transform: rotate(-45deg);
}
.status-label {
padding: 3px 8px;
border-radius: 6px;
color: #25634c;
background: #e6f1eb;
font-size: 12px;
font-weight: 400;
line-height: 1.5;
}
.warning-label {
color: #8b531d;
background: #fff0db;
}
h1 {
margin: 0;
font-size: 24px;
line-height: 1.4;
font-weight: 650;
}
.description {
margin: 10px 0 24px;
color: #526174;
font-size: 15px;
line-height: 1.7;
}
.next-step {
padding: 16px;
border: 1px solid #edf1f0;
border-radius: 12px;
background: #f7f9f8;
text-align: left;
}
.next-step h2 {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 8px;
margin: 0 0 16px;
font-size: 14px;
line-height: 1.5;
font-weight: 600;
}
.steps {
display: grid;
gap: 12px;
margin: 0;
padding: 0;
list-style: none;
text-align: left;
}
.steps li {
display: flex;
align-items: flex-start;
gap: 10px;
font-size: 14px;
line-height: 24px;
}
.steps strong {
color: #246248;
font-weight: 600;
}
.step-number {
flex: 0 0 24px;
height: 24px;
border-radius: 50%;
background: #e8eeeb;
color: #486456;
font-size: 13px;
font-weight: 600;
text-align: center;
}
.notice {
margin: 16px 0 20px;
color: #647286;
font-size: 13px;
line-height: 1.8;
}
footer {
padding-top: 16px;
border-top: 1px solid #edf0f5;
color: #68768a;
font-size: 12px;
line-height: 1.7;
}
@media (max-width: 360px) {
body {
padding-right: max(12px, env(safe-area-inset-right));
padding-left: max(12px, env(safe-area-inset-left));
}
.result-card {
padding: 24px 16px;
}
.next-step {
padding: 14px 12px;
}
}
@media (max-height: 600px) {
.status-icon {
margin-top: 20px;
margin-bottom: 14px;
}
.description {
margin-bottom: 18px;
}
}