55 lines
1.1 KiB
CSS
55 lines
1.1 KiB
CSS
/* 登录页只保留单页差异,公共认证卡片样式在 public.css */
|
|
.page-login .auth-card {
|
|
width: min(440px, 100%);
|
|
}
|
|
|
|
.login-mode-tabs {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 8px;
|
|
margin: 18px 0 16px;
|
|
padding: 4px;
|
|
border: 1px solid rgba(138, 64, 42, .14);
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, .72);
|
|
}
|
|
|
|
/* 登录方式按钮只负责状态呈现,切换逻辑在 auth-pages.js */
|
|
.login-mode-tab {
|
|
min-height: 38px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--muted);
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.login-mode-tab.is-active {
|
|
background: var(--brand);
|
|
color: #fff;
|
|
box-shadow: 0 8px 20px rgba(138, 64, 42, .18);
|
|
}
|
|
|
|
.login-mode-panel[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.page-login .code-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 124px;
|
|
gap: 10px;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.page-login .auth-layout {
|
|
align-items: start;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 620px) {
|
|
.page-login .code-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|