Login and register pages uses api functions, new styling and better handling in backend.

This commit is contained in:
2020-03-10 00:19:01 +01:00
parent 43bf312007
commit 9b7894ca7d
5 changed files with 197 additions and 122 deletions

View File

@@ -0,0 +1,69 @@
@import "./media-queries.scss";
@import "./variables.scss";
.outer {
display: flex;
flex-direction: column;
@include desktop {
margin-top: 10vh;
}
}
h2 {
font-family: knowit, Arial;
text-align: center;
font-size: 3rem;
width: 100vw;
@include mobile {
font-size: 2rem;
}
}
form {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
margin: 0 auto;
width: 60vw;
@include mobile {
display: flex;
flex-direction: column;
justify-content: center;
margin: 0 auto;
width: 90vw;
}
.label-div input {
font-size: 2rem;
min-height: 2rem;
line-height: 2rem;
border: none;
border-bottom: 1px solid black;
@include mobile {
font-size: 2rem;
min-height: 2rem;
line-height: 2rem;
margin-bottom: 1.5rem;
}
}
}
.vin-button {
margin-bottom: 0;
margin-top: auto;
}
.error {
padding: 1.25rem;
margin: 1.25rem;
width: calc(100% - 5rem);
background-color: $light-red;
color: $red;
}