抽出 sign.css,统一全页登录/注册与找回/绑定视觉;中文文案与用户协议契约对齐 Auth_Service;弹层字段与 logo 同步。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
296 lines
5.6 KiB
CSS
296 lines
5.6 KiB
CSS
/**
|
|
* AKSRT full-page sign shell (login / register / reset / bind).
|
|
*
|
|
* @package AKSRT
|
|
*/
|
|
|
|
.page-template-user-sign {
|
|
min-height: 500px;
|
|
}
|
|
|
|
.sign-page {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
padding: 70px 16px 40px;
|
|
}
|
|
|
|
.sign-bg {
|
|
position: fixed;
|
|
inset: 0;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-position: center;
|
|
z-index: 0;
|
|
}
|
|
|
|
.sign-topbar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 20px;
|
|
background: color-mix(in srgb, var(--main-bg-color, #fff) 86%, transparent);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.sign-topbar a {
|
|
color: var(--main-color, #4e5358);
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.sign-card {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 100%;
|
|
max-width: 420px;
|
|
background: var(--main-bg-color, #fff);
|
|
border-radius: var(--main-radius, 8px);
|
|
box-shadow: 0 0 10px var(--main-shadow, rgba(116, 116, 116, 0.08));
|
|
padding: 30px 35px;
|
|
}
|
|
|
|
.sign-card--left { margin-right: auto; }
|
|
.sign-card--right { margin-left: auto; }
|
|
.sign-card--center { margin: 0 auto; }
|
|
|
|
.sign-logo {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.sign-logo img {
|
|
height: 36px;
|
|
}
|
|
|
|
.sign-logo__text {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
background: var(--focus-color, #f04494);
|
|
color: #fff;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sign-tabs {
|
|
display: flex;
|
|
border-bottom: 2px solid var(--main-border-color, rgba(50, 50, 50, 0.06));
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.sign-tab {
|
|
flex: 1;
|
|
padding: 10px 0;
|
|
border: none;
|
|
background: none;
|
|
font-size: 15px;
|
|
cursor: pointer;
|
|
color: var(--muted-color, #777);
|
|
border-bottom: 2px solid transparent;
|
|
margin-bottom: -2px;
|
|
transition: all .2s;
|
|
text-align: center;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.sign-tab.is-active {
|
|
color: var(--focus-color, #f04494);
|
|
border-bottom-color: var(--focus-color, #f04494);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sign-tab:hover { color: var(--focus-color, #f04494); }
|
|
|
|
.sign-panel { display: none; }
|
|
.sign-panel.is-active { display: block; }
|
|
|
|
.sign-error {
|
|
background: rgba(239, 68, 68, 0.08);
|
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
|
border-radius: var(--main-radius, 8px);
|
|
padding: 10px 14px;
|
|
font-size: 13px;
|
|
color: #ef4444;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.sign-success {
|
|
background: rgba(16, 185, 129, 0.08);
|
|
border: 1px solid rgba(16, 185, 129, 0.2);
|
|
border-radius: var(--main-radius, 8px);
|
|
padding: 10px 14px;
|
|
font-size: 13px;
|
|
color: #10b981;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.sign-notice {
|
|
padding: 16px;
|
|
text-align: center;
|
|
color: var(--muted-2-color, #666);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.sign-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.sign-form .form-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.sign-form label {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--main-color, #4e5358);
|
|
}
|
|
|
|
.sign-form .input-wrap { position: relative; }
|
|
|
|
.sign-form .input-wrap input {
|
|
width: 100%;
|
|
height: 44px;
|
|
padding: 0 14px;
|
|
border: 1px solid transparent;
|
|
background: var(--body-bg-color, #f5f6f7);
|
|
border-radius: var(--main-radius, 8px);
|
|
font-size: 14px;
|
|
color: var(--key-color, #333);
|
|
transition: border-color .15s;
|
|
}
|
|
|
|
.sign-form .input-wrap input:focus {
|
|
outline: none;
|
|
border-color: var(--focus-color, #f04494);
|
|
box-shadow: 0 0 2px 3px var(--focus-shadow-color, rgba(253, 83, 161, 0.4));
|
|
}
|
|
|
|
.sign-form .toggle-pwd {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
color: var(--muted-2-color, #999);
|
|
padding: 4px;
|
|
}
|
|
|
|
.sign-form .form-row-between {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.sign-form .form-row-between a { color: var(--focus-color, #f04494); }
|
|
|
|
.sign-form .form-row-between label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
color: var(--muted-color, #777);
|
|
}
|
|
|
|
.sign-form .btn-submit {
|
|
width: 100%;
|
|
height: 44px;
|
|
border: none;
|
|
border-radius: var(--main-radius, 8px);
|
|
background: var(--focus-color, #f04494);
|
|
color: #fff;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: opacity .15s;
|
|
}
|
|
|
|
.sign-form .btn-submit:hover { opacity: .85; }
|
|
.sign-form .btn-submit:disabled { opacity: .5; cursor: not-allowed; }
|
|
|
|
.sign-hint {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: var(--muted-color, #777);
|
|
}
|
|
|
|
.sign-terms {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
color: var(--muted-color, #777);
|
|
}
|
|
|
|
.sign-terms a {
|
|
color: var(--focus-color, #f04494);
|
|
}
|
|
|
|
.sign-footer {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
font-size: 14px;
|
|
color: var(--muted-color, #777);
|
|
}
|
|
|
|
.sign-footer a { color: var(--focus-color, #f04494); }
|
|
|
|
.sign-footer-bar {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
text-align: center;
|
|
padding: 10px;
|
|
font-size: 12px;
|
|
color: var(--muted-2-color, #999);
|
|
z-index: 1;
|
|
background: color-mix(in srgb, var(--main-bg-color, #fff) 80%, transparent);
|
|
}
|
|
|
|
.sign-oauth {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.sign-oauth__divider {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
font-size: 12px;
|
|
color: var(--muted-2-color, #999);
|
|
}
|
|
|
|
.sign-oauth__divider::before,
|
|
.sign-oauth__divider::after {
|
|
content: "";
|
|
flex: 1;
|
|
height: 1px;
|
|
background: var(--main-border-color, rgba(50, 50, 50, 0.08));
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.sign-card { padding: 24px 20px; }
|
|
.sign-page { padding-top: 56px; }
|
|
}
|