-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
94 lines (78 loc) · 1.5 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
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
body {
background-color: blue;
font-family: Arial, sans-serif;
color: white;
}
.container {
width: 80%;
margin: auto;
}
.section-title, .task-title, .task-time, .task-priority {
color: white;
}
.section-title:hover, .task-title:hover, .task-time:hover, .task-priority:hover {
color: purple;
}
.task-list .checked {
color: green;
text-decoration: line-through;
text-decoration-thickness: 2px;
}
#plus-sign {
position: fixed;
right: 20px;
top: 50%;
font-size: 50px;
color: white;
cursor: pointer;
}
.modal {
display: none;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
z-index: 1000;
}
.modal-content {
background-color: white;
color: black;
padding: 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#close, #edit-close {
cursor: pointer;
}
.checkbox {
width: 20px;
height: 20px;
margin-right: 10px;
display: inline-block;
background-color: yellow; /* initial color when unchecked */
}
li {
display: flex;
align-items: center;
}
li input[type="checkbox"] {
display: none;
}
.checkbox.checked {
background-color: green;
}
li input[type="checkbox"] {
display: none;
}
li input[type="checkbox"]:checked + .task-text {
color: green;
text-decoration-line: line-through;
text-decoration-thickness: 2px;
}
.task-text {
display: inline;
}