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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
|
@import "tailwindcss";
@import "tw-animate-css";
@custom-variant dark (&:is(.dark *));
/* Custom responsive breakpoints */
@custom-variant xs (&:is(@media (min-width: 475px) *));
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
--font-mono: ui-monospace, "SFMono-Regular", "Consolas", monospace;
--color-sidebar-ring: var(--sidebar-ring);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar: var(--sidebar);
--color-chart-5: var(--chart-5);
--color-chart-4: var(--chart-4);
--color-chart-3: var(--chart-3);
--color-chart-2: var(--chart-2);
--color-chart-1: var(--chart-1);
--color-ring: var(--ring);
--color-input: var(--input);
--color-border: var(--border);
--color-destructive: var(--destructive);
--color-accent-foreground: var(--accent-foreground);
--color-accent: var(--accent);
--color-muted-foreground: var(--muted-foreground);
--color-muted: var(--muted);
--color-secondary-foreground: var(--secondary-foreground);
--color-secondary: var(--secondary);
--color-primary-foreground: var(--primary-foreground);
--color-primary: var(--primary);
--color-popover-foreground: var(--popover-foreground);
--color-popover: var(--popover);
--color-card-foreground: var(--card-foreground);
--color-card: var(--card);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
}
:root {
--radius: 0.625rem;
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
--card: oklch(1 0 0);
--card-foreground: oklch(0.145 0 0);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.145 0 0);
--primary: oklch(0.205 0 0);
--primary-foreground: oklch(0.985 0 0);
--secondary: oklch(0.97 0 0);
--secondary-foreground: oklch(0.205 0 0);
--muted: oklch(0.97 0 0);
--muted-foreground: oklch(0.556 0 0);
--accent: oklch(0.97 0 0);
--accent-foreground: oklch(0.205 0 0);
--destructive: oklch(0.577 0.245 27.325);
--border: oklch(0.922 0 0);
--input: oklch(0.922 0 0);
--ring: oklch(0.708 0 0);
--chart-1: oklch(0.646 0.222 41.116);
--chart-2: oklch(0.6 0.118 184.704);
--chart-3: oklch(0.398 0.07 227.392);
--chart-4: oklch(0.828 0.189 84.429);
--chart-5: oklch(0.769 0.188 70.08);
--sidebar: oklch(0.985 0 0);
--sidebar-foreground: oklch(0.145 0 0);
--sidebar-primary: oklch(0.205 0 0);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.97 0 0);
--sidebar-accent-foreground: oklch(0.205 0 0);
--sidebar-border: oklch(0.922 0 0);
--sidebar-ring: oklch(0.708 0 0);
}
.dark {
--background: oklch(0.145 0 0);
--foreground: oklch(0.985 0 0);
--card: oklch(0.205 0 0);
--card-foreground: oklch(0.985 0 0);
--popover: oklch(0.205 0 0);
--popover-foreground: oklch(0.985 0 0);
--primary: oklch(0.922 0 0);
--primary-foreground: oklch(0.205 0 0);
--secondary: oklch(0.269 0 0);
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.269 0 0);
--muted-foreground: oklch(0.708 0 0);
--accent: oklch(0.269 0 0);
--accent-foreground: oklch(0.985 0 0);
--destructive: oklch(0.704 0.191 22.216);
--border: oklch(1 0 0 / 10%);
--input: oklch(1 0 0 / 15%);
--ring: oklch(0.556 0 0);
--chart-1: oklch(0.488 0.243 264.376);
--chart-2: oklch(0.696 0.17 162.48);
--chart-3: oklch(0.769 0.188 70.08);
--chart-4: oklch(0.627 0.265 303.9);
--chart-5: oklch(0.645 0.246 16.439);
--sidebar: oklch(0.205 0 0);
--sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.488 0.243 264.376);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.269 0 0);
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(1 0 0 / 10%);
--sidebar-ring: oklch(0.556 0 0);
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
}
}
/* Complete override for ghost variant default styles */
/* This targets the specific ghost variant classes from the button component */
.nav-button-transparent {
background: transparent !important;
background-color: transparent !important;
background-image: none !important;
border: none !important;
border-color: transparent !important;
box-shadow: none !important;
--tw-bg-opacity: 0 !important;
--accent: transparent !important;
--background: transparent !important;
--tw-border-opacity: 0 !important;
--tw-shadow: none !important;
--tw-ring-shadow: none !important;
--tw-ring-offset-shadow: none !important;
cursor: pointer !important;
}
/* Force override ghost variant styles completely */
button[class*="nav-button-transparent"],
[data-slot="button"][class*="nav-button-transparent"],
[data-slot="navigation-menu-trigger"][class*="nav-button-transparent"] {
background: transparent !important;
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* Override ghost variant hover specifically */
button[class*="nav-button-transparent"][class*="hover:bg-accent"],
[data-slot="button"][class*="nav-button-transparent"][class*="hover:bg-accent"],
[data-slot="navigation-menu-trigger"][class*="nav-button-transparent"][class*="hover:bg-accent"] {
background: transparent !important;
background-color: transparent !important;
border: none !important;
}
/* Dark mode ghost variant overrides */
.dark button[class*="nav-button-transparent"][class*="dark:hover:bg-accent"],
.dark [data-slot="button"][class*="nav-button-transparent"][class*="dark:hover:bg-accent"],
.dark [data-slot="navigation-menu-trigger"][class*="nav-button-transparent"][class*="dark:hover:bg-accent"] {
background: transparent !important;
background-color: transparent !important;
border: none !important;
}
/* Remove focus rings and outlines for nav buttons */
.nav-button-transparent:focus,
.nav-button-transparent:focus-visible {
outline: none !important;
ring: none !important;
--tw-ring-shadow: none !important;
border: none !important;
background: transparent !important;
background-color: transparent !important;
}
/* Light mode subtle hover effects - only show on hover */
.nav-button-transparent:hover {
background: rgba(0, 0, 0, 0.08) !important;
background-color: rgba(0, 0, 0, 0.08) !important;
--tw-bg-opacity: 1 !important;
border: none !important;
transition: background-color 0.2s ease-in-out !important;
}
/* Dark mode even more subtle hover effects */
.dark .nav-button-transparent:hover {
background: rgba(255, 255, 255, 0.06) !important;
background-color: rgba(255, 255, 255, 0.06) !important;
transition: background-color 0.2s ease-in-out !important;
}
/* Override NavigationMenuTrigger specific classes with maximum specificity */
.nav-button-transparent.bg-background {
background: transparent !important;
background-color: transparent !important;
border: none !important;
}
/* Focus states - only subtle background, no borders or rings */
.nav-button-transparent:focus:not(:hover) {
background: rgba(0, 0, 0, 0.04) !important;
background-color: rgba(0, 0, 0, 0.04) !important;
border: none !important;
box-shadow: none !important;
}
.dark .nav-button-transparent:focus:not(:hover) {
background: rgba(255, 255, 255, 0.03) !important;
background-color: rgba(255, 255, 255, 0.03) !important;
border: none !important;
box-shadow: none !important;
}
/* Override open states */
.nav-button-transparent[data-state="open"] {
background: rgba(0, 0, 0, 0.08) !important;
background-color: rgba(0, 0, 0, 0.08) !important;
border: none !important;
}
.dark .nav-button-transparent[data-state="open"] {
background: rgba(255, 255, 255, 0.06) !important;
background-color: rgba(255, 255, 255, 0.06) !important;
border: none !important;
}
/* Ensure all shadcn/ui utility classes are overridden with high specificity */
button.nav-button-transparent,
[data-slot="button"].nav-button-transparent,
[data-slot="navigation-menu-trigger"].nav-button-transparent {
background: transparent !important;
background-color: transparent !important;
border: none !important;
border-color: transparent !important;
box-shadow: none !important;
cursor: pointer !important;
}
/* Hover states for all button types */
button.nav-button-transparent:hover,
[data-slot="button"].nav-button-transparent:hover,
[data-slot="navigation-menu-trigger"].nav-button-transparent:hover {
background: rgba(0, 0, 0, 0.08) !important;
background-color: rgba(0, 0, 0, 0.08) !important;
border: none !important;
transition: background-color 0.2s ease-in-out !important;
cursor: pointer !important;
}
/* Focus states for all button types */
button.nav-button-transparent:focus,
[data-slot="button"].nav-button-transparent:focus,
[data-slot="navigation-menu-trigger"].nav-button-transparent:focus {
background: rgba(0, 0, 0, 0.04) !important;
background-color: rgba(0, 0, 0, 0.04) !important;
border: none !important;
box-shadow: none !important;
outline: none !important;
cursor: pointer !important;
}
/* Dark mode hover and focus states */
.dark button.nav-button-transparent:hover,
.dark [data-slot="button"].nav-button-transparent:hover,
.dark [data-slot="navigation-menu-trigger"].nav-button-transparent:hover {
background: rgba(255, 255, 255, 0.06) !important;
background-color: rgba(255, 255, 255, 0.06) !important;
border: none !important;
transition: background-color 0.2s ease-in-out !important;
cursor: pointer !important;
}
.dark button.nav-button-transparent:focus,
.dark [data-slot="button"].nav-button-transparent:focus,
.dark [data-slot="navigation-menu-trigger"].nav-button-transparent:focus {
background: rgba(255, 255, 255, 0.03) !important;
background-color: rgba(255, 255, 255, 0.03) !important;
border: none !important;
box-shadow: none !important;
outline: none !important;
cursor: pointer !important;
}
/* Dropdown and navigation item transparency */
.nav-dropdown-transparent {
background: rgba(255, 255, 255, 0.85) !important;
backdrop-filter: blur(20px) saturate(180%) !important;
border: 1px solid rgba(255, 255, 255, 0.2) !important;
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.12),
0 2px 16px rgba(0, 0, 0, 0.08),
inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
border-radius: 0.75rem !important;
}
.dark .nav-dropdown-transparent {
background: rgba(15, 15, 15, 0.85) !important;
border: 1px solid rgba(82, 82, 82, 0.3) !important;
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.4),
0 2px 16px rgba(0, 0, 0, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
.nav-dropdown-item {
background: transparent !important;
border: none !important;
transition: background-color 0.2s ease-in-out !important;
}
.nav-dropdown-item:hover {
background: rgba(0, 0, 0, 0.08) !important;
border: none !important;
}
.dark .nav-dropdown-item:hover {
background: rgba(255, 255, 255, 0.08) !important;
border: none !important;
}
/* Additional overrides for complete transparency */
/* Handle any remaining shadcn/ui styling conflicts */
.nav-button-transparent[data-variant="ghost"] {
background: transparent !important;
background-color: transparent !important;
border: none !important;
cursor: pointer !important;
}
.nav-button-transparent[data-variant="ghost"]:hover {
background: rgba(0, 0, 0, 0.08) !important;
background-color: rgba(0, 0, 0, 0.08) !important;
border: none !important;
cursor: pointer !important;
}
.dark .nav-button-transparent[data-variant="ghost"]:hover {
background: rgba(255, 255, 255, 0.06) !important;
background-color: rgba(255, 255, 255, 0.06) !important;
border: none !important;
cursor: pointer !important;
}
/* Override any remaining background utilities */
.nav-button-transparent.bg-transparent,
.nav-button-transparent.bg-accent,
.nav-button-transparent.hover\:bg-accent,
.nav-button-transparent.focus\:bg-accent {
background: transparent !important;
background-color: transparent !important;
border: none !important;
cursor: pointer !important;
}
/* Ensure link elements in navigation also have transparent styling */
a.nav-button-transparent {
background: transparent !important;
background-color: transparent !important;
border: none !important;
text-decoration: none !important;
cursor: pointer !important;
}
a.nav-button-transparent:hover {
background: rgba(0, 0, 0, 0.08) !important;
background-color: rgba(0, 0, 0, 0.08) !important;
border: none !important;
text-decoration: none !important;
cursor: pointer !important;
}
.dark a.nav-button-transparent:hover {
background: rgba(255, 255, 255, 0.06) !important;
background-color: rgba(255, 255, 255, 0.06) !important;
border: none !important;
text-decoration: none !important;
cursor: pointer !important;
}
/* Ultra-specific overrides to ensure transparency takes precedence */
/* Handle all possible combinations of button classes */
button.nav-button-transparent.hover\:bg-accent,
button.nav-button-transparent.dark\:hover\:bg-accent\/50,
button.nav-button-transparent[class*="hover:bg"],
[data-slot="button"].nav-button-transparent.hover\:bg-accent,
[data-slot="button"].nav-button-transparent.dark\:hover\:bg-accent\/50,
[data-slot="button"].nav-button-transparent[class*="hover:bg"],
[data-slot="navigation-menu-trigger"].nav-button-transparent.hover\:bg-accent,
[data-slot="navigation-menu-trigger"].nav-button-transparent.dark\:hover\:bg-accent\/50,
[data-slot="navigation-menu-trigger"].nav-button-transparent[class*="hover:bg"] {
background: transparent !important;
background-color: transparent !important;
border: none !important;
}
/* Override any CSS custom properties that might affect background */
.nav-button-transparent {
--tw-bg-accent: transparent !important;
--tw-bg-background: transparent !important;
--tw-bg-muted: transparent !important;
--tw-bg-secondary: transparent !important;
}
/* Ensure no background on any state for nav buttons */
.nav-button-transparent,
.nav-button-transparent:not(:hover):not(:focus):not(:active) {
background: transparent !important;
background-color: transparent !important;
box-shadow: none !important;
border: none !important;
}
/* Maximum specificity overrides - nuclear option for transparency */
html body header button.nav-button-transparent,
html body header [data-slot="button"].nav-button-transparent,
html body header [data-slot="navigation-menu-trigger"].nav-button-transparent,
html body header div button.nav-button-transparent,
html body header div [data-slot="button"].nav-button-transparent,
html body header div [data-slot="navigation-menu-trigger"].nav-button-transparent {
background: transparent !important;
background-color: transparent !important;
background-image: none !important;
border: none !important;
border-color: transparent !important;
box-shadow: none !important;
backdrop-filter: none !important;
}
/* Override any inline styles or computed styles */
.nav-button-transparent[style*="background"] {
background: transparent !important;
background-color: transparent !important;
}
/* Target specific button classes that might have background */
.nav-button-transparent.inline-flex,
.nav-button-transparent[class*="inline-flex"] {
background: transparent !important;
background-color: transparent !important;
border: none !important;
}
/* Enhanced link element transparency for Sale button and similar nav links */
/* Apply maximum specificity for link elements in navigation */
html body header a.nav-button-transparent,
html body header div a.nav-button-transparent,
html body header nav a.nav-button-transparent,
[data-slot="navigation-menu-link"].nav-button-transparent {
background: transparent !important;
background-color: transparent !important;
background-image: none !important;
border: none !important;
border-color: transparent !important;
box-shadow: none !important;
backdrop-filter: none !important;
cursor: pointer !important;
}
/* Override any NavigationMenuLink default styles */
a.nav-button-transparent[data-slot="navigation-menu-link"],
[data-slot="navigation-menu-link"].nav-button-transparent {
background: transparent !important;
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* Ensure link hover states maintain transparency in default state */
a.nav-button-transparent:not(:hover):not(:focus):not(:active) {
background: transparent !important;
background-color: transparent !important;
border: none !important;
}
/* Specific overrides for NavigationMenuLink component (Sale button) */
[data-slot="navigation-menu-link"].nav-button-transparent {
background: transparent !important;
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
cursor: pointer !important;
}
/* Override NavigationMenuLink hover and focus states */
[data-slot="navigation-menu-link"].nav-button-transparent.hover\:bg-accent,
[data-slot="navigation-menu-link"].nav-button-transparent.focus\:bg-accent,
[data-slot="navigation-menu-link"].nav-button-transparent[class*="hover:bg-accent"],
[data-slot="navigation-menu-link"].nav-button-transparent[class*="focus:bg-accent"],
[data-slot="navigation-menu-link"].nav-button-transparent[class*="data-[active=true]:bg-accent"] {
background: transparent !important;
background-color: transparent !important;
border: none !important;
}
/* Override NavigationMenuLink data states */
[data-slot="navigation-menu-link"].nav-button-transparent[data-active="true"] {
background: transparent !important;
background-color: transparent !important;
border: none !important;
}
/* Ensure NavigationMenuLink has proper hover effect */
[data-slot="navigation-menu-link"].nav-button-transparent:hover {
background: rgba(0, 0, 0, 0.08) !important;
background-color: rgba(0, 0, 0, 0.08) !important;
border: none !important;
transition: background-color 0.2s ease-in-out !important;
}
.dark [data-slot="navigation-menu-link"].nav-button-transparent:hover {
background: rgba(255, 255, 255, 0.06) !important;
background-color: rgba(255, 255, 255, 0.06) !important;
}
/* Enhanced Theme Toggle Transparency Effects */
/* Theme toggle specific enhancements for better navbar integration */
.nav-button-transparent.group {
position: relative;
overflow: hidden;
backdrop-filter: blur(8px) saturate(150%);
border-radius: 0.5rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Enhanced hover state for theme toggle */
.nav-button-transparent.group:hover {
background: rgba(0, 0, 0, 0.08) !important;
background-color: rgba(0, 0, 0, 0.08) !important;
transform: scale(1.05);
backdrop-filter: blur(12px) saturate(180%);
}
.dark .nav-button-transparent.group:hover {
background: rgba(255, 255, 255, 0.06) !important;
background-color: rgba(255, 255, 255, 0.06) !important;
}
/* Active state for theme toggle */
.nav-button-transparent.group:active {
transform: scale(0.95);
transition: transform 0.1s ease-in-out;
}
/* Enhanced focus state for theme toggle */
.nav-button-transparent.group:focus-visible {
background: rgba(0, 0, 0, 0.04) !important;
background-color: rgba(0, 0, 0, 0.04) !important;
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1) !important;
outline: none !important;
}
.dark .nav-button-transparent.group:focus-visible {
background: rgba(255, 255, 255, 0.03) !important;
background-color: rgba(255, 255, 255, 0.03) !important;
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1) !important;
}
/* Enhanced dropdown items for theme toggle */
.nav-dropdown-item.group\/item {
background: transparent !important;
border: none !important;
border-radius: 0.5rem !important;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
margin: 2px !important;
padding: 0.5rem 0.75rem !important;
}
.nav-dropdown-item.group\/item:hover {
background: rgba(0, 0, 0, 0.08) !important;
backdrop-filter: blur(8px) !important;
transform: translateX(2px) !important;
}
.dark .nav-dropdown-item.group\/item:hover {
background: rgba(255, 255, 255, 0.08) !important;
}
/* Smooth icon transitions for theme toggle */
.nav-button-transparent.group svg {
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}
.dark .nav-button-transparent.group svg {
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}
/* Enhanced glow effect for theme toggle */
.nav-button-transparent.group:hover svg {
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
.dark .nav-button-transparent.group:hover svg {
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
/* Ultra-smooth dropdown animations */
@keyframes dropdown-in {
from {
opacity: 0;
transform: scale(0.95) translateY(-4px);
}
to {
opacity: 1;
transform: scale(1) translateY(0);
}
}
@keyframes dropdown-out {
from {
opacity: 1;
transform: scale(1) translateY(0);
}
to {
opacity: 0;
transform: scale(0.95) translateY(-4px);
}
}
/* Apply dropdown animation to nav dropdowns */
.nav-dropdown-transparent[data-state="open"] {
animation: dropdown-in 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Improved checkmark animation */
.nav-dropdown-item span[class*="animate-in"] {
animation: checkmark-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes checkmark-in {
from {
opacity: 0;
transform: scale(0.3) rotate(-12deg);
}
to {
opacity: 1;
transform: scale(1) rotate(0deg);
}
}
/* Prevent any conflicting backgrounds on theme toggle */
.nav-button-transparent.group[data-state="open"] {
background: rgba(0, 0, 0, 0.08) !important;
background-color: rgba(0, 0, 0, 0.08) !important;
border: none !important;
transform: scale(1.05);
}
.dark .nav-button-transparent.group[data-state="open"] {
background: rgba(255, 255, 255, 0.08) !important;
backdrop-filter: blur(8px) !important;
border-radius: 0.5rem !important;
}
/* Mobile-friendly enhancements */
@media (max-width: 768px) {
/* Ensure touch targets are at least 44px */
.touch-manipulation {
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
/* Better mobile spacing for action buttons */
.mobile-action-buttons {
gap: 0.25rem !important;
}
/* Mobile menu improvements */
.mobile-menu-item {
min-height: 44px;
padding: 0.75rem 1rem;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 0.5rem;
transition: all 0.2s ease-in-out;
}
.mobile-menu-item:active {
transform: scale(0.98);
background: rgba(0, 0, 0, 0.05);
}
.dark .mobile-menu-item:active {
background: rgba(255, 255, 255, 0.05);
}
/* Prevent text selection on mobile UI elements */
.no-select {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Improve mobile sheet content scrolling */
.mobile-sheet-content {
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
}
/* Hide scrollbar in mobile menu while maintaining scroll functionality */
[data-radix-dialog-content] {
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* Internet Explorer and Edge */
}
[data-radix-dialog-content]::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
width: 0;
height: 0;
}
/* Specifically target Sheet content scrolling areas */
[data-radix-dialog-content] .overflow-y-auto,
[data-radix-dialog-content] .overflow-auto {
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* Internet Explorer and Edge */
}
[data-radix-dialog-content] .overflow-y-auto::-webkit-scrollbar,
[data-radix-dialog-content] .overflow-auto::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
width: 0;
height: 0;
}
/* Mobile navigation specific scrollbar hiding */
.mobile-nav-scroll {
scrollbar-width: none !important; /* Firefox */
-ms-overflow-style: none !important; /* Internet Explorer and Edge */
}
.mobile-nav-scroll::-webkit-scrollbar {
display: none !important; /* Chrome, Safari, Opera */
width: 0 !important;
height: 0 !important;
background: transparent !important;
}
/* Additional scrollbar hiding for all mobile menu elements */
[data-radix-dialog-content] *,
[data-radix-dialog-content] *::-webkit-scrollbar {
scrollbar-width: none !important;
-ms-overflow-style: none !important;
display: none !important;
width: 0 !important;
height: 0 !important;
}
}
/* Small mobile optimizations */
@media (max-width: 475px) {
/* Tighter spacing on very small screens */
.action-buttons-compact {
gap: 0.125rem !important;
}
/* Slightly smaller touch targets for very small screens */
.compact-touch-target {
min-width: 40px !important;
min-height: 40px !important;
}
/* Reduce header height on very small screens */
.compact-header {
height: 3.5rem !important; /* 56px */
}
}
/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
.nav-button-transparent,
.nav-dropdown-item,
.mobile-menu-item {
transition: none !important;
animation: none !important;
}
}
/* High contrast mode support */
@media (prefers-contrast: high) {
.nav-button-transparent {
border: 1px solid currentColor !important;
}
.nav-dropdown-transparent {
border: 1px solid currentColor !important;
background: var(--background) !important;
}
}
/* Focus visible for keyboard navigation */
.nav-button-transparent:focus-visible {
outline: 2px solid var(--ring) !important;
outline-offset: 2px !important;
}
/* Mobile menu icon stroke uniformity */
.mobile-nav-scroll svg,
[data-radix-dialog-content] svg {
stroke-linecap: round !important;
stroke-linejoin: round !important;
}
/* Force consistent stroke width for mobile quick action icons */
@media (max-width: 768px) {
[data-radix-dialog-content] button svg {
stroke-width: inherit !important;
}
}
|