158 lines
2.4 KiB
CSS
158 lines
2.4 KiB
CSS
:root {
|
|
color: #121212;
|
|
font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
|
|
font-synthesis: none;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
.admin-auth-page {
|
|
min-height: 100vh;
|
|
background: #ffffff;
|
|
display: grid;
|
|
grid-template-rows: 8px 72px 1fr;
|
|
}
|
|
|
|
.admin-auth-accent {
|
|
background: #eaff00;
|
|
}
|
|
|
|
.admin-auth-header {
|
|
align-items: center;
|
|
border-bottom: 1px solid #dedede;
|
|
display: flex;
|
|
padding: 0 32px;
|
|
}
|
|
|
|
.admin-auth-wordmark {
|
|
color: #111111;
|
|
font-family: Arial, sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
letter-spacing: 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.admin-auth-panel {
|
|
align-self: center;
|
|
justify-self: center;
|
|
margin: 48px 20px 96px;
|
|
width: min(440px, calc(100vw - 40px));
|
|
}
|
|
|
|
.admin-auth-kicker {
|
|
color: #606060;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.admin-auth-panel h1 {
|
|
font-size: 26px;
|
|
line-height: 1.35;
|
|
margin: 0 0 36px;
|
|
}
|
|
|
|
.admin-auth-panel label {
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: 650;
|
|
margin-bottom: 9px;
|
|
}
|
|
|
|
.admin-auth-panel input {
|
|
border: 1px solid #b9b9b9;
|
|
border-radius: 4px;
|
|
font: inherit;
|
|
height: 48px;
|
|
min-width: 0;
|
|
padding: 0 13px;
|
|
width: 100%;
|
|
}
|
|
|
|
.admin-auth-panel input:focus {
|
|
border-color: #111111;
|
|
box-shadow: 0 0 0 2px #eaff00;
|
|
outline: none;
|
|
}
|
|
|
|
.admin-auth-send-row {
|
|
display: grid;
|
|
gap: 10px;
|
|
grid-template-columns: minmax(0, 1fr) 124px;
|
|
}
|
|
|
|
.admin-auth-panel button {
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-weight: 700;
|
|
height: 48px;
|
|
}
|
|
|
|
.admin-auth-panel button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.48;
|
|
}
|
|
|
|
.admin-auth-send {
|
|
background: #ffffff;
|
|
border: 1px solid #111111;
|
|
width: 124px;
|
|
}
|
|
|
|
.admin-auth-code-field {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.admin-auth-error {
|
|
border-left: 3px solid #c93333;
|
|
color: #8d1717;
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
margin: 20px 0 0;
|
|
padding-left: 12px;
|
|
}
|
|
|
|
.admin-auth-submit {
|
|
background: #151515;
|
|
border: 1px solid #151515;
|
|
color: #ffffff;
|
|
margin-top: 28px;
|
|
width: 100%;
|
|
}
|
|
|
|
.admin-auth-return {
|
|
color: #363636;
|
|
display: inline-block;
|
|
font-size: 14px;
|
|
margin-top: 24px;
|
|
text-underline-offset: 4px;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.admin-auth-header {
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.admin-auth-panel {
|
|
align-self: start;
|
|
margin-top: 72px;
|
|
}
|
|
|
|
.admin-auth-send-row {
|
|
grid-template-columns: minmax(0, 1fr) 112px;
|
|
}
|
|
|
|
.admin-auth-send {
|
|
width: 112px;
|
|
}
|
|
}
|