账户中心:完整简体中文,并修正“我的资源”和品牌标题。 Admin:浏览器标题跟随当前语言。 Email:页脚支持英文、简体中文、繁体中文;其他语言回退英文。 增加中英文 Storybook 验证场景。
61 lines
3.4 KiB
Plaintext
61 lines
3.4 KiB
Plaintext
<#macro emailLayout>
|
|
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<style>
|
|
body { margin: 0; padding: 0; background: #050713; color: #f4f7ff; font-family: "Segoe UI", Arial, sans-serif; }
|
|
table { border-collapse: collapse; }
|
|
a { color: #047f9a; font-weight: 600; }
|
|
.nexus-email-shell { width: 100%; background: #050713; }
|
|
.nexus-email-wrap { width: 100%; max-width: 620px; margin: 0 auto; padding: 44px 18px; }
|
|
.nexus-email-brand { padding: 0 0 18px; color: #f4f7ff; font-family: Arial, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 3px; }
|
|
.nexus-email-signal { display: inline-block; width: 8px; height: 8px; margin: 0 12px 1px 2px; background: #63e6ff; transform: rotate(45deg); }
|
|
.nexus-email-brand-muted { color: #8e9ab7; font-weight: 400; }
|
|
.nexus-email-card { border: 1px solid #25314d; background: #0f172a; }
|
|
.nexus-email-accent { height: 3px; background: #63e6ff; background: linear-gradient(90deg, #63e6ff, #8cf0ec 50%, #8b7cff); }
|
|
.nexus-email-content { padding: 38px 42px 42px; color: #dce4f5; font-size: 15px; line-height: 1.7; }
|
|
.nexus-email-content h1, .nexus-email-content h2 { margin-top: 0; color: #ffffff; font-family: Arial, sans-serif; line-height: 1.15; }
|
|
.nexus-email-content p { margin: 0 0 18px; }
|
|
.nexus-email-content a { display: inline-block; margin: 8px 0; padding: 12px 20px; border-radius: 2px; color: #06111c !important; background: #63e6ff; background: linear-gradient(105deg, #63e6ff, #8cf0ec 55%, #a8a1ff); text-decoration: none; }
|
|
.nexus-email-meta { padding: 18px 2px 0; color: #7f8ca8; font-family: Consolas, monospace; font-size: 10px; letter-spacing: 1.4px; line-height: 1.7; }
|
|
.nexus-email-online { color: #54e6a4; }
|
|
@media only screen and (max-width: 540px) {
|
|
.nexus-email-wrap { padding: 22px 10px !important; }
|
|
.nexus-email-content { padding: 28px 22px 32px !important; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table role="presentation" class="nexus-email-shell" width="100%" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td align="center">
|
|
<table role="presentation" class="nexus-email-wrap" width="100%" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td class="nexus-email-brand">
|
|
<span class="nexus-email-signal"></span>NEXUS <span class="nexus-email-brand-muted">/ ID</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="nexus-email-card">
|
|
<div class="nexus-email-accent"></div>
|
|
<div class="nexus-email-content">
|
|
<#nested>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="nexus-email-meta">
|
|
${msg("nexusIdentityAccessLayer")} / <span class="nexus-email-online">${msg("nexusSecureMessage")}</span><br>
|
|
${msg("nexusAutomatedMessageNotice")}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
</#macro>
|