-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTodoList.css
114 lines (113 loc) · 1.71 KB
/
TodoList.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
*{
margin: 0;
padding: 0;
}
body{
font-size: 16px;
background: #CDCDCD;
}
a{
text-decoration: none;
color: #999;
}
.head{
height: 50px;
width: 100%;
background: rgba(47,47,47,0.98);
}
.head>div{
width: 600px;
height: 100%;
margin: auto;
}
.head .name{
width: 100px;
float: left;
line-height: 50px;
color: #DDD;
font-size: 24px;
font-family: "Helvetica";
}
.head .name+input{
float: right;
width: 60%;
height: 24px;
margin-top: 12px;
text-indent: 10px;
border-radius: 5px;
box-shadow: 0 1px 0 rgba(255,255,255,0.24), 0 1px 6px rgba(0,0,0,0.45) inset;
border: none;
outline: none;
}
.container{
width: 600px;
min-height: 50px;
margin: auto;
}
h2{
display: block;
margin: 20px 0;
position: relative;
}
.container .count{
position: absolute;
top: 2px;
right: 5px;
display: inline-block;
padding: 0 5px;
height: 20px;
border-radius: 20px;
background: #E6E6FA;
line-height: 22px;
text-align: center;
color: #666;
font-size: 14px;
}
.container .demoBox{
list-style: none;
display: block;
}
li{
height: 32px;
line-height: 32px;
background: #fff;
position: relative;
margin-bottom: 10px;
padding: 0 45px;
border-radius: 3px;
border-left: 5px solid #629A9C;
box-shadow: 0 1px 2px rgba(0,0,0,0.07);
}
li>input{
position: absolute;
top: 2px;
left: 10px;
width: 22px;
height: 22px;
cursor: pointer;
margin: 3px 3px 3px 4px;
}
li>a{
position: absolute;
top: 2px;
right: 5px;
display: inline-block;
width: 14px;
height: 12px;
border-radius: 14px;
border: 6px double #fff;
background: #CCC;
line-height: 14px;
text-align: center;
color: #fff;
font-weight: bold;
font-size: 14px;
cursor: pointer;
}
.footer{
width: 600px;
margin: auto;
font-size: 14px;
color: #666;
text-align: center;
}