Sha256: e2c287439db3dc33862bfdd207ef3eaf5dc3efec8e371566aa744238a99e0ee5

Contents?: true

Size: 587 Bytes

Versions: 3

Compression:

Stored size: 587 Bytes

Contents

.pagy {
  @apply flex space-x-1 font-semibold text-sm text-gray-500;
  .page {
    a {
      @apply block rounded-lg px-3 py-1 bg-gray-200;
      &:hover {
        @apply bg-gray-300;
      }
    }
    &.active a {
      @apply text-white bg-gray-400 cursor-default;
    }
    &.disabled a {
      @apply text-gray-300 bg-gray-100 cursor-default;
    }
    &.gap { }  /* if you need to customize it */
  }
  .pagy-combo-input, &.pagy-items-selector-js {
    @apply inline-block bg-gray-200 rounded-lg px-3 py-0.5;
    input {
      @apply bg-gray-100 border-none rounded-md;
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pagy-7.0.7 lib/stylesheets/pagy.tailwind.scss
pagy-7.0.6 lib/stylesheets/pagy.tailwind.scss
pagy-7.0.5 lib/stylesheets/pagy.tailwind.scss