Files
myrzx_bot/ranch_web/static/login.css
T

30 lines
1.7 KiB
CSS

:root {
font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
font-size: 14px;
color: #17243b;
background: #f4f6fa;
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: 420px; padding: 36px; background: #fff; border: 1px solid #dbe2ec; border-radius: 14px; box-shadow: 0 12px 40px rgb(22 34 53 / 6%); }
.login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; font-weight: 700; color: #2563eb; }
.login-brand svg { width: 28px; height: 28px; }
h1 { margin: 0 0 10px; font-size: 24px; font-weight: 650; letter-spacing: -.5px; }
p { margin: 0; line-height: 1.65; overflow-wrap: anywhere; }
#auth-description { color: #526079; margin-bottom: 28px; }
form { display: flex; flex-direction: column; gap: 8px; }
input, button { font: inherit; min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid #bdc9d9; border-radius: 7px; }
input { width: 100%; background: #fff; color: inherit; caret-color: #2563eb; }
button { margin-top: 12px; background: #2563eb; color: #fff; border-color: #2563eb; cursor: pointer; font-weight: 600; }
button:hover { background: #1d4ed8; }
button:disabled { cursor: default; opacity: .58; }
input:focus-visible, button:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
#auth-status { color: #55616e; }
#auth-error { color: #99251e; white-space: pre-wrap; }
noscript { display: block; margin-top: 16px; line-height: 1.65; }
::selection { background: #c5dbf5; color: #142b46; }
@media (max-width: 480px) { .admin-login { padding: 28px 24px; } }