feat: implement surface exclusion mode toggle and enhance exclusion overlay logic

This commit is contained in:
CNCKitchen
2026-03-17 19:43:46 +01:00
parent cbe7e7ffef
commit 598902021a
6 changed files with 197 additions and 32 deletions
+14
View File
@@ -454,6 +454,13 @@ input[type="number"].val:focus { outline: none; border-color: var(--accent); }
margin-bottom: 10px;
}
.excl-mode-row {
margin-bottom: 10px;
}
.excl-mode-row .excl-seg {
width: 100%;
}
.excl-tool-btn {
flex: 1;
display: flex;
@@ -514,6 +521,13 @@ input[type="number"].val:focus { outline: none; border-color: var(--accent); }
color: var(--accent);
}
/* Green active state for the Include Only mode button */
#excl-mode-include.active {
background: color-mix(in srgb, #00cc66 18%, var(--surface2));
border-color: #00cc66;
color: #00cc66;
}
.excl-seg-btn:hover:not(.active) {
background: var(--border);
color: var(--text);