-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
102 lines (87 loc) · 1.58 KB
/
style.css
File metadata and controls
102 lines (87 loc) · 1.58 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
body {
font-family: 'Segoe UI', sans-serif;
margin: 0;
padding: 0;
background: #aba8a8;
color: #333;
transition: background 0.3s, color 0.3s;
}
.container {
max-width: 600px;
margin: 30px auto;
padding: 20px;
background: #fff;
border-radius: 15px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
h1 {
text-align: center;
margin-bottom: 20px;
}
.controls {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 20px;
}
.controls input,
.controls select,
.controls button {
padding: 10px;
font-size: 16px;
border-radius: 10px;
border: 1px solid #ccc;
}
.controls button {
background: #007bff;
color: #fff;
cursor: pointer;
transition: 0.2s;
}
.controls button:hover {
background: #0056b3;
}
ul#taskList {
list-style: none;
padding: 0;
}
.task-item {
background: #f9f9f9;
border-left: 6px solid #007bff;
margin-bottom: 10px;
padding: 10px;
border-radius: 10px;
display: flex;
justify-content: space-between;
flex-direction: column;
}
.task-item .meta {
font-size: 14px;
color: #555;
}
.task-item .actions {
margin-top: 10px;
display: flex;
gap: 10px;
}
.task-item.low { border-left-color: #2196f3; }
.task-item.medium { border-left-color: #ffc107; }
.task-item.high { border-left-color: #f44336; }
.dark-mode {
background: #1e1e1e;
color: #ddd;
}
.dark-mode .container {
background: #2b2b2b;
}
.dark-mode .controls input,
.dark-mode .controls select,
.dark-mode .controls button {
background: #444;
color: #fff;
border: 1px solid #666;
}
.dark-mode .task-item {
background: #333;
color: #117a81;
}