Sha256: dad27e509adac2aaac0a86a6d1200ff8fc60d2608ce537aa0497ffcf0ccc5aca

Contents?: true

Size: 1.94 KB

Versions: 2

Compression:

Stored size: 1.94 KB

Contents

// ---------------------------------------------------------------------------
// imports

@import "rotate/rotateIn";
@import "rotate/rotateOut";

// ---------------------------------------------------------------------------
// rotate [ in | in-only | inUp | inDown | inLeft | inRight | 
//          inDownLeft | inDownRight | inUpLeft | inUpRight |
//          out | out-only | outUp | outDown | outLeft | outRight |
//          outDownLeft | outDownRight | outUpLeft | outUpRight | 
//          left | right | up | down | all ]

@mixin animate-rotate($sub: all, $class: $default-animation-class-mode) {
  $sub          : compact($sub);
  $in-only      : yepnope($sub, all in in-only);
  $inDownLeft   : yepnope($sub, all in inDown inLeft left down);
  $inDownRight  : yepnope($sub, all in inDown inRight right down);
  $inUpLeft     : yepnope($sub, all in inUp inLeft left up);
  $inUpRight    : yepnope($sub, all in inUp inRight right up);
  $out-only     : yepnope($sub, all out out-only);
  $outDownLeft  : yepnope($sub, all out outDown outLeft left down);
  $outDownRight : yepnope($sub, all out outDown outRight right down);
  $outUpLeft    : yepnope($sub, all out outUp outLeft left up);
  $outUpRight   : yepnope($sub, all out outUp outRight right up);
  @if $in-only      { @include animate-rotateIn           (only, $class); } 
  @if $inDownLeft   { @include animate-rotateInDownLeft   ($class); } 
  @if $inDownRight  { @include animate-rotateInDownRight  ($class); } 
  @if $inUpLeft     { @include animate-rotateInUpLeft     ($class); } 
  @if $inUpRight    { @include animate-rotateInUpRight    ($class); } 
  @if $out-only     { @include animate-rotateOut          (only, $class); } 
  @if $outDownLeft  { @include animate-rotateOutDownLeft  ($class); } 
  @if $outDownRight { @include animate-rotateOutDownRight ($class); } 
  @if $outUpLeft    { @include animate-rotateOutUpLeft    ($class); } 
  @if $outUpRight   { @include animate-rotateOutUpRight   ($class); } 
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
animate-0.1.0 stylesheets/animate/_rotate.scss
animate-0.1.alpha.0 stylesheets/animate/_rotate.scss