Enhance UI for scale and offset controls; add surface masking options and improve displacement logic

This commit is contained in:
CNCKitchen
2026-03-17 12:59:03 +01:00
parent a68eedba38
commit 57a42f0815
6 changed files with 180 additions and 67 deletions
+17 -3
View File
@@ -13,7 +13,7 @@
--danger: #ff5f5f;
--success: #4ade80;
--radius: 8px;
--sidebar-w: 310px;
--sidebar-w: 380px;
--header-h: 48px;
}
@@ -323,12 +323,26 @@ main {
}
.val {
flex: 0 0 56px;
flex: 0 0 52px;
text-align: right;
font-size: 11px;
color: var(--text-muted);
font-variant-numeric: tabular-nums;
color: var(--text-muted);
}
input[type="number"].val {
background: var(--surface2);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--text);
padding: 2px 6px;
cursor: text;
box-sizing: border-box;
min-width: 0;
-moz-appearance: textfield;
}
input[type="number"].val::-webkit-inner-spin-button,
input[type="number"].val::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"].val:focus { outline: none; border-color: var(--accent); }
/* ── Hint text ───────────────────────────────────────────────────────── */
.hint {