-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtasklist.css
More file actions
88 lines (85 loc) · 1.59 KB
/
tasklist.css
File metadata and controls
88 lines (85 loc) · 1.59 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
padding: 20px;
}
ul {
background-color: lightgreen;
padding: 20px;
list-style-type: none;
border-radius: 5px;
}
li {
display: grid;
grid-template-columns: 1fr 1fr 1fr auto; /* 3 equal columns and one for buttons */
align-items: center;
padding: 10px;
background-color: white;
border: 1px solid #ccc; /* Add border */
border-radius: 5px;
margin: 10px 0;
transition: all 0.3s ease;
}
.task-info {
display: contents; /* Use contents to allow grid layout to work */
}
.completed {
text-decoration: line-through;
color: gray;
}
.task-text{
border: 10px;
border-color: #dc3545;
font-size: 1.9em;
color: #82c9f3;
}
.entry-time {
color: blue;
font-size: 0.9em;
margin-left: 10px;
}
.complete-time {
color: green;
font-size: 0.9em;
margin-left: 10px;
}
.buttons {
display: flex;
justify-content: flex-end;
gap: 10px;
}
button {
background-color: #007bff;
color: white;
border: none;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #0056b3;
}
.edit-button {
background-color: #ffc107;
}
.edit-button:hover {
background-color: #e0a800;
}
.delete-button {
background-color: #dc3545;
}
.delete-button:hover {
background-color: #c82333;
}
.complete-button {
background-color: #28a745;
}
.complete-button:hover {
background-color: #218838;
}