Sha256: 1051b3fcdb6c8cb879951541416c906337c4f61843f87758d5e0edb9442c8fe5

Contents?: true

Size: 922 Bytes

Versions: 1

Compression:

Stored size: 922 Bytes

Contents

@import "settings.global";
@import "components.buttons";

@mixin pagination {
  display: block;
  width: $pagination-width;
  padding: $pagination-padding;
  text-align: center;
  font-size: $pagination-font-size;
}

@mixin pagination__controls {
  display: inline-block;
  text-align: center;
}

@mixin pagination__controls--backward {
  float: left;
  text-align: left;
}

@mixin pagination__controls--forward {
  float: right;
  text-align: right;
}

@mixin pagination__control($color: $pagination-control-color) {
  @include button;
  @include button--ghost($color);
  @include button--rounded;
  min-width: 2.4em;
}

@mixin pagination__page {
  @include pagination__control($pagination-page-color);
}

@mixin pagination__page--current {
  background-color: $pagination-page-current-background-color;
  color: $pagination-page-current-color;
}

@mixin pagination__ellipsis {
  padding: $pagination-ellipsis-padding;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blaze-css-rails-0.0.1 app/assets/stylesheets/mixins/_components.pagination.scss