__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
// Bootstrap functions
//
// Utility mixins and functions for evaluating source code across our variables, maps, and mixins.
// Ascending
// Used to evaluate Sass maps like our grid breakpoints.
@mixin _assert-ascending($map, $map-name) {
$prev-key: null;
$prev-num: null;
@each $key, $num in $map {
@if $prev-num == null or unit($num) == "%" or unit($prev-num) == "%" {
// Do nothing
} @else if not comparable($prev-num, $num) {
@warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
} @else if $prev-num >= $num {
@warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
}
$prev-key: $key;
$prev-num: $num;
}
}
// Starts at zero
// Used to ensure the min-width of the lowest breakpoint starts at 0.
@mixin _assert-starts-at-zero($map, $map-name: "$grid-breakpoints") {
@if length($map) > 0 {
$values: map-values($map);
$first-value: nth($values, 1);
@if $first-value != 0 {
@warn "First breakpoint in #{$map-name} must start at 0, but starts at #{$first-value}.";
}
}
}
// Replace `$search` with `$replace` in `$string`
// Used on our SVG icon backgrounds for custom forms.
//
// @author Hugo Giraudel
// @param {String} $string - Initial string
// @param {String} $search - Substring to replace
// @param {String} $replace ('') - New value
// @return {String} - Updated string
@function str-replace($string, $search, $replace: "") {
$index: str-index($string, $search);
@if $index {
@return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
}
@return $string;
}
// See https://codepen.io/kevinweber/pen/dXWoRw
//
// Requires the use of quotes around data URIs.
@function escape-svg($string) {
@if str-index($string, "data:image/svg+xml") {
@each $char, $encoded in $escaped-characters {
// Do not escape the url brackets
@if str-index($string, "url(") == 1 {
$string: url("#{str-replace(str-slice($string, 6, -3), $char, $encoded)}");
} @else {
$string: str-replace($string, $char, $encoded);
}
}
}
@return $string;
}
// Color contrast
@function color-yiq($color, $dark: $yiq-text-dark, $light: $yiq-text-light) {
$r: red($color);
$g: green($color);
$b: blue($color);
$yiq: (($r * 299) + ($g * 587) + ($b * 114)) * .001;
@if ($yiq >= $yiq-contrasted-threshold) {
@return $dark;
} @else {
@return $light;
}
}
// Retrieve color Sass maps
@function color($key: "blue") {
@return map-get($colors, $key);
}
@function theme-color($key: "primary") {
@return map-get($theme-colors, $key);
}
@function gray($key: "100") {
@return map-get($grays, $key);
}
// Request a theme color level
@function theme-color-level($color-name: "primary", $level: 0) {
$color: theme-color($color-name);
$color-base: if($level > 0, $black, $white);
$level: abs($level);
@return mix($color-base, $color, $level * $theme-color-interval);
}
// Return valid calc
@function add($value1, $value2, $return-calc: true) {
@if $value1 == null {
@return $value2;
}
@if $value2 == null {
@return $value1;
}
@if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) {
@return $value1 + $value2;
}
@return if($return-calc == true, calc(#{$value1} + #{$value2}), $value1 + unquote(" + ") + $value2);
}
@function subtract($value1, $value2, $return-calc: true) {
@if $value1 == null and $value2 == null {
@return null;
}
@if $value1 == null {
@return -$value2;
}
@if $value2 == null {
@return $value1;
}
@if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) {
@return $value1 - $value2;
}
@if type-of($value2) != number {
$value2: unquote("(") + $value2 + unquote(")");
}
@return if($return-calc == true, calc(#{$value1} - #{$value2}), $value1 + unquote(" - ") + $value2);
}
@function divide($dividend, $divisor, $precision: 10) {
$sign: if($dividend > 0 and $divisor > 0 or $dividend < 0 and $divisor < 0, 1, -1);
$dividend: abs($dividend);
$divisor: abs($divisor);
@if $dividend == 0 {
@return 0;
}
@if $divisor == 0 {
@error "Cannot divide by 0";
}
$remainder: $dividend;
$result: 0;
$factor: 10;
@while ($remainder > 0 and $precision >= 0) {
$quotient: 0;
@while ($remainder >= $divisor) {
$remainder: $remainder - $divisor;
$quotient: $quotient + 1;
}
$result: $result * 10 + $quotient;
$factor: $factor * .1;
$remainder: $remainder * 10;
$precision: $precision - 1;
@if ($precision < 0 and $remainder >= $divisor * 5) {
$result: $result + 1;
}
}
$result: $result * $factor * $sign;
$dividend-unit: unit($dividend);
$divisor-unit: unit($divisor);
$unit-map: (
"px": 1px,
"rem": 1rem,
"em": 1em,
"%": 1%
);
@if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) {
$result: $result * map-get($unit-map, $dividend-unit);
}
@return $result;
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| mixins | Folder | 0777 |
|
|
| utilities | Folder | 0777 |
|
|
| vendor | Folder | 0777 |
|
|
| _alert.scss | File | 1.14 KB | 0777 |
|
| _badge.scss | File | 1.09 KB | 0777 |
|
| _breadcrumb.scss | File | 1.29 KB | 0777 |
|
| _button-group.scss | File | 3.54 KB | 0777 |
|
| _buttons.scss | File | 2.62 KB | 0777 |
|
| _card.scss | File | 5.8 KB | 0777 |
|
| _carousel.scss | File | 4.73 KB | 0777 |
|
| _close.scss | File | 940 B | 0777 |
|
| _code.scss | File | 1012 B | 0777 |
|
| _custom-forms.scss | File | 15.33 KB | 0777 |
|
| _dropdown.scss | File | 4.33 KB | 0777 |
|
| _forms.scss | File | 9.03 KB | 0777 |
|
| _functions.scss | File | 5.26 KB | 0777 |
|
| _grid.scss | File | 1.7 KB | 0777 |
|
| _images.scss | File | 1.13 KB | 0777 |
|
| _input-group.scss | File | 6.37 KB | 0777 |
|
| _jumbotron.scss | File | 406 B | 0777 |
|
| _list-group.scss | File | 3.78 KB | 0777 |
|
| _media.scss | File | 83 B | 0777 |
|
| _mixins.scss | File | 1.03 KB | 0777 |
|
| _modal.scss | File | 6.16 KB | 0777 |
|
| _nav.scss | File | 2.29 KB | 0777 |
|
| _navbar.scss | File | 7.35 KB | 0777 |
|
| _pagination.scss | File | 1.78 KB | 0777 |
|
| _popover.scss | File | 4.61 KB | 0777 |
|
| _print.scss | File | 2.78 KB | 0777 |
|
| _progress.scss | File | 1.14 KB | 0777 |
|
| _reboot.scss | File | 11.27 KB | 0777 |
|
| _root.scss | File | 572 B | 0777 |
|
| _spinners.scss | File | 1.26 KB | 0777 |
|
| _tables.scss | File | 3.46 KB | 0777 |
|
| _toasts.scss | File | 1.11 KB | 0777 |
|
| _tooltip.scss | File | 2.46 KB | 0777 |
|
| _transitions.scss | File | 363 B | 0777 |
|
| _type.scss | File | 2.17 KB | 0777 |
|
| _utilities.scss | File | 536 B | 0777 |
|
| _variables.scss | File | 47.48 KB | 0777 |
|
| bootstrap-grid.scss | File | 598 B | 0777 |
|
| bootstrap-reboot.scss | File | 409 B | 0777 |
|
| bootstrap.scss | File | 918 B | 0777 |
|