index.css 875 B

12345678910111213141516171819202122232425262728293031
  1. @tailwind components;
  2. @layer components {
  3. .btn {
  4. @apply inline-flex justify-center items-center content-center h-9 leading-5 rounded-lg px-4 py-2 text-base cursor-pointer whitespace-nowrap;
  5. }
  6. .btn-default {
  7. @apply border-solid border border-gray-200 cursor-pointer text-gray-500 hover:bg-white hover:shadow-sm hover:border-gray-300;
  8. }
  9. .btn-default-disabled {
  10. @apply border-solid border border-gray-200 bg-gray-200 cursor-not-allowed text-gray-800;
  11. }
  12. .btn-primary {
  13. @apply bg-primary-600 hover:bg-primary-600/75 cursor-pointer text-white hover:shadow-sm;
  14. }
  15. .btn-primary-disabled {
  16. @apply bg-primary-200 cursor-not-allowed text-white;
  17. }
  18. .btn-warning {
  19. @apply bg-red-600 hover:bg-red-600/75 cursor-pointer text-white hover:shadow-sm;
  20. }
  21. .btn-warning-disabled {
  22. @apply bg-red-600/75 cursor-not-allowed text-white;
  23. }
  24. }