model-galaxy / css /style.css
SeaWolf-AI's picture
v5: Galaxy layout โ€” 3 logarithmic spiral galaxies (Darwin/Trending/Multi) + dark Galaxy mode toggle + animated starfield
fd516b6 verified
* {
padding: 0px;
margin: 0px;
}
.cf:before, .cf:after {
content: "";
display: table;
}
.cf:after {
clear: both;
}
.cf {
zoom: 1;
}
html,body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
font-size: 12px;
font-family: sans-serif;
line-height:1.25em;
}
.sigma-parent {
position: relative;
height: 100%;
}
.sigma-expand {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: #eee;
background-position: center center;
background-repeat: no-repeat;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
canvas#sigma_bg_1 {
display: none;
}
#attributepane {
display: block;
display: none;
position:absolute;
height:auto;
bottom:0;
top:0;
right:0;
width: 240px;
background-color: #fff;
margin: 0;
word-wrap: break-word;
background-color:rgba(255,255,255,0.8);
border-left: 1px solid #ccc;
padding: 0px 18px 0px 18px;
z-index: 1;
}
#attributepane .text {
height:100%;
}
#attributepane .headertext {
color: #000;
margin-bottom: 5px;
height: 14px;
border-bottom: 1px solid #999;
padding: 0px 0 10px 0;
font-size:16px;
font-weight:bold;
}
#attributepane .returntext em {
background-image: url('../images/sprite.png');
background-repeat: no-repeat;
display: block;
width: 20px;
height: 20px;
background-position: -91px -13px;
float: left;
}
#attributepane .returntext span {
padding-left: 5px;
display: block;
}
#attributepane .close {
padding-left: 14px;
margin-top: 10px;
}
#attributepane .close .c {
border-top: 2px solid #999;
padding: 10px 0 14px 0;
}
#attributepane .close em {
background-image: url('../images/sprite.png');
background-repeat: no-repeat;
background-position: -11px -13px;
display: block;
width: 24px;
height: 16px;
float: left;
}
#attributepane .close span {
display: block;
width: 151px;
float: left;
}
#attributepane .nodeattributes {
display:block;
height:85%;
overflow-y: scroll;
overflow-x: hidden;
border-bottom:1px solid #999;
}
#attributepane .name {
font-size: 14px;
cursor: default;
padding-bottom: 10px;
padding-top: 18px;
font-weight:bold;
}
#attributepane .data {
}
#attributepane .data .plus {
background-repeat: no-repeat;
background-image: url('../images/sprite.png');
background-position: -171px -122px;
width: 22px;
height: 20px;
float: left;
display: block;
}
#attributepane .link {
padding: 0 0 0 4px;
}
#attributepane .link li {
padding-top: 2px;
cursor:pointer;
}
#attributepane .p {
padding-top: 10px;
font-weight: bold;
font-size:14px;
}
.left-close {
background-image: url('../images/fancybox_sprite.png');
margin-left:-37px;
z-index:99999;
cursor: pointer;
padding-left:31px;
line-height:36px;
background-repeat: no-repeat;
margin-bottom:25px;
font-weight: bold;
font-size:14px;
}
#developercontainer {
margin-left:25px;
margin-bottom:25px;
position:fixed;
bottom:0;
}
#jisc {
width: 71px;
height: 56px;
background-image: url('../images/jisc-logo-small.png');
background-repeat: no-repeat;
display:inline-block;
}
#jisc span {
display:none;
}
#oii {
width: 227px;
height: 56px;
background-image: url('../images/oii_text.png');
background-repeat: no-repeat;
display:inline-block;
margin-right:10px;
}
#oii span {
display:none;
}
#maintitle {
width: 100%;
height: 72px;
background-repeat: no-repeat;
margin-bottom:20px;
}
#maintitle h1 {
display: none;
}
#mainpanel {
margin-top: 50px;
margin-left: 25px;
background:#fff;
background-color:rgba(255,255,255,0.8);
border:1px solid #ccc;
z-index:20;
position:fixed;
top:0;
}
#mainpanel .b1 {
padding: 0px 0 0 0;
}
#mainpanel .col {
width: 240px;
padding: 18px 18px 18px 18px;
margin: 0;
}
#title {
font-weight: bold;
}
#titletext {
padding: 6px 0 10px 0;
}
#info {
padding-bottom:15px;
}
#search {
border-top: 1px solid #999;
padding: 20px 0 0px 2px;
}
#search input[name=search] {
border: 1px solid #999;
background-color: #fff;
padding: 5px 7px 4px 7px;
width: 205px;
color: #000;
}
#search input.empty {
color: #000;
}
#search .state {
width: 14px;
height: 14px;
background-image: url('../images/sprite.png');
float: right;
margin-top: 6px;
cursor: pointer;
background-position: -131px -13px;
}
#search .state.searching {
background-position: -11px -13px;
}
#search .results {
max-height: 300px; /* You can adjust this height as needed */
overflow-y: auto; /* Enables vertical scrolling */
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 5px;
}
#search .results b {
padding-left: 2px;
}
#search .results a {
display: block;
padding: 5px;
text-decoration: none;
color: #333;
}
#search .results a:hover {
background-color: #f5f5f5;
}
#attributeselect {
margin: 20px 0 13px 0 ;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#attributeselect .select {
border: 1px solid #999;
padding: 5px 7px 4px 7px;
color: #fff;
cursor: pointer;
background-color: #999;
background-image: url('../images/sprite.png');
background-repeat: no-repeat;
background-position: 200px -144px;
}
#attributeselect .close {
background-position: 200px -8px;
}
#attributeselect .list {
display: none;
border: 1px solid
#999;
padding: 6px;
height: 150px;
width: 226px;
overflow-y: scroll;
overflow-x: hidden;
background-color: #999;
/*position: relative;
left: 240px;
bottom: 164px;*/
position:absolute;
margin-left: 240px;
margin-top:-164px;
color: white;
}
#attributeselect .list a {
display:block;
padding: 2px;
text-decoration: none;
color: #fff;
}
#attributeselect .list a:hover {
background-color: #fff;
color: #000;
}
.link h2 {
font-size: 1em;
padding-top: 1em;
}
#mainpanel dl {
padding-bottom:10px;
}
#mainpanel h2 {
font-size:14px;
}
#mainpanel dt {
width: 20px;
height: 20px;
float: left;
background-repeat: no-repeat;
background-image: url('../images/sprite.png');
}
#legend dl {
}
#mainpanel h2 {
padding-bottom:10px;
}
#legend dd {
margin-bottom: 8px;
color: #000;
}
#mainpanel .infos dd {
margin-bottom: 12px;
}
#mainpanel .node {
background-position: -11px -119px;
}
#mainpanel .edge {
background-position: -51px -122px;
}
#mainpanel .colours {
background-image:url('../images/rainbow.png');
}
#legend .note {
margin-bottom: 8px;
}
#mainpanel .regions {
background-position: -171px -13px;
}
#mainpanel .download {
background-position: -51px -13px;
}
#mainpanel .moreinformation {
background: url('../images/info.png');
background-repeat: no-repeat;
margin-left: 5px;
}
#copyright {
margin:0 auto;
position: fixed;
right: 40px;
bottom: 25px;
z-index:0;
}
#copyright a {
color: #000;
}
#copyright .explanation {
display: none;
}
#zoom {
z-index:999;
position: fixed;
left: 45%;
bottom: 25px;
margin:0 auto;
padding: 0;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-align:left;
}
#zoom .z {
background:#fff;
background-color:rgba(255,255,255,0.7);
width: 60px;
height: 60px;
cursor: pointer;
border:1px solid #ccc;
float:left;
margin-right:4px;
background-repeat:no-repeat;
}
#zoom .z[rel=center] {
background-image: url('../images/zoom_reset.png');
background-position:center;
}
#zoom .z[rel=in] {
background-image: url('../images/zoom_in.png');
background-position:center;
}
#zoom .z[rel=out] {
background-image: url('../images/zoom_out.png');
background-position:center;
}
.line {
font-size: 12px;
color: #000;
text-decoration: none;
font-weight: bold;
cursor: pointer;
cursor: hand;
}
#information {
display: none;
background: #fff;
padding: 1px 10px 10px 10px;
}
#information h3 {
margin: 14px 0 4px 0;
}
#information p {
margin: 0 0 4px 0;
}
#information .button {
width: 14px;
height: 14px;
background-image: url('../images/sprite.png');
border: 1px solid #999;
display: inline-block;
*display: inline;
*zoom: 1;
}
#information .button span {
display: none;
}
#information .button.plus {
background-position: -91px -122px;
}
#information .button.moins {
background-position: -131px -122px;
}
#minify {
background-color: #fff;
padding: 4px 4px 4px 25px;
cursor: pointer;
background-image: url('../images/sprite.png');
background-repeat: no-repeat;
background-position: -167px -118px;
position: absolute;
top: 65px;
left: 15px;
display: none;
}
#minifier {
position: absolute;
width: 20px;
height: 16px;
background-image: url('../images/sprite.png');
background-repeat: no-repeat;
background-position: -45px -147px;
cursor: pointer;
display: none;
}
#colorLegend {
margin-top: 10px;
max-height: 200px;
overflow-y: auto;
}
#colorLegend ul {
list-style: none;
padding: 0;
margin: 0;
}
#colorLegend li {
margin-bottom: 5px;
font-size: 12px;
white-space: nowrap;
}
#coloringselect {
margin-top: 10px;
}
#coloringselect .list {
background-color: #fff;
border: 1px solid #ccc;
display: none;
max-height: 150px;
overflow-y: auto;
}
#coloringselect .list a {
display: block;
padding: 5px;
text-decoration: none;
}
#coloringselect .list a:hover {
background-color: #f0f0f0;
}
#coloringselect .select {
background-color: #fff;
border: 1px solid #ccc;
cursor: pointer;
padding: 5px;
position: relative;
}
#coloringselect .select.close:after {
content: 'โ–ฒ';
position: absolute;
right: 8px;
}
#coloringselect .select:after {
content: 'โ–ผ';
position: absolute;
right: 8px;
}
#atlasselect {
margin-top: 10px;
}
#atlasselect .list {
background-color: #fff;
border: 1px solid #ccc;
display: none;
max-height: 150px;
overflow-y: auto;
}
#atlasselect .list a {
display: block;
padding: 5px;
text-decoration: none;
}
#atlasselect .list a:hover {
background-color: #f0f0f0;
}
#atlasselect .select {
background-color: #fff;
border: 1px solid #ccc;
cursor: pointer;
padding: 5px;
position: relative;
}
#atlasselect .select.close:after {
content: 'โ–ฒ';
position: absolute;
right: 8px;
}
#atlasselect .select:after {
content: 'โ–ผ';
position: absolute;
right: 8px;
}
/* Make mainpanel fully scrollable */
#mainpanel {
max-height: 90vh; /* Reduce from 100vh to leave space for bottom elements */
overflow-y: auto; /* Enable vertical scrolling */
overflow-x: hidden; /* Prevent horizontal scrolling */
box-sizing: border-box; /* Include padding in the element's total width and height */
padding-bottom: 20px; /* Add padding at the bottom to ensure last element is visible */
}
/* Ensure all dropdowns in the panel stay within the scrollable area */
#attributeselect .list,
#coloringselect .list,
#atlasselect .list {
position: absolute;
margin-left: 0;
margin-top: 0;
z-index: 100;
width: 226px;
left: 0;
top: 100%; /* Position below the select button */
}
/* Fix for the developer container to ensure it's always visible */
#developercontainer {
position: fixed;
bottom: 0;
left: 25px;
margin-bottom: 5px;
background-color: rgba(255, 255, 255, 0.8);
padding: 5px;
border-radius: 3px;
max-width: 80%;
z-index: 50;
font-size: 11px;
line-height: 1.3;
}
/* Add media query for smaller displays */
@media screen and (max-height: 700px) {
#mainpanel {
max-height: 85vh; /* Make panel even smaller on small screens */
}
#developercontainer {
max-width: 70%; /* Make developer info smaller on small screens */
font-size: 10px;
}
}
/* For very small screens */
@media screen and (max-height: 500px) {
#developercontainer {
max-width: 60%;
font-size: 9px;
}
}
/* Improve scrollbar appearance */
#mainpanel::-webkit-scrollbar {
width: 8px;
}
#mainpanel::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
#mainpanel::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
#mainpanel::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* ============================================================
MODEL GALAXY โ€” DUAL THEME (Galaxy ๐ŸŒŒ / Atlas ๐Ÿ—บ๏ธ)
============================================================ */
/* ---- Theme toggle button (top-right) ---- */
#theme-toggle {
position: fixed;
top: 14px;
right: 14px;
z-index: 200;
display: flex;
align-items: center;
gap: 8px;
padding: 8px 14px 8px 12px;
border-radius: 24px;
border: 1px solid rgba(245,158,11,0.4);
background: rgba(255,255,255,0.92);
backdrop-filter: blur(10px);
font-family: 'IBM Plex Mono', monospace;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.4px;
color: #b45309;
cursor: pointer;
box-shadow: 0 4px 14px rgba(15,23,42,0.08);
transition: all 0.2s ease;
}
#theme-toggle:hover {
transform: translateY(-1px);
box-shadow: 0 6px 18px rgba(245,158,11,0.25);
border-color: #f59e0b;
}
#theme-toggle .t-icon { font-size: 14px; }
.galaxy-mode #theme-toggle {
background: rgba(15,23,42,0.85);
border-color: rgba(245,158,11,0.55);
color: #fbbf24;
box-shadow: 0 0 18px rgba(245,158,11,0.25), 0 4px 14px rgba(0,0,0,0.5);
}
/* ---- Starfield (galaxy mode only) ---- */
#starfield {
position: fixed;
inset: 0;
z-index: 0;
pointer-events: none;
opacity: 0;
transition: opacity 0.6s ease;
}
.galaxy-mode #starfield {
opacity: 1;
}
#starfield .star {
position: absolute;
background: #fff;
border-radius: 50%;
animation-name: mg-twinkle;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
box-shadow: 0 0 4px rgba(255,255,255,0.6);
}
@keyframes mg-twinkle {
0%, 100% { opacity: 0.15; transform: scale(0.8); }
50% { opacity: 1.0; transform: scale(1.2); }
}
/* ============================================================
GALAXY MODE โ€” deep space dark
============================================================ */
.galaxy-mode .sigma-expand {
background: radial-gradient(ellipse at 70% 60%, #1e1b4b 0%, #0f172a 40%, #020617 100%) !important;
}
.galaxy-mode body { background: #020617 !important; }
.galaxy-mode #mainpanel {
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;
border-right: 1px solid rgba(245,158,11,0.35) !important;
box-shadow: 4px 0 28px rgba(0,0,0,0.5), inset -1px 0 0 rgba(245,158,11,0.1) !important;
color: #e2e8f0 !important;
}
.galaxy-mode #titletext { color: #94a3b8 !important; border-bottom-color: rgba(148,163,184,0.18) !important; }
.galaxy-mode #titletext strong, .galaxy-mode #titletext a { color: #fbbf24 !important; }
.galaxy-mode #mainpanel h2 { color: #f8fafc !important; }
.galaxy-mode .info dd.line a {
color: #fbbf24 !important;
background: rgba(245,158,11,0.1) !important;
border-color: rgba(245,158,11,0.35) !important;
}
.galaxy-mode #legend {
background: rgba(2,6,23,0.55) !important;
border-color: rgba(148,163,184,0.18) !important;
}
.galaxy-mode #colorLegend { color: #cbd5e1 !important; }
.galaxy-mode #colorLegend > * { background: rgba(255,255,255,0.03) !important; }
.galaxy-mode #colorLegend > *:hover { background: rgba(245,158,11,0.1) !important; }
.galaxy-mode .b1 form > div {
background: rgba(2,6,23,0.55) !important;
border-color: rgba(148,163,184,0.15) !important;
}
.galaxy-mode #search input[type="text"] {
background: rgba(2,6,23,0.7) !important;
border-color: rgba(148,163,184,0.3) !important;
color: #f1f5f9 !important;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.4) !important;
}
.galaxy-mode #search input.empty { color: rgba(148,163,184,0.65) !important; }
.galaxy-mode #search .results a { color: #cbd5e1 !important; }
.galaxy-mode #search .results a:hover { color: #fbbf24 !important; }
.galaxy-mode .select {
background: rgba(2,6,23,0.7) !important;
border-color: rgba(148,163,184,0.3) !important;
color: #f1f5f9 !important;
}
.galaxy-mode .select:hover {
background: rgba(245,158,11,0.08) !important;
border-color: #f59e0b !important;
}
.galaxy-mode .list {
background: rgba(2,6,23,0.97) !important;
border-color: rgba(148,163,184,0.3) !important;
}
.galaxy-mode .list a { color: #cbd5e1 !important; }
.galaxy-mode .list a:hover { color: #fbbf24 !important; }
.galaxy-mode .list a[data-file="compressed_modalities_data.json.gz"] {
background: rgba(245,158,11,0.12) !important;
color: #fbbf24 !important;
}
.galaxy-mode .list a[data-file="compressed_darwin_data.json.gz"] {
background: rgba(220,38,38,0.18) !important;
color: #fca5a5 !important;
}
.galaxy-mode #attributepane {
background: linear-gradient(195deg, rgba(15,23,42,0.96) 0%, rgba(2,6,23,0.96) 100%) !important;
border-left-color: rgba(245,158,11,0.35) !important;
box-shadow: -4px 0 28px rgba(0,0,0,0.5) !important;
color: #e2e8f0 !important;
}
.galaxy-mode #attributepane .headertext { color: #f8fafc !important; border-bottom-color: rgba(245,158,11,0.4) !important; }
.galaxy-mode #attributepane .left-close {
background: rgba(245,158,11,0.12) !important;
border-color: rgba(245,158,11,0.4) !important;
color: #fbbf24 !important;
}
.galaxy-mode #attributepane .name {
color: #fbbf24 !important;
border-bottom-color: rgba(148,163,184,0.25) !important;
}
.galaxy-mode #attributepane .data { color: #cbd5e1 !important; }
.galaxy-mode #attributepane .data > div, .galaxy-mode #attributepane .data > p {
border-bottom-color: rgba(148,163,184,0.1) !important;
}
.galaxy-mode #attributepane .data strong, .galaxy-mode #attributepane .data b { color: #fbbf24 !important; }
.galaxy-mode #attributepane .p { color: #f9a8d4 !important; border-bottom-color: rgba(236,72,153,0.4) !important; }
.galaxy-mode #attributepane .link a {
background: rgba(245,158,11,0.06) !important;
border-color: rgba(148,163,184,0.18) !important;
color: #cbd5e1 !important;
}
.galaxy-mode #attributepane .link a:hover {
background: rgba(245,158,11,0.18) !important;
color: #fbbf24 !important;
}
.galaxy-mode #zoom {
background: rgba(15,23,42,0.85) !important;
border-color: rgba(245,158,11,0.3) !important;
box-shadow: 0 4px 18px rgba(0,0,0,0.5) !important;
}
.galaxy-mode #zoom .z {
background-color: rgba(245,158,11,0.12) !important;
border-color: rgba(245,158,11,0.35) !important;
}
.galaxy-mode #zoom .z:hover { background-color: rgba(245,158,11,0.32) !important; }
.galaxy-mode #information {
background: rgba(15,23,42,0.97) !important;
border-color: rgba(245,158,11,0.4) !important;
color: #e2e8f0 !important;
}
.galaxy-mode #information h2.title, .galaxy-mode #information h2 { color: #fbbf24 !important; }
.galaxy-mode #information code, .galaxy-mode #information pre {
background: rgba(2,6,23,0.7) !important;
border-color: rgba(148,163,184,0.25) !important;
color: #fbbf24 !important;
}
.galaxy-mode #information strong { color: #fbbf24 !important; }
.galaxy-mode #information .features { background: rgba(245,158,11,0.08) !important; border-color: rgba(245,158,11,0.25) !important; }
.galaxy-mode #developercontainer {
background: rgba(15,23,42,0.7) !important;
border-top-color: rgba(148,163,184,0.18) !important;
color: #94a3b8 !important;
}
.galaxy-mode #developercontainer a { color: #fbbf24 !important; }
/* Loading overlay galaxy variant */
.galaxy-mode #loading-overlay {
background: radial-gradient(ellipse at center, #1e1b4b 0%, #0f172a 60%, #020617 100%) !important;
}
.galaxy-mode .loading-card {
background: rgba(15,23,42,0.92) !important;
border-color: rgba(245,158,11,0.45) !important;
box-shadow: 0 0 40px rgba(245,158,11,0.25), 0 20px 60px rgba(0,0,0,0.6) !important;
}
.galaxy-mode .loading-status { color: #fbbf24 !important; }
.galaxy-mode .loading-hint { color: #94a3b8 !important; }
.galaxy-mode .loading-progress { background: rgba(245,158,11,0.18) !important; }
/* ============================================================
ORIGINAL ATLAS-MODE LIGHT OVERRIDES (default for now)
============================================================ */
@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');
html, body {
font-family: 'IBM Plex Sans', 'IBM Plex Sans KR', -apple-system, BlinkMacSystemFont, sans-serif !important;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: #ffffff !important;
}
.sigma-expand {
background: radial-gradient(ellipse at center, #ffffff 0%, #f8fafc 60%, #f1f5f9 100%) !important;
}
/* ----- Left main panel ----- */
#mainpanel {
background: linear-gradient(155deg, rgba(255,255,255,0.92) 0%, rgba(255,251,235,0.88) 50%, rgba(255,255,255,0.94) 100%) !important;
backdrop-filter: blur(18px) saturate(140%);
-webkit-backdrop-filter: blur(18px) saturate(140%);
border-right: 1px solid rgba(245,158,11,0.28);
box-shadow: 4px 0 22px rgba(15,23,42,0.06), inset -1px 0 0 rgba(245,158,11,0.08);
width: 290px !important;
color: #1e293b !important;
font-size: 12px;
}
#mainpanel .col {
padding: 18px 20px !important;
}
/* ----- Title block ----- */
#title {
font-family: 'IBM Plex Mono', monospace !important;
font-size: 18px !important;
font-weight: 700 !important;
letter-spacing: 0.4px;
background: linear-gradient(135deg, #f59e0b 0%, #ef4444 60%, #db2777 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 4px !important;
}
#title::before { content: "๐ŸŒณ "; -webkit-text-fill-color: initial; }
#titletext {
color: #475569 !important;
font-size: 11px !important;
line-height: 1.55 !important;
margin-bottom: 14px !important;
padding-bottom: 14px;
border-bottom: 1px solid rgba(148,163,184,0.25);
}
#titletext strong { color: #b45309 !important; font-weight: 600; }
#titletext a { color: #b45309 !important; }
.info { margin-bottom: 14px !important; }
.info dl { margin: 0 !important; }
.info dt.moreinformation { display: none !important; }
.info dd.line a {
display: inline-flex !important;
align-items: center;
gap: 6px;
color: #b45309 !important;
background: linear-gradient(135deg, rgba(254,243,199,0.7), rgba(254,215,170,0.5));
border: 1px solid rgba(245,158,11,0.45);
padding: 6px 12px;
border-radius: 8px;
font-size: 11px;
font-weight: 600;
text-decoration: none !important;
transition: all 0.18s ease;
box-shadow: 0 1px 2px rgba(245,158,11,0.08);
}
.info dd.line a::before { content: "โ„น"; font-weight: 700; }
.info dd.line a:hover {
background: linear-gradient(135deg, rgba(254,215,170,0.9), rgba(253,186,116,0.75));
border-color: #f59e0b;
color: #92400e !important;
transform: translateX(2px);
box-shadow: 0 2px 6px rgba(245,158,11,0.18);
}
/* ----- Section headers ----- */
#mainpanel h2 {
color: #0f172a !important;
font-size: 11px !important;
font-weight: 700 !important;
letter-spacing: 1.2px;
text-transform: uppercase;
margin-bottom: 6px !important;
padding-left: 8px;
border-left: 3px solid #f59e0b;
line-height: 1.4;
}
/* ----- Legend ----- */
#legend {
background: linear-gradient(135deg, rgba(255,251,235,0.85), rgba(255,255,255,0.7)) !important;
border: 1px solid rgba(245,158,11,0.25);
border-radius: 10px;
padding: 10px 12px !important;
margin-bottom: 14px !important;
margin-top: 4px !important;
box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
#legend .box { padding: 0 !important; }
#legend h2 { border-left-color: #ec4899; padding-left: 8px; margin-bottom: 8px !important; }
#colorLegend {
display: flex;
flex-direction: column;
gap: 5px;
font-size: 11px;
color: #334155;
}
#colorLegend > * {
display: flex !important;
align-items: center;
gap: 8px;
padding: 4px 6px;
border-radius: 5px;
background: rgba(255,255,255,0.5);
border: 1px solid transparent;
transition: all 0.15s;
}
#colorLegend > *:hover {
background: rgba(245,158,11,0.08);
border-color: rgba(245,158,11,0.25);
}
/* ----- Form sections ----- */
.b1 form > div {
margin-bottom: 12px !important;
background: rgba(255,255,255,0.85);
border: 1px solid rgba(148,163,184,0.25);
border-radius: 10px;
padding: 10px 12px;
transition: all 0.18s;
box-shadow: 0 1px 2px rgba(15,23,42,0.03);
}
.b1 form > div:hover {
border-color: rgba(245,158,11,0.45);
box-shadow: 0 2px 8px rgba(245,158,11,0.08);
}
/* ----- Search input ----- */
#search input[type="text"] {
width: 100% !important;
background: #ffffff !important;
border: 1px solid rgba(148,163,184,0.4) !important;
border-radius: 8px !important;
padding: 8px 12px !important;
color: #0f172a !important;
font-size: 12px !important;
font-family: 'IBM Plex Mono', monospace !important;
transition: all 0.18s;
margin-top: 4px;
box-shadow: inset 0 1px 2px rgba(15,23,42,0.04);
}
#search input[type="text"]:focus {
outline: none !important;
border-color: #f59e0b !important;
background: #ffffff !important;
box-shadow: 0 0 0 3px rgba(245,158,11,0.15), inset 0 1px 2px rgba(15,23,42,0.04);
}
#search input.empty { color: rgba(100,116,139,0.7) !important; font-style: italic; }
#search h2::before { content: "๐Ÿ” "; -webkit-text-fill-color: initial; }
#search .results {
max-height: 200px;
overflow-y: auto;
margin-top: 6px;
font-family: 'IBM Plex Mono', monospace;
font-size: 10px;
}
#search .results a {
display: block;
padding: 5px 8px;
color: #334155 !important;
text-decoration: none !important;
border-radius: 4px;
transition: all 0.12s;
}
#search .results a:hover {
background: linear-gradient(90deg, rgba(245,158,11,0.18), rgba(245,158,11,0.05)) !important;
color: #b45309 !important;
transform: translateX(2px);
}
/* ----- Selectors (Atlas / Color By) ----- */
.select {
background: #ffffff !important;
border: 1px solid rgba(148,163,184,0.4) !important;
border-radius: 8px !important;
padding: 8px 32px 8px 12px !important;
color: #0f172a !important;
cursor: pointer !important;
font-family: 'IBM Plex Mono', monospace !important;
font-size: 11px !important;
font-weight: 600 !important;
position: relative;
transition: all 0.18s;
margin-top: 4px;
box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.select::after {
content: "โ–พ";
position: absolute;
right: 12px;
top: 50%;
transform: translateY(-50%);
color: #f59e0b;
font-size: 10px;
}
.select:hover {
border-color: #f59e0b !important;
background: rgba(254,243,199,0.5) !important;
box-shadow: 0 2px 6px rgba(245,158,11,0.12);
}
.select.close::after { transform: translateY(-50%) rotate(180deg); }
#attributeselect h2::before { content: "๐Ÿ“ "; -webkit-text-fill-color: initial; }
#coloringselect h2::before { content: "๐ŸŽจ "; -webkit-text-fill-color: initial; }
#atlasselect h2::before { content: "๐Ÿ—บ๏ธ "; -webkit-text-fill-color: initial; }
.list {
background: #ffffff !important;
border: 1px solid rgba(245,158,11,0.35) !important;
border-radius: 8px !important;
margin-top: 4px;
padding: 4px !important;
display: none;
max-height: 240px;
overflow-y: auto;
box-shadow: 0 6px 20px rgba(15,23,42,0.1);
}
.list.open { display: block !important; }
.list a {
display: block !important;
padding: 7px 10px !important;
color: #1e293b !important;
text-decoration: none !important;
border-radius: 5px !important;
font-size: 11px !important;
font-family: 'IBM Plex Mono', monospace !important;
font-weight: 500;
transition: all 0.12s !important;
}
.list a:hover {
background: linear-gradient(90deg, rgba(245,158,11,0.2), rgba(245,158,11,0.05)) !important;
color: #92400e !important;
}
/* Highlight DARWIN-prefixed atlas option */
.list a[data-file="compressed_darwin_data.json.gz"] {
background: rgba(254,226,226,0.7) !important;
color: #b91c1c !important;
font-weight: 700 !important;
border-left: 3px solid #dc2626;
}
.list a[data-file="compressed_darwin_data.json.gz"]:hover {
background: linear-gradient(90deg, rgba(220,38,38,0.18), rgba(220,38,38,0.05)) !important;
color: #7f1d1d !important;
}
.list a[data-file="compressed_modalities_data.json.gz"] {
background: rgba(254,243,199,0.7) !important;
color: #92400e !important;
font-weight: 700 !important;
border-left: 3px solid #f59e0b;
}
/* ----- Right info panel ----- */
#attributepane {
background: linear-gradient(195deg, rgba(255,255,255,0.94) 0%, rgba(255,251,235,0.88) 100%) !important;
backdrop-filter: blur(18px) saturate(140%);
-webkit-backdrop-filter: blur(18px) saturate(140%);
border-left: 1px solid rgba(245,158,11,0.28) !important;
box-shadow: -4px 0 22px rgba(15,23,42,0.06);
width: 320px !important;
color: #1e293b !important;
padding: 0 22px !important;
}
#attributepane .text { padding: 18px 0; }
#attributepane .headertext {
color: #0f172a !important;
font-family: 'IBM Plex Mono', monospace !important;
font-size: 12px !important;
font-weight: 700 !important;
text-transform: uppercase;
letter-spacing: 1.2px;
padding-bottom: 12px;
margin-bottom: 14px !important;
border-bottom: 2px solid rgba(245,158,11,0.4);
}
#attributepane .left-close {
cursor: pointer;
background: linear-gradient(135deg, rgba(254,243,199,0.7), rgba(254,215,170,0.5));
border: 1px solid rgba(245,158,11,0.45);
border-radius: 6px;
padding: 6px 10px !important;
color: #b45309 !important;
font-size: 11px !important;
font-weight: 600;
margin-bottom: 12px;
transition: all 0.18s;
box-shadow: 0 1px 2px rgba(245,158,11,0.08);
}
#attributepane .left-close:hover {
background: linear-gradient(135deg, rgba(254,215,170,0.9), rgba(253,186,116,0.75));
border-color: #f59e0b;
color: #92400e !important;
}
#attributepane .left-close::before { content: "โ† "; }
#attributepane .name {
color: #b45309 !important;
font-family: 'IBM Plex Mono', monospace !important;
font-size: 14px !important;
font-weight: 700 !important;
word-break: break-all;
padding: 10px 0;
border-bottom: 1px dashed rgba(148,163,184,0.35);
margin-bottom: 10px;
}
#attributepane .data {
font-size: 11px;
color: #334155;
}
#attributepane .data > div, #attributepane .data > p {
padding: 6px 0;
border-bottom: 1px solid rgba(148,163,184,0.15);
font-family: 'IBM Plex Mono', monospace;
}
#attributepane .data strong, #attributepane .data b {
color: #b45309 !important;
font-weight: 700;
display: inline-block;
min-width: 88px;
}
#attributepane .p {
font-family: 'IBM Plex Mono', monospace !important;
color: #be185d !important;
font-size: 11px !important;
font-weight: 700 !important;
text-transform: uppercase;
letter-spacing: 0.8px;
margin-top: 16px !important;
padding-bottom: 4px;
border-bottom: 2px solid rgba(236,72,153,0.4);
}
#attributepane .link ul {
list-style: none;
padding: 6px 0 0 0;
max-height: 50vh;
overflow-y: auto;
}
#attributepane .link li { margin-bottom: 4px; }
#attributepane .link a {
display: block;
padding: 5px 10px;
background: rgba(255,251,235,0.7);
border: 1px solid rgba(245,158,11,0.25);
border-radius: 6px;
color: #334155 !important;
text-decoration: none !important;
font-family: 'IBM Plex Mono', monospace;
font-size: 10px;
word-break: break-all;
transition: all 0.12s;
}
#attributepane .link a:hover {
background: linear-gradient(135deg, rgba(254,215,170,0.7), rgba(254,243,199,0.5));
border-color: #f59e0b;
color: #92400e !important;
transform: translateX(2px);
}
/* ----- Zoom controls ----- */
#zoom {
background: rgba(255,255,255,0.92) !important;
backdrop-filter: blur(12px);
border: 1px solid rgba(245,158,11,0.3) !important;
border-radius: 12px !important;
padding: 6px !important;
box-shadow: 0 4px 16px rgba(15,23,42,0.1) !important;
}
#zoom .z {
background-color: rgba(254,243,199,0.7) !important;
border-radius: 8px !important;
border: 1px solid rgba(245,158,11,0.35) !important;
margin: 4px !important;
width: 32px !important;
height: 32px !important;
transition: all 0.15s !important;
}
#zoom .z:hover {
background-color: rgba(253,186,116,0.7) !important;
border-color: #f59e0b !important;
transform: scale(1.05);
}
/* ----- Information modal ----- */
#information {
background: rgba(255,255,255,0.98) !important;
backdrop-filter: blur(20px);
border: 1px solid rgba(245,158,11,0.4) !important;
border-radius: 14px !important;
color: #1e293b !important;
padding: 24px !important;
box-shadow: 0 20px 60px rgba(15,23,42,0.15);
}
#information h2.title, #information h2 {
color: #b45309 !important;
font-family: 'IBM Plex Mono', monospace !important;
}
#information code, #information pre {
background: rgba(255,251,235,0.7) !important;
border: 1px solid rgba(245,158,11,0.25) !important;
color: #92400e !important;
border-radius: 6px;
padding: 8px 12px;
}
#information ul li { margin: 6px 0; }
#information strong { color: #b45309 !important; }
#information .features { margin-top: 12px; padding: 12px; background: rgba(254,243,199,0.5); border-radius: 8px; border: 1px solid rgba(245,158,11,0.3); }
/* ----- Developer footer ----- */
#developercontainer {
background: rgba(255,255,255,0.85) !important;
border-top: 1px solid rgba(148,163,184,0.25) !important;
color: #64748b !important;
font-size: 10px !important;
padding: 8px 14px !important;
}
#developercontainer a { color: #b45309 !important; }
#developercontainer p { margin: 2px 0; }
/* ----- Scrollbars ----- */
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: rgba(241,245,249,0.6); border-radius: 4px; }
*::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #f59e0b, #dc2626); border-radius: 4px; }
*::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #fbbf24, #ef4444); }
/* ----- Loading overlay ----- */
#loading-overlay {
position: fixed;
inset: 0;
z-index: 9999;
background: radial-gradient(ellipse at center, #ffffff 0%, #fff7ed 70%, #fef3c7 100%);
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.4s ease;
}
.loading-card {
background: rgba(255,255,255,0.95);
backdrop-filter: blur(10px);
border: 1px solid rgba(245,158,11,0.35);
border-radius: 20px;
padding: 32px 40px;
text-align: center;
box-shadow: 0 20px 60px rgba(245,158,11,0.18), 0 4px 16px rgba(15,23,42,0.06);
max-width: 460px;
width: 90%;
font-family: 'IBM Plex Sans', 'IBM Plex Sans KR', sans-serif;
}
.loading-spinner {
width: 56px;
height: 56px;
margin: 0 auto 18px;
border: 4px solid rgba(245,158,11,0.18);
border-top-color: #f59e0b;
border-right-color: #ef4444;
border-radius: 50%;
animation: lo-spin 1s linear infinite;
}
@keyframes lo-spin { to { transform: rotate(360deg); } }
.loading-title {
font-family: 'IBM Plex Mono', monospace;
font-size: 20px;
font-weight: 700;
background: linear-gradient(135deg, #f59e0b 0%, #ef4444 60%, #db2777 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 8px;
letter-spacing: 0.5px;
}
.loading-status {
color: #b45309;
font-size: 13px;
font-weight: 600;
margin-bottom: 14px;
font-family: 'IBM Plex Mono', monospace;
min-height: 18px;
}
.loading-progress {
height: 6px;
background: rgba(245,158,11,0.15);
border-radius: 3px;
overflow: hidden;
margin-bottom: 14px;
}
#loading-bar {
height: 100%;
width: 0%;
background: linear-gradient(90deg, #f59e0b, #ef4444, #db2777);
border-radius: 3px;
transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 0 8px rgba(245,158,11,0.5);
}
.loading-hint {
color: #475569;
font-size: 11px;
line-height: 1.55;
}
/* ----- Responsive ----- */
@media (max-width: 1100px) {
#mainpanel { width: 260px !important; }
#attributepane { width: 280px !important; }
}
@media (max-width: 850px) {
#mainpanel { width: 220px !important; padding: 10px 0; }
#attributepane { width: 240px !important; }
#title { font-size: 15px !important; }
}