{: versionI"3.4.22 (Selective Steve):EF:shaI"-8cbd43e00ba8e975990ba1ff59746de7235a2c50;F: contents"ùRo:Sass::Tree::RootNode :@children[o:Sass::Tree::ImportNode :@imported_filenameI"(compass/typography/text/replacement:ET;[:@filename0: @options{:@template0: @linei:@source_rangeo:Sass::Source::Range :@start_poso:Sass::Source::Position; i: @offseti: @end_poso;; i;i3: @fileI"w/Users/aselder/.rvm/gems/ruby-2.2.5/gems/compass-core-1.0.3/stylesheets/compass/utilities/sprites/_sprite-img.scss; T:@importero: Sass::Importers::Filesystem: @rootI"L/Users/aselder/.rvm/gems/ruby-2.2.5/gems/compass-core-1.0.3/stylesheets; F:@real_rootI"L/Users/aselder/.rvm/gems/ruby-2.2.5/gems/compass-core-1.0.3/stylesheets; F:@same_name_warningso:Set: @hash{:@imported_file0o:Sass::Tree::CommentNode : @value[I"C/* @doc off * Example 1: * * a.twitter * +sprite-img("icons-32.png", 1) * a.facebook * +sprite-img("icons-32png", 2) * * Example 2: * * a * +sprite-background("icons-32.png") * a.twitter * +sprite-column(1) * a.facebook * +sprite-row(2) * @doc on */; T: @type: silent;[; 0; @ ; i;o; ;o;; i;i;o;; i;i;@;@o:Sass::Tree::VariableNode: @nameI"sprite-default-size; T: @expro: Sass::Script::Tree::Literal ;o: Sass::Script::Value::Number ;i%; @ :@numerator_units[I"px; T:@denominator_units[:@originalI" 32px; T:@css_variable_warning0; i;o; ;o;; i;i;o;; i;i ;@;@; @: @guardedT: @global0;[; 0; @ ; i;o; ;o;; i;i;o;; i;i);@;@o;!;"I"sprite-default-margin; T;#o;$ ;o;% ;i; @ ;&[I"px; T;'[;(I"0px; T;)0; i;o; ;o;; i;i;o;; i;i!;@;@; @;*T;+0;[; 0; @ ; i;o; ;o;; i;i;o;; i;i*;@;@o;!;"I"sprite-image-default-width; T;#o:!Sass::Script::Tree::Variable ;"I"sprite-default-size; T:@underscored_nameI"sprite_default_size; T;)0; i;o; ;o;; i;i#;o;; i;i7;@;@; @; @ ;*T;+0;[; 0; @ ; i;o; ;o;; i;i;o;; i;i@;@;@o;!;"I" sprite-image-default-height; T;#o;, ;"I"sprite-default-size; T;-I"sprite_default_size; T;)0; i ;o; ;o;; i ;i$;o;; i ;i8;@;@; @; @ ;*T;+0;[; 0; @ ; i ;o; ;o;; i ;i;o;; i ;iA;@;@o; ;[I"Ð/* Sets all the rules for a sprite from a given sprite image to show just one of the sprites. * To reduce duplication use a sprite-bg mixin for common properties and a sprite-select mixin for positioning. */; T;; ;[; 0; @ ; i";o; ;o;; i";i;o;; i#;iu;@;@o:Sass::Tree::MixinDefNode;"I"sprite-img; T: @args[ [o;, ;"I"img; T;-I"img; T;)0; i$;o; ;o;; i$;i;o;; i$;i;@;@; @; @ 0[o;, ;"I"col; T;-I"col; T;)0; i$;o; ;o;; i$;i;o;; i$;i";@;@; @; @ 0[o;, ;"I"row; T;-I"row; T;)0; i$;o; ;o;; i$;i$;o;; i$;i(;@;@; @; @ o;$ ;o;% ;i; @ ;&[;'[;(I"1; F;)0; i$;o; ;o;; i$;i*;o;; i$;i+;@;@; @[o;, ;"I" width; T;-I" width; T;)0; i$;o; ;o;; i$;i-;o;; i$;i3;@;@; @; @ o;, ;"I"sprite-image-default-width; T;-I"sprite_image_default_width; T;)0; i$;o; ;o;; i$;i5;o;; i$;iP;@;@; @; @ [o;, ;"I" height; T;-I" height; T;)0; i$;o; ;o;; i$;iR;o;; i$;iY;@;@; @; @ o;, ;"I" sprite-image-default-height; T;-I" sprite_image_default_height; T;)0; i$;o; ;o;; i$;i[;o;; i$;iw;@;@; @; @ [o;, ;"I" margin; T;-I" margin; T;)0; i$;o; ;o;; i$;iy;o;; i$;i{;@;@; @; @ o;, ;"I"sprite-default-margin; T;-I"sprite_default_margin; T;)0; i$;o; ;o;; i$;i};o;; i$;i“;@;@; @; @ : @splat0;[o:Sass::Tree::MixinNode;"I"sprite-background; T;/[o;, ;"I"img; T;-I"img; T;)0; i%;o; ;o;; i%;i#;o;; i%;i';@;@; @; @ o;, ;"I" width; T;-I" width; T;)0; i%;o; ;o;; i%;i);o;; i%;i/;@;@; @; @ o;, ;"I" height; T;-I" height; T;)0; i%;o; ;o;; i%;i1;o;; i%;i8;@;@; @; @ :@keywordso:Sass::Util::NormalizedMap:@key_strings{: @map{;00:@kwarg_splat0;[; 0; @ ; i%;o; ;o;; i%;i;o;; i%;i9;@;@o;1;"I"sprite-position; T;/[ o;, ;"I"col; T;-I"col; T;)0; i&;o; ;o;; i&;i!;o;; i&;i%;@;@; @; @ o;, ;"I"row; T;-I"row; T;)0; i&;o; ;o;; i&;i';o;; i&;i+;@;@; @; @ o;, ;"I" width; T;-I" width; T;)0; i&;o; ;o;; i&;i-;o;; i&;i3;@;@; @; @ o;, ;"I" height; T;-I" height; T;)0; i&;o; ;o;; i&;i5;o;; i&;i<;@;@; @; @ o;, ;"I" margin; T;-I" margin; T;)0; i&;o; ;o;; i&;i>;o;; i&;iE;@;@; @; @ ;2o;3;4{;5{;00;60;[; 0; @ ; i&;o; ;o;; i&;i;o;; i&;iF;@;@; 0; @ ; i$;o; ;o;; i$;i;o;; i$;i•;@;@:@has_childrenTo; ;[I"i/* Sets rules common for all sprites, assumes you want a square, but allows a rectangular region. */; T;; ;[; 0; @ ; i);o; ;o;; i);i;o;; i);ig;@;@o;.;"I"sprite-background; T;/[[o;, ;"I"img; T;-I"img; T;)0; i*;o; ;o;; i*;i;o;; i*;i#;@;@; @; @ 0[o;, ;"I" width; T;-I" width; T;)0; i*;o; ;o;; i*;i%;o;; i*;i+;@;@; @; @ o;, ;"I"sprite-default-size; T;-I"sprite_default_size; T;)0; i*;o; ;o;; i*;i-;o;; i*;iA;@;@; @; @ [o;, ;"I" height; T;-I" height; T;)0; i*;o; ;o;; i*;iC;o;; i*;iJ;@;@; @; @ o;, ;"I" width; T;-I" width; T;)0; i*;o; ;o;; i*;iL;o;; i*;iR;@;@; @; @ ;00;[o;1;"I" sprite-background-rectangle; T;/[o;, ;"I"img; T;-I"img; T;)0; i+;o; ;o;; i+;i-;o;; i+;i1;@;@; @; @ o;, ;"I" width; T;-I" width; T;)0; i+;o; ;o;; i+;i3;o;; i+;i9;@;@; @; @ o;, ;"I" height; T;-I" height; T;)0; i+;o; ;o;; i+;i;;o;; i+;iB;@;@; @; @ ;2o;3;4{;5{;00;60;[; 0; @ ; i+;o; ;o;; i+;i;o;; i+;iC;@;@; 0; @ ; i*;o; ;o;; i*;i;o;; i*;iT;@;@;7To; ;[I"K/* Sets rules common for all sprites, assumes a rectangular region. */; T;; ;[; 0; @ ; i.;o; ;o;; i.;i;o;; i.;iI;@;@o;.;"I" sprite-background-rectangle; T;/[[o;, ;"I"img; T;-I"img; T;)0; i/;o; ;o;; i/;i);o;; i/;i-;@;@; @; @ 0[o;, ;"I" width; T;-I" width; T;)0; i/;o; ;o;; i/;i/;o;; i/;i5;@;@; @; @ o;, ;"I"sprite-image-default-width; T;-I"sprite_image_default_width; T;)0; i/;o; ;o;; i/;i7;o;; i/;iR;@;@; @; @ [o;, ;"I" height; T;-I" height; T;)0; i/;o; ;o;; i/;iT;o;; i/;i[;@;@; @; @ o;, ;"I" sprite-image-default-height; T;-I" sprite_image_default_height; T;)0; i/;o; ;o;; i/;i];o;; i/;iy;@;@; @; @ ;00;[ o:Sass::Tree::PropNode;"[I"background; T;o:$Sass::Script::Tree::ListLiteral :@elements[o: Sass::Script::Tree::Funcall;"I"image-url; T;/[o;, ;"I"img; T;-I"img; T;)0; i0;o; ;o;; i0;i;o;; i0;i";@;@; @; @ ;2o;3;4{;5{;00;60;)0; i0;o; ;o;; i0;i;o;; i0;i#;@;@; @; @ o;$ ;o: Sass::Script::Value::String ;I"no-repeat; T; @ ;:identifier:"@deprecated_interp_equivalent0;)0; i0;o; ;o;; i0;i$;o;; i0;i-;@;@; @:@separator: space;)0; i0;o; ;o;; i0;i;o;; i0;i-;@;@; @; @ : @tabsi:@prop_syntax:new;[; 0; @ ; i0;o; ;o;; i0;i;o;; i0;i-;@;@:@name_source_rangeo; ;@x;o;; i0;i;@;@:@value_source_rangeo; ;o;; i0;i;@y;@;@o;8;"[I" width; T;o;, ;"I" width; T;-I" width; T;)0; i1;o; ;o;; i1;i;o;; i1;i;@;@; @; @ ;Ai;B;C;[; 0; @ ; i1;o; ;o;; i1;i;o;; i1;i;@;@;Do; ;@‰;o;; i1;i ;@;@;Eo; ;o;; i1;i;@Š;@;@o;8;"[I" height; T;o;, ;"I" height; T;-I" height; T;)0; i2;o; ;o;; i2;i;o;; i2;i;@;@; @; @ ;Ai;B;C;[; 0; @ ; i2;o; ;o;; i2;i;o;; i2;i;@;@;Do; ;@š;o;; i2;i;@;@;Eo; ;o;; i2;i;@›;@;@o;8;"[I" overflow; T;o;$;o;< ;I" hidden; T; @ ;;=;>0; i3;o; ;o;; i3;i;o;; i3;i;@;@;Ai;B;C;[; 0; @ ; i3;o; ;o;; i3;i;o;; i3;i;@;@;Do; ;@«;o;; i3;i;@;@;Eo; ;o;; i3;i;@¬;@;@; 0; @ ; i/;o; ;o;; i/;i;o;; i/;i{;@;@;7To; ;[I"V/* Allows horizontal sprite positioning optimized for a single row of sprites. */; T;; ;[; 0; @ ; i6;o; ;o;; i6;i;o;; i6;iT;@;@o;.;"I"sprite-column; T;/[[o;, ;"I"col; T;-I"col; T;)0; i7;o; ;o;; i7;i;o;; i7;i;@;@; @; @ 0[o;, ;"I" width; T;-I" width; T;)0; i7;o; ;o;; i7;i!;o;; i7;i';@;@; @; @ o;, ;"I"sprite-image-default-width; T;-I"sprite_image_default_width; T;)0; i7;o; ;o;; i7;i);o;; i7;iD;@;@; @; @ [o;, ;"I" margin; T;-I" margin; T;)0; i7;o; ;o;; i7;iF;o;; i7;iM;@;@; @; @ o;, ;"I"sprite-default-margin; T;-I"sprite_default_margin; T;)0; i7;o; ;o;; i7;iO;o;; i7;ie;@;@; @; @ ;00;[o;1;"I"sprite-position; T;/[ o;, ;"I"col; T;-I"col; T;)0; i8;o; ;o;; i8;i!;o;; i8;i%;@;@; @; @ o;$ ;o;% ;i; @ ;&[;'@s;(I"1; F;)0; i8;o; ;o;; i8;i';o;; i8;i(;@;@; @o;, ;"I" width; T;-I" width; T;)0; i8;o; ;o;; i8;i*;o;; i8;i0;@;@; @; @ o;$ ;o;% ;i; @ ;&[I"px; T;'[;(I"0px; T;)0; i8;o; ;o;; i8;i2;o;; i8;i5;@;@; @o;, ;"I" margin; T;-I" margin; T;)0; i8;o; ;o;; i8;i7;o;; i8;i>;@;@; @; @ ;2o;3;4{;5{;00;60;[; 0; @ ; i8;o; ;o;; i8;i;o;; i8;i?;@;@; 0; @ ; i7;o; ;o;; i7;i;o;; i7;ig;@;@;7To; ;[I"W/* Allows vertical sprite positioning optimized for a single column of sprites. */; T;; ;[; 0; @ ; i;;o; ;o;; i;;i;o;; i;;iU;@;@o;.;"I"sprite-row; T;/[[o;, ;"I"row; T;-I"row; T;)0; i<;o; ;o;; i<;i;o;; i<;i;@;@; @; @ 0[o;, ;"I" height; T;-I" height; T;)0; i<;o; ;o;; i<;i;o;; i<;i%;@;@; @; @ o;, ;"I" sprite-image-default-height; T;-I" sprite_image_default_height; T;)0; i<;o; ;o;; i<;i';o;; i<;iC;@;@; @; @ [o;, ;"I" margin; T;-I" margin; T;)0; i<;o; ;o;; i<;iE;o;; i<;iL;@;@; @; @ o;, ;"I"sprite-default-margin; T;-I"sprite_default_margin; T;)0; i<;o; ;o;; i<;iN;o;; i<;id;@;@; @; @ ;00;[o;1;"I"sprite-position; T;/[ o;$ ;o;% ;i; @ ;&[;'@s;(I"1; F;)0; i=;o; ;o;; i=;i!;o;; i=;i";@;@; @o;, ;"I"row; T;-I"row; T;)0; i=;o; ;o;; i=;i$;o;; i=;i(;@;@; @; @ o;$ ;o;% ;i; @ ;&[I"px; T;'[;(I"0px; T;)0; i=;o; ;o;; i=;i*;o;; i=;i-;@;@; @o;, ;"I" height; T;-I" height; T;)0; i=;o; ;o;; i=;i/;o;; i=;i6;@;@; @; @ o;, ;"I" margin; T;-I" margin; T;)0; i=;o; ;o;; i=;i8;o;; i=;i?;@;@; @; @ ;2o;3;4{;5{;00;60;[; 0; @ ; i=;o; ;o;; i=;i;o;; i=;i@;@;@; 0; @ ; i<;o; ;o;; i<;i;o;; i<;if;@;@;7To; ;[I"f/* Allows vertical and horizontal sprite positioning from a grid of equal dimensioned sprites. */; T;; ;[; 0; @ ; i@;o; ;o;; i@;i;o;; i@;id;@;@o;.;"I"sprite-position; T;/[ [o;, ;"I"col; T;-I"col; T;)0; iA;o; ;o;; iA;i;o;; iA;i!;@;@; @; @ 0[o;, ;"I"row; T;-I"row; T;)0; iA;o; ;o;; iA;i#;o;; iA;i';@;@; @; @ o;$ ;o;% ;i; @ ;&[;'@s;(I"1; F;)0; iA;o; ;o;; iA;i);o;; iA;i*;@;@; @[o;, ;"I" width; T;-I" width; T;)0; iA;o; ;o;; iA;i,;o;; iA;i2;@;@; @; @ o;, ;"I"sprite-image-default-width; T;-I"sprite_image_default_width; T;)0; iA;o; ;o;; iA;i4;o;; iA;iO;@;@; @; @ [o;, ;"I" height; T;-I" height; T;)0; iA;o; ;o;; iA;iQ;o;; iA;iX;@;@; @; @ o;, ;"I" sprite-image-default-height; T;-I" sprite_image_default_height; T;)0; iA;o; ;o;; iA;iZ;o;; iA;iv;@;@; @; @ [o;, ;"I" margin; T;-I" margin; T;)0; iA;o; ;o;; iA;ix;o;; iA;i;@;@; @; @ o;, ;"I"sprite-default-margin; T;-I"sprite_default_margin; T;)0; iA;o; ;o;; iA;i|;o;; iA;i’;@;@; @; @ ;00;[o;!;"I"x; T;#o:"Sass::Script::Tree::Operation :@operand1o;F ;Go;F ;Go;, ;"I"col; T;-I"col; T;)0; iB;o; ;o;; iB;i ;o;; iB;i;@;@; @; @ :@operand2o;$ ;o;% ;i; @ ;&[;'@s;(0;)0; iB;o; ;o;; iB;i;o;; iB;i;@;@; @:@operator: minus;)0; iB;o; ;@º;o;; iB;i;@;@; @; @ ;Ho:'Sass::Script::Tree::UnaryOperation : @operando;, ;"I" width; T;-I" width; T;)0; iB;o; ;o;; iB;i;o;; iB;i ;@;@; @; @ ;I;J;)0; iB;o; ;o;; iB;i;o;; iB;i ;@;@; @; @ ;I: times;)0; iB;o; ;@º;o;; iB;i ;@;@; @; @ ;Ho;F ;Go;F ;Go;, ;"I"col; T;-I"col; T;)0; iB;o; ;o;; iB;i$;o;; iB;i(;@;@; @; @ ;Ho;$ ;o;% ;i; @ ;&[;'@s;(0;)0; iB;o; ;o;; iB;i+;o;; iB;i,;@;@; @;I;J;)0; iB;o; ;@Ö;o;; iB;i,;@;@; @; @ ;Ho;, ;"I" margin; T;-I" margin; T;)0; iB;o; ;o;; iB;i0;o;; iB;i7;@;@; @; @ ;I;M;)0; iB;o; ;@Ö;o;; iB;i7;@;@; @; @ ;I;J;)0; iB;o; ;@º;o;; iB;i7;@;@; @; @ ;*0;+0;[; 0; @ ; iB;o; ;o;; iB;i ;o;; iB;i7;@;@o;!;"I"y; T;#o;F ;Go;F ;Go;F ;Go;, ;"I"row; T;-I"row; T;)0; iC;o; ;o;; iC;i ;o;; iC;i;@;@; @; @ ;Ho;$ ;o;% ;i; @ ;&[;'@s;(0;)0; iC;o; ;o;; iC;i;o;; iC;i;@;@; @;I;J;)0; iC;o; ;@÷;o;; iC;i;@;@; @; @ ;Ho;K ;Lo;, ;"I" height; T;-I" height; T;)0; iC;o; ;o;; iC;i;o;; iC;i!;@;@; @; @ ;I;J;)0; iC;o; ;o;; iC;i;o;; iC;i!;@;@; @; @ ;I;M;)0; iC;o; ;@÷;o;; iC;i!;@;@; @; @ ;Ho;F ;Go;F ;Go;, ;"I"row; T;-I"row; T;)0; iC;o; ;o;; iC;i%;o;; iC;i);@;@; @; @ ;Ho;$ ;o;% ;i; @ ;&[;'@s;(0;)0; iC;o; ;o;; iC;i,;o;; iC;i-;@;@; @;I;J;)0; iC;o; ;@;o;; iC;i-;@;@; @; @ ;Ho;, ;"I" margin; T;-I" margin; T;)0; iC;o; ;o;; iC;i1;o;; iC;i8;@;@; @; @ ;I;M;)0; iC;o; ;@;o;; iC;i8;@;@; @; @ ;I;J;)0; iC;o; ;@÷;o;; iC;i8;@;@; @; @ ;*0;+0;[; 0; @ ; iC;o; ;o;; iC;i ;o;; iC;i8;@;@o;8;"[I"background-position; T;o;9 ;:[o;, ;"I"x; T;-I"x; T;)0; iD;o; ;o;; iD;i;o;; iD;i;@;@; @; @ o;, ;"I"y; T;-I"y; T;)0; iD;o; ;o;; iD;i ;o;; iD;i";@;@; @; @ ;?;@;)0; iD;o; ;o;; iD;i;o;; iD;i";@;@; @; @ ;Ai;B;C;[; 0; @ ; iD;o; ;o;; iD;i;o;; iD;i";@;@;Do; ;@A;o;; iD;i;@;@;Eo; ;o;; iD;i;@B;@;@; 0; @ ; iA;o; ;o;; iA;i;o;; iA;i”;@;@;7To; ;[I"f/* Similar to 'sprite-replace-text-with-dimensions' but does not autmaticly set the demensions */; T;; ;[; 0; @ ; iI;o; ;o;; iI;i;o;; iI;id;@;@o;.;"I"sprite-replace-text; T;/[ [o;, ;"I"map; T;-I"map; T;)0; iJ;o; ;o;; iJ;i";o;; iJ;i&;@;@; @; @ 0[o;, ;"I" sprite; T;-I" sprite; T;)0; iJ;o; ;o;; iJ;i(;o;; iJ;i/;@;@; @; @ 0[o;, ;"I"dimensions; T;-I"dimensions; T;)0; iJ;o; ;o;; iJ;i1;o;; iJ;i<;@;@; @; @ o;$ ;o:Sass::Script::Value::Bool;F; @ ;)0; iJ;o; ;o;; iJ;i>;o;; iJ;iC;@;@; @[o;, ;"I" offset-x; T;-I" offset_x; T;)0; iJ;o; ;o;; iJ;iE;o;; iJ;iN;@;@; @; @ o;$ ;o;% ;i; @ ;&[;'@s;(I"0; F;)0; iJ;o; ;o;; iJ;iP;o;; iJ;iQ;@;@; @[o;, ;"I" offset-y; T;-I" offset_y; T;)0; iJ;o; ;o;; iJ;iS;o;; iJ;i\;@;@; @; @ o;$ ;o;% ;i; @ ;&[;'@s;(I"0; F;)0; iJ;o; ;o;; iJ;i^;o;; iJ;i_;@;@; @;00;[ o;1;"I"hide-text; T;/[;2{;00;60;[; 0; @ ; iK;o; ;o;; iK;i;o;; iK;i;@;@o;1;"I" sprite; T;/[ o;, ;"I"map; T;-I"map; T;)0; iL;o; ;o;; iL;i;o;; iL;i;@;@; @; @ o;, ;"I" sprite; T;-I" sprite; T;)0; iL;o; ;o;; iL;i;o;; iL;i%;@;@; @; @ o;, ;"I"dimensions; T;-I"dimensions; T;)0; iL;o; ;o;; iL;i';o;; iL;i2;@;@; @; @ o;, ;"I" offset-x; T;-I" offset_x; T;)0; iL;o; ;o;; iL;i4;o;; iL;i=;@;@; @; @ o;, ;"I" offset-y; T;-I" offset_y; T;)0; iL;o; ;o;; iL;i?;o;; iL;iH;@;@; @; @ ;2o;3;4{;5{;00;60;[; 0; @ ; iL;o; ;o;; iL;i;o;; iL;iI;@;@o;8;"[I"background-image; T;o;, ;"I"map; T;-I"map; T;)0; iM;o; ;o;; iM;i;o;; iM;i;@;@; @; @ ;Ai;B;C;[; 0; @ ; iM;o; ;o;; iM;i;o;; iM;i;@;@;Do; ;@Æ;o;; iM;i;@;@;Eo; ;o;; iM;i;@Ç;@;@o;8;"[I"background-repeat; T;o;$;o;< ;I"no-repeat; T; @ ;;=;>0; iN;o; ;o;; iN;i;o;; iN;i$;@;@;Ai;B;C;[; 0; @ ; iN;o; ;o;; iN;i;o;; iN;i$;@;@;Do; ;@×;o;; iN;i;@;@;Eo; ;o;; iN;i;@Ø;@;@; 0; @ ; iJ;o; ;o;; iJ;i;o;; iJ;ia;@;@;7To; ;[I"Ç/* Similar to 'replace-text-with-dimensions' but with sprites * To use, create your sprite and then pass it in the `$map` param * The name of the image in the sprite folder should be `$img-name` */; T;; ;[; 0; @ ; iQ;o; ;o;; iQ;i;o;; iS;iI;@;@o;.;"I"(sprite-replace-text-with-dimensions; T;/[ [o;, ;"I"map; T;-I"map; T;)0; iT;o; ;o;; iT;i2;o;; iT;i6;@;@; @; @ 0[o;, ;"I" sprite; T;-I" sprite; T;)0; iT;o; ;o;; iT;i8;o;; iT;i?;@;@; @; @ 0[o;, ;"I" offset-x; T;-I" offset_x; T;)0; iT;o; ;o;; iT;iA;o;; iT;iJ;@;@; @; @ o;$ ;o;% ;i; @ ;&[;'@s;(I"0; F;)0; iT;o; ;o;; iT;iL;o;; iT;iM;@;@; @[o;, ;"I" offset-y; T;-I" offset_y; T;)0; iT;o; ;o;; iT;iO;o;; iT;iX;@;@; @; @ o;$ ;o;% ;i; @ ;&[;'@s;(I"0; F;)0; iT;o; ;o;; iT;iZ;o;; iT;i[;@;@; @;00;[o;1;"I"sprite-replace-text; T;/[ o;, ;"I"map; T;-I"map; T;)0; iU;o; ;o;; iU;i&;o;; iU;i*;@;@; @; @ o;, ;"I" sprite; T;-I" sprite; T;)0; iU;o; ;o;; iU;i,;o;; iU;i3;@;@; @; @ o;$ ;o;N;T; @ ;)0; iU;o; ;o;; iU;i5;o;; iU;i9;@;@; @o;, ;"I" offset-x; T;-I" offset_x; T;)0; iU;o; ;o;; iU;i;;o;; iU;iD;@;@; @; @ o;, ;"I" offset-y; T;-I" offset_y; T;)0; iU;o; ;o;; iU;iF;o;; iU;iO;@;@; @; @ ;2o;3;4{;5{;00;60;[; 0; @ ; iU;o; ;o;; iU;i;o;; iU;iP;@;@; 0; @ ; iT;o; ;o;; iT;i;o;; iT;i\;@;@;7T; 0; @ ; I"W @import "compass/typography/text/replacement"; // @doc off // Example 1: // // a.twitter // +sprite-img("icons-32.png", 1) // a.facebook // +sprite-img("icons-32png", 2) // // Example 2: // // a // +sprite-background("icons-32.png") // a.twitter // +sprite-column(1) // a.facebook // +sprite-row(2) // @doc on $sprite-default-size: 32px !default; $sprite-default-margin: 0px !default; $sprite-image-default-width: $sprite-default-size !default; $sprite-image-default-height: $sprite-default-size !default; // Sets all the rules for a sprite from a given sprite image to show just one of the sprites. // To reduce duplication use a sprite-bg mixin for common properties and a sprite-select mixin for positioning. @mixin sprite-img($img, $col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) { @include sprite-background($img, $width, $height); @include sprite-position($col, $row, $width, $height, $margin); } // Sets rules common for all sprites, assumes you want a square, but allows a rectangular region. @mixin sprite-background($img, $width: $sprite-default-size, $height: $width) { @include sprite-background-rectangle($img, $width, $height); } // Sets rules common for all sprites, assumes a rectangular region. @mixin sprite-background-rectangle($img, $width: $sprite-image-default-width, $height: $sprite-image-default-height) { background: image-url($img) no-repeat; width: $width; height: $height; overflow: hidden; } // Allows horizontal sprite positioning optimized for a single row of sprites. @mixin sprite-column($col, $width: $sprite-image-default-width, $margin: $sprite-default-margin) { @include sprite-position($col, 1, $width, 0px, $margin); } // Allows vertical sprite positioning optimized for a single column of sprites. @mixin sprite-row($row, $height: $sprite-image-default-height, $margin: $sprite-default-margin) { @include sprite-position(1, $row, 0px, $height, $margin); } // Allows vertical and horizontal sprite positioning from a grid of equal dimensioned sprites. @mixin sprite-position($col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) { $x: ($col - 1) * -$width - ($col - 1) * $margin; $y: ($row - 1) * -$height - ($row - 1) * $margin; background-position: $x $y; } // Similar to 'sprite-replace-text-with-dimensions' but does not autmaticly set the demensions @mixin sprite-replace-text ($map, $sprite, $dimensions: false, $offset-x: 0, $offset-y: 0) { @include hide-text; @include sprite($map, $sprite, $dimensions, $offset-x, $offset-y); background-image: $map; background-repeat: no-repeat; } // Similar to 'replace-text-with-dimensions' but with sprites // To use, create your sprite and then pass it in the `$map` param // The name of the image in the sprite folder should be `$img-name` @mixin sprite-replace-text-with-dimensions ($map, $sprite, $offset-x: 0, $offset-y: 0){ @include sprite-replace-text ($map, $sprite, true, $offset-x, $offset-y); } ; T; i;o; ;o;; i;i;o;; i;i;@;@;7T