mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-12-08 21:22:30 -05:00
Compare commits
3 Commits
main
...
feat/ui-tr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c367d7eeb | ||
|
|
6eae3310ad | ||
|
|
e536c74576 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -35,3 +35,4 @@ frontend-tools/video-editor/client/public/videos/sample-video.mp3
|
|||||||
frontend-tools/chapters-editor/client/public/videos/sample-video.mp3
|
frontend-tools/chapters-editor/client/public/videos/sample-video.mp3
|
||||||
static/chapters_editor/videos/sample-video.mp3
|
static/chapters_editor/videos/sample-video.mp3
|
||||||
static/video_editor/videos/sample-video.mp3
|
static/video_editor/videos/sample-video.mp3
|
||||||
|
templates/todo-MS4.md
|
||||||
|
|||||||
@@ -150,6 +150,11 @@ const App = () => {
|
|||||||
canRedo={historyPosition < history.length - 1}
|
canRedo={historyPosition < history.length - 1}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
{/* Timeline Header */}
|
||||||
|
<div className="timeline-header-container">
|
||||||
|
<h2 className="timeline-header-title">Add Chapters</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
{/* Timeline Controls */}
|
{/* Timeline Controls */}
|
||||||
<TimelineControls
|
<TimelineControls
|
||||||
currentTime={currentTime}
|
currentTime={currentTime}
|
||||||
|
|||||||
@@ -1,4 +1,16 @@
|
|||||||
#chapters-editor-root {
|
#chapters-editor-root {
|
||||||
|
.timeline-header-container {
|
||||||
|
margin-left: 1rem;
|
||||||
|
margin-top: -0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.timeline-header-title {
|
||||||
|
font-size: 1.125rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #059669;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.timeline-container-card {
|
.timeline-container-card {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
@@ -11,6 +23,8 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
|
border-bottom: 2px solid rgba(16, 185, 129, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.timeline-title {
|
.timeline-title {
|
||||||
@@ -21,6 +35,8 @@
|
|||||||
|
|
||||||
.timeline-title-text {
|
.timeline-title-text {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
color: #059669;
|
||||||
|
font-size: 0.875rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.current-time {
|
.current-time {
|
||||||
@@ -48,10 +64,11 @@
|
|||||||
.timeline-container {
|
.timeline-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
background-color: #fafbfc;
|
background-color: #E2EDE4;
|
||||||
height: 70px;
|
height: 70px;
|
||||||
border-radius: 0.25rem;
|
border-radius: 0.25rem;
|
||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
|
border: 1px solid rgba(16, 185, 129, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.timeline-marker {
|
.timeline-marker {
|
||||||
@@ -194,7 +211,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
padding: 0.4rem;
|
padding: 0.4rem;
|
||||||
background-color: rgba(0, 0, 0, 0.4);
|
background-color: rgba(16, 185, 129, 0.6);
|
||||||
color: white;
|
color: white;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: background-color 0.2s;
|
transition: background-color 0.2s;
|
||||||
@@ -202,15 +219,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.clip-segment:hover .clip-segment-info {
|
.clip-segment:hover .clip-segment-info {
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(16, 185, 129, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.clip-segment.selected .clip-segment-info {
|
.clip-segment.selected .clip-segment-info {
|
||||||
background-color: rgba(59, 130, 246, 0.5);
|
background-color: rgba(5, 150, 105, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
.clip-segment.selected:hover .clip-segment-info {
|
.clip-segment.selected:hover .clip-segment-info {
|
||||||
background-color: rgba(59, 130, 246, 0.4);
|
background-color: rgba(5, 150, 105, 0.75);
|
||||||
}
|
}
|
||||||
|
|
||||||
.clip-segment-name {
|
.clip-segment-name {
|
||||||
|
|||||||
@@ -309,6 +309,11 @@ const App = () => {
|
|||||||
canRedo={historyPosition < history.length - 1}
|
canRedo={historyPosition < history.length - 1}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
{/* Timeline Header */}
|
||||||
|
<div className="timeline-header-container">
|
||||||
|
<h2 className="timeline-header-title">Trim or Split</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
{/* Timeline Controls */}
|
{/* Timeline Controls */}
|
||||||
<TimelineControls
|
<TimelineControls
|
||||||
currentTime={currentTime}
|
currentTime={currentTime}
|
||||||
|
|||||||
@@ -1,4 +1,16 @@
|
|||||||
#video-editor-trim-root {
|
#video-editor-trim-root {
|
||||||
|
.timeline-header-container {
|
||||||
|
margin-left: 1rem;
|
||||||
|
margin-top: -0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.timeline-header-title {
|
||||||
|
font-size: 1.125rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #2563eb;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.timeline-container-card {
|
.timeline-container-card {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
@@ -11,6 +23,8 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
|
border-bottom: 2px solid rgba(59, 130, 246, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.timeline-title {
|
.timeline-title {
|
||||||
@@ -21,6 +35,8 @@
|
|||||||
|
|
||||||
.timeline-title-text {
|
.timeline-title-text {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
color: #2563eb;
|
||||||
|
font-size: 0.875rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.current-time {
|
.current-time {
|
||||||
@@ -48,10 +64,11 @@
|
|||||||
.timeline-container {
|
.timeline-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
background-color: #fafbfc;
|
background-color: #eff6ff;
|
||||||
height: 70px;
|
height: 70px;
|
||||||
border-radius: 0.25rem;
|
border-radius: 0.25rem;
|
||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
|
border: 1px solid rgba(59, 130, 246, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.timeline-marker {
|
.timeline-marker {
|
||||||
@@ -194,7 +211,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
padding: 0.4rem;
|
padding: 0.4rem;
|
||||||
background-color: rgba(0, 0, 0, 0.4);
|
background-color: rgba(59, 130, 246, 0.6);
|
||||||
color: white;
|
color: white;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: background-color 0.2s;
|
transition: background-color 0.2s;
|
||||||
@@ -202,15 +219,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.clip-segment:hover .clip-segment-info {
|
.clip-segment:hover .clip-segment-info {
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(59, 130, 246, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.clip-segment.selected .clip-segment-info {
|
.clip-segment.selected .clip-segment-info {
|
||||||
background-color: rgba(59, 130, 246, 0.5);
|
background-color: rgba(37, 99, 235, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
.clip-segment.selected:hover .clip-segment-info {
|
.clip-segment.selected:hover .clip-segment-info {
|
||||||
background-color: rgba(59, 130, 246, 0.4);
|
background-color: rgba(37, 99, 235, 0.75);
|
||||||
}
|
}
|
||||||
|
|
||||||
.clip-segment-name {
|
.clip-segment-name {
|
||||||
|
|||||||
Reference in New Issue
Block a user