_pagination.scss 1.46 KB
@import "../vars";

.pagination {
    padding: 30px 0 50px;

    @media (min-width: 1200px) {
        padding: 30px 0 100px;
    }

    &__inner {
        display: flex;
        justify-content: center;
    }

    &__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .3s;

        svg {
            stroke: #000;
            transition: .3s;
        }

        &.disabled {
            pointer-events: none;
            opacity: .5;
        }
        
    }

    &__btn-prev {
      
    }

    &__btn-next {
    
    }

    &__list {
        display: flex;
        align-items: center;
    }

    &__item {
        color: $vmainGrey;
        width: 26px;
        height: 26px;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        

        &:not(:last-child) {
            margin-right: 2px;
        }
    }

    &__link {
        transition: .3s;

        &.active {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-color: #F2994A;
            border-radius: 5px;
            width: 26px;
            height: 26px;
            color: #fff;
        }

        &.more {
            color: #000;
        }

        &:hover {
            @media (min-width: 1200px) {
                color: #dbdbdb;
            }
        }
    }
}