3.2.12 (Media Mark) abae4266bc919d357afa02410236fb77ebc19b03 o:Sass::Tree::RootNode : @linei:@has_childrenT:@template"È@function _linear-positions-parser($pos) { $type: type-of(nth($pos, 1)); $spec: null; $degree: null; $side: null; $corner: null; $length: length($pos); // Parse Side and corner positions @if ($length > 1) { @if nth($pos, 1) == "to" { // Newer syntax $side: nth($pos, 2); @if $length == 2 { // eg. to top // Swap for backwards compatability $degree: _position-flipper(nth($pos, 2)); } @else if $length == 3 { // eg. to top left $corner: nth($pos, 3); } } @else if $length == 2 { // Older syntax ("top left") $side: _position-flipper(nth($pos, 1)); $corner: _position-flipper(nth($pos, 2)); } @if ("#{$side} #{$corner}" == "left top") or ("#{$side} #{$corner}" == "top left") { $degree: _position-flipper(#{$side}) _position-flipper(#{$corner}); } @else if ("#{$side} #{$corner}" == "right top") or ("#{$side} #{$corner}" == "top right") { $degree: _position-flipper(#{$side}) _position-flipper(#{$corner}); } @else if ("#{$side} #{$corner}" == "right bottom") or ("#{$side} #{$corner}" == "bottom right") { $degree: _position-flipper(#{$side}) _position-flipper(#{$corner}); } @else if ("#{$side} #{$corner}" == "left bottom") or ("#{$side} #{$corner}" == "bottom left") { $degree: _position-flipper(#{$side}) _position-flipper(#{$corner}); } $spec: to $side $corner; } @else if $length == 1 { // Swap for backwards compatability @if $type == string { $degree: $pos; $spec: to _position-flipper($pos); } @else { $degree: -270 - $pos; //rotate the gradient opposite from spec $spec: $pos; } } $degree: unquote($degree + ","); $spec: unquote($spec + ","); @return $degree $spec; } @function _position-flipper($pos) { @return if($pos == left, right, null) if($pos == right, left, null) if($pos == top, bottom, null) if($pos == bottom, top, null); } :@children[o:Sass::Tree::FunctionNode ;i: @name"_linear-positions-parser;T: @splat0; [o:Sass::Tree::VariableNode : @expro:Sass::Script::Funcall ;i; " type-of; 0: @options{:@keywords{: @args[o; ;i; "nth; 0;@;{;[o:Sass::Script::Variable ;i; "pos:@underscored_name"pos;@o:Sass::Script::Number ;i:@denominator_units[:@numerator_units[:@original"1: @valuei;@;i; " type; [: @guarded0;@o; ;o:Sass::Script::Null;i;0;@;i; " spec; [;0;@o; ;o;;i ;0;@;i ; " degree; [;0;@o; ;o;;i ;0;@;i ; " side; [;0;@o; ;o;;i ;0;@;i ; " corner; [;0;@o; ;o; ;i ; " length; 0;@;{;[o; ;i ; "pos;"pos;@;i ; " length; [;0;@o:Sass::Tree::CommentNode ;i : @type: silent; [;["*/* Parse Side and corner positions */;@u:Sass::Tree::IfNoden#[o:Sass::Script::Operation : @linei:@operand2o:Sass::Script::Number ;i:@denominator_units[:@numerator_units[:@original"1: @valuei: @options{; @ :@operator:gt:@operand1o:Sass::Script::Variable ;i: @name" length:@underscored_name" length; @ u:Sass::Tree::IfNodeÁ[o:Sass::Script::Operation : @linei-:@operand2o:Sass::Script::Number ;i-:@denominator_units[:@numerator_units[:@original"1: @valuei: @options{; @ :@operator:eq:@operand1o:Sass::Script::Variable ;i-: @name" length:@underscored_name" length; @ 0[o:Sass::Tree::CommentNode ;i.: @type: silent:@children[; ["+/* Swap for backwards compatability */; @ u:Sass::Tree::IfNode4[o:Sass::Script::Operation : @linei/:@operand2o:Sass::Script::String ;i/: @type:identifier: @value" string: @options{; @ :@operator:eq:@operand1o:Sass::Script::Variable ;i/: @name" type:@underscored_name" type; @ u:Sass::Tree::IfNodeø[00[o:Sass::Tree::VariableNode : @expro:Sass::Script::Operation : @linei4:@operand2o:Sass::Script::Variable ;i4: @name"pos:@underscored_name"pos: @options{; @ :@operator: minus:@operand1o:Sass::Script::Number ;i4:@denominator_units[:@numerator_units[:@original" -270: @valueiþòþ; @ ;i4; " degree:@children[: @guarded0; @ o:Sass::Tree::CommentNode ;i4: @type: silent;[;["0/*rotate the gradient opposite from spec */; @ o; ;o; ;i5; "pos; "pos; @ ;i5; " spec;[;0; @ [o:Sass::Tree::VariableNode : @expro; ;i0;"pos;"pos; @ ;i0;" degree:@children[: @guarded0; @ o; ;o:Sass::Script::List ;i1:@separator: space; [o; ;i1; ; ; "to; @ o:Sass::Script::Funcall ;i1;"_position-flipper: @splat0; @ :@keywords{: @args[o; ;i1;"pos;"pos; @ ; @ ;i1;" spec;[;0; @ [u;. [o:Sass::Script::Operation : @linei:@operand2o:Sass::Script::String ;i: @type: string: @value"to: @options{; @ :@operator:eq:@operand1o:Sass::Script::Funcall ;i: @name"nth: @splat0; @ :@keywords{: @args[o:Sass::Script::Variable ;i;"pos:@underscored_name"pos; @ o:Sass::Script::Number ;i:@denominator_units[:@numerator_units[:@original"1; i; @ u:Sass::Tree::IfNodeú[o:Sass::Script::Operation : @linei:@operand2o:Sass::Script::Number ;i:@denominator_units[:@numerator_units[:@original"2: @valuei: @options{; @ :@operator:eq:@operand1o:Sass::Script::Variable ;i: @name" length:@underscored_name" length; @ 0[o:Sass::Tree::CommentNode ;i: @type: silent:@children[; ["$/* Older syntax ("top left") */; @ o:Sass::Tree::VariableNode : @expro:Sass::Script::Funcall ;i;"_position-flipper: @splat0; @ :@keywords{: @args[o; ;i;"nth;0; @ ;{;[o; ;i;"pos;"pos; @ o; ;i; @; [; "1; i; @ ;i;" side;[: @guarded0; @ o; ;o; ;i;"_position-flipper;0; @ ;{;[o; ;i;"nth;0; @ ;{;[o; ;i;"pos;"pos; @ o; ;i; @; [; "2; i; @ ;i;" corner;[;0; @ [o:Sass::Tree::CommentNode ;i; : silent:@children[; ["/* Newer syntax */; @ o:Sass::Tree::VariableNode : @expro; ;i;"nth;0; @ ;{;[o; ;i;"pos;"pos; @ o; ;i;@;[;"2; i; @ ;i;" side;[: @guarded0; @ u;®[o:Sass::Script::Operation : @linei:@operand2o:Sass::Script::Number ;i:@denominator_units[:@numerator_units[:@original"2: @valuei: @options{; @ :@operator:eq:@operand1o:Sass::Script::Variable ;i: @name" length:@underscored_name" length; @ u:Sass::Tree::IfNode&[o:Sass::Script::Operation : @linei:@operand2o:Sass::Script::Number ;i:@denominator_units[:@numerator_units[:@original"3: @valuei: @options{; @ :@operator:eq:@operand1o:Sass::Script::Variable ;i: @name" length:@underscored_name" length; @ 0[o:Sass::Tree::CommentNode ;i: @type: silent:@children[; ["/* eg. to top left */; @ o:Sass::Tree::VariableNode : @expro:Sass::Script::Funcall ;i;"nth: @splat0; @ :@keywords{: @args[o; ;i;"pos;"pos; @ o; ;i; @; [; "3; i; @ ;i;" corner;[: @guarded0; @ [o:Sass::Tree::CommentNode ;i: @type: silent:@children[; ["9/* eg. to top * Swap for backwards compatability */; @ o:Sass::Tree::VariableNode : @expro:Sass::Script::Funcall ;i;"_position-flipper: @splat0; @ :@keywords{: @args[o; ;i;"nth;0; @ ;{;[o; ;i;"pos;"pos; @ o; ;i; @; [; "2; i; @ ;i;" degree;[: @guarded0; @ u;][o:Sass::Script::Operation : @linei:@operand2o; ;i;o:Sass::Script::String ;i: @type: string: @value" top left: @options{; @ :@operator:eq:@operand1o:&Sass::Script::StringInterpolation : @beforeo; ;i; ; ; "; @ ;i: @aftero; ;o; ;i; ; ; " ; @ ;i;o; ;i; ; ; "; @ : @mido:Sass::Script::Variable ;i: @name" corner:@underscored_name" corner; @ ; @ ;o; ;i;" side;" side; @ ; @ ; @ ; :or;o; ;i;o; ;i; ; ; " left top; @ ; @ ; ;;o; ;o; ;i; ; ; "; @ ;i;o; ;o; ;i; ; ; " ; @ ;i;o; ;i; ; ; "; @ ;o; ;i;" corner;" corner; @ ; @ ;o; ;i;" side;" side; @ ; @ u:Sass::Tree::IfNode [o:Sass::Script::Operation : @linei":@operand2o; ;i";o:Sass::Script::String ;i": @type: string: @value"top right: @options{; @ :@operator:eq:@operand1o:&Sass::Script::StringInterpolation : @beforeo; ;i"; ; ; "; @ ;i": @aftero; ;o; ;i"; ; ; " ; @ ;i";o; ;i"; ; ; "; @ : @mido:Sass::Script::Variable ;i": @name" corner:@underscored_name" corner; @ ; @ ;o; ;i";" side;" side; @ ; @ ; @ ; :or;o; ;i";o; ;i"; ; ; "right top; @ ; @ ; ;;o; ;o; ;i"; ; ; "; @ ;i";o; ;o; ;i"; ; ; " ; @ ;i";o; ;i"; ; ; "; @ ;o; ;i";" corner;" corner; @ ; @ ;o; ;i";" side;" side; @ ; @ u:Sass::Tree::IfNode©[o:Sass::Script::Operation : @linei%:@operand2o; ;i%;o:Sass::Script::String ;i%: @type: string: @value"bottom right: @options{; @ :@operator:eq:@operand1o:&Sass::Script::StringInterpolation : @beforeo; ;i%; ; ; "; @ ;i%: @aftero; ;o; ;i%; ; ; " ; @ ;i%;o; ;i%; ; ; "; @ : @mido:Sass::Script::Variable ;i%: @name" corner:@underscored_name" corner; @ ; @ ;o; ;i%;" side;" side; @ ; @ ; @ ; :or;o; ;i%;o; ;i%; ; ; "right bottom; @ ; @ ; ;;o; ;o; ;i%; ; ; "; @ ;i%;o; ;o; ;i%; ; ; " ; @ ;i%;o; ;i%; ; ; "; @ ;o; ;i%;" corner;" corner; @ ; @ ;o; ;i%;" side;" side; @ ; @ u:Sass::Tree::IfNodeH[o:Sass::Script::Operation : @linei(:@operand2o; ;i(;o:Sass::Script::String ;i(: @type: string: @value"bottom left: @options{; @ :@operator:eq:@operand1o:&Sass::Script::StringInterpolation : @beforeo; ;i(; ; ; "; @ ;i(: @aftero; ;o; ;i(; ; ; " ; @ ;i(;o; ;i(; ; ; "; @ : @mido:Sass::Script::Variable ;i(: @name" corner:@underscored_name" corner; @ ; @ ;o; ;i(;" side;" side; @ ; @ ; @ ; :or;o; ;i(;o; ;i(; ; ; "left bottom; @ ; @ ; ;;o; ;o; ;i(; ; ; "; @ ;i(;o; ;o; ;i(; ; ; " ; @ ;i(;o; ;i(; ; ; "; @ ;o; ;i(;" corner;" corner; @ ; @ ;o; ;i(;" side;" side; @ ; @ 0[o:Sass::Tree::VariableNode : @expro:Sass::Script::List ;i):@separator: space; [o:Sass::Script::Funcall ;i);"_position-flipper: @splat0; @ :@keywords{: @args[o: Sass::Script::Interpolation ;0;i):@whitespace_before0;0:@originally_textF;o; ;i);" side;" side; @ ; @ :@whitespace_after0o; ;i);"_position-flipper;0; @ ;{; [o;! ;0;i);"0;0;#F;o; ;i);" corner;" corner; @ ; @ ;$0; @ ;i);" degree:@children[: @guarded0; @ [o:Sass::Tree::VariableNode : @expro:Sass::Script::List ;i&:@separator: space; [o:Sass::Script::Funcall ;i&;"_position-flipper: @splat0; @ :@keywords{: @args[o: Sass::Script::Interpolation ;0;i&:@whitespace_before0;0:@originally_textF;o; ;i&;" side;" side; @ ; @ :@whitespace_after0o; ;i&;"_position-flipper;0; @ ; {;![o;" ;0;i&;#0;0;$F;o; ;i&;" corner;" corner; @ ; @ ;%0; @ ;i&;" degree:@children[: @guarded0; @ [o:Sass::Tree::VariableNode : @expro:Sass::Script::List ;i#:@separator: space; [o:Sass::Script::Funcall ;i#;"_position-flipper: @splat0; @ :@keywords{: @args[o: Sass::Script::Interpolation ;0;i#:@whitespace_before0;0:@originally_textF;o; ;i#;" side;" side; @ ; @ :@whitespace_after0o; ;i#;"_position-flipper;0; @ ; {;![o;" ;0;i#;#0;0;$F;o; ;i#;" corner;" corner; @ ; @ ;%0; @ ;i#;" degree:@children[: @guarded0; @ [o:Sass::Tree::VariableNode : @expro:Sass::Script::List ;i :@separator: space; [o:Sass::Script::Funcall ;i ;"_position-flipper: @splat0; @ :@keywords{: @args[o: Sass::Script::Interpolation ;0;i :@whitespace_before0;0:@originally_textF;o; ;i ;" side;" side; @ ; @ :@whitespace_after0o; ;i ;"_position-flipper;0; @ ; {;![o;" ;0;i ;#0;0;$F;o; ;i ;" corner;" corner; @ ; @ ;%0; @ ;i ;" degree:@children[: @guarded0; @ o:Sass::Tree::VariableNode : @expro:Sass::Script::List ;i+:@separator: space; [o:Sass::Script::String ;i+: @type:identifier; "to; @ o; ;i+;" side;" side; @ o; ;i+;" corner;" corner; @ ; @ ;i+;" spec:@children[: @guarded0; @ o; ;o; ;i8; " unquote; 0;@;{;[o:Sass::Script::Operation ;i8:@operand2o:Sass::Script::String ;i8;: string;",;@;@:@operator: plus:@operand1o; ;i8; " degree;" degree;@;i8; " degree; [;0;@o; ;o; ;i9; " unquote; 0;@;{;[o; ;i9;!o;" ;i9;;#;",;@;@;$;%;&o; ;i9; " spec;" spec;@;i9; " spec; [;0;@o:Sass::Tree::ReturnNode ;o:Sass::Script::List ;i::@separator: space;[o; ;i:; " degree;" degree;@o; ;i:; " spec;" spec;@;@;i:; [;@;@;[[o;; "pos;"pos;@0o; ;i=; "_position-flipper;T; 0; [o;' ;o;( ;i>;);*;[ o; ;i>; "if; 0;@;{;[o; ;i>;!o;" ;i>;:identifier;" left;@;@;$:eq;&o; ;i>; "pos;"pos;@o;" ;i>;;+;" right;@o;;i>;0;@o; ;i?; "if; 0;@;{;[o; ;i?;!o;" ;i?;;+;" right;@;@;$;,;&o; ;i?; "pos;"pos;@o;" ;i?;;+;" left;@o;;i?;0;@o; ;i@; "if; 0;@;{;[o; ;i@;!o;" ;i@;;+;"top;@;@;$;,;&o; ;i@; "pos;"pos;@o;" ;i@;;+;" bottom;@o;;i@;0;@o; ;iA; "if; 0;@;{;[o; ;iA;!o;" ;iA;;+;" bottom;@;@;$;,;&o; ;iA; "pos;"pos;@o;" ;iA;;+;"top;@o;;iA;0;@;@;iA; [;@;@;[[o;; "pos;"pos;@0;@