@@ -212,6 +212,92 @@ $iconSize: 24px;
212212 pointer-events: none;
213213 }*/
214214}
215+
216+ .df-node-wrap.is-locating {
217+ --canvas-node-locate-stroke : rgba (44 , 101 , 255 , 0.64 );
218+ --canvas-node-locate-ring : rgba (44 , 101 , 255 , 0.2 );
219+ --canvas-node-locate-glow : rgba (44 , 101 , 255 , 0.16 );
220+
221+ position : relative ;
222+ z-index : 9 ;
223+
224+ & ::before ,
225+ & ::after {
226+ content : ' ' ;
227+ position : absolute ;
228+ inset : -4px ;
229+ border-radius : 18px ;
230+ pointer-events : none ;
231+ }
232+
233+ & ::before {
234+ border : 1px solid var (--canvas-node-locate-stroke );
235+ animation : canvas- node- locate- trace 1.8s cubic-bezier (0.16 , 1 , 0.3 , 1 );
236+ }
237+
238+ & ::after {
239+ box-shadow :
240+ 0 0 0 0 var (--canvas-node-locate-ring ),
241+ 0 10px 24px var (--canvas-node-locate-glow );
242+ animation : canvas- node- locate- halo 1.8s cubic-bezier (0.16 , 1 , 0.3 , 1 );
243+ }
244+ }
245+
246+ html .dark .df-node-wrap.is-locating {
247+ --canvas-node-locate-stroke : rgba (92 , 140 , 255 , 0.72 );
248+ --canvas-node-locate-ring : rgba (92 , 140 , 255 , 0.28 );
249+ --canvas-node-locate-glow : rgba (92 , 140 , 255 , 0.24 );
250+ }
251+
252+ @keyframes canvas-node-locate-trace {
253+ 0% {
254+ opacity : 0 ;
255+ transform : scale (0.985 );
256+ }
257+ 14% {
258+ opacity : 1 ;
259+ transform : scale (1 );
260+ }
261+ 100% {
262+ opacity : 0 ;
263+ transform : scale (1.035 );
264+ }
265+ }
266+
267+ @keyframes canvas-node-locate-halo {
268+ 0% {
269+ opacity : 0 ;
270+ transform : scale (0.98 );
271+ }
272+ 16% {
273+ opacity : 1 ;
274+ }
275+ 68% {
276+ opacity : 0.42 ;
277+ }
278+ 100% {
279+ opacity : 0 ;
280+ transform : scale (1.055 );
281+ box-shadow :
282+ 0 0 0 14px rgba (44 , 101 , 255 , 0 ),
283+ 0 10px 24px rgba (44 , 101 , 255 , 0 );
284+ }
285+ }
286+
287+ @media (prefers-reduced-motion : reduce) {
288+ .df-node-wrap.is-locating {
289+ & ::before {
290+ animation : none ;
291+ opacity : 1 ;
292+ }
293+
294+ & ::after {
295+ animation : none ;
296+ box-shadow : 0 0 0 4px var (--canvas-node-locate-ring );
297+ }
298+ }
299+ }
300+
215301.df-menu-list {
216302 margin : -6px ;
217303 .df-menu-item {
0 commit comments