mirror of
https://github.com/CNCKitchen/stlTexturizer.git
synced 2026-04-07 22:11:32 +00:00
Enhance UI for scale and offset controls; add surface masking options and improve displacement logic
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user