_pagination.scss 3.3 KB
ul.pagination {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  float: left;
  margin-top: 20px;


  li {
    float: left;
    list-style: none;
    width: auto;
    height: 32px;
    border: 1px solid $seo-border;
    line-height: 30px;
    text-align: center;
    margin: 0 5px;
    margin-top: 10px;
    position: relative;
    z-index: 1;
    display: block;
    a {
      text-decoration: none;
      color: #555;
      font-size: 16px;
      font-weight: 700;
      display: block;
      height: 100%;
      padding: 0 10px;
      min-width: 32px;
    }


    &:active {
      background: $seo-border;
      a {
        @include Transition(0.05);
        @include Scale(1.05);
      }
    }



    &.active {
      background: $Main-bg !important;
      border: 1px solid $Main-bg !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;
      }
      &:before {
        content: "\e9013";
        font-size: 16px;
        line-height: 32px;
        color: $color2;
      }

      &.next:before {
        content: "\e9011";
        font-size: 16px;
        line-height: 32px;
        color: $color2;
      }

      &.disabled {
        cursor: default;
        &:before {
          color: $seo-border;
        }
      }
    }
    &:hover {
      @include Shadow2;
      &.prev, &.next {
        &:before {
          color: #424446;
        }
        &.disabled {

          &:before {
            color: $seo-border;
          }
        }
      }
    }
    &:active {
      &.prev, &.next {
        &:before {
          color: #1f2021;
        }
        &.disabled {

          &:before {
            color: $seo-border;
          }
        }
      }
    }

  }

}
.load-more-wr {
  div {
    $height:44;
    width: 155px;
    height: $height + px;
    margin: 30px auto 0 auto;
    background: $link-color;
    border: 1px solid $link-color;
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    padding-left: 53px;
    display: table;
    position: relative;
    p {
    display: table-cell;
      vertical-align: middle;
    }
    span {
      position: absolute;
      width: 53px;
      height: 100%;
      left: 0;
      top: 0;
      @include svgIcon;
      text-align: center;
      @include Transition(0.05);
      &:before {
        display: block;
        content: "\e9014";
        font-size: 24px;
        line-height: $height + px;
        color: #fff;
        @include Transition(0.3);
      }
    }
    &:hover {
      span {
        &:before {
          @include Rotate(180);
          @include Transition(0.5);
          margin-top: -1px;
        }
      }
    }
    &:active {
      background: $link-active;
      span {
        @include Scale(1.35);
        &:before {
          @include Rotate(180);
          margin-top: -1px;

        }
      }
    }
  }
}
@media (max-width: 992px) {

}

@media (max-width: 767px) {
  ul.pagination {
      li {
        height: 28px;
        line-height: 26px;
        a {
          font-size: 13px;
          min-width: 26px;
        }
      }
  }
}