v0.7.1: UI-overhaul, ribbon vervangen door de indeling van CAD/BIM-pakketten met elke functie op één plek: bovenbalk met menu Bestand (nieuw, openen, opslaan, exporteren, projectgegevens, kosten & tijden) · Beeld · Help, de ontwerpen als tabs en de knop Opslaan; links de structuur met inklapbare groepen (onthouden, groep met de selectie klapt vanzelf open); werkbalk boven de viewports met gereedschap (Selecteren V, Binnenwand W, Ruimte R, Inrichting I, opties van het gereedschap ernaast, Unit toevoegen) en weergave (één Lagen-menu met bouwfase voor 2D en 3D, Omgeving, Doorsnede X, Render, Lopen L, Rapport 4, 2D + 3D / 2D / 3D met 1/2/3); rechts het eigenschappenpaneel (Inspector: selectie met kruimelpad, of de woning met kerncijfers en inklapbare secties Gevel, Dak, Binnen, Verlichting, Elektra, Constructie); statusbalk met hint en meldingen; wand- en vloer/dak-editor in dezelfde indeling (paneel rechts met tab Resultaat, terug met ← Woning of Esc); sneltoetsenoverzicht (?), Ctrl+O, Ctrl+\ panelen verbergen; rapport als masonry; dubbele functies weg (lagenbalk, Beeld-tab en Weergave-filter, export en kosten op twee plekken, Snel nieuw); oude onderdelen gelijkgetrokken (dialoogknoppen, materiaalknoppen, chassis als schakelaar, eenheden); weergavelagen (ViewLayers) i.p.v. bouwfasen, elk los aan/uit; render-export met Blender-script voor de lampen; elektraleidingen boven een vals plafond en haaks binnen de units bij een L/T-vorm
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
adb3c74f85
commit
ab0dca9bb5
+318
-228
@@ -39,30 +39,6 @@
|
||||
}
|
||||
|
||||
|
||||
#app-container { display: flex; width: 100%; height: 100%; }
|
||||
|
||||
#left-column {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
min-width: 0;
|
||||
border-right: 1px solid var(--border);
|
||||
}
|
||||
|
||||
#right-column {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
#app-container.fullscreen-3d #left-column { display: none; }
|
||||
#app-container.fullscreen-2d #right-column { display: none; }
|
||||
|
||||
#pane-2d-container {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
@@ -85,14 +61,6 @@
|
||||
.pane-2d-half { flex: 1; position: relative; min-width: 0; min-height: 0; background: var(--viewport-bg); }
|
||||
.pane-2d-half + .pane-2d-half { border-left: 1px solid var(--border); }
|
||||
|
||||
#control-panel {
|
||||
height: 380px;
|
||||
background: var(--van-emous-ultra-light);
|
||||
border-top: 1px solid var(--border);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.tab-bar {
|
||||
display: flex;
|
||||
background: var(--van-emous-blue);
|
||||
@@ -148,39 +116,6 @@
|
||||
}
|
||||
.tab-content.active { display: block; }
|
||||
|
||||
#pane-3d { flex: 1; position: relative; min-height: 0; background: var(--viewport-bg); }
|
||||
|
||||
#specs-panel-3d {
|
||||
height: 380px;
|
||||
background: var(--van-emous-ultra-light);
|
||||
border-top: 1px solid var(--border);
|
||||
overflow-y: auto;
|
||||
padding: 15px 20px;
|
||||
}
|
||||
#specs-panel-3d .controls-grid { grid-template-columns: 1fr 1fr; }
|
||||
|
||||
.toolbar-3d {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
.btn-3d-toggle {
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
border: 1px solid var(--primary-on-dark);
|
||||
color: var(--primary-on-dark);
|
||||
padding: 6px 12px;
|
||||
border-radius: 4px;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.btn-3d-toggle.active { background: var(--primary); border-color: var(--primary); color: #fff; }
|
||||
|
||||
.pane-label {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
@@ -292,28 +227,6 @@
|
||||
.material-toggle-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }
|
||||
html, body { height: 100%; }
|
||||
|
||||
#tab-bar {
|
||||
height: 34px;
|
||||
background: var(--van-emous-ultra-light);
|
||||
border-bottom: 1px solid var(--border);
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.tab-item {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
padding: 0 12px; font-size: 12px; color: var(--text-muted);
|
||||
border-right: 1px solid var(--border-soft); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap;
|
||||
}
|
||||
.tab-item:hover { color: var(--text); }
|
||||
.tab-item.active { background: var(--surface); color: var(--text); border-bottom: 2px solid var(--primary); }
|
||||
.tab-item .tab-close {
|
||||
color: var(--text-faint); font-size: 14px; line-height: 1; padding: 2px;
|
||||
}
|
||||
.tab-item .tab-close:hover { color: var(--danger); }
|
||||
|
||||
body { display: flex; flex-direction: column; }
|
||||
#tab-bar { flex: none; }
|
||||
#workspace { width: 100vw; flex: 1; min-height: 0; position: relative; }
|
||||
#workspace-empty {
|
||||
height: 100%; display: flex; align-items: center; justify-content: center;
|
||||
@@ -433,29 +346,6 @@ body { display: flex; flex-direction: column; }
|
||||
.new-option:hover:not(.disabled) { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
|
||||
.new-option.disabled { opacity: .4; cursor: not-allowed; }
|
||||
|
||||
#floor-app { display: flex; width: 100%; height: 100%; }
|
||||
#floor-left-column {
|
||||
flex: 1; display: flex; flex-direction: column; height: 100%; min-height: 0; min-width: 0;
|
||||
border-right: 1px solid var(--border);
|
||||
}
|
||||
#floor-right-column { flex: 1; display: flex; flex-direction: column; height: 100%; min-height: 0; min-width: 0; }
|
||||
#floor-app.fullscreen-3d #floor-left-column { display: none; }
|
||||
#floor-app.fullscreen-2d #floor-right-column { display: none; }
|
||||
#floor-pane-2d-container { flex: 1; display: flex; flex-direction: column; min-height: 0; width: 100%; }
|
||||
#floor-control-panel { height: 380px; background: var(--van-emous-ultra-light); border-top: 1px solid var(--border); display: flex; flex-direction: column; }
|
||||
#floor-control-panel .tab-content { padding: 15px 20px; overflow-y: auto; flex: 1; display: none; }
|
||||
#floor-control-panel .tab-content.active { display: block; }
|
||||
#floor-pane-3d { flex: 1; position: relative; min-height: 0; background: var(--viewport-bg); }
|
||||
#floor-specs-panel-3d {
|
||||
height: 380px; background: var(--van-emous-ultra-light); border-top: 1px solid var(--border); overflow-y: auto; padding: 15px 20px;
|
||||
}
|
||||
#floor-specs-panel-3d .controls-grid { grid-template-columns: 1fr 1fr; }
|
||||
|
||||
#house-app { display: flex; width: 100%; height: 100%; }
|
||||
#house-nav {
|
||||
width: 240px; flex: none; display: flex; flex-direction: column; gap: 6px;
|
||||
background: var(--van-emous-blue); border-right: 1px solid var(--border); padding: 10px 8px; overflow-y: auto;
|
||||
}
|
||||
.hn-title { font-size: 12px; font-weight: bold; color: var(--primary); text-transform: uppercase; letter-spacing: .8px; padding: 2px 6px 6px; }
|
||||
#house-nav-tree { display: flex; flex-direction: column; gap: 2px; }
|
||||
.hn-group { margin-top: 6px; }
|
||||
@@ -475,50 +365,20 @@ body { display: flex; flex-direction: column; }
|
||||
.hn-item.disabled:hover { background: none; color: #9aa4b0; }
|
||||
.hn-actions { display: flex; gap: 6px; margin-top: 10px; }
|
||||
.hn-actions .io-btn { flex: 1; }
|
||||
#house-nav .io-status { margin: auto 0 0; padding: 6px; }
|
||||
|
||||
#house-part-host { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
|
||||
#house-part-host > #app-container,
|
||||
#house-part-host > #floor-app,
|
||||
#house-part-host > #house-overview { flex: 1; min-height: 0; height: auto; }
|
||||
|
||||
#house-overview { display: flex; width: 100%; }
|
||||
.ho-views { flex: 1; display: flex; min-width: 0; min-height: 0; }
|
||||
.ho-pane { flex: 1; position: relative; min-height: 0; min-width: 0; background: var(--viewport-bg); }
|
||||
#ho-pane-plan { border-right: 1px solid var(--border); }
|
||||
@media (max-width: 1100px) {
|
||||
.ho-views { flex-direction: column; }
|
||||
#ho-pane-plan, .ho-report { border-right: none; border-bottom: 1px solid var(--border); }
|
||||
}
|
||||
#house-overview.fullscreen-3d #ho-pane-plan, #house-overview.fullscreen-3d .ho-report { display: none !important; }
|
||||
#house-overview.fullscreen-2d #ho-pane-3d { display: none; }
|
||||
.ho-report { display: none; flex: 1; min-width: 0; min-height: 0; overflow-y: auto; padding: 14px 18px 20px; background: var(--van-emous-ultra-light); border-right: 1px solid var(--border); }
|
||||
#house-overview.show-report .ho-report { display: block; }
|
||||
#house-overview.show-report #ho-pane-plan { display: none; }
|
||||
.ho-report .ui-spec-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); align-items: start; }
|
||||
.ho-report-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
|
||||
.ho-report-head h1 { margin: 0; font-size: 14px; }
|
||||
.ho-report-head span { font-size: 12px; color: var(--text-muted); }
|
||||
.ho-warn { position: absolute; top: 52px; left: 15px; right: 15px; z-index: 9; pointer-events: none; }
|
||||
.ho-warn .ui-warn { margin: 0 0 6px; max-width: 560px; }
|
||||
.ho-hint {
|
||||
position: absolute; left: 15px; bottom: 10px; font-size: 11px; color: #bbb;
|
||||
background: rgba(0, 0, 0, .6); padding: 3px 8px; border-radius: 4px; pointer-events: none;
|
||||
}
|
||||
.ho-prop-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
|
||||
.io-btn-danger { border-color: #e3b4b0; color: var(--danger); }
|
||||
.io-btn-danger:hover { border-color: var(--danger); color: var(--danger); background: var(--danger-soft); }
|
||||
.control-group input:disabled { opacity: .5; cursor: not-allowed; background: var(--border-soft); }
|
||||
|
||||
.view-filter { position: relative; }
|
||||
.vf-menu {
|
||||
position: absolute; right: 0; top: 100%; margin-top: 6px; min-width: 210px; display: none;
|
||||
background: rgba(0, 0, 0, 0.88); border: 1px solid #444; border-radius: 4px; padding: 8px 12px; z-index: 20;
|
||||
}
|
||||
.vf-menu.open { display: block; }
|
||||
.vf-item { display: flex; align-items: center; gap: 8px; color: #eee; font-size: 13px; padding: 4px 0; cursor: pointer; user-select: none; }
|
||||
.vf-item input { accent-color: var(--primary-on-dark); width: 15px; height: 15px; cursor: pointer; }
|
||||
|
||||
.bi { line-height: 1; vertical-align: -0.125em; }
|
||||
.ui-section { margin-bottom: 14px; }
|
||||
.ui-section h2, .ui-spec-card h2 {
|
||||
@@ -574,7 +434,6 @@ body { display: flex; flex-direction: column; }
|
||||
.ui-tab-page { display: none; }
|
||||
.ui-tab-page.active { display: block; }
|
||||
|
||||
.ui-spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
|
||||
.ui-spec-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 6px; padding: 10px 12px; }
|
||||
.ui-spec-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; padding: 3px 0; border-bottom: 1px dashed var(--border-soft); }
|
||||
.ui-spec-row:last-child { border-bottom: none; }
|
||||
@@ -583,12 +442,10 @@ body { display: flex; flex-direction: column; }
|
||||
.ui-spec-total { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 2px; }
|
||||
.ui-spec-total .ui-spec-val { color: var(--primary); }
|
||||
|
||||
.btn-3d-toggle { display: inline-flex; align-items: center; gap: 6px; }
|
||||
.hn-item .bi { margin-right: 6px; color: var(--text-muted); }
|
||||
.hn-item.active .bi, .hn-item:hover .bi { color: var(--primary); }
|
||||
.hn-label { display: inline-flex; align-items: center; }
|
||||
|
||||
.render-only #specs-panel-3d, .render-only #floor-specs-panel-3d { display: none; }
|
||||
|
||||
.control-group { min-height: 28px; margin-bottom: 3px; gap: 10px; }
|
||||
.control-group label { font-size: 12.5px; color: var(--text); }
|
||||
@@ -606,9 +463,6 @@ h1 { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight:
|
||||
.hn-title { display: flex; align-items: center; gap: 6px; }
|
||||
.file-protocol-warning { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 9000; max-width: 640px; box-shadow: 0 8px 20px rgba(33,33,33,.2); }
|
||||
.file-protocol-warning code { background: rgba(0,0,0,.06); padding: 0 4px; border-radius: 3px; }
|
||||
.vf-option { gap: 9px; }
|
||||
.vf-option.active { color: var(--primary-on-dark); font-weight: 600; }
|
||||
.vf-menu .vf-option:hover { color: var(--primary-on-dark); }
|
||||
|
||||
.hs-stone-preview { display: block; width: 128px; height: auto; margin: 4px 0 8px; border: 1px solid var(--border, #ccc); border-radius: 3px; }
|
||||
|
||||
@@ -635,21 +489,13 @@ h1 { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight:
|
||||
.ui-range input[type=number] { width: 84px; }
|
||||
.ui-swatch { height: 14px; border-radius: 3px; border: 1px solid var(--border); margin: 2px 0 6px; }
|
||||
|
||||
.stage-bar {
|
||||
position: absolute; left: 15px; bottom: 14px; z-index: 10; min-width: 300px; max-width: calc(100% - 30px);
|
||||
background: rgba(0, 0, 0, 0.75); border: 1px solid #444; border-radius: 6px; padding: 7px 12px 6px; color: #eee; font-size: 12px;
|
||||
.plan-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 10; display: flex; flex-direction: column; gap: 4px; }
|
||||
.plan-zoom button {
|
||||
width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer;
|
||||
background: rgba(0, 0, 0, 0.75); border: 1px solid #555; border-radius: 4px; color: #eee; font-size: 14px;
|
||||
}
|
||||
.stage-row, .stage-extra { display: flex; align-items: center; gap: 10px; }
|
||||
.stage-title { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-on-dark); font-weight: 600; white-space: nowrap; }
|
||||
.stage-range { flex: 1; min-width: 90px; accent-color: var(--primary-on-dark); }
|
||||
.stage-name { min-width: 84px; font-weight: 600; white-space: nowrap; }
|
||||
.stage-track { flex: 1; display: flex; flex-direction: column; min-width: 120px; }
|
||||
.stage-track .stage-range { width: 100%; margin: 0; }
|
||||
.stage-ticks { display: flex; justify-content: space-between; padding: 0 3px; font-size: 10px; color: #888; }
|
||||
.stage-ticks span { cursor: pointer; padding: 0 3px; }
|
||||
.stage-ticks span.on { color: var(--primary-on-dark); }
|
||||
.stage-extra { display: none; margin-top: 6px; padding-top: 6px; border-top: 1px solid #444; }
|
||||
.stage-extra.show { display: flex; }
|
||||
.plan-zoom button:hover { border-color: var(--primary-on-dark); color: var(--primary-on-dark); }
|
||||
.plan-zoom-val { text-align: center; font-size: 10px; color: #aaa; }
|
||||
|
||||
.viz { --series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a; --track: #eef1f5; }
|
||||
.viz-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; color: var(--text-muted); margin: -2px 0 8px; }
|
||||
@@ -671,72 +517,316 @@ h1 { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight:
|
||||
.viz-val { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); text-align: right; white-space: nowrap; }
|
||||
.viz-note { font-size: 11px; color: var(--text-faint); line-height: 1.45; margin-top: 6px; }
|
||||
|
||||
#ribbon { flex: none; background: var(--van-emous-blue); border-bottom: 1px solid var(--border); position: relative; z-index: 100; user-select: none; }
|
||||
.rb-top { display: flex; align-items: flex-end; height: 34px; padding: 0 8px; }
|
||||
.rb-brand { display: flex; align-items: center; height: 100%; padding: 0 14px 0 4px; font-weight: 700; color: var(--primary); letter-spacing: .5px; }
|
||||
.rb-tabs { display: flex; gap: 2px; height: 100%; align-items: flex-end; overflow-x: auto; scrollbar-width: none; }
|
||||
.rb-tab {
|
||||
display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 14px; border: 1px solid transparent; border-bottom: none;
|
||||
border-radius: 5px 5px 0 0; background: none; font: inherit; font-size: 12.5px; color: var(--nav-link-color); cursor: pointer; white-space: nowrap;
|
||||
}
|
||||
.rb-tab:hover { background: rgba(255, 255, 255, .55); color: var(--primary); }
|
||||
.rb-tab.active { background: var(--van-emous-ultra-light); border-color: var(--border); color: var(--primary); font-weight: 600; margin-bottom: -1px; height: 29px; }
|
||||
.rb-tab.rb-ctx { color: #fff; background: var(--primary); margin-left: 10px; }
|
||||
.rb-tab.rb-ctx:hover { background: var(--primary-hover); color: #fff; }
|
||||
.rb-tab.rb-ctx.active { background: var(--van-emous-ultra-light); color: var(--primary); box-shadow: inset 0 3px 0 var(--primary); }
|
||||
.rb-right { margin-left: auto; display: flex; align-items: center; height: 100%; gap: 10px; font-size: 11px; color: var(--text-muted); padding-left: 12px; }
|
||||
.rb-body {
|
||||
position: relative; display: flex; align-items: stretch; height: 104px; padding: 6px 40px 4px 6px;
|
||||
background: var(--van-emous-ultra-light); border-top: 1px solid var(--border); overflow-x: auto; overflow-y: hidden;
|
||||
}
|
||||
#ribbon.rb-collapsed .rb-body { display: none; }
|
||||
.rb-collapse { position: absolute; right: 8px; bottom: 6px; border: none; background: none; color: var(--text-faint); cursor: pointer; padding: 2px 4px; }
|
||||
.rb-collapse:hover { color: var(--primary); }
|
||||
.rb-group { display: flex; flex-direction: column; flex: none; padding: 0 12px; border-right: 1px solid var(--border-soft); }
|
||||
.rb-group:last-of-type { border-right: none; }
|
||||
.rb-group-body { flex: 1; display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, 26px); column-gap: 16px; align-items: center; justify-content: start; }
|
||||
.rb-group-label { text-align: center; font-size: 10.5px; color: var(--text-faint); padding-top: 2px; white-space: nowrap; }
|
||||
.rb-btn {
|
||||
display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; background: none; border-radius: 4px;
|
||||
font: inherit; font-size: 12px; color: var(--text); cursor: pointer; white-space: nowrap;
|
||||
}
|
||||
.rb-btn:hover:not(:disabled) { background: var(--primary-soft); border-color: rgba(185, 89, 19, .25); color: var(--primary); }
|
||||
.rb-btn:disabled { color: #a9b2bd; cursor: default; }
|
||||
.rb-btn.active { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
|
||||
.rb-btn.rb-danger:hover:not(:disabled) { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }
|
||||
.rb-small { height: 24px; padding: 0 7px; }
|
||||
.rb-small .bi { font-size: 14px; color: var(--primary); }
|
||||
.rb-btn:disabled .bi { color: inherit; }
|
||||
.rb-big { grid-row: span 3; flex-direction: column; justify-content: center; gap: 4px; min-width: 64px; height: 76px; padding: 4px 8px; text-align: center; }
|
||||
.rb-big .bi { font-size: 24px; color: var(--primary); }
|
||||
.rb-big span { white-space: normal; max-width: 86px; line-height: 1.2; }
|
||||
.rb-kv { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; color: var(--text-muted); min-width: 150px; }
|
||||
.rb-kv b { color: var(--text); font-variant-numeric: tabular-nums; }
|
||||
.rb-kv small { font-weight: normal; color: var(--text-faint); margin-left: 2px; }
|
||||
.rb-note { grid-row: span 3; max-width: 260px; font-size: 11px; line-height: 1.4; color: var(--text-muted); white-space: normal; align-self: center; }
|
||||
.rb-note.rb-warn { color: var(--danger); }
|
||||
.rb-group .ui-field { min-height: 0; height: 26px; gap: 8px; }
|
||||
.rb-group .ui-field label { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; }
|
||||
.rb-group .ui-control input[type=number] { width: 70px; padding: 2px 5px; font-size: 12px; }
|
||||
.rb-group .ui-control select, .rb-group .ui-control input[type=text] { width: 132px; padding: 2px 4px; font-size: 12px; }
|
||||
.rb-group .ui-control input[type=color] { width: 46px; height: 22px; padding: 0; border: 1px solid var(--border); border-radius: 3px; background: none; }
|
||||
.rb-group .ui-unit { width: 20px; margin-left: 3px; font-size: 10.5px; }
|
||||
.rb-group .ui-switch { margin-right: 0; }
|
||||
.rb-group .ui-field-range { flex-wrap: nowrap; padding: 0; }
|
||||
.rb-group .ui-field-range label { flex: none; }
|
||||
.rb-group .ui-range { flex: none; gap: 6px; }
|
||||
.rb-group .ui-range input[type=range] { width: 96px; flex: none; }
|
||||
.rb-group .ui-range input[type=number] { width: 62px; }
|
||||
.rb-thumb { width: 26px; height: 26px; border-radius: 3px; border: 1px solid var(--border); object-fit: cover; display: block; }
|
||||
.rb-swatch { width: 26px; height: 22px; border-radius: 3px; border: 1px solid var(--border); }
|
||||
.rb-seg { display: inline-flex; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; height: 24px; }
|
||||
.rb-seg .rb-btn { border-radius: 0; border: none; border-right: 1px solid var(--border-soft); height: 22px; padding: 0 8px; }
|
||||
.rb-seg .rb-btn:last-child { border-right: none; }
|
||||
.rb-seg .rb-btn.active { background: var(--primary); color: #fff; }
|
||||
.rb-seg .rb-btn.active .bi { color: #fff; }
|
||||
.rb-check { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text); cursor: pointer; white-space: nowrap; }
|
||||
.rb-check input { accent-color: var(--primary); }
|
||||
/* ===== Shell: bovenbalk (menu + documenten), editorindeling, werkbalk, eigenschappen, statusbalk ===== */
|
||||
:root { --panel-w: 340px; --nav-w: 230px; }
|
||||
body { display: flex; flex-direction: column; }
|
||||
|
||||
.rb-pair { display: flex; align-items: center; gap: 6px; }
|
||||
.rb-cols { grid-row: span 3; display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, 26px); column-gap: 18px; align-items: center; }
|
||||
.rb-cols:empty { display: none; }
|
||||
#topbar {
|
||||
flex: none; height: 40px; display: flex; align-items: stretch; gap: 4px; padding: 0 10px 0 4px;
|
||||
background: var(--van-emous-blue); border-bottom: 1px solid var(--border); position: relative; z-index: 200; user-select: none;
|
||||
}
|
||||
.tb-brand { display: flex; align-items: center; padding: 0 12px 0 8px; font-weight: 700; color: var(--primary); letter-spacing: .5px; }
|
||||
#menubar { display: flex; align-items: center; }
|
||||
.mb-menu { position: relative; height: 100%; display: flex; align-items: center; }
|
||||
.mb-top { height: 28px; padding: 0 10px; border: none; background: none; border-radius: 4px; font: inherit; font-size: 13px; color: var(--text); cursor: pointer; }
|
||||
.mb-top:hover, .mb-menu.open .mb-top { background: rgba(255, 255, 255, .7); color: var(--primary); }
|
||||
.mb-drop {
|
||||
display: none; position: absolute; top: calc(100% - 3px); left: 0; min-width: 260px; padding: 4px;
|
||||
background: var(--surface); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 10px 28px rgba(33, 33, 33, .18); z-index: 300;
|
||||
}
|
||||
.mb-menu.open .mb-drop { display: block; }
|
||||
.mb-item {
|
||||
display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 6px; width: 100%; padding: 6px 8px;
|
||||
border: none; background: none; border-radius: 4px; font: inherit; font-size: 13px; color: var(--text); text-align: left; cursor: pointer;
|
||||
}
|
||||
.mb-item:hover:not(:disabled) { background: var(--primary-soft); color: var(--primary); }
|
||||
.mb-item:disabled { color: var(--text-faint); cursor: default; }
|
||||
.mb-ico .bi { color: var(--text-muted); }
|
||||
.mb-item:hover:not(:disabled) .mb-ico .bi, .mb-item.checked .mb-ico .bi { color: var(--primary); }
|
||||
.mb-item:disabled .mb-ico .bi { color: inherit; }
|
||||
.mb-keys { font-size: 11.5px; color: var(--text-faint); padding-left: 18px; white-space: nowrap; }
|
||||
.mb-sep { height: 1px; background: var(--border-soft); margin: 4px 6px; }
|
||||
.mb-head { font-size: 10.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-faint); padding: 6px 8px 2px 36px; }
|
||||
|
||||
#doc-tabs { display: flex; align-items: flex-end; gap: 2px; flex: 1; min-width: 0; margin-left: 14px; overflow: hidden; }
|
||||
.doc-tab {
|
||||
display: flex; align-items: center; gap: 4px; flex: 0 1 auto; min-width: 70px; max-width: 220px; height: 32px; padding: 0 4px 0 12px;
|
||||
border: 1px solid transparent; border-bottom: none; border-radius: 6px 6px 0 0; font-size: 12.5px; color: var(--text-muted); cursor: pointer;
|
||||
}
|
||||
.doc-tab:hover { background: rgba(255, 255, 255, .5); color: var(--text); }
|
||||
.doc-tab.active { background: var(--surface); border-color: var(--border); color: var(--text); font-weight: 600; height: 33px; margin-bottom: -1px; }
|
||||
.doc-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.doc-close { width: 20px; height: 20px; flex: none; border: none; background: none; border-radius: 4px; color: var(--text-faint); font-size: 15px; line-height: 1; cursor: pointer; }
|
||||
.doc-close:hover { background: var(--danger-soft); color: var(--danger); }
|
||||
.top-right { display: flex; align-items: center; gap: 12px; margin-left: auto; padding-left: 12px; font-size: 11px; color: var(--text-muted); white-space: nowrap; }
|
||||
.top-save {
|
||||
display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 1px solid var(--primary); border-radius: 4px;
|
||||
background: var(--primary); color: #fff; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
|
||||
}
|
||||
.top-save:hover:not(:disabled) { background: var(--primary-hover); }
|
||||
.top-save:disabled { opacity: .45; cursor: default; }
|
||||
|
||||
/* Editoren: [werkbalk + viewports] | paneel rechts. Dezelfde indeling voor woning, wand en vloer/dak. */
|
||||
.ed-app, #house-overview { display: flex; width: 100%; height: 100%; min-height: 0; }
|
||||
.ed-main { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
|
||||
.ed-views, .ho-views { flex: 1; min-height: 0; min-width: 0; display: flex; }
|
||||
#left-column, #right-column, #floor-left-column, #floor-right-column { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
|
||||
#left-column, #floor-left-column { border-right: 1px solid var(--border); }
|
||||
#floor-pane-2d-container { flex: 1; display: flex; flex-direction: column; min-height: 0; width: 100%; }
|
||||
#pane-3d, #floor-pane-3d { flex: 1; position: relative; min-height: 0; background: var(--viewport-bg); }
|
||||
.ed-app.fullscreen-3d #left-column, .ed-app.fullscreen-3d #floor-left-column { display: none; }
|
||||
.ed-app.fullscreen-2d #right-column, .ed-app.fullscreen-2d #floor-right-column { display: none; }
|
||||
.ed-panel { width: var(--panel-w); flex: none; min-height: 0; display: flex; flex-direction: column; background: var(--van-emous-ultra-light); border-left: 1px solid var(--border); }
|
||||
.ed-panel .tab-content { padding: 12px 14px; }
|
||||
.ed-panel .controls-grid { grid-template-columns: 1fr; gap: 4px; }
|
||||
.ed-panel .tab-btn { padding: 9px 4px; font-size: 12px; gap: 5px; }
|
||||
.ed-panel .io-toolbar:has(.io-status:empty) { display: none; }
|
||||
#specs-panel-3d, #floor-specs-panel-3d { padding: 0; }
|
||||
body.panels-hidden .ed-panel, body.panels-hidden #house-nav, body.panels-hidden .statusbar { display: none; }
|
||||
|
||||
#house-app { display: flex; flex-direction: column; width: 100%; height: 100%; }
|
||||
.house-body { flex: 1; min-height: 0; display: flex; }
|
||||
#house-nav {
|
||||
width: var(--nav-w); flex: none; display: flex; flex-direction: column; gap: 6px; padding: 10px 8px; overflow-y: auto;
|
||||
background: var(--van-emous-blue); border-right: 1px solid var(--border);
|
||||
}
|
||||
#house-part-host { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
|
||||
#house-part-host > .ed-app, #house-part-host > #house-overview { flex: 1; min-height: 0; height: auto; }
|
||||
.ho-pane { flex: 1; position: relative; min-height: 0; min-width: 0; background: var(--viewport-bg); }
|
||||
#ho-pane-plan { border-right: 1px solid var(--border); }
|
||||
#house-overview.fullscreen-3d #ho-pane-plan, #house-overview.fullscreen-3d .ho-report { display: none !important; }
|
||||
#house-overview.fullscreen-2d #ho-pane-3d { display: none; }
|
||||
@media (max-width: 1250px) {
|
||||
:root { --panel-w: 300px; --nav-w: 190px; }
|
||||
.ho-views, .ed-views { flex-direction: column; }
|
||||
#ho-pane-plan, .ho-report, #left-column, #floor-left-column { border-right: none; border-bottom: 1px solid var(--border); }
|
||||
}
|
||||
|
||||
.statusbar {
|
||||
flex: none; height: 24px; display: flex; align-items: center; gap: 16px; padding: 0 12px;
|
||||
background: var(--van-emous-blue); border-top: 1px solid var(--border); font-size: 11.5px; color: var(--text-muted);
|
||||
}
|
||||
.sb-hint { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.statusbar .io-status { white-space: nowrap; }
|
||||
|
||||
/* Werkbalk boven de viewports */
|
||||
.ed-toolbar {
|
||||
flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 40px; padding: 4px 8px;
|
||||
background: var(--surface); border-bottom: 1px solid var(--border); position: relative; z-index: 20; container-type: inline-size;
|
||||
}
|
||||
.tb-group { display: flex; align-items: center; gap: 2px; }
|
||||
.tb-spacer { flex: 1; }
|
||||
.tb-sep { width: 1px; height: 22px; background: var(--border-soft); margin: 0 6px; }
|
||||
.tb-btn {
|
||||
display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px; border: 1px solid transparent; border-radius: 5px;
|
||||
background: none; font: inherit; font-size: 12.5px; color: var(--text); cursor: pointer; white-space: nowrap; position: relative;
|
||||
}
|
||||
.tb-btn .bi { font-size: 15px; color: var(--text-muted); }
|
||||
.tb-btn .tb-caret { font-size: 10px; }
|
||||
.tb-btn:hover { background: var(--primary-soft); color: var(--primary); }
|
||||
.tb-btn:hover .bi, .tb-btn.active .bi, .tb-btn.open .bi { color: var(--primary); }
|
||||
.tb-btn.active, .tb-btn.open { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
|
||||
.tb-btn.flag::after { content: ''; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
|
||||
.tb-title { font-size: 12.5px; font-weight: 600; padding: 0 6px; white-space: nowrap; }
|
||||
.tb-seg { display: inline-flex; border: 1px solid var(--border); border-radius: 5px; overflow: hidden; }
|
||||
.tb-seg .tb-btn { height: 28px; padding: 0 8px; border: none; border-radius: 0; }
|
||||
.tb-seg .tb-btn + .tb-btn { border-left: 1px solid var(--border-soft); }
|
||||
.tb-seg .tb-btn.active { background: var(--primary); color: #fff; }
|
||||
.tb-seg .tb-btn.active .bi { color: #fff; }
|
||||
.tb-options:empty { display: none; }
|
||||
.tb-opt { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding-left: 10px; border-left: 1px solid var(--border-soft); font-size: 12px; color: var(--text-muted); }
|
||||
.tb-opt select { height: 28px; max-width: 220px; padding: 0 6px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); font: inherit; font-size: 12.5px; color: var(--text); }
|
||||
.tb-range { display: none; align-items: center; gap: 6px; margin-left: 2px; font-size: 11.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
|
||||
.tb-section.on .tb-range { display: inline-flex; }
|
||||
.tb-range input { width: 110px; accent-color: var(--primary); }
|
||||
#ho-section-val { min-width: 54px; }
|
||||
/* Smalle werkbalk: eerst de weergaveknoppen zonder tekst, daarna ook het gereedschap (titel blijft als tooltip). */
|
||||
@container (max-width: 1240px) { .tb-view .tb-btn > span, .tb-section .tb-btn > span, [data-tb="report"] > span { display: none; } }
|
||||
@container (max-width: 860px) { .tb-btn > span, .tb-opt > span { display: none; } }
|
||||
|
||||
.tb-pop-wrap { position: relative; }
|
||||
.tb-pop {
|
||||
display: none; position: absolute; top: calc(100% + 6px); right: 0; min-width: 170px; padding: 6px;
|
||||
background: var(--surface); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 10px 28px rgba(33, 33, 33, .18); z-index: 50;
|
||||
}
|
||||
.tb-pop.open { display: block; }
|
||||
.pop-option {
|
||||
display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 8px; border: none; border-radius: 4px; background: none;
|
||||
font: inherit; font-size: 12.5px; color: var(--text); text-align: left; cursor: pointer;
|
||||
}
|
||||
.pop-option:hover { background: var(--primary-soft); color: var(--primary); }
|
||||
.pop-option.active { color: var(--primary); font-weight: 600; }
|
||||
.pop-layers { width: max-content; max-width: min(440px, 90vw); padding: 10px 12px; }
|
||||
.pop-row { display: flex; gap: 8px; margin-bottom: 6px; }
|
||||
.pop-phase { flex: 1; height: 28px; padding: 0 6px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); font: inherit; font-size: 12.5px; }
|
||||
.pop-groups { display: grid; grid-template-columns: repeat(2, minmax(170px, 1fr)); gap: 0 18px; }
|
||||
.pop-head { margin: 6px 0 2px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-faint); }
|
||||
.pop-check { display: flex; align-items: center; gap: 7px; padding: 3px 2px; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
|
||||
.pop-check:hover { color: var(--primary); }
|
||||
.pop-check input { margin: 0; accent-color: var(--primary); }
|
||||
.pop-check .bi { width: 14px; color: var(--text-muted); }
|
||||
|
||||
/* Eigenschappenpaneel */
|
||||
.inspector { overflow-y: auto; background: var(--surface); }
|
||||
.ins-head { position: sticky; top: 0; z-index: 2; padding: 12px 14px 10px; background: var(--surface); border-bottom: 1px solid var(--border-soft); }
|
||||
.ins-crumbs { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; font-size: 11.5px; color: var(--text-faint); }
|
||||
.ins-crumbs .bi { font-size: 9px; }
|
||||
.ins-crumb { padding: 0; border: none; background: none; font: inherit; color: var(--primary); cursor: pointer; }
|
||||
.ins-crumb:hover { text-decoration: underline; }
|
||||
.ins-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }
|
||||
.ins-head h2 .bi { color: var(--primary); }
|
||||
.ins-sub { margin-top: 2px; font-size: 11.5px; color: var(--text-muted); }
|
||||
.ins-top { padding: 8px 14px 10px; border-bottom: 1px solid var(--border-soft); }
|
||||
.ins-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
|
||||
.ins-summary .ins-wide { grid-column: 1 / -1; }
|
||||
.ins-kv { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px dashed var(--border-soft); font-size: 12px; color: var(--text-muted); }
|
||||
.ins-kv b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
|
||||
.ins-kv small { margin-left: 2px; font-weight: normal; color: var(--text-faint); }
|
||||
.ins-section { border-bottom: 1px solid var(--border-soft); }
|
||||
.ins-section-head {
|
||||
display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 14px; border: none; background: none;
|
||||
font: inherit; font-size: 13px; font-weight: 600; color: var(--text); text-align: left; cursor: pointer;
|
||||
}
|
||||
.ins-section-head:hover { background: var(--van-emous-ultra-light); color: var(--primary); }
|
||||
.ins-section-head > .bi:first-child { width: 16px; color: var(--primary); }
|
||||
.ins-section-head .bi-chevron-down { margin-left: auto; font-size: 11px; color: var(--text-faint); transition: transform .15s; }
|
||||
.ins-section.open .ins-section-head .bi-chevron-down { transform: rotate(180deg); }
|
||||
.ins-collapsible:not(.open) .ins-section-body { display: none; }
|
||||
.ins-section-body { padding: 2px 14px 12px; }
|
||||
.ins-group + .ins-group { margin-top: 8px; }
|
||||
.ins-group h3 { margin: 8px 0 4px; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: var(--text-faint); }
|
||||
.ins-group-body { display: flex; flex-direction: column; gap: 2px; }
|
||||
.ins-btn {
|
||||
display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin: 3px 0; padding: 5px 11px;
|
||||
border: 1px solid var(--border); border-radius: 4px; background: var(--surface); font: inherit; font-size: 12.5px; color: var(--text); cursor: pointer;
|
||||
}
|
||||
.ins-btn .bi { color: var(--primary); }
|
||||
.ins-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
|
||||
.ins-btn.active { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
|
||||
.ins-btn:disabled { opacity: .5; cursor: default; }
|
||||
.ins-btn.ins-danger { color: var(--danger); border-color: #e3b4b0; }
|
||||
.ins-btn.ins-danger .bi { color: var(--danger); }
|
||||
.ins-btn.ins-danger:hover { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }
|
||||
.ins-group-body > .ins-btn + .ins-btn { margin-top: 0; }
|
||||
.ins-note { margin: 4px 0; font-size: 11.5px; line-height: 1.45; color: var(--text-muted); }
|
||||
.ins-note.ins-warn { padding: 6px 8px; border-radius: 4px; background: var(--danger-soft); color: var(--danger); }
|
||||
/* Staal of foto in de eenheid-kolom, zodat het veld uitlijnt met de rest. */
|
||||
.ins-pair { position: relative; }
|
||||
.ins-pair > .ins-thumb, .ins-pair > .ins-swatch { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
|
||||
.ins-thumb { width: 26px; height: 26px; display: block; border: 1px solid var(--border); border-radius: 3px; object-fit: cover; }
|
||||
.ins-swatch { width: 26px; height: 22px; border: 1px solid var(--border); border-radius: 3px; }
|
||||
.ins-check { display: flex; align-items: center; gap: 7px; padding: 3px 0; font-size: 12.5px; cursor: pointer; }
|
||||
.ins-check input { margin: 0; accent-color: var(--primary); }
|
||||
.ins-cols { display: flex; flex-direction: column; }
|
||||
.ins-cols:empty { display: none; }
|
||||
.inspector .ui-field { min-height: 30px; }
|
||||
.inspector .ui-control input[type=number] { width: 96px; }
|
||||
.inspector .ui-control select, .inspector .ui-control input[type=text] { width: 150px; }
|
||||
.inspector .ui-control input[type=color] { width: 46px; height: 24px; padding: 0; border: 1px solid var(--border); border-radius: 3px; background: none; }
|
||||
.inspector .ui-switch { margin-right: 0; }
|
||||
.inspector .ui-range input[type=number] { width: 80px; }
|
||||
|
||||
/* Dialogen */
|
||||
.dlg-overlay { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; background: rgba(33, 33, 33, .45); }
|
||||
.dlg-overlay.open { display: flex; }
|
||||
.dlg {
|
||||
display: flex; flex-direction: column; width: 780px; max-width: 94%; max-height: 88vh;
|
||||
background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 12px 30px rgba(33, 33, 33, .2);
|
||||
}
|
||||
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 8px; }
|
||||
.dlg-head h2 { margin: 0; font-size: 15px; color: var(--primary); }
|
||||
.dlg-x { border: none; background: none; font-size: 20px; line-height: 1; color: var(--text-faint); cursor: pointer; }
|
||||
.dlg-x:hover { color: var(--danger); }
|
||||
.keys-body { overflow-y: auto; padding: 4px 20px 18px; columns: 2 300px; column-gap: 28px; }
|
||||
.keys-body section { break-inside: avoid; margin-bottom: 14px; }
|
||||
.keys-body h3 { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-faint); }
|
||||
.keys-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dashed var(--border-soft); font-size: 12.5px; }
|
||||
.keys-row span:last-child { color: var(--text-muted); text-align: right; }
|
||||
kbd {
|
||||
display: inline-block; min-width: 20px; padding: 1px 6px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px;
|
||||
background: var(--van-emous-ultra-light); font: 11.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); text-align: center;
|
||||
}
|
||||
#new-modal { max-width: 92vw; }
|
||||
.new-options { flex-wrap: wrap; max-width: 640px; }
|
||||
.keys-mouse { font-weight: 600; color: var(--text); }
|
||||
#house-nav { overflow-x: hidden; }
|
||||
.hn-item { min-width: 0; }
|
||||
.hn-label { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.hn-meta { flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
/* Structuur: inklapbare groepen */
|
||||
.hn-item { align-items: center; }
|
||||
.hn-item .hn-label { flex: 1; }
|
||||
.hn-group:not(.open) .hn-children { display: none; }
|
||||
.hn-head { cursor: pointer; }
|
||||
.hn-head:hover { color: var(--primary); background: rgba(255, 255, 255, .6); }
|
||||
.hn-toggle {
|
||||
flex: none; width: 18px; height: 18px; margin: 0 2px 0 -4px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
|
||||
border: none; border-radius: 3px; background: none; color: var(--text-faint); cursor: pointer;
|
||||
}
|
||||
.hn-toggle .bi { margin: 0 !important; font-size: 10px; color: inherit !important; transition: transform .15s; }
|
||||
.hn-group.open > .hn-item .hn-toggle .bi { transform: rotate(90deg); }
|
||||
.hn-toggle:hover { background: rgba(255, 255, 255, .8); color: var(--primary); }
|
||||
.hn-sub { padding-left: 30px; }
|
||||
|
||||
/* Masonry: kaarten in de kortste kolom (leesvolgorde blijft links → rechts) */
|
||||
.ui-masonry { display: flex; align-items: flex-start; gap: 12px; }
|
||||
.ui-masonry-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
|
||||
|
||||
/* ===== Gelijktrekken oude onderdelen met de nieuwe stijl ===== */
|
||||
.io-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; font-family: inherit; font-size: 12px; }
|
||||
.ui-btn.ui-btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
|
||||
|
||||
/* Viewportlabels: herkenbaar maar niet dominant */
|
||||
.pane-label {
|
||||
top: 10px; left: 10px; padding: 3px 8px; border: none; border-radius: 4px; background: rgba(0, 0, 0, .55);
|
||||
font-size: 11px; font-weight: 600; letter-spacing: .8px; color: #c9ced6;
|
||||
}
|
||||
.ho-warn { top: 40px; left: 10px; right: 10px; }
|
||||
|
||||
/* Eigenschappenpaneel: getal naast schuif lijnt uit met gewone getalvelden; bredere keuzelijsten */
|
||||
.inspector .ui-range { gap: 0; }
|
||||
.inspector .ui-range input[type=range] { margin-right: 10px; }
|
||||
.inspector .ui-range input[type=number], .inspector .ui-control input[type=number] { width: 96px; }
|
||||
.inspector .ui-control select, .inspector .ui-control input[type=text] { width: 170px; }
|
||||
.inspector .ui-field label { flex: 1; min-width: 0; }
|
||||
|
||||
/* Rapport- en resultaatkaarten: lange waarde schuift onder het label i.p.v. het label te pletten */
|
||||
.ui-spec-row { flex-wrap: wrap; }
|
||||
.ui-spec-val { margin-left: auto; }
|
||||
|
||||
/* Wand-/vloerpaneel: koppen, velden en knoppen zoals het eigenschappenpaneel */
|
||||
.ed-panel h1 { margin: 12px 0 4px; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: var(--text-faint); }
|
||||
.ed-panel h1 .bi { display: none; }
|
||||
.ed-panel .tab-content > :first-child h1:first-child, .ed-panel .controls-grid > div:first-child > h1:first-child { margin-top: 2px; }
|
||||
.ed-panel .spec-section h1 { margin: 0 0 6px; font-size: 12px; color: var(--primary); letter-spacing: .6px; }
|
||||
.ed-panel .spec-section h1 .bi { display: inline; }
|
||||
.ed-panel .divider { border: none; margin: 4px 0; }
|
||||
.ed-panel .control-group label { flex: 1; min-width: 0; line-height: 1.3; }
|
||||
.ed-panel .control-group > div { display: flex; align-items: center; flex: none; white-space: nowrap; }
|
||||
.ed-panel .control-group .unit { display: inline-block; width: 22px; margin-left: 3px; }
|
||||
.ed-panel .control-group > div > select:last-child, .ed-panel .control-group > div > input:last-child { margin-right: 25px; }
|
||||
.ed-panel .control-group .ui-switch { margin-right: 25px; }
|
||||
.ed-panel .control-group input[type=number], .ed-panel .control-group input[type=text], .ed-panel .control-group select { width: 110px; }
|
||||
.ed-panel .material-info { font-size: 11.5px; }
|
||||
|
||||
.material-toggle-group { flex-wrap: wrap; }
|
||||
.material-toggle-btn {
|
||||
flex: 1 1 auto; min-width: 0; padding: 6px 10px; border-radius: 4px; text-transform: none; letter-spacing: 0;
|
||||
font-family: inherit; font-size: 12.5px; font-weight: 500;
|
||||
}
|
||||
.material-toggle-btn:disabled { opacity: .55; cursor: not-allowed; }
|
||||
|
||||
.add-opening-btn {
|
||||
width: 100%; justify-content: center; padding: 7px 10px; background: var(--surface); border: 1px dashed var(--border);
|
||||
color: var(--text); font-weight: 500; font-family: inherit;
|
||||
}
|
||||
.add-opening-btn .bi { color: var(--primary); }
|
||||
.add-opening-btn:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
|
||||
.opening-card-title { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--text); }
|
||||
.opening-remove-btn { border-color: transparent; color: var(--text-faint); }
|
||||
.opening-remove-btn:hover { border-color: var(--danger); color: var(--danger); }
|
||||
#cost-settings-modal .cs-row input, #cost-settings-modal .cs-row select {
|
||||
padding: 4px 6px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); font: inherit; font-size: 12.5px; color: var(--text);
|
||||
}
|
||||
#cost-settings-modal .cs-row input:focus, #cost-settings-modal .cs-row select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 2px var(--primary-soft); }
|
||||
#cost-settings-modal .cs-row input:disabled, #cost-settings-modal .cs-row input[readonly] { background: var(--border-soft); }
|
||||
|
||||
Reference in New Issue
Block a user