__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
//************************************************************************//
// Helper function for linear/radial-gradient-parsers.
// Source: http://sassmeister.com/gist/9647408
//************************************************************************//
@function _str-to-num($string) {
@if $output-bourbon-deprecation-warnings == true {
@warn "[Bourbon] [Deprecation] `_str-to-num` is " +
"deprecated and will be removed in 5.0.0.";
}
// Matrices
$strings: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9";
$numbers: 0 1 2 3 4 5 6 7 8 9;
// Result
$result: 0;
$divider: 0;
$minus: false;
// Looping through all characters
@for $i from 1 through str-length($string) {
$character: str-slice($string, $i, $i);
$index: index($strings, $character);
@if $character == "-" {
$minus: true;
}
@else if $character == "." {
$divider: 1;
}
@else {
@if not $index {
$result: if($minus, $result * -1, $result);
@return _convert-units($result, str-slice($string, $i));
}
$number: nth($numbers, $index);
@if $divider == 0 {
$result: $result * 10;
}
@else {
// Move the decimal dot to the left
$divider: $divider * 10;
$number: $number / $divider;
}
$result: $result + $number;
}
}
@return if($minus, $result * -1, $result);
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| _convert-units.scss | File | 977 B | 0664 |
|
| _directional-values.scss | File | 3.05 KB | 0664 |
|
| _font-source-declaration.scss | File | 1.36 KB | 0664 |
|
| _gradient-positions-parser.scss | File | 875 B | 0664 |
|
| _linear-angle-parser.scss | File | 1.12 KB | 0664 |
|
| _linear-gradient-parser.scss | File | 1.45 KB | 0664 |
|
| _linear-positions-parser.scss | File | 2.49 KB | 0664 |
|
| _linear-side-corner-parser.scss | File | 1.28 KB | 0664 |
|
| _radial-arg-parser.scss | File | 1.95 KB | 0664 |
|
| _radial-gradient-parser.scss | File | 1.42 KB | 0664 |
|
| _radial-positions-parser.scss | File | 877 B | 0664 |
|
| _render-gradients.scss | File | 1013 B | 0664 |
|
| _shape-size-stripper.scss | File | 445 B | 0664 |
|
| _str-to-num.scss | File | 1.37 KB | 0664 |
|