File size: 3,126 Bytes
e310cf5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | @tailwind base;
@tailwind components;
@tailwind utilities;
* {
box-sizing: border-box;
}
body {
@apply bg-gradient-to-b from-slate-50 via-purple-50/30 to-indigo-50/50 min-h-screen;
font-family: "Outfit", system-ui, sans-serif;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
@apply bg-slate-100 rounded-full;
}
::-webkit-scrollbar-thumb {
@apply bg-slate-300 rounded-full hover:bg-slate-400;
}
/* Focus styles */
*:focus-visible {
@apply outline-none ring-2 ring-primary-500 ring-offset-2;
}
/* Hide scrollbar but keep scroll (for horizontal week strip) */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
/* Visible scrollbar for Radix Select dropdowns */
[data-radix-select-viewport] {
scrollbar-width: thin; /* Firefox */
scrollbar-color: #cbd5e1 #f1f5f9; /* Firefox - thumb and track */
}
[data-radix-select-viewport]::-webkit-scrollbar {
width: 6px;
}
[data-radix-select-viewport]::-webkit-scrollbar-track {
background: #f1f5f9;
border-radius: 4px;
}
[data-radix-select-viewport]::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
}
[data-radix-select-viewport]::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
/* Form input styles */
input,
select,
textarea {
@apply transition-all duration-200;
}
/* Card gradient backgrounds */
.card-gradient-1 {
background: linear-gradient(to bottom, #8b5cf6 0%, #7c3aed 100%);
}
.card-gradient-2 {
background: linear-gradient(to bottom, #6366f1 0%, #4f46e5 100%);
}
.card-gradient-3 {
background: linear-gradient(to bottom, #ec4899 0%, #db2777 100%);
}
.card-gradient-4 {
background: linear-gradient(to bottom, #14b8a6 0%, #0d9488 100%);
}
/* Timeline ruler + dot */
.timeline-ruler {
width: 2px;
border-radius: 9999px;
background: linear-gradient(
to bottom,
#e5e7eb 0%,
#f3f4f6 60%,
rgba(0, 0, 0, 0) 100%
);
}
.timeline-dot {
width: 12px;
height: 12px;
border-radius: 9999px;
background: linear-gradient(to bottom, #667eea 0%, #764ba2 100%);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}
/* Staggered animation delays */
.animate-delay-100 {
animation-delay: 100ms;
}
.animate-delay-200 {
animation-delay: 200ms;
}
.animate-delay-300 {
animation-delay: 300ms;
}
.animate-delay-400 {
animation-delay: 400ms;
}
/* Toast animations */
@keyframes slideInFromRight {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes slideOutToRight {
from {
transform: translateX(0);
opacity: 1;
}
to {
transform: translateX(100%);
opacity: 0;
}
}
.animate-in {
animation: slideInFromRight 0.3s ease-out forwards;
}
.animate-out {
animation: slideOutToRight 0.2s ease-in forwards;
}
.fade-in {
animation: fadeIn 0.2s ease-out forwards;
}
.fade-out {
opacity: 0;
}
.slide-in-from-right {
animation-name: slideInFromRight;
}
.slide-out-to-right {
animation-name: slideOutToRight;
} |