Sha256: ffe2d14fa713d59c0ecd249b43344819948e45b4d9b5c331e48f7379cce87295

Contents?: true

Size: 1014 Bytes

Versions: 7

Compression:

Stored size: 1014 Bytes

Contents

.pagy-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em 0;
}

.pagy-nav > .page.disabled,
.pagy-nav > .page.active,
.pagy-nav > .page > a {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-right: none;
  background: white;
  color: var(--grey-900);
  cursor: pointer;
  text-decoration: none;
}

.pagy-nav > .page.prev a,
.pagy-nav > .page.prev.disabled {
  border-radius: 5px 0 0 5px;
}

.pagy-nav > .page.next a,
.pagy-nav > .page.next.disabled {
  border-right: 1px solid var(--border-color);
  border-radius: 0 5px 5px 0;
}

.pagy-nav > .page.active {
  border-color: var(--red-500);
  background: var(--red-500);
  color: white;
  cursor: default;

  &:hover {
    background: var(--red-500);
  }
}

.pagy-nav > .page.disabled {
  color: var(--grey-500);
  cursor: default;

  &:hover {
    background: white;
  }
}

.pagy-nav > .page.disabled:hover,
.pagy-nav > .page.active:hover,
.pagy-nav > .page > a:hover {
  background: var(--grey-100);
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_mini_profiler-0.7.3 app/javascript/stylesheets/components/pagination.scss
rails_mini_profiler-0.7.2 app/javascript/stylesheets/components/pagination.scss
rails_mini_profiler-0.7.1 app/javascript/stylesheets/components/pagination.scss
rails_mini_profiler-0.7.0 app/javascript/stylesheets/components/pagination.scss
rails_mini_profiler-0.6.0 app/javascript/stylesheets/components/pagination.scss
rails_mini_profiler-0.5.0 app/javascript/stylesheets/components/pagination.scss
rails_mini_profiler-0 app/javascript/stylesheets/components/pagination.scss