Sha256: fd37d4cdcff0735d60d8a8b0e18759a9428e2117e0f612af43ef16cbaf689609

Contents?: true

Size: 485 Bytes

Versions: 131

Compression:

Stored size: 485 Bytes

Contents

@function _radial-positions-parser($gradient-pos) {
  $shape-size: nth($gradient-pos, 1);
  $pos:        nth($gradient-pos, 2);
  $shape-size-spec: _shape-size-stripper($shape-size);

  $pre-spec: unquote(if($pos, "#{$pos}, ", null))
             unquote(if($shape-size, "#{$shape-size},", null));
  $pos-spec: if($pos, "at #{$pos}", null);

  $spec: "#{$shape-size-spec} #{$pos-spec}";

  // Add comma
  @if ($spec != "  ") {
    $spec: "#{$spec},";
  }

  @return $pre-spec $spec;
}

Version data entries

131 entries across 124 versions & 21 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/bourbon-4.2.3/app/assets/stylesheets/helpers/_radial-positions-parser.scss
nesta-contentfocus-extensions-0.0.3 assets/stylesheets/bourbon/helpers/_radial-positions-parser.scss
nesta-contentfocus-extensions-0.0.2 assets/stylesheets/bourbon/helpers/_radial-positions-parser.scss
solidus_backend-1.0.0.pre2 vendor/bundle/gems/bourbon-4.2.3/app/assets/stylesheets/helpers/_radial-positions-parser.scss
mifflin-0.1.1 vendor/assets/bower_components/bourbon/app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-4.2.3 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-4.2.2 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-4.2.1 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-4.2.0 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-4.2.0.beta app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-4.2.0.pre app/assets/stylesheets/helpers/_radial-positions-parser.scss