tasko-frontend/style.css
2020-01-16 22:14:53 +01:00

233 lines
3.1 KiB
CSS

:root {
--navbar-text-color: #B5BDFB;
}
* {
font-family: sans-serif;
}
html {
height: 100%;
}
body {
margin: 0;
height: 100%;
}
/* body div:first-child {
height: 100%;
} */
#__next,
.root-container {
height: 100%;
}
/* navbar */
header {
width: 100%;
position: fixed;
}
nav ul {
background-color: #465DEF;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
}
nav div {
display: flex;
flex-wrap: wrap;
}
.navbar-options {
width: 65%;
}
.navbar-auth {
justify-content: flex-end;
width: 35%;
}
nav li {
display: flex;
}
nav a {
padding: 1em;
text-decoration: none;
color: var(--navbar-text-color);
font-size: 80%;
}
@media (min-width: 400px) {
nav a {
font-size: 90%;
}
}
nav img {
width: 1.1rem;
}
.navbar-auth li:first-of-type a {
border: solid 1px rgba(255, 255, 255, .1);
}
.navbar-auth li:last-of-type a:last-of-type {
background-color: #5D6CED;
color: #FFF;
}
/* footer */
footer {
position: fixed;
left: 0;
bottom: 0;
margin: .5em;
width: 100%;
color: #8F9DBE;
text-align: center;
font-size: 90%;
}
/* index page */
.page-content-center {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
h1 {
font-size: 1.4rem;
text-align: center;
}
.login-areas {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 1em;
}
.login-area {
display: flex;
flex-direction: column;
justify-content: space-between;
margin: 1em;
height: 10rem;
width: 18rem;
max-width: 300px;
color: #FFF;
border-radius: 2%;
}
.developer-account {
background-color: #4457F3;
}
.company-account {
background-color: #FF733F;
}
.login-area span {
display: inline-block;
margin: 1em;
}
.account-icon {
align-self: flex-end;
font-size: 2rem;
}
/* register page */
form {
display: flex;
flex-direction: column;
margin-top: 2%;
width: 90%;
max-width: 550px;
border-radius: 4px;
color: #838EAB;
}
form ul {
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
box-shadow: 0px 7px 14px #32325D1A;
}
form li {
display: flex;
border-bottom: 1px solid #E6EBF1;
}
form span,
form input {
display: flex;
justify-content: center;
height: 3.5rem;
width: 3.5rem;
}
form span {
align-items: center;
border-right: 1px solid #E6EBF1;
}
form input {
width: 100%;
border: none;
padding-left: 1.75rem;
color: rgba(131, 142, 171, 1);
font-size: 110%;
}
form button {
border: none;
}
form button:first-of-type {
height: 3.5rem;
border-radius: 4px;
font-size: 110%;
color: #FFF;
margin-top: 10%;
transition: .4s;
}
.register-button {
background-color: #EB9771;
}
.register-button:hover {
background-color: #FF7325;
}
.login-button {
background-color: #39C3797E;
}
.login-button:hover {
background-color: #39C379;
}
form button:last-of-type {
margin-top: 5%;
background-color: #FFF;
color: #8F9DBE;
text-align: end;
}