globals.css 454 B

123456789101112131415161718
  1. @import '@briven/config/tailwind/theme.css';
  2. /*
  3. * Global affordance: every non-disabled interactive element shows a pointer
  4. * on hover. Disabled buttons fall back to not-allowed so the UI reads
  5. * correctly without per-component classes.
  6. */
  7. @layer base {
  8. button:not(:disabled),
  9. a,
  10. [role='button']:not([aria-disabled='true']) {
  11. cursor: pointer;
  12. }
  13. button:disabled,
  14. [role='button'][aria-disabled='true'] {
  15. cursor: not-allowed;
  16. }
  17. }