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