diff --git a/frontend/dcViewer.css b/frontend/dcViewer.css index 341444c..835dffa 100644 --- a/frontend/dcViewer.css +++ b/frontend/dcViewer.css @@ -55,6 +55,7 @@ --section-axis-y: #35ff4f; --section-axis-z: #285bff; --section-gizmo-diameter: 1; + --section-gizmo-thickness: 1; --section-plane-fill: #606060; --section-plane-alpha: 0.32; --section-plane-edge: #0d0d0d; @@ -1968,7 +1969,7 @@ body[data-viewer-mode="guest"] .inspector-restore-tray { background: var(--toolbar-bg); color: var(--text); font-size: var(--tb-icon-size, 13px); - font-weight: 700; + font-weight: 500; line-height: 1; cursor: pointer; padding: var(--tb-icon-pad, 5px); @@ -1991,17 +1992,20 @@ body[data-viewer-mode="guest"] .inspector-restore-tray { .section-tool-btn svg { display: block; - width: var(--tb-svg-size, 24px); - height: var(--tb-svg-size, 24px); + width: 12px; + height: 12px; fill: none; stroke: currentColor; - stroke-width: 1.8; + stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; } .section-axis-btn { letter-spacing: 0; + font-size: 11px; + font-weight: 600; + padding-top: 1px; } .section-overview { diff --git a/frontend/dcViewer.js b/frontend/dcViewer.js index cc36337..3c3d525 100644 --- a/frontend/dcViewer.js +++ b/frontend/dcViewer.js @@ -1,10 +1,10 @@ const SDK_VERSION = "2.6.78"; // соответствует package.json -const SDK_URL = "./lib/dc-camera-context.es.js?v=2"; +const SDK_URL = "./lib/dc-camera-context.es.js?v=3"; import { createLogo } from "./src/ui/logo.js"; import { toolbarConfig, applyToolbarVars } from "./src/ui/toolbar.js"; import { createTemplatesMenu } from "./src/ui/templatesMenu.js?v=2"; -import { createSettingsMenu } from "./src/ui/settingsMenu.js?v=6"; +import { createSettingsMenu } from "./src/ui/settingsMenu.js?v=7"; import { createMeasurementModal } from "./src/ui/measurementModal.js"; import { createGlassSelect } from "./src/ui/glassSelect.js"; import { createSliderControl } from "./src/ui/controls/slider.js"; @@ -1011,6 +1011,7 @@ const sectionPlaneThemeFromCSS = () => ({ z: hexToRgb01(cssValue("--section-axis-z", "#285bff")), }, gizmoDiameter: clampNumber(parseFloat(cssValue("--section-gizmo-diameter", "1")), 0.5, 1.8, 1), + gizmoThickness: clampNumber(parseFloat(cssValue("--section-gizmo-thickness", "1")), 0.5, 2.5, 1), planeFillColor: hexToRgb01(cssValue("--section-plane-fill", "#606060")), planeFillAlpha: clampNumber(parseFloat(cssValue("--section-plane-alpha", "0.32")), 0, 1, 0.32), planeEdgeColor: hexToRgb01(cssValue("--section-plane-edge", "#0d0d0d")), diff --git a/frontend/index.html b/frontend/index.html index 9176de5..ab1c59c 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -85,6 +85,7 @@ set("--section-axis-y", s.sectionAxisY); set("--section-axis-z", s.sectionAxisZ); set("--section-gizmo-diameter", s.sectionGizmoDiameter); + set("--section-gizmo-thickness", s.sectionGizmoThickness); set("--section-plane-fill", s.sectionPlaneFill); set("--section-plane-alpha", s.sectionPlaneAlpha); set("--section-plane-edge", s.sectionPlaneEdge); @@ -97,7 +98,7 @@ - +