feat: Implement basic (dummy) admin auth
This commit is contained in:
parent
b37c0665d3
commit
8c29f1d31f
13 changed files with 706 additions and 5 deletions
81
assets/css/main.css
Normal file
81
assets/css/main.css
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#logo {
|
||||
display: block;
|
||||
max-height: 5rem;
|
||||
max-width: 5rem;
|
||||
height: auto;
|
||||
width: auto;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#center {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: space-around;
|
||||
flex-direction: column;
|
||||
max-width: 250px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
#login-form {
|
||||
max-width: 200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#login-line {
|
||||
margin-top: 1rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-size: 2rem;
|
||||
text-align: center;
|
||||
height: 2.5rem;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
#login-line > img {
|
||||
width: 1.75rem;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#login-line > input {
|
||||
border-color: rgba(31, 41, 55, 0.2);
|
||||
border-radius: 8px;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
#submit-login {
|
||||
width: 100%;
|
||||
background-color: rgb(87, 13, 248);
|
||||
cursor: pointer;
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
color: rgb(240, 240, 240);
|
||||
font-weight: bolder;
|
||||
text-transform: uppercase;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.banner {
|
||||
margin: 1rem auto;
|
||||
width: 100%;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.banner > p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.is-success {
|
||||
background-color: #28cb28;
|
||||
color: #efefef;
|
||||
}
|
||||
|
||||
.is-error {
|
||||
background-color: #d42929;
|
||||
color: #efefef;
|
||||
}
|
||||
Loading…
Reference in a new issue