fix caption lane controls and preview behavior

This commit is contained in:
haixin.yang committed 2026-07-17 19:42:55 +08:00
1 parent eb3501b211
commit 2b9a1e7e0b
10 files changed
+146 -56

No files matched your search

+11 -7
View File
@@ -4379,22 +4379,26 @@ button:disabled {
position: fixed;
z-index: 180;
display: grid;
width: 224px;
width: 210px;
max-width: calc(100vw - 20px);
padding: 7px;
padding: 5px;
border: 1px solid rgba(104, 132, 139, .4);
border-radius: 11px;
border-radius: 9px;
background: rgba(15, 20, 26, .98);
box-shadow: 0 18px 50px rgba(0, 0, 0, .48);
transform: translateY(-4px);
}
.timeline-context-heading { display: flex; justify-content: space-between; padding: 7px 9px 8px; color: #e9f2f4; font-size: 12px; font-weight: 750; }
.timeline-context-heading span { color: #71818a; font-size: 10px; font-weight: 650; text-transform: uppercase; }
.timeline-context-menu button { display: flex; align-items: center; gap: 9px; min-height: 34px; padding: 7px 9px; border: 0; border-radius: 7px; color: #cbd7da; text-align: left; background: transparent; cursor: pointer; }
.timeline-context-heading { display: flex; justify-content: space-between; gap: 8px; padding: 6px 7px 7px; color: #e9f2f4; font-size: 11px; line-height: 1; font-weight: 750; white-space: nowrap; }
.timeline-context-heading span { overflow: hidden; color: #71818a; font-size: 9px; font-weight: 650; text-overflow: ellipsis; text-transform: uppercase; }
.timeline-context-menu button { display: flex; align-items: center; gap: 7px; min-height: 29px; width: 100%; overflow: hidden; padding: 5px 7px; border: 0; border-radius: 6px; color: #cbd7da; font-size: 12px; line-height: 1.15; text-align: left; text-overflow: ellipsis; white-space: nowrap; background: transparent; cursor: pointer; }
.timeline-context-menu button svg { flex: 0 0 auto; }
.timeline-context-menu button:disabled { cursor: wait; opacity: .72; }
.timeline-context-menu button.is-loading svg { animation: timeline-context-spin .75s linear infinite; }
.timeline-context-menu button:hover { color: #f2ffff; background: rgba(53, 234, 217, .1); }
.timeline-context-menu button.is-danger { color: #ff9a9a; }
.timeline-context-menu button.is-danger:hover { background: rgba(255, 90, 90, .1); }
.timeline-context-divider { height: 1px; margin: 5px 4px; background: rgba(255,255,255,.08); }
.timeline-context-divider { height: 1px; margin: 4px 3px; background: rgba(255,255,255,.08); }
@keyframes timeline-context-spin { to { transform: rotate(360deg); } }
.timeline-drag-ghost {
position: fixed;