814 lines
39 KiB
CSS
814 lines
39 KiB
CSS
/* PPF Dashboard Styles - Electric Cyan Theme */
|
|
/* Theme variables are substituted at runtime by httpd.py */
|
|
|
|
:root {
|
|
--bg: {bg}; --card: {card}; --card-alt: {card_alt}; --border: {border};
|
|
--text: {text}; --dim: {dim}; --green: {green}; --red: {red};
|
|
--yellow: {yellow}; --blue: {blue}; --purple: {purple};
|
|
--cyan: {cyan}; --orange: {orange}; --pink: {pink}; --map-bg: {map_bg};
|
|
--shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
|
|
--shadow-md: 0 4px 12px rgba(0,0,0,0.25);
|
|
--shadow-lg: 0 8px 24px rgba(0,0,0,0.3);
|
|
--glow-green: 0 0 12px rgba(63,185,80,0.4);
|
|
--glow-blue: 0 0 12px rgba(88,166,255,0.4);
|
|
--glow-red: 0 0 12px rgba(248,81,73,0.4);
|
|
--transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
/* Muted dark theme - desaturated/softer dark colors */
|
|
html.muted-dark {
|
|
--bg: #1a1c20;
|
|
--card: #22252a;
|
|
--card-alt: #282c32;
|
|
--border: #3a3f47;
|
|
--text: #c8ccd4;
|
|
--dim: #7a7f88;
|
|
--green: #5a9a66;
|
|
--red: #c06060;
|
|
--yellow: #b39540;
|
|
--blue: #6090b8;
|
|
--purple: #8a6aa8;
|
|
--cyan: #5a9098;
|
|
--orange: #b87850;
|
|
--pink: #a86080;
|
|
--map-bg: #1a1c20;
|
|
--shadow-sm: 0 1px 2px rgba(0,0,0,0.25);
|
|
--shadow-md: 0 4px 12px rgba(0,0,0,0.3);
|
|
--shadow-lg: 0 8px 24px rgba(0,0,0,0.35);
|
|
--glow-green: 0 0 10px rgba(90,154,102,0.3);
|
|
--glow-blue: 0 0 10px rgba(96,144,184,0.3);
|
|
--glow-red: 0 0 10px rgba(192,96,96,0.3);
|
|
}
|
|
|
|
/* Light theme - muted/broken colors (not pure white) */
|
|
html.light {
|
|
--bg: #e8e4df;
|
|
--card: #f5f2ed;
|
|
--card-alt: #ebe7e2;
|
|
--border: #c5c0b8;
|
|
--text: #2c2a26;
|
|
--dim: #6b6860;
|
|
--green: #2a7d3f;
|
|
--red: #c53030;
|
|
--yellow: #a67c00;
|
|
--blue: #2563a8;
|
|
--purple: #7c3aad;
|
|
--cyan: #1a7a7f;
|
|
--orange: #c05621;
|
|
--pink: #b5366b;
|
|
--map-bg: #e8e4df;
|
|
--shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
|
|
--shadow-md: 0 4px 12px rgba(0,0,0,0.1);
|
|
--shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
|
|
--glow-green: 0 0 8px rgba(42,125,63,0.25);
|
|
--glow-blue: 0 0 8px rgba(37,99,168,0.25);
|
|
--glow-red: 0 0 8px rgba(197,48,48,0.25);
|
|
}
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
|
|
font-size: 13px; background: var(--bg); color: var(--text);
|
|
padding: 16px; min-height: 100vh; line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
|
|
}
|
|
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
|
|
a:hover { color: var(--cyan); }
|
|
h1 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 16px; }
|
|
h2 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
|
|
h3 { font-size: 13px; font-weight: 600; color: var(--dim); margin-bottom: 8px; }
|
|
.container { max-width: 1400px; margin: 0 auto; }
|
|
|
|
/* Header */
|
|
.hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
|
|
.hdr h1 { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
|
|
.hdr h1::before { content: ""; width: 10px; height: 10px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); }
|
|
.status { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--dim); }
|
|
.status-item { display: flex; align-items: center; gap: 4px; }
|
|
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
|
|
.dot.err { background: var(--red); animation: none; }
|
|
.dot.warn { background: var(--yellow); animation: none; }
|
|
@keyframes pulse { 50% { opacity: 0.5; } }
|
|
.mode-badge { padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
|
|
.mode-ssl { background: rgba(63,185,80,0.2); color: var(--green); border: 1px solid var(--green); }
|
|
.mode-profile { background: rgba(255,165,0,0.2); color: #ffa500; border: 1px solid #ffa500; margin-left: 6px; }
|
|
.mode-judges { background: rgba(88,166,255,0.2); color: var(--blue); border: 1px solid var(--blue); }
|
|
.mode-head { background: rgba(210,153,34,0.2); color: var(--yellow); border: 1px solid var(--yellow); }
|
|
.mode-irc { background: rgba(163,113,247,0.2); color: var(--purple); border: 1px solid var(--purple); }
|
|
|
|
/* System monitor bar */
|
|
.sysbar { display: flex; gap: 16px; padding: 8px 12px; background: var(--card); border: 1px solid var(--border); border-radius: 6px; margin-bottom: 16px; font-size: 11px; }
|
|
.sysbar-item { display: flex; align-items: center; gap: 6px; }
|
|
.sysbar-lbl { color: var(--dim); }
|
|
.sysbar-val { font-weight: 600; font-feature-settings: "tnum"; }
|
|
.sysbar-bar { width: 50px; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
|
|
.sysbar-fill { height: 100%; border-radius: 2px; transition: width 0.3s; }
|
|
|
|
/* Grid */
|
|
.g { display: grid; gap: 12px; margin-bottom: 16px; }
|
|
.g2 { grid-template-columns: repeat(2, 1fr); }
|
|
.g3 { grid-template-columns: repeat(3, 1fr); }
|
|
.g4 { grid-template-columns: repeat(4, 1fr); }
|
|
.g5 { grid-template-columns: repeat(5, 1fr); }
|
|
.g6 { grid-template-columns: repeat(6, 1fr); }
|
|
@media (max-width: 1200px) { .g5, .g6 { grid-template-columns: repeat(4, 1fr); } }
|
|
@media (max-width: 900px) { .g3, .g4, .g5, .g6 { grid-template-columns: repeat(2, 1fr); } }
|
|
@media (max-width: 600px) { .g2, .g3, .g4, .g5, .g6 { grid-template-columns: 1fr; } }
|
|
|
|
/* Cards */
|
|
.c {
|
|
background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 14px;
|
|
box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
|
|
}
|
|
.c:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
|
|
.c-lg { padding: 16px 18px; }
|
|
.c-sm { padding: 10px 12px; }
|
|
.c-glow { box-shadow: var(--shadow-md), var(--glow-blue); }
|
|
.lbl { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; font-weight: 500; }
|
|
.val { font-size: 26px; font-weight: 700; font-feature-settings: "tnum"; letter-spacing: -0.5px; line-height: 1.2; }
|
|
.val-md { font-size: 20px; font-weight: 600; }
|
|
.val-sm { font-size: 16px; font-weight: 600; }
|
|
.sub { font-size: 11px; color: var(--dim); margin-top: 4px; }
|
|
.grn { color: var(--green); } .red { color: var(--red); } .yel { color: var(--yellow); }
|
|
.blu { color: var(--blue); } .pur { color: var(--purple); } .cyn { color: var(--cyan); }
|
|
.org { color: var(--orange); } .pnk { color: var(--pink); }
|
|
|
|
/* Section headers */
|
|
.sec { margin-bottom: 16px; }
|
|
.sec-hdr { font-size: 11px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
|
|
.sec-hdr::before { content: ""; width: 3px; height: 12px; background: var(--blue); border-radius: 2px; }
|
|
|
|
/* Progress bars */
|
|
.bar-wrap { height: 6px; background: var(--border); border-radius: 3px; margin-top: 8px; overflow: hidden; position: relative; }
|
|
.bar { height: 100%; border-radius: 3px; transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
|
|
.bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); }
|
|
.bar.grn { background: linear-gradient(90deg, #238636, #3fb950); box-shadow: 0 0 8px rgba(63,185,80,0.3); }
|
|
.bar.red { background: linear-gradient(90deg, #da3633, #f85149); box-shadow: 0 0 8px rgba(248,81,73,0.3); }
|
|
.bar.yel { background: linear-gradient(90deg, #9e6a03, #d29922); box-shadow: 0 0 8px rgba(210,153,34,0.3); }
|
|
.bar.blu { background: linear-gradient(90deg, #1f6feb, #58a6ff); box-shadow: 0 0 8px rgba(88,166,255,0.3); }
|
|
|
|
/* Charts */
|
|
.chart-wrap {
|
|
background: linear-gradient(145deg, rgba(24,31,42,0.65), rgba(18,24,34,0.75));
|
|
border: 1px solid rgba(56,189,248,0.35); border-radius: 10px; padding: 12px 14px; margin-top: 8px;
|
|
box-shadow: 0 0 28px rgba(56,189,248,0.12), 0 0 1px rgba(56,189,248,0.4), var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.08);
|
|
position: relative; overflow: hidden; backdrop-filter: blur(8px);
|
|
}
|
|
.chart-wrap::before {
|
|
content: ''; position: absolute; inset: 0; border-radius: 10px;
|
|
background: linear-gradient(180deg, rgba(56,189,248,0.06) 0%, transparent 40%);
|
|
pointer-events: none;
|
|
}
|
|
.chart { width: 100%; height: 80px; position: relative; }
|
|
.chart-lg { height: 120px; }
|
|
.chart svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
|
|
.chart-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px currentColor); }
|
|
.chart-area { opacity: 0.25; }
|
|
.chart-grid { stroke: var(--border); stroke-width: 0.5; stroke-dasharray: 2 4; }
|
|
.chart-label { font-size: 9px; fill: var(--dim); }
|
|
|
|
/* Histogram bars */
|
|
.histo-wrap {
|
|
background: linear-gradient(145deg, rgba(24,31,42,0.65), rgba(18,24,34,0.75));
|
|
border: 1px solid rgba(56,189,248,0.35); border-radius: 10px; padding: 14px 16px 26px;
|
|
box-shadow: 0 0 28px rgba(56,189,248,0.12), 0 0 1px rgba(56,189,248,0.4), var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.08);
|
|
position: relative; overflow: hidden; backdrop-filter: blur(8px);
|
|
}
|
|
.histo-wrap::before {
|
|
content: ''; position: absolute; inset: 0; border-radius: 10px;
|
|
background: linear-gradient(180deg, rgba(56,189,248,0.06) 0%, transparent 40%);
|
|
pointer-events: none;
|
|
}
|
|
.histo { display: flex; align-items: flex-end; gap: 3px; height: 70px; padding: 0 2px; position: relative; z-index: 1; }
|
|
.histo-bar {
|
|
flex: 1; border-radius: 4px 4px 0 0; min-height: 3px; position: relative;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
background: linear-gradient(180deg, var(--cyan), rgba(88,166,255,0.6));
|
|
box-shadow: 0 0 10px rgba(56,189,248,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
|
|
}
|
|
.histo-bar:hover { transform: scaleY(1.1) translateY(-1px); filter: brightness(1.35); box-shadow: 0 0 16px rgba(56,189,248,0.6); }
|
|
.histo-bar::after { content: attr(data-label); position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); font-size: 8px; color: var(--dim); white-space: nowrap; opacity: 0.8; }
|
|
.histo-labels { display: flex; justify-content: space-between; margin-top: 20px; font-size: 9px; color: var(--dim); position: relative; z-index: 1; }
|
|
|
|
/* Stat rows */
|
|
.stats-wrap {
|
|
background: linear-gradient(145deg, rgba(24,31,42,0.7), rgba(18,24,34,0.8));
|
|
border: 1px solid rgba(56,189,248,0.28); border-radius: 10px; padding: 14px 16px;
|
|
box-shadow: 0 0 24px rgba(56,189,248,0.1), 0 0 1px rgba(56,189,248,0.35), var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.06);
|
|
position: relative; overflow: hidden; backdrop-filter: blur(6px);
|
|
}
|
|
.stats-wrap::before {
|
|
content: ''; position: absolute; inset: 0; border-radius: 10px;
|
|
background: linear-gradient(180deg, rgba(56,189,248,0.05) 0%, transparent 45%);
|
|
pointer-events: none;
|
|
}
|
|
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 12px; }
|
|
.stat-row + .stat-row { border-top: 1px solid rgba(58,68,80,0.4); }
|
|
.stat-lbl { color: var(--dim); display: flex; align-items: center; gap: 6px; }
|
|
.stat-val { font-weight: 600; font-feature-settings: "tnum"; }
|
|
.stat-bar { width: 60px; height: 4px; background: var(--border); border-radius: 2px; margin-left: 8px; overflow: hidden; }
|
|
.stat-bar-fill { height: 100%; border-radius: 2px; }
|
|
|
|
/* Leaderboard */
|
|
.lb-wrap {
|
|
background: linear-gradient(145deg, rgba(24,31,42,0.7), rgba(18,24,34,0.8));
|
|
border: 1px solid rgba(56,189,248,0.28); border-radius: 10px; padding: 14px 16px;
|
|
box-shadow: 0 0 24px rgba(56,189,248,0.1), 0 0 1px rgba(56,189,248,0.35), var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.06);
|
|
position: relative; overflow: hidden; backdrop-filter: blur(6px);
|
|
}
|
|
.lb-wrap::before {
|
|
content: ''; position: absolute; inset: 0; border-radius: 10px;
|
|
background: linear-gradient(180deg, rgba(56,189,248,0.05) 0%, transparent 45%);
|
|
pointer-events: none;
|
|
}
|
|
.lb { font-size: 12px; }
|
|
.lb-item { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
|
|
.lb-item + .lb-item { border-top: 1px solid rgba(58,68,80,0.3); }
|
|
.lb-rank { width: 18px; height: 18px; border-radius: 4px; background: var(--card-alt); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; color: var(--dim); }
|
|
.lb-rank.top { background: var(--yellow); color: var(--bg); }
|
|
.lb-name { flex: 1; font-family: ui-monospace, monospace; color: var(--text); }
|
|
.lb-val { font-weight: 600; font-feature-settings: "tnum"; }
|
|
|
|
/* Tags */
|
|
.tag {
|
|
display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px;
|
|
border-radius: 4px; font-size: 10px; font-weight: 600;
|
|
transition: all var(--transition); backdrop-filter: blur(4px);
|
|
}
|
|
.tag-ok { background: rgba(63,185,80,0.15); color: var(--green); border: 1px solid rgba(63,185,80,0.3); }
|
|
.tag-ok:hover { background: rgba(63,185,80,0.25); box-shadow: 0 0 8px rgba(63,185,80,0.2); }
|
|
.tag-err { background: rgba(248,81,73,0.15); color: var(--red); border: 1px solid rgba(248,81,73,0.3); }
|
|
.tag-err:hover { background: rgba(248,81,73,0.25); box-shadow: 0 0 8px rgba(248,81,73,0.2); }
|
|
.tag-warn { background: rgba(210,153,34,0.15); color: var(--yellow); border: 1px solid rgba(210,153,34,0.3); }
|
|
.tag-warn:hover { background: rgba(210,153,34,0.25); box-shadow: 0 0 8px rgba(210,153,34,0.2); }
|
|
.tag-info { background: rgba(88,166,255,0.15); color: var(--blue); border: 1px solid rgba(88,166,255,0.3); }
|
|
.tag-info:hover { background: rgba(88,166,255,0.25); box-shadow: 0 0 8px rgba(88,166,255,0.2); }
|
|
|
|
/* Mini stats */
|
|
.mini { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
|
|
.mini-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
|
|
.mini-val { font-size: 14px; font-weight: 600; font-feature-settings: "tnum"; }
|
|
.mini-lbl { font-size: 10px; color: var(--dim); }
|
|
|
|
/* Proto cards */
|
|
.proto-card { text-align: center; transition: transform var(--transition); }
|
|
.proto-card:hover { transform: translateY(-2px); }
|
|
.proto-icon { font-size: 24px; margin-bottom: 6px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
|
|
.proto-name { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.5px; }
|
|
.proto-val { font-size: 20px; font-weight: 700; margin: 6px 0; }
|
|
.proto-rate { font-size: 11px; padding: 3px 8px; border-radius: 4px; display: inline-block; }
|
|
|
|
/* Pie charts */
|
|
.pie-wrap {
|
|
display: flex; gap: 20px; align-items: center;
|
|
background: linear-gradient(145deg, rgba(24,31,42,0.65), rgba(18,24,34,0.75));
|
|
border: 1px solid rgba(56,189,248,0.35); border-radius: 10px; padding: 16px;
|
|
box-shadow: 0 0 28px rgba(56,189,248,0.12), 0 0 1px rgba(56,189,248,0.4), var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.08);
|
|
position: relative; overflow: hidden; backdrop-filter: blur(8px);
|
|
}
|
|
.pie-wrap::before {
|
|
content: ''; position: absolute; inset: 0; border-radius: 10px;
|
|
background: linear-gradient(180deg, rgba(56,189,248,0.06) 0%, transparent 40%);
|
|
pointer-events: none;
|
|
}
|
|
.pie {
|
|
width: 100px; height: 100px; border-radius: 50%; flex-shrink: 0;
|
|
box-shadow: var(--shadow-md), inset 0 0 20px rgba(0,0,0,0.3);
|
|
position: relative; transition: transform var(--transition);
|
|
}
|
|
.pie:hover { transform: scale(1.02); }
|
|
.legend { flex: 1; }
|
|
.legend-item { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; transition: opacity var(--transition); }
|
|
.legend-item:hover { opacity: 0.8; }
|
|
.legend-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; box-shadow: 0 0 4px currentColor; }
|
|
.legend-name { flex: 1; color: var(--dim); }
|
|
.legend-val { font-weight: 600; font-feature-settings: "tnum"; }
|
|
|
|
/* Tor/Host cards */
|
|
.tor-card {
|
|
background: linear-gradient(145deg, rgba(24,31,42,0.7), rgba(18,24,34,0.8));
|
|
border: 1px solid rgba(56,189,248,0.28); border-radius: 10px; padding: 12px 14px;
|
|
box-shadow: 0 0 24px rgba(56,189,248,0.1), 0 0 1px rgba(56,189,248,0.35), var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.06);
|
|
position: relative; overflow: hidden; transition: all 0.2s ease; backdrop-filter: blur(6px);
|
|
}
|
|
.tor-card::before {
|
|
content: ''; position: absolute; inset: 0; border-radius: 10px;
|
|
background: linear-gradient(180deg, rgba(56,189,248,0.05) 0%, transparent 45%);
|
|
pointer-events: none;
|
|
}
|
|
.tor-card:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(56,189,248,0.15), 0 0 2px rgba(56,189,248,0.5), var(--shadow-lg); }
|
|
.host-card { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
|
|
.host-addr { font-family: ui-monospace, monospace; font-size: 12px; font-weight: 500; }
|
|
.host-stats { font-size: 11px; color: var(--dim); margin-top: 6px; position: relative; z-index: 1; }
|
|
|
|
.judge-item { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 11px; }
|
|
.judge-item + .judge-item { border-top: 1px solid rgba(58,68,80,0.3); }
|
|
.judge-name { font-family: ui-monospace, monospace; color: var(--dim); flex: 1; }
|
|
.judge-stats { display: flex; gap: 12px; }
|
|
|
|
/* Percentile badges */
|
|
.pct-badges {
|
|
display: flex; gap: 8px; margin-top: 10px;
|
|
background: linear-gradient(135deg, rgba(28,35,45,0.85), rgba(18,25,33,0.95));
|
|
border: 1px solid var(--border); border-radius: 8px; padding: 10px;
|
|
box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.04);
|
|
}
|
|
.pct-badge {
|
|
flex: 1; text-align: center; padding: 8px 6px;
|
|
background: linear-gradient(180deg, rgba(36,44,56,0.6), rgba(28,35,45,0.8));
|
|
border: 1px solid rgba(58,68,80,0.5); border-radius: 6px;
|
|
transition: all var(--transition);
|
|
}
|
|
.pct-badge:hover { background: linear-gradient(180deg, rgba(42,52,64,0.7), rgba(32,40,50,0.9)); transform: translateY(-1px); }
|
|
.pct-label { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.3px; }
|
|
.pct-value { font-size: 16px; font-weight: 700; margin-top: 3px; }
|
|
|
|
/* Map page */
|
|
.nav { margin-bottom: 16px; font-size: 12px; }
|
|
.map-stats { margin-bottom: 16px; color: var(--dim); font-size: 12px; padding: 8px 12px; background: var(--card); border: 1px solid var(--border); border-radius: 6px; }
|
|
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
|
|
.country { padding: 12px 8px; border-radius: 6px; text-align: center; background: var(--card); border: 1px solid var(--border); transition: transform 0.15s, box-shadow 0.15s; }
|
|
.country:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
|
|
.country .code { font-weight: bold; font-size: 1.1em; letter-spacing: 0.5px; }
|
|
.country .count { font-size: 0.85em; color: var(--dim); margin-top: 4px; font-feature-settings: "tnum"; }
|
|
.country.t1 { background: #0d4429; border-color: #238636; }
|
|
.country.t1 .code { color: #7ee787; }
|
|
.country.t2 { background: #1a3d2e; border-color: #2ea043; }
|
|
.country.t2 .code { color: #7ee787; }
|
|
.country.t3 { background: #1f3d2a; border-color: #3fb950; }
|
|
.country.t3 .code { color: #56d364; }
|
|
.country.t4 { background: #2a4a35; border-color: #56d364; }
|
|
.country.t4 .code { color: #3fb950; }
|
|
.country.t5 { background: #35573f; border-color: #7ee787; }
|
|
.country.t5 .code { color: #3fb950; }
|
|
.map-legend { display: flex; gap: 16px; margin-top: 20px; flex-wrap: wrap; padding: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 6px; }
|
|
.map-legend .legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); }
|
|
.map-legend .legend-dot { width: 12px; height: 12px; border-radius: 3px; }
|
|
|
|
/* Footer */
|
|
.ftr { text-align: center; font-size: 11px; color: var(--dim); padding: 16px 0; margin-top: 8px; border-top: 1px solid var(--border); }
|
|
|
|
/* Tabs */
|
|
.tabs { margin-bottom: 16px; }
|
|
.tab-nav {
|
|
display: flex; gap: 4px; padding: 4px; background: var(--card);
|
|
border: 1px solid var(--border); border-radius: 10px;
|
|
overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
|
|
}
|
|
.tab-nav::-webkit-scrollbar { display: none; }
|
|
.tab-btn {
|
|
padding: 8px 16px; border: none; background: transparent; color: var(--dim);
|
|
font-size: 12px; font-weight: 500; border-radius: 6px; cursor: pointer;
|
|
transition: all var(--transition); white-space: nowrap;
|
|
font-family: inherit;
|
|
}
|
|
.tab-btn:hover { color: var(--text); background: rgba(255,255,255,0.05); }
|
|
.tab-btn.active {
|
|
background: var(--blue); color: #fff; box-shadow: var(--shadow-sm), var(--glow-blue);
|
|
}
|
|
.tab-content { display: none; animation: fadeIn 0.3s ease; }
|
|
.tab-content.active { display: block; }
|
|
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
|
|
|
|
/* Responsive tabs */
|
|
@media (max-width: 768px) {
|
|
.tab-nav { padding: 3px; gap: 2px; }
|
|
.tab-btn { padding: 6px 12px; font-size: 11px; }
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Map Page Styles
|
|
========================================================================== */
|
|
|
|
/* Glass panel effect - reusable */
|
|
.glass {
|
|
background: linear-gradient(145deg, rgba(24,31,42,0.65), rgba(18,24,34,0.75));
|
|
backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(56,189,248,0.35); border-radius: 10px;
|
|
box-shadow: 0 0 28px rgba(56,189,248,0.12), 0 0 1px rgba(56,189,248,0.4),
|
|
var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.08);
|
|
position: relative; overflow: hidden;
|
|
}
|
|
.glass::before {
|
|
content: ''; position: absolute; inset: 0; border-radius: 10px;
|
|
background: linear-gradient(180deg, rgba(56,189,248,0.06) 0%, transparent 40%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Map container */
|
|
.map-page { padding: 0; overflow: hidden; background: var(--map-bg); }
|
|
.map-page #map { width: 100%; height: 100vh; }
|
|
|
|
/* Map navigation */
|
|
.map-nav { position: fixed; top: 20px; left: 20px; z-index: 1000; padding: 12px 20px; }
|
|
.map-nav a {
|
|
color: var(--text); text-decoration: none; font-size: 13px;
|
|
font-weight: 500; letter-spacing: 0.3px; transition: color var(--transition);
|
|
position: relative; z-index: 1;
|
|
}
|
|
.map-nav a:hover { color: var(--cyan); }
|
|
|
|
/* Map stats panel */
|
|
.map-stats-panel {
|
|
position: fixed; top: 20px; right: 20px; z-index: 1000;
|
|
padding: 16px 24px; display: flex; gap: 28px;
|
|
}
|
|
.map-stat { display: flex; flex-direction: column; align-items: flex-end; position: relative; z-index: 1; }
|
|
.map-stat-val {
|
|
font-size: 26px; font-weight: 600; color: var(--cyan); line-height: 1.1;
|
|
font-feature-settings: "tnum"; letter-spacing: -0.5px;
|
|
text-shadow: 0 0 20px rgba(56,189,248,0.4);
|
|
}
|
|
.map-stat-lbl {
|
|
font-size: 10px; color: rgba(56,189,248,0.6); text-transform: uppercase;
|
|
letter-spacing: 1px; margin-top: 4px;
|
|
}
|
|
|
|
/* Map legend panel */
|
|
.map-legend-panel { position: fixed; bottom: 24px; left: 20px; z-index: 1000; padding: 16px 20px; }
|
|
.map-legend-title {
|
|
font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
|
|
color: rgba(56,189,248,0.5); margin-bottom: 12px; position: relative; z-index: 1;
|
|
}
|
|
.map-legend-row {
|
|
display: flex; align-items: center; gap: 12px; margin: 8px 0;
|
|
font-size: 12px; color: rgba(230,237,243,0.7); position: relative; z-index: 1;
|
|
}
|
|
.map-legend-dot { width: 12px; height: 12px; border-radius: 50%; }
|
|
.map-legend-dot.elite { background: var(--green); box-shadow: 0 0 12px rgba(80,200,120,0.5); }
|
|
.map-legend-dot.anonymous { background: var(--cyan); box-shadow: 0 0 12px rgba(56,189,248,0.5); }
|
|
.map-legend-dot.transparent { background: var(--orange); box-shadow: 0 0 12px rgba(249,115,22,0.5); }
|
|
.map-legend-dot.unknown { background: var(--dim); box-shadow: 0 0 12px rgba(107,114,128,0.5); }
|
|
|
|
/* Map footer */
|
|
.map-footer {
|
|
position: fixed; bottom: 20px; right: 20px; z-index: 1000;
|
|
font-size: 11px; color: rgba(56,189,248,0.4);
|
|
}
|
|
.map-footer a { color: rgba(56,189,248,0.5); text-decoration: none; transition: color var(--transition); }
|
|
.map-footer a:hover { color: var(--cyan); }
|
|
|
|
/* Leaflet overrides for map page */
|
|
.map-page .leaflet-container { background: var(--map-bg); font-family: inherit; }
|
|
.map-page .leaflet-control-zoom { border: none !important; margin: 20px !important; }
|
|
.map-page .leaflet-control-zoom a {
|
|
background: linear-gradient(145deg, rgba(24,31,42,0.85), rgba(18,24,34,0.9)) !important;
|
|
backdrop-filter: blur(12px); color: rgba(56,189,248,0.8) !important;
|
|
border: 1px solid rgba(56,189,248,0.25) !important;
|
|
width: 36px; height: 36px; line-height: 36px !important;
|
|
font-size: 18px; font-weight: 300; transition: all var(--transition);
|
|
}
|
|
.map-page .leaflet-control-zoom a:first-child { border-radius: 8px 8px 0 0 !important; }
|
|
.map-page .leaflet-control-zoom a:last-child { border-radius: 0 0 8px 8px !important; border-top: none !important; }
|
|
.map-page .leaflet-control-zoom a:hover {
|
|
background: rgba(56,189,248,0.15) !important; color: var(--cyan) !important;
|
|
box-shadow: 0 0 16px rgba(56,189,248,0.3);
|
|
}
|
|
.map-page .leaflet-control-attribution {
|
|
background: transparent !important; color: rgba(56,189,248,0.3) !important;
|
|
font-size: 10px; padding: 4px 8px !important;
|
|
}
|
|
.map-page .leaflet-control-attribution a { color: rgba(56,189,248,0.4) !important; }
|
|
|
|
/* Map popups */
|
|
.map-page .leaflet-popup-content-wrapper {
|
|
background: linear-gradient(145deg, rgba(24,31,42,0.95), rgba(18,24,34,0.97));
|
|
backdrop-filter: blur(20px); color: var(--text); border-radius: 10px;
|
|
border: 1px solid rgba(56,189,248,0.3);
|
|
box-shadow: 0 0 32px rgba(56,189,248,0.15), 0 8px 32px rgba(0,0,0,0.5);
|
|
}
|
|
.map-page .leaflet-popup-tip { background: rgba(24,31,42,0.95); border: 1px solid rgba(56,189,248,0.2); }
|
|
.map-page .leaflet-popup-content { margin: 16px 20px; }
|
|
.popup-header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
|
|
.popup-code { font-size: 24px; font-weight: 600; letter-spacing: -0.5px; color: var(--cyan); text-shadow: 0 0 16px rgba(56,189,248,0.4); }
|
|
.popup-name { font-size: 12px; color: rgba(230,237,243,0.5); }
|
|
.popup-count { font-size: 16px; font-weight: 500; color: var(--green); }
|
|
.popup-coords { font-size: 11px; color: rgba(56,189,248,0.5); margin-top: 6px; font-family: ui-monospace, monospace; }
|
|
.map-page .leaflet-popup-close-button {
|
|
color: rgba(56,189,248,0.5) !important; font-size: 22px !important;
|
|
padding: 8px 12px !important; font-weight: 300;
|
|
}
|
|
.map-page .leaflet-popup-close-button:hover { color: var(--cyan) !important; }
|
|
|
|
/* Map cluster styles */
|
|
.cluster-wrapper { background: transparent !important; border: none !important; }
|
|
.cluster-icon {
|
|
display: flex; align-items: center; justify-content: center;
|
|
border-radius: 50%; font-weight: 600; font-size: 12px;
|
|
background: linear-gradient(145deg, rgba(80,200,120,0.9), rgba(56,189,248,0.9));
|
|
border: 2px solid rgba(56,189,248,0.6); color: #fff;
|
|
box-shadow: 0 0 16px rgba(56,189,248,0.5), var(--shadow-md);
|
|
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
|
|
}
|
|
.cluster-sm { width: 32px; height: 32px; font-size: 11px; }
|
|
.cluster-md { width: 40px; height: 40px; font-size: 13px; }
|
|
.cluster-lg { width: 50px; height: 50px; font-size: 15px; }
|
|
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: transparent !important; }
|
|
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: transparent !important; }
|
|
|
|
/* Loading animation */
|
|
@keyframes loading-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
|
|
.loading { animation: loading-pulse 1.8s ease-in-out infinite; }
|
|
|
|
/* ==========================================================================
|
|
MITM Search Page Styles
|
|
========================================================================== */
|
|
|
|
.search-container { max-width: 900px; margin: 0 auto; }
|
|
|
|
/* Search Header */
|
|
.search-header {
|
|
display: flex; justify-content: space-between; align-items: center;
|
|
margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
|
|
}
|
|
.search-header h1 {
|
|
font-size: 18px; font-weight: 600;
|
|
display: flex; align-items: center; gap: 10px;
|
|
}
|
|
.search-header h1::before {
|
|
content: ""; width: 10px; height: 10px;
|
|
background: var(--red); border-radius: 50%; box-shadow: 0 0 8px var(--red);
|
|
}
|
|
.back-link { font-size: 12px; color: var(--dim); }
|
|
.back-link:hover { color: var(--cyan); }
|
|
|
|
/* Search Box */
|
|
.search-box { position: relative; margin-bottom: 20px; }
|
|
.search-input {
|
|
width: 100%; padding: 14px 16px 14px 44px; font-size: 15px; font-family: inherit;
|
|
background: var(--card); border: 2px solid var(--border); border-radius: 10px;
|
|
color: var(--text); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
|
|
}
|
|
.search-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15); }
|
|
.search-input::placeholder { color: var(--dim); }
|
|
.search-icon {
|
|
position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
|
|
color: var(--dim); font-size: 16px; pointer-events: none;
|
|
}
|
|
.search-clear {
|
|
position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
|
|
background: var(--border); border: none; border-radius: 50%;
|
|
width: 22px; height: 22px; cursor: pointer; color: var(--dim); font-size: 14px;
|
|
display: none; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s;
|
|
}
|
|
.search-clear:hover { background: var(--red); color: var(--text); }
|
|
.search-clear.visible { display: flex; }
|
|
|
|
/* Suggestions Dropdown */
|
|
.suggestions {
|
|
position: absolute; top: 100%; left: 0; right: 0;
|
|
background: var(--card); border: 1px solid var(--border); border-radius: 8px;
|
|
margin-top: 4px; box-shadow: var(--shadow-lg); z-index: 100;
|
|
display: none; max-height: 300px; overflow-y: auto;
|
|
}
|
|
.suggestions.visible { display: block; }
|
|
.suggestion-group { padding: 8px 0; border-bottom: 1px solid var(--border); }
|
|
.suggestion-group:last-child { border-bottom: none; }
|
|
.suggestion-header {
|
|
font-size: 10px; font-weight: 600; text-transform: uppercase;
|
|
letter-spacing: 0.5px; color: var(--dim); padding: 4px 14px;
|
|
}
|
|
.suggestion-item {
|
|
padding: 8px 14px; cursor: pointer;
|
|
display: flex; align-items: center; gap: 10px; transition: background 0.15s;
|
|
}
|
|
.suggestion-item:hover, .suggestion-item.active { background: rgba(88, 166, 255, 0.1); }
|
|
.suggestion-icon { font-size: 12px; color: var(--dim); width: 20px; text-align: center; }
|
|
.suggestion-text { flex: 1; font-size: 13px; }
|
|
.suggestion-text code {
|
|
background: var(--card-alt); padding: 2px 6px; border-radius: 4px;
|
|
font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; color: var(--cyan);
|
|
}
|
|
.suggestion-desc { font-size: 11px; color: var(--dim); }
|
|
|
|
/* Help Box */
|
|
.help-box {
|
|
background: var(--card); border: 1px solid var(--border);
|
|
border-radius: 10px; padding: 16px; margin-bottom: 20px;
|
|
}
|
|
.help-box.collapsed .help-content { display: none; }
|
|
.help-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
|
|
.help-title {
|
|
font-size: 13px; font-weight: 600; color: var(--text);
|
|
display: flex; align-items: center; gap: 8px;
|
|
}
|
|
.help-title::before {
|
|
content: "?"; display: flex; align-items: center; justify-content: center;
|
|
width: 18px; height: 18px; background: var(--blue); color: var(--bg);
|
|
border-radius: 50%; font-size: 11px; font-weight: 700;
|
|
}
|
|
.help-toggle { font-size: 12px; color: var(--dim); transition: transform 0.2s; }
|
|
.help-box.collapsed .help-toggle { transform: rotate(-90deg); }
|
|
.help-content { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
|
|
.help-section { margin-bottom: 14px; }
|
|
.help-section:last-child { margin-bottom: 0; }
|
|
.help-section-title {
|
|
font-size: 11px; font-weight: 600; text-transform: uppercase;
|
|
letter-spacing: 0.5px; color: var(--dim); margin-bottom: 8px;
|
|
}
|
|
.help-examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
|
|
@media (max-width: 600px) { .help-examples { grid-template-columns: 1fr; } }
|
|
.help-example {
|
|
background: var(--card-alt); padding: 8px 12px; border-radius: 6px; font-size: 12px;
|
|
}
|
|
.help-example code { color: var(--cyan); font-family: "SFMono-Regular", Consolas, monospace; }
|
|
.help-example span { color: var(--dim); margin-left: 6px; }
|
|
|
|
/* Stats Summary */
|
|
.stats-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
|
|
@media (max-width: 700px) { .stats-summary { grid-template-columns: repeat(2, 1fr); } }
|
|
.stat-card {
|
|
background: var(--card); border: 1px solid var(--border);
|
|
border-radius: 8px; padding: 12px; text-align: center;
|
|
}
|
|
.stat-card .lbl { font-size: 10px; margin-bottom: 4px; }
|
|
.stat-card .val { font-size: 22px; font-weight: 700; }
|
|
|
|
/* Results Area */
|
|
.results-container { min-height: 200px; }
|
|
.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
|
|
.results-count { font-size: 12px; color: var(--dim); }
|
|
.results-count strong { color: var(--text); }
|
|
.results-empty { text-align: center; padding: 60px 20px; color: var(--dim); }
|
|
.results-empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
|
|
.results-empty-text { font-size: 14px; margin-bottom: 8px; }
|
|
.results-empty-hint { font-size: 12px; }
|
|
.results-empty-hint code {
|
|
background: var(--card-alt); padding: 2px 6px; border-radius: 4px;
|
|
font-family: "SFMono-Regular", Consolas, monospace; color: var(--cyan);
|
|
}
|
|
|
|
/* Result Cards */
|
|
.result-card {
|
|
background: var(--card); border: 1px solid var(--border); border-radius: 10px;
|
|
padding: 16px; margin-bottom: 12px; transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
.result-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
|
|
.result-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
|
|
.result-title {
|
|
font-size: 14px; font-weight: 600; color: var(--text);
|
|
display: flex; align-items: center; gap: 8px;
|
|
}
|
|
.result-badge {
|
|
font-size: 10px; padding: 3px 8px; border-radius: 4px;
|
|
font-weight: 600; text-transform: uppercase;
|
|
}
|
|
.result-badge.cert { background: rgba(248, 81, 73, 0.2); color: var(--red); }
|
|
.result-badge.proxy { background: rgba(88, 166, 255, 0.2); color: var(--blue); }
|
|
.result-badge.org { background: rgba(163, 113, 247, 0.2); color: var(--purple); }
|
|
.result-meta { font-size: 11px; color: var(--dim); }
|
|
.result-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
|
|
@media (max-width: 600px) { .result-body { grid-template-columns: 1fr; } }
|
|
.result-field { display: flex; flex-direction: column; gap: 2px; }
|
|
.result-field-label {
|
|
font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.5px;
|
|
}
|
|
.result-field-value {
|
|
font-size: 13px; font-family: "SFMono-Regular", Consolas, monospace;
|
|
color: var(--text); word-break: break-all;
|
|
}
|
|
.result-field-value.highlight { color: var(--cyan); }
|
|
.result-proxies { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
|
|
.result-proxies-title {
|
|
font-size: 10px; color: var(--dim); text-transform: uppercase;
|
|
letter-spacing: 0.5px; margin-bottom: 8px;
|
|
}
|
|
.proxy-tags { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
.proxy-tag {
|
|
font-size: 11px; font-family: "SFMono-Regular", Consolas, monospace;
|
|
background: var(--card-alt); padding: 4px 8px; border-radius: 4px; color: var(--blue);
|
|
}
|
|
|
|
/* Loading State */
|
|
.results-loading { text-align: center; padding: 40px; color: var(--dim); }
|
|
.results-loading::after {
|
|
content: ""; display: inline-block; width: 20px; height: 20px;
|
|
border: 2px solid var(--border); border-top-color: var(--cyan); border-radius: 50%;
|
|
animation: spin 0.8s linear infinite; margin-left: 10px; vertical-align: middle;
|
|
}
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
|
|
/* No Data State */
|
|
.no-data { text-align: center; padding: 80px 20px; }
|
|
.no-data-icon { font-size: 64px; margin-bottom: 20px; opacity: 0.3; }
|
|
.no-data-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
|
|
.no-data-text { font-size: 13px; color: var(--dim); max-width: 400px; margin: 0 auto; }
|
|
|
|
/* ==========================================================================
|
|
Theme Toggle
|
|
========================================================================== */
|
|
|
|
.theme-toggle {
|
|
background: var(--card-alt);
|
|
border: 1px solid var(--border);
|
|
border-radius: 20px;
|
|
padding: 4px 10px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: var(--dim);
|
|
transition: all var(--transition);
|
|
margin-left: 12px;
|
|
}
|
|
.theme-toggle:hover {
|
|
background: var(--border);
|
|
color: var(--text);
|
|
}
|
|
.theme-toggle-icon {
|
|
font-size: 14px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
html.muted-dark .theme-toggle-icon {
|
|
transform: rotate(90deg);
|
|
}
|
|
html.light .theme-toggle-icon {
|
|
transform: rotate(180deg);
|
|
}
|
|
/* Muted dark theme specific overrides */
|
|
html.muted-dark .chart-wrap,
|
|
html.muted-dark .histo-wrap,
|
|
html.muted-dark .stats-wrap,
|
|
html.muted-dark .lb-wrap,
|
|
html.muted-dark .tor-card,
|
|
html.muted-dark .pie-wrap {
|
|
background: linear-gradient(145deg, rgba(34,37,42,0.85), rgba(26,28,32,0.9));
|
|
border-color: var(--border);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
html.muted-dark .chart-wrap::before,
|
|
html.muted-dark .histo-wrap::before,
|
|
html.muted-dark .stats-wrap::before,
|
|
html.muted-dark .lb-wrap::before,
|
|
html.muted-dark .tor-card::before,
|
|
html.muted-dark .pie-wrap::before {
|
|
background: linear-gradient(180deg, rgba(90,144,152,0.04) 0%, transparent 40%);
|
|
}
|
|
html.muted-dark .histo-bar {
|
|
background: linear-gradient(180deg, var(--cyan), rgba(90,144,152,0.5));
|
|
box-shadow: 0 0 8px rgba(90,144,152,0.35);
|
|
}
|
|
html.muted-dark .glass {
|
|
background: linear-gradient(145deg, rgba(34,37,42,0.85), rgba(26,28,32,0.9));
|
|
border-color: var(--border);
|
|
}
|
|
/* Light theme specific overrides */
|
|
html.light .chart-wrap,
|
|
html.light .histo-wrap,
|
|
html.light .stats-wrap,
|
|
html.light .lb-wrap,
|
|
html.light .tor-card,
|
|
html.light .pie-wrap {
|
|
background: linear-gradient(145deg, rgba(245,242,237,0.9), rgba(235,231,226,0.95));
|
|
border-color: var(--border);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
html.light .chart-wrap::before,
|
|
html.light .histo-wrap::before,
|
|
html.light .stats-wrap::before,
|
|
html.light .lb-wrap::before,
|
|
html.light .tor-card::before,
|
|
html.light .pie-wrap::before {
|
|
background: linear-gradient(180deg, rgba(200,195,188,0.1) 0%, transparent 40%);
|
|
}
|
|
html.light .histo-bar {
|
|
background: linear-gradient(180deg, var(--cyan), rgba(26,122,127,0.6));
|
|
box-shadow: 0 0 8px rgba(26,122,127,0.3);
|
|
}
|
|
html.light .glass {
|
|
background: linear-gradient(145deg, rgba(245,242,237,0.9), rgba(235,231,226,0.95));
|
|
border-color: var(--border);
|
|
}
|
|
html.light .pct-badges {
|
|
background: linear-gradient(135deg, rgba(245,242,237,0.95), rgba(235,231,226,0.98));
|
|
}
|
|
html.light .pct-badge {
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(245,242,237,0.8));
|
|
border-color: var(--border);
|
|
}
|
|
html.light .map-stat-val {
|
|
color: var(--cyan);
|
|
text-shadow: none;
|
|
}
|
|
html.light .map-stat-lbl {
|
|
color: var(--dim);
|
|
}
|
|
html.light .map-legend-title {
|
|
color: var(--dim);
|
|
}
|
|
html.light .map-legend-row {
|
|
color: var(--text);
|
|
}
|
|
html.light .leaflet-popup-content-wrapper {
|
|
background: rgba(245,242,237,0.98);
|
|
border-color: var(--border);
|
|
}
|
|
html.light .leaflet-popup-tip {
|
|
background: rgba(245,242,237,0.98);
|
|
border-color: var(--border);
|
|
}
|
|
html.light .popup-code {
|
|
color: var(--cyan);
|
|
text-shadow: none;
|
|
}
|