compass 0.10.0.rc3 → 0.10.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. data/Rakefile +30 -102
  2. data/VERSION.yml +1 -1
  3. data/examples/css3/bootstrap.rb +3 -0
  4. data/examples/css3/clean.rb +2 -0
  5. data/examples/downloader.rb +2 -2
  6. data/frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.sass +1 -2
  7. data/frameworks/{compass → _compass_deprecated_imports}/stylesheets/compass/_misc.scss +1 -0
  8. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_inline_block.sass +1 -1
  9. data/frameworks/blueprint/stylesheets/_blueprint.scss +2 -1
  10. data/frameworks/blueprint/stylesheets/blueprint/_buttons.scss +47 -32
  11. data/frameworks/blueprint/stylesheets/blueprint/_colors.scss +25 -45
  12. data/frameworks/blueprint/stylesheets/blueprint/_debug.scss +6 -3
  13. data/frameworks/blueprint/stylesheets/blueprint/_fancy-type.scss +31 -24
  14. data/frameworks/blueprint/stylesheets/blueprint/_form.scss +45 -35
  15. data/frameworks/blueprint/stylesheets/blueprint/_grid.scss +2 -1
  16. data/frameworks/blueprint/stylesheets/blueprint/_link-icons.scss +21 -28
  17. data/frameworks/blueprint/stylesheets/blueprint/_typography.scss +66 -137
  18. data/frameworks/compass/stylesheets/compass/_css3.scss +1 -0
  19. data/frameworks/compass/stylesheets/compass/css3/_background-clip.scss +23 -5
  20. data/frameworks/compass/stylesheets/compass/css3/_background-origin.scss +22 -5
  21. data/frameworks/compass/stylesheets/compass/css3/_background-size.scss +8 -10
  22. data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +36 -16
  23. data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +14 -7
  24. data/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss +4 -8
  25. data/frameworks/compass/stylesheets/compass/css3/_box.scss +89 -0
  26. data/frameworks/compass/stylesheets/compass/css3/_columns.scss +19 -40
  27. data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +3 -1
  28. data/frameworks/compass/stylesheets/compass/css3/_gradient.scss +2 -0
  29. data/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +5 -6
  30. data/frameworks/compass/stylesheets/compass/css3/_opacity.scss +15 -9
  31. data/frameworks/compass/stylesheets/compass/css3/_shared.scss +47 -0
  32. data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +10 -2
  33. data/frameworks/compass/stylesheets/compass/css3/_transform.scss +34 -17
  34. data/frameworks/compass/stylesheets/compass/css3/_transition.scss +19 -21
  35. data/frameworks/compass/stylesheets/compass/utilities/_print.scss +14 -15
  36. data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss +27 -17
  37. data/frameworks/compass/stylesheets/compass/utilities/general/_float.scss +7 -9
  38. data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +4 -2
  39. data/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss +12 -6
  40. data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.scss +24 -12
  41. data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss +0 -4
  42. data/frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss +5 -5
  43. data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss +15 -13
  44. data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.scss +1 -1
  45. data/lib/compass.rb +6 -1
  46. data/lib/compass/commands/help.rb +1 -0
  47. data/lib/compass/configuration/data.rb +10 -2
  48. data/lib/compass/exec/helpers.rb +3 -0
  49. data/lib/compass/sass_extensions/functions/selectors.rb +21 -0
  50. data/lib/compass/version.rb +12 -21
  51. data/test/compass_test.rb +1 -1
  52. data/test/fixtures/stylesheets/blueprint/css/typography.css +8 -19
  53. data/test/fixtures/stylesheets/compass/css/box.css +90 -0
  54. data/test/fixtures/stylesheets/compass/sass/box.sass +50 -0
  55. data/test/sass_extensions_test.rb +19 -26
  56. metadata +42 -62
  57. data/CHANGELOG.markdown +0 -881
  58. data/REVISION +0 -1
  59. data/examples/css3/extensions/compass-colors/README.markdown +0 -50
  60. data/examples/css3/extensions/compass-colors/VERSION.yml +0 -5
  61. data/examples/css3/extensions/compass-colors/example/config.rb +0 -13
  62. data/examples/css3/extensions/compass-colors/example/src/_split_compliment_theme.sass +0 -28
  63. data/examples/css3/extensions/compass-colors/example/src/screen.sass +0 -40
  64. data/examples/css3/extensions/compass-colors/lib/compass-colors.rb +0 -9
  65. data/examples/css3/extensions/compass-colors/lib/compass-colors/compass_extension.rb +0 -7
  66. data/examples/css3/extensions/compass-colors/lib/compass-colors/hsl.rb +0 -109
  67. data/examples/css3/extensions/compass-colors/lib/compass-colors/sass_extensions.rb +0 -112
  68. data/examples/css3/extensions/compass-colors/spec/approximate_color_matching.rb +0 -43
  69. data/examples/css3/extensions/compass-colors/spec/sass_extensions_spec.rb +0 -54
  70. data/examples/css3/extensions/compass-colors/templates/analogous/_theme.sass +0 -28
  71. data/examples/css3/extensions/compass-colors/templates/analogous/manifest.rb +0 -1
  72. data/examples/css3/extensions/compass-colors/templates/basic/_theme.sass +0 -7
  73. data/examples/css3/extensions/compass-colors/templates/basic/manifest.rb +0 -1
  74. data/examples/css3/extensions/compass-colors/templates/complementary/_theme.sass +0 -20
  75. data/examples/css3/extensions/compass-colors/templates/complementary/manifest.rb +0 -1
  76. data/examples/css3/extensions/compass-colors/templates/split_complement/_theme.sass +0 -28
  77. data/examples/css3/extensions/compass-colors/templates/split_complement/manifest.rb +0 -1
  78. data/examples/css3/extensions/compass-colors/templates/triadic/_theme.sass +0 -28
  79. data/examples/css3/extensions/compass-colors/templates/triadic/manifest.rb +0 -1
  80. data/examples/css3/stylesheets/fonts/Vtks Revolt.ttf +0 -0
  81. data/examples/css3/stylesheets/fonts/angelina.ttf +0 -0
  82. data/examples/logo/logo.html.haml +0 -40
  83. data/examples/logo/src/ie.scss +0 -5
  84. data/examples/logo/src/print.scss +0 -3
  85. data/examples/logo/src/screen.scss +0 -28
@@ -1,3 +1,5 @@
1
+ @import "shared";
2
+
1
3
  // Provides CSS text shadows.
2
4
  //
3
5
  // Arguments are color, horizontal offset, vertical offset, and blur
@@ -14,5 +16,11 @@ $default-text-shadow-v-offset: 1px !default;
14
16
 
15
17
  $default-text-shadow-blur: 1px !default;
16
18
 
17
- @mixin text-shadow($color: $default-text-shadow-color, $hoff: $default-text-shadow-h-offset, $voff: $default-text-shadow-v-offset, $blur: $default-text-shadow-blur) {
18
- text-shadow: $color $hoff $voff $blur; }
19
+ @mixin text-shadow(
20
+ $color: $default-text-shadow-color,
21
+ $hoff: $default-text-shadow-h-offset,
22
+ $voff: $default-text-shadow-v-offset,
23
+ $blur: $default-text-shadow-blur
24
+ ) {
25
+ text-shadow: $color $hoff $voff $blur;
26
+ }
@@ -1,18 +1,18 @@
1
+ @import "shared";
2
+
1
3
  // CSS Transform and Transform-Origin
2
4
 
3
5
  // Apply a transform sent as a complete string.
4
6
 
5
- @mixin apply-transform($transform: false) {
6
- transform: $transform;
7
- -webkit-transform: $transform;
8
- -moz-transform: $transform; }
7
+ @mixin apply-transform($transform) {
8
+ @include experimental(transform, $transform);
9
+ }
9
10
 
10
11
  // Apply a transform-origin sent as a complete string.
11
12
 
12
- @mixin apply-origin($origin: false) {
13
- transform-origin: $origin;
14
- -webkit-transform-origin: $origin;
15
- -moz-transform-origin: $origin; }
13
+ @mixin apply-origin($origin) {
14
+ @include experimental(transform-origin, $origin);
15
+ }
16
16
 
17
17
  // transform-origin requires x and y coordinates
18
18
  //
@@ -23,7 +23,10 @@
23
23
  @if $originy {
24
24
  @include apply-origin($originx or 50% $originy);
25
25
  } @else {
26
- @include apply-origin($originx); } } }
26
+ @include apply-origin($originx);
27
+ }
28
+ }
29
+ }
27
30
 
28
31
  // A full transform mixin with everything you could want
29
32
  //
@@ -31,10 +34,20 @@
31
34
  // * scale, rotate and skew require units of degrees(deg)
32
35
  // * scale takes a multiplier, rotate and skew take degrees
33
36
 
34
- @mixin transform($scale: 1, $rotate: 0deg, $transx: 0, $transy: 0, $skewx: 0deg, $skewy: 0deg, $originx: false, $originy: false) {
35
- $transform : scale($scale) rotate($rotate) translate($transx, $transy) skew($skewx, $skewy);
36
- @include apply-transform($transform);
37
- @include transform-origin($originx, $originy); }
37
+ @mixin transform(
38
+ $scale: 1,
39
+ $rotate: 0deg,
40
+ $transx: 0,
41
+ $transy: 0,
42
+ $skewx: 0deg,
43
+ $skewy: 0deg,
44
+ $originx: false,
45
+ $originy: false
46
+ ) {
47
+ $transform : scale($scale) rotate($rotate) translate($transx, $transy) skew($skewx, $skewy);
48
+ @include apply-transform($transform);
49
+ @include transform-origin($originx, $originy);
50
+ }
38
51
 
39
52
  // Transform Partials
40
53
  //
@@ -45,20 +58,24 @@
45
58
 
46
59
  @mixin scale($scale: 1.25, $originx: false, $originy: false) {
47
60
  @include apply-transform(scale($scale));
48
- @include transform-origin($originx, $originy); }
61
+ @include transform-origin($originx, $originy);
62
+ }
49
63
 
50
64
  // Adjust only the rotation, with optional origin coordinates
51
65
 
52
66
  @mixin rotate($rotate: 45deg, $originx: false, $originy: false) {
53
67
  @include apply-transform(rotate($rotate));
54
- @include transform-origin($originx, $originy); }
68
+ @include transform-origin($originx, $originy);
69
+ }
55
70
 
56
71
  // Adjust only the translation
57
72
 
58
73
  @mixin translate($transx: 0, $transy: 0) {
59
- @include apply-transform(translate($transx, $transy)); }
74
+ @include apply-transform(translate($transx, $transy));
75
+ }
60
76
 
61
77
  // Adjust only the skew, with optional origin coordinates
62
78
  @mixin skew($skewx: 0deg, $skewy: 0deg, $originx: false, $originy: false) {
63
79
  @include apply-transform(skew($skewx, $skewy));
64
- @include transform-origin($originx, $originy); }
80
+ @include transform-origin($originx, $originy);
81
+ }
@@ -1,3 +1,5 @@
1
+ @import "shared";
2
+
1
3
  // CSS Transitions
2
4
  // Currently only works in Webkit.
3
5
  //
@@ -27,10 +29,8 @@ $default-transition-delay: false !default;
27
29
  // * also accepts "all" or "none"
28
30
 
29
31
  @mixin transition-property($properties: $default-transition-property) {
30
- transition-property: $properties;
31
- -webkit-transition-property: $properties;
32
- -moz-transition-property: $properties;
33
- -o-transition-property: $properties; }
32
+ @include experimental(transition-property, $properties);
33
+ }
34
34
 
35
35
  // One or more durations in seconds
36
36
  //
@@ -38,10 +38,8 @@ $default-transition-delay: false !default;
38
38
  // * these durations will affect the properties in the same list position
39
39
 
40
40
  @mixin transition-duration($duration: $default-transition-duration) {
41
- transition-duration: $duration;
42
- -webkit-transition-duration: $duration;
43
- -moz-transition-duration: $duration;
44
- -o-transition-duration: $duration; }
41
+ @include experimental(transition-duration, $duration);
42
+ }
45
43
 
46
44
  // One or more timing functions
47
45
  //
@@ -50,10 +48,8 @@ $default-transition-delay: false !default;
50
48
  // * These functions will effect the properties in the same list position
51
49
 
52
50
  @mixin transition-timing-function($function: $default-transition-function) {
53
- transition-timing-function: $function;
54
- -webkit-transition-timing-function: $function;
55
- -moz-transition-timing-function: $function;
56
- -o-transition-timing-function: $function; }
51
+ @include experimental(transition-timing-function, $function);
52
+ }
57
53
 
58
54
  // One or more transition-delays in seconds
59
55
  //
@@ -61,17 +57,19 @@ $default-transition-delay: false !default;
61
57
  // * these delays will effect the properties in the same list position
62
58
 
63
59
  @mixin transition-delay($delay: $default-transition-delay) {
64
- transition-delay: $delay;
65
- -webkit-transition-delay: $delay;
66
- -moz-transition-delay: $delay;
67
- -o-transition-delay: $delay; }
60
+ @include experimental(transition-delay, $delay);
61
+ }
68
62
 
69
63
  // Transition all-in-one shorthand
70
64
 
71
- @mixin transition($properties: $default-transition-property, $duration: $default-transition-duration, $function: $default-transition-function, $delay: $default-transition-delay) {
65
+ @mixin transition(
66
+ $properties: $default-transition-property,
67
+ $duration: $default-transition-duration,
68
+ $function: $default-transition-function,
69
+ $delay: $default-transition-delay
70
+ ) {
72
71
  @include transition-property($properties);
73
72
  @include transition-duration($duration);
74
- @if $function {
75
- @include transition-timing-function($function); }
76
- @if $delay {
77
- @include transition-delay($delay); } }
73
+ @if $function { @include transition-timing-function($function); }
74
+ @if $delay { @include transition-delay($delay); }
75
+ }
@@ -1,18 +1,17 @@
1
1
  // Classes that are useful for controlling what gets printed.
2
- // You must mix +print-utilities into your print stylesheet
3
- // and +print-utilities("screen") into your screen stylesheet.
2
+ // You must mix `+print-utilities` into your print stylesheet
3
+ // and `+print-utilities(screen)` into your screen stylesheet.
4
4
  // Note: these aren't semantic.
5
5
  @mixin print-utilities($media: print) {
6
- @if $media == "print" {
7
- .noprint,
8
- .no-print {
9
- display: none; }
10
- #{elements-of-type("block")} {
11
- &.print-only {
12
- display: block; } }
13
- #{elements-of-type("inline")} {
14
- &.print-only {
15
- display: inline; } } }
16
- @else {
17
- .print-only {
18
- display: none; } } }
6
+ @if $media == print {
7
+ .noprint, .no-print { display: none; }
8
+ #{elements-of-type(block)} {
9
+ &.print-only { display: block; }
10
+ }
11
+ #{elements-of-type(inline)} {
12
+ &.print-only { display: inline; }
13
+ }
14
+ } @else {
15
+ .print-only { display: none; }
16
+ }
17
+ }
@@ -1,24 +1,34 @@
1
+ // @doc off
2
+ // Extends the bottom of the element to enclose any floats it contains.
3
+ // @doc on
4
+
1
5
  @import "hacks";
2
6
 
3
- //**
4
- // Extends the element to enclose any floats it contains.
5
- // This basic method is preferred for the usual case, when positioned content will not show outside the bounds of the container.
6
- // Recommendations include using this in conjunction with a width:
7
- // http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html
7
+ // This basic method is preferred for the usual case, when positioned
8
+ // content will not show outside the bounds of the container.
9
+ //
10
+ // Recommendations include using this in conjunction with a width.
11
+ // Credit: [quirksmode.org](http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html)
8
12
  @mixin clearfix {
9
13
  overflow: hidden;
10
- @include has-layout; }
14
+ @include has-layout;
15
+ }
11
16
 
12
- //**
13
- // Extends the element to enclose any floats it contains.
14
- // This older "Easy Clearing" method has the advantage of allowing positioned elements to hang outside the bounds of the container, at the expense of more tricky CSS.
15
- // http://www.positioniseverything.net/easyclearing.html
17
+ // This older method from Position Is Everything called
18
+ // [Easy Clearing](http://www.positioniseverything.net/easyclearing.html)
19
+ // has the advantage of allowing positioned elements to hang
20
+ // outside the bounds of the container at the expense of more tricky CSS.
21
+ //
22
+ // This method of clearing might cause a gap at the bottom of the page in
23
+ // some browsers when used on the last element of the page.
16
24
  @mixin pie-clearfix {
17
25
  &:after {
18
- content: " ";
19
- display: block;
20
- height: 0;
21
- clear: both;
22
- overflow: hidden;
23
- visibility: hidden; }
24
- @include has-layout; }
26
+ content : " ";
27
+ display : block;
28
+ height : 0;
29
+ clear : both;
30
+ overflow : hidden;
31
+ visibility : hidden;
32
+ }
33
+ @include has-layout;
34
+ }
@@ -1,17 +1,15 @@
1
- //**\\
2
- // Float
3
-
4
- @import "clearfix";
5
-
6
- // Implementation of float:left with fix for double-margin bug
1
+ // Implementation of float:left with fix for the
2
+ // [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
7
3
  @mixin float-left {
8
4
  @include float(left); }
9
5
 
10
- // Implementation of float:right with fix for double-margin bug
6
+ // Implementation of float:right with fix for the
7
+ // [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
11
8
  @mixin float-right {
12
9
  @include float(right); }
13
10
 
14
- // Available as alternate syntax with just +float
11
+ // Direction independent float mixin that fixes the
12
+ // [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
15
13
  @mixin float($side: left) {
16
14
  display: inline;
17
- float: $side; }
15
+ float: unquote($side); }
@@ -1,3 +1,6 @@
1
+ // This mixin causes an element matching the selector
2
+ // to gain the "hasLayout" property in internet explorer.
3
+ // More information on [hasLayout](http://reference.sitepoint.com/css/haslayout).
1
4
  @mixin has-layout {
2
5
  // This makes ie6 get layout
3
6
  display: inline-block;
@@ -5,9 +8,8 @@
5
8
  & {
6
9
  display: block; } }
7
10
 
8
- //**
9
11
  // A hack to supply IE6 (and below) with a different property value.
10
- // See http://www.cssportal.com/css-hacks/#in_css-important
12
+ // [Read more](http://www.cssportal.com/css-hacks/#in_css-important).
11
13
  @mixin bang-hack($property, $value, $ie6-value) {
12
14
  #{$property}: #{$value} !important;
13
15
  #{$property}: #{$ie6-value}; }
@@ -1,10 +1,16 @@
1
- // Set all the colors for a link with one mixin call
1
+ // Set all the colors for a link with one mixin call.
2
2
  // Order of arguments is:
3
- // normal, hover, active, visited, focus
4
- // states not specified will inherit.
5
- // Mixin like so:
6
- // a
7
- // +link-colors(#00c, #0cc, #c0c, #ccc, #cc0)
3
+ //
4
+ // 1. normal
5
+ // 2. hover
6
+ // 3. active
7
+ // 4. visited
8
+ // 5. focus
9
+ //
10
+ // Those states not specified will inherit.
11
+ // Mixin to an anchor link like so:
12
+ // a
13
+ // +link-colors(#00c, #0cc, #c0c, #ccc, #cc0)
8
14
 
9
15
  @mixin link-colors($normal, $hover: false, $active: false, $visited: false, $focus: false) {
10
16
  color: $normal;
@@ -1,22 +1,34 @@
1
1
  // Turn off the bullet for an element of a list
2
2
  @mixin no-bullet {
3
- list-style-image: none;
4
- list-style-type: none;
5
- margin-left: 0px; }
3
+ list-style-image : none;
4
+ list-style-type : none;
5
+ margin-left : 0px;
6
+ }
6
7
 
7
8
  // turns off the bullets for an entire list
8
9
  @mixin no-bullets {
9
10
  list-style: none;
10
- li {
11
- @include no-bullet; } }
11
+ li { @include no-bullet; }
12
+ }
12
13
 
13
- // Make a list(ul/ol) have an image bullet
14
- // mixin should be used like this for an icon that is 5x7:
15
- // ul.pretty
16
- // +pretty-bullets("my-icon.png", 5px, 7px)
17
- @mixin pretty-bullets($bullet-icon, $width, $height, $line-height: 18px, $padding: 14px) {
14
+ // Make a list(ul/ol) have an image bullet.
15
+ //
16
+ // The mixin should be used like this for an icon that is 5x7:
17
+ //
18
+ // ul.pretty
19
+ // +pretty-bullets("my-icon.png", 5px, 7px)
20
+ //
21
+ // Additionally, if the image dimensions are not provided,
22
+ // The image dimensions will be extracted from the image itself.
23
+ //
24
+ // ul.pretty
25
+ // +pretty-bullets("my-icon.png")
26
+ //
27
+ @mixin pretty-bullets($bullet-icon, $width: image-width($bullet-icon), $height: image-height($bullet-icon), $line-height: 18px, $padding: 14px) {
18
28
  margin-left: 0;
19
29
  li {
20
30
  padding-left: $padding;
21
- background: image-url($bullet-icon) no-repeat ($padding - $width) / 2 ($line-height - $height) / 2;
22
- list-style-type: none; } }
31
+ background: image-url($bullet-icon) no-repeat 0 + ($padding - $width) / 2 ($line-height - $height) / 2;
32
+ list-style-type: none;
33
+ }
34
+ }
@@ -1,4 +1,3 @@
1
- //**\\
2
1
  // Horizontal list layout module.
3
2
  //
4
3
  // Easy mode using simple descendant li selectors:
@@ -20,14 +19,12 @@
20
19
  @import "compass/utilities/general/reset";
21
20
  @import "compass/utilities/general/float";
22
21
 
23
- //**
24
22
  // Can be mixed into any selector that target a ul or ol that is meant
25
23
  // to have a horizontal layout. Used to implement +horizontal-list.
26
24
  @mixin horizontal-list-container {
27
25
  @include reset-box-model;
28
26
  @include clearfix; }
29
27
 
30
- //**
31
28
  // Can be mixed into any li selector that is meant to participate in a horizontal layout.
32
29
  // Used to implement +horizontal-list.
33
30
  //
@@ -46,7 +43,6 @@
46
43
  &:last-child, &.last {
47
44
  padding-right: 0px; } }
48
45
 
49
- //**
50
46
  // A list(ol,ul) that is layed out such that the elements are floated left and won't wrap.
51
47
  // This is not an inline list.
52
48
  @mixin horizontal-list($padding: 4px) {
@@ -11,13 +11,13 @@
11
11
  display: inline; } }
12
12
 
13
13
  // makes an inline list that is comma delimited.
14
- // use of this recipe is not recommended at this time due to browser support issues.
14
+ // Please make note of the browser support issues before using this mixin.
15
15
  //
16
- // use of :content and :after is not fully supported in all browsers.
17
- // See http://www.quirksmode.org/css/contents.html#t15 for the support matrix
16
+ // use of `:content` and `:after` is not fully supported in all browsers.
17
+ // See quirksmode for the [support matrix](http://www.quirksmode.org/css/contents.html#t15)
18
18
  //
19
- // :last-child is not fully supported
20
- // see http://www.quirksmode.org/css/contents.html#t29 for the support matrix
19
+ // `:last-child` is not fully supported.
20
+ // see quirksmode for the [support matrix](http://www.quirksmode.org/css/contents.html#t29).
21
21
 
22
22
  @mixin comma-delimited-list {
23
23
  @include inline-list;
@@ -1,18 +1,20 @@
1
- //**
1
+ // @doc off
2
2
  // Example 1:
3
- // a.twitter
4
- // +sprite-img("icons-32.png", 1)
5
- // a.facebook
6
- // +sprite-img("icons-32png", 2)
7
- // ...
3
+ //
4
+ // a.twitter
5
+ // +sprite-img("icons-32.png", 1)
6
+ // a.facebook
7
+ // +sprite-img("icons-32png", 2)
8
+ //
8
9
  // Example 2:
9
- // a
10
- // +sprite-background("icons-32.png")
11
- // a.twitter
12
- // +sprite-column(1)
13
- // a.facebook
14
- // +sprite-row(2)
15
- // ...
10
+ //
11
+ // a
12
+ // +sprite-background("icons-32.png")
13
+ // a.twitter
14
+ // +sprite-column(1)
15
+ // a.facebook
16
+ // +sprite-row(2)
17
+ // @doc on
16
18
 
17
19
  $sprite-default-size: 32px !default;
18
20