Sha256: a2de298962f5529ce6f8d057cbbd54ae0aaf4d2574d8a253a33455a3fa923032

Contents?: true

Size: 774 Bytes

Versions: 51

Compression:

Stored size: 774 Bytes

Contents

@mixin describe($bc-describe-new) {
  @if not $bc-skipping {
    $bc-describe-old: $bc-describe !global !default;
    $bc-describe-old: append($bc-describe-old, $bc-describe-new) !global;

    @if $bc-describe-depth > 0 {
      $bc-describe: bc-util-list-join($bc-describe-old, " ", 2) !global;
    } @else {
      $bc-describe: "#{$bc-describe-new}" !global;
    }

    $bc-describe-depth: $bc-describe-depth + 1 !global;

    @content;

    $bc-describe: "" !global;

    $_tmp: ();

    @for $i from 1 through $bc-describe-depth {
      $_tmp: append($_tmp, nth($bc-describe-old, $i));
    }

    $bc-describe-old: $_tmp !global;
    $bc-describe: nth($bc-describe-old, 1) !global;
    $bc-describe-depth: $bc-describe-depth - 1 !global;

  } @else {
    @content;
  }
}

Version data entries

51 entries across 51 versions & 2 rubygems

Version Path
oulu-rails-0.5.10 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
flint-gs-2.1.1 tests/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.5.9 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.5.8 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.5.7 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
flint-gs-2.1.0 tests/bootcamp/dist/core/mixins/_describe.scss
flint-gs-2.0.9 tests/bootcamp/core/mixins/_describe.scss
flint-gs-2.0.8 tests/bootcamp/core/mixins/_describe.scss
flint-gs-2.0.6 tests/bootcamp/core/mixins/_describe.scss
flint-gs-2.0.5 tests/bootcamp/core/mixins/_describe.scss
flint-gs-2.0.4 tests/bootcamp/core/mixins/_describe.scss