Debian Codegraph @

examples/todos/todos.css

raw
1 html,
2 body {
3 margin: 0;
4 padding: 0;
5 }
6
7 body {
8 font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
9 line-height: 1.4em;
10 background: #eeeeee;
11 color: #333333;
12 width: 520px;
13 margin: 0 auto;
14 -webkit-font-smoothing: antialiased;
15 }
16
17 #todoapp {
18 background: #fff;
19 padding: 20px;
20 margin-bottom: 40px;
21 -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
22 -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
23 -ms-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
24 -o-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
25 box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
26 -webkit-border-radius: 0 0 5px 5px;
27 -moz-border-radius: 0 0 5px 5px;
28 -ms-border-radius: 0 0 5px 5px;
29 -o-border-radius: 0 0 5px 5px;
30 border-radius: 0 0 5px 5px;
31 }
32
33 #todoapp h1 {
34 font-size: 36px;
35 font-weight: bold;
36 text-align: center;
37 padding: 0 0 10px 0;
38 }
39
40 #todoapp input[type="text"] {
41 width: 466px;
42 font-size: 24px;
43 font-family: inherit;
44 line-height: 1.4em;
45 border: 0;
46 outline: none;
47 padding: 6px;
48 border: 1px solid #999999;
49 -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
50 -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
51 -ms-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
52 -o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
53 box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
54 }
55
56 #todoapp input::-webkit-input-placeholder {
57 font-style: italic;
58 }
59
60 #main {
61 display: none;
62 }
63
64 #todo-list {
65 margin: 10px 0;
66 padding: 0;
67 list-style: none;
68 }
69
70 #todo-list li {
71 padding: 18px 20px 18px 0;
72 position: relative;
73 font-size: 24px;
74 border-bottom: 1px solid #cccccc;
75 }
76
77 #todo-list li:last-child {
78 border-bottom: none;
79 }
80
81 #todo-list li.done label {
82 color: #777777;
83 text-decoration: line-through;
84 }
85
86 #todo-list .destroy {
87 position: absolute;
88 right: 5px;
89 top: 20px;
90 display: none;
91 cursor: pointer;
92 width: 20px;
93 height: 20px;
94 background: url(destroy.png) no-repeat;
95 }
96
97 #todo-list li:hover .destroy {
98 display: block;
99 }
100
101 #todo-list .destroy:hover {
102 background-position: 0 -20px;
103 }
104
105 #todo-list li.editing {
106 border-bottom: none;
107 margin-top: -1px;
108 padding: 0;
109 }
110
111 #todo-list li.editing:last-child {
112 margin-bottom: -1px;
113 }
114
115 #todo-list li.editing .edit {
116 display: block;
117 width: 444px;
118 padding: 13px 15px 14px 20px;
119 margin: 0;
120 }
121
122 #todo-list li.editing .view {
123 display: none;
124 }
125
126 #todo-list li .view label {
127 word-break: break-word;
128 }
129
130 #todo-list li .edit {
131 display: none;
132 }
133
134 #todoapp footer {
135 display: none;
136 margin: 0 -20px -20px -20px;
137 overflow: hidden;
138 color: #555555;
139 background: #f4fce8;
140 border-top: 1px solid #ededed;
141 padding: 0 20px;
142 line-height: 37px;
143 -webkit-border-radius: 0 0 5px 5px;
144 -moz-border-radius: 0 0 5px 5px;
145 -ms-border-radius: 0 0 5px 5px;
146 -o-border-radius: 0 0 5px 5px;
147 border-radius: 0 0 5px 5px;
148 }
149
150 #clear-completed {
151 float: right;
152 line-height: 20px;
153 text-decoration: none;
154 background: rgba(0, 0, 0, 0.1);
155 color: #555555;
156 font-size: 11px;
157 margin-top: 8px;
158 margin-bottom: 8px;
159 padding: 0 10px 1px;
160 cursor: pointer;
161 -webkit-border-radius: 12px;
162 -moz-border-radius: 12px;
163 -ms-border-radius: 12px;
164 -o-border-radius: 12px;
165 border-radius: 12px;
166 -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
167 -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
168 -ms-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
169 -o-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
170 box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
171 }
172
173 #clear-completed:hover {
174 background: rgba(0, 0, 0, 0.15);
175 -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
176 -moz-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
177 -ms-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
178 -o-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
179 box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
180 }
181
182 #clear-completed:active {
183 position: relative;
184 top: 1px;
185 }
186
187 #todo-count span {
188 font-weight: bold;
189 }
190
191 #instructions {
192 margin: 10px auto;
193 color: #777777;
194 text-shadow: rgba(255, 255, 255, 0.8) 0 1px 0;
195 text-align: center;
196 }
197
198 #instructions a {
199 color: #336699;
200 }
201
202 #credits {
203 margin: 30px auto;
204 color: #999;
205 text-shadow: rgba(255, 255, 255, 0.8) 0 1px 0;
206 text-align: center;
207 }
208
209 #credits a {
210 color: #888;
211 }