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
smock-0.1.260 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.259 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.258 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.256 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.255 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.254 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.253 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.252 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.251 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.250 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.249 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
wrgem-0.0.48 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/helpers/_radial-positions-parser.scss
wrgem-0.0.47 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/helpers/_radial-positions-parser.scss
wrgem-0.0.46 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/helpers/_radial-positions-parser.scss
wrgem-0.0.45 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/helpers/_radial-positions-parser.scss
wrgem-0.0.44 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/helpers/_radial-positions-parser.scss
thesis-0.1.3 app/assets/stylesheets/thesis/base/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.247 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.246 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss
smock-0.1.245 app/assets/stylesheets/thirdparty/bourbon/helpers/_radial-positions-parser.scss