@howssatoshi/quantumcss 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -167,6 +167,8 @@ body.light-mode .star {
167
167
  padding: 2.5rem;
168
168
  max-width: 90%;
169
169
  width: 600px;
170
+ max-height: 85vh;
171
+ overflow-y: auto;
170
172
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
171
173
  position: relative;
172
174
  }
@@ -180,11 +182,36 @@ body.light-mode .star {
180
182
  padding: 3rem;
181
183
  width: 100%;
182
184
  max-width: 600px;
185
+ max-height: 85vh;
186
+ overflow-y: auto;
183
187
  margin: auto;
184
188
  position: relative;
185
189
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
186
190
  }
187
191
 
192
+ /* Custom scrollbar for dialogs */
193
+ .dialog-content::-webkit-scrollbar,
194
+ .starlight-dialog::-webkit-scrollbar {
195
+ width: 8px;
196
+ }
197
+
198
+ .dialog-content::-webkit-scrollbar-track,
199
+ .starlight-dialog::-webkit-scrollbar-track {
200
+ background: rgba(255, 255, 255, 0.05);
201
+ border-radius: 4px;
202
+ }
203
+
204
+ .dialog-content::-webkit-scrollbar-thumb,
205
+ .starlight-dialog::-webkit-scrollbar-thumb {
206
+ background: var(--color-starlight-blue, #3b82f6);
207
+ border-radius: 4px;
208
+ }
209
+
210
+ body.light-mode .dialog-content::-webkit-scrollbar-track,
211
+ body.light-mode .starlight-dialog::-webkit-scrollbar-track {
212
+ background: rgba(0, 0, 0, 0.05);
213
+ }
214
+
188
215
  body.light-mode .starlight-dialog {
189
216
  background-color: rgba(255, 255, 255, 0.98);
190
217
  border-color: rgba(0, 0, 0, 0.1);
@@ -245,7 +272,7 @@ body.light-mode .dialog-content {
245
272
  position: absolute;
246
273
  top: 100%;
247
274
  left: 0;
248
- background-color: var(--color-starlight-deep);;
275
+ background-color: var(--color-starlight-deep);
249
276
  backdrop-filter: blur(20px);
250
277
  border: 1px solid rgba(255, 255, 255, 0.1);
251
278
  border-radius: 0.75rem;
@@ -254,6 +281,19 @@ body.light-mode .dialog-content {
254
281
  min-width: 200px;
255
282
  z-index: 600;
256
283
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
284
+ opacity: 0;
285
+ visibility: hidden;
286
+ transform: translateY(10px);
287
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
288
+ pointer-events: none;
289
+ }
290
+
291
+ .dropdown:hover .dropdown-menu,
292
+ .dropdown.active .dropdown-menu {
293
+ opacity: 1;
294
+ visibility: visible;
295
+ transform: translateY(0);
296
+ pointer-events: auto;
257
297
  }
258
298
 
259
299
  .dropdown-item {
@@ -584,30 +624,42 @@ body.light-mode .stat-value {
584
624
 
585
625
  /* 14. Hamburger Menu Glass */
586
626
  .nav-glass {
587
- background: rgba(255, 255, 255, 0.03);
588
- backdrop-filter: blur(20px);
589
- -webkit-backdrop-filter: blur(20px);
590
- border-bottom: 1px solid rgba(255, 255, 255, 0.05);
591
- padding: 1rem 2rem;
627
+ background: rgba(255, 255, 255, 0.05);
628
+ backdrop-filter: blur(24px);
629
+ -webkit-backdrop-filter: blur(24px);
630
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
592
631
  display: flex;
593
- justify-content: space-between;
594
- align-items: center;
632
+ flex-direction: column;
595
633
  position: sticky;
596
634
  top: 0;
597
635
  z-index: 1000;
636
+ padding: 0;
598
637
  }
599
638
 
600
639
  body.light-mode .nav-glass {
601
- background: rgba(255, 255, 255, 0.8);
602
- border-bottom-color: rgba(0, 0, 0, 0.1);
640
+ background: rgba(255, 255, 255, 0.95);
641
+ border-bottom-color: rgba(0, 0, 0, 0.08);
642
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
603
643
  }
604
644
 
605
645
  .nav-desktop {
606
646
  display: none;
607
- gap: 2rem;
608
647
  align-items: center;
609
648
  }
610
649
 
650
+ .nav-list {
651
+ display: flex;
652
+ list-style: none;
653
+ gap: 2rem;
654
+ margin: 0;
655
+ padding: 0;
656
+ }
657
+
658
+ .nav-list.vertical {
659
+ flex-direction: column;
660
+ gap: 0.5rem;
661
+ }
662
+
611
663
  .nav-link {
612
664
  font-size: 0.875rem;
613
665
  font-weight: 500;
@@ -615,28 +667,44 @@ body.light-mode .nav-glass {
615
667
  transition: all 0.3s;
616
668
  position: relative;
617
669
  padding: 0.5rem 0;
670
+ display: inline-flex;
671
+ align-items: center;
672
+ }
673
+
674
+ .nav-list.vertical .nav-link {
675
+ width: 100%;
676
+ padding: 0.75rem 1rem;
677
+ border-radius: 0.5rem;
678
+ }
679
+
680
+ .nav-list.vertical .dropdown {
681
+ width: 100%;
682
+ display: block;
683
+ }
684
+
685
+ .nav-list.vertical .nav-link:hover {
686
+ background: rgba(255, 255, 255, 0.05);
687
+ color: var(--color-starlight-blue);
618
688
  }
619
689
 
620
690
  .nav-link::after {
621
691
  content: '';
622
692
  position: absolute;
623
693
  bottom: 0;
624
- left: 0;
694
+ left: 50%;
625
695
  width: 0;
626
696
  height: 2px;
627
697
  background: var(--color-starlight-blue);
628
- transition: width 0.3s;
698
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
629
699
  box-shadow: 0 0 10px var(--color-starlight-glow);
630
- }
631
-
632
- .nav-link:hover {
633
- color: white;
700
+ transform: translateX(-50%);
634
701
  }
635
702
 
636
703
  .nav-link:hover::after {
637
- width: 100%;
704
+ width: 80%;
638
705
  }
639
706
 
707
+
640
708
  body.light-mode .nav-link {
641
709
  color: #475569;
642
710
  }
@@ -689,44 +757,66 @@ body.light-mode .hamburger span {
689
757
  background: #1e293b;
690
758
  }
691
759
 
692
- .hamburger.active span:nth-child(1) {
693
- transform: translateY(6px) rotate(45deg);
760
+ .hamburger.active span {
761
+ background-color: var(--color-starlight-blue);
762
+ box-shadow: 0 0 10px var(--color-starlight-glow);
694
763
  }
695
764
 
696
- .hamburger.active span:nth-child(2) {
765
+ .nav-menu-mobile {
766
+ width: 100%;
767
+ background: rgba(0, 0, 0, 0.2);
768
+ backdrop-filter: blur(10px);
769
+ -webkit-backdrop-filter: blur(10px);
770
+ border-top: 1px solid rgba(255, 255, 255, 0.05);
771
+ padding: 0;
772
+ max-height: 0;
773
+ overflow: hidden;
774
+ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
697
775
  opacity: 0;
698
776
  }
699
777
 
700
- .hamburger.active span:nth-child(3) {
701
- transform: translateY(-6px) rotate(-45deg);
778
+ .nav-menu-mobile.active {
779
+ display: block;
780
+ max-height: 500px;
781
+ padding: 1.5rem 2rem;
782
+ opacity: 1;
702
783
  }
703
784
 
704
- .nav-menu-mobile {
705
- position: absolute;
706
- top: 100%;
707
- right: 2rem;
708
- width: 250px;
709
- background: var(--color-starlight-deep);
710
- backdrop-filter: blur(20px);
711
- -webkit-backdrop-filter: blur(20px);
712
- border: 1px solid rgba(255, 255, 255, 0.05);
713
- border-radius: 1rem;
714
- padding: 1rem;
715
- margin-top: 0.5rem;
716
- box-shadow: 0 20px 40px rgba(0,0,0,0.5);
717
- display: none;
718
- animation: slideInDown 0.3s ease forwards;
719
- z-index: 1001;
785
+ body.light-mode .nav-menu-mobile {
786
+ background: #ffffff;
787
+ border-top-color: rgba(0, 0, 0, 0.08);
788
+ box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
720
789
  }
721
790
 
722
- body.light-mode .nav-menu-mobile {
723
- background: rgba(255, 255, 255, 0.95);
724
- border-color: rgba(0, 0, 0, 0.1);
725
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
791
+ /* Vertical Accordion Dropdowns */
792
+ .nav-list.vertical .dropdown-menu {
793
+ position: static;
794
+ opacity: 1;
795
+ visibility: visible;
796
+ transform: none;
797
+ box-shadow: none;
798
+ border: none;
799
+ padding: 0 0 0 1.5rem;
800
+ margin: 0;
801
+ max-height: 0;
802
+ overflow: hidden;
803
+ transition: all 0.3s ease;
804
+ background: transparent;
805
+ pointer-events: none;
726
806
  }
727
807
 
728
- .nav-menu-mobile.active {
729
- display: block;
808
+ .nav-list.vertical .dropdown.active .dropdown-menu {
809
+ max-height: 300px;
810
+ padding-top: 0.5rem;
811
+ padding-bottom: 0.5rem;
812
+ pointer-events: auto;
813
+ }
814
+
815
+ .nav-list.vertical .dropdown-item {
816
+ padding: 0.5rem 1rem;
817
+ font-size: 0.825rem;
818
+ border-left: 1px solid rgba(255, 255, 255, 0.1);
819
+ border-radius: 0;
730
820
  }
731
821
 
732
822
  @media (min-width: 768px) {
@@ -748,6 +838,23 @@ body.light-mode .nav-menu-mobile {
748
838
  to { opacity: 1; transform: translateY(0); }
749
839
  }
750
840
 
841
+ .starlight-nav.vertical {
842
+ flex-direction: column;
843
+ height: 100%;
844
+ width: 280px !important;
845
+ min-width: 280px !important;
846
+ border-bottom: none;
847
+ border-right: 1px solid rgba(255, 255, 255, 0.1);
848
+ padding: 2.5rem 1.5rem;
849
+ align-items: flex-start;
850
+ justify-content: flex-start;
851
+ }
852
+
853
+ body.light-mode .starlight-nav.vertical {
854
+ background: rgba(255, 255, 255, 0.98);
855
+ border-right-color: rgba(0, 0, 0, 0.08);
856
+ }
857
+
751
858
  /* 15. More Form Controls */
752
859
  .select-starlight {
753
860
  appearance: none;
@@ -796,6 +903,17 @@ body.light-mode .range-starlight {
796
903
  height: 1.75rem;
797
904
  }
798
905
 
906
+ .toggle-starlight .toggle-slider:before {
907
+ height: 1.25rem;
908
+ width: 1.25rem;
909
+ top: 0.25rem;
910
+ left: 0.25rem;
911
+ }
912
+
913
+ .toggle-starlight input:checked + .toggle-slider:before {
914
+ transform: translateX(1.75rem);
915
+ }
916
+
799
917
  .toggle-starlight .toggle-slider {
800
918
  background: rgba(255,255,255,0.1);
801
919
  border: 1px solid rgba(255,255,255,0.1);