-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesheet.css
310 lines (266 loc) · 6.85 KB
/
stylesheet.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
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
/* General Styles */
body {
font-family: Arial, sans-serif;
background-color: #121212;
color: #c0c0c0;
margin: 0;
padding: 20px;
display: flex;
justify-content: center; /* Center content horizontally */
align-items: center; /* Center content vertically */
min-height: 100vh; /* Ensure full viewport height */
flex-direction: column; /* Stack child elements vertically */
overflow-y: auto; /* Enable vertical scrolling when necessary */
}
.container {
background-color: #222831;
padding: 30px;
border-radius: 8px;
max-width: 600px;
width: 100%;
box-sizing: border-box;
text-align: center;
color: #00ddff;
margin: auto; /* Center the container horizontally */
}
#taskName {
text-align: center;
}
.task-details {
text-align: start;
max-height: 50px; /* Adjust based on your preference */
overflow-y: auto;
margin: 5px 0;
background-color: #595959;
color: #fff;
padding: 5px;
border-radius: 3px;
transition: max-height 0.3s ease;
}
.task-details:hover {
max-height: 200px; /* Adjust based on your preference */
}
/* Customizing Quill Editor's Options */
.ql-toolbar {
background-color: #a6a6a6; /* Light grey background */
border-bottom: 1px solid #ccc; /* Light grey border for a subtle separation */
}
.ql-align-center {
text-align: center;
}
.ql-align-right {
text-align: right;
}
.ql-align-left {
text-align: left;
}
.ql-align-justify {
text-align: justify;
}
/* Input Styles */
input[type="text"], input[type="email"], input[type="password"], select {
width: 90%;
padding: 10px;
margin: 10px 0;
border-radius: 5px;
border: 1px solid #00ddff;
background-color: #333;
color: #ffffff;
display: block;
margin-left: auto;
margin-right: auto;
}
/* Button Styles */
button, .btn, .new-task, .manage-users, .edit-link {
background-color: #4CAF50;
color: #ffffff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
display: inline-block;
text-decoration: none;
margin: 5px;
transition: background-color 0.3s ease;
}
button:hover, .btn:hover, .new-task:hover, .manage-users:hover, .edit-link:hover {
background-color: #367c39;
}
/* Message Styles */
.message, .password-requirements {
margin-top: 20px;
color: #FF6347;
font-size: 0.9em;
}
.success {
color: #00FF00; /* Green for success */
}
.error {
color: #FF6347; /* Tomato red for errors */
}
/* Task Urgency */
.task-urgency-green {
background-color: #1CD221; /* Green for less urgent tasks */
color: #FFFFFF;
padding: 10px;
margin-bottom: 5px;
border-radius: 5px;
}
.task-urgency-soon {
background-color: #FCB300; /* Orange for tasks that are upcoming soon */
color: #404040;
padding: 10px;
margin-bottom: 5px;
border-radius: 5px;
}
.task-urgency-critical {
background-color: #EE5606; /* Reddish-orange for critical tasks */
color: #404040;
padding: 10px;
margin-bottom: 5px;
border-radius: 5px;
}
.task-past-due {
background-color: #FF0000; /* Red for past due tasks */
color: #FFFFFF;
padding: 10px;
margin-bottom: 5px;
border-radius: 5px;
}
.task-completed {
text-decoration: line-through;
background-color: #666699; /* Gray for completed tasks */
color: #FFFFFF;
padding: 10px;
margin-bottom: 5px;
border-radius: 5px;
}
/* Other styles */
.manage-users-container {
max-width: 900px; /* Adjust this value as needed */
}
/* Completed Tasks and Checklist Items */
.completed {
text-decoration: line-through;
}
/* Task List Container sizing */
.task-container .task-list {
padding: 20px;
max-width: 1200px;
width: 100%;
margin: 0 auto;
box-sizing: border-box;
border-radius: 8px;
}
/* Manage Users styles */
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 1px solid #00ddff;
padding: 8px;
text-align: left;
}
th {
background-color: #333;
}
tr:nth-child(even) {
background-color: #222831;
}
/* Calendar Container */
.calendar-container {
background-color: #222831;
padding: 30px;
border-radius: 8px;
max-width: 1200px;
margin: 20px auto;
box-sizing: border-box;
text-align: center;
color: #00ddff;
}
/* Calendar Styles */
.calendar {
margin-top: 20px;
width: 100%;
}
.calendar table {
width: 100%;
table-layout: fixed; /* Ensures even distribution of column widths */
}
.calendar th,
.calendar td {
position: relative; /* Added for positioning of the date */
padding: 10px;
text-align: left; /* Align content to the left */
vertical-align: top; /* Align content to the top */
overflow-y: auto; /* Allow scrolling for overflow content */
min-height: 100px; /* Minimum height for each day cell */
border: 1px solid #222831; /* Border for each day cell for better visual separation */
}
.calendar th {
background-color: #222831;
color: #ffffff;
}
.calendar td {
background-color: #333;
color: #ffffff;
border: 1px solid #222831;
height: auto; /* Adjust cell height as needed */
}
.calendar .date-box {
min-height: 125px; /* Minimum height before scrolling */
max-height: 200px; /* Maximum height before scrolling */
overflow-y: auto; /* Enable vertical scrolling within the day cell */
display: flex;
flex-direction: column; /* Stack content vertically */
}
.calendar .date {
position: absolute; /* Position the date number absolutely within the cell */
top: 5px; /* Position at the top */
left: 5px; /* Position at the left */
background-color: rgba(255, 255, 255, 0.2); /* Slight background for visibility */
padding: 2px 4px; /* Padding around the date number */
border-radius: 3px; /* Rounded corners for the date background */
font-weight: bold; /* Bold font for the date number */
margin-bottom: 10px; /* Space between the date number and first task */
}
.date.current-day {
background-color: #0047ab; /* Only changing the background-color here */
}
.calendar .task {
padding: 5px;
margin-top: 20px; /* Space from the top for the date number */
border-radius: 3px;
}
/* Calendar Navigation Styles */
.calendar-navigation-btn {
background-color: #008CBA;
color: #ffffff;
padding: 10px 15px;
margin: 5px;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
transition: background-color 0.3s ease;
}
.calendar-navigation-btn:hover {
background-color: #005f73;
}
/* Adjustments for responsive design */
@media (max-height: 800px) {
.calendar-container {
margin-top: 10px;
margin-bottom: 10px;
}
.calendar td {
height: 80px; /* Adjust for smaller screens */
}
}
/* Registration Closed */
.registration-closed {
color: red; /* Or any color you prefer */
font-size: 1.2em;
margin-top: 20px;
}