mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 02:00:46 +00:00
trimzone styles
This commit is contained in:
1 parent
b1ab64f64d
commit
02f6d86390
2 files changed
+19
-6
No files matched your search
@@ -6,7 +6,8 @@ import React, {
|
||||
} from "react";
|
||||
import {
|
||||
faPlay,
|
||||
faPause
|
||||
faPause,
|
||||
faGripDots
|
||||
} from "@fortawesome/pro-solid-svg-icons"
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import {
|
||||
@@ -160,7 +161,9 @@ export default function VideoQuickTrim({
|
||||
) + "%");
|
||||
}
|
||||
}}
|
||||
/>
|
||||
>
|
||||
<FontAwesomeIcon icon={faGripDots} />
|
||||
</div>
|
||||
<div className="playcursor" style={{left: currentTimePortion+"%"}}/>
|
||||
</div> {/* END of Playbar */}
|
||||
|
||||
|
||||
@@ -46,18 +46,28 @@ $playbar-height: 2rem;
|
||||
}
|
||||
.trimzone{
|
||||
position: absolute;
|
||||
top:0;
|
||||
height: 2rem;
|
||||
top:-1rem;
|
||||
height: 3rem;
|
||||
background-color: #e66462;
|
||||
opacity: 0.8;
|
||||
|
||||
outline: 0.125rem $white solid;
|
||||
border-top: 1rem $white solid;
|
||||
border-radius: 0.25rem 0.25rem 0.125rem 0.125rem;
|
||||
cursor: grab;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
.fa-grip-dots {
|
||||
margin-top: -1rem;
|
||||
color: $panel-inner-border;
|
||||
}
|
||||
}
|
||||
.playcursor{
|
||||
position: absolute;
|
||||
top:0;
|
||||
width: 0.5rem;
|
||||
height: $playbar-height;
|
||||
background-color: white;
|
||||
background-color: $white;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user