Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 8ef617c0

Přidáno uživatelem Marek Zábran před asi 4 roky(ů)

Oprava pokaženého SCSS.

Zobrazit rozdíly:

resources/sass/_custom.scss
245 245
        color: $theme-color-one;
246 246
        border: 0.5pt solid $theme-color-one;
247 247
        border-radius: 0;
248
        width: 6.5rem;
249
        height: 2rem;
248
        padding: 0.4675rem 2.475rem;
250 249
        font-weight: $font-weight-one;
251 250

  
252 251
        &:active, &:focus, &:visited, &:hover {
......
412 411
            }
413 412
        }
414 413

  
414
        .charts {
415
            .inter_info, .inter_like, .inter_like_filled {
416
                display: inline;
417

  
418
                &:before {
419
                    width: 3rem;
420
                    height: 3rem;
421
                }
422
            }
423

  
424
        }
425

  
415 426
        .inter_info, .inter_like, .inter_like_filled {
416 427
            padding: 0;
417 428

  
......
533 544
                display: flex;
534 545
                align-items: baseline;
535 546

  
536
                span {
537
                    font-weight: $font-weight-two;
547
                a {
548
                    color: $theme-color-two;
549
                    text-decoration: none;
550

  
551
                    span {
552
                        font-weight: $font-weight-two;
553
                    }
538 554
                }
539 555

  
540 556
                .arrow-down {
......
555 571
            color: $theme-color-one;
556 572
            border-bottom: .042rem solid $theme-color-one;
557 573

  
558
            &:before {
574
            &:after {
559 575
                content: '';
560 576
                background-color: $theme-color-one;
561 577
            }
562 578

  
563 579
            .metadata {
580
                a {
581
                    color: $theme-color-one;
582
                }
583

  
564 584
                .arrow-down {
565 585
                    border-top: 0.25rem solid $theme-color-one;
566 586
                }
......
732 752
        }
733 753
    }
734 754

  
735
    .btn-dark:not(:disabled):not(.disabled).active{
755
    .btn-dark:not(:disabled):not(.disabled).active {
736 756
        background-color: $theme-color-four;
737
        color:white;
757
        color: white;
738 758
        border-color: $theme-color-five;
739 759
    }
740 760

  
......
752 772
    }
753 773

  
754 774
    //CATEGORIES - Main menu
755
    .cat-main-menu{
775
    .cat-main-menu {
756 776
        font-size: 1.75rem;
757 777
        text-align: center;
758 778
        margin-bottom: 30pt;
759 779

  
760
        a,a:visited{
780
        a, a:visited {
761 781
            color: $theme-color-two;
762 782
            text-decoration: none;
763 783
        }
764 784

  
765
        a:hover{
785
        a:hover {
766 786
            color: $theme-color-four;
767 787
        }
768 788

  
769 789
    }
770 790

  
771 791
    //CATEGORIES - Wrapper around Enter button
772
    .cat-wrapper{
773
        margin:auto;
774
        display:block;
792
    .cat-wrapper {
793
        margin: auto;
794
        display: block;
775 795
        //align-content: center;
776 796
        //margin:auto;
777 797
        //display:block;
......
779 799

  
780 800
    //CATEGORIES - Enter button
781 801
    .btn.button-square.cat-enter-butt {
782
        font-size: 8pt;
783
        background-color: grey;
784
        color: $theme-color-one;
785
        border: 0.5pt solid $theme-color-one;
802
        //font-size: 8pt;
803
        //background-color: grey;
804
        //color: $theme-color-one;
805
        // border: 0.5pt solid $theme-color-one;
786 806
        border-radius: 0;
787 807
        bottom: 5%;
788 808
        position: fixed;
789 809
        left: 50%;
790 810
        transform: translateX(-50%);
791
        width: 6.5rem;
792
        height: 2rem;
793
        font-weight: $font-weight-one;
811
        //width: 6.5rem;
812
        //height: 2rem;
813
        //font-weight: $font-weight-one;
794 814

  
795 815
        &:active, &:focus, &:visited, &:hover {
796 816
            outline: none;
......
804 824
    }
805 825

  
806 826
    //VERIFY - main text
807
    .ver-text{
827
    .ver-text {
808 828

  
809 829
        margin-top: 50pt;
810 830

  
811
        h2{
831
        h2 {
812 832
            text-align: center;
813
            color:$theme-color-two;
833
            color: $theme-color-two;
814 834
        }
815 835
    }
816 836
}
......
923 943
    margin-bottom: 3rem;
924 944
}
925 945

  
946
.js-cookie-consent {
947
    position: fixed;
948
    z-index: 9999;
949
    text-align: center;
950
    width: 100%;
951
    bottom: 0px;
952
    padding: 10px;
953
    background: $theme-color-four;
954
}
955

  
956
.js-cookie-consent-agree {
957
    font-size: 8pt;
958
    background-color: $theme-color-five;
959
    color: $theme-color-one;
960
    border: 0.5pt solid $theme-color-one;
961
    border-radius: 0;
962
    padding: 0.5rem 2rem;
963
    font-weight: $font-weight-one;
964

  
965
    &:active, &:focus, &:visited, &:hover {
966
        outline: none;
967
        box-shadow: none;
968
        color: $theme-color-one;
969
    }
970

  
971
    &:hover {
972
        color: $theme-color-four;
973
    }
974
}
975

  
976
.cookie-consent__message {
977
    padding: 1rem;
978
    display: inline-block;
979
}
980

  
926 981
// books component
927 982
.books-component {
928 983

  
......
1054 1109
                color: $theme-color-one;
1055 1110
                border-bottom: .042rem solid $theme-color-one;
1056 1111

  
1057
                &:before {
1112
                &:after {
1058 1113
                    content: '';
1059 1114
                    background-color: $theme-color-one;
1060 1115
                }
......
1129 1184
    }
1130 1185
}
1131 1186

  
1187
@media (max-width: 610px) {
1188
    .js-cookie-consent-agree {
1189
        margin-bottom: 1rem;
1190
    }
1191
}
1192

  
1132 1193
@media screen and (max-height: 450px) {
1133 1194
    .sidenav a {
1134 1195
        font-size: 18px;
......
1261 1322
            //margin-left: 1rem;
1262 1323
        }
1263 1324

  
1325
        .pin-left:before {
1326
            height: 1.125rem;
1327
            width: 1.125rem;
1328
            top: -1.125rem;
1329
            left: -0.56rem;
1330
        }
1331

  
1332
        .pin-left {
1333
            // center fixed div
1334
            left: 75%;
1335
            transform: translateX(-50%);
1336
            width: 70%;
1337
        }
1338

  
1264 1339
        .text {
1265 1340
            text-align: left;
1266 1341
            font-size: 18pt;
1267 1342
            line-height: 26pt;
1268 1343
        }
1344

  
1269 1345
        .text2 {
1270 1346
            text-align: left;
1271 1347
            font-size: 18pt;
......
1307 1383

  
1308 1384
        .button-square {
1309 1385
            font-size: 18pt;
1310
            width: 10.875rem;
1311
            height: 2.938rem;
1386
            padding: 0.28125rem 3.7rem;
1387
        }
1388

  
1389
        .metadata-area {
1390
            .pin-horizontal {
1391
                margin: 5rem 3.125rem 0 0;
1392

  
1393
                .metadata {
1394

  
1395
                    margin-right: 0.5rem;
1396

  
1397
                    .arrow-down {
1398
                        border-left: 0.5rem solid transparent;
1399
                        border-right: 0.5rem solid transparent;
1400
                        border-top: 0.5rem solid $theme-color-two;
1401
                    }
1402

  
1403
                    a {
1404
                        span {
1405
                            font-size: 16pt;
1406
                        }
1407
                    }
1408
                }
1409

  
1410
                &:after {
1411
                    height: 0.75rem;
1412
                    width: 0.75rem;
1413
                    top: 0.375rem;
1414
                }
1415
            }
1416

  
1417
            .white-pin {
1418
                .metadata {
1419
                    .arrow-down {
1420
                        border-top: 0.5rem solid $theme-color-one;
1421
                    }
1422
                }
1423
            }
1424

  
1425
            .metadata-text {
1426
                font-size: 19pt;
1427
                max-width: 50%;
1428

  
1429
                .artefact-info {
1430
                    .artefact-name {
1431
                        font-size: 16pt;
1432
                    }
1433

  
1434
                    .artefact-author {
1435
                        font-size: 12pt;
1436
                    }
1437

  
1438
                    .inter_like_filled {
1439
                        &:before{
1440
                            width: 5rem;
1441
                            height: 5rem;
1442
                        }
1443
                    }
1444
                }
1445
            }
1312 1446
        }
1313 1447
    }
1314 1448
}

Také k dispozici: Unified diff