Sha256: 0bf7dab3c450c0a5b8af437e68a7aa51f0a620fb812acc4894f7eac10afc1714

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

//
// Pager
// --------------------------------------------------

.pager {
  background-color: @brand-primary;
  border-radius: @border-radius-large;
  color: @inverse;
  font-size: 16px;
  font-weight: 700;
  display: inline-block;

  li {
    &:first-child {
      > a,
      > span {
        border-left: none;
        border-radius: @border-radius-large 0 0 @border-radius-large;
      }
    }

    > a,
    > span {
      background: none;
      border: none;
      border-left: 2px solid mix(@brand-primary, black, 85%);
      color: @inverse;
      padding: @pager-padding;
      text-decoration: none;
      white-space: nowrap;
      border-radius: 0 @border-radius-large @border-radius-large 0;
      line-height: 1.313;

      &:hover,
      &:focus {
        background-color: mix(@brand-primary, black, 85%);
      }
      &:active {
        background-color: mix(@brand-primary, black, 85%);
      }

      // Add some spacing between the icon and text
      [class*="fui-"] + span {
        margin-left: 8px;
      }
      span + [class*="fui-"] {
        margin-left: 8px;
      }
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flatui-rails-less-1.3 vendor/assets/stylesheets/modules/pager.less
flatui-rails-less-1.1 vendor/assets/stylesheets/modules/pager.less
flatui-rails-less-1.0 vendor/assets/stylesheets/modules/pager.less