Projekt

Obecné

Profil

Stáhnout (10.5 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 h3 {
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 h1 {
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 h1 {
387
    font-size: 48px;
388
    text-align: center;
389
    padding: 40px;
390
}
391
.logout h4 {
392
    font-size: 18px;
393
    text-align: center;
394
    color: #ffffffc4;
395
    transition: all 0.2s;
396
}
397

    
398

    
399
/* ------------ responsive --------- */
400

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

    
416
@media only screen and (max-width: 870px) {
417
    table {
418
        font-size: 12px;
419
        padding: 0;
420
    }
421
    .offsInput {
422
        width: 30px;
423
        font-size: 12px;
424
    }
425
}
426

    
427
@media only screen and (max-width: 792px) {
428
    .container {
429
    height: 100vh;
430
    flex-direction: column;
431
    }
432

    
433
    .main-content {
434
        width: 100%;
435
        justify-content: space-evenly;
436

    
437
    }
438

    
439
    .offs-request {
440
        width: 100%;
441
        height: 100%;
442
    }
443
    .calendar {
444
        width: 100%;
445
        height: 100%;
446
    }
447

    
448
    .side-content {
449
        height: 100%;
450
        width: 100%;
451
        padding-top: 0;
452
    }
453

    
454
    .side-board {
455
        width: 100%;
456
    }
457

    
458
    .top-nav h3 {
459
        margin-left: 20px;
460
    }
461

    
462
    .login-container {
463
        width: 400px;
464
        height: 400px;
465
    }
466
    .login-container h1 {
467
        color: white;
468
        font-size: 90px;
469
    }
470

    
471
    .logout h1 {
472
        font-size: 32px;
473
        text-align: center;
474
        padding: 30px;
475
    }
476
    .logout h4 {
477
        font-size: 18px;
478
    }
479
    table td {
480
        text-align: center;
481
    }
482

    
483
    .calendar-form {
484
        padding: 15px;
485
    }
486

    
487
    .calendar-form h2 {
488
        font-size: 20px;
489
    }
490

    
491
    .date-input {
492
        width: 200px;
493
    }
494

    
495
    .fc-right {
496
        display: flex;
497
    }
498

    
499
    .main-content .btn {
500
        margin-left: 10px;
501
    }
502
    .offs-item td {
503
        text-align: left;
504
    }
505

    
506

    
507
}
508

    
509
@media only screen and (max-width: 480px) {
510
    .top-nav h3 {
511
        margin-right: 30px;
512
    }
513

    
514
    .login-container {
515
        width: 300px;
516
        height: 300px;
517
    }
518
    .login-container h1 {
519
        color: white;
520
        font-size: 60px;
521
    }
522

    
523
    .logout h1 {
524
        font-size: 22px;
525
        text-align: center;
526
        padding: 20px;
527
    }
528
    .logout h4 {
529
        font-size: 14px;
530
    }
531

    
532
    .profile-comp {
533
        margin-right: 20px;
534
    }
535

    
536
    .setting-container h2 {
537
        font-size: 38px;
538
        text-align: center;
539
        padding: 50px 0 0 0;
540
    }
541

    
542
    .btn {
543
        padding: 10px 16px;
544
    }
545

    
546
    .calendar-form {
547
        padding: 10px;
548
    }
549

    
550
    .calendar-form h2 {
551
        font-size: 18px;
552
    }
553

    
554
    .calendar-form h4 {
555
        font-size: 16px;
556
    }
557

    
558
    .calendar-form {
559
        font-size: 14px;
560
    }
561

    
562
    .date-input {
563
        width: 140px;
564
    }
565

    
566
    .side-content {
567
        background-color: rgb(129, 168, 162);
568
        padding-top: 0px;
569
    }
570
    .side-content th,
571
    .side-content td,
572
    .side-content .td-center {
573
        text-align: left;
574
    }
575
    .side-content h3 {
576
        text-align: left;
577
    }
578

    
579
    .offs-btn {
580
        margin-right: 0;
581
    }
582
    .offs-btn .btn {
583
        padding: 4px 6px;
584
        font-size: 12px;
585
        margin: 2px 0px 2px 5px;
586
    }
587

    
588
    /* .side-board {
589
        box-shadow: 1px 0px 15px rgb(161, 161, 161);
590
    } */
591
}
592

    
593
@media only screen and (max-width: 320px) {
594
    .login-container {
595
        width: 250px;
596
        height: 250px;
597
    }
598
    .login-container h1 {
599
        color: white;
600
        font-size: 50px;
601
    }
602

    
603
    .logout h1 {
604
        font-size: 22px;
605
        text-align: center;
606
        padding: 20px;
607
    }
608
    .logout h4 {
609
        font-size: 12px;
610
    }
611

    
612
    .offs-item {
613
        flex-direction: column;
614
        align-items: stretch;
615
    }
616

    
617
    .offs-item th {
618
        padding: 0 30px 0 5;
619
    }
620

    
621
    .setting-container h2 {
622
        font-size: 32px;
623
        text-align: center;
624
        padding: 20px 0 0 0;
625
    }
626

    
627
    .setting-container h3 {
628
        font-size: 16px;
629
        text-align: center;
630
        padding: 5px 0 0 0;
631
    }
632

    
633
    .setting-form {
634
        padding: 15px;
635
    }
636

    
637
    .btn {
638
        padding: 10px 10px;
639
    }
640

    
641
    .fc-button {
642
        padding: 0;
643
    }
644

    
645
    .calendar-form {
646
      padding: 5px;
647
    }
648

    
649
    .calendar-form h2 {
650
        padding-top: 5px;
651
        font-size: 16px;
652
    }
653

    
654
    .calendar-form h4 {
655

    
656
        font-size: 14px;
657
    }
658

    
659
    .calendar-form {
660
        font-size: 12px;
661
    }
662

    
663
    .date-input {
664
        width: 135px;
665
    }
666
    .offs-request table {
667
        font-size: 10px;
668

    
669
    }
670
    .offs-request td {
671
        padding: 5px 0;
672
    }
673
    .offs-btn .btn {
674
        padding: 4px;
675
        font-size: 11px;
676
        margin: 5px 0px 2px 5px;
677
    }
678
}
679

    
680
/* .todoDiv {
681
    padding-left: 200px;
682
} */
683

    
(1-1/17)