Add EntitySelect/IconSelect UI improvements across modals

- Portal IconSelect popups to document.body with position:fixed to prevent
  clipping by modal overflow-y:auto
- Replace custom scene selectors in automation editor with EntitySelect
  command-palette pickers (main scene + fallback scene)
- Add IconSelect grid for automation deactivation mode (none/revert/fallback)
- Add IconSelect grid for automation condition type and match type
- Replace mapped zone source dropdowns with EntitySelect pickers
- Replace scene target selector with EntityPalette.pick() pattern
- Remove effect palette preview bar from CSS editor
- Remove sensitivity badge from audio color strip source cards
- Clean up unused scene-selector CSS and scene-target-add-row CSS
- Add locale keys for all new UI elements across en/ru/zh

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 16:00:30 +03:00
parent 186940124c
commit 2712c6682e
32 changed files with 1204 additions and 391 deletions
@@ -174,103 +174,6 @@
text-align: center;
}
/* Scene selector (searchable combobox) */
.scene-selector {
position: relative;
}
.scene-selector-input-wrap {
display: flex;
align-items: center;
border: 1px solid var(--border-color);
border-radius: 4px;
background: var(--bg-color);
overflow: hidden;
}
.scene-selector-input {
flex: 1;
padding: 6px 8px;
border: none;
background: transparent;
color: var(--text-color);
font-size: 0.9rem;
font-family: inherit;
outline: none;
}
.scene-selector-clear {
background: none;
border: none;
color: var(--text-muted);
font-size: 1.1rem;
cursor: pointer;
padding: 4px 8px;
line-height: 1;
display: none;
}
.scene-selector-clear.visible {
display: block;
}
.scene-selector-clear:hover {
color: var(--danger-color, #dc3545);
}
.scene-selector-dropdown {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
z-index: 100;
max-height: 200px;
overflow-y: auto;
border: 1px solid var(--border-color);
border-top: none;
border-radius: 0 0 4px 4px;
background: var(--bg-color);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.scene-selector-dropdown.open {
display: block;
}
.scene-selector-item {
padding: 6px 10px;
font-size: 0.85rem;
cursor: pointer;
display: flex;
align-items: center;
gap: 6px;
transition: background 0.1s;
}
.scene-selector-item:hover {
background: rgba(33, 150, 243, 0.15);
}
.scene-selector-item.selected {
background: rgba(33, 150, 243, 0.2);
font-weight: 600;
}
.scene-selector-item .scene-color-dot {
width: 10px;
height: 10px;
border-radius: 50%;
flex-shrink: 0;
}
.scene-selector-empty {
padding: 8px 10px;
font-size: 0.85rem;
color: var(--text-muted);
text-align: center;
}
/* Webhook URL row */
.webhook-url-row {
display: flex;