Download this file
| 1 | /* The controls that work without JavaScript, laid over TodoMVC's own. With |
| 2 | JavaScript on (html.js) they're hidden and the page is the reference. */ |
| 3 | |
| 4 | form.inline { |
| 5 | display: contents; |
| 6 | } |
| 7 | |
| 8 | .toggle-button, |
| 9 | .toggle-all-button { |
| 10 | position: absolute; |
| 11 | z-index: 1; |
| 12 | padding: 0; |
| 13 | border: 0; |
| 14 | background: none; |
| 15 | font-size: 0; |
| 16 | cursor: pointer; |
| 17 | } |
| 18 | |
| 19 | .todo-list li .toggle-button { |
| 20 | top: 0; |
| 21 | bottom: 0; |
| 22 | left: 0; |
| 23 | width: 40px; |
| 24 | height: 40px; |
| 25 | margin: auto 0; |
| 26 | } |
| 27 | |
| 28 | .toggle-all-button { |
| 29 | top: -65px; |
| 30 | left: 0; |
| 31 | width: 45px; |
| 32 | height: 65px; |
| 33 | } |
| 34 | |
| 35 | .todo-list li .edit-link { |
| 36 | position: absolute; |
| 37 | top: 0; |
| 38 | right: 54px; |
| 39 | bottom: 0; |
| 40 | height: 20px; |
| 41 | margin: auto 0; |
| 42 | font-size: 14px; |
| 43 | line-height: 20px; |
| 44 | color: #949494; |
| 45 | text-decoration: none; |
| 46 | } |
| 47 | |
| 48 | .todo-list li .edit-link:hover, |
| 49 | .todo-list li .edit-link:focus { |
| 50 | color: #484848; |
| 51 | text-decoration: underline; |
| 52 | } |
| 53 | |
| 54 | html:not(.js) .todo-list li label { |
| 55 | padding-right: 90px; |
| 56 | } |
| 57 | |
| 58 | .js .toggle-button, |
| 59 | .js .toggle-all-button, |
| 60 | .js .edit-link { |
| 61 | display: none; |
| 62 | } |
| 63 | |