{: versionI"3.2.19 (Media Mark):EF:sha"-9157d80d010b8db8f5a75517a8f3ead3959e30dc: contents"h(o:Sass::Tree::RootNode :@children[o:Sass::Tree::MixinDefNode : @nameI"border-image:ET: @args[[o:Sass::Script::Variable;I" images; T:@underscored_nameI" images; T: @options{0: @splat0;[ o:Sass::Tree::PropNode ;[I"-webkit-border-image; T: @valueo:Sass::Script::Funcall ;I"_border-add-prefix; T; [o; ;I" images; T; I" images; T: @linei; @o:Sass::Script::String ;I" webkit; T: @type:identifier;i; @:@keywords{;0;i; @: @tabsi:@prop_syntax:new;[;i; @o; ;[I"-moz-border-image; T;o; ;I"_border-add-prefix; T; [o; ;I" images; T; I" images; T;i; @o; ;I"moz; T;;;i; @;{;0;i; @;i;;;[;i; @o; ;[I"-o-border-image; T;o; ;I"_border-add-prefix; T; [o; ;I" images; T; I" images; T;i ; @o; ;I"o; T;;;i ; @;{;0;i ; @;i;;;[;i ; @o; ;[I"border-image; T;o; ;I"_border-add-prefix; T; [o; ;I" images; T; I" images; T;i ; @;{;0;i ; @;i;;;[;i ; @o; ;[I"border-style; T;o;;I" solid; T;;; @;i;;;[;i ; @;i:@has_childrenT; @o:Sass::Tree::FunctionNode ;I"_border-add-prefix; T; [[o; ;I" images; T; I" images; T; @0[o; ;I" vendor; T; I" vendor; T; @o:Sass::Script::Bool;F;i; @;0;[ o:Sass::Tree::VariableNode ;I"border-image; T: @expro:Sass::Script::Null;0;i; @: @guarded0;[;i; @o; ;I"images-type; T;o; ;I" type-of; T; [o; ;I"nth; T; [o; ;I" images; T; I" images; T;i; @o:Sass::Script::Number ;i:@numerator_units[:@denominator_units[;i:@originalI"1; F; @;{;0;i; @;{;0;i; @; 0;[;i; @o; ;I"first-var; T;o; ;I"nth; T; [o; ;I"nth; T; [o; ;I" images; T; I" images; T;i; @o;! ;i;"[;#@f;i;$I"1; F; @;{;0;i; @o;! ;i;"[;#@f;i;$I"1; F; @;{;0;i; @; 0;[;i; @o:Sass::Tree::CommentNode ;[I"2/* Get type of Gradient (Linear || radial) */; T;: silent;[;i; @o;% ;[I"!/* If input is a gradient */; T;;&;[;i; @u:Sass::Tree::IfNodeŽ[o:Sass::Script::Operation :@operand1o:Sass::Script::Variable : @nameI"images-type:ET:@underscored_nameI"images_type; T: @linei: @options{:@operand2o:Sass::Script::String : @valueI" string; T: @type:identifier; i; @ :@operator:eq; i; @ u:Sass::Tree::IfNodeà [o:Sass::Script::Operation :@operand1o:Sass::Script::Variable : @nameI"images-type:ET:@underscored_nameI"images_type; T: @linei": @options{:@operand2o:Sass::Script::String : @valueI" list; T: @type:identifier; i"; @ :@operator:eq; i"; @ 0[ o:Sass::Tree::VariableNode ;I" type; T: @expro:Sass::Script::Funcall ;I" type-of; T: @args[o; ;I"nth; T;[o; ;I" images; T; I" images; T; i#; @ o:Sass::Script::Number ;i:@numerator_units[:@denominator_units[; i#:@originalI"1; F; @ :@keywords{: @splat0; i#; @ ;{;0; i#; @ : @guarded0:@children[; i#; @ o:Sass::Tree::CommentNode ;[I"0/* Get type of variable - List or String */; T;: silent;[; i#; @ o; ;[I"+/* If variable is a list - Gradient */; T;;!;[; i%; @ u:Sass::Tree::IfNode®[o:Sass::Script::Operation :@operand1o:Sass::Script::Variable : @nameI" type:ET:@underscored_nameI" type; T: @linei&: @options{:@operand2o:Sass::Script::String : @valueI" list; T: @type:identifier; i&; @ :@operator:eq; i&; @ 0[o:Sass::Tree::VariableNode ;I" gradient; T: @expro:Sass::Script::Funcall ;I"nth; T: @args[o; ;I" images; T; I" images; T; i'; @ o:Sass::Script::Number ;i:@numerator_units[:@denominator_units[; i':@originalI"1; F; @ :@keywords{: @splat0; i'; @ : @guarded0:@children[; i'; @ o; ;I"gradient-type; T;o; ;I"nth; T;[o; ;I" gradient; T; I" gradient; T; i(; @ o; ;i;[;@; i(;I"1; F; @ ;{;0; i(; @ ;0;[; i(; @ o:Sass::Tree::CommentNode ;[I"2/* Get type of gradient (linear || radial) */; T;: silent;[; i(; @ o; ;I"gradient-pos; T;o; ;I"nth; T;[o; ;I" gradient; T; I" gradient; T; i); @ o; ;i;[;@; i);I"2; F; @ ;{;0; i); @ ;0;[; i); @ o; ;[I" /* Get gradient position */; T;;!;[; i); @ o; ;I"gradient-args; T;o; ;I"nth; T;[o; ;I" gradient; T; I" gradient; T; i*; @ o; ;i;[;@; i*;I"3; F; @ ;{;0; i*; @ ;0;[; i*; @ o; ;[I"*/* Get actual gradient (red, blue) */; T;;!;[; i*; @ o; ;I"gradient-positions; T;o; ;I"_gradient-positions-parser; T;[o; ;I"gradient-type; T; I"gradient_type; T; i+; @ o; ;I"gradient-pos; T; I"gradient_pos; T; i+; @ ;{;0; i+; @ ;0;[; i+; @ o; ;I"border-image; T;o; ;I"_render-gradients; T;[ o; ;I"gradient-positions; T; I"gradient_positions; T; i,; @ o; ;I"gradient-args; T; I"gradient_args; T; i,; @ o; ;I"gradient-type; T; I"gradient_type; T; i,; @ o; ;I" vendor; T; I" vendor; T; i,; @ ;{;0; i,; @ ;0;[; i,; @ o:Sass::Tree::ForNode : @varI"i; T: @fromo; ;i;[;@; i.;I"2; F; @ :@too; ;I" length; T;[o; ;I" images; T; I" images; T; i.; @ ;{;0; i.; @ :@exclusiveF;[o; ;I"border-image; T;o; ;I" append; T;[o; ;I"border-image; T; I"border_image; T; i/; @ o; ;I"nth; T;[o; ;I" images; T; I" images; T; i/; @ o; ;I"i; T; I"i; T; i/; @ ;{;0; i/; @ ;{;0; i/; @ ;0;[; i/; @ ; i.:@has_childrenT; @ [u;©[o:Sass::Script::Operation :@operand1o; ;o:Sass::Script::Variable : @nameI"first-var:ET:@underscored_nameI"first_var; T: @linei: @options{:@operand2o:Sass::Script::String : @valueI" linear; T: @type: string; i; @ :@operator:eq; i; @ ; o; ;o; ;I"first-var; T; I"first_var; T; i; @ ; o; ;I" radial; T;;; i; @ ;;; i; @ ;:or; i; @ u:Sass::Tree::IfNodeÄ[00[o:Sass::Tree::VariableNode : @nameI"border-image:ET: @expro:Sass::Script::Variable ;I" images;T:@underscored_nameI" images;T: @linei: @options{: @guarded0:@children[; i; @ [ o:Sass::Tree::VariableNode ;I"gradient-type; T: @expro:Sass::Script::Funcall ;I"nth; T: @args[o; ;I" images; T; I" images; T; i; @ o:Sass::Script::Number ;i:@numerator_units[:@denominator_units[; i:@originalI"1; F; @ :@keywords{: @splat0; i; @ : @guarded0:@children[; i; @ o:Sass::Tree::CommentNode ;[I"2/* Get type of gradient (linear || radial) */; T;: silent;![; i; @ o; ;I"gradient-pos; T;o; ;I"nth; T;[o; ;I" images; T; I" images; T; i; @ o; ;i;[;@ ; i;I"2; F; @ ;{;0; i; @ ; 0;![; i; @ o;" ;[I" /* Get gradient position */; T;;#;![; i; @ o; ;I"gradient-args; T;o; ;I"nth; T;[o; ;I" images; T; I" images; T; i; @ o; ;i;[;@ ; i;I"3; F; @ ;{;0; i; @ ; 0;![; i; @ o;" ;[I"*/* Get actual gradient (red, blue) */; T;;#;![; i; @ o; ;I"gradient-positions; T;o; ;I"_gradient-positions-parser; T;[o; ;I"gradient-type; T; I"gradient_type; T; i; @ o; ;I"gradient-pos; T; I"gradient_pos; T; i; @ ;{;0; i; @ ; 0;![; i; @ o; ;I"border-image; T;o; ;I"_render-gradients; T;[ o; ;I"gradient-positions; T; I"gradient_positions; T; i; @ o; ;I"gradient-args; T; I"gradient_args; T; i; @ o; ;I"gradient-type; T; I"gradient_type; T; i; @ o; ;I" vendor; T; I" vendor; T; i; @ ;{;0; i; @ ; 0;![; i; @ o:Sass::Tree::ReturnNode ;o; ;I"border-image; T; I"border_image; T;i3; @;[;i3; @;i;T; @o;% ;[I"¨/*Examples: * @include border-image(url("image.png")); * @include border-image(url("image.png") 20 stretch); * @include border-image(linear-gradient(45deg, orange, yellow)); * @include border-image(linear-gradient(45deg, orange, yellow) stretch); * @include border-image(linear-gradient(45deg, orange, yellow) 20 30 40 50 stretch round); * @include border-image(radial-gradient(top, cover, orange, yellow, orange)); */; T;;&;[;i6; @:@templateI"” @mixin border-image($images) { -webkit-border-image: _border-add-prefix($images, webkit); -moz-border-image: _border-add-prefix($images, moz); -o-border-image: _border-add-prefix($images, o); border-image: _border-add-prefix($images); border-style: solid; } @function _border-add-prefix($images, $vendor: false) { $border-image: null; $images-type: type-of(nth($images, 1)); $first-var: nth(nth($images, 1), 1); // Get type of Gradient (Linear || radial) // If input is a gradient @if $images-type == string { @if ($first-var == "linear") or ($first-var == "radial") { $gradient-type: nth($images, 1); // Get type of gradient (linear || radial) $gradient-pos: nth($images, 2); // Get gradient position $gradient-args: nth($images, 3); // Get actual gradient (red, blue) $gradient-positions: _gradient-positions-parser($gradient-type, $gradient-pos); $border-image: _render-gradients($gradient-positions, $gradient-args, $gradient-type, $vendor); } // If input is a URL @else { $border-image: $images; } } // If input is gradient or url + additional args @else if $images-type == list { $type: type-of(nth($images, 1)); // Get type of variable - List or String // If variable is a list - Gradient @if $type == list { $gradient: nth($images, 1); $gradient-type: nth($gradient, 1); // Get type of gradient (linear || radial) $gradient-pos: nth($gradient, 2); // Get gradient position $gradient-args: nth($gradient, 3); // Get actual gradient (red, blue) $gradient-positions: _gradient-positions-parser($gradient-type, $gradient-pos); $border-image: _render-gradients($gradient-positions, $gradient-args, $gradient-type, $vendor); @for $i from 2 through length($images) { $border-image: append($border-image, nth($images, $i)); } } } @return $border-image; } //Examples: // @include border-image(url("image.png")); // @include border-image(url("image.png") 20 stretch); // @include border-image(linear-gradient(45deg, orange, yellow)); // @include border-image(linear-gradient(45deg, orange, yellow) stretch); // @include border-image(linear-gradient(45deg, orange, yellow) 20 30 40 50 stretch round); // @include border-image(radial-gradient(top, cover, orange, yellow, orange)); ; T;i;T; @