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
middleman-core-4.3.0.rc.3 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
middleman-core-4.3.0.rc.2 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
alien-minimalistic-0.11.0 _sass/1-tools/bourbon/helpers/_radial-positions-parser.scss
alien-minimalistic-0.10.0 _sass/1-tools/bourbon/helpers/_radial-positions-parser.scss
middleman-core-with-external-sources-watch-fix-4.1.10 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
middleman-core-with-external-sources-watch-fix-4.1.0 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
jekyll-theme-uswds-0.1.0 _sass/uswds/lib/helpers/_radial-positions-parser.scss
federalist-basic-report-theme-0.1.5 _sass/uswds/lib/helpers/_radial-positions-parser.scss
federalist-basic-report-theme-0.1.4 _sass/uswds/lib/helpers/_radial-positions-parser.scss
federalist-basic-report-theme-0.1.3 _sass/uswds/lib/helpers/_radial-positions-parser.scss
uswds-jekyll-4.1.0 _sass/uswds/lib/helpers/_radial-positions-parser.scss
uswds-jekyll-4.0.0 _sass/uswds/lib/helpers/_radial-positions-parser.scss
middleman-core-4.3.0.rc.1 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
uswds-jekyll-3.0.0 _sass/uswds/lib/helpers/_radial-positions-parser.scss
uswds-jekyll-2.2.1 _sass/uswds/lib/helpers/_radial-positions-parser.scss
uswds-jekyll-2.2.1 assets/uswds/scss/lib/helpers/_radial-positions-parser.scss
uswds-jekyll-2.2.0 assets/uswds/scss/lib/helpers/_radial-positions-parser.scss
uswds-jekyll-2.2.0 _sass/uswds/lib/helpers/_radial-positions-parser.scss
uswds-jekyll-2.1.0 assets/uswds/scss/lib/helpers/_radial-positions-parser.scss
uswds-jekyll-2.1.0 _sass/uswds/lib/helpers/_radial-positions-parser.scss