global.css 942 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. @import "tailwindcss";
  2. @custom-variant dark (&:where(.dark, .dark *));
  3. /* Loading spin animation */
  4. @keyframes pd-loading-spin {
  5. 0%,
  6. 100% {
  7. animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
  8. }
  9. 0% {
  10. transform: rotateY(0deg);
  11. }
  12. 50% {
  13. transform: rotateY(1800deg);
  14. animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
  15. }
  16. 100% {
  17. transform: rotateY(3600deg);
  18. }
  19. }
  20. /* Custom scrollbar styles */
  21. .custom-scrollbar::-webkit-scrollbar {
  22. width: 8px;
  23. height: 8px;
  24. }
  25. .custom-scrollbar::-webkit-scrollbar-track {
  26. background-color: transparent;
  27. }
  28. .custom-scrollbar::-webkit-scrollbar-thumb {
  29. background-color: #d6dee1;
  30. border-radius: 8px;
  31. }
  32. .custom-scrollbar::-webkit-scrollbar-thumb:hover {
  33. background-color: #a8bbbf;
  34. }
  35. .dark .custom-scrollbar::-webkit-scrollbar-thumb {
  36. background-color: #4b5563;
  37. }
  38. .dark .custom-scrollbar::-webkit-scrollbar-thumb:hover {
  39. background-color: #6b7280;
  40. }