mirror of
https://github.com/uhIgnacio/igna.rocks.git
synced 2024-08-15 02:23:12 +00:00
42 lines
911 B
Text
42 lines
911 B
Text
/* Icon Hang */
|
|
.keyframes(~"@{nameSpace}-icon-hang", {
|
|
0% {
|
|
.prefixed(transform, translateY(6px));
|
|
}
|
|
50% {
|
|
.prefixed(transform, translateY(2px));
|
|
}
|
|
100% {
|
|
.prefixed(transform, translateY(6px));
|
|
}
|
|
});
|
|
|
|
.keyframes(~"@{nameSpace}-icon-hang-sink", {
|
|
100% {
|
|
.prefixed(transform, translateY(6px));
|
|
}
|
|
});
|
|
|
|
.icon-hang() {
|
|
.hacks();
|
|
.prefixed(transition-duration, @mediumDuration);
|
|
|
|
.hvr-icon {
|
|
.prefixed(transform, translateZ(0));
|
|
}
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
|
|
.hvr-icon {
|
|
.prefixed(animation-name, ~"@{nameSpace}-icon-hang-sink, @{nameSpace}-icon-hang");
|
|
.prefixed(animation-duration, ~".3s, 1.5s");
|
|
.prefixed(animation-delay, ~"0s, .3s");
|
|
.prefixed(animation-timing-function, ~"ease-out, ease-in-out");
|
|
.prefixed(animation-iteration-count, ~"1, infinite");
|
|
.prefixed(animation-fill-mode, ~"forwards");
|
|
.prefixed(animation-direction, ~"normal, alternate");
|
|
}
|
|
}
|
|
}
|