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
flint-gs-2.3.6 tests/bootcamp/dist/core/mixins/_describe.scss
flint-gs-2.3.5 tests/bootcamp/dist/core/mixins/_describe.scss
flint-gs-2.3.4 tests/bootcamp/dist/core/mixins/_describe.scss
flint-gs-2.3.3 tests/bootcamp/dist/core/mixins/_describe.scss
flint-gs-2.3.2 tests/bootcamp/dist/core/mixins/_describe.scss
flint-gs-2.3.1 tests/bootcamp/dist/core/mixins/_describe.scss
flint-gs-2.3.0 tests/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.6.14 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.6.13 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
flint-gs-2.2.0 tests/bootcamp/dist/core/mixins/_describe.scss
flint-gs-2.1.4 tests/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.6.12 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.6.11 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.6.10 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.6.5 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.6.4 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.6.3 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.6.2 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.6.0 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
oulu-rails-0.5.37 vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss