134 lines
2.3 KiB
CSS
134 lines
2.3 KiB
CSS
html{
|
|
--true-blue: #0466c8ff;
|
|
--roman-silver: #7d8597ff;
|
|
--manatee: #979dacff;
|
|
--manatee-lighter: #c6cad2;
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-family: 'Open Sans';
|
|
}
|
|
|
|
body{
|
|
margin: 0px;
|
|
padding: 0px;
|
|
width: 100%;
|
|
}
|
|
|
|
input {
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
border-bottom: 2px solid var(--manatee);
|
|
color: var(--manatee);
|
|
font-size: medium;
|
|
|
|
transition: border-bottom 0.2s ease-in-out;
|
|
transition: color 0.2s ease-in-out;
|
|
}
|
|
|
|
input:focus{
|
|
border-bottom: 2px solid white;
|
|
color: white;
|
|
}
|
|
|
|
ul{
|
|
padding: 0px;
|
|
}
|
|
|
|
li{
|
|
list-style: none;
|
|
padding-bottom: 1em;
|
|
}
|
|
|
|
.header{
|
|
background-color: var(--true-blue);
|
|
height: 5em;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.header input{
|
|
position: relative;
|
|
height: 3em;
|
|
width: 20%;
|
|
text-align: center;
|
|
margin: auto;
|
|
}
|
|
|
|
.complete .todo-item{
|
|
background-color: var(--manatee);
|
|
transition: background-color 0.2s ease-in-out;
|
|
}
|
|
|
|
.complete p{
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.lower-bottom{
|
|
position: fixed;
|
|
margin-right: 10px;
|
|
margin-bottom: 10px;
|
|
right: 0;
|
|
bottom: 0;
|
|
|
|
height: 40px;
|
|
width: 40px;
|
|
}
|
|
|
|
.lower-bottom button{
|
|
color: white;
|
|
background-color: var(--true-blue);
|
|
height: 100%;
|
|
width: 100%;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
text-decoration: none;
|
|
display: table-cell;
|
|
border-radius: 50%;
|
|
outline: 0;
|
|
border: 0;
|
|
font-size: medium;
|
|
transition: color 0.2s ease-in-out;
|
|
}
|
|
|
|
.lower-bottom button:hover{
|
|
color: red;
|
|
}
|
|
|
|
.todo-item{
|
|
display: flex;
|
|
border: 1px solid black;
|
|
border-radius: 1em;
|
|
background-color: var(--manatee-lighter);
|
|
width: 85%;
|
|
margin:auto;
|
|
box-shadow: 5px 5px 3px var(--roman-silver);
|
|
}
|
|
|
|
.todo-item input{
|
|
height: 40px;
|
|
width: 30px;
|
|
margin-top: auto;
|
|
margin-bottom: auto;
|
|
}
|
|
|
|
.todo-item p{
|
|
padding-left: 1em;
|
|
}
|
|
|
|
.todo-item button{
|
|
margin-left: auto;
|
|
margin-right: 1em;
|
|
background-color: transparent;
|
|
border: 0;
|
|
outline: 0;
|
|
font-size: medium;
|
|
transition: color 0.2s ease-in-out;
|
|
}
|
|
|
|
.todo-item button:hover{
|
|
color: red;
|
|
}
|
|
|