-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
502 lines (429 loc) · 9.17 KB
/
Copy pathstyle.css
File metadata and controls
502 lines (429 loc) · 9.17 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
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
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
font-family: 'Poppins', sans-serif;
display: flex;
/* justify-content: center; */
flex-direction: column; /* Alinha os itens verticalmente */
align-items: center;
min-height: 100vh;
margin: 0;
position: relative;
}
.watermark {
text-align: center;
font-size: 14px;
color: rgba(0, 0, 0, 0.5);
font-weight: bold;
margin-top: 20px;
pointer-events: none; /* Garante que o texto não interfira na interação com outros elementos */
}
body::before {
content: ''; /* Cria um pseudo-elemento vazio */
position: absolute; /* Posiciona o pseudo-elemento sobre o conteúdo */
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url('image/fundo.png');
background-size: cover;
background-position: center;
background-attachment: fixed;
opacity: 0.7;
z-index: -1;
}
.container {
width: 90%;
max-width: 800px;
background: #e8e8e8;
padding: 20px;
border-radius: 8px;
box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra interna */
}
header {
text-align: center;
margin-bottom: 20px;
}
.header-info {
display: flex;
flex-direction: row;
align-items: center;
gap: 30px; /* Aumenta o espaçamento entre os elementos */
margin-top: 20px; /* Dá mais espaço acima */
justify-content: center; /* Centraliza os elementos */
}
.header-info label {
font-weight: bold;
/* margin-right: 10px; */
}
.header-info input {
padding: 5px;
border: 1px solid #ccc;
border-radius: 5px;
text-align: center;
width: 180px;
}
/* Ajuste para o botão */
#save-company-salary-btn {
padding: 10px 20px;
border-radius: 5px;
background-color: #83aba3;
color: white;
border: none;
cursor: pointer;
margin-left: 20px; /* Afastando o botão dos campos */
}
#save-company-salary-btn:hover {
background-color: #5d7c74;
}
/* Estilo do botão de salvar (desabilitado) */
#save-company-salary-btn:disabled {
background-color: #cccccc;
cursor: not-allowed;
}
/* Ajuste para os campos do formulário (empresa e salário) depois de serem salvos */
#company-salary-section input:disabled {
background-color: #f4f4f4; /* Fundo mais claro para campos desabilitados */
}
h1 {
text-align: center;
margin-bottom: 20px;
}
/* Agrupar Data de Início, Horário de Entrada e Horário de Saída */
.form-row {
display: flex;
justify-content: space-between;
gap: 10px;
}
.form-row label {
flex: 1;
text-align: left;
}
.form-row input {
flex: 1;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
text-align: center;
width: 100%;
}
button {
margin-top: 10px;
padding: 10px;
background: #83aba3;
color: white;
border: none;
cursor: pointer;
border-radius: 5px;
display: block;
margin-left: auto;
margin-right: auto;
}
button:hover {
background: #5d7c74;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
font-family: 'Poppins', sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
position: relative;
}
body::before {
content: ''; /* Cria um pseudo-elemento vazio */
position: absolute; /* Posiciona o pseudo-elemento sobre o conteúdo */
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url('image/fundo.png');
background-size: cover;
background-position: center;
background-attachment: fixed;
opacity: 0.7;
z-index: -1;
}
.container {
width: 90%;
max-width: 800px;
background: #e8e8e8;
padding: 20px;
border-radius: 8px;
box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra interna */
}
header {
text-align: center;
margin-bottom: 20px;
}
.header-info {
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
margin-top: 10px;
}
.header-info label {
font-weight: bold;
margin-right: 10px;
}
.header-info input {
padding: 5px;
border: 1px solid #ccc;
border-radius: 5px;
text-align: center;
width: 150px;
}
/* Estilo do botão de salvar (desabilitado) */
#save-company-salary-btn:disabled {
background-color: #cccccc;
cursor: not-allowed;
}
/* Ajuste para os campos do formulário (empresa e salário) depois de serem salvos */
#company-salary-section input:disabled {
background-color: #f4f4f4; /* Fundo mais claro para campos desabilitados */
}
h1 {
text-align: center;
margin-bottom: 20px;
}
/* Contêiner do formulário */
.form-container {
margin-top: 20px;
padding: 20px;
border: 1px solid #ccc;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background-color: white;
}
/* Agrupar Data de Início, Horário de Entrada e Horário de Saída */
.form-row {
display: flex;
justify-content: space-between;
gap: 10px;
margin-bottom: 20px; /* Adiciona espaçamento abaixo dos inputs */
}
.form-row label {
flex: 1;
text-align: left;
}
.form-row input {
flex: 1;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
text-align: center;
width: 100%;
background-color: #f4f4f4;
}
#work-form {
text-align: center; /* Centraliza o conteúdo dentro do formulário */
}
button {
margin-top: 10px;
padding: 10px;
background: #83aba3;
color: white;
border: none;
cursor: pointer;
border-radius: 5px;
display: inline-block;
}
button:hover {
background: #5d7c74;
}
/* Container para a tabela com rolagem */
.table-container {
max-height: 400px;
overflow-y: auto;
margin-top: 20px;
}
/* Estilização da Tabela */
table {
width: 100%;
border-collapse: collapse;
}
th,
td {
padding: 10px;
border-bottom: 1px solid #ddd;
text-align: left;
}
th {
background: #5d7c74;
color: white;
position: sticky; /* Faz o cabeçalho ficar fixo */
top: 0; /* Fixa o cabeçalho no topo */
z-index: 1;
}
/* Cor alternada para linhas ímpares e pares */
tr:nth-child(odd) {
background-color: #e8e8e8; /* Cor para linhas ímpares */
}
tr:nth-child(even) {
background-color: white; /* Cor para linhas pares */
}
/* Ajuste para centralizar ações */
th:last-child,
td:last-child {
text-align: center;
width: 100px;
white-space: nowrap;
}
/* Estilo personalizado para o botão Gerar Relatório */
.container {
text-align: center; /* Centraliza o botão dentro da div */
}
.btn-custom {
display: inline-block; /* Garante que o botão respeite a centralização do text-align */
margin-top: 20px; /* Adiciona um espaço extra acima */
}
.container .btn-custom {
background-color: #83aba3 !important;
border-color: #83aba3 !important;
color: white !important;
}
.container .btn-custom:hover {
background-color: #5d7c74 !important;
border-color: #5d7c74 !important;
color: white !important;
}
/* Estilos para o modal */
.modal-content {
background-color: #f8f9fa;
}
.modal-header {
background-color: #5d7c74;
color: white;
}
.modal-title {
font-weight: bold;
}
/* Estilos para a tabela dentro do modal */
.modal-body table {
width: 100%;
border-collapse: collapse;
}
.modal-body th,
.modal-body td {
padding: 8px;
border: 1px solid #ddd;
text-align: left;
}
.modal-body th {
background-color: #5d7c74;
color: white;
}
/* Estilo personalizado para o botão "Baixar PDF" */
.modal-footer .btn-custom {
background-color: #83aba3 !important;
border-color: #83aba3 !important;
color: white !important;
}
.modal-footer .btn-custom:hover {
background-color: #5d7c74 !important;
border-color: #5d7c74 !important;
color: white !important;
}
/* Responsividade para telas pequenas (máximo de 600px) */
@media (max-width: 600px) {
.header-info {
flex-direction: column; /* Empilha os campos de forma vertical */
align-items: flex-start;
}
.header-info label,
.header-info input,
#save-company-salary-btn {
width: 100%; /* Garante que os inputs e o botão ocupem toda a largura disponível */
margin-bottom: 10px; /* Dá um espaçamento entre os elementos */
}
.form-row {
flex-direction: column; /* Coloca os inputs em uma coluna */
gap: 20px;
}
table,
thead,
tbody,
th,
td,
tr {
display: block;
}
th,
td {
width: 100%;
display: block;
text-align: right;
padding: 5px 10px;
}
th {
background: #5d7c74;
color: white;
text-align: center;
}
td {
background: #f4f4f4;
border-top: 1px solid #ddd;
}
th:last-child,
td:last-child {
text-align: center;
}
}
/* Responsividade para telas médias (600px a 900px) */
@media (min-width: 601px) and (max-width: 900px) {
.header-info {
flex-direction: column;
align-items: flex-start;
}
.header-info label,
.header-info input,
#save-company-salary-btn {
width: 100%;
}
.form-row {
flex-direction: column;
gap: 20px;
}
table {
width: 100%;
}
th,
td {
padding: 8px;
font-size: 14px;
}
}
/* Responsividade para telas grandes (900px em diante) */
@media (min-width: 901px) {
.container {
width: 90%;
max-width: 1000px; /* Ajuste a largura máxima para telas maiores */
}
.header-info {
gap: 30px;
flex-direction: row;
align-items: center;
}
.header-info label,
.header-info input,
#save-company-salary-btn {
width: 180px;
}
.form-row {
display: flex;
justify-content: space-between;
gap: 10px;
}
}