SeaWolf-AI commited on
Commit
fd516b6
·
verified ·
1 Parent(s): ded8408

v5: Galaxy layout — 3 logarithmic spiral galaxies (Darwin/Trending/Multi) + dark Galaxy mode toggle + animated starfield

Browse files
compressed_darwin_data.json.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:07127fe767c5834c9bcb300387e624b06265d4a5ad2c949eee812a33053c1512
3
- size 32542
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a0ffd0b227e1d4fe83c13d66aae85b90d45cb9c6605d6a650285f953beea83b
3
+ size 33895
compressed_large_nlp_data.json.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:82bc26245a04be0bcb697aa02b7e99b8ee6377707c3309e5fe3e81630a463a20
3
- size 23677622
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3215545f9d68d1717a2751a1885cccd2aae0854304845107986cebf05ff2aea
3
+ size 23678854
compressed_modalities_data.json.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:42c3788369d78a2124a6449352c2356c3652bbbbbb135695828bc43127ea6d54
3
- size 3128056
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43f33a68ae0efe902d3edad71f1493c9c5e9815f54feb77f0d9b748c04a2ad82
3
+ size 3129297
css/style.css CHANGED
@@ -764,8 +764,210 @@ display: none;
764
  }
765
 
766
  /* ============================================================
767
- DARWIN ATLASPREMIUM LIGHT OVERRIDE (2026-04-30)
768
- White base + amber/red accents + frosted glass panels
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
769
  ============================================================ */
770
 
771
  @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Sans+KR:wght@400;500;600;700&display=swap');
 
764
  }
765
 
766
  /* ============================================================
767
+ MODEL GALAXYDUAL THEME (Galaxy 🌌 / Atlas 🗺️)
768
+ ============================================================ */
769
+
770
+ /* ---- Theme toggle button (top-right) ---- */
771
+ #theme-toggle {
772
+ position: fixed;
773
+ top: 14px;
774
+ right: 14px;
775
+ z-index: 200;
776
+ display: flex;
777
+ align-items: center;
778
+ gap: 8px;
779
+ padding: 8px 14px 8px 12px;
780
+ border-radius: 24px;
781
+ border: 1px solid rgba(245,158,11,0.4);
782
+ background: rgba(255,255,255,0.92);
783
+ backdrop-filter: blur(10px);
784
+ font-family: 'IBM Plex Mono', monospace;
785
+ font-size: 11px;
786
+ font-weight: 700;
787
+ letter-spacing: 0.4px;
788
+ color: #b45309;
789
+ cursor: pointer;
790
+ box-shadow: 0 4px 14px rgba(15,23,42,0.08);
791
+ transition: all 0.2s ease;
792
+ }
793
+ #theme-toggle:hover {
794
+ transform: translateY(-1px);
795
+ box-shadow: 0 6px 18px rgba(245,158,11,0.25);
796
+ border-color: #f59e0b;
797
+ }
798
+ #theme-toggle .t-icon { font-size: 14px; }
799
+ .galaxy-mode #theme-toggle {
800
+ background: rgba(15,23,42,0.85);
801
+ border-color: rgba(245,158,11,0.55);
802
+ color: #fbbf24;
803
+ box-shadow: 0 0 18px rgba(245,158,11,0.25), 0 4px 14px rgba(0,0,0,0.5);
804
+ }
805
+
806
+ /* ---- Starfield (galaxy mode only) ---- */
807
+ #starfield {
808
+ position: fixed;
809
+ inset: 0;
810
+ z-index: 0;
811
+ pointer-events: none;
812
+ opacity: 0;
813
+ transition: opacity 0.6s ease;
814
+ }
815
+ .galaxy-mode #starfield {
816
+ opacity: 1;
817
+ }
818
+ #starfield .star {
819
+ position: absolute;
820
+ background: #fff;
821
+ border-radius: 50%;
822
+ animation-name: mg-twinkle;
823
+ animation-iteration-count: infinite;
824
+ animation-timing-function: ease-in-out;
825
+ box-shadow: 0 0 4px rgba(255,255,255,0.6);
826
+ }
827
+ @keyframes mg-twinkle {
828
+ 0%, 100% { opacity: 0.15; transform: scale(0.8); }
829
+ 50% { opacity: 1.0; transform: scale(1.2); }
830
+ }
831
+
832
+ /* ============================================================
833
+ GALAXY MODE — deep space dark
834
+ ============================================================ */
835
+ .galaxy-mode .sigma-expand {
836
+ background: radial-gradient(ellipse at 70% 60%, #1e1b4b 0%, #0f172a 40%, #020617 100%) !important;
837
+ }
838
+ .galaxy-mode body { background: #020617 !important; }
839
+ .galaxy-mode #mainpanel {
840
+ background: linear-gradient(155deg, rgba(15,23,42,0.92) 0%, rgba(30,41,59,0.92) 50%, rgba(15,23,42,0.94) 100%) !important;
841
+ border-right: 1px solid rgba(245,158,11,0.35) !important;
842
+ box-shadow: 4px 0 28px rgba(0,0,0,0.5), inset -1px 0 0 rgba(245,158,11,0.1) !important;
843
+ color: #e2e8f0 !important;
844
+ }
845
+ .galaxy-mode #titletext { color: #94a3b8 !important; border-bottom-color: rgba(148,163,184,0.18) !important; }
846
+ .galaxy-mode #titletext strong, .galaxy-mode #titletext a { color: #fbbf24 !important; }
847
+ .galaxy-mode #mainpanel h2 { color: #f8fafc !important; }
848
+ .galaxy-mode .info dd.line a {
849
+ color: #fbbf24 !important;
850
+ background: rgba(245,158,11,0.1) !important;
851
+ border-color: rgba(245,158,11,0.35) !important;
852
+ }
853
+ .galaxy-mode #legend {
854
+ background: rgba(2,6,23,0.55) !important;
855
+ border-color: rgba(148,163,184,0.18) !important;
856
+ }
857
+ .galaxy-mode #colorLegend { color: #cbd5e1 !important; }
858
+ .galaxy-mode #colorLegend > * { background: rgba(255,255,255,0.03) !important; }
859
+ .galaxy-mode #colorLegend > *:hover { background: rgba(245,158,11,0.1) !important; }
860
+ .galaxy-mode .b1 form > div {
861
+ background: rgba(2,6,23,0.55) !important;
862
+ border-color: rgba(148,163,184,0.15) !important;
863
+ }
864
+ .galaxy-mode #search input[type="text"] {
865
+ background: rgba(2,6,23,0.7) !important;
866
+ border-color: rgba(148,163,184,0.3) !important;
867
+ color: #f1f5f9 !important;
868
+ box-shadow: inset 0 1px 2px rgba(0,0,0,0.4) !important;
869
+ }
870
+ .galaxy-mode #search input.empty { color: rgba(148,163,184,0.65) !important; }
871
+ .galaxy-mode #search .results a { color: #cbd5e1 !important; }
872
+ .galaxy-mode #search .results a:hover { color: #fbbf24 !important; }
873
+ .galaxy-mode .select {
874
+ background: rgba(2,6,23,0.7) !important;
875
+ border-color: rgba(148,163,184,0.3) !important;
876
+ color: #f1f5f9 !important;
877
+ }
878
+ .galaxy-mode .select:hover {
879
+ background: rgba(245,158,11,0.08) !important;
880
+ border-color: #f59e0b !important;
881
+ }
882
+ .galaxy-mode .list {
883
+ background: rgba(2,6,23,0.97) !important;
884
+ border-color: rgba(148,163,184,0.3) !important;
885
+ }
886
+ .galaxy-mode .list a { color: #cbd5e1 !important; }
887
+ .galaxy-mode .list a:hover { color: #fbbf24 !important; }
888
+ .galaxy-mode .list a[data-file="compressed_modalities_data.json.gz"] {
889
+ background: rgba(245,158,11,0.12) !important;
890
+ color: #fbbf24 !important;
891
+ }
892
+ .galaxy-mode .list a[data-file="compressed_darwin_data.json.gz"] {
893
+ background: rgba(220,38,38,0.18) !important;
894
+ color: #fca5a5 !important;
895
+ }
896
+ .galaxy-mode #attributepane {
897
+ background: linear-gradient(195deg, rgba(15,23,42,0.96) 0%, rgba(2,6,23,0.96) 100%) !important;
898
+ border-left-color: rgba(245,158,11,0.35) !important;
899
+ box-shadow: -4px 0 28px rgba(0,0,0,0.5) !important;
900
+ color: #e2e8f0 !important;
901
+ }
902
+ .galaxy-mode #attributepane .headertext { color: #f8fafc !important; border-bottom-color: rgba(245,158,11,0.4) !important; }
903
+ .galaxy-mode #attributepane .left-close {
904
+ background: rgba(245,158,11,0.12) !important;
905
+ border-color: rgba(245,158,11,0.4) !important;
906
+ color: #fbbf24 !important;
907
+ }
908
+ .galaxy-mode #attributepane .name {
909
+ color: #fbbf24 !important;
910
+ border-bottom-color: rgba(148,163,184,0.25) !important;
911
+ }
912
+ .galaxy-mode #attributepane .data { color: #cbd5e1 !important; }
913
+ .galaxy-mode #attributepane .data > div, .galaxy-mode #attributepane .data > p {
914
+ border-bottom-color: rgba(148,163,184,0.1) !important;
915
+ }
916
+ .galaxy-mode #attributepane .data strong, .galaxy-mode #attributepane .data b { color: #fbbf24 !important; }
917
+ .galaxy-mode #attributepane .p { color: #f9a8d4 !important; border-bottom-color: rgba(236,72,153,0.4) !important; }
918
+ .galaxy-mode #attributepane .link a {
919
+ background: rgba(245,158,11,0.06) !important;
920
+ border-color: rgba(148,163,184,0.18) !important;
921
+ color: #cbd5e1 !important;
922
+ }
923
+ .galaxy-mode #attributepane .link a:hover {
924
+ background: rgba(245,158,11,0.18) !important;
925
+ color: #fbbf24 !important;
926
+ }
927
+ .galaxy-mode #zoom {
928
+ background: rgba(15,23,42,0.85) !important;
929
+ border-color: rgba(245,158,11,0.3) !important;
930
+ box-shadow: 0 4px 18px rgba(0,0,0,0.5) !important;
931
+ }
932
+ .galaxy-mode #zoom .z {
933
+ background-color: rgba(245,158,11,0.12) !important;
934
+ border-color: rgba(245,158,11,0.35) !important;
935
+ }
936
+ .galaxy-mode #zoom .z:hover { background-color: rgba(245,158,11,0.32) !important; }
937
+ .galaxy-mode #information {
938
+ background: rgba(15,23,42,0.97) !important;
939
+ border-color: rgba(245,158,11,0.4) !important;
940
+ color: #e2e8f0 !important;
941
+ }
942
+ .galaxy-mode #information h2.title, .galaxy-mode #information h2 { color: #fbbf24 !important; }
943
+ .galaxy-mode #information code, .galaxy-mode #information pre {
944
+ background: rgba(2,6,23,0.7) !important;
945
+ border-color: rgba(148,163,184,0.25) !important;
946
+ color: #fbbf24 !important;
947
+ }
948
+ .galaxy-mode #information strong { color: #fbbf24 !important; }
949
+ .galaxy-mode #information .features { background: rgba(245,158,11,0.08) !important; border-color: rgba(245,158,11,0.25) !important; }
950
+ .galaxy-mode #developercontainer {
951
+ background: rgba(15,23,42,0.7) !important;
952
+ border-top-color: rgba(148,163,184,0.18) !important;
953
+ color: #94a3b8 !important;
954
+ }
955
+ .galaxy-mode #developercontainer a { color: #fbbf24 !important; }
956
+ /* Loading overlay galaxy variant */
957
+ .galaxy-mode #loading-overlay {
958
+ background: radial-gradient(ellipse at center, #1e1b4b 0%, #0f172a 60%, #020617 100%) !important;
959
+ }
960
+ .galaxy-mode .loading-card {
961
+ background: rgba(15,23,42,0.92) !important;
962
+ border-color: rgba(245,158,11,0.45) !important;
963
+ box-shadow: 0 0 40px rgba(245,158,11,0.25), 0 20px 60px rgba(0,0,0,0.6) !important;
964
+ }
965
+ .galaxy-mode .loading-status { color: #fbbf24 !important; }
966
+ .galaxy-mode .loading-hint { color: #94a3b8 !important; }
967
+ .galaxy-mode .loading-progress { background: rgba(245,158,11,0.18) !important; }
968
+
969
+ /* ============================================================
970
+ ORIGINAL ATLAS-MODE LIGHT OVERRIDES (default for now)
971
  ============================================================ */
972
 
973
  @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Sans+KR:wght@400;500;600;700&display=swap');
index.html CHANGED
@@ -24,6 +24,10 @@
24
 
25
 
26
  <body>
 
 
 
 
27
  <div class="sigma-parent">
28
  <div class="sigma-expand" id="sigma-canvas"></div>
29
  <div id="loading-overlay">
@@ -98,6 +102,45 @@
98
  }
99
  }, 30000);
100
  })();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  </script>
102
  <div id="mainpanel">
103
  <div class="col">
 
24
 
25
 
26
  <body>
27
+ <div id="starfield"></div>
28
+ <button id="theme-toggle" type="button" title="Toggle Galaxy / Atlas mode">
29
+ <span class="t-icon">🌌</span><span class="t-label">Galaxy</span>
30
+ </button>
31
  <div class="sigma-parent">
32
  <div class="sigma-expand" id="sigma-canvas"></div>
33
  <div id="loading-overlay">
 
102
  }
103
  }, 30000);
104
  })();
105
+
106
+ // Theme toggle: Galaxy (dark) ⇄ Atlas (light). Default Galaxy on first load.
107
+ (function(){
108
+ var btn = document.getElementById('theme-toggle');
109
+ var icon = btn.querySelector('.t-icon');
110
+ var label = btn.querySelector('.t-label');
111
+ var saved = localStorage.getItem('mg-theme') || 'galaxy';
112
+ function apply(t){
113
+ if (t === 'galaxy') {
114
+ document.body.classList.add('galaxy-mode');
115
+ document.body.classList.remove('atlas-mode');
116
+ icon.textContent = '🌌'; label.textContent = 'Galaxy';
117
+ } else {
118
+ document.body.classList.add('atlas-mode');
119
+ document.body.classList.remove('galaxy-mode');
120
+ icon.textContent = '🗺️'; label.textContent = 'Atlas';
121
+ }
122
+ localStorage.setItem('mg-theme', t);
123
+ }
124
+ apply(saved);
125
+ btn.addEventListener('click', function(){
126
+ apply(document.body.classList.contains('galaxy-mode') ? 'atlas' : 'galaxy');
127
+ });
128
+ })();
129
+
130
+ // Generate animated starfield (only visible in galaxy mode)
131
+ (function(){
132
+ var sf = document.getElementById('starfield');
133
+ var html = '';
134
+ for (var i = 0; i < 220; i++) {
135
+ var x = Math.random() * 100;
136
+ var y = Math.random() * 100;
137
+ var sz = (Math.random() * 1.6 + 0.4).toFixed(2);
138
+ var dur = (Math.random() * 4 + 2).toFixed(1);
139
+ var delay = (Math.random() * 5).toFixed(1);
140
+ html += '<i class="star" style="left:' + x + '%;top:' + y + '%;width:' + sz + 'px;height:' + sz + 'px;animation-duration:' + dur + 's;animation-delay:' + delay + 's"></i>';
141
+ }
142
+ sf.innerHTML = html;
143
+ })();
144
  </script>
145
  <div id="mainpanel">
146
  <div class="col">