Remove collapsible section header from animation type selector
Animation section only has one field, so flatten it to a simple form group with label instead of a details/summary wrapper. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -619,13 +619,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Animation — shown for static/gradient, hidden for picture -->
|
<!-- Animation — shown for static/gradient, hidden for picture -->
|
||||||
<div id="css-editor-animation-section" style="display:none">
|
<div id="css-editor-animation-section" class="form-group" style="display:none">
|
||||||
<details class="form-collapse">
|
|
||||||
<summary><span data-i18n="color_strip.animation">Animation</span></summary>
|
|
||||||
<div class="form-collapse-body">
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="label-row">
|
<div class="label-row">
|
||||||
<label for="css-editor-animation-type" data-i18n="color_strip.animation.type">Effect:</label>
|
<label for="css-editor-animation-type" data-i18n="color_strip.animation">Animation:</label>
|
||||||
<button type="button" class="hint-toggle" onclick="toggleHint(this)" title="?" data-i18n-aria-label="aria.hint">?</button>
|
<button type="button" class="hint-toggle" onclick="toggleHint(this)" title="?" data-i18n-aria-label="aria.hint">?</button>
|
||||||
</div>
|
</div>
|
||||||
<small class="input-hint" style="display:none" data-i18n="color_strip.animation.type.hint">The animation effect to apply. Available effects depend on source type. Select None to disable animation.</small>
|
<small class="input-hint" style="display:none" data-i18n="color_strip.animation.type.hint">The animation effect to apply. Available effects depend on source type. Select None to disable animation.</small>
|
||||||
@@ -634,9 +630,6 @@
|
|||||||
</select>
|
</select>
|
||||||
<small id="css-editor-animation-type-desc" class="field-desc"></small>
|
<small id="css-editor-animation-type-desc" class="field-desc"></small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</details>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Sync Clock (shown for animated types: static, gradient, color_cycle, effect) -->
|
<!-- Sync Clock (shown for animated types: static, gradient, color_cycle, effect) -->
|
||||||
<div id="css-editor-clock-group" class="form-group" style="display:none">
|
<div id="css-editor-clock-group" class="form-group" style="display:none">
|
||||||
|
|||||||
Reference in New Issue
Block a user