_todo.scss
3.08 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
/** =====================
Todo css start
========================== **/
#task-container {
ul {
overflow: hidden;
}
.task-headline {
display: none;
color: #666666;
border-bottom: 1px solid #C8C7BB;
padding-bottom: 20px;
margin-bottom: 20px;
font-size: 1.6em;
position: relative;
&:before {
height: 1px;
width: 100%;
background: #FFF;
position: absolute;
content: " ";
bottom: 0;
left: 0;
}
}
.nothing-message {
height: 160px;
color: #666;
background-size: 15%;
}
li {
float: left;
width: 49%;
overflow: auto;
height: auto;
min-height: 10px;
background: #FFF;
display: inline-block;
padding: 20px;
border: 1px solid #CCC;
color: #666;
border-top: 9px solid $primary-color;
cursor: pointer;
margin-bottom: 20px;
margin-right: 2%;
transition: all 0.3s;
position: relative;
&:nth-child(even) {
margin-right: 0;
}
&:hover {
opacity: 1;
border-top: 9px solid $default-color;
}
&.complete {
opacity: 1;
border-top: 9px solid $danger-color;
transition: all ease-in 0.3s;
&:before {
background: url("../images/complete.png") no-repeat;
position: absolute;
top: 5px;
right: 5px;
content: "";
width: 55px;
height: 55px;
background-size: 100%;
}
&:hover {
border-top: 9px solid $default-color;
opacity: 1;
}
p {
text-decoration: line-through;
}
}
}
p {
line-height: 1.6em;
text-align: left;
}
}
.add-line.complete {
text-decoration: line-through;
}
.task-panel {
.to-do-label {
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
margin-bottom: 20px;
&:last-child {
border-bottom: none;
margin-bottom: 0;
padding: 0;
}
}
}
.to-do-list {
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
margin-bottom: 20px;
i {
color: #ccc;
font-size: 17px;
opacity: 0;
}
&:last-child {
border: none;
padding: 0;
margin: 0;
}
&:hover i {
opacity: 1;
transition: opacity ease-in 0.3s;
}
p {
display: inline-block;
}
}
.to-do-label {
.checkbox-fade {
display: block;
.delete_todo {
float: right;
font-size: 24px;
color: #ccc;
}
}
.check-task {
display: block;
}
i {
cursor: pointer;
}
}
.done-task span,
.done-task .captions {
color: #919aa3;
text-decoration: line-through;
}
/**====== Todo css end ======**/