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
StyleSass-0.1.3 app/assets/stylesheets/helpers/_radial-positions-parser.scss
StyleSass-0.1.2 app/assets/stylesheets/helpers/_radial-positions-parser.scss
middleman-core-4.0.0 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
middleman-core-4.0.0.rc.3 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
va_common-0.1.0 app/assets/stylesheets/lib/bourbon/helpers/_radial-positions-parser.scss
middleman-core-4.0.0.rc.2 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
styler-sass-0.1.8.alpha app/assets/stylesheets/helpers/_radial-positions-parser.scss
styler-sass-0.1.7 app/assets/stylesheets/helpers/_radial-positions-parser.scss
styler-sass-0.1.7.alpha app/assets/stylesheets/helpers/_radial-positions-parser.scss
styler-sass-0.1.5.alpha app/assets/stylesheets/helpers/_radial-positions-parser.scss
styler-sass-0.1.4 app/assets/stylesheets/helpers/_radial-positions-parser.scss
styler-sass-0.1.3 app/assets/stylesheets/helpers/_radial-positions-parser.scss
styler-sass-0.1.2 app/assets/stylesheets/helpers/_radial-positions-parser.scss
styler-sass-0.1.1 app/assets/stylesheets/helpers/_radial-positions-parser.scss
us_web_design_standards-0.0.2 app/assets/stylesheets/lib/bourbon/helpers/_radial-positions-parser.scss
us_web_design_standards-0.0.2 assets/_scss/lib/bourbon/helpers/_radial-positions-parser.scss
us_web_design_standards-0.0.0 assets/_scss/lib/bourbon/helpers/_radial-positions-parser.scss
bourbon-4.2.6 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-4.2.5 app/assets/stylesheets/helpers/_radial-positions-parser.scss
bourbon-4.2.4 app/assets/stylesheets/helpers/_radial-positions-parser.scss