test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_mixins.scssc in bootstrap-sass-rails-2.0.2.0 vs test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_mixins.scssc in bootstrap-sass-rails-2.0.2.1

- old
+ new

@@ -1,7 +1,7 @@ 3.1.15 (Brainy Betty) -e52e9cc11c6cbca4259e109c0d041caa19e0dbb6 +07a6aff13ef3e46b0186acdb23c51f1ca17400a0 o:Sass::Tree::RootNode :@children[no:Sass::Tree::CommentNode : @value[I"›/* Mixins.less * Snippets of reusable CSS to develop faster and keep code readable * ----------------------------------------------------------------- */:ET: @silenti: @loud0;[: @@ -454,80 +454,86 @@ width; T;o;; ;<o;; ;<o;) ;I"gridColumnWidth; T;*I"gridColumnWidth; T; iø; @ ;=o;) ;I" columns; T;*I" columns; T; iø; @ ;>;M; iø; @ ;=o;; ;<o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; iø; @ ;=o;; ;<o;) ;I" columns; T;*I" columns; T; iø; @ ;=o;% ;i;&[;'@/; iø;(I"1; F; @ ;>;H; iø; @ ;>;M; iø; @ ;>;N; iø; @ ;i;;;[; iø; @ ; iõ;$T; @ o; ;[I"/* The Grid */; T; -i; 0;[; iû; @ o; ;I"grid-core-offset; T;[[o;);I" columns; T;*I" columns; T; @ 0;[o; ;[I"margin-left; T;o;; +i; 0;[; iû; @ o; ;I"grid-core-offset; T;[[o;);I"gridColumnWidth; T;*I"gridColumnWidth; T; @ 0[o;);I"gridGutterWidth; T;*I"gridGutterWidth; T; @ 0[o;);I" columns; T;*I" columns; T; @ 0;[o; ;[I"margin-left; T;o;; ;<o;; ;<o;; ;<o;) ;I"gridColumnWidth; T;*I"gridColumnWidth; T; iý; @ ;=o;) ;I" columns; T;*I" columns; T; iý; @ ;>;M; iý; @ ;=o;; ;<o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; iý; @ ;=o;; ;<o;) ;I" columns; T;*I" columns; T; iý; @ ;=o;% ;i;&[;'@/; iý;(I"1; F; @ ;>;H; iý; @ ;>;M; iý; @ ;>;N; iý; @ ;=o;; -;<o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; iý; @ ;=o;% ;i;&[;'@/; iý;(I"2; F; @ ;>;M; iý; @ ;>;N; iý; @ ;i;;;[; iý; @ ; iü;$T; @ o; ;I"grid-core-span; T;[[o;);I" columns; T;*I" columns; T; @ 0;[o; ;[I" +;<o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; iý; @ ;=o;% ;i;&[;'@/; iý;(I"2; F; @ ;>;M; iý; @ ;>;N; iý; @ ;i;;;[; iý; @ ; iü;$T; @ o; ;I"grid-core-span; T;[[o;);I"gridColumnWidth; T;*I"gridColumnWidth; T; @ 0[o;);I"gridGutterWidth; T;*I"gridGutterWidth; T; @ 0[o;);I" columns; T;*I" columns; T; @ 0;[o; ;[I" width; T;o;; ;<o;; ;<o;) ;I"gridColumnWidth; T;*I"gridColumnWidth; T; i; @ ;=o;) ;I" columns; T;*I" columns; T; i; @ ;>;M; i; @ ;=o;; ;<o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; i; @ ;=o;; -;<o;) ;I" columns; T;*I" columns; T; i; @ ;=o;% ;i;&[;'@/; i;(I"1; F; @ ;>;H; i; @ ;>;M; i; @ ;>;N; i; @ ;i;;;[; i; @ ; i;$T; @ o; ;I"grid-core; T;[[o;);I"gridColumnWidth; T;*I"gridColumnWidth; T; @ 0[o;);I"gridGutterWidth; T;*I"gridGutterWidth; T; @ 0;[ o; ;[I" .row; T;i;o;;[o;;[o;;[o;6;[I"row; T; i; I"; F; i; @õ; i; @õ;[o; ;[I"margin-left; T;o;; +;<o;) ;I" columns; T;*I" columns; T; i; @ ;=o;% ;i;&[;'@/; i;(I"1; F; @ ;>;H; i; @ ;>;M; i; @ ;>;N; i; @ ;i;;;[; i; @ ; i;$T; @ o; ;I"grid-core; T;[[o;);I"gridColumnWidth; T;*I"gridColumnWidth; T; @ 0[o;);I"gridGutterWidth; T;*I"gridGutterWidth; T; @ 0;[ o; ;[I" .row; T;i;o;;[o;;[o;;[o;6;[I"row; T; i; I"; F; i; @; i; @;[o; ;[I"margin-left; T;o;; ;<o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; i; @ ;=o;% ;iú;&[;'@/; i;(I"-1; F; @ ;>;M; i; @ ;i;;;[; i; @ o;+ ;I" clearfix; T;[;,{;[; i; @ ; i;$T; @ o; ;[I"[class*="span"]; F;i;o;;[o;;[o;;[o;I ;[I" class; F;50;>I"*=; F;[I" "span"; F; i ; I"; F; i -; @; i -; @;[o; ;[I" +; @&; i +; @&;[o; ;[I" float; T;o;;I" left; T;;; @ ;i;;;[; i ; @ o; ;[I"margin-left; T;o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; i ; @ ;i;;;[; i ; @ ; i ;$T; @ o; ;[I"V/* Set the container width, and override it for fixed navbars in media queries */; T; i; 0;[; i; @ o; ;[I"R.container, .navbar-fixed-top .container, - .navbar-fixed-bottom .container; F;i;o;;[o;;[o;;[o;6;[I"container; F; i; I"; F; i; @5o;;[I" -; Fo;;[o;6;[I"navbar-fixed-top; F; i; @5; i; @5o;;[o;6;[I"container; F; i; @5; i; @5o;;[I" -; Fo;;[o;6;[I"navbar-fixed-bottom; F; i; @5; i; @5o;;[o;6;[I"container; F; i; @5; i; @5; i; @5;[o;+ ;I"grid-core-span; T;[o;) ;I"gridColumns; T;*I"gridColumns; T; i; @ ;,{;[; i; @ ; i;$T; @ o; ;[I"'/* generate .spanX and .offsetX */; T; + .navbar-fixed-bottom .container; F;i;o;;[o;;[o;;[o;6;[I"container; F; i; I"; F; i; @Eo;;[I" +; Fo;;[o;6;[I"navbar-fixed-top; F; i; @E; i; @Eo;;[o;6;[I"container; F; i; @E; i; @Eo;;[I" +; Fo;;[o;6;[I"navbar-fixed-bottom; F; i; @E; i; @Eo;;[o;6;[I"container; F; i; @E; i; @E; i; @E;[o;+ ;I"grid-core-span; T;[o;) ;I"gridColumnWidth; T;*I"gridColumnWidth; T; i; @ o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; i; @ o;) ;I"gridColumns; T;*I"gridColumns; T; i; @ ;,{;[; i; @ ; i;$T; @ o; ;[I"'/* generate .spanX and .offsetX */; T; i; 0;[; i; @ o:Sass::Tree::ForNode : @varI" index; T: -@fromo;% ;i;&[;'@/; i;(I"1; F; @ :@too;) ;I"gridColumns; T;*I"gridColumns; T; i; @ :@exclusiveT;[o; ;[I" -.span; Fo; ;I" -index; T;;; @ ; i;i;[o;+ ;I"grid-core-span; T;[o;) ;I" +@fromo;% ;i;&[;'@/; i;(I"1; F; @ :@too;) ;I"gridColumns; T;*I"gridColumns; T; i; @ :@exclusiveF;[o; ;[I" +.span; Fo;) ;I" index; T;*I" -index; T; i; @ ;,{;[; i; @ ; i;$T; @ o; ;[I" .ofset; Fo; ;I" -index; T;;; @ ; i;i;[o;+ ;I"grid-core-offset; T;[o;) ;I" +index; T; i; @ ;i;[o;+ ;I"grid-core-span; T;[o;) ;I"gridColumnWidth; T;*I"gridColumnWidth; T; i; @ o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; i; @ o;) ;I" index; T;*I" -index; T; i; @ ;,{;[; i; @ ; i;$T; @ ; i;$T; @ ; i;$T; @ o; ;I"grid-fluid-span; T;[[o;);I" columns; T;*I" columns; T; @ 0;[o; ;[I" +index; T; i; @ ;,{;[; i; @ ; i;$T; @ o; ;[I" .offset; Fo;) ;I" +index; T;*I" +index; T; i; @ ;i;[o;+ ;I"grid-core-offset; T;[o;) ;I"gridColumnWidth; T;*I"gridColumnWidth; T; i; @ o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; i; @ o;) ;I" +index; T;*I" +index; T; i; @ ;,{;[; i; @ ; i;$T; @ ; i;$T; @ ; i;$T; @ o; ;I"grid-fluid-span; T;[[o;);I"gridColumnWidth; T;*I"gridColumnWidth; T; @ 0[o;);I"gridGutterWidth; T;*I"gridGutterWidth; T; @ 0[o;);I" columns; T;*I" columns; T; @ 0;[o; ;[I" width; T;o;; ;<o;; ;<o;) ;I"fluidGridColumnWidth; T;*I"fluidGridColumnWidth; T; i; @ ;=o;) ;I" columns; T;*I" columns; T; i; @ ;>;M; i; @ ;=o;; ;<o;) ;I"fluidGridGutterWidth; T;*I"fluidGridGutterWidth; T; i; @ ;=o;; -;<o;) ;I" columns; T;*I" columns; T; i; @ ;=o;% ;i;&[;'@/; i;(I"1; F; @ ;>;H; i; @ ;>;M; i; @ ;>;N; i; @ ;i;;;[; i; @ ; i;$T; @ o; ;I"grid-fluid; T;[[o;);I"fluidGridColumnWidth; T;*I"fluidGridColumnWidth; T; @ 0[o;);I"fluidGridGutterWidth; T;*I"fluidGridGutterWidth; T; @ 0;[o; ;[I".row-fluid; T;i;o;;[o;;[o;;[o;6;[I"row-fluid; T; i ; I"; F; i ; @¹; i ; @¹;[ o; ;[I" +;<o;) ;I" columns; T;*I" columns; T; i; @ ;=o;% ;i;&[;'@/; i;(I"1; F; @ ;>;H; i; @ ;>;M; i; @ ;>;N; i; @ ;i;;;[; i; @ ; i;$T; @ o; ;I"grid-fluid; T;[[o;);I"fluidGridColumnWidth; T;*I"fluidGridColumnWidth; T; @ 0[o;);I"fluidGridGutterWidth; T;*I"fluidGridGutterWidth; T; @ 0;[o; ;[I".row-fluid; T;i;o;;[o;;[o;;[o;6;[I"row-fluid; T; i ; I"; F; i ; @å; i ; @å;[ o; ;[I" width; T;o;;I" 100%; T;;; @ ;i;;;[; i!; @ o;+ ;I" clearfix; T;[;,{;[; i"; @ o; ;[I"> [class*="span"]; T;i;o;;[o;;[I">; To;;[o;I ;[I" -class; T;50;>I"*=; T;[I" "span"; T; i#; I"; F; i#; @Ö; i#; @Ö;[o; ;[I" +class; T;50;>I"*=; T;[I" "span"; T; i#; I"; F; i#; @; i#; @;[o; ;[I" float; T;o;;I" left; T;;; @ ;i;;;[; i$; @ o; ;[I"margin-left; T;o;) ;I"fluidGridGutterWidth; T;*I"fluidGridGutterWidth; T; i%; @ ;i;;;[; i%; @ ; i#;$T; @ o; ;[I""> [class*="span"]:first-child; T;i;o;;[o;;[I">; To;;[o;I ;[I" class; T;50;>I"*=; T;[I" "span"; T; i'; I"; Fo;! -;;";[I"first-child; T;#0; i'; @õ; i'; @õ; i'; @õ;[o; ;[I"margin-left; T;o;;I"0; T;;; @ ;i;;;[; i(; @ ; i';$T; @ o; ;[I"/* generate .spanX */; T; +;;";[I"first-child; T;#0; i'; @!; i'; @!; i'; @!;[o; ;[I"margin-left; T;o;;I"0; T;;; @ ;i;;;[; i(; @ ; i';$T; @ o; ;[I"/* generate .spanX */; T; i; 0;[; i+; @ o;O ;PI" -index; T;Qo;% ;i;&[;'@/; i,;(I"1; F; @ ;Ro;) ;I"gridColumns; T;*I"gridColumns; T; i,; @ ;ST;[o; ;[I" > .span; To; ;I" -index; T;;; @ ; i-;i;[o;+ ;I"grid-fluid-span; T;[o;) ;I" +index; T;Qo;% ;i;&[;'@/; i,;(I"1; F; @ ;Ro;) ;I"gridColumns; T;*I"gridColumns; T; i,; @ ;SF;[o; ;[I" > .span; To;) ;I" index; T;*I" -index; T; i-; @ ;,{;[; i-; @ ; i-;$T; @ ; i,;$T; @ ; i ;$T; @ ; i;$T; @ o; ;I"grid-input-span; T;[[o;);I" columns; T;*I" columns; T; @ 0;[o; ;[I" +index; T; i-; @ ;i;[o;+ ;I"grid-fluid-span; T;[o;) ;I"gridColumnWidth; T;*I"gridColumnWidth; T; i-; @ o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; i-; @ o;) ;I" +index; T;*I" +index; T; i-; @ ;,{;[; i-; @ ; i-;$T; @ ; i,;$T; @ ; i ;$T; @ ; i;$T; @ o; ;I"grid-input-span; T;[[o;);I"gridColumnWidth; T;*I"gridColumnWidth; T; @ 0[o;);I"gridGutterWidth; T;*I"gridGutterWidth; T; @ 0[o;);I" columns; T;*I" columns; T; @ 0;[o; ;[I" width; T;o;; ;<o;; ;<o;; -;<o;) ;I"gridColumnWidth; T;*I"gridColumnWidth; T; i2; @ ;=o;) ;I" columns; T;*I" columns; T; i2; @ ;>;M; i2; @ ;=o;; -;<o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; i2; @ ;=o;; -;<o;) ;I" columns; T;*I" columns; T; i2; @ ;=o;% ;i;&[;'@/; i2;(I"1; F; @ ;>;H; i2; @ ;>;M; i2; @ ;>;N; i2; @ ;=o;% ;i;&[;'@/; i2;(I"10; F; @ ;>;H; i2; @ ;i;;;[; i2; @ ; i1;$T; @ o; ;I"grid-input; T;[[o;);I"gridColumnWidth; T;*I"gridColumnWidth; T; @ 0[o;);I"gridGutterWidth; T;*I"gridGutterWidth; T; @ 0;[o; ;[I"+input, +;<o;) ;I"gridColumnWidth; T;*I"gridColumnWidth; T; i3; @ ;=o;) ;I" columns; T;*I" columns; T; i3; @ ;>;M; i3; @ ;=o;; +;<o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; i3; @ ;=o;; +;<o;) ;I" columns; T;*I" columns; T; i3; @ ;=o;% ;i;&[;'@/; i3;(I"1; F; @ ;>;H; i3; @ ;>;M; i3; @ ;>;N; i3; @ ;=o;% ;i;&[;'@/; i3;(I"10; F; @ ;>;H; i3; @ ;i;;;[; i3; @ ; i2;$T; @ o; ;I"grid-input; T;[[o;);I"gridColumnWidth; T;*I"gridColumnWidth; T; @ 0[o;);I"gridGutterWidth; T;*I"gridGutterWidth; T; @ 0;[o; ;[I"+input, textarea, .uneditable-input; T;i;o;;[o;;[o;;[o;4 ;[I" -input; T;50; i7; I"; F; i7; @Vo;;[I" -; Fo;;[o;4 ;[I" textarea; T;50; i7; @V; i7; @Vo;;[I" -; Fo;;[o;6;[I"uneditable-input; T; i7; @V; i7; @V; i7; @V;[o; ;[I"margin-left; T;o;;I"0; T;;; @ ;i;;;[; i8; @ o; ;[I"5/* override margin-left from core grid system */; T; -i; 0;[; i8; @ ; i7;$T; @ o; ;[I"/* generate .spanX */; T; -i; 0;[; i;; @ o;O ;PI" -index; T;Qo;% ;i;&[;'@/; i<;(I"1; F; @ ;Ro;) ;I"gridColumns; T;*I"gridColumns; T; i<; @ ;ST;[o; ;[ I"input.span; To; ;I" -index; T;;; @ ; i=I", - textarea.span; Fo; ;I" -index; T;;; @ ; i>I"!, - .uneditable-input.span; Fo; ;I" -index; T;;; @ ; i?;i;[o;+ ;I"grid-input-span; T;[o;) ;I" +input; T;50; i8; I"; F; i8; @‘o;;[I" +; Fo;;[o;4 ;[I" textarea; T;50; i8; @‘; i8; @‘o;;[I" +; Fo;;[o;6;[I"uneditable-input; T; i8; @‘; i8; @‘; i8; @‘;[o; ;[I"margin-left; T;o;;I"0; T;;; @ ;i;;;[; i9; @ o; ;[I"5/* override margin-left from core grid system */; T; +i; 0;[; i9; @ ; i8;$T; @ o; ;[I"/* generate .spanX */; T; +i; 0;[; i<; @ o;O ;PI" +index; T;Qo;% ;i;&[;'@/; i=;(I"1; F; @ ;Ro;) ;I"gridColumns; T;*I"gridColumns; T; i=; @ ;SF;[o; ;[ I"input.span; To;) ;I" index; T;*I" -index; T; i@; @ ;,{;[; i@; @ ; i?;$T; @ ; i<;$T; @ ; i4;$T; @ :@templateI"úJ// Mixins.less +index; T; i>; @ I", + textarea.span; Fo;) ;I" +index; T;*I" +index; T; i?; @ I"!, + .uneditable-input.span; Fo;) ;I" +index; T;*I" +index; T; i@; @ ;i;[o;+ ;I"grid-input-span; T;[o;) ;I"gridColumnWidth; T;*I"gridColumnWidth; T; iA; @ o;) ;I"gridGutterWidth; T;*I"gridGutterWidth; T; iA; @ o;) ;I" +index; T;*I" +index; T; iA; @ ;,{;[; iA; @ ; i@;$T; @ ; i=;$T; @ ; i5;$T; @ :@templateI"UL// Mixins.less // Snippets of reusable CSS to develop faster and keep code readable // ----------------------------------------------------------------- // UTILITY MIXINS @@ -1030,15 +1036,15 @@ margin-left: $gridGutterWidth; width: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1)); } // The Grid -@mixin grid-core-offset($columns) { +@mixin grid-core-offset($gridColumnWidth, $gridGutterWidth, $columns) { margin-left: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1)) + ($gridGutterWidth * 2); } -@mixin grid-core-span($columns) { +@mixin grid-core-span($gridColumnWidth, $gridGutterWidth, $columns) { width: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1)); } @mixin grid-core($gridColumnWidth, $gridGutterWidth) { .row { @@ -1052,20 +1058,20 @@ } // Set the container width, and override it for fixed navbars in media queries .container, .navbar-fixed-top .container, - .navbar-fixed-bottom .container { @include grid-core-span($gridColumns); } + .navbar-fixed-bottom .container { @include grid-core-span($gridColumnWidth, $gridGutterWidth, $gridColumns); } // generate .spanX and .offsetX - @for $index from 1 to $gridColumns { - .span#{index} { @include grid-core-span($index) } - .ofset#{index} { @include grid-core-offset($index) } + @for $index from 1 through $gridColumns { + .span#{$index} { @include grid-core-span($gridColumnWidth, $gridGutterWidth, $index) } + .offset#{$index} { @include grid-core-offset($gridColumnWidth, $gridGutterWidth, $index) } } } -@mixin grid-fluid-span($columns) { +@mixin grid-fluid-span($gridColumnWidth, $gridGutterWidth, $columns) { width: ($fluidGridColumnWidth * $columns) + ($fluidGridGutterWidth * ($columns - 1)); } @mixin grid-fluid($fluidGridColumnWidth, $fluidGridGutterWidth) { .row-fluid { @@ -1078,30 +1084,31 @@ > [class*="span"]:first-child { margin-left: 0; } // generate .spanX - @for $index from 1 to $gridColumns { - > .span#{index} { @include grid-fluid-span($index); } + @for $index from 1 through $gridColumns { + > .span#{$index} { @include grid-fluid-span($gridColumnWidth, $gridGutterWidth, $index); } } } } -@mixin grid-input-span($columns) { + +@mixin grid-input-span($gridColumnWidth, $gridGutterWidth, $columns) { width: (($gridColumnWidth) * $columns) + ($gridGutterWidth * ($columns - 1)) - 10; } @mixin grid-input($gridColumnWidth, $gridGutterWidth) { input, textarea, .uneditable-input { margin-left: 0; // override margin-left from core grid system } // generate .spanX - @for $index from 1 to $gridColumns { - input.span#{index}, - textarea.span#{index}, - .uneditable-input.span#{index} { - @include grid-input-span($index); + @for $index from 1 through $gridColumns { + input.span#{$index}, + textarea.span#{$index}, + .uneditable-input.span#{$index} { + @include grid-input-span($gridColumnWidth, $gridGutterWidth, $index); } } } ; T; i;$T; @ \ No newline at end of file