Sha256: 62a3505a8a65cac865b77d0f664ccd4d26160d8b3124cbbe7ce45c52d71f0c78

Contents?: true

Size: 605 Bytes

Versions: 4

Compression:

Stored size: 605 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 whitespace-nowrap bg-gray-200 rounded-lg px-3 py-0.5;
    input {
      @apply bg-gray-100 border-none rounded-md;
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pagy-7.0.11 lib/stylesheets/pagy.tailwind.scss
pagy-7.0.10 lib/stylesheets/pagy.tailwind.scss
pagy-7.0.9 lib/stylesheets/pagy.tailwind.scss
pagy-7.0.8 lib/stylesheets/pagy.tailwind.scss