feat: add gradient entity modal and fix color picker clipping

Add full gradient editor modal with name, description, visual stop
editor, tags, and dirty checking. Gradient editor now supports ID
prefix to avoid DOM conflicts between CSS editor and standalone modal.

Fix color picker popover clipped by template-card overflow:hidden.
Fix gradient canvas not sizing correctly in standalone modal.
This commit is contained in:
2026-03-24 13:58:51 +03:00
parent 227b82f522
commit c0d0d839dc
14 changed files with 465 additions and 161 deletions

View File

@@ -480,13 +480,11 @@ body.cs-drag-active .card-drag-handle {
.card-title {
font-size: 1.05rem;
font-weight: 600;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
min-width: 0;
display: flex;
align-items: center;
gap: 8px;
overflow: hidden;
}
.card-title-text {
@@ -500,6 +498,7 @@ body.cs-drag-active .card-drag-handle {
color: var(--primary-text-color);
vertical-align: middle;
margin-right: 6px;
flex-shrink: 0;
}
.device-url-badge {