style of change email template

pull/22213/head
JzoNg 10 months ago
parent e215d00480
commit caa9943062

@ -13,56 +13,91 @@
} }
.container { .container {
width: 600px; width: 504px;
height: 360px; height: 454px;
margin: 40px auto; margin: 40px auto;
padding: 36px 48px; padding: 0 48px;
background-color: #fcfcfd; background-color: #fcfcfd;
border-radius: 16px; border-radius: 16px;
border: 1px solid #ffffff; border: 1px solid #ffffff;
box-shadow: 0 2px 4px -2px rgba(9, 9, 11, 0.08); box-shadow: 0px 3px 10px -2px rgba(9, 9, 11, 0.08), 0px 2px 4px -2px rgba(9, 9, 11, 0.06);
} }
.header { .header {
margin-bottom: 24px; padding-top: 36px;
padding-bottom: 24px;
} }
.header img { .header img {
max-width: 100px; max-width: 63px;
height: auto; height: auto;
} }
.title { .title {
font-weight: 600; margin: 0;
padding-top: 8px;
padding-bottom: 16px;
color: #101828;
font-size: 24px; font-size: 24px;
line-height: 28.8px; font-family: Inter;
font-style: normal;
font-weight: 600;
line-height: 120%; /* 28.8px */
} }
.description { .description {
font-size: 13px; color: #354052;
line-height: 16px; font-size: 14px;
color: #676f83; font-family: Inter;
margin-top: 12px; font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
}
.content1 {
margin: 0;
padding-top: 16px;
padding-bottom: 12px;
}
.content2 {
margin: 0;
}
.content3 {
margin: 0;
padding-bottom: 12px;
} }
.code-content { .code-content {
margin-bottom: 8px;
padding: 16px 32px; padding: 16px 32px;
text-align: center; text-align: center;
border-radius: 16px; border-radius: 16px;
background-color: #f2f4f7; background-color: #f2f4f7;
margin: 16px auto;
} }
.code { .code {
line-height: 36px; color: #101828;
font-weight: 700; font-family: Inter;
font-size: 30px; font-size: 30px;
font-style: normal;
font-weight: 700;
line-height: 36px;
} }
.tips { .tips {
line-height: 16px; margin: 0;
color: #676f83; padding-top: 12px;
font-size: 13px; padding-bottom: 16px;
color: #354052;
font-size: 14px;
font-family: Inter;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
} }
</style> </style>
</head> </head>
@ -74,10 +109,11 @@
<img src="https://assets.dify.ai/images/logo.png" alt="Dify Logo" /> <img src="https://assets.dify.ai/images/logo.png" alt="Dify Logo" />
</div> </div>
<p class="title">Confirm Your New Email Address</p> <p class="title">Confirm Your New Email Address</p>
<p class="description">Youre updating the email address linked to your Dify account. <div class="description">
<p class="content1">Youre updating the email address linked to your Dify account.</p>
To confirm this action, please use the verification code below. <p class="content2">To confirm this action, please use the verification code below.</p>
This code will only be valid for the next 5 minutes:</p> <p class="content3">This code will only be valid for the next 5 minutes:</p>
</div>
<div class="code-content"> <div class="code-content">
<span class="code">{{code}}</span> <span class="code">{{code}}</span>
</div> </div>

@ -13,56 +13,91 @@
} }
.container { .container {
width: 600px; width: 504px;
height: 360px; height: 454px;
margin: 40px auto; margin: 40px auto;
padding: 36px 48px; padding: 0 48px;
background-color: #fcfcfd; background-color: #fcfcfd;
border-radius: 16px; border-radius: 16px;
border: 1px solid #ffffff; border: 1px solid #ffffff;
box-shadow: 0 2px 4px -2px rgba(9, 9, 11, 0.08); box-shadow: 0px 3px 10px -2px rgba(9, 9, 11, 0.08), 0px 2px 4px -2px rgba(9, 9, 11, 0.06);
} }
.header { .header {
margin-bottom: 24px; padding-top: 36px;
padding-bottom: 24px;
} }
.header img { .header img {
max-width: 100px; max-width: 63px;
height: auto; height: auto;
} }
.title { .title {
font-weight: 600; margin: 0;
padding-top: 8px;
padding-bottom: 16px;
color: #101828;
font-size: 24px; font-size: 24px;
line-height: 28.8px; font-family: Inter;
font-style: normal;
font-weight: 600;
line-height: 120%; /* 28.8px */
} }
.description { .description {
font-size: 13px; color: #354052;
line-height: 16px; font-size: 14px;
color: #676f83; font-family: Inter;
margin-top: 12px; font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
}
.content1 {
margin: 0;
padding-top: 16px;
padding-bottom: 12px;
}
.content2 {
margin: 0;
}
.content3 {
margin: 0;
padding-bottom: 12px;
} }
.code-content { .code-content {
margin-bottom: 8px;
padding: 16px 32px; padding: 16px 32px;
text-align: center; text-align: center;
border-radius: 16px; border-radius: 16px;
background-color: #f2f4f7; background-color: #f2f4f7;
margin: 16px auto;
} }
.code { .code {
line-height: 36px; color: #101828;
font-weight: 700; font-family: Inter;
font-size: 30px; font-size: 30px;
font-style: normal;
font-weight: 700;
line-height: 36px;
} }
.tips { .tips {
line-height: 16px; margin: 0;
color: #676f83; padding-top: 12px;
font-size: 13px; padding-bottom: 16px;
color: #354052;
font-size: 14px;
font-family: Inter;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
} }
</style> </style>
</head> </head>
@ -74,10 +109,11 @@
<img src="https://assets.dify.ai/images/logo.png" alt="Dify Logo" /> <img src="https://assets.dify.ai/images/logo.png" alt="Dify Logo" />
</div> </div>
<p class="title">确认您的邮箱地址变更</p> <p class="title">确认您的邮箱地址变更</p>
<p class="description">您正在更新与您的 Dify 账户关联的邮箱地址。 <div class="description">
<p class="content1">您正在更新与您的 Dify 账户关联的邮箱地址。</p>
为了确认此操作,请使用以下验证码。 <p class="content2">为了确认此操作,请使用以下验证码。</p>
此验证码仅在接下来的5分钟内有效</p> <p class="content3">此验证码仅在接下来的5分钟内有效</p>
</div>
<div class="code-content"> <div class="code-content">
<span class="code">{{code}}</span> <span class="code">{{code}}</span>
</div> </div>

@ -13,56 +13,91 @@
} }
.container { .container {
width: 600px; width: 504px;
height: 360px; height: 454px;
margin: 40px auto; margin: 40px auto;
padding: 36px 48px; padding: 0 48px;
background-color: #fcfcfd; background-color: #fcfcfd;
border-radius: 16px; border-radius: 16px;
border: 1px solid #ffffff; border: 1px solid #ffffff;
box-shadow: 0 2px 4px -2px rgba(9, 9, 11, 0.08); box-shadow: 0px 3px 10px -2px rgba(9, 9, 11, 0.08), 0px 2px 4px -2px rgba(9, 9, 11, 0.06);
} }
.header { .header {
margin-bottom: 24px; padding-top: 36px;
padding-bottom: 24px;
} }
.header img { .header img {
max-width: 100px; max-width: 63px;
height: auto; height: auto;
} }
.title { .title {
font-weight: 600; margin: 0;
padding-top: 8px;
padding-bottom: 16px;
color: #101828;
font-size: 24px; font-size: 24px;
line-height: 28.8px; font-family: Inter;
font-style: normal;
font-weight: 600;
line-height: 120%; /* 28.8px */
} }
.description { .description {
font-size: 13px; color: #354052;
line-height: 16px; font-size: 14px;
color: #676f83; font-family: Inter;
margin-top: 12px; font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
}
.content1 {
margin: 0;
padding-top: 16px;
padding-bottom: 12px;
}
.content2 {
margin: 0;
}
.content3 {
margin: 0;
padding-bottom: 12px;
} }
.code-content { .code-content {
margin-bottom: 8px;
padding: 16px 32px; padding: 16px 32px;
text-align: center; text-align: center;
border-radius: 16px; border-radius: 16px;
background-color: #f2f4f7; background-color: #f2f4f7;
margin: 16px auto;
} }
.code { .code {
line-height: 36px; color: #101828;
font-weight: 700; font-family: Inter;
font-size: 30px; font-size: 30px;
font-style: normal;
font-weight: 700;
line-height: 36px;
} }
.tips { .tips {
line-height: 16px; margin: 0;
color: #676f83; padding-top: 12px;
font-size: 13px; padding-bottom: 16px;
color: #354052;
font-size: 14px;
font-family: Inter;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
} }
</style> </style>
</head> </head>
@ -74,10 +109,11 @@
<img src="https://assets.dify.ai/images/logo.png" alt="Dify Logo" /> <img src="https://assets.dify.ai/images/logo.png" alt="Dify Logo" />
</div> </div>
<p class="title">Verify Your Request to Change Email</p> <p class="title">Verify Your Request to Change Email</p>
<p class="description">We received a request to change the email address associated with your Dify account. <div class="description">
<p class="content1">We received a request to change the email address associated with your Dify account.</p>
To confirm this action, please use the verification code below. <p class="content2">To confirm this action, please use the verification code below.</p>
This code will only be valid for the next 5 minutes:</p> <p class="content3">This code will only be valid for the next 5 minutes:</p>
</div>
<div class="code-content"> <div class="code-content">
<span class="code">{{code}}</span> <span class="code">{{code}}</span>
</div> </div>

@ -13,56 +13,91 @@
} }
.container { .container {
width: 600px; width: 504px;
height: 360px; height: 454px;
margin: 40px auto; margin: 40px auto;
padding: 36px 48px; padding: 0 48px;
background-color: #fcfcfd; background-color: #fcfcfd;
border-radius: 16px; border-radius: 16px;
border: 1px solid #ffffff; border: 1px solid #ffffff;
box-shadow: 0 2px 4px -2px rgba(9, 9, 11, 0.08); box-shadow: 0px 3px 10px -2px rgba(9, 9, 11, 0.08), 0px 2px 4px -2px rgba(9, 9, 11, 0.06);
} }
.header { .header {
margin-bottom: 24px; padding-top: 36px;
padding-bottom: 24px;
} }
.header img { .header img {
max-width: 100px; max-width: 63px;
height: auto; height: auto;
} }
.title { .title {
font-weight: 600; margin: 0;
padding-top: 8px;
padding-bottom: 16px;
color: #101828;
font-size: 24px; font-size: 24px;
line-height: 28.8px; font-family: Inter;
font-style: normal;
font-weight: 600;
line-height: 120%; /* 28.8px */
} }
.description { .description {
font-size: 13px; color: #354052;
line-height: 16px; font-size: 14px;
color: #676f83; font-family: Inter;
margin-top: 12px; font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
}
.content1 {
margin: 0;
padding-top: 16px;
padding-bottom: 12px;
}
.content2 {
margin: 0;
}
.content3 {
margin: 0;
padding-bottom: 12px;
} }
.code-content { .code-content {
margin-bottom: 8px;
padding: 16px 32px; padding: 16px 32px;
text-align: center; text-align: center;
border-radius: 16px; border-radius: 16px;
background-color: #f2f4f7; background-color: #f2f4f7;
margin: 16px auto;
} }
.code { .code {
line-height: 36px; color: #101828;
font-weight: 700; font-family: Inter;
font-size: 30px; font-size: 30px;
font-style: normal;
font-weight: 700;
line-height: 36px;
} }
.tips { .tips {
line-height: 16px; margin: 0;
color: #676f83; padding-top: 12px;
font-size: 13px; padding-bottom: 16px;
color: #354052;
font-size: 14px;
font-family: Inter;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
} }
</style> </style>
</head> </head>
@ -74,10 +109,11 @@
<img src="https://assets.dify.ai/images/logo.png" alt="Dify Logo" /> <img src="https://assets.dify.ai/images/logo.png" alt="Dify Logo" />
</div> </div>
<p class="title">验证您的邮箱变更请求</p> <p class="title">验证您的邮箱变更请求</p>
<p class="description"> 我们收到了一个变更您 Dify 账户关联邮箱地址的请求。 <div class="description">
<p class="content1">我们收到了一个变更您 Dify 账户关联邮箱地址的请求。</p>
我们收到了一个变更您 Dify 账户关联邮箱地址的请求。 <p class="content2">我们收到了一个变更您 Dify 账户关联邮箱地址的请求。</p>
此验证码仅在接下来的5分钟内有效</p> <p class="content3">此验证码仅在接下来的5分钟内有效</p>
</div>
<div class="code-content"> <div class="code-content">
<span class="code">{{code}}</span> <span class="code">{{code}}</span>
</div> </div>

Loading…
Cancel
Save