Projekt

Obecné

Profil

Stáhnout (10.8 KB) Statistiky
| Větev: | Tag: | Revize:
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 h1 {
56
    margin-left: 85px;
57
}
58

    
59
.link-nav {
60
    text-decoration: none;
61
    color: #fff; 
62
    cursor: pointer;  
63
}
64

    
65
.top-nav h4 {
66
    color: white;
67
}
68

    
69
.profile-comp {
70
    display: flex;
71
    align-items: center;
72
    margin-right: 50px;
73
}
74

    
75
.top-nav ul {
76
    display: flex;
77
    list-style: none;
78
}
79

    
80
.navIcon {
81
    color: white;
82
    margin: 5px;
83
    transition: 0.2s;
84
}
85
.navIcon:hover {
86
    color: rgb(57, 184, 177);
87
}
88

    
89
/* --------- MAIN CONTAINER ------------ */
90

    
91
.container {
92
    width: 100%;
93
    min-height: 100vh;
94
    display: flex;
95
    background-color: rgb(129, 168, 162);
96
    /* background: linear-gradient(#689c94, #0f546b); */
97
    position: relative;
98
}
99

    
100
.main-content {
101
    display: flex;
102
    flex-direction: column;
103
    align-items: center;
104
    padding: 20px;
105
    background-color: rgb(129, 168, 162);
106
}
107

    
108
/* --------- OFFS REQUEST ------------ */
109

    
110
.offs-request {
111
    height: auto;
112
    width: 90%;
113
    background-color: rgb(255, 255, 255);
114
    margin-bottom: 20px;
115
    border-radius: 10px;
116
    padding: 20px;
117
}
118

    
119
.offs-item {
120
    align-items: center;
121
}
122

    
123
.offs-items table td {
124
    width: auto;
125
}
126

    
127
.offs-item th {
128
    text-align: left;
129
    justify-content: space-between;
130
}
131

    
132
/* ------------ calendar ------------- */
133

    
134
.calendar {
135
    width: 90%;
136
    background-color: white;
137
    border-radius: 10px;
138
    padding: 20px;
139
    /* margin: 10px 0 20px 0; */
140
}
141

    
142
.calendar-form {
143
    width: 400px;
144
    padding: 20px;
145
}
146

    
147
.date-input {
148
    width: 300px;
149
}
150

    
151
/* -----------calendar POP UP------------*/
152

    
153
.popup-content {
154
    border-radius: 10px;
155
    box-shadow: 1px 0px 15px rgb(102, 102, 102);
156
}
157

    
158
.calendar-form h2 {
159
    padding-bottom: 10px;
160
}
161

    
162
.calendar-radio {
163
    padding: 2px;
164
}
165
.calendar-form h4 {
166
    padding: 5px 0 5px;
167
}
168

    
169
.calendar-form input {
170
    margin-bottom: 5px;
171
}
172

    
173
.input-time {
174
    width: 100px;
175
    margin-left: 5px;
176
}
177

    
178
/* ------------ side content ------------- */
179

    
180
.side-content {
181
    width: 35vw;
182
    height: 90vh;
183
    display: flex;
184
    justify-content: center;
185
    padding: 20px;
186
    background-color: rgb(129, 168, 162);
187

    
188
}
189

    
190
.side-board {
191
    width: 95%;
192
    height: 100%;
193
    background-color: white;
194
    border-radius: 10px;
195
    align-items: stretch;
196
}
197

    
198
.box-heading {
199
    padding: 20px;
200
}
201

    
202
.underline-1 {
203
    height: 1.2px;
204
    background-color: black;
205
    margin: 10px 0;
206
}
207

    
208
.new-request {
209
    padding-bottom: 10px;
210
}
211

    
212
.new-request h4 {
213
    margin-right: 60px;
214
}
215

    
216
.side-board {
217
    padding: 20px;
218
}
219

    
220
.side-board-items {
221
    justify-content: space-between;
222
    height: 100%;
223
}
224

    
225
table {
226
    width: 100%;
227
    padding: 10px;
228
}
229

    
230
/* table td {
231
    width: 50px;
232
} */
233

    
234
.side-content table td {
235
    height: 50px;
236
}
237
.side-content .td-center {
238
    text-align: center;
239

    
240
}
241
.side-content .th-left {
242
    text-align: left;
243
}
244

    
245
input {
246
    width: 30px;
247
}
248

    
249
.offsInput {
250
    width: 50px;
251
}
252

    
253
.offs-btn {
254
    justify-content: flex-end;
255
    margin-right: 20px;
256
}
257

    
258
.offs-btn .btn {
259
    margin:2 5px ;
260
}
261

    
262
.btn-edit {
263
    padding: 8px 8px 6px;
264
    border: 0.5px solid rgb(92, 92, 92);
265
    background-color: rgb(247, 247, 247);
266
    border-radius: 50px;
267
    transition: all 0.2s;
268
}
269

    
270
.btn-edit:hover {
271
    border: 0.7px solid rgb(78, 78, 78);
272
    background-color: rgb(236, 236, 236);
273
    cursor: pointer;
274
}
275

    
276
/* -------------------Login------------------- */
277

    
278
.login-container {
279
    position: absolute;
280
    justify-content: center;
281
    align-items: center;
282
    width: 480px;
283
    height: 480px;
284
    background-color: rgba(255, 255, 255, 0.075);
285
    /* border: 2px solid white; */
286
    border-radius: 50%;
287
    top: 50%;
288
    left: 50%;
289
    transform: translate(-50%, -50%);
290
    transition: all 0.3s;
291
    cursor: pointer;
292
}
293

    
294
.login-container:hover {
295
    background-color: #ffffff25;
296
}
297
.login-container p {
298
    color: white;
299
    font-size: 90px;
300
}
301
.login-container a {
302
  
303
    text-decoration: none;
304
    color: #fff; 
305
    cursor: pointer;  
306

    
307
}
308
/* ------------- SETTING -------------------*/
309

    
310
.setting-container {
311
    align-items: center;
312
    position: absolute;
313
    top: 50%;
314
    left: 50%;
315
    transform: translate(-50%, -50%);
316
    height: 70vh;
317
    width: 70%;
318
    background-color: #ffffff41;
319
    border: 2px solid #ffffffd8;
320
    border-radius: 10px;
321
    color: #fff;
322
}
323

    
324
.setting-container h2 {
325
    font-size: 48px;
326
    text-align: center;
327
    padding: 50px 0 20px 0;
328
}
329

    
330
.underline-2 {
331
    height: 1px;
332
    background-color: #fff;
333
    width: 70%;
334
}
335

    
336
.setting-form {
337
    padding: 40px;
338
    display: flex;
339
    align-items: center;
340
}
341

    
342
.setting-form input {
343
    width: 75%;
344
    padding: 12px;
345
    border: 1px solid #ccc;
346
    border-radius: 4px;
347
    box-sizing: border-box;
348
    margin: 20px 20px;
349
}
350

    
351
/*----------------------Buttons----------------------*/
352

    
353
.buttons {
354
    padding: 20px
355
}
356
.btn {
357
    color: white;
358
    padding: 10px 20px;
359
    border: none;
360
    border-radius: 4px;
361
    cursor: pointer;
362
    margin: 2px;
363

    
364
}
365
.btn:hover {
366
    background-color: rgba(19, 155, 132, 0.911);
367
}
368
.btn-submit {
369
    background-color: rgb(0, 175, 15);
370
    transition: all 0.2s;
371
}
372
.btn-submit:hover {
373
    background-color: rgb(0, 165, 15)
374
}
375
.btn-cancel {
376
    background-color: rgb(255, 79, 71);
377
    transition: all 0.2s;
378
}
379
.btn-cancel:hover {
380
    background-color: rgb(242, 79, 71);
381
}
382

    
383

    
384
/* -------------------LogOut------------------- */
385

    
386
.logout p {
387
    font-size: 48px;
388
    text-align: center;
389
    padding: 40px;
390
    color: #ffffff;
391
    transition: all 0.2s;
392
}
393

    
394
/* ------------ responsive --------- */
395

    
396
@media only screen and (max-width: 990px) {
397
    .side-content {
398
        font-size: 13px;        
399
    }
400
    .side-content h3 {
401
        font-size: 18px;
402
    }
403
    .btn-edit {
404
        padding: 6px 6px 4px;
405
    }
406
    .offs-item {
407
        font-size: 13px;
408
    }
409
}
410

    
411
@media only screen and (max-width: 870px) {
412
    table {
413
        font-size: 12px;
414
        padding: 0;
415
    }
416
    .offsInput {
417
        width: 30px;
418
        font-size: 12px;
419
    }
420
}
421

    
422
@media only screen and (max-width: 792px) {
423
    .container {
424
    height: 100vh;
425
    flex-direction: column;
426
    }
427

    
428
    .main-content {
429
        width: 100%;
430
        justify-content: space-evenly;
431

    
432
    }
433

    
434
    .offs-request {
435
        width: 100%;
436
        height: 100%;
437
    }
438
    .calendar {
439
        width: 100%;
440
        height: 100%;
441
    }
442

    
443
    .side-content {
444
        height: 100%;
445
        width: 100%;
446
        padding-top: 0;
447
    }
448

    
449
    .side-board {
450
        width: 100%;
451
    }
452

    
453
    .top-nav h3 {
454
        margin-left: 20px;
455
    }
456

    
457
    .login-container {
458
        width: 400px;
459
        height: 400px;
460
    }
461
    .login-container h1 {
462
        color: white;
463
        font-size: 90px;
464
    }
465

    
466
    .logout h1 {
467
        font-size: 32px;
468
        text-align: center;
469
        padding: 30px;
470
    }
471
    .logout h4 {
472
        font-size: 18px;
473
    }
474
    table td {
475
        text-align: center;
476
    }
477

    
478
    .calendar-form {
479
        padding: 15px;
480
    }
481

    
482
    .calendar-form h2 {
483
        font-size: 20px;
484
    }
485

    
486
    .date-input {
487
        width: 200px;
488
    }
489

    
490
    .fc-right {
491
        display: flex;
492
    }
493

    
494
    .main-content .btn {
495
        margin-left: 10px;
496
    }
497
    .offs-item td {
498
        text-align: left;
499
    }
500

    
501

    
502
}
503

    
504
@media only screen and (max-width: 480px) {
505
    .top-nav h3 {
506
        margin-right: 30px;
507
    }
508

    
509
    .login-container {
510
        width: 300px;
511
        height: 300px;
512
    }
513
    .login-container h1 {
514
        color: white;
515
        font-size: 60px;
516
    }
517

    
518
    .logout h1 {
519
        font-size: 22px;
520
        text-align: center;
521
        padding: 20px;
522
    }
523
    .logout h4 {
524
        font-size: 14px;
525
    }
526

    
527
    .profile-comp {
528
        margin-right: 20px;
529
    }
530

    
531
    .setting-container h2 {
532
        font-size: 38px;
533
        text-align: center;
534
        padding: 50px 0 0 0;
535
    }
536

    
537
    .btn {
538
        padding: 10px 16px;
539
    }
540

    
541
    .calendar-form {
542
        padding: 10px;
543
    }
544

    
545
    .calendar-form h2 {
546
        font-size: 18px;
547
    }
548

    
549
    .calendar-form h4 {
550
        font-size: 16px;
551
    }
552

    
553
    .calendar-form {
554
        font-size: 14px;
555
    }
556

    
557
    .date-input {
558
        width: 140px;
559
    }
560

    
561
    .side-content {
562
        background-color: rgb(129, 168, 162);
563
        padding-top: 0px;
564
    }
565
    .side-content th,
566
    .side-content td,
567
    .side-content .td-center {
568
        text-align: left;
569
    }
570
    .side-content h3 {
571
        text-align: left;
572
    }
573

    
574
    .offs-btn {
575
        margin-right: 0;
576
    }
577
    .offs-btn .btn {
578
        padding: 4px 6px;
579
        font-size: 12px;
580
        margin: 2px 0px 2px 5px;
581
    }
582

    
583
    .calendarInputs {
584
        display: flex;
585
        flex-direction: column;
586
    }
587
    .input-time {
588
        margin: 0;
589
    }
590
    .main-content .btn {
591
        margin-left: 0px;
592
    }
593
    .calendar-form h2 {
594
        font-size: 15px;
595
    }
596
    .calendar-form h4 {
597
        font-size: 13px;
598
    }
599

    
600
}
601

    
602
@media only screen and (max-width: 320px) {
603
    .login-container {
604
        width: 250px;
605
        height: 250px;
606
    }
607
    .login-container h1 {
608
        color: white;
609
        font-size: 50px;
610
    }
611

    
612
    .logout h1 {
613
        font-size: 22px;
614
        text-align: center;
615
        padding: 20px;
616
    }
617
    .logout h4 {
618
        font-size: 12px;
619
    }
620

    
621
    .offs-item {
622
        flex-direction: column;
623
        align-items: stretch;
624
    }
625

    
626
    .offs-item th {
627
        padding: 0 30px 0 5;
628
    }
629

    
630
    .setting-container h2 {
631
        font-size: 32px;
632
        text-align: center;
633
        padding: 20px 0 0 0;
634
    }
635

    
636
    .setting-container h3 {
637
        font-size: 16px;
638
        text-align: center;
639
        padding: 5px 0 0 0;
640
    }
641

    
642
    .setting-form {
643
        padding: 15px;
644
    }
645

    
646
    .btn {
647
        padding: 10px 10px;
648
    }
649

    
650
    .fc-button {
651
        padding: 0;
652
    }
653

    
654
    .calendar-form {
655
      padding: 5px;
656
    }
657

    
658
    .calendar-form h2 {
659
        padding-top: 5px;
660
        font-size: 16px;
661
    }
662

    
663
    .calendar-form h4 {
664

    
665
        font-size: 14px;
666
    }
667

    
668
    .calendar-form {
669
        font-size: 12px;
670
    }
671

    
672
    .date-input {
673
        width: 130px;
674
    }
675
    .offs-request table {
676
        font-size: 10px;
677

    
678
    }
679
    .offs-request td {
680
        padding: 5px 0;
681
    }
682
    .offs-btn .btn {
683
        padding: 4px;
684
        font-size: 11px;
685
        margin: 5px 0px 2px 5px;
686
    }
687
    .calendar-form h2 {
688
        font-size: 14px;
689
    }
690
    .calendar-form h4 {
691
        font-size: 12px;
692
    }
693
}
(1-1/18)