/* CSS Reset */
@import "../base";
html,body,p,h1,ul,li,table,tr,th,td {
margin: 0;
padding: 0;
}
ins {
text-decoration: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
body {
color: #000;
background: #f7f7f7;
}
body,h1 {
font: 13px/16px Arial, sans-serif;
}
a {
color: #01c;
}
/* Page styles */
h1 {
font: 26px/24px "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: bold;
margin-bottom: 12px;
color: #111;
text-shadow: 0 1px #f7f7f7;
}
h1 > span {
color: #444;
font-weight: 200;
margin-left: 6px;
}
#head {
background: #ddd;
background: -webkit-gradient(linear,0 0,0 100%,from(#e7e7e7),to(#d0d0d0));
background: -moz-linear-gradient(#e7e7e7, #d0d0d0);
background: -ms-linear-gradient(#e7e7e7, #d0d0d0);
background: -o-linear-gradient(#e7e7e7, #d0d0d0);
background: linear-gradient(#e7e7e7, #d0d0d0);
-webkit-box-shadow: inset 0 1px #f7f7f7, 0 1px #888, 0 2px #e7e7e7;
-moz-box-shadow: inset 0 1px #f7f7f7, 0 1px #888, 0 2px #e7e7e7;
box-shadow: inset 0 1px #f7f7f7, 0 1px #888, 0 2px #e7e7e7;
padding: 12px 16px;
white-space: nowrap;
}
#add {
max-width: 480px;
position: relative;
}
#add-input {
margin-right: 56px;
}
#add-button,
.delete {
padding-left: 0;
padding-right: 0;
width: 52px;
}
#add-button {
position: absolute;
top: 0;
right: 0;
}
#new-todo {
width: 100%;
}
#dragbox-habit, #dragbox-daily, #dragbox-todo, #dragbox-reward {
position: absolute;
position: fixed;
width: 100%;
height: 100%;
z-index: -1;
}
#content {
max-width: 496px;
padding: 11px 16px 0 0;
}
#todos {
font-family: "Lucida Grande", Tahoma, sans-serif;
list-style: none;
}
.handle:hover {
opacity: 1;
}
.handle {
opacity: .4;
vertical-align: top;
padding: 3px 5px 0 7px;
}
.handle:after {
background: #ddd;
background: url("data:image/gif;base64,R0lGODdhAwADAPEAAN7e3oiIiP////f39yH/C1hNUCBEYXRhWE1QAT8ALAAAAAADAAMAQAIE1AYXVwA7");
background-clip: content-box;
background-origin: content-box;
vertical-align: top;
content: "";
display: block;
width: 8px;
height: 15px;
}
.todo {
width: 100%;
height: 100%;
position: relative;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 3px 4px 3px 18px;
}
.todo > label {
position: absolute;
margin-left: -18px;
}
.delete {
font-size: 11px;
padding: 0;
position: relative;
height: 18px;
}
.completed [contenteditable] {
text-decoration: line-through;
}
[contenteditable]:focus {
outline: none;
}
[contenteditable]:hover:before,
[contenteditable]:focus:before {
content: "";
}
[contenteditable]:before {
z-index: -1;
width: 100%;
height: 100%;
top: 0;
left: -4px;
display: block;
position: absolute;
}