-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.css
More file actions
214 lines (190 loc) · 3.95 KB
/
Copy pathpopup.css
File metadata and controls
214 lines (190 loc) · 3.95 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
/* Set default font size and background color */
body {
font-size: 15px;
background-color: #f7f7f7;
font-family: Arial, sans-serif;
}
/* Center the to-do list container on the page */
#todo-container {
max-width: 500px;
margin: 0 auto;
padding: 10px;
background-color: #fff;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
/* Style the logo container */
#logo-container {
display: flex;
justify-content: flex-start;
align-items: center;
color: #33b5aa;
margin-bottom: 20px;
}
/* Size and position the logo */
#logo-container img {
height: 20px;
margin-right: 10px;
}
/* Style the logo text */
#logo-container h1 {
margin: 0;
font-size: 22px;
font-weight: bold;
color: #33b5aa;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
/* Style the to-do form */
#todo-form {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
margin-bottom: 5px;
}
/* Style the form inputs and button */
#todo-form input[type="text"],
#todo-form input[type="date"],
#todo-form button[type="submit"] {
font-size: 14px;
padding: 10px;
border: none;
border-radius: 5px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
/* Size the form inputs */
#todo-form input[type="text"],
#todo-form input[type="date"] {
flex-grow: 1;
margin-right: 10px;
margin-bottom: 10px;
}
/* Style the form submit button */
#todo-form button[type="submit"] {
background-color: #33b5aa;
color: #fff;
cursor: pointer;
transition: background-color 2s ease-in-out;
}
/* Style the task list container */
#task-list-container {
margin-bottom: 5px;
}
/* Style the task list heading */
#task-list-container h2 {
margin: 0 0 10px;
font-size: 20px;
font-weight: bold;
color: #33b5aa;
border-radius: 5px;
padding: 1px;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
/* Style the task and completed lists */
#task-list,
#completed-list {
list-style-type: none;
padding: 10px;
margin: 1px;
}
/* Style the task and completed list items */
#task-list li,
#completed-list li {
background-color: #eee;
margin-bottom: 10px;
padding: 5px;
border-radius: 5px;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: row;
}
/* Size and position the task and completed list item content */
#task-list li span,
#completed-list li span {
flex-grow: 5;
}
/* Style the task name */
.task-name {
display: inline-block;
font-size: 13px;
font-weight: bold;
text-align: center;
padding: 6px;
border: 5px;
border-radius: 5px;
}
/* Style the task date */
.task-date {
display: inline-block;
font-size: 12px;
width: 90;
padding: 3px;
text-align: center;
border: 3px;
border-radius: 5px;
}
/* Style the delete task button */
#task-list li button,
#completed-list li button {
background-color: #f44336;
color: #fff;
border: none;
padding: 5px 5px;
border-radius: 5px;
cursor: pointer;
}
/* Style the completed task */
.completed-task {
background-color: #bfbfbf;
text-decoration: line-through;
}
/* Show completed tasks */
.show-completed {
display: block;
}
/* Style the checkbox */
input[type=checkbox] {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
height: 20px;
width: 20px;
border-radius: 4px;
outline: none;
transition: all 1s ease-in-out;
background-color: white;
}
/* Style the checked checkbox */
input[type=checkbox]:checked:before {
content: "\2713";
display: block;
text-align: center;
color: white;
font-size: 20px;
line-height: 20px;
transition: all 1s ease-in-out;
background-color: #33B5AA;
border-color: #33B5AA;
border-radius: 4px;
}
/* Style the Add button */
button#add-button {
background-color: #33B5AA;
}
/* Style the Toggle Completed button */
#toggle-completed {
background-color: #33B5AA;
color: white;
border: none;
border-radius: 5px;
padding: 5px;
margin: 5px 0;
cursor: pointer;
font-size: 15px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s ease-in-out;
}
/* Style the Toggle Completed button on hover */
#toggle-completed:hover {
background-color: #3ac1ad;
}