-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodoList.css
85 lines (85 loc) · 1.3 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
body{
font-family: "微软雅黑";
font-size: 14px;
}
input{
font-size: 14px;
}
body,ul,div,html{
padding: 0;
margin: 0;
}
.hidden{
display: none;
}
.main{
width: 800px;
margin: 0 auto;
}
li{
list-style-type: none;
line-height: 40px;
position: relative;
border: 1px solid transparent;
padding: 0 20px;
}
li .status-span{
display: block;
width: 10px;
height: 10px;
background: #ccc;
margin: 14px 10px 0 0 ;
float: left;
}
li .status-span.status-end{
background: #09f;
}
li .close{
position: absolute;
color: #f00;
font-size: 20px;
line-height: 40px;
height: 40px;
right: 20px;
cursor: pointer;
display: none;
top: 0;
}
li:hover{
border: 1px solid #09f;
}
li:hover .close{
display: block;
}
li div{
display: block;
}
li.eidting div{
display: none;
}
li .text2{
height: 40px;
padding-left: 10px;
box-sizing: border-box;
margin-left: 10px;
width: 80%;
display: none;
}
li.eidting .text2{
display: block;
}
li .text-keyword{
height: 40px;
padding-left: 10px;
box-sizing: border-box;
margin-left: 10px;
width: 80%;
display: none;
}
.text-keyword{
box-sizing: border-box;
width: 100%;
height: 40px;
padding-left: 10px;
outline: none;
}