File tree 3 files changed +72
-4
lines changed
3 files changed +72
-4
lines changed Original file line number Diff line number Diff line change 7
7
< body >
8
8
9
9
< div ng-app ="ToDoList " class ="todo-list ">
10
-
10
+ < div class ="todo-list-row ">
11
+ < div class ="todo-list-check-col "> </ div >
12
+ < div class ="todo-list-text-col todo-list-text-col_heading "> I want to...</ div >
13
+ </ div >
14
+ < div class ="todo-list-row ">
15
+ < div class ="todo-list-check-col "> < input type ="checkbox " checked > </ div >
16
+ < div class ="todo-list-text-col todo-list-text-col_done "> task 1task 1task 1task 1task 1task 1task 1task 1task 1task 1task 1task 1</ div >
17
+ </ div >
18
+ < div class ="todo-list-row ">
19
+ < div class ="todo-list-check-col "> < input type ="checkbox "> </ div >
20
+ < div class ="todo-list-text-col "> task 2</ div >
21
+ </ div >
22
+ < div class ="todo-list-row ">
23
+ < div class ="todo-list-check-col "> < input type ="checkbox "> </ div >
24
+ < div class ="todo-list-text-col "> < input class ="todo-list-input " type ="text "> </ div >
25
+ </ div >
26
+ < div class ="todo-list-row ">
27
+ < div class ="todo-list-check-col "> </ div >
28
+ < div class ="todo-list-text-col todo-list-text-col_footer "> 3 task(s) remaining</ div >
29
+ </ div >
11
30
</ div >
12
31
13
32
< script src ="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular.min.js "> </ script >
Original file line number Diff line number Diff line change 2
2
background-color : rgb (241 , 241 , 241 );
3
3
}
4
4
5
+ @import url (http://fonts.googleapis.com/css?family=Roboto+Condensed);
6
+
5
7
.todo-list {
6
8
-moz-box-shadow : 2px 2px 9px 0px # ccc ;
7
9
-webkit-box-shadow : 2px 2px 9px 0px # ccc ;
8
10
box-shadow : 2px 2px 9px 0px # ccc ;
9
- width : 100px ;
10
- height : 100px ;
11
- background-color : white;
11
+ background-color : white;
12
+ width : 400px ;
13
+ }
14
+
15
+ .todo-list-row {
16
+ border-bottom : 1px solid rgb (214 , 214 , 214 );
17
+ display : table;
18
+ width : 100% ;
19
+ }
20
+
21
+ .todo-list-check-col {
22
+ width : 50px ;
23
+ display : table-cell;
24
+ text-align : center;
25
+ vertical-align : middle;
26
+ }
27
+
28
+ .todo-list-text-col {
29
+ border-left : 4px double rgb (247 , 211 , 216 );
30
+ padding-left : 10px ;
31
+ font : italic 14pt 'Roboto Condensed' , sans-serif;
32
+ width : 350px ;
33
+ white-space : nowrap;
34
+ overflow : hidden;
35
+ text-overflow : ellipsis;
36
+ line-height : 40px ;
37
+ }
38
+
39
+ .todo-list-text-col_heading {
40
+ font-size : 16pt ;
41
+ color : rgb (214 , 214 , 214 );
42
+ line-height : 70px ;
43
+ }
44
+
45
+ .todo-list-text-col_footer {
46
+ font-size : 10pt ;
47
+ font-style : normal;
48
+ color : rgb (160 , 160 , 160 );
49
+ line-height : 70px ;
50
+ }
51
+
52
+ .todo-list-text-col_done {
53
+ text-decoration : line-through;
54
+ }
55
+
56
+ .todo-list-input {
57
+ border : none;
58
+ font : italic 14pt 'Roboto Condensed' , sans-serif;
59
+ width : 100% ;
60
+ outline : none;
12
61
}
You can’t perform that action at this time.
0 commit comments