Sha256: 1166e1e2af26c4abdbe7c0de31926652a195e01fd9f19c652a0ffbf6c99889f8
Contents?: true
Size: 1.18 KB
Versions: 9
Compression:
Stored size: 1.18 KB
Contents
// --------------------------------------------------------------------------- // settings // animation class mode: true | false | silent $default-animation-class-mode: silent !default; // keyframes output: true | false $default-keyframes-output: true; // --------------------------------------------------------------------------- // animated class for external use @mixin animated-class($class: $default-animation-class-mode) { $selector: if($class == 'silent', '%animated', '.animated'); #{$selector} { @include animation(1s ease both); } } // --------------------------------------------------------------------------- // animation-class @mixin animation-class($name, $class: $default-animation-class-mode) { $selector: if($class == 'silent', '%', '.') + $name; @if $class { #{$selector} { @include animation-name($name); @content; } } } // --------------------------------------------------------------------------- // yepnope // Take a $list, return true if any $args are present. @function yepnope($list, $args) { $list : compact($list); $return : false; @each $arg in $args { $return: if(index($list,$arg), true, $return); } @return $return; }
Version data entries
9 entries across 9 versions & 2 rubygems