carlos / todomvc-bakeoff Public

Clone
git clone https://amadan.net/carlos/todomvc-bakeoff

Plain git — no account needed to clone.

Download

Download this file

1/* Controls for when JavaScript is off. Each sits where its TodoMVC
2 counterpart is, so the page looks the same either way; the script
3 adds the `js` class to <html> and these disappear. */
4.js .nojs {
5 display: none;
6}
7
8.nojs {
9 margin: 0;
10 padding: 0;
11 border: 0;
12 background: none;
13 font: inherit;
14 color: inherit;
15 cursor: pointer;
16}
17
18/* Over the "mark all" chevron. */
19.toggle-all-submit {
20 position: absolute;
21 top: -65px;
22 left: 0;
23 width: 45px;
24 height: 65px;
25 opacity: 0;
26}
27
28/* Over the round checkbox at the start of each item. */
29.toggle-submit {
30 position: absolute;
31 top: 0;
32 bottom: 0;
33 left: 0;
34 width: 40px;
35 opacity: 0;
36}
37
38/* A small "edit" link, left of where the delete cross appears. */
39.edit-link {
40 position: absolute;
41 top: 0;
42 bottom: 0;
43 right: 50px;
44 height: 20px;
45 margin: auto 0;
46 font-size: 14px;
47 line-height: 20px;
48 color: #949494;
49 text-decoration: none;
50}
51
52.edit-link:hover,
53.edit-link:focus {
54 color: #4d4d4d;
55 text-decoration: underline;
56}
57
58html:not(.js) .todo-list li label {
59 padding-right: 100px;
60}
61
62.edit-form {
63 margin: 0;
64}
65