Debian Codegraph @

js-packages/@fortawesome/fontawesome-free/scss/_animated.scss

raw
1 // animating icons
2 // --------------------------
3 @use 'variables' as v;
4
5 .#{v.$css-prefix}-beat {
6 animation-name: #{v.$css-prefix}-beat;
7 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
8 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
9 animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
10 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
11 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, ease-in-out);
12 }
13
14 .#{v.$css-prefix}-bounce {
15 animation-name: #{v.$css-prefix}-bounce;
16 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
17 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
18 animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
19 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
20 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
21 }
22
23 .#{v.$css-prefix}-fade {
24 animation-name: #{v.$css-prefix}-fade;
25 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
26 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
27 animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
28 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
29 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, ease-in-out);
30 }
31
32 .#{v.$css-prefix}-beat-fade {
33 animation-name: #{v.$css-prefix}-beat-fade;
34 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
35 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
36 animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
37 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
38 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, ease-in-out);
39 }
40
41 .#{v.$css-prefix}-flip {
42 animation-name: #{v.$css-prefix}-flip;
43 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
44 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
45 animation-duration: var(--#{v.$css-prefix}-animation-duration, 1.5s);
46 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
47 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, ease-in-out);
48 }
49
50 .#{v.$css-prefix}-flip-360 {
51 animation-name: #{v.$css-prefix}-flip-360;
52 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
53 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
54 animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
55 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
56 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, ease-in-out);
57 }
58
59 .#{v.$css-prefix}-shake {
60 animation-name: #{v.$css-prefix}-shake;
61 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
62 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
63 animation-duration: var(--#{v.$css-prefix}-animation-duration, 0.75s);
64 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
65 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, ease-in-out);
66 }
67
68 .#{v.$css-prefix}-spin {
69 animation-name: #{v.$css-prefix}-spin;
70 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
71 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
72 animation-duration: var(--#{v.$css-prefix}-animation-duration, 2s);
73 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
74 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, linear);
75 }
76
77 .#{v.$css-prefix}-spin-reverse {
78 --#{v.$css-prefix}-animation-direction: reverse;
79 }
80
81 .#{v.$css-prefix}-pulse,
82 .#{v.$css-prefix}-spin-pulse {
83 animation-name: #{v.$css-prefix}-spin;
84 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
85 animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
86 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
87 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, steps(8));
88 }
89
90 .#{v.$css-prefix}-spin-snap {
91 animation-name: #{v.$css-prefix}-spin-snap;
92 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
93 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
94 animation-duration: var(--#{v.$css-prefix}-animation-duration, 3s);
95 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
96 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, linear);
97 }
98
99 .#{v.$css-prefix}-spin-snap-4 {
100 animation-name: #{v.$css-prefix}-spin-snap-4;
101 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
102 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
103 animation-duration: var(--#{v.$css-prefix}-animation-duration, 2.4s);
104 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
105 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, linear);
106 }
107
108 .#{v.$css-prefix}-spin-snap-8 {
109 animation-name: #{v.$css-prefix}-spin-snap-8;
110 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
111 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
112 animation-duration: var(--#{v.$css-prefix}-animation-duration, 4s);
113 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
114 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, linear);
115 }
116
117 .#{v.$css-prefix}-buzz {
118 animation-name: #{v.$css-prefix}-buzz;
119 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
120 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
121 animation-duration: var(--#{v.$css-prefix}-animation-duration, 0.6s);
122 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
123 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, linear);
124 }
125
126 .#{v.$css-prefix}-wag {
127 animation-name: #{v.$css-prefix}-wag;
128 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
129 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
130 animation-duration: var(--#{v.$css-prefix}-animation-duration, 0.9s);
131 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
132 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, ease-out);
133 transform-origin: bottom center;
134 }
135
136 .#{v.$css-prefix}-float {
137 animation-name: #{v.$css-prefix}-float;
138 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
139 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
140 animation-duration: var(--#{v.$css-prefix}-animation-duration, 3s);
141 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
142 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, ease-in-out);
143 will-change: transform;
144 }
145
146 .#{v.$css-prefix}-swing {
147 animation-name: #{v.$css-prefix}-swing;
148 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
149 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
150 animation-duration: var(--#{v.$css-prefix}-animation-duration, 1.2s);
151 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
152 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, ease-out);
153 transform-origin: top center;
154 }
155
156 .#{v.$css-prefix}-jello {
157 animation-name: #{v.$css-prefix}-jello;
158 animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
159 animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
160 animation-duration: var(--#{v.$css-prefix}-animation-duration, 0.9s);
161 animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
162 animation-timing-function: var(--#{v.$css-prefix}-animation-timing, ease-out);
163 }
164
165 // if agent or operating system prefers reduced motion, disable animations
166 // see: https://www.smashingmagazine.com/2020/09/design-reduced-motion-sensitivities/
167 // see: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
168 @media (prefers-reduced-motion: reduce) {
169 .#{v.$css-prefix}-beat,
170 .#{v.$css-prefix}-bounce,
171 .#{v.$css-prefix}-fade,
172 .#{v.$css-prefix}-beat-fade,
173 .#{v.$css-prefix}-flip,
174 .#{v.$css-prefix}-flip-360,
175 .#{v.$css-prefix}-pulse,
176 .#{v.$css-prefix}-shake,
177 .#{v.$css-prefix}-spin,
178 .#{v.$css-prefix}-spin-pulse,
179 .#{v.$css-prefix}-buzz,
180 .#{v.$css-prefix}-float,
181 .#{v.$css-prefix}-jello,
182 .#{v.$css-prefix}-spin-snap,
183 .#{v.$css-prefix}-spin-snap-4,
184 .#{v.$css-prefix}-spin-snap-8,
185 .#{v.$css-prefix}-swing,
186 .#{v.$css-prefix}-wag {
187 animation: none !important;
188 transition: none !important;
189 }
190 }
191
192 @keyframes #{v.$css-prefix}-beat {
193 0% {
194 transform: scale(1);
195 }
196 25% {
197 transform: scale(calc(1.25 * var(--#{v.$css-prefix}-beat-scale, 1.25)));
198 }
199 45% {
200 transform: scale(calc(1.22 * var(--#{v.$css-prefix}-beat-scale, 1.22)));
201 }
202 65% {
203 transform: scale(calc(1.25 * var(--#{v.$css-prefix}-beat-scale, 1.25)));
204 }
205 90% {
206 transform: scale(1);
207 }
208 }
209
210 @keyframes #{v.$css-prefix}-bounce {
211 0% {
212 transform: scale(1, 1) translateY(0);
213 animation-timing-function: var(--#{v.$css-prefix}-animation-timing);
214 }
215 14% {
216 transform: scale(var(--#{v.$css-prefix}-bounce-start-scale-x, 1.06), var(--#{v.$css-prefix}-bounce-start-scale-y, 0.94))
217 translateY(var(--#{v.$css-prefix}-bounce-anticipation, 3px));
218 animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
219 }
220 32% {
221 transform: scale(var(--#{v.$css-prefix}-bounce-jump-scale-x, 0.94), var(--#{v.$css-prefix}-bounce-jump-scale-y, 1.12))
222 translateY(calc(-1 * var(--#{v.$css-prefix}-bounce-height, 0.5em)));
223 animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
224 }
225 52% {
226 transform: scale(1, 1) translateY(calc(-1 * var(--#{v.$css-prefix}-bounce-height, 0.5em) * 1.1));
227 animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
228 }
229 70% {
230 transform: scale(var(--#{v.$css-prefix}-bounce-land-scale-x, 1.06), var(--#{v.$css-prefix}-bounce-land-scale-y, 0.92)) translateY(0);
231 animation-timing-function: cubic-bezier(0.33, 0.33, 0.66, 1);
232 }
233 85% {
234 transform: scale(0.98, 1.04) translateY(calc(-2px * var(--#{v.$css-prefix}-bounce-rebound, 1)));
235 animation-timing-function: cubic-bezier(0.33, 0, 0.66, 1);
236 }
237 100% {
238 transform: scale(1, 1) translateY(0);
239 }
240 }
241
242 @keyframes #{v.$css-prefix}-fade {
243 0% {
244 opacity: 1;
245 transform: scale(1);
246 animation-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
247 }
248 40% {
249 opacity: var(--#{v.$css-prefix}-fade-opacity, 0.4);
250 transform: scale(0.98);
251 animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
252 }
253 100% {
254 opacity: 1;
255 transform: scale(1);
256 }
257 }
258
259 @keyframes #{v.$css-prefix}-beat-fade {
260 0% {
261 opacity: var(--#{v.$css-prefix}-beat-fade-opacity, 0.4);
262 transform: scale(1);
263 animation-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
264 }
265 25% {
266 opacity: calc(var(--#{v.$css-prefix}-beat-fade-opacity, 0.4) + 0.4);
267 transform: scale(var(--#{v.$css-prefix}-beat-fade-scale, 1.28));
268 animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
269 }
270 45% {
271 opacity: 1;
272 transform: scale(var(--#{v.$css-prefix}-beat-fade-scale, 1.25));
273 animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
274 }
275 65% {
276 opacity: calc(var(--#{v.$css-prefix}-beat-fade-opacity, 0.4) + 0.4);
277 transform: scale(var(--#{v.$css-prefix}-beat-fade-scale, 1.28));
278 animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
279 }
280 100% {
281 opacity: var(--#{v.$css-prefix}-beat-fade-opacity, 0.4);
282 transform: scale(1);
283 }
284 }
285
286 @keyframes #{v.$css-prefix}-flip {
287 0% {
288 transform: perspective(2em) scale(1) rotate3d(var(--#{v.$css-prefix}-flip-x, 0), var(--#{v.$css-prefix}-flip-y, 1), var(--#{v.$css-prefix}-flip-z, 0), 0deg);
289 animation-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
290 }
291 8% {
292 transform: perspective(2em) scale(var(--#{v.$css-prefix}-flip-anticipation-scale, 0.95))
293 rotate3d(var(--#{v.$css-prefix}-flip-x, 0), var(--#{v.$css-prefix}-flip-y, 1), var(--#{v.$css-prefix}-flip-z, 0), 0deg);
294 animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
295 }
296 35% {
297 transform: perspective(2em) scale(1)
298 rotate3d(var(--#{v.$css-prefix}-flip-x, 0), var(--#{v.$css-prefix}-flip-y, 1), var(--#{v.$css-prefix}-flip-z, 0), calc(var(--#{v.$css-prefix}-flip-angle, -360deg) * 0.6));
299 animation-timing-function: linear;
300 }
301 65% {
302 transform: perspective(2em) scale(1)
303 rotate3d(var(--#{v.$css-prefix}-flip-x, 0), var(--#{v.$css-prefix}-flip-y, 1), var(--#{v.$css-prefix}-flip-z, 0), calc(var(--#{v.$css-prefix}-flip-angle, -360deg) * 0.5));
304 animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
305 }
306 92% {
307 transform: perspective(2em) scale(1)
308 rotate3d(
309 var(--#{v.$css-prefix}-flip-x, 0),
310 var(--#{v.$css-prefix}-flip-y, 1),
311 var(--#{v.$css-prefix}-flip-z, 0),
312 calc(var(--#{v.$css-prefix}-flip-angle, -360deg) * var(--#{v.$css-prefix}-flip-overshoot, 1.04))
313 );
314 animation-timing-function: cubic-bezier(0.33, 0, 0.66, 1);
315 }
316 100% {
317 transform: perspective(2em) scale(1)
318 rotate3d(var(--#{v.$css-prefix}-flip-x, 0), var(--#{v.$css-prefix}-flip-y, 1), var(--#{v.$css-prefix}-flip-z, 0), var(--#{v.$css-prefix}-flip-angle, -360deg));
319 }
320 }
321
322 @keyframes #{v.$css-prefix}-flip-360 {
323 0% {
324 transform: perspective(2em) scale(1) rotate3d(var(--#{v.$css-prefix}-flip-x, 0), var(--#{v.$css-prefix}-flip-y, 1), var(--#{v.$css-prefix}-flip-z, 0), 0deg);
325 animation-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
326 }
327 8% {
328 transform: perspective(2em) scale(var(--#{v.$css-prefix}-flip-anticipation-scale, 0.95)) rotate3d(var(--#{v.$css-prefix}-flip-x, 0), var(--#{v.$css-prefix}-flip-y, 1), var(--#{v.$css-prefix}-flip-z, 0), 0deg);
329 animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
330 }
331 50% {
332 transform: perspective(2em) scale(1) rotate3d(var(--#{v.$css-prefix}-flip-x, 0), var(--#{v.$css-prefix}-flip-y, 1), var(--#{v.$css-prefix}-flip-z, 0), calc(var(--#{v.$css-prefix}-flip-angle, -360deg) * 0.6));
333 animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
334 }
335 80% {
336 transform: perspective(2em) scale(1) rotate3d(var(--#{v.$css-prefix}-flip-x, 0), var(--#{v.$css-prefix}-flip-y, 1), var(--#{v.$css-prefix}-flip-z, 0), calc(var(--#{v.$css-prefix}-flip-angle, -360deg) * var(--#{v.$css-prefix}-flip-overshoot, 1.04)));
337 animation-timing-function: cubic-bezier(0.33, 0, 0.66, 1);
338 }
339 100% {
340 transform: perspective(2em) scale(1) rotate3d(var(--#{v.$css-prefix}-flip-x, 0), var(--#{v.$css-prefix}-flip-y, 1), var(--#{v.$css-prefix}-flip-z, 0), var(--#{v.$css-prefix}-flip-angle, -360deg));
341 }
342 }
343
344 @keyframes #{v.$css-prefix}-shake {
345 0% {
346 transform: rotate(0deg);
347 animation-timing-function: cubic-bezier(0.2, 0, 0.8, 1);
348 }
349 8% {
350 transform: rotate(35deg) translateX(1px);
351 animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
352 }
353 20% {
354 transform: rotate(-22deg) translateX(-1px);
355 animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
356 }
357 35% {
358 transform: rotate(15deg) translateX(1px);
359 animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
360 }
361 50% {
362 transform: rotate(-9deg);
363 animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
364 }
365 65% {
366 transform: rotate(5deg);
367 animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
368 }
369 78% {
370 transform: rotate(-3deg);
371 animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
372 }
373 90% {
374 transform: rotate(1deg);
375 animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
376 }
377 100% {
378 transform: rotate(0deg);
379 }
380 }
381
382 @keyframes #{v.$css-prefix}-spin {
383 0% { transform: rotate(0deg); }
384 100% { transform: rotate(360deg); }
385 }
386
387 @keyframes #{v.$css-prefix}-spin-snap {
388 0% {
389 transform: rotate(0deg);
390 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
391 }
392 12% {
393 transform: rotate(60deg);
394 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
395 }
396 16.67% {
397 transform: rotate(60deg);
398 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
399 }
400 28.67% {
401 transform: rotate(120deg);
402 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
403 }
404 33.33% {
405 transform: rotate(120deg);
406 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
407 }
408 45.33% {
409 transform: rotate(180deg);
410 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
411 }
412 50% {
413 transform: rotate(180deg);
414 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
415 }
416 62% {
417 transform: rotate(240deg);
418 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
419 }
420 66.67% {
421 transform: rotate(240deg);
422 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
423 }
424 78.67% {
425 transform: rotate(300deg);
426 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
427 }
428 83.33% {
429 transform: rotate(300deg);
430 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
431 }
432 95.33% {
433 transform: rotate(360deg);
434 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
435 }
436 100% {
437 transform: rotate(360deg);
438 }
439 }
440
441 @keyframes #{v.$css-prefix}-spin-snap-4 {
442 0% {
443 transform: rotate(0deg);
444 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
445 }
446 15% {
447 transform: rotate(90deg);
448 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
449 }
450 25% {
451 transform: rotate(90deg);
452 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
453 }
454 40% {
455 transform: rotate(180deg);
456 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
457 }
458 50% {
459 transform: rotate(180deg);
460 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
461 }
462 65% {
463 transform: rotate(270deg);
464 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
465 }
466 75% {
467 transform: rotate(270deg);
468 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
469 }
470 90% {
471 transform: rotate(360deg);
472 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
473 }
474 100% {
475 transform: rotate(360deg);
476 }
477 }
478
479 @keyframes #{v.$css-prefix}-spin-snap-8 {
480 0% {
481 transform: rotate(0deg);
482 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
483 }
484 9% {
485 transform: rotate(45deg);
486 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
487 }
488 12.5% {
489 transform: rotate(45deg);
490 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
491 }
492 21.5% {
493 transform: rotate(90deg);
494 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
495 }
496 25% {
497 transform: rotate(90deg);
498 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
499 }
500 34% {
501 transform: rotate(135deg);
502 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
503 }
504 37.5% {
505 transform: rotate(135deg);
506 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
507 }
508 46.5% {
509 transform: rotate(180deg);
510 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
511 }
512 50% {
513 transform: rotate(180deg);
514 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
515 }
516 59% {
517 transform: rotate(225deg);
518 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
519 }
520 62.5% {
521 transform: rotate(225deg);
522 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
523 }
524 71.5% {
525 transform: rotate(270deg);
526 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
527 }
528 75% {
529 transform: rotate(270deg);
530 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
531 }
532 84% {
533 transform: rotate(315deg);
534 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
535 }
536 87.5% {
537 transform: rotate(315deg);
538 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
539 }
540 96.5% {
541 transform: rotate(360deg);
542 animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
543 }
544 100% {
545 transform: rotate(360deg);
546 }
547 }
548
549 @keyframes #{v.$css-prefix}-buzz {
550 0% {
551 transform: translateX(0) rotate(0deg);
552 animation-timing-function: cubic-bezier(0.1, 0, 0.9, 1);
553 }
554 5% {
555 transform: translateX(var(--#{v.$css-prefix}-buzz-distance, 4px)) rotate(0.5deg);
556 }
557 10% {
558 transform: translateX(calc(-1 * var(--#{v.$css-prefix}-buzz-distance, 4px))) rotate(-0.5deg);
559 }
560 15% {
561 transform: translateX(var(--#{v.$css-prefix}-buzz-distance, 4px)) rotate(0.3deg);
562 }
563 20% {
564 transform: translateX(calc(-1 * var(--#{v.$css-prefix}-buzz-distance, 4px))) rotate(-0.3deg);
565 }
566 25% {
567 transform: translateX(calc(var(--#{v.$css-prefix}-buzz-distance, 4px) * 0.7)) rotate(0.2deg);
568 }
569 30% {
570 transform: translateX(calc(-1 * var(--#{v.$css-prefix}-buzz-distance, 4px) * 0.7)) rotate(-0.2deg);
571 }
572 35% {
573 transform: translateX(calc(var(--#{v.$css-prefix}-buzz-distance, 4px) * 0.4)) rotate(0.1deg);
574 }
575 40% {
576 transform: translateX(0) rotate(0deg);
577 }
578 100% {
579 transform: translateX(0) rotate(0deg);
580 }
581 }
582
583 @keyframes #{v.$css-prefix}-wag {
584 0% {
585 transform: rotate(0deg);
586 animation-timing-function: cubic-bezier(0.2, 0, 0.6, 1);
587 }
588 12% {
589 transform: rotate(var(--#{v.$css-prefix}-wag-angle, 12deg));
590 animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
591 }
592 24% {
593 transform: rotate(2deg);
594 animation-timing-function: cubic-bezier(0.2, 0, 0.6, 1);
595 }
596 36% {
597 transform: rotate(calc(var(--#{v.$css-prefix}-wag-angle, 12deg) * 0.85));
598 animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
599 }
600 48% {
601 transform: rotate(1deg);
602 animation-timing-function: cubic-bezier(0.2, 0, 0.6, 1);
603 }
604 58% {
605 transform: rotate(calc(var(--#{v.$css-prefix}-wag-angle, 12deg) * 0.6));
606 animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
607 }
608 68% {
609 transform: rotate(0deg);
610 }
611 100% {
612 transform: rotate(0deg);
613 }
614 }
615
616 @keyframes #{v.$css-prefix}-float {
617 0% {
618 transform: translateY(0) translateX(0) rotate(0deg)
619 scale(var(--#{v.$css-prefix}-float-squash-x, 1.02), var(--#{v.$css-prefix}-float-squash-y, 0.98));
620 animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
621 }
622 15% {
623 transform: translateY(calc(-0.4 * var(--#{v.$css-prefix}-float-height, 6px))) translateX(var(--#{v.$css-prefix}-float-drift, 1px))
624 rotate(var(--#{v.$css-prefix}-float-tilt, 1deg)) scale(1, 1);
625 animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
626 }
627 35% {
628 transform: translateY(calc(-1 * var(--#{v.$css-prefix}-float-height, 6px))) translateX(0) rotate(0deg)
629 scale(var(--#{v.$css-prefix}-float-stretch-x, 0.98), var(--#{v.$css-prefix}-float-stretch-y, 1.03));
630 animation-timing-function: cubic-bezier(0.5, 0, 0.5, 0);
631 }
632 50% {
633 transform: translateY(calc(-0.92 * var(--#{v.$css-prefix}-float-height, 6px))) translateX(calc(-0.5 * var(--#{v.$css-prefix}-float-drift, 1px)))
634 rotate(calc(-0.5 * var(--#{v.$css-prefix}-float-tilt, 1deg))) scale(0.995, 1.01);
635 animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
636 }
637 70% {
638 transform: translateY(calc(-0.3 * var(--#{v.$css-prefix}-float-height, 6px))) translateX(calc(-1 * var(--#{v.$css-prefix}-float-drift, 1px)))
639 rotate(calc(-1 * var(--#{v.$css-prefix}-float-tilt, 1deg))) scale(1, 1);
640 animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
641 }
642 90% {
643 transform: translateY(calc(0.05 * var(--#{v.$css-prefix}-float-height, 6px))) translateX(0) rotate(0deg)
644 scale(var(--#{v.$css-prefix}-float-squash-x, 1.02), var(--#{v.$css-prefix}-float-squash-y, 0.98));
645 animation-timing-function: cubic-bezier(0.33, 0, 0.66, 1);
646 }
647 100% {
648 transform: translateY(0) translateX(0) rotate(0deg)
649 scale(var(--#{v.$css-prefix}-float-squash-x, 1.02), var(--#{v.$css-prefix}-float-squash-y, 0.98));
650 }
651 }
652
653 @keyframes #{v.$css-prefix}-swing {
654 0% {
655 transform: rotate(0deg);
656 animation-timing-function: cubic-bezier(0.2, 0, 0.8, 1);
657 }
658 8% {
659 transform: rotate(var(--#{v.$css-prefix}-swing-angle, 22deg));
660 animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
661 }
662 18% {
663 transform: rotate(calc(-1 * var(--#{v.$css-prefix}-swing-angle, 22deg) * 0.85));
664 animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
665 }
666 28% {
667 transform: rotate(calc(var(--#{v.$css-prefix}-swing-angle, 22deg) * 0.65));
668 animation-timing-function: cubic-bezier(0.35, 0, 0.65, 1);
669 }
670 38% {
671 transform: rotate(calc(-1 * var(--#{v.$css-prefix}-swing-angle, 22deg) * 0.45));
672 animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
673 }
674 48% {
675 transform: rotate(calc(var(--#{v.$css-prefix}-swing-angle, 22deg) * 0.25));
676 animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
677 }
678 56% {
679 transform: rotate(calc(-1 * var(--#{v.$css-prefix}-swing-angle, 22deg) * 0.1));
680 animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
681 }
682 64% {
683 transform: rotate(0deg);
684 }
685 100% {
686 transform: rotate(0deg);
687 }
688 }
689
690 @keyframes #{v.$css-prefix}-jello {
691 0% {
692 transform: scale(1, 1);
693 animation-timing-function: cubic-bezier(0.2, 0, 0.8, 1);
694 }
695 12% {
696 transform: scale(var(--#{v.$css-prefix}-jello-scale-x, 1.15), calc(2 - var(--#{v.$css-prefix}-jello-scale-x, 1.15)));
697 animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
698 }
699 24% {
700 transform: scale(calc(2 - var(--#{v.$css-prefix}-jello-scale-y, 1.12)), var(--#{v.$css-prefix}-jello-scale-y, 1.12));
701 animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
702 }
703 36% {
704 transform: scale(
705 calc(1 + (var(--#{v.$css-prefix}-jello-scale-x, 1.15) - 1) * 0.5),
706 calc(2 - (1 + (var(--#{v.$css-prefix}-jello-scale-x, 1.15) - 1) * 0.5))
707 );
708 animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
709 }
710 48% {
711 transform: scale(
712 calc(2 - (1 + (var(--#{v.$css-prefix}-jello-scale-y, 1.12) - 1) * 0.3)),
713 calc(1 + (var(--#{v.$css-prefix}-jello-scale-y, 1.12) - 1) * 0.3)
714 );
715 animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
716 }
717 58% {
718 transform: scale(1.02, 0.98);
719 animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
720 }
721 68% {
722 transform: scale(1, 1);
723 }
724 100% {
725 transform: scale(1, 1);
726 }
727 }