File tree Expand file tree Collapse file tree
src/lib/components/Editor/TimelineArea Expand file tree Collapse file tree Original file line number Diff line number Diff line change 132132 <Timecode seconds ={markingRange .end * duration } />
133133 {/ snippet }
134134 </Tooltip >
135+ {:else }
136+ <div class =" instructions" >Click to start trimming</div >
135137 {/if }
136138 {/ snippet }
137139</InteractiveTimelineBar >
204206 transform : translateX (var (--start ));
205207 background-color : scheme .var-color (' secondary' , -2 );
206208 }
209+
210+ $background-bar-spacing : 10px ;
211+ $background-bar-color : scheme .var-color (' secondary' , -2 );
212+
213+ .instructions {
214+ position : absolute ;
215+ z-index : -1 ;
216+ top : 0 ;
217+ bottom : 0 ;
218+ left : 0 ;
219+ right : 0 ;
220+ background : repeating-linear-gradient (
221+ 45deg ,
222+ transparent 0px ,
223+ transparent $background-bar-spacing ,
224+ $background-bar-color $background-bar-spacing ,
225+ $background-bar-color $background-bar-spacing * 2
226+ );
227+
228+ font-size : 0.8em ;
229+ display : grid ;
230+ place-content : center ;
231+
232+ transition : 0.2s ;
233+ opacity : 0.7 ;
234+ color : transparent ;
235+ }
236+
237+ :global(.wrapper :hover ) > .instructions {
238+ opacity : 1 ;
239+ color : inherit ;
240+ }
207241 </style >
You can’t perform that action at this time.
0 commit comments