index.module.scss 902 B

12345678910111213141516171819202122232425262728293031
  1. .pages {
  2. @apply flex justify-center;
  3. .inner {
  4. @apply flex flex-wrap items-center p-0 m-0 list-none;
  5. }
  6. .text,
  7. .item {
  8. @apply inline-flex items-center justify-center relative outline-0 border-0 select-none align-middle appearance-none no-underline text-sm rounded-2xl text-center box-border min-w-[32px] h-8 py-0 px-1.5 mx-1;
  9. }
  10. .item {
  11. @apply cursor-pointer;
  12. @apply hover:bg-black hover:bg-opacity-5;
  13. &.selected {
  14. @apply text-white bg-blue-600 hover:bg-blue-800 hover:bg-opacity-100;
  15. }
  16. &.disabled {
  17. @apply cursor-default pointer-events-none opacity-40;
  18. }
  19. :global(.dark) & {
  20. @apply hover:bg-white hover:bg-opacity-10;
  21. &.selected {
  22. @apply text-white bg-blue-700 hover:bg-blue-800 hover:bg-opacity-100;
  23. }
  24. }
  25. }
  26. .icon {
  27. @apply select-none w-4 h-4 inline-block fill-current flex-shrink-0 text-xl -mx-2;
  28. }
  29. }