feat(gui): netwerk tab netwerk layout grafisch

This commit is contained in:
kodi
2026-02-22 18:24:57 +01:00
parent e4214858ac
commit 18ee367e1d
4 changed files with 360 additions and 3 deletions
+85 -1
View File
@@ -487,4 +487,88 @@ pre{
font-size: 11px;
margin-left: 4px;
opacity: .75;
}
}
/* ===== Netwerken: Tabel/Kaart toggle + kaart placeholders (STAP 3A-1) ===== */
.segToggle{
display:inline-flex;
border:1px solid rgba(255,255,255,0.12);
background: rgba(255,255,255,0.04);
border-radius: 12px;
overflow:hidden;
}
.segToggle .seg{
appearance:none;
border:0;
background: transparent;
color: inherit;
padding: 8px 10px;
font-size: 13px;
line-height: 1;
cursor:pointer;
opacity: .85;
}
.segToggle .seg:hover{ opacity: 1; }
.segToggle .seg.active{
background: rgba(255,255,255,0.08);
opacity: 1;
}
.mapHost{
border: 1px solid rgba(255,255,255,0.10);
background: rgba(0,0,0,0.18);
border-radius: 14px;
min-height: 420px;
overflow: hidden;
}
.mapLegend{
margin-top: 10px;
padding: 10px 12px;
border: 1px solid rgba(255,255,255,0.10);
background: rgba(0,0,0,0.18);
border-radius: 14px;
max-width: 360px;
}
.mapLegend .legendTitle{
font-weight: 700;
margin-bottom: 8px;
}
.mapLegend .legendRow{
display:flex;
align-items:center;
gap: 10px;
margin: 6px 0;
}
.mapLegend .legendSwatch{
width: 14px;
height: 14px;
border-radius: 6px;
display:inline-block;
border: 1px solid rgba(255,255,255,0.14);
}
.mapLegend .legendSwatch.link{
width: 18px;
height: 2px;
border-radius: 2px;
border: 0;
background: rgba(255,255,255,0.22);
}
.mapLegend .legendSwatch.shared{
width: 18px;
height: 2px;
border-radius: 0;
border: 0;
background: rgba(255,255,255,0.22);
background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.22), rgba(255,255,255,0.22) 6px, transparent 6px, transparent 10px);
}
.mapLegend .legendSwatch.net{ background: rgba(80,160,255,0.35); }
.mapLegend .legendSwatch.ctr{ background: rgba(150,230,150,0.30); }