index.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. @import 'tailwindcss';
  2. @import 'tw-animate-css';
  3. @custom-variant dark (&:is(.dark *));
  4. :root {
  5. --radius: 0.625rem;
  6. --background: oklch(1 0 0);
  7. --foreground: oklch(0.129 0.042 264.695);
  8. --card: oklch(1 0 0);
  9. --card-foreground: oklch(0.129 0.042 264.695);
  10. --popover: oklch(1 0 0);
  11. --popover-foreground: oklch(0.129 0.042 264.695);
  12. --primary: oklch(0.208 0.042 265.755);
  13. --primary-foreground: oklch(0.984 0.003 247.858);
  14. --secondary: oklch(0.968 0.007 247.896);
  15. --secondary-foreground: oklch(0.208 0.042 265.755);
  16. --muted: oklch(0.968 0.007 247.896);
  17. --muted-foreground: oklch(0.554 0.046 257.417);
  18. --accent: oklch(0.968 0.007 247.896);
  19. --accent-foreground: oklch(0.208 0.042 265.755);
  20. --destructive: oklch(0.577 0.245 27.325);
  21. --border: oklch(0.929 0.013 255.508);
  22. --input: oklch(0.929 0.013 255.508);
  23. --ring: oklch(0.704 0.04 256.788);
  24. --chart-1: oklch(0.646 0.222 41.116);
  25. --chart-2: oklch(0.6 0.118 184.704);
  26. --chart-3: oklch(0.398 0.07 227.392);
  27. --chart-4: oklch(0.828 0.189 84.429);
  28. --chart-5: oklch(0.769 0.188 70.08);
  29. --sidebar: var(--background);
  30. --sidebar-foreground: var(--foreground);
  31. --sidebar-primary: var(--primary);
  32. --sidebar-primary-foreground: var(--primary-foreground);
  33. --sidebar-accent: var(--accent);
  34. --sidebar-accent-foreground: var(--accent-foreground);
  35. --sidebar-border: var(--border);
  36. --sidebar-ring: var(--ring);
  37. }
  38. .dark {
  39. --background: oklch(0.129 0.042 264.695);
  40. --foreground: oklch(0.984 0.003 247.858);
  41. --card: oklch(0.14 0.04 259.21);
  42. --card-foreground: oklch(0.984 0.003 247.858);
  43. --popover: oklch(0.208 0.042 265.755);
  44. --popover-foreground: oklch(0.984 0.003 247.858);
  45. --primary: oklch(0.929 0.013 255.508);
  46. --primary-foreground: oklch(0.208 0.042 265.755);
  47. --secondary: oklch(0.279 0.041 260.031);
  48. --secondary-foreground: oklch(0.984 0.003 247.858);
  49. --muted: oklch(0.279 0.041 260.031);
  50. --muted-foreground: oklch(0.704 0.04 256.788);
  51. --accent: oklch(0.279 0.041 260.031);
  52. --accent-foreground: oklch(0.984 0.003 247.858);
  53. --destructive: oklch(0.704 0.191 22.216);
  54. --border: oklch(1 0 0 / 10%);
  55. --input: oklch(1 0 0 / 15%);
  56. --ring: oklch(0.551 0.027 264.364);
  57. --chart-1: oklch(0.488 0.243 264.376);
  58. --chart-2: oklch(0.696 0.17 162.48);
  59. --chart-3: oklch(0.769 0.188 70.08);
  60. --chart-4: oklch(0.627 0.265 303.9);
  61. --chart-5: oklch(0.645 0.246 16.439);
  62. }
  63. @theme inline {
  64. --font-inter: 'Inter', 'sans-serif';
  65. --font-manrope: 'Manrope', 'sans-serif';
  66. --radius-sm: calc(var(--radius) - 4px);
  67. --radius-md: calc(var(--radius) - 2px);
  68. --radius-lg: var(--radius);
  69. --radius-xl: calc(var(--radius) + 4px);
  70. --color-background: var(--background);
  71. --color-foreground: var(--foreground);
  72. --color-card: var(--card);
  73. --color-card-foreground: var(--card-foreground);
  74. --color-popover: var(--popover);
  75. --color-popover-foreground: var(--popover-foreground);
  76. --color-primary: var(--primary);
  77. --color-primary-foreground: var(--primary-foreground);
  78. --color-secondary: var(--secondary);
  79. --color-secondary-foreground: var(--secondary-foreground);
  80. --color-muted: var(--muted);
  81. --color-muted-foreground: var(--muted-foreground);
  82. --color-accent: var(--accent);
  83. --color-accent-foreground: var(--accent-foreground);
  84. --color-destructive: var(--destructive);
  85. --color-border: var(--border);
  86. --color-input: var(--input);
  87. --color-ring: var(--ring);
  88. --color-chart-1: var(--chart-1);
  89. --color-chart-2: var(--chart-2);
  90. --color-chart-3: var(--chart-3);
  91. --color-chart-4: var(--chart-4);
  92. --color-chart-5: var(--chart-5);
  93. --color-sidebar: var(--sidebar);
  94. --color-sidebar-foreground: var(--sidebar-foreground);
  95. --color-sidebar-primary: var(--sidebar-primary);
  96. --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  97. --color-sidebar-accent: var(--sidebar-accent);
  98. --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  99. --color-sidebar-border: var(--sidebar-border);
  100. --color-sidebar-ring: var(--sidebar-ring);
  101. }
  102. @layer base {
  103. * {
  104. @apply border-border outline-ring/50;
  105. scrollbar-width: thin;
  106. scrollbar-color: var(--border) transparent;
  107. }
  108. html {
  109. @apply overflow-x-hidden;
  110. }
  111. body {
  112. @apply bg-background text-foreground min-h-svh w-full;
  113. }
  114. button:not(:disabled),
  115. [role='button']:not(:disabled) {
  116. cursor: pointer;
  117. }
  118. /* Prevent focus zoom on mobile devices */
  119. @media screen and (max-width: 767px) {
  120. input,
  121. select,
  122. textarea {
  123. font-size: 16px !important;
  124. }
  125. }
  126. }
  127. @utility container {
  128. margin-inline: auto;
  129. padding-inline: 2rem;
  130. }
  131. @utility no-scrollbar {
  132. /* Hide scrollbar for Chrome, Safari and Opera */
  133. &::-webkit-scrollbar {
  134. display: none;
  135. }
  136. /* Hide scrollbar for IE, Edge and Firefox */
  137. -ms-overflow-style: none; /* IE and Edge */
  138. scrollbar-width: none; /* Firefox */
  139. }
  140. @utility faded-bottom {
  141. @apply after:pointer-events-none after:absolute after:start-0 after:bottom-0 after:hidden after:h-32 after:w-full after:bg-[linear-gradient(180deg,_transparent_10%,_var(--background)_70%)] md:after:block;
  142. }
  143. /* styles.css */
  144. .CollapsibleContent {
  145. overflow: hidden;
  146. }
  147. .CollapsibleContent[data-state='open'] {
  148. animation: slideDown 300ms ease-out;
  149. }
  150. .CollapsibleContent[data-state='closed'] {
  151. animation: slideUp 300ms ease-out;
  152. }
  153. @keyframes slideDown {
  154. from {
  155. height: 0;
  156. }
  157. to {
  158. height: var(--radix-collapsible-content-height);
  159. }
  160. }
  161. @keyframes slideUp {
  162. from {
  163. height: var(--radix-collapsible-content-height);
  164. }
  165. to {
  166. height: 0;
  167. }
  168. }