mirror of https://github.com/IanLunn/Hover.git
24 lines
471 B
Plaintext
24 lines
471 B
Plaintext
/* Icon Shrink */
|
|
.icon-shrink() {
|
|
.hacks();
|
|
position: relative;
|
|
padding-right: @spaceBetweenTextAndArrows;
|
|
.prefixed(transition-duration, @mediumDuration);
|
|
|
|
.fa, .hover-icon {
|
|
.prefixed(transform, translateZ(0));
|
|
.prefixed(transition-duration, @mediumDuration);
|
|
.prefixed(transition-property, transform);
|
|
.prefixed(transition-timing-function, ease-out);
|
|
}
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
|
|
.fa, .hover-icon {
|
|
.prefixed(transform, scale(.8));
|
|
}
|
|
}
|
|
}
|