feat(auth): login, MFA and account screens
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
67cf62b536
commit
42892cb37f
10 files changed
+1226
-13
No files matched your search
@@ -699,3 +699,69 @@ html[data-theme="light"] .host-detail-row td { background: rgba(20, 58, 64, 0.03
|
||||
.legend { display: none; }
|
||||
.top-actions { justify-content: flex-start; }
|
||||
}
|
||||
|
||||
/* ---- Login and account ---- */
|
||||
.auth-shell { width: min(460px, 100%); margin: 0 auto; padding: 40px 16px; display: grid; gap: 16px; }
|
||||
.auth-brand { justify-content: center; }
|
||||
.auth-card { margin-top: 0; }
|
||||
.auth-step { display: grid; gap: 14px; }
|
||||
.auth-step[hidden], .form-stack[hidden] { display: none; }
|
||||
.auth-step h1 { font-size: 1.3rem; }
|
||||
.auth-step .link-btn { justify-self: center; }
|
||||
.auth-prefs { display: flex; justify-content: center; gap: 10px; }
|
||||
.notice.notice-warn { margin: 0; }
|
||||
.notice strong { white-space: normal; }
|
||||
.form-error {
|
||||
margin-bottom: 14px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent);
|
||||
border-radius: 10px;
|
||||
color: var(--danger);
|
||||
font-size: 0.84rem;
|
||||
}
|
||||
.form-ok { color: var(--accent); font-size: 0.84rem; }
|
||||
.qr { justify-self: center; display: block; margin: 0 auto; width: 200px; height: 200px; padding: 8px; border-radius: 10px; background: #ffffff; image-rendering: pixelated; }
|
||||
.secret-box {
|
||||
margin: 0;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid var(--line-strong);
|
||||
border-radius: 10px;
|
||||
background: var(--panel-solid);
|
||||
color: var(--text);
|
||||
font-family: var(--mono);
|
||||
font-size: 0.84rem;
|
||||
line-height: 1.7;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
user-select: all;
|
||||
}
|
||||
.secret-actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
||||
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
|
||||
.account-grid > .panel { margin-top: 16px; }
|
||||
.form-stack { display: grid; gap: 12px; }
|
||||
.form-inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
|
||||
.form-inline .field { min-width: 150px; }
|
||||
.data-table { width: 100%; border-collapse: collapse; }
|
||||
.data-table th {
|
||||
padding: 10px 12px;
|
||||
color: var(--muted);
|
||||
font-size: 0.68rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-align: left;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.data-table td { padding: 10px 12px; border-top: 1px solid var(--line); font-size: 0.82rem; vertical-align: middle; overflow-wrap: break-word; }
|
||||
.data-table select { padding: 6px 8px; }
|
||||
.data-table .row-actions { text-align: right; white-space: nowrap; }
|
||||
.btn.danger { color: var(--danger); }
|
||||
.btn.danger:hover { border-color: var(--danger); }
|
||||
.user-chip { color: var(--muted); font-size: 0.8rem; }
|
||||
.analysis-locked { margin: 0 0 14px; }
|
||||
@media (max-width: 1120px) { .account-grid { grid-template-columns: minmax(0, 1fr); } }
|
||||
.notice[hidden], .field-row[hidden], .btn[hidden] { display: none; }
|
||||
.empty-cell { color: var(--muted); }
|
||||
.form-inline .field.compact > span { font-size: 0.74rem; }
|
||||
html[data-theme="light"] .btn.primary { color: #ffffff; }
|
||||
.panel [role="status"] { margin: 0 0 12px; }
|
||||
#tokenOnce { margin-bottom: 14px; }
|
||||
Reference in new issue
Block a user