-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
122 lines (122 loc) · 2.29 KB
/
index.css
File metadata and controls
122 lines (122 loc) · 2.29 KB
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
115
116
117
118
119
120
121
122
body{
padding: 0px;
margin: 0px;
width: 100%;
height: 100%;
font-family: 'PingFangSC', 'Microsoft YaHei', 'Hiragino Sans GB', 'WenQuanYi Micro Hei';
color: #575b63;
font-size: 12px;
}
:focus {
outline: none;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: #aaa;
}
.app{
width: 100%;
min-height: 100vh;
background: url('./img/background.png') no-repeat center;
background-size: 100% 100%;
box-sizing: border-box;
overflow-y: auto;
}
.title{
text-align: center;
margin: 20px 0px;
font-size: 4em;
}
.footer{
text-align: center;
width: 100%;
margin: 20px 0px;
}
.list-container{
margin-left: auto;
margin-right: auto;
background-color: rgba(255, 255, 255, 0.8);
width: 500px;
border-radius: 4px;
}
.list-container .input{
width: 480px;
border: none;
border-bottom: 1px solid #ddd;
padding: 10px;
height: 40px;
line-height: 40px;
font-size: 1.5em;
color: #7a8394;
background-color: rgba(255, 255, 255, 0);
}
.list-item{
padding: 10px 0px;
border-bottom: 1px solid #ddd;
}
.list-item:hover .list-remove{
visibility: visible;
}
.active .chooseIcon{
border: 1px solid #5dc2af;
background: rgba(93, 194, 175, 0.2);
}
.chooseIcon{
display: inline-block;
margin: 13px 5px;
width: 20px;
height: 20px;
border-radius: 10px;
border: 1px solid #ddd;
cursor: pointer;
float: left;
top: 10px;
}
.list-text{
display: inline-block;
line-height: 48px;
width: 430px;
font-size: 1.5em;
color: #7a8394;
}
.list-text span{
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.active .list-text span{
text-decoration: line-through;
color: #d9d9d9;
}
.list-remove{
display: inline-block;
float: right;
margin: 13px 5px;
width: 20px;
height: 20px;
font-size: 1.5em;
color: #7a8394;
visibility: hidden;
cursor: pointer;
}
.todo-bottom{
padding: 10px;
}
.todo-count{
display: inline-block;
color: #aaa;
}
.todo-type{
display: inline-block;
float: right;
margin-right: 20px;
cursor: pointer;
color: #aaa;
padding: 0px 5px;
}
.todo-type:hover{
color: #5dc2af;
}
.choosed{
color: #5dc2af;
}