From e6bb3f1761e36768488a3e17f8c1f1e973988614 Mon Sep 17 00:00:00 2001 From: CODEX Date: Thu, 18 Jun 2026 22:29:28 +0300 Subject: [PATCH] Normalize section popup button icons --- frontend/dcViewer.css | 26 +++++++++++++----------- frontend/index.html | 47 ++++++++++++++++++++++++++----------------- 2 files changed, 43 insertions(+), 30 deletions(-) diff --git a/frontend/dcViewer.css b/frontend/dcViewer.css index 835dffa..d526945 100644 --- a/frontend/dcViewer.css +++ b/frontend/dcViewer.css @@ -1962,17 +1962,16 @@ body[data-viewer-mode="guest"] .inspector-restore-tray { .section-tool-btn { width: var(--tb-size, 25px); height: var(--tb-size, 25px); - display: inline-grid; - place-items: center; + display: inline-flex; + align-items: center; + justify-content: center; border: 1px solid var(--toolbar-border); border-radius: var(--tb-radius, 7px); background: var(--toolbar-bg); color: var(--text); - font-size: var(--tb-icon-size, 13px); - font-weight: 500; - line-height: 1; cursor: pointer; - padding: var(--tb-icon-pad, 5px); + padding: 0; + line-height: 0; transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease, background 120ms ease; } @@ -1992,20 +1991,23 @@ body[data-viewer-mode="guest"] .inspector-restore-tray { .section-tool-btn svg { display: block; - width: 12px; - height: 12px; + width: 15px; + height: 15px; fill: none; stroke: currentColor; - stroke-width: 1.45; + stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; + overflow: visible; } -.section-axis-btn { - letter-spacing: 0; +.section-letter-icon text { + fill: currentColor; + stroke: none; + font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif; font-size: 11px; font-weight: 600; - padding-top: 1px; + letter-spacing: 0; } .section-overview { diff --git a/frontend/index.html b/frontend/index.html index ab1c59c..1637783 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -98,7 +98,7 @@ - +
@@ -328,29 +328,40 @@