Sha256: 049318bceca16ae6c217bc88490ede5b96470db2427f5c9fb4c60ac3406211eb

Contents?: true

Size: 1.11 KB

Versions: 23

Compression:

Stored size: 1.11 KB

Contents

@import "woople-theme/variables.css.less";
@import "woople-theme/colours.css.less";

.pagination {
  margin-top:0;
  .box-shadow(inset 0 1px 3px @insideShadowColour);

  a:hover, .active a {
    background-color:@highlightBackground;
  }

  a, em, span {
    border: none;
    display: inline-block;
    float: none;
    font-style: normal;
    line-height: 34px;
    padding: 0 14px;
    text-decoration: none;

    .total {
      display:none;
      padding:0;
    }
    .loading {
      vertical-align: middle;
      padding: 0;
      margin: 0 auto;
    }
  }

  .current {
    background-color:@highlightBackground;
  }

  .current, .disabled {
    .disabled_pagination();
  }

  .previous_page {
    float: left;

    span {
      display: inline-block;
    }
  }
  .next_page {
    float: right;

    span {
      display: inline-block;
    }
  }
}

.disabled_pagination() {
  color: #999;
  cursor: default;
}

@media (max-width: 767px) {
  .pagination {
    a, em, span {
      display: none;

      .total {
        display:inline;
      }
    }

    .current, .previous_page, .next_page {
      display: inline-block;
    }
  }
}

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
woople-theme-0.2.39 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.38 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.37 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.36 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.35 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.34 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.33 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.32 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.31 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.30 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.29 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.28 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.27 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.26 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.25 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.24 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.23 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.22 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.21 app/assets/stylesheets/woople-theme/pagination.css.less
woople-theme-0.2.20 app/assets/stylesheets/woople-theme/pagination.css.less