_pagination.scss 2.45 KB
.pagination-wrapper {
  background: #fff;
  position: relative;
  &:before {
    //position: absolute;
    //width: 100%;
    //height: 2px;
    //left: 0;
    //top: -2px;
    //background: $blocks-color;
    //content: '';
  }
}
ul.pagination {
  width: auto;
  position: relative;
  display: table;
  margin: 0 auto;
  float: none;
  margin-top: 57px;

  li {
    float: left;
    list-style: none;
    height: 32px;
    width: 32px;
    border: 1px solid $turquoise-color;
    line-height: 32px;
    text-align: center;
    margin: 3px 6px 0 6px;
    position: relative;
    z-index: 1;
    display: block;
    border-radius: 32px;
    a {
      text-decoration: none;
      color: $main-color;
      font-size: 14px;
      font-weight: 700;
      display: block;
      //padding: 0 10px;
      height: 32px;
      width: 32px;
      text-align: center;
    }


    &:active {
      background: #949494;
      border: 1px solid #949494;
      a {
        @include Transition(0.05);
      }
    }



    &.active {
      background: $gray-color !important;
      border: 1px solid $gray-color !important;
      box-shadow: none !important;
      a {
        cursor: default;
        @include Scale(1);
      }
    }

    &.prev, &.next {
      cursor: pointer;
      border: 0;
      width: 32px;
      box-shadow: none !important;
      background: #fff !important;
      @include svgIcon();
      span, a {
        font-size: 0;
        color: #fff;
      }
      a {
        position: absolute;
        top: 0;
        left: 0;
      }
      &:before {
        content: "\e916";
        font-size: 16px;
        line-height: 32px;
        color: #555;
      }

      &.next:before {
        content: "\e917";
        font-size: 16px;
        line-height: 32px;
        color: #555;
      }

      &.disabled {
        cursor: default;
        &:before {
          color: #c1c1c1;
        }
      }
    }
    &:hover {
      box-shadow: 0px 0px 12px 0px rgba(151, 151, 151, 0.35);
      &.prev, &.next {
        &:before {
          color: $main-color;
        }
        &.disabled {

          &:before {
            color: #c1c1c1;
          }
        }
      }
    }
    &:active {
      &.prev, &.next {
        &:before {
          color: #444444;
        }
        &.disabled {

          &:before {
            color: #969696;
          }
        }
      }
    }

  }

}






@media (max-width: 767px) {
  ul.pagination {
    li {
      margin-left: 3px;
      margin-right: 3px;
    }
  }
}