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
active_admin_pro-0.2.0 app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-positions-parser.scss
codelation_assets-0.3.5 app/assets/stylesheets/bourbon/helpers/_radial-positions-parser.scss
middleman-core-4.1.2 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
active_admin_pro-0.1.8 app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-positions-parser.scss
active_admin_pro-0.1.7 app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-positions-parser.scss
codelation_assets-0.3.4 app/assets/stylesheets/bourbon/helpers/_radial-positions-parser.scss
codelation_assets-0.3.3 app/assets/stylesheets/bourbon/helpers/_radial-positions-parser.scss
codelation_assets-0.3.2 vendor/stylesheets/bourbon/helpers/_radial-positions-parser.scss
active_admin_pro-0.1.6 app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-positions-parser.scss
active_admin_pro-0.1.5 app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-positions-parser.scss
middleman-core-4.1.1 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
middleman-core-4.1.0 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
active_admin_pro-0.1.4 app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-positions-parser.scss
active_admin_pro-0.1.3 app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-positions-parser.scss
active_admin_pro-0.1.2 app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-positions-parser.scss
active_admin_pro-0.1.1 app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-positions-parser.scss
active_admin_pro-0.1.0 app/assets/stylesheets/active_admin_pro/vendor/bourbon/helpers/_radial-positions-parser.scss
middleman-core-4.1.0.rc.2 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
middleman-core-4.1.0.rc.1 fixtures/minify-css-app/source/stylesheets/bourbon/helpers/_radial-positions-parser.scss
StyleSass-0.1.4.alpha app/assets/stylesheets/helpers/_radial-positions-parser.scss