result.scss 3.24 KB
@import "../../vars";
@import "../../mixins";

.result {
    padding-top: 16px;
}

.result-container {
    display: flex;
    flex-direction: column;
}

.result-links {
    align-self: flex-start;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #ABB2BF;

    &__item {

      &--active {
        font-weight: 600;
      }
    }

    > :not(:first-child) {
        margin-left: 8px;
    }
}

.result-search {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    &__text {
        font-weight: 600;
        font-size: 36px;
        line-height: 42px;
        color: $vmainGrey;
    }

    &__total {
        font-weight: 600;
        font-size: 20px;
        line-height: 24px;
        color: $vmainGrey;
    }
}

.result-text-active {
    font-weight: 600;
    font-size: 36px;
    line-height: 42px;
    color: $vactiveOrange;
}

.total-active {
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: $vactiveOrange;
}

// чекбоксы
.result-search-checkboxes {
    margin-top: 50px;
}

.result-sorting {
    display: flex;
    justify-content: end;
    align-items: center;
    // margin-top: 40px;

    &__item {
            cursor: pointer;
    
            &--active {
                font-weight: 700;
                color: $vactiveOrange;
            }
        }
}

.result-sorting-icons {
    margin-right: 30px;
    margin-top: 38px;

    &__first {
       position: relative;
       margin-right: 38px;

       &::after {
        position: absolute;
        content: "";
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_314_35946)'%3E%3Cpath d='M0 8V0H8V8H0ZM0 18V10H8V18H0ZM10 8V0H18V8H10ZM10 18V10H18V18H10ZM2 6H6V2H2V6ZM12 6H16V2H12V6ZM12 16H16V12H12V16ZM2 16H6V12H2V16Z' fill='%23636B78'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_314_35946'%3E%3Crect width='18' height='18' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: cover;
        width: 18px;
        height: 18px;
       } 
    }

    &__second {
        position: relative;
        
            &::after {
                position: absolute;
                content: "";
                cursor: pointer;
                background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_314_35949)'%3E%3Crect width='2' height='2' fill='%23636B78'/%3E%3Crect y='8' width='2' height='2' fill='%23636B78'/%3E%3Crect y='16' width='2' height='2' fill='%23636B78'/%3E%3Crect x='4' width='14' height='2' fill='%23636B78'/%3E%3Crect x='4' y='8' width='14' height='2' fill='%23636B78'/%3E%3Crect x='4' y='16' width='14' height='2' fill='%23636B78'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_314_35949'%3E%3Crect width='18' height='18' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
                background-repeat: no-repeat;
                background-size: cover;
                width: 18px;
                height: 18px;
            }

    }
}
.pagination-search-result {
    margin-top: 10px;
}