:root{ --bg: #0b1220; --panel: #111a2e; --panel2: #0e1730; --text: #e8eefc; --muted:#9bb0da; --border:#24345f; --ok:#2dd4bf; --warn:#fbbf24; --bad:#fb7185; --btn:#1b2a55; --btn2:#223564; --accent:#60a5fa; --shadow: 0 10px 30px rgba(0,0,0,.35); --radius: 14px; --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji"; } *{box-sizing:border-box} body{ margin:0; font-family: var(--sans); background: radial-gradient(1200px 600px at 20% 0%, #18244a 0%, var(--bg) 55%); color: var(--text); } header{ position: sticky; top:0; z-index:10; background: rgba(11,18,32,.7); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(36,52,95,.7); } .wrap{max-width:1700px;margin:0 auto;padding:16px} .topbar{ display:flex; gap:12px; align-items:center; justify-content:space-between; } .brand{ display:flex; gap:12px; align-items:center; font-weight:700; letter-spacing:.2px; } .brandLogo{ width: 34px; height: 34px; display:block; } .dot{ width:12px;height:12px;border-radius:50%; background: var(--ok); box-shadow: 0 0 0 6px rgba(45,212,191,.15); } .statusline{color:var(--muted); font-size:13px} .row{display:flex; gap:14px; flex-wrap:wrap} .tabs{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; } .tab{ border:1px solid var(--border); background: rgba(17,26,46,.6); color: var(--text); padding:10px 12px; border-radius: 999px; cursor:pointer; user-select:none; font-size:14px; } .tab.active{ background: linear-gradient(135deg, rgba(96,165,250,.25), rgba(17,26,46,.6)); border-color: rgba(96,165,250,.5); } .grid{ display:grid; grid-template-columns: 1fr; gap:14px; padding:16px 0 26px; } @media (min-width: 980px){ .grid{grid-template-columns: 1fr 1fr} } .card{ background: linear-gradient(180deg, rgba(17,26,46,.85), rgba(14,23,48,.85)); border: 1px solid rgba(36,52,95,.9); border-radius: var(--radius); box-shadow: var(--shadow); overflow:hidden; } .card.half{min-height: 240px;} .cardHeader{ display:flex; align-items:center; justify-content:space-between; padding:14px 14px; border-bottom:1px solid rgba(36,52,95,.7); } .cardTitle{ font-weight:700; display:flex; gap:10px; align-items:center; } .cardBody{padding:14px} .btn{ border:1px solid rgba(36,52,95,.9); background: var(--btn); color: var(--text); padding:9px 10px; border-radius: 12px; cursor:pointer; font-size:13px; } .btn:hover{background: var(--btn2)} .btn.small{padding:7px 9px; border-radius: 10px} .btn.ghost{background: transparent} .btn.ok{border-color: rgba(45,212,191,.6)} .btn.bad{border-color: rgba(251,113,133,.6)} .btn.warn{border-color: rgba(251,191,36,.6)} .btn.icon { padding: 6px 7px; min-width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; border-radius: 8px; } .btn.icon span { pointer-events: none; } .pill{ display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; border:1px solid rgba(36,52,95,.9); color: var(--muted); font-size:12px; } .pill .b{color: var(--text); font-weight:600} table{ width:100%; border-collapse: collapse; font-size: 13px; } th,td{ padding:10px 8px; border-bottom:1px solid rgba(36,52,95,.6); text-align:left; vertical-align: top; } th{color: var(--muted); font-weight:600} tr:hover td{background: rgba(96,165,250,.06)} .badge { display: inline-flex; align-items: center; vertical-align: middle; line-height: 1; padding: 4px 8px; border: 1px solid rgba(36, 52, 95, .9); border-radius: 999px; font-size: 12px; color: var(--muted); white-space: nowrap; /* Tip: dit voorkomt dat je badge tekst afbreekt */ } pre.code{ padding:10px; border-radius:10px; border:1px solid rgba(255,255,255,.15); } .badge.ok{border-color: rgba(45,212,191,.6); color: var(--ok)} .badge.bad{border-color: rgba(251,113,133,.6); color: var(--bad)} .badge.warn{border-color: rgba(251,191,36,.6); color: var(--warn)} .mono{font-family: var(--mono)} .muted{color:var(--muted)} .num{ text-align:right; white-space:nowrap; font-variant-numeric: tabular-nums; } .flex{display:flex; gap:8px; flex-wrap:wrap; align-items:center} .input, .textarea{ width: 100%; background: rgba(8,12,25,.6); border:1px solid rgba(36,52,95,.9); color: var(--text); border-radius: 12px; padding:10px 12px; outline:none; font-size: 13px; } .textarea{min-height: 120px; font-family: var(--mono)} .split{ display:grid; grid-template-columns: 1fr; gap:12px; } @media (min-width: 980px){ .split{grid-template-columns: 1fr 1fr} } /* Stats / summary cards */ .statGrid{ display:grid; grid-template-columns: 1fr; gap:10px; } @media (min-width: 980px){ .statGrid{grid-template-columns: repeat(4, 1fr)} } .statCard{ background: rgba(8,12,25,.45); border:1px solid rgba(36,52,95,.9); border-radius: 14px; padding:10px 12px; } .statValue{ font-weight:800; font-size: 20px; line-height: 1.1; letter-spacing: .2px; } .statLabel{ color: var(--muted); font-size: 12px; margin-top: 4px; } .statHint{ color: var(--muted); font-size: 12px; margin-top: 6px; } /* Modal */ .modalBack{ position: fixed; inset:0; background: rgba(0,0,0,.55); display:none; align-items:center; justify-content:center; padding:18px; z-index: 99; } .modal{ width:min(980px, 100%); background: linear-gradient(180deg, rgba(17,26,46,.95), rgba(14,23,48,.95)); border:1px solid rgba(36,52,95,.9); border-radius: 18px; box-shadow: var(--shadow); overflow:hidden; } .modalHeader{ padding:12px 14px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid rgba(36,52,95,.7); } .modalTitle{font-weight:700} .modalBody{padding:14px} pre{ margin:0; white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 12.5px; color: #d9e6ff; background: rgba(0,0,0,.35); border:1px solid rgba(36,52,95,.7); border-radius: 14px; padding: 12px; max-height: 60vh; overflow:auto; } .hint{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.35} .pod-group-row td { background: rgba(255,255,255,0.04); border-top: 1px solid rgba(255,255,255,0.08); font-weight: 600; } .pod-group-row:hover td { background: rgba(255,255,255,0.07); } .stale { opacity: 0.65; font-style: italic; } /* 3-dot dropdown actions */ .actions-menu { position: relative; display: inline-flex; } .menuPanel{ position: absolute; right: 0; top: 34px; min-width: 140px; background: linear-gradient(180deg, rgba(17,26,46,.98), rgba(14,23,48,.98)); border: 1px solid rgba(36,52,95,.9); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: none; z-index: 50; } .menuPanel.open { display: block; } .menuItem{ width: 100%; text-align: left; padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer; font-size: 13px; } .menuItem:hover{ background: rgba(96,165,250,.10); border-color: rgba(96,165,250,.25); } .menuItem.ok{ border-color: rgba(45,212,191,.35); } .menuItem.warn{ border-color: rgba(251,191,36,.35); } .menuItem.bad{ border-color: rgba(251,113,133,.35); } /* css voor herziene Netwerken pagina */ /* Toolbar controls */ .toolbar .input, .toolbar .select{ background: rgba(8,12,25,.45); border:1px solid rgba(36,52,95,.9); color: var(--fg); border-radius: 12px; padding:8px 10px; outline: none; } .toolbar .input::placeholder{ color: rgba(200,210,255,.45); } .chip{ display:inline-flex; align-items:center; gap:8px; padding:7px 10px; border-radius: 999px; border:1px solid rgba(36,52,95,.9); background: rgba(8,12,25,.35); color: var(--fg); cursor:pointer; user-select:none; font-size: 13px; } .chip input{ accent-color: var(--accent); } /* ========================= Layout: Sidebar + Main ========================= */ .layout { display: flex; gap: 0; align-items: stretch; } /* Sidebar links (onder header) */ .sidebar { width: 220px; flex: 0 0 220px; border-right: 1px solid rgba(36,52,95,.7); background: rgba(11,18,32,.55); backdrop-filter: blur(10px); min-height: calc(100vh - 72px); /* header hoogte approx; mag iets afwijken */ position: sticky; top: 72px; /* start direct onder header */ align-self: flex-start; padding: 12px; } .sidebar.collapsed { width: 64px; flex-basis: 64px; } /* Toggle button bovenaan in sidebar */ .sidebarTop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .sidebarToggle { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; } /* Verticale tabs */ .sidebar .tabs { display: flex; flex-direction: column; gap: 8px; margin-top: 0; /* override jouw header margin-top */ } /* Tab als menu item (zelfde element, andere layout) */ .sidebar .tab { width: 100%; display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 10px 12px; } /* Icon + label */ .navIcon { width: 22px; text-align: center; font-size: 16px; line-height: 1; } .navLabel { white-space: nowrap; } /* Collapsed: alleen icon zichtbaar */ .sidebar.collapsed .navLabel { display: none; } .sidebar.collapsed .tab { justify-content: center; padding: 10px 10px; } /* Main content: behoud jouw wrap look, maar laat het rechts groeien */ .main { flex: 1 1 auto; min-width: 0; } /* Op small screens: standaard collapsed (optioneel maar praktisch) */ @media (max-width: 980px){ .sidebar { width: 64px; flex-basis: 64px; } .sidebar .navLabel { display: none; } .sidebar .tab { justify-content: center; } } .file-folder-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; user-select:none; } .file-folder-left{ display:flex; align-items:center; gap:10px; } .file-folder-files{ margin-left: 18px; } .data-table { width: 100%; border-collapse: collapse; } .data-table th, .data-table td { padding: 8px; border-bottom: 1px solid #ddd; text-align: left; } .badge-green { background: #2ecc71; color: white; } .badge-yellow { background: #f1c40f; color: black; } .sortable { cursor: pointer; user-select: none; } .sort-indicator{ display: inline-block; width: 14px; /* vaste ruimte => geen verspringen */ text-align: center; 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); } /* ===== Netwerken kaart (D3) ===== */ .mapHost svg { width: 100%; height: 100%; display:block; } .graphLink{ stroke: rgba(255,255,255,0.22); stroke-width: 1.2; } .graphLink.shared{ stroke-dasharray: 6 4; stroke: rgba(255,255,255,0.28); } .graphNode circle{ stroke: rgba(255,255,255,0.18); stroke-width: 1; } .graphNode.network circle{ fill: rgba(80,160,255,0.35); } .graphNode.container circle{ fill: rgba(150,230,150,0.30); } .graphLabel{ fill: rgba(255,255,255,0.82); font-size: 12px; pointer-events: none; } .graphDim{ opacity: 0.18; } .graphActive{ opacity: 1; stroke: rgba(255,255,255,0.55); stroke-width: 2; } /* ===== Netwerken detailpaneel ===== */ .mapDetail{ 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; } .mapDetailHeader{ display:flex; align-items:center; gap: 10px; margin-bottom: 10px; } .mapDetailTitle{ font-weight: 800; } .mapDetailBody{ font-size: 13px; opacity: 0.92; } .mapDetailGrid{ display:grid; grid-template-columns: 140px 1fr; gap: 6px 10px; margin-bottom: 10px; } .mapDetailKey{ opacity: 0.75; } .mapDetailList{ margin: 8px 0 0 0; padding-left: 18px; } .mapDetailList li{ margin: 4px 0; } .mapDetailLink{ cursor: pointer; text-decoration: underline; }