Refine BIM section controls and styling
This commit is contained in:
+44
-36
@@ -51,6 +51,16 @@
|
||||
--measure-label: #c4ff67;
|
||||
--measure-label-text: #292929;
|
||||
--measure-dot: #c4ff67;
|
||||
--section-axis-x: #ff2b2b;
|
||||
--section-axis-y: #35ff4f;
|
||||
--section-axis-z: #285bff;
|
||||
--section-gizmo-diameter: 1;
|
||||
--section-plane-fill: #606060;
|
||||
--section-plane-alpha: 0.32;
|
||||
--section-plane-edge: #0d0d0d;
|
||||
--section-plane-edge-alpha: 0.8;
|
||||
--section-toolbar-left: calc(12px + var(--tb-size, 25px) + var(--tb-gap, 10px));
|
||||
--section-toolbar-bottom: 123px;
|
||||
--nodedc-glass-control-bg: var(--modal-element);
|
||||
--nodedc-glass-control-hover: color-mix(in srgb, var(--modal-element) 86%, white 8%);
|
||||
--nodedc-glass-control-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.01);
|
||||
@@ -1928,19 +1938,20 @@ body[data-viewer-mode="guest"] .inspector-restore-tray {
|
||||
|
||||
.section-toolbar {
|
||||
position: fixed;
|
||||
left: calc(12px + var(--tb-size, 52px) + 10px);
|
||||
bottom: 12px;
|
||||
left: var(--section-toolbar-left);
|
||||
bottom: var(--section-toolbar-bottom);
|
||||
z-index: 16;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 6px;
|
||||
border: 1px solid var(--toolbar-border);
|
||||
border-radius: var(--tb-radius, 12px);
|
||||
background: color-mix(in srgb, var(--toolbar-bg) 88%, transparent);
|
||||
box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
|
||||
backdrop-filter: blur(18px) saturate(124%);
|
||||
-webkit-backdrop-filter: blur(18px) saturate(124%);
|
||||
gap: var(--tb-gap, 10px);
|
||||
height: var(--tb-size, 25px);
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none;
|
||||
}
|
||||
|
||||
.section-toolbar.hidden {
|
||||
@@ -1948,26 +1959,30 @@ body[data-viewer-mode="guest"] .inspector-restore-tray {
|
||||
}
|
||||
|
||||
.section-tool-btn {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
width: var(--tb-size, 25px);
|
||||
height: var(--tb-size, 25px);
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
border: 1px solid transparent;
|
||||
border-radius: calc(var(--tb-radius, 12px) - 4px);
|
||||
background: transparent;
|
||||
border: 1px solid var(--toolbar-border);
|
||||
border-radius: var(--tb-radius, 7px);
|
||||
background: var(--toolbar-bg);
|
||||
color: var(--text);
|
||||
font-size: 13px;
|
||||
font-size: var(--tb-icon-size, 13px);
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
transition: background 120ms ease, border-color 120ms ease, transform 100ms ease;
|
||||
padding: var(--tb-icon-pad, 5px);
|
||||
transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
|
||||
}
|
||||
|
||||
.section-tool-btn:hover,
|
||||
.section-tool-btn.active {
|
||||
.section-tool-btn:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: var(--toolbar-outline, rgba(76, 224, 210, 0.7));
|
||||
box-shadow: 0 10px 20px color-mix(in srgb, var(--toolbar-outline, rgba(76, 224, 210, 0.7)) 30%, transparent);
|
||||
}
|
||||
|
||||
.section-tool-btn.active {
|
||||
background: var(--toolbar-bg-active);
|
||||
color: var(--modal-btn-primary-contrast, #15170f);
|
||||
}
|
||||
|
||||
.section-tool-btn:active {
|
||||
@@ -1976,8 +1991,8 @@ body[data-viewer-mode="guest"] .inspector-restore-tray {
|
||||
|
||||
.section-tool-btn svg {
|
||||
display: block;
|
||||
width: 21px;
|
||||
height: 21px;
|
||||
width: var(--tb-svg-size, 24px);
|
||||
height: var(--tb-svg-size, 24px);
|
||||
fill: none;
|
||||
stroke: currentColor;
|
||||
stroke-width: 1.8;
|
||||
@@ -1990,21 +2005,14 @@ body[data-viewer-mode="guest"] .inspector-restore-tray {
|
||||
}
|
||||
|
||||
.section-overview {
|
||||
position: fixed;
|
||||
left: calc(12px + var(--tb-size, 52px) + 10px);
|
||||
bottom: 66px;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
z-index: 14;
|
||||
display: none;
|
||||
border: 1px solid var(--toolbar-border);
|
||||
border-radius: 12px;
|
||||
background: color-mix(in srgb, var(--toolbar-bg) 84%, transparent);
|
||||
box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
body[data-section-mode="active"] .section-overview {
|
||||
width: var(--tb-size, 25px);
|
||||
height: var(--tb-size, 25px);
|
||||
flex: 0 0 var(--tb-size, 25px);
|
||||
display: block;
|
||||
border: 1px solid var(--toolbar-border);
|
||||
border-radius: var(--tb-radius, 7px);
|
||||
background: var(--toolbar-bg);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.templates-panel {
|
||||
|
||||
Reference in New Issue
Block a user