// =============================================================================
// _PAGINATION.SCSS
// -----------------------------------------------------------------------------
// Site styles.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Base Styles
// =============================================================================

// Base Styles
// =============================================================================

//
// NOTES:
// 
// The styling conventions presented here work for X as well as our integrated
// plugins with some caveats.
// 
// 1. All pagination related elements across all integrated plugins receive our
//    ".x-pagination" class in an effort to streamline styling and make them
//    more searchable.
// 2. Some plugins like bbPress and BuddyPress have a few additional styles in
//    our integrated stylesheets to account for extra markup or adjust spacing
//    as needed.
// 3. All ".pagination" classes have been left along with ".x-pagination" in
//    BuddyPress as some of their JavaScript is tied to those class names
//    existing.
//

.x-pagination {
  margin: 50px 0 0;
  height: 32px;
  text-align: center;

  ul {
    display: inline-block;
    margin: 0;
  }

  li {
    display: inline;
  }

  a,
  span {
    float: left;
    margin: 0 0.25em;
    border: 1px solid $baseBorderSolid;
    border: 1px solid $baseBorderRgba;
    width: 32px;
    height: 32px;
    @include font-size(1.3);
    font-weight: 400;
    line-height: 30px;
    text-decoration: none;
    color: darken($baseModBackground, 12%);
    background-color: $baseModBackground;
  }

  a:hover {
    color: $accentColor;
    border-color: $accentColor;
  }

  a.prev,
  a.next,
  a.prev-next {
    @include break(middle-bear) {
      display: none;
    }
  }

  span.current {
    color: $accentColor;
    border-color: $accentColor;
  }

  span.pages {
    display: none;
  }

  span.dots,
  span.expand {
    margin: 0;
    width: 20px;
    color: #272727;
    background-color: transparent;
  }
}