Add auto edit and polish timeline interactions (#17)

Co-authored-by: haixin.yang <haixin.yang@weimob.com>
This commit is contained in:
Martin Delophyandhaixin.yang authored and GitHub committed 2026-07-17 16:05:26 +08:00
1 parent d0848ea7a4
commit 0be8627f95
15 files changed
+396 -29

No files matched your search

+69 -11
View File
@@ -1154,6 +1154,30 @@ button:disabled {
.smart-context-empty svg { color: #5c7280; }
.smart-context-empty strong { margin-top: 15px; color: #e3edef; font-size: 14px; }
.smart-context-empty span { max-width: 240px; margin-top: 8px; color: #798894; font-size: 11px; line-height: 1.6; }
.auto-edit-panel { display: grid; gap: 14px; }
.auto-edit-intro { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid rgba(53,234,217,.16); border-radius: 11px; background: linear-gradient(145deg, rgba(53,234,217,.1), rgba(77,128,255,.05)); }
.auto-edit-intro svg { flex: 0 0 auto; color: #35ead9; }
.auto-edit-intro div { display: grid; gap: 4px; }
.auto-edit-intro strong { color: #edf8f7; font-size: 13px; }
.auto-edit-intro span, .auto-edit-status-card p { color: #82919b; font-size: 11px; line-height: 1.55; }
.auto-edit-status-card { display: grid; gap: 10px; padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.025); }
.auto-edit-status-card > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auto-edit-status-card > div > span { color: #c1cdd2; font-size: 12px; }
.auto-edit-status-card p { margin: 0; }
.auto-edit-status-card .auto-edit-warning { color: #d8b96e; }
.auto-edit-availability { color: #82919b; font-size: 10px; }
.auto-edit-availability.is-available { color: #35ead9; }
.auto-edit-availability.is-unavailable { color: #f27e7e; }
.auto-edit-availability.is-downloadable, .auto-edit-availability.is-downloading { color: #e7c56f; }
.auto-edit-flow { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 10px 9px; align-items: start; }
.auto-edit-flow > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #071616; font-size: 10px; font-weight: 700; background: #35ead9; }
.auto-edit-flow p { display: grid; gap: 2px; margin: 0; }
.auto-edit-flow strong { color: #dce7e9; font-size: 12px; }
.auto-edit-flow small { color: #74838e; font-size: 10px; }
.auto-edit-progress { display: grid; gap: 8px; }
.auto-edit-progress > div { display: flex; justify-content: space-between; color: #9eacb4; font-size: 11px; }
.auto-edit-progress progress { width: 100%; accent-color: #35ead9; }
.auto-edit-panel .primary-action { width: 100%; }
.smart-vision-heading {
display: flex;
@@ -3764,7 +3788,7 @@ button:disabled {
.visual-junction {
position: absolute;
top: 15px;
top: 27px;
z-index: 8;
display: grid;
place-items: center;
@@ -3875,10 +3899,14 @@ button:disabled {
}
.image-clip.is-selected-segment {
border-color: rgba(105, 168, 255, 0.92);
z-index: 4;
border-color: #8bacff;
outline: 1px solid rgba(139, 172, 255, 0.82);
outline-offset: -2px;
filter: brightness(1.07) saturate(1.06);
box-shadow:
inset 0 0 0 1px rgba(105, 168, 255, 0.36),
0 0 0 1px rgba(105, 168, 255, 0.28);
inset 0 0 0 1px rgba(210, 224, 255, 0.18),
0 0 8px rgba(90, 139, 255, 0.24);
}
.image-thumbnails {
@@ -4087,9 +4115,14 @@ button:disabled {
}
.caption-segment.is-selected-segment {
z-index: 4;
border-color: #ffad6b;
outline: 1px solid rgba(255, 173, 107, 0.82);
outline-offset: -2px;
filter: brightness(1.06);
box-shadow:
inset 0 0 0 2px #67b5ff,
0 0 0 1px rgba(103, 181, 255, 0.4);
inset 0 0 0 1px rgba(255, 229, 207, 0.16),
0 0 8px rgba(255, 137, 72, 0.22);
}
.caption-segment-label {
@@ -4161,10 +4194,14 @@ button:disabled {
}
.sticker-segment.is-selected-segment {
border-color: rgba(103, 181, 255, 0.9);
z-index: 4;
border-color: #35ead9;
outline: 1px solid rgba(53, 234, 217, 0.82);
outline-offset: -2px;
filter: brightness(1.06);
box-shadow:
inset 0 0 0 1px rgba(103, 181, 255, 0.36),
0 0 0 1px rgba(103, 181, 255, 0.28);
inset 0 0 0 1px rgba(205, 255, 250, 0.16),
0 0 8px rgba(53, 234, 217, 0.2);
}
.sticker-segment img {
@@ -4356,8 +4393,29 @@ button:disabled {
}
.audio-clip.is-selected .waveform-strip {
border-color: rgba(105, 170, 255, 0.95);
box-shadow: inset 0 0 0 1px rgba(105, 170, 255, 0.45);
border-color: #b493ff;
outline: 1px solid rgba(180, 147, 255, 0.82);
outline-offset: -2px;
filter: brightness(1.07) saturate(1.05);
box-shadow:
inset 0 0 0 1px rgba(230, 219, 255, 0.16),
0 0 8px rgba(153, 109, 255, 0.22);
}
.audio-clip.is-source.is-selected .waveform-strip {
border-color: #ffd45f;
outline-color: #ffd45f;
box-shadow:
inset 0 0 0 1px rgba(255, 241, 198, 0.18),
0 0 8px rgba(255, 190, 55, 0.24);
}
.audio-clip.is-music.is-selected .waveform-strip {
border-color: #65ddb0;
outline-color: #65ddb0;
box-shadow:
inset 0 0 0 1px rgba(210, 255, 238, 0.17),
0 0 8px rgba(66, 211, 157, 0.22);
}
.audio-clip.is-source .waveform-strip {