File size: 4,194 Bytes
2e10c7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* The brain view's overlays on .brain-stage (theme/brand.css): legend, tooltip, message, hint and the pinned neuron. */
.brain-stage { color: var(--fly-text); font-family: var(--fly-font); font-size: 12px; user-select: none; }
.brain-stage .brain3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.brain-stage .brain3d-canvas.dragging { cursor: grabbing; }
.brain3d-legend { position: absolute; top: 8px; left: 8px; max-height: calc(100% - 16px); overflow-y: auto; padding: 6px 8px; z-index: 2;
  background: rgb(14 12 18 / 72%); border: 1px solid var(--fly-line); border-radius: 8px; line-height: 1.5; backdrop-filter: blur(4px); }
.brain3d-legend label { display: flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; opacity: 0.9; margin: 0; }
.brain3d-legend label.off { opacity: 0.45; }
.brain3d-legend input { margin: 0; accent-color: var(--fly-magenta); }
.brain3d-legend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.brain3d-legend .sw.line { width: 14px; height: 3px; border-radius: 2px; }
.brain3d-legend .hd { margin-top: 4px; font-weight: 600; color: var(--fly-muted); display: flex; align-items: center; gap: 6px; }
.brain3d-legend .hd:first-child { margin-top: 0; }
.brain3d-legend .fold { background: none; border: 0; padding: 0; color: var(--fly-muted); cursor: pointer; font-size: 15px; line-height: 1; margin-left: auto; }
.brain3d-legend.folded { overflow: hidden; }
.brain3d-tip { position: absolute; pointer-events: none; padding: 3px 7px; border-radius: 5px; white-space: nowrap; z-index: 3; display: none;
  background: rgb(30 25 38 / 94%); border: 1px solid rgb(255 255 255 / 12%); color: #f4f2f8; font-family: var(--fly-mono); font-size: 11.5px; }
.brain3d-msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 8px 14px; border-radius: 8px; z-index: 2;
  background: rgb(14 12 18 / 82%); border: 1px solid var(--fly-line); text-align: center; max-width: 70%; font-size: 13px; pointer-events: none; }
.brain3d-hint { position: absolute; right: 10px; bottom: 6px; color: var(--fly-muted); opacity: 0.8; pointer-events: none; z-index: 1; }
.brain3d-pin { position: absolute; top: 8px; right: 8px; width: min(310px, calc(100% - 16px)); z-index: 2; padding: 8px 10px 6px;
  background: rgb(14 12 18 / 82%); border: 1px solid rgb(182 255 59 / 30%); border-radius: 10px; backdrop-filter: blur(4px); user-select: text; }
.brain3d-pin .top { display: flex; align-items: flex-start; gap: 6px; }
.brain3d-pin .name { font-family: var(--fly-head); font-weight: 600; font-size: 13.5px; color: #fff; word-break: break-all; }
.brain3d-pin .sub { color: var(--fly-muted); font-size: 11.5px; }
.brain3d-pin .x { margin-left: auto; background: none; border: 0; color: var(--fly-muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 2px; }
.brain3d-pin .x:hover { color: #fff; }
.brain3d-pin .now { font-family: var(--fly-mono); font-size: 18px; margin: 2px 0; }
.brain3d-pin .now.pos { color: #ffb066; }
.brain3d-pin .now.neg { color: #7fb8ff; }
.brain3d-pin svg { display: block; width: 100%; }
.brain3d-pin .axis { display: flex; justify-content: space-between; color: var(--fly-muted); font-size: 10.5px; font-family: var(--fly-mono); }
.brain-controls { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-bottom: 0.9rem; }
.brain-controls .field { display: flex; align-items: center; gap: 0.6rem; }
.brain-controls .lbl { font-size: 13px; color: rgb(255 255 255 / 75%); white-space: nowrap; }
.brain-sep { width: 1px; height: 22px; background: rgb(255 255 255 / 18%); margin: 0 0.25rem; }
.brain-slider { margin: 0 0 0.75rem; }
.brain-slider .head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; font-size: 13px; color: var(--fly-muted); }
.brain-slider .head .val { font-family: var(--fly-mono); color: #fff; }
.brain-slider .ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--fly-muted); font-family: var(--fly-mono); }
.brain-slider input[type='range'] { width: 100%; accent-color: var(--fly-magenta); }