Protect Tabularium with persistent authenticator-code login
Verify and deploy Tabularium / verify-and-deploy (push) Successful in 5m28s
Verify and deploy Tabularium / verify-and-deploy (push) Successful in 5m28s
This commit is contained in:
@@ -1447,3 +1447,88 @@ button {
|
||||
max-height: none;
|
||||
}
|
||||
}
|
||||
|
||||
.auth-page {
|
||||
min-height: 100dvh;
|
||||
display: grid;
|
||||
place-content: center;
|
||||
padding: 32px 20px;
|
||||
background: #fafcf9;
|
||||
}
|
||||
.auth-brand {
|
||||
margin: 0 auto 30px;
|
||||
}
|
||||
.auth-card {
|
||||
width: min(390px, calc(100vw - 40px));
|
||||
padding: 36px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 12px;
|
||||
background: white;
|
||||
box-shadow: 0 15px 45px #34523c06;
|
||||
}
|
||||
.auth-card h1 {
|
||||
font-size: 26px;
|
||||
font-weight: 550;
|
||||
letter-spacing: -0.8px;
|
||||
margin: 22px 0 12px;
|
||||
}
|
||||
.auth-description {
|
||||
font-size: 13px;
|
||||
color: #78867a;
|
||||
line-height: 1.8;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.auth-card label {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
color: #617566;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.auth-card input {
|
||||
width: 100%;
|
||||
padding: 13px;
|
||||
border: 1px solid #d8e2d7;
|
||||
border-radius: 6px;
|
||||
font:
|
||||
24px ui-monospace,
|
||||
monospace;
|
||||
letter-spacing: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
.auth-card input::placeholder {
|
||||
color: #bdc8bb;
|
||||
}
|
||||
.auth-error {
|
||||
font-size: 12px;
|
||||
color: #a64e3c;
|
||||
min-height: 38px;
|
||||
padding: 8px 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.auth-card button[type="submit"] {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
background: #2c7057;
|
||||
border-radius: 6px;
|
||||
color: white;
|
||||
font-size: 13px;
|
||||
}
|
||||
.auth-card button:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: default;
|
||||
}
|
||||
.auth-footnote {
|
||||
font-size: 11px;
|
||||
color: #92a08f;
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.logout-button {
|
||||
font-size: 11px;
|
||||
color: #788575;
|
||||
padding: 6px 0;
|
||||
}
|
||||
.logout-button:hover {
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user