mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
add sass/scratch.scss and associated sass files
This commit is contained in:
18
Resources/public/sass/contrib/bourbon/helpers/_radial-positions-parser.scss
vendored
Normal file
18
Resources/public/sass/contrib/bourbon/helpers/_radial-positions-parser.scss
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
@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;
|
||||
}
|
Reference in New Issue
Block a user