-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
52 lines (48 loc) · 1.17 KB
/
styles.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
/* The todo list */
ul li {
user-select: none;
cursor: pointer;
position: relative;
}
/* Unchecked checkbox image */
ul li::before {
content: '';
position: absolute;
height: 28px;
width: 28px;
background-image: url(images/unchecked.png);
background-size: cover;
background-position: center;
left: 0.5em;
}
/* List item checked - Greyyed and strike throughed*/
ul li.checked {
color: #555;
text-decoration: line-through;
}
ul li.checked::before {
background-image: url(images/checked.png);
}
/* Priority div */
ul li .priorityclass {
display: inline-block;
position: absolute;
right: 3em;
}
/* Date div */
ul li .dateclass {
display: inline-block;
position: absolute;
right: 8em;
}
/* Delete task "button" */
ul li .delclass {
height: 28px;
width: 28px;
display: inline-block;
position: absolute;
right: 0.5em;
}
ul li .delclass:hover {
background: url("images/delete-hover-28.png") no-repeat;
}