3.0.25 (Classy Cassidy) dbd329016433fec94009de95e047867867ec2955 o:Sass::Tree::RootNode :@has_childrenT:@template"W // @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; } :@children[o:Sass::Tree::CommentNode : @lines[;[: @options{:css_location"3/Users/jim/Projects/radiant/public/stylesheets: syntax: scss: filename"/Users/jim/Developer/.rvm/gems/ree-1.8.7-2011.03@radiant/gems/compass-0.10.6/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss: style:compressed:always_checkF:line_commentsT:template_location[ ["8/Users/jim/Projects/radiant/public/stylesheets/sass@ ["8/Users/jim/Projects/radiant/public/stylesheets/sass"3/Users/jim/Projects/radiant/public/stylesheets["r/Users/jim/Developer/.rvm/gems/ree-1.8.7-2011.03@radiant/gems/compass-0.10.6/frameworks/blueprint/stylesheets"3/Users/jim/Projects/radiant/public/stylesheets["/Users/jim/Developer/.rvm/gems/ree-1.8.7-2011.03@radiant/gems/compass-0.10.6/frameworks/_blueprint_deprecated_imports/stylesheets"3/Users/jim/Projects/radiant/public/stylesheets["p/Users/jim/Developer/.rvm/gems/ree-1.8.7-2011.03@radiant/gems/compass-0.10.6/frameworks/compass/stylesheets"3/Users/jim/Projects/radiant/public/stylesheets["/Users/jim/Developer/.rvm/gems/ree-1.8.7-2011.03@radiant/gems/compass-0.10.6/frameworks/_compass_deprecated_imports/stylesheets"3/Users/jim/Projects/radiant/public/stylesheets:full_exceptionT: cacheT: quietT:load_paths[ @@@@@@:property_syntax0:cache_location"//Users/jim/Projects/radiant/tmp/sass-cache: @linei: @value"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 */: @silentio:Sass::Tree::VariableNode ;[; @ : @guarded" !default;i: @expro:Sass::Script::Number :@numerator_units["px; {;i;i%:@original" 32px:@denominator_units[: @context: default: @name"sprite-default-sizeo; ;[; @ ;" !default;i; o;! ;"["px; {;i;i;#"0px;$[;%;&;'"sprite-default-margino; ;[; @ ;" !default;i; o:Sass::Script::Variable ; {;i;%;&;'"sprite-default-size;'"sprite-image-default-widtho; ;[; @ ;" !default;i; o;( ; {;i;%;&;'"sprite-default-size;'" sprite-image-default-heighto; ; [;[; @ ;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. */;io:Sass::Tree::MixinDefNode ;T;[o:Sass::Tree::MixinNode ;[; @ ;i#;'"sprite-background: @args[o;( ; {;i#;%;&;'"imgo;( ; @P;i#;%;&;'" widtho;( ; @P;i#;%;&;'" heighto;* ;[; @ ;i$;'"sprite-position;+[ o;( ; {;i$;%;&;'"colo;( ; @[;i$;%;&;'"rowo;( ; @[;i$;%;&;'" widtho;( ; @[;i$;%;&;'" heighto;( ; @[;i$;%;&;'" margin; @ ;i";'"sprite-img;+[ [o;(; {;%;&;'"img0[o;(; @i;%;&;'"col0[o;(; @i;%;&;'"rowo;! ;"[; @i;i";i;#"1;$[;%;&[o;(; @i;%;&;'" widtho;( ; @i;i";%;&;'"sprite-image-default-width[o;(; @i;%;&;'" heighto;( ; @i;i";%;&;'" sprite-image-default-height[o;(; @i;%;&;'" margino;( ; @i;i";%;&;'"sprite-default-margino; ; [;[; @ ;i&;"i/* Sets rules common for all sprites, assumes you want a square, but allows a rectangular region. */;io;) ;T;[o;* ;[; @ ;i(;'" sprite-background-rectangle;+[o;( ; {;i(;%;&;'"imgo;( ; @;i(;%;&;'" widtho;( ; @;i(;%;&;'" height; @ ;i';'"sprite-background;+[[o;(; {;%;&;'"img0[o;(; @;%;&;'" widtho;( ; @;i';%;&;'"sprite-default-size[o;(; @;%;&;'" heighto;( ; @;i';%;&;'" widtho; ; [;[; @ ;i*;"K/* Sets rules common for all sprites, assumes a rectangular region. */;io;) ;T;[ o:Sass::Tree::PropNode ;[; @ ;i,:@prop_syntax:new;o:Sass::Script::Operation :@operand1o:Sass::Script::Funcall ; {;i,;%;&;'"image-url;+[o;( ; @;i,;%;&;'"img; @;i,:@operator: concat:@operand2o:Sass::Script::String : @type:identifier; @;i,;"no-repeat;%;&;%;&: @tabsi;'["backgroundo;, ;[; @ ;i-;-;.;o;( ; {;i-;%;&;'" width;8i;'[" widtho;, ;[; @ ;i.;-;.;o;( ; {;i.;%;&;'" height;8i;'[" heighto;, ;[; @ ;i/;-;.;o;5;6;7;" hidden;%;&;8i;'[" overflow; @ ;i+;'" sprite-background-rectangle;+[[o;(; {;%;&;'"img0[o;(; @;%;&;'" widtho;( ; @;i+;%;&;'"sprite-image-default-width[o;(; @;%;&;'" heighto;( ; @;i+;%;&;'" sprite-image-default-heighto; ; [;[; @ ;i1;"V/* Allows horizontal sprite positioning optimized for a single row of sprites. */;io;) ;T;[o;* ;[; @ ;i3;'"sprite-position;+[ o;( ; {;i3;%;&;'"colo;! ;"[; @;i3;i;#"1;$[;%;&o;( ; @;i3;%;&;'" widtho;! ;"["px; @;i3;i;#"0px;$[;%;&o;( ; @;i3;%;&;'" margin; @ ;i2;'"sprite-column;+[[o;(; {;%;&;'"col0[o;(; @;%;&;'" widtho;( ; @;i2;%;&;'"sprite-image-default-width[o;(; @;%;&;'" margino;( ; @;i2;%;&;'"sprite-default-margino; ; [;[; @ ;i5;"W/* Allows vertical sprite positioning optimized for a single column of sprites. */;io;) ;T;[o;* ;[; @ ;i7;'"sprite-position;+[ o;! ;"[; {;i7;i;#"1;$[;%;&o;( ; @ ;i7;%;&;'"rowo;! ;"["px; @ ;i7;i;#"0px;$[;%;&o;( ; @ ;i7;%;&;'" heighto;( ; @ ;i7;%;&;'" margin; @ ;i6;'"sprite-row;+[[o;(; {;%;&;'"row0[o;(; @;%;&;'" heighto;( ; @;i6;%;&;'" sprite-image-default-height[o;(; @;%;&;'" margino;( ; @;i6;%;&;'"sprite-default-margino; ; [;[; @ ;i9;"f/* Allows vertical and horizontal sprite positioning from a grid of equal dimensioned sprites. */;io;) ;T;[o; ;[; @ ;0;i;; o;/ ;0o;/ ;0o;/ ;0o;( ; {;i;;%;&;'"col; @7;i;;2: minus;4o;! ;"[; @7;i;;i;#"1;$[;%;&;%;&; @7;i;;2: times;4o:!Sass::Script::UnaryOperation ; @7;i;;2;9: @operando;( ; @7;i;;%;&;'" width;%;&;%;&; @7;i;;2;9;4o;/ ;0o;/ ;0o;( ; @7;i;;%;&;'"col; @7;i;;2;9;4o;! ;"[; @7;i;;i;#"1;$[;%;&;%;&; @7;i;;2;:;4o;( ; @7;i;;%;&;'" margin;%;&;%;&;'"xo; ;[; @ ;0;i<; o;/ ;0o;/ ;0o;/ ;0o;( ; {;i<;%;&;'"row; @Q;i<;2;9;4o;! ;"[; @Q;i<;i;#"1;$[;%;&;%;&; @Q;i<;2;:;4o;; ; @Q;i<;2;9;