Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No output sass version enabled #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
769 changes: 769 additions & 0 deletions scss/_hover.scss

Large diffs are not rendered by default.

61 changes: 32 additions & 29 deletions scss/effects/2d-transitions/_bob.scss
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
/* Bob */
@include keyframes(#{$nameSpace}-bob) {
0% {
@include prefixed(transform, translateY(-8px));
}
50% {
@include prefixed(transform, translateY(-4px));
}
100% {
@include prefixed(transform, translateY(-8px));
}
}

@include keyframes(#{$nameSpace}-bob-float) {
100% {
@include prefixed(transform, translateY(-8px));
}
}

@mixin bob {
@include hacks();
@include keyframes(#{$nameSpace}-bob) {
0% {
@include prefixed(transform, translateY(-8px));
}

50% {
@include prefixed(transform, translateY(-4px));
}

100% {
@include prefixed(transform, translateY(-8px));
}
}

@include keyframes(#{$nameSpace}-bob-float) {
100% {
@include prefixed(transform, translateY(-8px));
}
}

@include hacks();

&:hover,
&:focus,
&:active {
@include prefixed(animation-name, "#{$nameSpace}-bob-float, #{$nameSpace}-bob");
@include prefixed(animation-duration, ".3s, 1.5s");
@include prefixed(animation-delay, "0s, .3s");
@include prefixed(animation-timing-function, "ease-out, ease-in-out");
@include prefixed(animation-iteration-count, "1, infinite");
@include prefixed(animation-fill-mode, "forwards");
@include prefixed(animation-direction, "normal, alternate");
}
&:hover,
&:focus,
&:active {
@include prefixed(animation-name, "#{$nameSpace}-bob-float, #{$nameSpace}-bob");
@include prefixed(animation-duration, ".3s, 1.5s");
@include prefixed(animation-delay, "0s, .3s");
@include prefixed(animation-timing-function, "ease-out, ease-in-out");
@include prefixed(animation-iteration-count, "1, infinite");
@include prefixed(animation-fill-mode, "forwards");
@include prefixed(animation-direction, "normal, alternate");
}
}
104 changes: 53 additions & 51 deletions scss/effects/2d-transitions/_buzz-out.scss
Original file line number Diff line number Diff line change
@@ -1,55 +1,57 @@
/* Buzz Out */
@include keyframes(#{$nameSpace}-buzz-out) {
10% {
@include prefixed(transform, translateX(3px) rotate(2deg));
}

20% {
@include prefixed(transform, translateX(-3px) rotate(-2deg));
}

30% {
@include prefixed(transform, translateX(3px) rotate(2deg));
}

40% {
@include prefixed(transform, translateX(-3px) rotate(-2deg));
}

50% {
@include prefixed(transform, translateX(2px) rotate(1deg));
}

60% {
@include prefixed(transform, translateX(-2px) rotate(-1deg));
}

70% {
@include prefixed(transform, translateX(2px) rotate(1deg));
}

80% {
@include prefixed(transform, translateX(-2px) rotate(-1deg));
}

90% {
@include prefixed(transform, translateX(1px) rotate(0));
}

100% {
@include prefixed(transform, translateX(-1px) rotate(0));
}
}


@mixin buzz-out {
@include hacks();

&:hover,
&:focus,
&:active {
@include prefixed(animation-name, #{$nameSpace}-buzz-out);
@include prefixed(animation-duration, .75s);
@include prefixed(animation-timing-function, linear);
@include prefixed(animation-iteration-count, 1);
}
@include keyframes(#{$nameSpace}-buzz-out) {
10% {
@include prefixed(transform, translateX(3px) rotate(2deg));
}

20% {
@include prefixed(transform, translateX(-3px) rotate(-2deg));
}

30% {
@include prefixed(transform, translateX(3px) rotate(2deg));
}

40% {
@include prefixed(transform, translateX(-3px) rotate(-2deg));
}

50% {
@include prefixed(transform, translateX(2px) rotate(1deg));
}

60% {
@include prefixed(transform, translateX(-2px) rotate(-1deg));
}

70% {
@include prefixed(transform, translateX(2px) rotate(1deg));
}

80% {
@include prefixed(transform, translateX(-2px) rotate(-1deg));
}

90% {
@include prefixed(transform, translateX(1px) rotate(0));
}

100% {
@include prefixed(transform, translateX(-1px) rotate(0));
}
}

@include hacks();

&:hover,
&:focus,
&:active {
@include prefixed(animation-name, #{$nameSpace}-buzz-out);
@include prefixed(animation-duration, .75s);
@include prefixed(animation-timing-function, linear);
@include prefixed(animation-iteration-count, 1);
}
}
36 changes: 19 additions & 17 deletions scss/effects/2d-transitions/_buzz.scss
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
/* Buzz */
@include keyframes(#{$nameSpace}-buzz) {
50% {
@include prefixed(transform, translateX(3px) rotate(2deg));
}

100% {
@include prefixed(transform, translateX(-3px) rotate(-2deg));
}
}

@mixin buzz {
@include hacks();
@include keyframes(#{$nameSpace}-buzz) {
50% {
@include prefixed(transform, translateX(3px) rotate(2deg));
}

100% {
@include prefixed(transform, translateX(-3px) rotate(-2deg));
}
}

@include hacks();

&:hover,
&:focus,
&:active {
@include prefixed(animation-name, #{$nameSpace}-buzz);
@include prefixed(animation-duration, .15s);
@include prefixed(animation-timing-function, linear);
@include prefixed(animation-iteration-count, infinite);
}
&:hover,
&:focus,
&:active {
@include prefixed(animation-name, #{$nameSpace}-buzz);
@include prefixed(animation-duration, .15s);
@include prefixed(animation-timing-function, linear);
@include prefixed(animation-iteration-count, infinite);
}
}
60 changes: 32 additions & 28 deletions scss/effects/2d-transitions/_hang.scss
Original file line number Diff line number Diff line change
@@ -1,34 +1,38 @@
/* Hang */
@include keyframes(#{$nameSpace}-hang) {
0% {
@include prefixed(transform, translateY(8px));
}
50% {
@include prefixed(transform, translateY(4px));
}
100% {
@include prefixed(transform, translateY(8px));
}
}

@include keyframes(#{$nameSpace}-hang-sink) {
100% {
@include prefixed(transform, translateY(8px));
}
}

@mixin hang {
@include hacks();
@include keyframes(#{$nameSpace}-hang) {
0% {
@include prefixed(transform, translateY(8px));
}

50% {
@include prefixed(transform, translateY(4px));
}

100% {
@include prefixed(transform, translateY(8px));
}
}

@include keyframes(#{$nameSpace}-hang-sink) {
100% {
@include prefixed(transform, translateY(8px));
}
}

@include hacks();

&:hover,
&:focus,
&:active {
@include prefixed(animation-name, "#{$nameSpace}-hang-sink, #{$nameSpace}-hang");
@include prefixed(animation-duration, ".3s, 1.5s");
@include prefixed(animation-delay, "0s, .3s");
@include prefixed(animation-timing-function, "ease-out, ease-in-out");
@include prefixed(animation-iteration-count, "1, infinite");
@include prefixed(animation-fill-mode, "forwards");
@include prefixed(animation-direction, "normal, alternate");
}
&:hover,
&:focus,
&:active {
@include prefixed(animation-name, "#{$nameSpace}-hang-sink, #{$nameSpace}-hang");
@include prefixed(animation-duration, ".3s, 1.5s");
@include prefixed(animation-delay, "0s, .3s");
@include prefixed(animation-timing-function, "ease-out, ease-in-out");
@include prefixed(animation-iteration-count, "1, infinite");
@include prefixed(animation-fill-mode, "forwards");
@include prefixed(animation-direction, "normal, alternate");
}
}
30 changes: 16 additions & 14 deletions scss/effects/2d-transitions/_pop.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
/* Pop */
@include keyframes(#{$nameSpace}-pop) {
50% {
@include prefixed(transform, scale(1.2));
}
}


@mixin pop {
@include hacks();
@include keyframes(#{$nameSpace}-pop) {
50% {
@include prefixed(transform, scale(1.2));
}
}

@include hacks();

&:hover,
&:focus,
&:active {
@include prefixed(animation-name, #{$nameSpace}-pop);
@include prefixed(animation-duration, $mediumDuration);
@include prefixed(animation-timing-function, linear);
@include prefixed(animation-iteration-count, 1);
}
&:hover,
&:focus,
&:active {
@include prefixed(animation-name, #{$nameSpace}-pop);
@include prefixed(animation-duration, $mediumDuration);
@include prefixed(animation-timing-function, linear);
@include prefixed(animation-iteration-count, 1);
}
}
32 changes: 17 additions & 15 deletions scss/effects/2d-transitions/_pulse-grow.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
/* Pulse Grow */
@include keyframes(#{$nameSpace}-pulse-grow) {
to {
@include prefixed(transform, scale(1.1));
}
}


@mixin pulse-grow {
@include hacks();
@include keyframes(#{$nameSpace}-pulse-grow) {
to {
@include prefixed(transform, scale(1.1));
}
}

@include hacks();

&:hover,
&:focus,
&:active {
@include prefixed(animation-name, #{$nameSpace}-pulse-grow);
@include prefixed(animation-duration, $mediumDuration);
@include prefixed(animation-timing-function, linear);
@include prefixed(animation-iteration-count, infinite);
@include prefixed(animation-direction, alternate);
}
&:hover,
&:focus,
&:active {
@include prefixed(animation-name, #{$nameSpace}-pulse-grow);
@include prefixed(animation-duration, $mediumDuration);
@include prefixed(animation-timing-function, linear);
@include prefixed(animation-iteration-count, infinite);
@include prefixed(animation-direction, alternate);
}
}
32 changes: 17 additions & 15 deletions scss/effects/2d-transitions/_pulse-shrink.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
/* Pulse Shrink */
@include keyframes(#{$nameSpace}-pulse-shrink) {
to {
@include prefixed(transform, scale(.9));
}
}


@mixin pulse-shrink {
@include hacks();
@include keyframes(#{$nameSpace}-pulse-shrink) {
to {
@include prefixed(transform, scale(.9));
}
}

@include hacks();

&:hover,
&:focus,
&:active {
@include prefixed(animation-name, #{$nameSpace}-pulse-shrink);
@include prefixed(animation-duration, $mediumDuration);
@include prefixed(animation-timing-function, linear);
@include prefixed(animation-iteration-count, infinite);
@include prefixed(animation-direction, alternate);
}
&:hover,
&:focus,
&:active {
@include prefixed(animation-name, #{$nameSpace}-pulse-shrink);
@include prefixed(animation-duration, $mediumDuration);
@include prefixed(animation-timing-function, linear);
@include prefixed(animation-iteration-count, infinite);
@include prefixed(animation-direction, alternate);
}
}
Loading