MogensR commited on
Commit
9e3ba66
·
1 Parent(s): 3c631fe

Create web/src/app/globals.css

Browse files
Files changed (1) hide show
  1. web/src/app/globals.css +234 -0
web/src/app/globals.css ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ :root {
7
+ --background: 0 0% 100%;
8
+ --foreground: 222.2 84% 4.9%;
9
+ --card: 0 0% 100%;
10
+ --card-foreground: 222.2 84% 4.9%;
11
+ --popover: 0 0% 100%;
12
+ --popover-foreground: 222.2 84% 4.9%;
13
+ --primary: 222.2 47.4% 11.2%;
14
+ --primary-foreground: 210 40% 98%;
15
+ --secondary: 210 40% 96.1%;
16
+ --secondary-foreground: 222.2 47.4% 11.2%;
17
+ --muted: 210 40% 96.1%;
18
+ --muted-foreground: 215.4 16.3% 46.9%;
19
+ --accent: 210 40% 96.1%;
20
+ --accent-foreground: 222.2 47.4% 11.2%;
21
+ --destructive: 0 84.2% 60.2%;
22
+ --destructive-foreground: 210 40% 98%;
23
+ --border: 214.3 31.8% 91.4%;
24
+ --input: 214.3 31.8% 91.4%;
25
+ --ring: 222.2 84% 4.9%;
26
+ --radius: 0.5rem;
27
+ }
28
+
29
+ .dark {
30
+ --background: 222.2 84% 4.9%;
31
+ --foreground: 210 40% 98%;
32
+ --card: 222.2 84% 4.9%;
33
+ --card-foreground: 210 40% 98%;
34
+ --popover: 222.2 84% 4.9%;
35
+ --popover-foreground: 210 40% 98%;
36
+ --primary: 210 40% 98%;
37
+ --primary-foreground: 222.2 47.4% 11.2%;
38
+ --secondary: 217.2 32.6% 17.5%;
39
+ --secondary-foreground: 210 40% 98%;
40
+ --muted: 217.2 32.6% 17.5%;
41
+ --muted-foreground: 215 20.2% 65.1%;
42
+ --accent: 217.2 32.6% 17.5%;
43
+ --accent-foreground: 210 40% 98%;
44
+ --destructive: 0 62.8% 30.6%;
45
+ --destructive-foreground: 210 40% 98%;
46
+ --border: 217.2 32.6% 17.5%;
47
+ --input: 217.2 32.6% 17.5%;
48
+ --ring: 212.7 26.8% 83.9%;
49
+ }
50
+ }
51
+
52
+ @layer base {
53
+ * {
54
+ @apply border-border;
55
+ }
56
+
57
+ body {
58
+ @apply bg-background text-foreground;
59
+ font-feature-settings: "rlig" 1, "calt" 1;
60
+ }
61
+
62
+ h1, h2, h3, h4, h5, h6 {
63
+ @apply scroll-m-20;
64
+ }
65
+
66
+ h1 {
67
+ @apply text-4xl font-extrabold tracking-tight lg:text-5xl;
68
+ }
69
+
70
+ h2 {
71
+ @apply text-3xl font-semibold tracking-tight;
72
+ }
73
+
74
+ h3 {
75
+ @apply text-2xl font-semibold tracking-tight;
76
+ }
77
+
78
+ h4 {
79
+ @apply text-xl font-semibold tracking-tight;
80
+ }
81
+
82
+ p {
83
+ @apply leading-7 [&:not(:first-child)]:mt-6;
84
+ }
85
+ }
86
+
87
+ @layer components {
88
+ /* Custom scrollbar */
89
+ .custom-scrollbar {
90
+ scrollbar-width: thin;
91
+ scrollbar-color: theme('colors.gray.600') theme('colors.gray.800');
92
+ }
93
+
94
+ .custom-scrollbar::-webkit-scrollbar {
95
+ width: 8px;
96
+ height: 8px;
97
+ }
98
+
99
+ .custom-scrollbar::-webkit-scrollbar-track {
100
+ @apply bg-gray-800;
101
+ }
102
+
103
+ .custom-scrollbar::-webkit-scrollbar-thumb {
104
+ @apply bg-gray-600 rounded-full;
105
+ }
106
+
107
+ .custom-scrollbar::-webkit-scrollbar-thumb:hover {
108
+ @apply bg-gray-500;
109
+ }
110
+
111
+ /* Glass morphism effect */
112
+ .glass {
113
+ @apply bg-white/10 backdrop-blur-lg border border-white/20;
114
+ }
115
+
116
+ .glass-dark {
117
+ @apply bg-gray-900/50 backdrop-blur-lg border border-gray-700/50;
118
+ }
119
+
120
+ /* Gradient text */
121
+ .gradient-text {
122
+ @apply bg-gradient-to-r from-purple-400 to-pink-600 bg-clip-text text-transparent;
123
+ }
124
+
125
+ /* Animated gradient background */
126
+ .gradient-bg {
127
+ @apply bg-gradient-to-r from-purple-600 to-pink-600;
128
+ background-size: 200% 200%;
129
+ animation: gradient 6s ease infinite;
130
+ }
131
+
132
+ /* Glow effect */
133
+ .glow {
134
+ box-shadow: 0 0 20px rgba(168, 85, 247, 0.4),
135
+ 0 0 40px rgba(168, 85, 247, 0.2),
136
+ 0 0 60px rgba(168, 85, 247, 0.1);
137
+ }
138
+
139
+ .glow-purple {
140
+ box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
141
+ }
142
+
143
+ .glow-pink {
144
+ box-shadow: 0 0 20px rgba(236, 72, 153, 0.6);
145
+ }
146
+ }
147
+
148
+ @layer utilities {
149
+ /* Hide scrollbar but keep functionality */
150
+ .no-scrollbar::-webkit-scrollbar {
151
+ display: none;
152
+ }
153
+
154
+ .no-scrollbar {
155
+ -ms-overflow-style: none;
156
+ scrollbar-width: none;
157
+ }
158
+
159
+ /* Text selection color */
160
+ .selection-purple::selection {
161
+ @apply bg-purple-500/30 text-purple-200;
162
+ }
163
+
164
+ /* Transition all */
165
+ .transition-all-smooth {
166
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
167
+ }
168
+
169
+ /* Safe area padding for mobile */
170
+ .safe-top {
171
+ padding-top: env(safe-area-inset-top);
172
+ }
173
+
174
+ .safe-bottom {
175
+ padding-bottom: env(safe-area-inset-bottom);
176
+ }
177
+
178
+ .safe-left {
179
+ padding-left: env(safe-area-inset-left);
180
+ }
181
+
182
+ .safe-right {
183
+ padding-right: env(safe-area-inset-right);
184
+ }
185
+ }
186
+
187
+ /* Animations */
188
+ @keyframes gradient {
189
+ 0%, 100% {
190
+ background-position: 0% 50%;
191
+ }
192
+ 50% {
193
+ background-position: 100% 50%;
194
+ }
195
+ }
196
+
197
+ @keyframes float {
198
+ 0%, 100% {
199
+ transform: translateY(0px);
200
+ }
201
+ 50% {
202
+ transform: translateY(-20px);
203
+ }
204
+ }
205
+
206
+ @keyframes glow-pulse {
207
+ 0%, 100% {
208
+ opacity: 1;
209
+ }
210
+ 50% {
211
+ opacity: 0.5;
212
+ }
213
+ }
214
+
215
+ /* Loading skeleton */
216
+ @keyframes skeleton-loading {
217
+ 0% {
218
+ background-position: -200% 0;
219
+ }
220
+ 100% {
221
+ background-position: 200% 0;
222
+ }
223
+ }
224
+
225
+ .skeleton {
226
+ background: linear-gradient(
227
+ 90deg,
228
+ theme('colors.gray.800') 25%,
229
+ theme('colors.gray.700') 50%,
230
+ theme('colors.gray.800') 75%
231
+ );
232
+ background-size: 200% 100%;
233
+ animation: skeleton-loading 1.5s infinite;
234
+ }