feat(auth): protect aggregate console with password login
This commit is contained in:
@@ -1030,6 +1030,54 @@ main ul[aria-label='已配置实例'] {
|
||||
grid-column: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.auth-screen {
|
||||
min-height: 100vh;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 1.5rem;
|
||||
background:
|
||||
radial-gradient(circle at 15% 10%, rgba(242, 169, 59, 0.18), transparent 34%), var(--background);
|
||||
}
|
||||
.auth-card {
|
||||
width: min(100%, 27rem);
|
||||
padding: 2rem;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 1.5rem;
|
||||
background: var(--surface-raised);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
.auth-card form,
|
||||
.auth-password-fields {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
margin-top: 1.25rem;
|
||||
}
|
||||
.auth-card input,
|
||||
.auth-settings input[type='password'] {
|
||||
width: 100%;
|
||||
}
|
||||
.auth-settings {
|
||||
max-width: 45rem;
|
||||
display: grid;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
.toggle-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
.toggle-row span {
|
||||
display: grid;
|
||||
gap: 0.375rem;
|
||||
}
|
||||
.toggle-row input[type='checkbox'] {
|
||||
width: 2.875rem;
|
||||
height: 1.5rem;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
|
||||
Reference in New Issue
Block a user