@@ -48,7 +48,8 @@ export function ClipTrack(props: Pick<ComponentProps<"div">, "ref">) {
4848 < SegmentRoot
4949 class = { cx (
5050 "overflow-hidden border border-transparent transition-colors duration-300 group" ,
51- "hover:border-gray-500"
51+ "hover:border-gray-500" ,
52+ "bg-gradient-to-r timeline-gradient-border from-[#2675DB] via-[#4FA0FF] to-[#2675DB] shadow-[inset_0_5px_10px_5px_rgba(255,255,255,0.2)]"
5253 ) }
5354 innerClass = "ring-blue-300"
5455 segment = { {
@@ -85,10 +86,7 @@ export function ClipTrack(props: Pick<ComponentProps<"div">, "ref">) {
8586
8687 < SegmentHandle
8788 position = "start"
88- class = { cx (
89- "absolute inset-y-0 z-10 opacity-0" ,
90- "group-hover:opacity-100"
91- ) }
89+ class = "opacity-0 group-hover:opacity-100"
9290 onMouseDown = { ( downEvent ) => {
9391 const start = segment . start ;
9492
@@ -147,7 +145,7 @@ export function ClipTrack(props: Pick<ComponentProps<"div">, "ref">) {
147145 } ) ;
148146 } }
149147 />
150- < SegmentContent class = "justify-center items-center relative dark:text-black-transparent-60 text-white-transparent-60 bg-gradient-to-r timeline-gradient-border from-[#2675DB] via-[#4FA0FF] to-[#2675DB] shadow-[inset_0_5px_10px_5px_rgba(255,255,255,0.2)] " >
148+ < SegmentContent class = "justify-center items-center relative dark:text-black-transparent-60 text-white-transparent-60" >
151149 < Show when = { segment . start > 0 } >
152150 < span class = "text-black-transparent-60 text-[0.625rem] absolute top-[18px] left-5" >
153151 { formatTime ( segment . start ) }
@@ -177,10 +175,7 @@ export function ClipTrack(props: Pick<ComponentProps<"div">, "ref">) {
177175 </ SegmentContent >
178176 < SegmentHandle
179177 position = "end"
180- class = { cx (
181- "absolute inset-y-0 z-10 opacity-0" ,
182- "group-hover:opacity-100"
183- ) }
178+ class = "opacity-0 group-hover:opacity-100"
184179 onMouseDown = { ( downEvent ) => {
185180 const end = segment . end ;
186181
0 commit comments