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
card-mod-bootstrap-0.18.1 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
card-mod-bootstrap-0.18.0 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
card-mod-bootstrap-0.17.0 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
card-mod-bootstrap-0.16.0 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
card-mod-bootstrap-0.15.6 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
card-mod-bootstrap-0.15.5 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
card-mod-bootstrap-0.15.4 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
card-mod-bootstrap-0.15.3 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
card-mod-bootstrap-0.15.1.2 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
card-mod-bootstrap-0.15.2.pre1 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
card-mod-bootstrap-0.15.1.1 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
card-mod-bootstrap-0.15.1 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
card-mod-bootstrap-0.15.0 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_radial-positions-parser.scss
portfolio-jekyll-theme-2.0.0 _sass/1-tools/bourbon/helpers/_radial-positions-parser.scss
daiblogs-0.2.1 _sass/bourbon/helpers/_radial-positions-parser.scss
daiblogs-0.2.0 _sass/bourbon/helpers/_radial-positions-parser.scss
daiblogs-0.1.5 _sass/bourbon/helpers/_radial-positions-parser.scss
daiblogs-0.1.4 _sass/bourbon/helpers/_radial-positions-parser.scss
daiblogs-0.1.2 assets/_sass/bourbon/helpers/_radial-positions-parser.scss
daiblogs-0.1.1 assets/_sass/bourbon/helpers/_radial-positions-parser.scss