Sha256: a070335ef535e54ba2111762b8a5c7a90dac48c7d0e6c6abc831c71a9561b3fb

Contents?: true

Size: 1.1 KB

Versions: 41

Compression:

Stored size: 1.1 KB

Contents

.pagy {
  display: flex;
  font-family: sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: rgb(107 114 128);
  & > :not([hidden]) ~ :not([hidden]) {
    --space-reverse: 0;
    margin-right: calc(0.25rem * var(--space-reverse));
    margin-left: calc(0.25rem * calc(1 - var(--space-reverse)));
  }

  a:not(.gap) {
    display: block;
    text-decoration: none;
    border-radius: 0.5rem;
    background-color: rgb(229 231 235);
    padding: 0.25rem 0.75rem;
    color: inherit;
    &:hover {
      background-color: rgb(209 213 219);
    }
    &:not([href]) { /* disabled links */
      cursor: default;
      background-color: rgb(243 244 246);
      color: rgb(209 213 219);
    }
    &.current {
      background-color: rgb(156 163 175);
      color: rgb(255 255 255);
    }
  }

  label {
    white-space: nowrap;
    display: inline-block;
    border-radius: 0.5rem;
    background-color: rgb(229 231 235);
    padding: 0.125rem 0.75rem;
    input {
      line-height: 1.5rem;
      border-radius: 0.375rem;
      border-style: none;
      background-color: rgb(243 244 246);
    }
  }
}

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
pagy-9.3.4 stylesheets/pagy.scss
pagy-9.3.3 stylesheets/pagy.scss
pagy-9.3.2 stylesheets/pagy.scss
pagy-9.3.1 stylesheets/pagy.scss
pagy-9.3.0 stylesheets/pagy.scss
pagy-9.2.2 stylesheets/pagy.scss
pagy-9.2.1 stylesheets/pagy.scss
pagy-9.2.0 stylesheets/pagy.scss
pagy-9.1.1 stylesheets/pagy.scss
pagy-9.1.0 stylesheets/pagy.scss
pagy-9.0.9 stylesheets/pagy.scss
pagy-9.0.8 stylesheets/pagy.scss
pagy-9.0.7 stylesheets/pagy.scss
pagy-9.0.6 stylesheets/pagy.scss
pagy-9.0.5 stylesheets/pagy.scss
pagy-9.0.4 stylesheets/pagy.scss
pagy-9.0.3 stylesheets/pagy.scss
pagy-9.0.2 stylesheets/pagy.scss
pagy-9.0.1 stylesheets/pagy.scss
pagy-9.0.0 stylesheets/pagy.scss