1
|
* {
|
2
|
margin: 0;
|
3
|
box-sizing: border-box;
|
4
|
}
|
5
|
|
6
|
.column {
|
7
|
display: flex;
|
8
|
flex-direction: column;
|
9
|
}
|
10
|
|
11
|
.row {
|
12
|
display: flex;
|
13
|
flex-direction: row;
|
14
|
}
|
15
|
|
16
|
/* --------------APP------------------*/
|
17
|
|
18
|
.permissionText {
|
19
|
text-align: center;
|
20
|
justify-content: center;
|
21
|
left: 50%;
|
22
|
top: 50%;
|
23
|
transform: translate(-50%, -50%);
|
24
|
position: absolute;
|
25
|
font-size: 24px;
|
26
|
font-weight: bold;
|
27
|
color: rgb(255, 255, 255);
|
28
|
width: 400px;
|
29
|
height: 400px;
|
30
|
border-radius: 50%;
|
31
|
background-color: rgba(236, 236, 236, 0.192);
|
32
|
padding: 20px;
|
33
|
}
|
34
|
|
35
|
/* ------------- Navbar --------------- */
|
36
|
|
37
|
.top-nav {
|
38
|
width: 100vw;
|
39
|
height: 60px;
|
40
|
background-color: #393d3f;
|
41
|
display: flex;
|
42
|
justify-content: space-between;
|
43
|
align-items: center;
|
44
|
color: white;
|
45
|
}
|
46
|
|
47
|
.img-avatar {
|
48
|
width: 35px;
|
49
|
height: 35px;
|
50
|
border-radius: 50%;
|
51
|
margin-right: 10px;
|
52
|
object-fit: cover;
|
53
|
}
|
54
|
|
55
|
.top-nav h3 {
|
56
|
margin-left: 85px;
|
57
|
}
|
58
|
|
59
|
.top-nav h4 {
|
60
|
color: white;
|
61
|
}
|
62
|
|
63
|
.profile-comp {
|
64
|
display: flex;
|
65
|
align-items: center;
|
66
|
margin-right: 50px;
|
67
|
}
|
68
|
|
69
|
.top-nav ul {
|
70
|
display: flex;
|
71
|
list-style: none;
|
72
|
}
|
73
|
|
74
|
.navIcon {
|
75
|
color: white;
|
76
|
margin: 5px;
|
77
|
transition: 0.2s;
|
78
|
}
|
79
|
.navIcon:hover {
|
80
|
color: rgb(57, 184, 177);
|
81
|
}
|
82
|
|
83
|
/* --------- MAIN CONTAINER ------------ */
|
84
|
|
85
|
.container {
|
86
|
width: 100%;
|
87
|
min-height: 100vh;
|
88
|
display: flex;
|
89
|
background-color: rgb(129, 168, 162);
|
90
|
/* background: linear-gradient(#689c94, #0f546b); */
|
91
|
position: relative;
|
92
|
}
|
93
|
|
94
|
.main-content {
|
95
|
display: flex;
|
96
|
flex-direction: column;
|
97
|
align-items: center;
|
98
|
padding: 20px;
|
99
|
background-color: rgb(129, 168, 162);
|
100
|
}
|
101
|
|
102
|
/* --------- OFFS REQUEST ------------ */
|
103
|
|
104
|
.offs-request {
|
105
|
height: auto;
|
106
|
width: 90%;
|
107
|
background-color: rgb(255, 255, 255);
|
108
|
margin-bottom: 20px;
|
109
|
border-radius: 10px;
|
110
|
padding: 20px;
|
111
|
}
|
112
|
|
113
|
.offs-item {
|
114
|
align-items: center;
|
115
|
}
|
116
|
|
117
|
.offs-items table td {
|
118
|
width: auto;
|
119
|
}
|
120
|
|
121
|
.offs-item th {
|
122
|
text-align: left;
|
123
|
justify-content: space-between;
|
124
|
}
|
125
|
|
126
|
/* ------------ calendar ------------- */
|
127
|
|
128
|
.calendar {
|
129
|
width: 90%;
|
130
|
background-color: white;
|
131
|
border-radius: 10px;
|
132
|
padding: 20px;
|
133
|
/* margin: 10px 0 20px 0; */
|
134
|
}
|
135
|
|
136
|
.calendar-form {
|
137
|
width: 400px;
|
138
|
padding: 20px;
|
139
|
}
|
140
|
|
141
|
.date-input {
|
142
|
width: 300px;
|
143
|
}
|
144
|
|
145
|
/* -----------calendar POP UP------------*/
|
146
|
|
147
|
.popup-content {
|
148
|
border-radius: 10px;
|
149
|
box-shadow: 1px 0px 15px rgb(102, 102, 102);
|
150
|
}
|
151
|
|
152
|
.calendar-form h2 {
|
153
|
padding-bottom: 10px;
|
154
|
}
|
155
|
|
156
|
.calendar-radio {
|
157
|
padding: 2px;
|
158
|
}
|
159
|
.calendar-form h4 {
|
160
|
padding: 5px 0 5px;
|
161
|
}
|
162
|
|
163
|
.calendar-form input {
|
164
|
margin-bottom: 5px;
|
165
|
}
|
166
|
|
167
|
.input-time {
|
168
|
width: 100px;
|
169
|
margin-left: 5px;
|
170
|
}
|
171
|
|
172
|
/* ------------ side content ------------- */
|
173
|
|
174
|
.side-content {
|
175
|
width: 35vw;
|
176
|
height: 90vh;
|
177
|
display: flex;
|
178
|
justify-content: center;
|
179
|
padding: 20px;
|
180
|
background-color: rgb(129, 168, 162);
|
181
|
|
182
|
}
|
183
|
|
184
|
.side-board {
|
185
|
width: 95%;
|
186
|
height: 100%;
|
187
|
background-color: white;
|
188
|
border-radius: 10px;
|
189
|
align-items: stretch;
|
190
|
}
|
191
|
|
192
|
.box-heading {
|
193
|
padding: 20px;
|
194
|
}
|
195
|
|
196
|
.underline-1 {
|
197
|
height: 1.2px;
|
198
|
background-color: black;
|
199
|
margin: 10px 0;
|
200
|
}
|
201
|
|
202
|
.new-request {
|
203
|
padding-bottom: 10px;
|
204
|
}
|
205
|
|
206
|
.new-request h4 {
|
207
|
margin-right: 60px;
|
208
|
}
|
209
|
|
210
|
.side-board {
|
211
|
padding: 20px;
|
212
|
}
|
213
|
|
214
|
.side-board-items {
|
215
|
justify-content: space-between;
|
216
|
height: 100%;
|
217
|
}
|
218
|
|
219
|
table {
|
220
|
width: 100%;
|
221
|
padding: 10px;
|
222
|
}
|
223
|
|
224
|
/* table td {
|
225
|
width: 50px;
|
226
|
} */
|
227
|
|
228
|
.side-content table td {
|
229
|
height: 50px;
|
230
|
}
|
231
|
.side-content .td-center {
|
232
|
text-align: center;
|
233
|
|
234
|
}
|
235
|
.side-content .th-left {
|
236
|
text-align: left;
|
237
|
}
|
238
|
|
239
|
input {
|
240
|
width: 30px;
|
241
|
}
|
242
|
|
243
|
.offsInput {
|
244
|
width: 50px;
|
245
|
}
|
246
|
|
247
|
.offs-btn {
|
248
|
justify-content: flex-end;
|
249
|
margin-right: 20px;
|
250
|
}
|
251
|
|
252
|
.offs-btn .btn {
|
253
|
margin:2 5px ;
|
254
|
}
|
255
|
|
256
|
.btn-edit {
|
257
|
padding: 8px 8px 6px;
|
258
|
border: 0.5px solid rgb(92, 92, 92);
|
259
|
background-color: rgb(247, 247, 247);
|
260
|
border-radius: 50px;
|
261
|
transition: all 0.2s;
|
262
|
}
|
263
|
|
264
|
.btn-edit:hover {
|
265
|
border: 0.7px solid rgb(78, 78, 78);
|
266
|
background-color: rgb(236, 236, 236);
|
267
|
cursor: pointer;
|
268
|
}
|
269
|
|
270
|
/* -------------------Login------------------- */
|
271
|
|
272
|
.login-container {
|
273
|
position: absolute;
|
274
|
justify-content: center;
|
275
|
align-items: center;
|
276
|
width: 480px;
|
277
|
height: 480px;
|
278
|
background-color: rgba(255, 255, 255, 0.075);
|
279
|
/* border: 2px solid white; */
|
280
|
border-radius: 50%;
|
281
|
top: 50%;
|
282
|
left: 50%;
|
283
|
transform: translate(-50%, -50%);
|
284
|
transition: all 0.3s;
|
285
|
cursor: pointer;
|
286
|
}
|
287
|
|
288
|
.login-container:hover {
|
289
|
background-color: #ffffff25;
|
290
|
}
|
291
|
.login-container h1 {
|
292
|
color: white;
|
293
|
font-size: 90px;
|
294
|
}
|
295
|
/* ------------- SETTING -------------------*/
|
296
|
|
297
|
.setting-container {
|
298
|
align-items: center;
|
299
|
position: absolute;
|
300
|
top: 50%;
|
301
|
left: 50%;
|
302
|
transform: translate(-50%, -50%);
|
303
|
height: 70vh;
|
304
|
width: 70%;
|
305
|
background-color: #ffffff41;
|
306
|
border: 2px solid #ffffffd8;
|
307
|
border-radius: 10px;
|
308
|
color: #fff;
|
309
|
}
|
310
|
|
311
|
.setting-container h2 {
|
312
|
font-size: 48px;
|
313
|
text-align: center;
|
314
|
padding: 50px 0 20px 0;
|
315
|
}
|
316
|
|
317
|
.underline-2 {
|
318
|
height: 1px;
|
319
|
background-color: #fff;
|
320
|
width: 70%;
|
321
|
}
|
322
|
|
323
|
.setting-form {
|
324
|
padding: 40px;
|
325
|
display: flex;
|
326
|
align-items: center;
|
327
|
}
|
328
|
|
329
|
.setting-form input {
|
330
|
width: 75%;
|
331
|
padding: 12px;
|
332
|
border: 1px solid #ccc;
|
333
|
border-radius: 4px;
|
334
|
box-sizing: border-box;
|
335
|
margin: 20px 20px;
|
336
|
}
|
337
|
|
338
|
/*----------------------Buttons----------------------*/
|
339
|
|
340
|
.buttons {
|
341
|
padding: 20px
|
342
|
}
|
343
|
.btn {
|
344
|
color: white;
|
345
|
padding: 10px 20px;
|
346
|
border: none;
|
347
|
border-radius: 4px;
|
348
|
cursor: pointer;
|
349
|
margin: 2px;
|
350
|
|
351
|
}
|
352
|
.btn:hover {
|
353
|
background-color: rgba(19, 155, 132, 0.911);
|
354
|
}
|
355
|
.btn-submit {
|
356
|
background-color: rgb(0, 175, 15);
|
357
|
transition: all 0.2s;
|
358
|
}
|
359
|
.btn-submit:hover {
|
360
|
background-color: rgb(0, 165, 15)
|
361
|
}
|
362
|
.btn-cancel {
|
363
|
background-color: rgb(255, 79, 71);
|
364
|
transition: all 0.2s;
|
365
|
}
|
366
|
.btn-cancel:hover {
|
367
|
background-color: rgb(242, 79, 71);
|
368
|
}
|
369
|
|
370
|
|
371
|
/* -------------------LogOut------------------- */
|
372
|
|
373
|
.logout h1 {
|
374
|
font-size: 48px;
|
375
|
text-align: center;
|
376
|
padding: 40px;
|
377
|
}
|
378
|
.logout h4 {
|
379
|
font-size: 18px;
|
380
|
text-align: center;
|
381
|
color: #ffffffc4;
|
382
|
transition: all 0.2s;
|
383
|
}
|
384
|
|
385
|
|
386
|
/* ------------ responsive --------- */
|
387
|
|
388
|
@media only screen and (max-width: 990px) {
|
389
|
.side-content {
|
390
|
font-size: 13px;
|
391
|
}
|
392
|
.side-content h3 {
|
393
|
font-size: 18px;
|
394
|
}
|
395
|
.btn-edit {
|
396
|
padding: 6px 6px 4px;
|
397
|
}
|
398
|
.offs-item {
|
399
|
font-size: 13px;
|
400
|
}
|
401
|
}
|
402
|
|
403
|
@media only screen and (max-width: 870px) {
|
404
|
table {
|
405
|
font-size: 12px;
|
406
|
padding: 0;
|
407
|
}
|
408
|
.offsInput {
|
409
|
width: 30px;
|
410
|
font-size: 12px;
|
411
|
}
|
412
|
}
|
413
|
|
414
|
@media only screen and (max-width: 792px) {
|
415
|
.container {
|
416
|
height: 100vh;
|
417
|
flex-direction: column;
|
418
|
}
|
419
|
|
420
|
.main-content {
|
421
|
width: 100%;
|
422
|
justify-content: space-evenly;
|
423
|
|
424
|
}
|
425
|
|
426
|
.offs-request {
|
427
|
width: 100%;
|
428
|
height: 100%;
|
429
|
}
|
430
|
.calendar {
|
431
|
width: 100%;
|
432
|
height: 100%;
|
433
|
}
|
434
|
|
435
|
.side-content {
|
436
|
height: 100%;
|
437
|
width: 100%;
|
438
|
padding-top: 0;
|
439
|
}
|
440
|
|
441
|
.side-board {
|
442
|
width: 100%;
|
443
|
}
|
444
|
|
445
|
.top-nav h3 {
|
446
|
margin-left: 20px;
|
447
|
}
|
448
|
|
449
|
.login-container {
|
450
|
width: 400px;
|
451
|
height: 400px;
|
452
|
}
|
453
|
.login-container h1 {
|
454
|
color: white;
|
455
|
font-size: 90px;
|
456
|
}
|
457
|
|
458
|
.logout h1 {
|
459
|
font-size: 32px;
|
460
|
text-align: center;
|
461
|
padding: 30px;
|
462
|
}
|
463
|
.logout h4 {
|
464
|
font-size: 18px;
|
465
|
}
|
466
|
table td {
|
467
|
text-align: center;
|
468
|
}
|
469
|
|
470
|
.calendar-form {
|
471
|
padding: 15px;
|
472
|
}
|
473
|
|
474
|
.calendar-form h2 {
|
475
|
font-size: 20px;
|
476
|
}
|
477
|
|
478
|
.date-input {
|
479
|
width: 200px;
|
480
|
}
|
481
|
|
482
|
.fc-right {
|
483
|
display: flex;
|
484
|
}
|
485
|
|
486
|
.main-content .btn {
|
487
|
margin-left: 10px;
|
488
|
}
|
489
|
.offs-item td {
|
490
|
text-align: left;
|
491
|
}
|
492
|
|
493
|
|
494
|
}
|
495
|
|
496
|
@media only screen and (max-width: 480px) {
|
497
|
.top-nav h3 {
|
498
|
margin-right: 30px;
|
499
|
}
|
500
|
|
501
|
.login-container {
|
502
|
width: 300px;
|
503
|
height: 300px;
|
504
|
}
|
505
|
.login-container h1 {
|
506
|
color: white;
|
507
|
font-size: 60px;
|
508
|
}
|
509
|
|
510
|
.logout h1 {
|
511
|
font-size: 22px;
|
512
|
text-align: center;
|
513
|
padding: 20px;
|
514
|
}
|
515
|
.logout h4 {
|
516
|
font-size: 14px;
|
517
|
}
|
518
|
|
519
|
.profile-comp {
|
520
|
margin-right: 20px;
|
521
|
}
|
522
|
|
523
|
.setting-container h2 {
|
524
|
font-size: 38px;
|
525
|
text-align: center;
|
526
|
padding: 50px 0 0 0;
|
527
|
}
|
528
|
|
529
|
.btn {
|
530
|
padding: 10px 16px;
|
531
|
}
|
532
|
|
533
|
.calendar-form {
|
534
|
padding: 10px;
|
535
|
}
|
536
|
|
537
|
.calendar-form h2 {
|
538
|
font-size: 18px;
|
539
|
}
|
540
|
|
541
|
.calendar-form h4 {
|
542
|
font-size: 16px;
|
543
|
}
|
544
|
|
545
|
.calendar-form {
|
546
|
font-size: 14px;
|
547
|
}
|
548
|
|
549
|
.date-input {
|
550
|
width: 140px;
|
551
|
}
|
552
|
|
553
|
.side-content {
|
554
|
background-color: rgb(129, 168, 162);
|
555
|
padding-top: 0px;
|
556
|
}
|
557
|
.side-content th,
|
558
|
.side-content td,
|
559
|
.side-content .td-center {
|
560
|
text-align: left;
|
561
|
}
|
562
|
.side-content h3 {
|
563
|
text-align: left;
|
564
|
}
|
565
|
|
566
|
.offs-btn {
|
567
|
margin-right: 0;
|
568
|
}
|
569
|
.offs-btn .btn {
|
570
|
padding: 4px 6px;
|
571
|
font-size: 12px;
|
572
|
margin: 2px 0px 2px 5px;
|
573
|
}
|
574
|
|
575
|
/* .side-board {
|
576
|
box-shadow: 1px 0px 15px rgb(161, 161, 161);
|
577
|
} */
|
578
|
}
|
579
|
|
580
|
@media only screen and (max-width: 320px) {
|
581
|
.login-container {
|
582
|
width: 250px;
|
583
|
height: 250px;
|
584
|
}
|
585
|
.login-container h1 {
|
586
|
color: white;
|
587
|
font-size: 50px;
|
588
|
}
|
589
|
|
590
|
.logout h1 {
|
591
|
font-size: 22px;
|
592
|
text-align: center;
|
593
|
padding: 20px;
|
594
|
}
|
595
|
.logout h4 {
|
596
|
font-size: 12px;
|
597
|
}
|
598
|
|
599
|
.offs-item {
|
600
|
flex-direction: column;
|
601
|
align-items: stretch;
|
602
|
}
|
603
|
|
604
|
.offs-item th {
|
605
|
padding: 0 30px 0 5;
|
606
|
}
|
607
|
|
608
|
.setting-container h2 {
|
609
|
font-size: 32px;
|
610
|
text-align: center;
|
611
|
padding: 20px 0 0 0;
|
612
|
}
|
613
|
|
614
|
.setting-container h3 {
|
615
|
font-size: 16px;
|
616
|
text-align: center;
|
617
|
padding: 5px 0 0 0;
|
618
|
}
|
619
|
|
620
|
.setting-form {
|
621
|
padding: 15px;
|
622
|
}
|
623
|
|
624
|
.btn {
|
625
|
padding: 10px 10px;
|
626
|
}
|
627
|
|
628
|
.fc-button {
|
629
|
padding: 0;
|
630
|
}
|
631
|
|
632
|
.calendar-form {
|
633
|
padding: 5px;
|
634
|
}
|
635
|
|
636
|
.calendar-form h2 {
|
637
|
padding-top: 5px;
|
638
|
font-size: 16px;
|
639
|
}
|
640
|
|
641
|
.calendar-form h4 {
|
642
|
|
643
|
font-size: 14px;
|
644
|
}
|
645
|
|
646
|
.calendar-form {
|
647
|
font-size: 12px;
|
648
|
}
|
649
|
|
650
|
.date-input {
|
651
|
width: 135px;
|
652
|
}
|
653
|
.offs-request table {
|
654
|
font-size: 10px;
|
655
|
|
656
|
}
|
657
|
.offs-request td {
|
658
|
padding: 5px 0;
|
659
|
}
|
660
|
.offs-btn .btn {
|
661
|
padding: 4px;
|
662
|
font-size: 11px;
|
663
|
margin: 5px 0px 2px 5px;
|
664
|
}
|
665
|
}
|
666
|
|
667
|
/* .todoDiv {
|
668
|
padding-left: 200px;
|
669
|
} */
|
670
|
|