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