Skip to content

Commit 2e76a44

Browse files
committed
Merge pull request tastejs#112 from cburgdorf/angularRefactoring
Angular refactoring
2 parents b0c6707 + 42c1985 commit 2e76a44

File tree

12 files changed

+821
-551
lines changed

12 files changed

+821
-551
lines changed
Lines changed: 4 additions & 381 deletions
Original file line numberDiff line numberDiff line change
@@ -1,381 +1,4 @@
1-
html, body, div, span, applet, object, iframe,
2-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
3-
a, abbr, acronym, address, big, cite, code,
4-
del, dfn, em, font, img, ins, kbd, q, s, samp,
5-
small, strike, strong, sub, sup, tt, var,
6-
dl, dt, dd, ol, ul, li,
7-
fieldset, form, label, legend,
8-
table, caption, tbody, tfoot, thead, tr, th, td {
9-
margin: 0;
10-
padding: 0;
11-
border: 0;
12-
outline: 0;
13-
font-weight: inherit;
14-
font-style: inherit;
15-
font-size: 100%;
16-
font-family: inherit;
17-
vertical-align: baseline;
18-
}
19-
body {
20-
line-height: 1;
21-
color: black;
22-
background: white;
23-
}
24-
ol, ul {
25-
list-style: none;
26-
}
27-
a img {
28-
border: none;
29-
}
30-
31-
html {
32-
background: #eeeeee;
33-
}
34-
body {
35-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
36-
font-size: 14px;
37-
line-height: 1.4em;
38-
background: #eeeeee;
39-
color: #333333;
40-
}
41-
42-
.clickable{
43-
cursor:pointer;
44-
}
45-
46-
#todoapp {
47-
background: none repeat scroll 0 0 white;
48-
border-bottom-left-radius: 5px;
49-
border-bottom-right-radius: 5px;
50-
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
51-
background: none repeat scroll 0 0 white;
52-
margin: 0 auto 40px;
53-
padding: 20px;
54-
width: 480px;
55-
}
56-
57-
#todoapp {
58-
width: 480px;
59-
margin: 0 auto 40px;
60-
background: white;
61-
padding: 20px;
62-
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 5px 6px 0;
63-
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 5px 6px 0;
64-
-o-box-shadow: rgba(0, 0, 0, 0.2) 0 5px 6px 0;
65-
box-shadow: rgba(0, 0, 0, 0.2) 0 5px 6px 0;
66-
}
67-
#todoapp h1 {
68-
font-size: 36px;
69-
font-weight: bold;
70-
text-align: center;
71-
padding: 20px 0 30px 0;
72-
line-height: 1;
73-
}
74-
75-
#create-todo {
76-
position: relative;
77-
}
78-
#todo-form input {
79-
width: 466px;
80-
font-size: 24px;
81-
font-family: inherit;
82-
line-height: 1.4em;
83-
border: 0;
84-
outline: none;
85-
padding: 6px;
86-
border: 1px solid #999999;
87-
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
88-
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
89-
-o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
90-
box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
91-
}
92-
#create-todo input::-webkit-input-placeholder {
93-
font-style: italic;
94-
}
95-
#create-todo span {
96-
position: absolute;
97-
z-index: 999;
98-
width: 170px;
99-
left: 50%;
100-
margin-left: -85px;
101-
}
102-
103-
#todo-list {
104-
margin-top: 10px;
105-
}
106-
#todo-list li {
107-
padding: 12px 20px 11px 0;
108-
position: relative;
109-
font-size: 24px;
110-
line-height: 1.1em;
111-
border-bottom: 1px solid #cccccc;
112-
}
113-
#todo-list li:after {
114-
content: "\0020";
115-
display: block;
116-
height: 0;
117-
clear: both;
118-
overflow: hidden;
119-
visibility: hidden;
120-
}
121-
#todo-list li.editing-true {
122-
padding: 0;
123-
border-bottom: 0;
124-
}
125-
#todo-list .editing-true .display,
126-
#todo-list .edit {
127-
display: none;
128-
}
129-
#todo-list .editing-true .edit {
130-
display: block;
131-
}
132-
#todo-list .editing-true input {
133-
width: 444px;
134-
font-size: 24px;
135-
font-family: inherit;
136-
margin: 0;
137-
line-height: 1.6em;
138-
border: 0;
139-
outline: none;
140-
padding: 10px 7px 0px 27px;
141-
border: 1px solid #999999;
142-
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
143-
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
144-
-o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
145-
box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
146-
}
147-
#todo-list .check {
148-
position: relative;
149-
top: 9px;
150-
margin: 0 10px 0 7px;
151-
float: left;
152-
}
153-
#todo-list .done-true .todo-content {
154-
text-decoration: line-through;
155-
color: #777777;
156-
}
157-
#todo-list .todo-destroy {
158-
position: absolute;
159-
right: 5px;
160-
top: 14px;
161-
display: none;
162-
cursor: pointer;
163-
width: 20px;
164-
height: 20px;
165-
background: url(../img/destroy.png) no-repeat 0 0;
166-
}
167-
#todo-list li:hover .todo-destroy {
168-
display: block;
169-
}
170-
#todo-list .todo-destroy:hover {
171-
background-position: 0 -20px;
172-
}
173-
174-
#todo-stats {
175-
*zoom: 1;
176-
margin-top: 10px;
177-
color: #777777;
178-
179-
background: none repeat scroll 0 0 #F4FCE8;
180-
border-radius: 0 0 5px 5px;
181-
border-top: 1px solid #EDEDED;
182-
color: #555555;
183-
display: block;
184-
line-height: 36px;
185-
margin: 20px -20px -20px;
186-
overflow: hidden;
187-
padding: 0 20px;
188-
}
189-
190-
191-
192-
#todo-stats:after {
193-
content: "\0020";
194-
display: block;
195-
height: 0;
196-
clear: both;
197-
overflow: hidden;
198-
visibility: hidden;
199-
}
200-
#todo-stats .todo-count {
201-
float: left;
202-
}
203-
#todo-stats .todo-count .number {
204-
font-weight: bold;
205-
color: #333333;
206-
}
207-
#todo-stats .todo-clear {
208-
float: right;
209-
}
210-
211-
#todoapp #todo-stats {
212-
background: none repeat scroll 0 0 #F4FCE8;
213-
border-bottom-left-radius: 5px;
214-
border-bottom-right-radius: 5px;
215-
border-top: 1px solid #EDEDED;
216-
color: #555555;
217-
line-height: 36px;
218-
margin-top: 10px;
219-
padding: 0 20px;
220-
}
221-
222-
#todoapp #todo-stats .todo-clear a {
223-
display: block;
224-
line-height: 20px;
225-
text-decoration: none;
226-
-moz-border-radius: 12px;
227-
-webkit-border-radius: 12px;
228-
-o-border-radius: 12px;
229-
-ms-border-radius: 12px;
230-
-khtml-border-radius: 12px;
231-
border-radius: 12px;
232-
background: rgba(0, 0, 0, 0.1);
233-
color: #555555;
234-
font-size: 11px;
235-
margin-top: 8px;
236-
padding: 0 10px 1px;
237-
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
238-
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
239-
-o-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
240-
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
241-
}
242-
/* line 136 */
243-
#todoapp #todo-stats .todo-clear a:hover, #todoapp #todo-stats .todo-clear a:focus {
244-
background: rgba(0, 0, 0, 0.15);
245-
-moz-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
246-
-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
247-
-o-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
248-
box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
249-
}
250-
251-
#todo-stats .todo-clear a {
252-
color: #777777;
253-
font-size: 12px;
254-
}
255-
#todo-stats .todo-clear a:visited {
256-
color: #777777;
257-
}
258-
#todo-stats .todo-clear a:hover, #todo-stats .todo-clear a:focus {
259-
color: #336699;
260-
}
261-
262-
#instructions {
263-
width: 520px;
264-
margin: 10px auto;
265-
color: #777777;
266-
text-shadow: rgba(255, 255, 255, 0.8) 0 1px 0;
267-
text-align: center;
268-
}
269-
#instructions a {
270-
color: #336699;
271-
}
272-
273-
#credits {
274-
width: 520px;
275-
margin: 30px auto;
276-
color: #999;
277-
text-shadow: rgba(255, 255, 255, 0.8) 0 1px 0;
278-
text-align: center;
279-
}
280-
#credits a {
281-
color: #888;
282-
}
283-
284-
285-
/*
286-
* Fran�ois 'cahnory' Germain
287-
*/
288-
.ui-tooltip, .ui-tooltip-top, .ui-tooltip-right, .ui-tooltip-bottom, .ui-tooltip-left {
289-
position:absolute;
290-
color:#ffffff;
291-
cursor:normal;
292-
display:-moz-inline-stack;
293-
display:inline-block;
294-
font-size:12px;
295-
font-family:arial;
296-
padding:.5em 1em;
297-
position:relative;
298-
text-align:center;
299-
text-shadow:0 -1px 1px #111111;
300-
-webkit-border-top-left-radius:4px ;
301-
-webkit-border-top-right-radius:4px ;
302-
-webkit-border-bottom-right-radius:4px ;
303-
-webkit-border-bottom-left-radius:4px ;
304-
-khtml-border-top-left-radius:4px ;
305-
-khtml-border-top-right-radius:4px ;
306-
-khtml-border-bottom-right-radius:4px ;
307-
-khtml-border-bottom-left-radius:4px ;
308-
-moz-border-radius-topleft:4px ;
309-
-moz-border-radius-topright:4px ;
310-
-moz-border-radius-bottomright:4px ;
311-
-moz-border-radius-bottomleft:4px ;
312-
border-top-left-radius:4px ;
313-
border-top-right-radius:4px ;
314-
border-bottom-right-radius:4px ;
315-
border-bottom-left-radius:4px ;
316-
-o-box-shadow:0 1px 2px #000000, inset 0 0 0 1px #222222, inset 0 2px #666666, inset 0 -2px 2px #444444;
317-
-moz-box-shadow:0 1px 2px #000000, inset 0 0 0 1px #222222, inset 0 2px #666666, inset 0 -2px 2px #444444;
318-
-khtml-box-shadow:0 1px 2px #000000, inset 0 0 0 1px #222222, inset 0 2px #666666, inset 0 -2px 2px #444444;
319-
-webkit-box-shadow:0 1px 2px #000000, inset 0 0 0 1px #222222, inset 0 2px #666666, inset 0 -2px 2px #444444;
320-
box-shadow:0 1px 2px #000000, inset 0 0 0 1px #222222, inset 0 2px #666666, inset 0 -2px 2px #444444;
321-
background-color:#3b3b3b;
322-
background-image:-moz-linear-gradient(top,#555555,#222222);
323-
background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#555555),color-stop(1,#222222));
324-
filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#555555,EndColorStr=#222222);
325-
-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#555555,EndColorStr=#222222);
326-
}
327-
.ui-tooltip:after, .ui-tooltip-top:after, .ui-tooltip-right:after, .ui-tooltip-bottom:after, .ui-tooltip-left:after {
328-
content:"\25B8";
329-
display:block;
330-
font-size:2em;
331-
height:0;
332-
line-height:0;
333-
position:absolute;
334-
}
335-
.ui-tooltip:after, .ui-tooltip-bottom:after {
336-
color:#2a2a2a;
337-
bottom:0;
338-
left:1px;
339-
text-align:center;
340-
text-shadow:1px 0 2px #000000;
341-
-o-transform:rotate(90deg);
342-
-moz-transform:rotate(90deg);
343-
-khtml-transform:rotate(90deg);
344-
-webkit-transform:rotate(90deg);
345-
width:100%;
346-
}
347-
.ui-tooltip-top:after {
348-
bottom:auto;
349-
color:#4f4f4f;
350-
left:-2px;
351-
top:0;
352-
text-align:center;
353-
text-shadow:none;
354-
-o-transform:rotate(-90deg);
355-
-moz-transform:rotate(-90deg);
356-
-khtml-transform:rotate(-90deg);
357-
-webkit-transform:rotate(-90deg);
358-
width:100%;
359-
}
360-
.ui-tooltip-right:after {
361-
color:#222222;
362-
right:-0.375em;
363-
top:50%;
364-
margin-top:-.05em;
365-
text-shadow:0 1px 2px #000000;
366-
-o-transform:rotate(0);
367-
-moz-transform:rotate(0);
368-
-khtml-transform:rotate(0);
369-
-webkit-transform:rotate(0);
370-
}
371-
.ui-tooltip-left:after {
372-
color:#222222;
373-
left:-0.375em;
374-
top:50%;
375-
margin-top:.1em;
376-
text-shadow:0 -1px 2px #000000;
377-
-o-transform:rotate(180deg);
378-
-moz-transform:rotate(180deg);
379-
-khtml-transform:rotate(180deg);
380-
-webkit-transform:rotate(180deg);
381-
}
1+
/*this doesn't seem to be used in the jquery example at all. Its getting in the way */
2+
#todo-count span {
3+
font-weight: inherit;
4+
}

0 commit comments

Comments
 (0)