Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Disabled transport reads as disabled

Bittibfa5b8d2c32d
diff --git a/src/styles/timeline.css b/src/styles/timeline.css
index 8ae93a1..de773a4 100644
--- a/src/styles/timeline.css
+++ b/src/styles/timeline.css
@@ -457,10 +457,26 @@
background: var(--accent);
}
-.monitor-transport .play-button:hover {
+.monitor-transport .play-button:hover:not(:disabled) {
background: var(--accent-bright);
}
+/* An empty timeline has nothing to play. A full-brightness Play button would
+ invite a click that does nothing, so the transport reads as disabled. */
+.monitor-transport button:disabled {
+ opacity: 0.4;
+ cursor: not-allowed;
+}
+
+.monitor-transport button:disabled:hover {
+ color: var(--text-secondary);
+ background: none;
+}
+
+.monitor-transport .play-button:disabled:hover {
+ background: var(--accent);
+}
+
.monitor-transport > span {
justify-self: end;
color: var(--text-muted);