Sha256: d7cb2fbe300fd21404cf212517bb243eb819d1fe5d35b0b41e2e6307b3fa0035

Contents?: true

Size: 1.28 KB

Versions: 38

Compression:

Stored size: 1.28 KB

Contents

// Adds keyframes blocks for supported prefixes, removing redundant prefixes in the block's content
@mixin keyframes($name) {
  $original-prefix-for-webkit:    $prefix-for-webkit;
  $original-prefix-for-mozilla:   $prefix-for-mozilla;
  $original-prefix-for-microsoft: $prefix-for-microsoft;
  $original-prefix-for-opera:     $prefix-for-opera;
  $original-prefix-for-spec:      $prefix-for-spec;

  @if $original-prefix-for-webkit {
    @include disable-prefix-for-all();
    $prefix-for-webkit: true;
    @-webkit-keyframes #{$name} {
      @content;
    }
  }
  @if $original-prefix-for-mozilla {
    @include disable-prefix-for-all();
    $prefix-for-mozilla: true;
    @-moz-keyframes #{$name} {
      @content;
    }
  }
  @if $original-prefix-for-opera {
    @include disable-prefix-for-all();
    $prefix-for-opera: true;
    @-o-keyframes #{$name} {
      @content;
    }
  }
  @if $original-prefix-for-spec {
    @include disable-prefix-for-all();
    $prefix-for-spec: true;
    @keyframes #{$name} {
      @content;
    }
  }

  $prefix-for-webkit:    $original-prefix-for-webkit;
  $prefix-for-mozilla:   $original-prefix-for-mozilla;
  $prefix-for-microsoft: $original-prefix-for-microsoft;
  $prefix-for-opera:     $original-prefix-for-opera;
  $prefix-for-spec:      $original-prefix-for-spec;
}

Version data entries

38 entries across 38 versions & 8 rubygems

Version Path
daiblogs-0.2.1 _sass/bourbon/css3/_keyframes.scss
daiblogs-0.2.0 _sass/bourbon/css3/_keyframes.scss
daiblogs-0.1.5 _sass/bourbon/css3/_keyframes.scss
daiblogs-0.1.4 _sass/bourbon/css3/_keyframes.scss
daiblogs-0.1.2 assets/_sass/bourbon/css3/_keyframes.scss
daiblogs-0.1.1 assets/_sass/bourbon/css3/_keyframes.scss
daiblogs-0.1.0 assets/_sass/bourbon/css3/_keyframes.scss
moovui-0.1.4 app/assets/stylesheets/bourbon/css3/_keyframes.scss
stump-cli-0.1.3 lib/wp/wp-content/themes/stump/assets/vendor/manhattan/bourbon/css3/_keyframes.scss
stump-cli-0.1.2 lib/wp/wp-content/themes/stump/assets/vendor/manhattan/bourbon/css3/_keyframes.scss
moovui-0.1.3 app/assets/stylesheets/bourbon/css3/_keyframes.scss
moovui-0.1.2 app/assets/stylesheets/bourbon/css3/_keyframes.scss
moovui-0.1.1 app/assets/stylesheets/bourbon/css3/_keyframes.scss
moovui-0.0.2 bourbon/css3/_keyframes.scss
moovui-0.0.1 bourbon/css3/_keyframes.scss
stump-cli-0.1.1 lib/wp/wp-content/themes/stump/assets/vendor/manhattan/bourbon/css3/_keyframes.scss
blogelator-0.2.5 vendor/assets/stylesheets/blogelator/bourbon/css3/_keyframes.scss
blocky-0.0.11 vendor/assets/stylesheets/blocky/bourbon/css3/_keyframes.scss
blogelator-0.2.4 vendor/assets/stylesheets/blogelator/bourbon/css3/_keyframes.scss
blocky-0.0.10 vendor/assets/stylesheets/blocky/bourbon/css3/_keyframes.scss