tasko-frontend/style.css

243 lines
3.2 KiB
CSS
Raw Normal View History

2020-01-13 16:20:19 +01:00
:root {
--navbar-text-color: #B5BDFB;
}
2020-01-13 12:54:17 +01:00
* {
2020-01-13 16:20:19 +01:00
font-family: sans-serif;
}
html {
height: 100%;
}
2020-01-13 16:20:19 +01:00
body {
margin: 0;
height: 100%;
}
2020-01-14 15:23:01 +01:00
/* body div:first-child {
height: 100%;
} */
#__next,
.root-container {
height: 100%;
}
/* navbar */
header {
width: 100%;
position: fixed;
2020-01-13 16:20:19 +01:00
}
nav ul {
background-color: #465DEF;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
}
nav div {
2020-01-13 16:20:19 +01:00
display: flex;
flex-wrap: wrap;
}
.navbar-options {
width: 65%;
2020-01-13 16:20:19 +01:00
}
.navbar-auth {
justify-content: flex-end;
width: 35%;
2020-01-13 16:20:19 +01:00
}
nav li {
2020-01-13 16:20:19 +01:00
display: flex;
}
nav a {
2020-01-13 16:20:19 +01:00
padding: 1em;
text-decoration: none;
color: var(--navbar-text-color);
2020-01-13 22:46:02 +01:00
font-size: 80%;
}
@media (min-width: 400px) {
nav a {
font-size: 90%;
}
2020-01-13 16:20:19 +01:00
}
nav img {
width: 1.1rem;
}
2020-01-13 16:20:19 +01:00
.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 */
2020-01-14 09:53:40 +01:00
.page-content-center {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
h1 {
font-size: 1.4rem;
2020-01-15 19:43:39 +01:00
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;
}
2020-01-15 19:43:39 +01:00
/* 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;
2020-01-15 19:43:39 +01:00
}
form button:last-of-type {
margin-top: 5%;
background-color: #FFF;
color: #8F9DBE;
text-align: end;
}
2020-01-18 20:37:36 +01:00
/* tasks */
main {
display: flex;
}
.sidebar {
position: absolute;
}