Spaces:
Sleeping
Sleeping
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| :root { | |
| --color-primary: #2563eb; | |
| --color-secondary: #10b981; | |
| } | |
| body { | |
| @apply bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-gray-100; | |
| font-family: 'Inter', system-ui, -apple-system, sans-serif; | |
| } | |
| @layer components { | |
| .btn-primary { | |
| @apply px-4 py-2 bg-primary-600 hover:bg-primary-700 text-white rounded-lg font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed; | |
| } | |
| .btn-secondary { | |
| @apply px-4 py-2 bg-gray-200 hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-600 text-gray-900 dark:text-gray-100 rounded-lg font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2; | |
| } | |
| .input-field { | |
| @apply w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent transition-all duration-200; | |
| } | |
| .card { | |
| @apply bg-white dark:bg-gray-800 rounded-xl shadow-lg border border-gray-200 dark:border-gray-700; | |
| } | |
| .mode-tab { | |
| @apply px-4 py-2 rounded-lg font-medium transition-all duration-200 flex items-center gap-2; | |
| } | |
| .mode-tab-active { | |
| @apply bg-primary-100 dark:bg-primary-900/30 text-primary-700 dark:text-primary-400; | |
| } | |
| .mode-tab-inactive { | |
| @apply bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700; | |
| } | |
| } | |
| @layer utilities { | |
| .scrollbar-thin { | |
| scrollbar-width: thin; | |
| scrollbar-color: theme('colors.gray.400') transparent; | |
| } | |
| .scrollbar-thin::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| .scrollbar-thin::-webkit-scrollbar-track { | |
| background: transparent; | |
| } | |
| .scrollbar-thin::-webkit-scrollbar-thumb { | |
| background-color: theme('colors.gray.400'); | |
| border-radius: 3px; | |
| } | |
| } | |