.gl-pagination {
  border-top: 1px solid $border-color;
  background-color: $background-color;
  margin: -$gl-padding;
  margin-top: 0;

  .pagination {
    padding: 0;
    margin: 0;
    display: block;

    li.first,
    li.last,
    li.next,
    li.prev {
      > a {
        color: $link-color;

        &:hover {
          color: #fff;
        }
      }
    }

    li > a,
    li > span {
      border: none;
      margin: 0;
      @include border-radius(0 !important);
      padding: 13px 19px;
      border-right: 1px solid $border-color;
    }
  }
}

.panel > .gl-pagination {
  margin: 0;
}
