-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
87 lines (87 loc) · 1.3 KB
/
main.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
* {
margin: 0;
padding: 0;
}
body {
background: #EEEEEE;
font-family: "Microsoft Yahei";
font-size: 12px;
}
li {
list-style: none;
}
a {
color: #C47272;
}
#todo {
width: 520px;
background: #FFF;
margin: 200px auto 100px auto;
box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
border-radius: 5px;
overflow: hidden;
}
.inp {
width: 466px;
font-size: 24px;
line-height: 1.4em;
outline: none;
padding: 6px;
margin: 0 auto;
border: 1px solid #999999;
box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
}
.head h1 {
background: #E09F9F;
color: #FFF;
font-size: 36px;
font-weight: 400;
text-align: center;
padding: 10px;
}
.content {
padding: 20px;
background: url(images/ripple.png) repeat-x;
}
.todo-list {
margin-top: 10px;
}
.todo-item {
position: relative;
line-height: 40px;
font-size: 18px;
border-bottom: 1px solid #cccccc;
}
.edit {
display: none;
}
.item-del {
display: none;
position: absolute;
top: 10px;
right: 0;
background: url(images/destroy.png) no-repeat 50% 50%;
width: 20px;
height: 20px;
text-indent: -9999px;
}
.todo-item:hover .item-del {
display: block;
}
.foot {
padding: 10px 20px;
background: #F4FCE8;
}
.clear-all {
float: right;
}
.editable .normal {
display: none;
}
.editable .edit {
display: block;
}
.done .normal {
color: #e3e3e3;
text-decoration: line-through;
}