-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
311 lines (262 loc) · 6.06 KB
/
style.css
File metadata and controls
311 lines (262 loc) · 6.06 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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
/* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
align-items: center;
display: flex;
flex-direction: column;
font-family: 'Work Sans', sans-serif;
min-height: 100vh;
padding-top: 3%;
font-size: 16px; /* Set a base font size */
}
h1, h2 {
font-size: 24px; /* Ensure consistent heading sizes */
margin-bottom: 15px;
}
h2 {
font-size: 20px; /* Smaller than h1 */
}
/* Task Inputs Container */
.task-inputs {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
max-width: 1200px; /* Adjusted for wider layout */
padding: 20px;
}
/* Input Row (First Line) */
.input-row {
display: flex;
gap: 10px;
width: 100%;
}
.input-group {
display: flex;
flex-direction: column;
gap: 5px;
flex: 1;
}
.input-group label {
font-size: 14px;
font-weight: bold;
}
.input-group input,
.input-group select,
.input-group textarea {
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
width: 100%;
}
.input-group textarea {
resize: vertical;
height: 100px;
}
/* Add Task Button */
#addTask {
padding: 10px;
font-size: 16px;
border: none;
border-radius: 5px;
background-color: #007bff;
color: white;
cursor: pointer;
width: 100%;
}
#addTask:hover {
background-color: #0056b3;
}
/* Task Container */
#taskContainer {
width: 100%;
max-width: 1200px; /* Adjusted for wider layout */
padding: 20px;
font-size: 16px; /* Ensure consistent font size */
}
.project-section h2 {
font-size: 22px; /* Consistent heading size */
font-weight: bold;
margin-bottom: 10px;
margin-top: 20px;
}
.task-item {
margin: 12px 0;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
display: flex;
flex-direction: column;
gap: 5px;
width: 100%;
}
.task-item.completed {
background-color: #f0f0f0;
text-decoration: line-through;
}
.task-item .task-info {
display: flex;
justify-content: space-between;
align-items: center;
}
/* Increased font size for main task text */
.task-item .task-main-text {
font-size: 20px; /* Larger font for the main task text */
font-weight: 500; /* Slightly bolder */
}
.task-item .task-details {
font-size: 14px;
color: #666;
}
.task-item .task-notes {
font-size: 14px;
}
.complete-btn,
.delete-btn {
padding: 5px 10px;
border: none;
border-radius: 5px;
cursor: pointer;
}
.complete-btn {
background-color: #28a745;
color: white;
}
.delete-btn {
background-color: #dc3545;
color: white;
}
/* Existing styles */
.task-inputs {
display: flex;
flex-direction: column;
gap: 10px;
width: 70%; /* Adjust as needed */
}
.input-row {
display: flex;
gap: 10px;
}
.input-group {
flex: 1;
}
/* Common styles for both delete and export buttons */
.delete-buttons, .export-buttons {
position: fixed;
right: 20px;
display: flex;
flex-direction: column;
gap: 10px;
width: 150px; /* Set a fixed width */
}
/* Adjust top position so export buttons are below delete buttons */
.delete-buttons {
top: 20px;
}
.export-buttons {
top: 155px; /* Adjusted to be below delete buttons */
}
/* Different colors for each button */
#deleteTasksDB {
background-color: #ff4d4d; /* Red */
}
#deleteTasksDB:hover {
background-color: #ff1a1a;
}
#deleteDropdownsDB {
background-color: #9c27b0; /* Purple */
}
#deleteDropdownsDB:hover {
background-color: #7b1fa2;
}
#importDatabase {
background-color: #2196f3; /* Blue */
}
#importDatabase:hover {
background-color: #0b7dda;
}
#exportDBs {
background-color: #4CAF50; /* Green */
}
#exportDBs:hover {
background-color: #45a049;
}
/* Common button styles */
.delete-buttons button, .export-buttons button {
padding: 10px;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
width: 100%; /* Makes button width equal */
font-size: 14px; /* Consistent font size */
}
.person-name {
color: blue;
font-weight: bold;
}
/* Priority Colors */
.priority-high {
color: red;
font-weight: bold;
}
.priority-medium {
color: green;
font-weight: bold;
}
.priority-low {
color: orange;
font-weight: bold;
}
/* Collapsed Task Styles */
.project-section .task-item.completed {
display: flex; /* Visible when not collapsed */
}
.project-section.collapsed .task-item.completed {
display: none; /* Hidden when collapsed */
}
/* Collapse Button */
.collapse-btn {
background-color: grey;
color: white;
border: none;
border-radius: 5px;
padding: 5px 10px;
cursor: pointer;
margin-left: 10px;
font-size: 14px;
}
.collapse-btn:hover {
background-color: #0056b3;
}
/* Task Added Date */
.task-added-date {
font-size: 12px;
color: gray;
margin-top: 5px;
font-style: italic;
}
.note-highlight {
background-color: yellow;
}
/* Styles for the "Other Notes" textarea */
.task-item .task-notes textarea {
width: 100%; /* Match the width of the task box */
padding: 10px; /* Match the padding of the task box */
font-family: 'Work Sans', sans-serif; /* Use the same font as the task text */
font-size: 16px; /* 2 points smaller than the task text (16px - 2px = 14px) */
border: 1px solid #ccc; /* Match the border of the task box */
border-radius: 5px; /* Match the border radius of the task box */
resize: vertical; /* Allow vertical resizing */
background-color: transparent; /* Match the background of the task box */
color: inherit; /* Inherit the text color from the parent */
}
/* Ensure the textarea fits within the task box */
.task-item .task-notes {
margin-top: 5px; /* Add some spacing between task details and notes */
}