2dfe53895b
- Vervang kaart-stijl folder-rijen door compacte, platte rijen (2px padding, geen border) - Verwijder badge-tellers (📁 N, 📄 N) uit folder-rijen - Voeg .btn.tiny toe voor kleine actieknoppen (+/✕) in boom - Alle mappen standaard ingeklapt; localStorage behoudt uitgeklapte staat - file-entry hover highlight; verwijder bottom-border per rij Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1011 lines
24 KiB
CSS
1011 lines
24 KiB
CSS
:root{
|
|
--bg: #0b1220;
|
|
--panel: #111a2e;
|
|
--panel2: #0e1730;
|
|
--text: #e8eefc;
|
|
--fg: #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);
|
|
--bg-grad-start: #18244a;
|
|
--header-bg: rgba(11,18,32,.7);
|
|
--header-border: rgba(36,52,95,.7);
|
|
--tab-bg: rgba(17,26,46,.6);
|
|
--tab-active-bg: linear-gradient(135deg, rgba(96,165,250,.25), rgba(17,26,46,.6));
|
|
--tab-active-border: rgba(96,165,250,.5);
|
|
--card-bg: linear-gradient(180deg, rgba(17,26,46,.85), rgba(14,23,48,.85));
|
|
--card-border: rgba(36,52,95,.9);
|
|
--soft-line: rgba(36,52,95,.6);
|
|
--hover-bg: rgba(96,165,250,.06);
|
|
--input-bg: rgba(8,12,25,.6);
|
|
--input-placeholder: rgba(200,210,255,.45);
|
|
--overlay-bg: rgba(0,0,0,.55);
|
|
--pre-bg: rgba(0,0,0,.35);
|
|
--pre-text: #d9e6ff;
|
|
--pod-row-bg: rgba(255,255,255,0.04);
|
|
--pod-row-top: rgba(255,255,255,0.08);
|
|
--pod-row-hover: rgba(255,255,255,0.07);
|
|
--menu-hover-bg: rgba(96,165,250,.10);
|
|
--menu-hover-border: rgba(96,165,250,.25);
|
|
--sidebar-bg: rgba(11,18,32,.55);
|
|
--folder-bg: rgba(17,26,46,.35);
|
|
--folder-hover: rgba(96,165,250,.08);
|
|
--folder-toggle-bg: rgba(8,12,25,.35);
|
|
--map-border: rgba(255,255,255,0.10);
|
|
--map-bg: rgba(0,0,0,0.18);
|
|
--map-line: rgba(255,255,255,0.22);
|
|
--map-line-strong: rgba(255,255,255,0.28);
|
|
--map-node-stroke: rgba(255,255,255,0.18);
|
|
--map-node-net: rgba(80,160,255,0.35);
|
|
--map-node-ctr: rgba(150,230,150,0.30);
|
|
--map-label: rgba(255,255,255,0.82);
|
|
--map-active: rgba(255,255,255,0.55);
|
|
--legend-row-border: rgba(255,255,255,0.12);
|
|
--legend-row-bg: rgba(255,255,255,0.03);
|
|
--legend-row-border-hover: rgba(255,255,255,0.25);
|
|
--legend-row-bg-hover: rgba(255,255,255,0.06);
|
|
--table-zebra: rgba(96,165,250,.03);
|
|
--sticky-head-bg: rgba(17,26,46,.96);
|
|
--state-info-bg: rgba(96,165,250,.08);
|
|
--state-info-border: rgba(96,165,250,.35);
|
|
--state-empty-bg: rgba(251,191,36,.08);
|
|
--state-empty-border: rgba(251,191,36,.35);
|
|
--state-error-bg: rgba(251,113,133,.08);
|
|
--state-error-border: rgba(251,113,133,.35);
|
|
--map-tooltip-bg: rgba(11,18,32,.95);
|
|
--map-tooltip-border: rgba(36,52,95,.9);
|
|
--fs-body: 14px;
|
|
--fs-small: 12px;
|
|
--fs-title: 16px;
|
|
--fs-kpi: 22px;
|
|
--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";
|
|
}
|
|
[data-theme="light"]{
|
|
--bg: #f3f6fb;
|
|
--panel: #ffffff;
|
|
--panel2: #eef3fb;
|
|
--text: #111827;
|
|
--fg: #111827;
|
|
--muted:#51617d;
|
|
--border:#c7d4ea;
|
|
--btn:#e8eef9;
|
|
--btn2:#dce7f8;
|
|
--accent:#2563eb;
|
|
--shadow: 0 10px 28px rgba(13, 27, 54, .12);
|
|
--bg-grad-start: #dfeafe;
|
|
--header-bg: rgba(243,246,251,.88);
|
|
--header-border: rgba(146,169,205,.55);
|
|
--tab-bg: rgba(255,255,255,.92);
|
|
--tab-active-bg: linear-gradient(135deg, rgba(37,99,235,.16), rgba(255,255,255,.95));
|
|
--tab-active-border: rgba(37,99,235,.42);
|
|
--card-bg: linear-gradient(180deg, rgba(255,255,255,.96), rgba(238,243,251,.96));
|
|
--card-border: rgba(176,196,226,.9);
|
|
--soft-line: rgba(176,196,226,.8);
|
|
--hover-bg: rgba(37,99,235,.08);
|
|
--input-bg: rgba(255,255,255,.94);
|
|
--input-placeholder: rgba(81,97,125,.72);
|
|
--overlay-bg: rgba(17,24,39,.36);
|
|
--pre-bg: rgba(223,234,254,.72);
|
|
--pre-text: #0f172a;
|
|
--pod-row-bg: rgba(148,163,184,0.12);
|
|
--pod-row-top: rgba(148,163,184,0.25);
|
|
--pod-row-hover: rgba(148,163,184,0.18);
|
|
--menu-hover-bg: rgba(37,99,235,.12);
|
|
--menu-hover-border: rgba(37,99,235,.28);
|
|
--sidebar-bg: rgba(236,242,252,.82);
|
|
--folder-bg: rgba(236,242,252,.9);
|
|
--folder-hover: rgba(37,99,235,.08);
|
|
--folder-toggle-bg: rgba(232,238,249,.92);
|
|
--map-border: rgba(148,163,184,.34);
|
|
--map-bg: rgba(255,255,255,.86);
|
|
--map-line: rgba(71,85,105,.33);
|
|
--map-line-strong: rgba(71,85,105,.42);
|
|
--map-node-stroke: rgba(71,85,105,.34);
|
|
--map-node-net: rgba(37,99,235,.28);
|
|
--map-node-ctr: rgba(34,197,94,.25);
|
|
--map-label: rgba(17,24,39,.9);
|
|
--map-active: rgba(37,99,235,.58);
|
|
--legend-row-border: rgba(148,163,184,.4);
|
|
--legend-row-bg: rgba(226,236,252,.9);
|
|
--legend-row-border-hover: rgba(100,116,139,.46);
|
|
--legend-row-bg-hover: rgba(210,224,248,.9);
|
|
--table-zebra: rgba(15,23,42,.03);
|
|
--sticky-head-bg: rgba(255,255,255,.97);
|
|
--state-info-bg: rgba(37,99,235,.08);
|
|
--state-info-border: rgba(37,99,235,.3);
|
|
--state-empty-bg: rgba(180,83,9,.09);
|
|
--state-empty-border: rgba(180,83,9,.35);
|
|
--state-error-bg: rgba(225,29,72,.08);
|
|
--state-error-border: rgba(225,29,72,.35);
|
|
--map-tooltip-bg: rgba(255,255,255,.98);
|
|
--map-tooltip-border: rgba(148,163,184,.45);
|
|
--fs-body: 14px;
|
|
--fs-small: 12px;
|
|
--fs-title: 16px;
|
|
--fs-kpi: 22px;
|
|
}
|
|
*{box-sizing:border-box}
|
|
body{
|
|
margin:0;
|
|
font-family: var(--sans);
|
|
font-size: var(--fs-body);
|
|
line-height: 1.45;
|
|
background: radial-gradient(1200px 600px at 20% 0%, var(--bg-grad-start) 0%, var(--bg) 55%);
|
|
color: var(--text);
|
|
}
|
|
header{
|
|
position: sticky; top:0; z-index:10;
|
|
background: var(--header-bg);
|
|
backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--header-border);
|
|
}
|
|
.wrap{max-width:1700px;margin:0 auto;padding:16px}
|
|
.topbar{
|
|
display:flex; gap:12px; align-items:center; justify-content:space-between;
|
|
}
|
|
.headerMeta{
|
|
margin-left: 6px;
|
|
white-space: nowrap;
|
|
}
|
|
.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: var(--tab-bg);
|
|
color: var(--text);
|
|
padding:10px 12px;
|
|
border-radius: 999px;
|
|
cursor:pointer;
|
|
user-select:none;
|
|
font-size:14px;
|
|
transition: transform .12s ease, border-color .16s ease, background .16s ease;
|
|
}
|
|
.tab:hover{
|
|
transform: translateY(-1px);
|
|
}
|
|
.tab.active{
|
|
background: var(--tab-active-bg);
|
|
border-color: var(--tab-active-border);
|
|
}
|
|
.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: var(--card-bg);
|
|
border: 1px solid var(--card-border);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--shadow);
|
|
overflow:hidden;
|
|
}
|
|
/* Allow container actions dropdown to render outside the card bounds */
|
|
.card--menu-overflow{
|
|
overflow: visible;
|
|
}
|
|
.card.half{min-height: 240px;}
|
|
.cardHeader{
|
|
display:flex; align-items:center; justify-content:space-between;
|
|
padding:14px 14px;
|
|
border-bottom:1px solid var(--soft-line);
|
|
}
|
|
.cardTitle{
|
|
font-weight:700;
|
|
display:flex; gap:10px; align-items:center;
|
|
font-size: var(--fs-title);
|
|
}
|
|
.cardBody{padding:14px}
|
|
.dashboardKpiGrid{
|
|
display:grid;
|
|
grid-template-columns: repeat(1, 1fr);
|
|
gap:10px;
|
|
}
|
|
@media (min-width: 980px){
|
|
.dashboardKpiGrid{grid-template-columns: repeat(4, 1fr)}
|
|
}
|
|
.actionBar{
|
|
display:flex;
|
|
gap:8px;
|
|
flex-wrap:wrap;
|
|
}
|
|
.btn{
|
|
border:1px solid var(--card-border);
|
|
background: var(--btn);
|
|
color: var(--text);
|
|
padding:9px 10px;
|
|
border-radius: 12px;
|
|
cursor:pointer;
|
|
font-size:13px;
|
|
}
|
|
.btn:hover{background: var(--btn2)}
|
|
.btn:active{transform: translateY(1px)}
|
|
.btn.small{padding:7px 9px; border-radius: 10px}
|
|
.btn.tiny{padding:1px 5px; border-radius: 4px; font-size:11px; line-height:16px;}
|
|
.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;
|
|
}
|
|
table{
|
|
width:100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
thead th{
|
|
position: sticky;
|
|
top: 72px;
|
|
z-index: 2;
|
|
background: var(--sticky-head-bg);
|
|
}
|
|
th,td{
|
|
padding:10px 8px;
|
|
border-bottom:1px solid var(--soft-line);
|
|
text-align:left;
|
|
vertical-align: top;
|
|
}
|
|
th{color: var(--muted); font-weight:600}
|
|
tbody tr:nth-child(even) td{background: var(--table-zebra)}
|
|
tr:hover td{background: var(--hover-bg)}
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
vertical-align: middle;
|
|
line-height: 1;
|
|
padding: 4px 8px;
|
|
border: 1px solid var(--card-border);
|
|
border-radius: 999px;
|
|
font-size: var(--fs-small);
|
|
color: var(--muted);
|
|
white-space: nowrap; /* Tip: dit voorkomt dat je badge tekst afbreekt */
|
|
}
|
|
pre.code{
|
|
padding:10px;
|
|
border-radius:10px;
|
|
border:1px solid var(--soft-line);
|
|
}
|
|
.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)}
|
|
.badge.info{border-color: rgba(96,165,250,.45); color: var(--accent)}
|
|
.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: var(--input-bg);
|
|
border:1px solid var(--card-border);
|
|
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: var(--input-bg);
|
|
border:1px solid var(--card-border);
|
|
border-radius: 14px;
|
|
padding:10px 12px;
|
|
}
|
|
.statValue{
|
|
font-weight:800;
|
|
font-size: var(--fs-kpi);
|
|
line-height: 1.1;
|
|
letter-spacing: .2px;
|
|
}
|
|
.statLabel{
|
|
color: var(--muted);
|
|
font-size: var(--fs-small);
|
|
margin-top: 4px;
|
|
}
|
|
.statHint{
|
|
color: var(--muted);
|
|
font-size: var(--fs-small);
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* Modal */
|
|
.modalBack{
|
|
position: fixed; inset:0;
|
|
background: var(--overlay-bg);
|
|
display:none; align-items:center; justify-content:center;
|
|
padding:18px; z-index: 99;
|
|
}
|
|
.modal{
|
|
width:min(980px, 100%);
|
|
background: var(--card-bg);
|
|
border:1px solid var(--card-border);
|
|
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 var(--soft-line);
|
|
}
|
|
.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: var(--pre-text);
|
|
background: var(--pre-bg);
|
|
border:1px solid var(--soft-line);
|
|
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: var(--pod-row-bg);
|
|
border-top: 1px solid var(--pod-row-top);
|
|
font-weight: 600;
|
|
}
|
|
.pod-group-row:hover td {
|
|
background: var(--pod-row-hover);
|
|
}
|
|
.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: var(--card-bg);
|
|
border: 1px solid var(--card-border);
|
|
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: var(--menu-hover-bg);
|
|
border-color: var(--menu-hover-border);
|
|
}
|
|
|
|
.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); }
|
|
.menuItem.info{ border-color: rgba(96,165,250,.45); }
|
|
|
|
/* Exec terminal modal */
|
|
.modalExec{
|
|
width: min(1100px, 100%);
|
|
}
|
|
.execBody{
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
.execTerminalHost{
|
|
min-height: 48vh;
|
|
max-height: 64vh;
|
|
border: 1px solid var(--soft-line);
|
|
border-radius: 12px;
|
|
background: #0a0f1d;
|
|
overflow: hidden;
|
|
}
|
|
.execOutput{
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-family: var(--mono);
|
|
font-size: 12.5px;
|
|
color: var(--pre-text);
|
|
background: var(--pre-bg);
|
|
border: 1px solid var(--soft-line);
|
|
border-radius: 12px;
|
|
padding: 12px;
|
|
min-height: 48vh;
|
|
max-height: 64vh;
|
|
overflow: auto;
|
|
}
|
|
.execTerminalHost .xterm,
|
|
.execTerminalHost .xterm-viewport{
|
|
height: 100%;
|
|
}
|
|
.execInputRow{
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.execInputRow #execTerminalBufferInfo{
|
|
white-space: nowrap;
|
|
}
|
|
.execInputRow .input{
|
|
flex: 1;
|
|
}
|
|
|
|
/* css voor herziene Netwerken pagina */
|
|
/* Toolbar controls */
|
|
.toolbar .input,
|
|
.toolbar .select{
|
|
background: var(--input-bg);
|
|
border:1px solid var(--card-border);
|
|
color: var(--fg);
|
|
border-radius: 12px;
|
|
padding:8px 10px;
|
|
outline: none;
|
|
}
|
|
.toolbar .input::placeholder{ color: var(--input-placeholder); }
|
|
|
|
.chip{
|
|
display:inline-flex;
|
|
align-items:center;
|
|
gap:8px;
|
|
padding:7px 10px;
|
|
border-radius: 999px;
|
|
border:1px solid var(--card-border);
|
|
background: var(--input-bg);
|
|
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 var(--soft-line);
|
|
background: var(--sidebar-bg);
|
|
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;
|
|
}
|
|
.navCount{
|
|
margin-left: auto;
|
|
min-width: 26px;
|
|
text-align: center;
|
|
border: 1px solid var(--card-border);
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
padding: 2px 7px;
|
|
background: var(--input-bg);
|
|
}
|
|
|
|
/* Collapsed: alleen icon zichtbaar */
|
|
.sidebar.collapsed .navLabel {
|
|
display: none;
|
|
}
|
|
.sidebar.collapsed .navCount {
|
|
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; }
|
|
}
|
|
/* Files tree (IDE sidebar stijl) */
|
|
.file-folder-row{
|
|
display:flex;
|
|
align-items:center;
|
|
justify-content:space-between;
|
|
gap:6px;
|
|
cursor:pointer;
|
|
user-select:none;
|
|
|
|
padding: 2px 6px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
transition: background .1s ease;
|
|
line-height: 22px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.file-folder-row:hover{
|
|
background: var(--folder-hover);
|
|
}
|
|
|
|
.file-entry:hover{
|
|
background: var(--folder-hover);
|
|
}
|
|
|
|
.file-folder-left{
|
|
display:flex;
|
|
align-items:center;
|
|
gap:10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.folder-toggle{
|
|
display:inline-flex;
|
|
align-items:center;
|
|
justify-content:center;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--card-border);
|
|
background: var(--folder-toggle-bg);
|
|
font-size: 12px;
|
|
opacity: .9;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.file-folder-left span:last-child{
|
|
overflow:hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-folder-files{
|
|
margin-left: 0;
|
|
margin-top: 0;
|
|
padding-left: 0;
|
|
border-left: none;
|
|
}
|
|
|
|
.file-entry{
|
|
display:flex;
|
|
align-items:center;
|
|
justify-content:space-between;
|
|
gap:6px;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
line-height: 22px;
|
|
}
|
|
.file-entry-name{
|
|
cursor:pointer;
|
|
}
|
|
.file-entry-state{
|
|
min-width: 24px;
|
|
text-align:right;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
.file-entry.active{
|
|
background: var(--hover-bg);
|
|
}
|
|
.file-entry.active .file-entry-name{
|
|
font-weight: 700;
|
|
}
|
|
.file-entry.dirty .file-entry-state{
|
|
color: var(--warn);
|
|
}
|
|
.filesEditorStatus{
|
|
margin-top:8px;
|
|
border:1px solid var(--soft-line);
|
|
border-radius:10px;
|
|
padding:7px 9px;
|
|
font-size: 12px;
|
|
}
|
|
.stateBox{
|
|
border-radius: 12px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--state-info-border);
|
|
background: var(--state-info-bg);
|
|
}
|
|
.stateBox.empty{
|
|
border-color: var(--state-empty-border);
|
|
background: var(--state-empty-bg);
|
|
}
|
|
.stateBox.error{
|
|
border-color: var(--state-error-border);
|
|
background: var(--state-error-bg);
|
|
}
|
|
.stateTitle{
|
|
font-weight: 700;
|
|
margin-bottom: 4px;
|
|
}
|
|
.stateText{
|
|
color: var(--muted);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.viewAnim{
|
|
animation: viewFade .18s ease;
|
|
}
|
|
@keyframes viewFade{
|
|
from{opacity:.0; transform: translateY(3px)}
|
|
to{opacity:1; transform: translateY(0)}
|
|
}
|
|
.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 var(--legend-row-border);
|
|
background: var(--legend-row-bg);
|
|
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: var(--menu-hover-bg);
|
|
opacity: 1;
|
|
}
|
|
|
|
.mapHost{
|
|
border: 1px solid var(--map-border);
|
|
background: var(--map-bg);
|
|
border-radius: 14px;
|
|
min-height: 420px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
.mapTooltip{
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
pointer-events: none;
|
|
max-width: 260px;
|
|
background: var(--map-tooltip-bg);
|
|
color: var(--text);
|
|
border: 1px solid var(--map-tooltip-border);
|
|
border-radius: 10px;
|
|
padding: 7px 9px;
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
box-shadow: var(--shadow);
|
|
z-index: 3;
|
|
}
|
|
|
|
.mapLegend{
|
|
margin-top: 10px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--map-border);
|
|
background: var(--map-bg);
|
|
border-radius: 14px;
|
|
max-width: none;
|
|
display:flex;
|
|
align-items:center;
|
|
gap:12px;
|
|
flex-wrap:wrap;
|
|
}
|
|
|
|
.mapLegend .legendTitle{
|
|
margin: 0;
|
|
margin-right: 6px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.mapLegend .legendRow{
|
|
display:inline-flex;
|
|
align-items:center;
|
|
gap:8px;
|
|
margin: 0;
|
|
padding:6px 10px;
|
|
border:1px solid var(--legend-row-border);
|
|
border-radius:20px;
|
|
background:var(--legend-row-bg);
|
|
font-size:13px;
|
|
white-space:nowrap;
|
|
transition:all .15s ease;
|
|
}
|
|
|
|
.mapLegend .legendSwatch{
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 6px;
|
|
display:inline-block;
|
|
border: 1px solid var(--map-border);
|
|
}
|
|
|
|
.mapLegend .legendSwatch.link{
|
|
width: 18px;
|
|
height: 2px;
|
|
border-radius: 2px;
|
|
border: 0;
|
|
background: var(--map-line);
|
|
}
|
|
|
|
.mapLegend .legendSwatch.shared{
|
|
width: 18px;
|
|
height: 2px;
|
|
border-radius: 0;
|
|
border: 0;
|
|
background: var(--map-line);
|
|
background-image: repeating-linear-gradient(90deg, var(--map-line), var(--map-line) 6px, transparent 6px, transparent 10px);
|
|
}
|
|
|
|
.mapLegend .legendSwatch.net{ background: var(--map-node-net); }
|
|
.mapLegend .legendSwatch.ctr{ background: var(--map-node-ctr); }
|
|
.mapLegend .legendRow:hover{
|
|
border-color:var(--legend-row-border-hover);
|
|
background:var(--legend-row-bg-hover);
|
|
}
|
|
|
|
/* ===== Netwerken kaart (D3) ===== */
|
|
.mapHost svg { width: 100%; height: 100%; display:block; }
|
|
|
|
.graphLink{
|
|
stroke: var(--map-line);
|
|
stroke-width: 1.2;
|
|
}
|
|
.graphLink.shared{
|
|
stroke-dasharray: 6 4;
|
|
stroke: var(--map-line-strong);
|
|
}
|
|
|
|
.graphNode circle{
|
|
stroke: var(--map-node-stroke);
|
|
stroke-width: 1;
|
|
}
|
|
.graphNode.network circle{ fill: var(--map-node-net); }
|
|
.graphNode.container circle{ fill: var(--map-node-ctr); }
|
|
|
|
.graphLabel{
|
|
fill: var(--map-label);
|
|
font-size: 12px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.graphDim{ opacity: 0.18; }
|
|
.graphActive{ opacity: 1; stroke: var(--map-active); stroke-width: 2; }
|
|
|
|
/* ===== Netwerken detailpaneel ===== */
|
|
.mapDetail{
|
|
margin-top: 10px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--map-border);
|
|
background: var(--map-bg);
|
|
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; }
|
|
|
|
/* ===== Netwerken kaart split layout ===== */
|
|
.mapSplit{
|
|
display:grid;
|
|
grid-template-columns: 1fr 360px;
|
|
gap: 12px;
|
|
align-items: start;
|
|
}
|
|
|
|
.mapMain{ min-width: 0; }
|
|
.mapSide{ min-width: 0; }
|
|
|
|
@media (max-width: 1100px){
|
|
.mapSplit{ grid-template-columns: 1fr; }
|
|
}
|
|
|
|
/* Files tree: actions only on hover */
|
|
.file-folder-row .file-folder-actions{
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity .12s ease;
|
|
}
|
|
|
|
.file-folder-row:hover .file-folder-actions{
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.file-folder-meta{
|
|
display:inline-flex;
|
|
align-items:center;
|
|
gap:8px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.file-badge{
|
|
display:inline-flex;
|
|
align-items:center;
|
|
gap:6px;
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--card-border);
|
|
background: var(--folder-toggle-bg);
|
|
font-size: 12px;
|
|
opacity: .92;
|
|
}
|