Sha256: fca617248d73868ae8845d7271efd02857cf3b861311dedd78ae90d5ba999cc1
Contents?: true
Size: 811 Bytes
Versions: 1
Compression:
Stored size: 811 Bytes
Contents
// Private function for linear-gradient-parser @function _linear-angle-parser($image, $first-val, $prefix, $suffix) { // $offset: null; // $unit-short: str-slice($first-val, str-length($first-val) - 2, str-length($first-val)); // $unit-long: str-slice($first-val, str-length($first-val) - 3, str-length($first-val)); // @if ($unit-long == "grad") or // ($unit-long == "turn") { // $offset: if($unit-long == "grad", -100grad * 3, -0.75turn); // } // @else if ($unit-short == "deg") or // ($unit-short == "rad") { // $offset: if($unit-short == "deg", -90 * 3, 1.6rad); // } // @if $offset { // $num: _str-to-num($first-val); // @return ( // webkit-image: -webkit- + $prefix + ($offset - $num) + $suffix, // spec-image: $image // ); // } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refills-0.0.2 | source/stylesheets/bourbon/helpers/_linear-angle-parser.scss |