Update TGU 2D map spacecraft visibility controls

Switch the 2D map sidebar from single-spacecraft selection to per-spacecraft visibility toggles, add a show-all action, and update map tab labels and styles for the all-spacecraft view.
This commit is contained in:
Дмитрий Соловьев
2026-05-30 21:13:50 +03:00
parent 39f108e496
commit 3d508b6be9
6 changed files with 72 additions and 54 deletions
@@ -720,22 +720,25 @@
.tgu-map-spacecraft {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
grid-template-columns: auto minmax(0, 1fr) auto;
gap: 0.55rem;
align-items: center;
width: 100%;
border: 1px solid transparent;
border: 1px solid var(--line-soft);
border-radius: 6px;
padding: 0.5rem 0.55rem;
background: transparent;
background: #111416;
color: var(--text-muted);
text-align: left;
cursor: pointer;
transition: opacity 0.15s;
}
.tgu-map-spacecraft.is-selected {
border-color: rgba(104, 195, 189, 0.46);
background: rgba(104, 195, 189, 0.12);
color: var(--text);
.tgu-map-spacecraft input {
accent-color: var(--accent);
flex-shrink: 0;
}
.tgu-map-spacecraft.is-hidden {
opacity: 0.4;
}
.tgu-map-spacecraft__name,