Sha256: b45ec87ed80c1c61b4fce7d763a901ecd0d1091b2d5ee89a378766ef402f0e14

Contents?: true

Size: 484 Bytes

Versions: 399

Compression:

Stored size: 484 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

399 entries across 388 versions & 17 rubygems

Version Path
bourbon-4.0.0.rc1 dist/helpers/_radial-positions-parser.scss
bourbon-3.2.0.beta.2 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-3.2.0.beta.2 dist/helpers/_radial-positions-parser.scss
refills-0.0.1 source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
bourbon-compass-3.2.0.beta.1.a stylesheets/bourbon/helpers/_radial-positions-parser.scss
bourbon-3.2.0.beta.1 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-3.2.0.beta.1 dist/helpers/_radial-positions-parser.scss
bourbon-compass-3.1.8 stylesheets/bourbon/helpers/_radial-positions-parser.scss
bourbon-3.1.8 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-3.1.7 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-compass-3.1.6 stylesheets/bourbon/helpers/_radial-positions-parser.scss
bourbon-3.1.6 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-compass-3.1.5 stylesheets/bourbon/helpers/_radial-positions-parser.scss
bourbon-3.1.5 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-compass-3.1.4 stylesheets/bourbon/helpers/_radial-positions-parser.scss
bourbon-3.1.4 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-compass-3.1.3 stylesheets/bourbon/helpers/_radial-positions-parser.scss
bourbon-3.1.3 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-3.1.2.1 app/assets/stylesheets/helpers/_radial-positions-parser.scss