Projekt

Obecné

Profil

Stáhnout (8.77 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
/* ------------- Navbar --------------- */
17

    
18
.top-nav {
19
    width: 100vw;
20
    height: 60px;
21
    background-color: #393d3f;
22
    display: flex;
23
    justify-content: space-between;
24
    align-items: center;
25
    color: white;
26
}
27

    
28
.img-avatar {
29
    width: 35px;
30
    height: 35px;
31
    border-radius: 50%;
32
    margin-right: 10px;
33
    object-fit: cover;
34
}
35

    
36
.top-nav h3 {
37
    margin-left: 85px;
38
}
39

    
40
.top-nav h4 {
41
    color: white;
42
}
43

    
44
.profile-comp {
45
    display: flex;
46
    align-items: center;
47
    margin-right: 50px;
48
}
49

    
50
.top-nav ul {
51
    display: flex;
52
    list-style: none;
53
}
54

    
55
.navIcon {
56
    color: white;
57
    margin: 5px;
58
    transition: 0.2s;    
59
}
60
.navIcon:hover {
61
    color: rgb(57, 184, 177);
62
}
63

    
64
/* --------- MAIN CONTAINER ------------ */
65

    
66
.container {
67
    width: 100%;
68
    min-height: 100vh;
69
    display: flex;
70
    background-color: rgb(129, 168, 162);
71
    /* background: linear-gradient(#689c94, #0f546b); */
72
    position: relative;
73
}
74

    
75
.main-content {
76
    display: flex;
77
    flex-direction: column;
78
    align-items: center;
79
    padding: 20px;
80
}
81

    
82
/* --------- OFFS REQUEST ------------ */
83

    
84
.offs-request {
85
    height: auto;
86
    width: 90%;
87
    background-color: rgb(255, 255, 255);
88
    margin-bottom: 20px;
89
    border-radius: 10px;
90
    padding: 20px;
91
}
92

    
93
.offs-item {
94
    align-items: center;
95
}
96

    
97
.offs-items table td {
98
    width: auto;
99
}
100

    
101
.offs-item th {
102
    text-align: left;
103
    justify-content: space-between;
104
}
105

    
106
/* ------------ calendar ------------- */
107

    
108
.calendar {
109
    width: 90%;
110
    background-color: white;
111
    border-radius: 10px;
112
    padding: 20px;
113
    /* margin: 10px 0 20px 0; */
114
}
115

    
116
.calendar-form {
117
    width: 400px;
118
    padding: 20px;
119
}
120

    
121
.date-input {
122
    width: 300px;
123
}
124

    
125
/* -----------calendar POP UP------------*/
126

    
127
.popup-content {
128
    border-radius: 10px;
129
    box-shadow: 1px 0px 15px rgb(102, 102, 102);
130
}
131

    
132
.calendar-form h2 {
133
    padding-bottom: 10px;
134
}
135

    
136
.calendar-radio {
137
    padding: 2px;
138
}
139
.calendar-form h4 {
140
    padding: 5px 0 5px;
141
}
142

    
143
.calendar-form input {
144
    margin-bottom: 5px;
145
}
146

    
147
.input-time {
148
    width: 100px;
149
    margin-left: 5px;
150
}
151

    
152
/* ------------ side content ------------- */
153

    
154
.side-content {
155
    /* position: fixed; */
156
    width: 35vw;
157
    height: 90vh;
158
    display: flex;
159
    justify-content: center;
160
    padding: 20px;
161

    
162
}
163

    
164
.side-board {
165
    width: 95%;
166
    height: 100%;
167
    background-color: white;
168
    border-radius: 10px;
169
    align-items: stretch;
170
}
171

    
172
.box-heading {
173
    padding: 20px;
174
}
175

    
176
.underline-1 {
177
    height: 1.2px;
178
    background-color: black;
179
    margin: 10px 0;
180
}
181

    
182
.new-request {
183
    padding-bottom: 10px;    
184
}
185

    
186
.new-request h4 {
187
    margin-right: 60px;
188
}
189

    
190
.side-board {
191
    padding: 20px;
192
}
193

    
194
.side-board-items {
195
    justify-content: space-between;
196
    height: 100%;
197
}
198

    
199
table {
200
    width: 100%;
201
    padding: 10px;
202
}
203

    
204
table td {
205
    width: 50px;
206
}
207
  
208
.side-content table td {
209
    height: 50px;
210
}
211
.side-content .td-center {
212
    text-align: center;
213
    
214
}
215
.side-content .th-left {
216
    text-align: left;
217
}
218

    
219
input {
220
    width: 30px;
221
}
222

    
223
.offsInput {
224
    width: 50px;
225
}
226

    
227
.btn-edit {
228
    padding: 8px 8px 6px;
229
    border: 0.5px solid rgb(92, 92, 92);
230
    background-color: rgb(247, 247, 247);
231
    border-radius: 50px;
232
}
233

    
234
.btn-edit:hover {
235
    border: 0.7px solid rgb(78, 78, 78);
236
    background-color: rgb(236, 236, 236);
237
    cursor: pointer; 
238
}
239

    
240
/* -------------------Login------------------- */
241

    
242
.login-container {
243
    position: absolute;
244
    justify-content: center;
245
    align-items: center;
246
    width: 480px;
247
    height: 480px;
248
    background-color: rgba(255, 255, 255, 0.075);
249
    /* border: 2px solid white; */
250
    border-radius: 50%;
251
    top: 50%;
252
    left: 50%;
253
    transform: translate(-50%, -50%);
254
    transition: all 0.3s;
255
    cursor: pointer;   
256
}
257

    
258
.login-container:hover {
259
    background-color: #ffffff25;   
260
}
261
.login-container h1 {
262
    color: white;
263
    font-size: 110px;
264
}
265
/* ------------- SETTING -------------------*/
266

    
267
.setting-container {
268
    align-items: center;
269
    position: absolute;
270
    top: 50%;
271
    left: 50%;
272
    transform: translate(-50%, -50%);
273
    height: 70vh;
274
    width: 70%;
275
    background-color: #ffffff41;
276
    border: 2px solid #ffffffd8;
277
    border-radius: 10px;
278
    color: #fff;    
279
}
280

    
281
.setting-container h2 {
282
    font-size: 48px;
283
    text-align: center;
284
    padding: 50px 0 20px 0;
285
}
286

    
287
.underline-2 {
288
    height: 1px;
289
    background-color: #fff;
290
    width: 70%;   
291
}
292

    
293
.setting-form {
294
    padding: 40px;
295
    display: flex;
296
    align-items: center;
297
}
298

    
299
.setting-form input {
300
    width: 75%;
301
    padding: 12px;
302
    border: 1px solid #ccc;
303
    border-radius: 4px;
304
    box-sizing: border-box;
305
    margin: 20px 20px;
306
}
307

    
308
.buttons {
309
    padding: 20px
310
}
311
.btn {
312
    color: white;
313
    padding: 10px 20px;
314
    border: none;
315
    border-radius: 4px;
316
    cursor: pointer;
317
    margin: 2px;
318

    
319
}
320
.btn:hover {
321
    background-color: rgba(19, 155, 132, 0.911);
322
}
323
.btn-submit {
324
    background-color: rgb(0, 175, 15);
325
    transition: all 0.2s;
326
}
327
.btn-submit:hover {
328
    background-color: rgb(0, 165, 15)
329
}
330
.btn-cancel {
331
    background-color: rgb(255, 79, 71);
332
    transition: all 0.2s;
333
}
334
.btn-cancel:hover {
335
    background-color: rgb(242, 79, 71);
336
}
337

    
338

    
339
/* -------------------LogOut------------------- */
340

    
341
.logout h1 {
342
    font-size: 48px;
343
    text-align: center;
344
    padding: 40px;
345
}
346
.logout h4 {
347
    font-size: 18px;
348
    text-align: center;
349
    color: #ffffffc4;
350
    transition: all 0.2s;
351
}
352

    
353

    
354
/* ------------ responsive --------- */
355

    
356
@media only screen and (max-width: 768px) {
357
    table {
358
        font-size: 13px;
359
    }
360
}
361

    
362
@media only screen and (max-width: 702px) {
363
    .container {
364
    height: 100vh;
365
    flex-direction: column;
366
    }
367

    
368
    .main-content {
369
        width: 100%;
370
        justify-content: space-evenly;
371
        
372
    }
373

    
374
    .offs-request {
375
        width: 100%;
376
        height: 100%;
377
    }
378
    .calendar {
379
        width: 100%;
380
        height: 100%;
381
    }
382

    
383
    .side-content {
384
        height: 100%;
385
        width: 100%;
386
    }
387

    
388
    .side-board {
389
        width: 100%;
390
    }
391

    
392
    .top-nav h3 {
393
        margin-left: 20px;
394
    }
395

    
396
    .login-container {
397
        width: 400px;
398
        height: 400px;
399
    }
400
    .login-container h1 {
401
        color: white;
402
        font-size: 90px;
403
    }
404

    
405
    .logout h1 {
406
        font-size: 32px;
407
        text-align: center;
408
        padding: 30px;
409
    }
410
    .logout h4 {
411
        font-size: 18px;
412
    }
413
    table td {
414
        text-align: center;
415
    }
416

    
417
    .calendar-form {
418
        padding: 15px;
419
    }
420

    
421
    .calendar-form h2 {
422
        font-size: 20px;
423
    }
424

    
425
    .date-input {
426
        width: 200px;
427
    }
428

    
429
    .fc-right {
430
        display: flex;
431
    }
432

    
433

    
434
} 
435

    
436
@media only screen and (max-width: 480px) {
437
    .top-nav h3 {
438
        margin-right: 30px;
439
    }
440

    
441
    .login-container {
442
        width: 300px;
443
        height: 300px;
444
    }
445
    .login-container h1 {
446
        color: white;
447
        font-size: 60px;
448
    }
449

    
450
    .logout h1 {
451
        font-size: 22px;
452
        text-align: center;
453
        padding: 20px;
454
    }
455
    .logout h4 {
456
        font-size: 14px;
457
    }
458

    
459
    .profile-comp {
460
        margin-right: 20px;
461
    }
462

    
463
    .setting-container h2 {
464
        font-size: 38px;
465
        text-align: center;
466
        padding: 50px 0 0 0;
467
    }
468

    
469
    .btn {
470
        padding: 10px 16px;
471
    }
472

    
473
    .calendar-form {
474
        padding: 10px;
475
    }
476

    
477
    .calendar-form h2 {
478
        font-size: 18px;
479
    }
480

    
481
    .calendar-form h4 {
482
        font-size: 16px;
483
    }
484

    
485
    .calendar-form {
486
        font-size: 14px;
487
    }
488

    
489
    .date-input {
490
        width: 140px;
491
    }
492
    
493
    .side-content {
494
        background-color: rgb(129, 168, 162);
495
        padding-top: 0px;
496
    }
497

    
498
    /* .side-board {
499
        box-shadow: 1px 0px 15px rgb(161, 161, 161);
500
    } */
501
}
502

    
503
@media only screen and (max-width: 320px) {
504
    .login-container {
505
        width: 250px;
506
        height: 250px;
507
    }
508
    .login-container h1 {
509
        color: white;
510
        font-size: 50px;
511
    }
512

    
513
    .logout h1 {
514
        font-size: 22px;
515
        text-align: center;
516
        padding: 20px;
517
    }
518
    .logout h4 {
519
        font-size: 12px;
520
    }
521

    
522
    .offs-item {
523
        flex-direction: column;
524
        align-items: stretch;
525
    }
526

    
527
    .offs-item th {
528
        padding: 0 30px 0 5;
529
    }
530

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

    
537
    .setting-container h3 {
538
        font-size: 16px;
539
        text-align: center;
540
        padding: 5px 0 0 0;
541
    }
542

    
543
    .setting-form {
544
        padding: 15px;
545
    }
546

    
547
    .btn {
548
        padding: 10px 10px;
549
    }
550

    
551
    .fc-button {
552
        padding: 0;
553
    }
554

    
555
    .calendar-form {
556
      padding: 5px;
557
    }
558

    
559
    .calendar-form h2 {
560
        padding-top: 5px;
561
        font-size: 16px;
562
    }
563

    
564
    .calendar-form h4 {
565
        
566
        font-size: 14px;
567
    }
568

    
569
    .calendar-form {
570
        font-size: 12px;
571
    }
572

    
573
    .date-input {
574
        width: 135px;
575
    }
576
}
577

    
578
/* .todoDiv {
579
    padding-left: 200px;
580
} */
581

    
(1-1/17)