13 vertical-align: baseline;
16 -webkit-appearance: none;
23 font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
25 background: #eaeaea url('bg.png');
29 -webkit-font-smoothing: antialiased;
30 -moz-font-smoothing: antialiased;
31 -ms-font-smoothing: antialiased;
32 -o-font-smoothing: antialiased;
33 font-smoothing: antialiased;
37 input[type="checkbox"] {
43 background: rgba(255, 255, 255, 0.9);
44 margin: 130px 0 40px 0;
45 border: 1px solid #ccc;
47 border-top-left-radius: 2px;
48 border-top-right-radius: 2px;
49 box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2),
50 0 25px 50px 0 rgba(0, 0, 0, 0.15);
55 border-left: 1px solid #f5d6d6;
56 border-right: 1px solid #f5d6d6;
64 #todoapp input::-webkit-input-placeholder {
68 #todoapp input::-moz-placeholder {
81 color: rgba(255, 255, 255, 0.3);
82 text-shadow: -1px -1px rgba(0, 0, 0, 0.2);
83 -webkit-text-rendering: optimizeLegibility;
84 -moz-text-rendering: optimizeLegibility;
85 -ms-text-rendering: optimizeLegibility;
86 -o-text-rendering: optimizeLegibility;
87 text-rendering: optimizeLegibility;
92 border-radius: inherit;
103 border-bottom: 1px solid #6c615c;
105 background: -webkit-gradient(linear, left top, left bottom, from(rgba(132, 110, 100, 0.8)),to(rgba(101, 84, 76, 0.8)));
106 background: -webkit-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
107 background: linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
108 filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#9d8b83', EndColorStr='#847670');
109 border-top-left-radius: 1px;
110 border-top-right-radius: 1px;
119 font-family: inherit;
125 border: 1px solid #999;
126 box-shadow: inset 0 -1px 5px 0 rgba(0, 0, 0, 0.2);
127 -moz-box-sizing: border-box;
128 -ms-box-sizing: border-box;
129 -o-box-sizing: border-box;
130 box-sizing: border-box;
131 -webkit-font-smoothing: antialiased;
132 -moz-font-smoothing: antialiased;
133 -ms-font-smoothing: antialiased;
134 -o-font-smoothing: antialiased;
135 font-smoothing: antialiased;
139 padding: 16px 16px 16px 60px;
141 background: rgba(0, 0, 0, 0.02);
149 border-top: 1px dotted #adadad;
152 label[for='toggle-all'] {
173 #toggle-all:checked:before {
186 border-bottom: 1px dotted #ccc;
189 #todo-list li:last-child {
193 #todo-list li.editing {
198 #todo-list li.editing .edit {
201 padding: 13px 17px 12px 17px;
205 #todo-list li.editing .view {
209 #todo-list li .toggle {
212 /* auto, since non-WebKit browsers doesn't support input styling */
220 -webkit-appearance: none;
221 -ms-appearance: none;
226 #todo-list li .toggle:after {
228 /* 40 + a couple of pixels visual adjustment */
232 text-shadow: 0 -1px 0 #bfbfbf;
235 #todo-list li .toggle:checked:after {
237 text-shadow: 0 1px 0 #669991;
242 #todo-list li label {
244 word-break: break-word;
245 padding: 15px 60px 15px 15px;
249 -webkit-transition: color 0.4s;
250 transition: color 0.4s;
253 #todo-list li.completed label {
255 text-decoration: line-through;
258 #todo-list li .destroy {
269 -webkit-transition: all 0.2s;
270 transition: all 0.2s;
273 #todo-list li .destroy:hover {
274 text-shadow: 0 0 1px #000,
275 0 0 10px rgba(199, 107, 107, 0.8);
276 -webkit-transform: scale(1.3);
277 -ms-transform: scale(1.3);
278 transform: scale(1.3);
281 #todo-list li .destroy:after {
285 #todo-list li:hover .destroy {
289 #todo-list li .edit {
293 #todo-list li.editing:last-child {
317 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3),
318 0 6px 0 -3px rgba(255, 255, 255, 0.8),
319 0 7px 1px -3px rgba(0, 0, 0, 0.3),
320 0 43px 0 -6px rgba(255, 255, 255, 0.8),
321 0 44px 2px -6px rgba(0, 0, 0, 0.2);
345 text-decoration: none;
348 #filters li a.selected {
356 text-decoration: none;
357 background: rgba(0, 0, 0, 0.1);
361 box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.2);
364 #clear-completed:hover {
365 background: rgba(0, 0, 0, 0.15);
366 box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.3);
373 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
382 Hack to remove background from Mobile Safari.
383 Can't use it globally since it destroys checkboxes in Firefox and Opera
386 @media screen and (-webkit-min-device-pixel-ratio:0) {
388 #todo-list li .toggle {
392 #todo-list li .toggle {
401 -webkit-transform: rotate(90deg);
402 -ms-transform: rotate(90deg);
403 transform: rotate(90deg);
404 -webkit-appearance: none;
416 border-top: 1px dashed #C5C5C5;
417 border-bottom: 1px dashed #F7F7F7;
422 text-decoration: none;
427 text-decoration: underline;
455 margin: 0 0 30px 25px;
472 margin: 20px 0 60px 0;
509 vertical-align: middle;
515 background: rgba(0, 0, 0, .04);
519 .speech-bubble:after {
524 border: 13px solid transparent;
525 border-top-color: rgba(0, 0, 0, .04);
528 .learn-bar > .learn {
535 background-color: rgba(255, 255, 255, .6);
536 -webkit-transition-property: left;
537 transition-property: left;
538 -webkit-transition-duration: 500ms;
539 transition-duration: 500ms;
542 @media (min-width: 899px) {
548 .learn-bar > .learn {
552 .learn-bar #todoapp {
554 margin: 130px auto 40px auto;