Projekt

Obecné

Profil

« Předchozí | Další » 

Revize a12a4e99

Přidáno uživatelem plundrichov před více než 4 roky(ů)

re #58 mostly css edited, also login/logout

Zobrazit rozdíly:

client/src/App.css
15 15

  
16 16
/* --------------APP------------------*/
17 17

  
18
.App {
19
    display: flex;
20
    flex-direction: column;
21
    height: 100vh;
22
}
23

  
18 24
.permissionText {
19 25
    text-align: center;
20 26
    justify-content: center;
......
35 41
/* ------------- Navbar --------------- */
36 42

  
37 43
.top-nav {
38
    width: 100vw;
39 44
    height: 60px;
40 45
    background-color: #393d3f;
41 46
    display: flex;
42 47
    justify-content: space-between;
43 48
    align-items: center;
44 49
    color: white;
50
    padding: 10px 0;
45 51
}
46 52

  
47 53
.img-avatar {
......
86 92
    color: rgb(57, 184, 177);
87 93
}
88 94

  
95
.btn-logout {
96
    background-color: none;
97
    background: none;
98
    padding: 0;
99
    border: none;
100
    cursor: pointer;
101
}
102
.btn-logout:focus {
103
    outline: none;
104
}
105

  
106
.profile-comp svg:focus {
107
    outline: none;
108
}
109

  
89 110
/* --------- MAIN CONTAINER ------------ */
90 111

  
91 112
.container {
92 113
    width: 100%;
93
    min-height: 100vh;
94 114
    display: flex;
115
    flex-grow: 1;
95 116
    background-color: rgb(129, 168, 162);
96 117
    /* background: linear-gradient(#689c94, #0f546b); */
97 118
    position: relative;
......
227 248
    padding: 10px;
228 249
}
229 250

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

  
234 251
.side-content table td {
235 252
    height: 50px;
236 253
}
......
279 296
    position: absolute;
280 297
    justify-content: center;
281 298
    align-items: center;
282
    width: 480px;
283
    height: 480px;
299
    width: 430px;
300
    height: 430px;
284 301
    background-color: rgba(255, 255, 255, 0.075);
285 302
    /* border: 2px solid white; */
286 303
    border-radius: 50%;
......
384 401
/* -------------------LogOut------------------- */
385 402

  
386 403
.logout p {
387
    font-size: 48px;
404
    font-size: 38px;
388 405
    text-align: center;
389 406
    padding: 40px;
390 407
    color: #ffffff;
......
421 438

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

  
......
502 518
}
503 519

  
504 520
@media only screen and (max-width: 480px) {
505
    .top-nav h3 {
506
        margin-right: 30px;
521
    .top-nav h1 {
522
        margin-right: 20px;
523
        margin-left: 30px;
507 524
    }
508 525

  
509 526
    .login-container {
510 527
        width: 300px;
511 528
        height: 300px;
512 529
    }
513
    .login-container h1 {
530
    .login-container p {
514 531
        color: white;
515 532
        font-size: 60px;
516 533
    }
517 534

  
518
    .logout h1 {
519
        font-size: 22px;
535
    .logout p {
536
        font-size: 24px;
520 537
        text-align: center;
521 538
        padding: 20px;
522 539
    }
523
    .logout h4 {
524
        font-size: 14px;
525
    }
526 540

  
527 541
    .profile-comp {
528 542
        margin-right: 20px;
......
604 618
        width: 250px;
605 619
        height: 250px;
606 620
    }
607
    .login-container h1 {
621
    .login-container p {
608 622
        color: white;
609 623
        font-size: 50px;
610 624
    }
611 625

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

  
621 632
    .offs-item {
622 633
        flex-direction: column;

Také k dispozici: Unified diff