Skip to content

Instantly share code, notes, and snippets.

@villeilkkala
Created January 23, 2018 17:25
Show Gist options
  • Save villeilkkala/28cf0916f651737e78cc2eac7318ca87 to your computer and use it in GitHub Desktop.
Save villeilkkala/28cf0916f651737e78cc2eac7318ca87 to your computer and use it in GitHub Desktop.
.todo {
width: 100%;
margin: 0;
height: 100%;
padding: 1em;
background: #fbfbfb;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-size: 0.8em;
color: #444452;
overflow-y: scroll;
}
.todo h1 {
margin: 0;
font-weight: bold;
}
.todo input[type="text"] {
width: 100%;
height: 3em;
line-height: 3em;
padding: 1em;
margin: 10px 0px 10px 0px;
border-radius: 11px;
border: none;
box-shadow: 0px 0px 6px #d0d0d0 inset;
}
.todo .username {
font-weight: 700;
}
.todo .signOut {
text-decoration: underline;
}
.todo .hideDone {
float: right;
}
.todo ul {
list-style: none;
margin: 0;
padding: 0;
flex-wrap: wrap;
}
.todo ul li {
margin: 3px 0px 0px 0px;
display: flex;
align-items: center;
padding: 10px;
border-bottom: 1px solid gray;
}
.todo ul li button {
background: #b1b1b1;
color: #fbfbfb;
border: none;
height: 100%;
padding: 5px;
cursor: pointer;
}
.todo ul li button:hover {
background: #d65d7f;
}
.todo ul .completed .text {
text-decoration: line-through;
color: #afafaf;
}
.todo ul li .text {
flex-grow: 1;
margin: 0px 10px 0px 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment