Projekt

Obecné

Profil

Stáhnout (9.17 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
.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
}
100

    
101
/* --------- OFFS REQUEST ------------ */
102

    
103
.offs-request {
104
    height: auto;
105
    width: 90%;
106
    background-color: rgb(255, 255, 255);
107
    margin-bottom: 20px;
108
    border-radius: 10px;
109
    padding: 20px;
110
}
111

    
112
.offs-item {
113
    align-items: center;
114
}
115

    
116
.offs-items table td {
117
    width: auto;
118
}
119

    
120
.offs-item th {
121
    text-align: left;
122
    justify-content: space-between;
123
}
124

    
125
/* ------------ calendar ------------- */
126

    
127
.calendar {
128
    width: 90%;
129
    background-color: white;
130
    border-radius: 10px;
131
    padding: 20px;
132
    /* margin: 10px 0 20px 0; */
133
}
134

    
135
.calendar-form {
136
    width: 400px;
137
    padding: 20px;
138
}
139

    
140
.date-input {
141
    width: 300px;
142
}
143

    
144
/* -----------calendar POP UP------------*/
145

    
146
.popup-content {
147
    border-radius: 10px;
148
    box-shadow: 1px 0px 15px rgb(102, 102, 102);
149
}
150

    
151
.calendar-form h2 {
152
    padding-bottom: 10px;
153
}
154

    
155
.calendar-radio {
156
    padding: 2px;
157
}
158
.calendar-form h4 {
159
    padding: 5px 0 5px;
160
}
161

    
162
.calendar-form input {
163
    margin-bottom: 5px;
164
}
165

    
166
.input-time {
167
    width: 100px;
168
    margin-left: 5px;
169
}
170

    
171
/* ------------ side content ------------- */
172

    
173
.side-content {
174
    /* position: fixed; */
175
    width: 35vw;
176
    height: 90vh;
177
    display: flex;
178
    justify-content: center;
179
    padding: 20px;
180

    
181
}
182

    
183
.side-board {
184
    width: 95%;
185
    height: 100%;
186
    background-color: white;
187
    border-radius: 10px;
188
    align-items: stretch;
189
}
190

    
191
.box-heading {
192
    padding: 20px;
193
}
194

    
195
.underline-1 {
196
    height: 1.2px;
197
    background-color: black;
198
    margin: 10px 0;
199
}
200

    
201
.new-request {
202
    padding-bottom: 10px;    
203
}
204

    
205
.new-request h4 {
206
    margin-right: 60px;
207
}
208

    
209
.side-board {
210
    padding: 20px;
211
}
212

    
213
.side-board-items {
214
    justify-content: space-between;
215
    height: 100%;
216
}
217

    
218
table {
219
    width: 100%;
220
    padding: 10px;
221
}
222

    
223
table td {
224
    width: 50px;
225
}
226
  
227
.side-content table td {
228
    height: 50px;
229
}
230
.side-content .td-center {
231
    text-align: center;
232
    
233
}
234
.side-content .th-left {
235
    text-align: left;
236
}
237

    
238
input {
239
    width: 30px;
240
}
241

    
242
.offsInput {
243
    width: 50px;
244
}
245

    
246
.btn-edit {
247
    padding: 8px 8px 6px;
248
    border: 0.5px solid rgb(92, 92, 92);
249
    background-color: rgb(247, 247, 247);
250
    border-radius: 50px;
251
}
252

    
253
.btn-edit:hover {
254
    border: 0.7px solid rgb(78, 78, 78);
255
    background-color: rgb(236, 236, 236);
256
    cursor: pointer; 
257
}
258

    
259
/* -------------------Login------------------- */
260

    
261
.login-container {
262
    position: absolute;
263
    justify-content: center;
264
    align-items: center;
265
    width: 480px;
266
    height: 480px;
267
    background-color: rgba(255, 255, 255, 0.075);
268
    /* border: 2px solid white; */
269
    border-radius: 50%;
270
    top: 50%;
271
    left: 50%;
272
    transform: translate(-50%, -50%);
273
    transition: all 0.3s;
274
    cursor: pointer;   
275
}
276

    
277
.login-container:hover {
278
    background-color: #ffffff25;   
279
}
280
.login-container h1 {
281
    color: white;
282
    font-size: 90px;
283
}
284
/* ------------- SETTING -------------------*/
285

    
286
.setting-container {
287
    align-items: center;
288
    position: absolute;
289
    top: 50%;
290
    left: 50%;
291
    transform: translate(-50%, -50%);
292
    height: 70vh;
293
    width: 70%;
294
    background-color: #ffffff41;
295
    border: 2px solid #ffffffd8;
296
    border-radius: 10px;
297
    color: #fff;    
298
}
299

    
300
.setting-container h2 {
301
    font-size: 48px;
302
    text-align: center;
303
    padding: 50px 0 20px 0;
304
}
305

    
306
.underline-2 {
307
    height: 1px;
308
    background-color: #fff;
309
    width: 70%;   
310
}
311

    
312
.setting-form {
313
    padding: 40px;
314
    display: flex;
315
    align-items: center;
316
}
317

    
318
.setting-form input {
319
    width: 75%;
320
    padding: 12px;
321
    border: 1px solid #ccc;
322
    border-radius: 4px;
323
    box-sizing: border-box;
324
    margin: 20px 20px;
325
}
326

    
327
.buttons {
328
    padding: 20px
329
}
330
.btn {
331
    color: white;
332
    padding: 10px 20px;
333
    border: none;
334
    border-radius: 4px;
335
    cursor: pointer;
336
    margin: 2px;
337

    
338
}
339
.btn:hover {
340
    background-color: rgba(19, 155, 132, 0.911);
341
}
342
.btn-submit {
343
    background-color: rgb(0, 175, 15);
344
    transition: all 0.2s;
345
}
346
.btn-submit:hover {
347
    background-color: rgb(0, 165, 15)
348
}
349
.btn-cancel {
350
    background-color: rgb(255, 79, 71);
351
    transition: all 0.2s;
352
}
353
.btn-cancel:hover {
354
    background-color: rgb(242, 79, 71);
355
}
356

    
357

    
358
/* -------------------LogOut------------------- */
359

    
360
.logout h1 {
361
    font-size: 48px;
362
    text-align: center;
363
    padding: 40px;
364
}
365
.logout h4 {
366
    font-size: 18px;
367
    text-align: center;
368
    color: #ffffffc4;
369
    transition: all 0.2s;
370
}
371

    
372

    
373
/* ------------ responsive --------- */
374

    
375
@media only screen and (max-width: 768px) {
376
    table {
377
        font-size: 13px;
378
    }
379
}
380

    
381
@media only screen and (max-width: 702px) {
382
    .container {
383
    height: 100vh;
384
    flex-direction: column;
385
    }
386

    
387
    .main-content {
388
        width: 100%;
389
        justify-content: space-evenly;
390
        
391
    }
392

    
393
    .offs-request {
394
        width: 100%;
395
        height: 100%;
396
    }
397
    .calendar {
398
        width: 100%;
399
        height: 100%;
400
    }
401

    
402
    .side-content {
403
        height: 100%;
404
        width: 100%;
405
    }
406

    
407
    .side-board {
408
        width: 100%;
409
    }
410

    
411
    .top-nav h3 {
412
        margin-left: 20px;
413
    }
414

    
415
    .login-container {
416
        width: 400px;
417
        height: 400px;
418
    }
419
    .login-container h1 {
420
        color: white;
421
        font-size: 90px;
422
    }
423

    
424
    .logout h1 {
425
        font-size: 32px;
426
        text-align: center;
427
        padding: 30px;
428
    }
429
    .logout h4 {
430
        font-size: 18px;
431
    }
432
    table td {
433
        text-align: center;
434
    }
435

    
436
    .calendar-form {
437
        padding: 15px;
438
    }
439

    
440
    .calendar-form h2 {
441
        font-size: 20px;
442
    }
443

    
444
    .date-input {
445
        width: 200px;
446
    }
447

    
448
    .fc-right {
449
        display: flex;
450
    }
451

    
452

    
453
} 
454

    
455
@media only screen and (max-width: 480px) {
456
    .top-nav h3 {
457
        margin-right: 30px;
458
    }
459

    
460
    .login-container {
461
        width: 300px;
462
        height: 300px;
463
    }
464
    .login-container h1 {
465
        color: white;
466
        font-size: 60px;
467
    }
468

    
469
    .logout h1 {
470
        font-size: 22px;
471
        text-align: center;
472
        padding: 20px;
473
    }
474
    .logout h4 {
475
        font-size: 14px;
476
    }
477

    
478
    .profile-comp {
479
        margin-right: 20px;
480
    }
481

    
482
    .setting-container h2 {
483
        font-size: 38px;
484
        text-align: center;
485
        padding: 50px 0 0 0;
486
    }
487

    
488
    .btn {
489
        padding: 10px 16px;
490
    }
491

    
492
    .calendar-form {
493
        padding: 10px;
494
    }
495

    
496
    .calendar-form h2 {
497
        font-size: 18px;
498
    }
499

    
500
    .calendar-form h4 {
501
        font-size: 16px;
502
    }
503

    
504
    .calendar-form {
505
        font-size: 14px;
506
    }
507

    
508
    .date-input {
509
        width: 140px;
510
    }
511
    
512
    .side-content {
513
        background-color: rgb(129, 168, 162);
514
        padding-top: 0px;
515
    }
516

    
517
    /* .side-board {
518
        box-shadow: 1px 0px 15px rgb(161, 161, 161);
519
    } */
520
}
521

    
522
@media only screen and (max-width: 320px) {
523
    .login-container {
524
        width: 250px;
525
        height: 250px;
526
    }
527
    .login-container h1 {
528
        color: white;
529
        font-size: 50px;
530
    }
531

    
532
    .logout h1 {
533
        font-size: 22px;
534
        text-align: center;
535
        padding: 20px;
536
    }
537
    .logout h4 {
538
        font-size: 12px;
539
    }
540

    
541
    .offs-item {
542
        flex-direction: column;
543
        align-items: stretch;
544
    }
545

    
546
    .offs-item th {
547
        padding: 0 30px 0 5;
548
    }
549

    
550
    .setting-container h2 {
551
        font-size: 32px;
552
        text-align: center;
553
        padding: 20px 0 0 0;
554
    }
555

    
556
    .setting-container h3 {
557
        font-size: 16px;
558
        text-align: center;
559
        padding: 5px 0 0 0;
560
    }
561

    
562
    .setting-form {
563
        padding: 15px;
564
    }
565

    
566
    .btn {
567
        padding: 10px 10px;
568
    }
569

    
570
    .fc-button {
571
        padding: 0;
572
    }
573

    
574
    .calendar-form {
575
      padding: 5px;
576
    }
577

    
578
    .calendar-form h2 {
579
        padding-top: 5px;
580
        font-size: 16px;
581
    }
582

    
583
    .calendar-form h4 {
584
        
585
        font-size: 14px;
586
    }
587

    
588
    .calendar-form {
589
        font-size: 12px;
590
    }
591

    
592
    .date-input {
593
        width: 135px;
594
    }
595
}
596

    
597
/* .todoDiv {
598
    padding-left: 200px;
599
} */
600

    
(1-1/17)