forked from juliano340/ada-m4-final
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
382 lines (326 loc) · 6.84 KB
/
style.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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
}
/* Estilo para o container geral */
header {
display: flex;
justify-content: space-around;
padding: 20px;
background-color: #f5f5f5;
}
#userList {
display: flex;
flex-direction: row;
gap: 10px;
}
/* Estilo para a lista de usuários */
#userList li {
list-style: none;
margin: 10px 0;
padding: 10px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
}
/* Estilo para o usuário selecionado */
#userList li.selected {
background-color: #007bff;
color: white;
}
/* Estilo para a imagem dos usuários */
#userList img {
margin-right: 10px;
}
/* Estilo para a lista de tags */
#tagList li {
list-style: none;
display: inline-block;
margin: 5px;
padding: 5px 10px;
border: 2px solid #007bff;
border-radius: 15px;
color: #007bff;
background-color: #e9f5ff;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
/* Estilo para a tag selecionada */
#tagList li.selected {
background-color: #007bff;
color: white;
border-color: #0056b3;
}
/* Estilo para o board do Kanban */
#kanbanBoard {
display: flex;
justify-content: space-around;
padding: 20px;
margin-top: 20px;
}
.kanban-column {
width: 30%;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #f5f5f5;
padding: 10px;
position: relative; /* Garante que os elementos dentro da coluna sigam o fluxo */
}
.kanban-column h2 {
text-align: center;
margin-bottom: 20px; /* Garante espaçamento entre o título e os cards */
font-size: 1.5rem;
color: #333;
z-index: 1; /* Garante que o título fique sobre os outros elementos */
}
.card {
border: 1px solid #ddd;
padding: 15px;
border-radius: 8px;
margin: 10px 0;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
position: relative;
z-index: 0; /* Certifica que o card não sobreponha o título */
}
.card h3 {
margin: 0px 0px 5px;
font-size: 1.2rem;
padding-right: 15px;
}
.card-buttons {
display: flex;
justify-content: space-between;
margin-top: 10px;
}
.card-buttons button {
padding: 5px 10px;
background-color: #007bff;
border: none;
border-radius: 5px;
color: white;
cursor: pointer;
}
.card-buttons button:hover {
background-color: #0056b3;
}
/* Estilos básicos do modal */
.modal {
display: none; /* Escondido por padrão */
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
background-color: #fff;
margin: 15% auto;
padding: 20px;
border-radius: 8px;
width: 50%;
}
.close {
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
#addTaskButton {
position: fixed;
bottom: 20px;
right: 20px;
font-size: 24px;
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 50%;
cursor: pointer;
z-index: 1000; /* Garante que o botão fique acima das colunas */
}
#addTaskButton:hover {
background-color: #0056b3;
}
#addTaskButton:hover {
background-color: #0056b3;
}
/* Estilo para o feedback */
.feedback {
position: fixed;
top: 10px;
right: 10px;
background-color: #28a745;
color: white;
padding: 10px 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
z-index: 1000;
font-size: 16px;
font-weight: bold;
}
/* Estilo básico do modal */
.modal {
display: none; /* Escondido por padrão */
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Fundo escuro semi-transparente */
}
.modal-content {
background-color: #fff;
margin: 10% auto; /* Alinha o modal no centro da tela */
padding: 20px;
border-radius: 10px;
width: 40%; /* Ajusta a largura do modal */
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Sombra para destacar o modal */
position: relative; /* Para alinhar o botão de fechar */
}
.close {
position: absolute;
top: 10px;
right: 15px;
font-size: 28px;
font-weight: bold;
cursor: pointer;
color: #555;
}
.close:hover {
color: #000;
}
/* Estilo do título do modal */
.modal-content h2 {
text-align: center;
font-size: 24px;
margin-bottom: 20px;
color: #333;
}
/* Estilo do formulário */
.modal-content form {
display: flex;
flex-direction: column;
}
/* Estilo dos labels */
.modal-content label {
margin-top: 10px;
font-size: 16px;
color: #555;
}
/* Estilo dos selects e textarea */
.modal-content select,
.modal-content textarea {
margin-top: 5px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
background-color: #f9f9f9;
outline: none;
transition: all 0.3s ease;
}
.modal-content select:focus,
.modal-content textarea:focus {
border-color: #007bff;
background-color: #fff;
}
/* Estilo do botão de salvar tarefa */
.modal-content button[type="submit"] {
margin-top: 20px;
padding: 10px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.modal-content button[type="submit"]:hover {
background-color: #0056b3;
}
/* Estilo para o textarea */
.modal-content textarea {
resize: none;
height: 80px; /* Define a altura do campo de descrição */
}
/* Estilo do botão de excluir */
.delete-btn {
position: absolute;
top: 10px;
right: 10px;
width: 15px;
height: 15px;
/* background-color: rgb(231, 30, 30); */
color: white;
border: none;
border-radius: 50%;
cursor: pointer;
font-size: 16px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
}
/* Posição dos cards */
.card {
position: relative; /* Necessário para que o botão de exclusão fique posicionado no card */
margin: 15px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.editButton {
padding: 5px 10px;
background-color: #ddd;
border: none;
border-radius: 5px;
color: white;
cursor: pointer;
}
.editInput {
outline: none;
border: 1px solid #007bff;
border-radius: 5px;
height: 20px;
background-color: #e4e4e4;
margin-bottom: 5px;
}
.editButtonSave {
padding: 5px 10px;
background-color: #007bff;
border: none;
border-radius: 5px;
color: white;
cursor: pointer;
}
.editButtonCancel {
padding: 5px 10px;
background-color: #ddd;
border: none;
border-radius: 5px;
color: #000;
cursor: pointer;
}
.usersContainer {
display: flex;
flex-direction: column;
justify-content: center;
}
.tagsContainer {
display: flex;
flex-direction: column;
justify-content: center;
}