fix: 采用选中的横排登录卡片

This commit is contained in:
2026-10-30 10:53:08 +08:00
parent 7f89d26942
commit 6b34fb438c
4 changed files with 91 additions and 43 deletions
+40 -19
View File
@@ -106,32 +106,53 @@ button, input, select { font: inherit; }
font-weight: 600;
letter-spacing: 0.12em;
}
.gate .gate-card:not(.wide) {
.lv-side {
width: max-content;
max-width: calc(100% - 32px);
box-sizing: border-box;
background: var(--panel);
color: var(--ink);
border: 1px solid var(--line);
border-radius: 4px;
padding: 28px 24px 20px;
}
.login-form {
.lv-side .lv-brand {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 18px;
}
.lv-side .lv-mark {
width: 28px;
height: 28px;
display: grid;
grid-template-columns: max-content 240px;
gap: 12px;
place-items: center;
border: 1px solid var(--accent);
color: var(--accent);
border-radius: 4px;
font-weight: 650;
font-size: 13px;
}
.lv-side h1 { margin: 0; font-size: 18px; }
.lv-side form {
display: grid;
grid-template-columns: max-content 220px;
column-gap: 8px;
row-gap: 10px;
align-items: center;
}
.login-form label { justify-self: end; }
.login-form .n-alert { grid-column: 1 / -1; }
.login-field { min-width: 0; }
.login-field .n-input { width: 100%; }
.login-submit {
grid-column: 2;
display: flex;
flex-direction: column;
gap: 12px;
min-width: 0;
.lv-side label { margin: 0; justify-self: end; }
.lv-side .n-alert { grid-column: 1 / -1; }
.lv-side .n-button { grid-column: 2; width: 100%; }
.lv-side .lv-go {
height: 36px;
margin-top: 4px;
font-weight: 600;
letter-spacing: 0.08em;
}
.login-submit .n-button {
width: 100%;
height: 40px;
}
.login-submit .gate-submit.n-button { margin-top: 4px; }
.lv-side .lv-captcha { display: flex; gap: 8px; align-items: center; min-width: 0; }
.lv-side .lv-captcha .n-input { flex: 1; min-width: 0; }
.gate-brand {
display: flex;
gap: 14px;