29 lines
1.7 KiB
CSS
29 lines
1.7 KiB
CSS
:root {
|
|
font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
|
|
font-size: 13px;
|
|
color: #202832;
|
|
background: #f1f3f5;
|
|
font-synthesis: none;
|
|
color-scheme: light;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
[hidden] { display: none !important; }
|
|
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
|
|
.admin-login { width: 100%; max-width: 370px; padding: 24px; background: #fff; border: 1px solid #cbd1d8; border-radius: 5px; }
|
|
h1 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
|
|
p { margin: 0; line-height: 1.65; overflow-wrap: anywhere; }
|
|
form { display: flex; flex-direction: column; gap: 8px; }
|
|
input, button { font: inherit; min-width: 0; min-height: 36px; padding: 7px 10px; border: 1px solid #afb8c2; border-radius: 3px; }
|
|
input { width: 100%; background: #fff; color: inherit; caret-color: #245d9b; }
|
|
button { margin-top: 8px; background: #245d9b; color: #fff; border-color: #245d9b; cursor: pointer; }
|
|
button:hover { background: #1c4d83; }
|
|
button:disabled { cursor: default; opacity: .58; }
|
|
input:focus-visible, button:focus-visible { outline: 2px solid #245d9b; outline-offset: 2px; }
|
|
.loading-state { display: grid; place-items: center; min-height: 64px; }
|
|
.loading-spinner { display: block; width: 32px; height: 32px; border: 3px solid #cbd1d8; border-top-color: #245d9b; border-radius: 50%; animation: loading-spin .8s linear infinite; box-shadow: 0 0 0 4px #ffffffb3; }
|
|
@keyframes loading-spin { to { transform: rotate(360deg); } }
|
|
@media (prefers-reduced-motion: reduce) { .loading-spinner { animation: none; } }
|
|
#auth-error { color: #99251e; white-space: pre-wrap; }
|
|
noscript { display: block; margin-top: 16px; line-height: 1.65; }
|
|
::selection { background: #c5dbf5; color: #142b46; }
|