compass 0.8.17 → 0.10.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (349) hide show
  1. data/CHANGELOG.markdown +165 -0
  2. data/README.markdown +15 -3
  3. data/Rakefile +46 -7
  4. data/VERSION.yml +3 -2
  5. data/bin/compass +22 -4
  6. data/examples/blueprint_default/index.html.haml +3 -3
  7. data/examples/blueprint_default/parts/forms.html.haml +2 -0
  8. data/examples/blueprint_default/src/screen.sass +1 -1
  9. data/examples/blueprint_plugins/index.html.haml +6 -6
  10. data/examples/blueprint_plugins/src/buttons.sass +2 -2
  11. data/examples/blueprint_plugins/src/link_icons.sass +1 -1
  12. data/examples/blueprint_plugins/src/rtl_screen.sass +3 -3
  13. data/examples/blueprint_plugins/src/screen.sass +2 -2
  14. data/examples/blueprint_scoped/src/ie.sass +2 -1
  15. data/examples/blueprint_scoped/src/print.sass +2 -1
  16. data/examples/blueprint_scoped/src/screen.sass +2 -1
  17. data/examples/blueprint_semantic/parts/fancy_type.html.haml +1 -1
  18. data/examples/blueprint_semantic/src/liquid.sass +5 -6
  19. data/examples/blueprint_semantic/src/screen.sass +4 -5
  20. data/examples/compass/bootstrap.rb +3 -0
  21. data/{frameworks → examples/compass/extensions}/yui/stylesheets/_yui.sass +0 -0
  22. data/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
  23. data/{frameworks → examples/compass/extensions}/yui/stylesheets/yui/modules/_fonts.sass +8 -1
  24. data/{frameworks → examples/compass/extensions}/yui/stylesheets/yui/modules/_grids.sass +174 -130
  25. data/{frameworks → examples/compass/extensions}/yui/stylesheets/yui/modules/_reset.sass +0 -0
  26. data/{frameworks → examples/compass/extensions}/yui/templates/project/manifest.rb +0 -0
  27. data/{frameworks → examples/compass/extensions}/yui/templates/project/screen.sass +0 -0
  28. data/examples/compass/src/utilities.sass +2 -2
  29. data/examples/css3/config.rb +6 -0
  30. data/examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf +0 -0
  31. data/examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf +0 -0
  32. data/examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass +7 -0
  33. data/examples/css3/extensions/fancy-fonts/templates/project/manifest.rb +5 -0
  34. data/examples/css3/images/fresh-peas.jpg +0 -0
  35. data/examples/css3/index.html.haml +55 -0
  36. data/examples/css3/src/_base.sass +14 -0
  37. data/examples/css3/src/fancy-fonts.sass +7 -0
  38. data/examples/css3/src/gradient.sass +10 -0
  39. data/examples/css3/src/main.sass +80 -0
  40. data/examples/css3/stylesheets/fonts/Vtks Revolt.ttf +0 -0
  41. data/examples/css3/stylesheets/fonts/angelina.ttf +0 -0
  42. data/examples/downloader.rb +57 -0
  43. data/examples/ninesixty/bootstrap.rb +4 -0
  44. data/examples/ninesixty/config.rb +9 -0
  45. data/examples/ninesixty/extensions/ninesixty/README.mkdn +56 -0
  46. data/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec +36 -0
  47. data/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb +1 -0
  48. data/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb +5 -0
  49. data/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass +64 -0
  50. data/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass +59 -0
  51. data/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass +34 -0
  52. data/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb +2 -0
  53. data/examples/ninesixty/extensions/ninesixty/templates/project/text.sass +10 -0
  54. data/examples/ninesixty/src/grid.sass +16 -0
  55. data/examples/ninesixty/src/text.sass +10 -0
  56. data/examples/susy/bootstrap.rb +3 -0
  57. data/examples/susy/config.rb +9 -0
  58. data/examples/susy/extensions/susy/LICENSE.txt +28 -0
  59. data/examples/susy/extensions/susy/README.mkdn +235 -0
  60. data/examples/susy/extensions/susy/compass-susy-plugin.gemspec +35 -0
  61. data/examples/susy/extensions/susy/docs/tutorial/build.sh +141 -0
  62. data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass +100 -0
  63. data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass +98 -0
  64. data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass +147 -0
  65. data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass +19 -0
  66. data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass +147 -0
  67. data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass +48 -0
  68. data/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb +14 -0
  69. data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png +0 -0
  70. data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png +0 -0
  71. data/examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass +63 -0
  72. data/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl +1450 -0
  73. data/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass +100 -0
  74. data/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass +91 -0
  75. data/examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png +0 -0
  76. data/examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png +0 -0
  77. data/examples/susy/extensions/susy/docs/tutorial/index.mkdn +301 -0
  78. data/examples/susy/extensions/susy/lib/susy.rb +2 -0
  79. data/examples/susy/extensions/susy/lib/susy/compass_plugin.rb +5 -0
  80. data/examples/susy/extensions/susy/lib/susy/sass_extensions.rb +79 -0
  81. data/examples/susy/extensions/susy/sass/susy/_grid.sass +128 -0
  82. data/examples/susy/extensions/susy/sass/susy/_reset.sass +7 -0
  83. data/examples/susy/extensions/susy/sass/susy/_susy.sass +23 -0
  84. data/examples/susy/extensions/susy/sass/susy/_text.sass +15 -0
  85. data/examples/susy/extensions/susy/sass/susy/_utils.sass +81 -0
  86. data/examples/susy/extensions/susy/templates/project/_base.sass +62 -0
  87. data/examples/susy/extensions/susy/templates/project/_defaults.sass +147 -0
  88. data/examples/susy/extensions/susy/templates/project/ie.sass +9 -0
  89. data/examples/susy/extensions/susy/templates/project/manifest.rb +5 -0
  90. data/examples/susy/extensions/susy/templates/project/print.sass +7 -0
  91. data/examples/susy/extensions/susy/templates/project/screen.sass +44 -0
  92. data/examples/susy/src/_base.sass +62 -0
  93. data/examples/susy/src/_defaults.sass +148 -0
  94. data/examples/susy/src/screen.sass +114 -0
  95. data/examples/yui/bootstrap.rb +3 -0
  96. data/examples/yui/extensions/yui/stylesheets/_yui.sass +7 -0
  97. data/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
  98. data/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass +45 -0
  99. data/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass +385 -0
  100. data/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass +61 -0
  101. data/examples/yui/extensions/yui/templates/project/manifest.rb +1 -0
  102. data/examples/yui/extensions/yui/templates/project/screen.sass +4 -0
  103. data/features/command_line.feature +226 -0
  104. data/features/extensions.feature +20 -0
  105. data/features/step_definitions/command_line_steps.rb +223 -0
  106. data/features/step_definitions/extension_steps.rb +13 -0
  107. data/lib/compass.rb +6 -7
  108. data/lib/compass/actions.rb +7 -1
  109. data/lib/compass/app_integration.rb +23 -4
  110. data/lib/compass/app_integration/merb.rb +1 -43
  111. data/lib/compass/app_integration/merb/runtime.rb +63 -0
  112. data/lib/compass/app_integration/rails.rb +24 -10
  113. data/lib/compass/app_integration/rails/configuration_defaults.rb +45 -0
  114. data/lib/compass/app_integration/rails/installer.rb +127 -0
  115. data/lib/compass/app_integration/rails/runtime.rb +14 -0
  116. data/lib/compass/app_integration/stand_alone.rb +22 -0
  117. data/lib/compass/app_integration/stand_alone/configuration_defaults.rb +28 -0
  118. data/lib/compass/app_integration/stand_alone/installer.rb +83 -0
  119. data/lib/compass/commands.rb +11 -0
  120. data/lib/compass/commands/base.rb +4 -1
  121. data/lib/compass/commands/create_project.rb +108 -5
  122. data/lib/compass/commands/generate_grid_background.rb +73 -6
  123. data/lib/compass/commands/help.rb +89 -0
  124. data/lib/compass/commands/installer_command.rb +20 -13
  125. data/lib/compass/commands/interactive.rb +61 -0
  126. data/lib/compass/commands/list_frameworks.rb +2 -2
  127. data/lib/compass/commands/print_version.rb +72 -4
  128. data/lib/compass/commands/project_base.rb +14 -34
  129. data/lib/compass/commands/project_stats.rb +162 -0
  130. data/lib/compass/commands/registry.rb +22 -0
  131. data/lib/compass/commands/stamp_pattern.rb +56 -3
  132. data/lib/compass/commands/update_project.rb +60 -6
  133. data/lib/compass/commands/validate_project.rb +62 -6
  134. data/lib/compass/commands/watch_project.rb +12 -5
  135. data/lib/compass/commands/write_configuration.rb +89 -4
  136. data/lib/compass/compiler.rb +13 -4
  137. data/lib/compass/configuration.rb +29 -310
  138. data/lib/compass/configuration/adapters.rb +59 -0
  139. data/lib/compass/configuration/comments.rb +22 -0
  140. data/lib/compass/configuration/data.rb +106 -0
  141. data/lib/compass/configuration/defaults.rb +138 -0
  142. data/lib/compass/configuration/helpers.rb +120 -0
  143. data/lib/compass/configuration/inheritance.rb +170 -0
  144. data/lib/compass/configuration/serialization.rb +86 -0
  145. data/lib/compass/dependencies.rb +4 -8
  146. data/lib/compass/errors.rb +4 -1
  147. data/lib/compass/exec.rb +11 -246
  148. data/lib/compass/exec/command_option_parser.rb +23 -0
  149. data/lib/compass/exec/global_options_parser.rb +37 -0
  150. data/lib/compass/exec/helpers.rb +28 -0
  151. data/lib/compass/exec/project_options_parser.rb +46 -0
  152. data/lib/compass/exec/sub_command_ui.rb +45 -0
  153. data/lib/compass/exec/switch_ui.rb +166 -0
  154. data/lib/compass/frameworks.rb +70 -7
  155. data/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass +31 -0
  156. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_buttons.sass +27 -27
  157. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_colors.sass +0 -0
  158. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_debug.sass +2 -2
  159. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_fancy_type.sass +19 -19
  160. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass +56 -0
  161. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_grid.sass +34 -33
  162. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass +99 -0
  163. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass +58 -0
  164. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_link_icons.sass +9 -9
  165. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_liquid.sass +29 -29
  166. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass +87 -0
  167. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_reset.sass +20 -18
  168. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass +123 -0
  169. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_scaffolding.sass +6 -4
  170. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass +2 -0
  171. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass +162 -0
  172. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_utilities.sass +15 -15
  173. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +2 -0
  174. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +2 -0
  175. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +2 -0
  176. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +2 -0
  177. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +2 -0
  178. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +2 -0
  179. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +2 -0
  180. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +2 -0
  181. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +3 -0
  182. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +2 -0
  183. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +2 -0
  184. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +2 -0
  185. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +2 -0
  186. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +2 -0
  187. data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons.sass +4 -4
  188. data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons/cross.png +0 -0
  189. data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons/key.png +0 -0
  190. data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons/tick.png +0 -0
  191. data/lib/compass/frameworks/blueprint/templates/buttons/manifest.rb +17 -0
  192. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons.sass +1 -1
  193. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/doc.png +0 -0
  194. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/email.png +0 -0
  195. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/external.png +0 -0
  196. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/feed.png +0 -0
  197. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/im.png +0 -0
  198. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
  199. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/visited.png +0 -0
  200. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/xls.png +0 -0
  201. data/lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb +23 -0
  202. data/{frameworks → lib/compass/frameworks}/blueprint/templates/project/grid.png +0 -0
  203. data/lib/compass/frameworks/blueprint/templates/project/ie.sass +16 -0
  204. data/lib/compass/frameworks/blueprint/templates/project/manifest.rb +32 -0
  205. data/{frameworks → lib/compass/frameworks}/blueprint/templates/project/partials/_base.sass +0 -0
  206. data/lib/compass/frameworks/blueprint/templates/project/print.sass +8 -0
  207. data/{frameworks → lib/compass/frameworks}/blueprint/templates/project/screen.sass +3 -2
  208. data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +21 -0
  209. data/lib/compass/frameworks/compass/stylesheets/_compass.sass +2 -0
  210. data/lib/compass/frameworks/compass/stylesheets/compass/_css3.sass +14 -0
  211. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_layout.sass +0 -0
  212. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_misc.sass +12 -12
  213. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_reset.sass +0 -0
  214. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_utilities.sass +0 -0
  215. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass +16 -0
  216. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass +18 -0
  217. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass +14 -0
  218. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_border_radius.sass +47 -0
  219. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass +20 -0
  220. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_sizing.sass +13 -0
  221. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_columns.sass +37 -0
  222. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass +31 -0
  223. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass +40 -0
  224. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_inline_block.sass +7 -0
  225. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_opacity.sass +18 -0
  226. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass +15 -0
  227. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass +62 -0
  228. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass +57 -0
  229. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/layout/_sticky_footer.sass +9 -7
  230. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_general.sass +0 -1
  231. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_links.sass +1 -1
  232. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_lists.sass +0 -0
  233. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass +18 -0
  234. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +1 -0
  235. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_tables.sass +0 -0
  236. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_text.sass +0 -0
  237. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_clearfix.sass +7 -7
  238. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_float.sass +2 -2
  239. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_hacks.sass +2 -2
  240. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_reset.sass +28 -28
  241. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
  242. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
  243. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/links/_hover_link.sass +2 -2
  244. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/links/_link_colors.sass +6 -6
  245. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +7 -0
  246. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/lists/_bullets.sass +6 -6
  247. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +6 -6
  248. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/lists/_inline_list.sass +9 -9
  249. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +52 -0
  250. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
  251. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
  252. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
  253. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/text/_ellipsis.sass +0 -0
  254. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/text/_nowrap.sass +1 -1
  255. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/text/_replacement.sass +6 -6
  256. data/{frameworks → lib/compass/frameworks}/compass/templates/ellipsis/ellipsis.sass +0 -0
  257. data/lib/compass/frameworks/compass/templates/ellipsis/manifest.rb +27 -0
  258. data/{frameworks → lib/compass/frameworks}/compass/templates/ellipsis/xml/ellipsis.xml +0 -0
  259. data/lib/compass/frameworks/compass/templates/extension/manifest.rb +20 -0
  260. data/lib/compass/frameworks/compass/templates/extension/stylesheets/main.sass +1 -0
  261. data/lib/compass/frameworks/compass/templates/extension/templates/project/manifest.rb +2 -0
  262. data/lib/compass/frameworks/compass/templates/extension/templates/project/screen.sass +2 -0
  263. data/lib/compass/frameworks/compass/templates/project/USAGE.markdown +32 -0
  264. data/{frameworks → lib/compass/frameworks}/compass/templates/project/ie.sass +0 -0
  265. data/{frameworks → lib/compass/frameworks}/compass/templates/project/manifest.rb +1 -0
  266. data/{frameworks → lib/compass/frameworks}/compass/templates/project/print.sass +0 -0
  267. data/{frameworks → lib/compass/frameworks}/compass/templates/project/screen.sass +0 -0
  268. data/lib/compass/grid_builder.rb +15 -11
  269. data/lib/compass/installers.rb +3 -5
  270. data/lib/compass/installers/bare_installer.rb +58 -0
  271. data/lib/compass/installers/base.rb +40 -51
  272. data/lib/compass/installers/manifest.rb +55 -2
  273. data/lib/compass/installers/manifest_installer.rb +59 -0
  274. data/lib/compass/installers/template_context.rb +44 -0
  275. data/lib/compass/logger.rb +28 -2
  276. data/lib/compass/sass_extensions.rb +2 -2
  277. data/lib/compass/sass_extensions/functions.rb +4 -2
  278. data/lib/compass/sass_extensions/functions/color_stop.rb +10 -0
  279. data/lib/compass/sass_extensions/functions/font_files.rb +11 -0
  280. data/lib/compass/sass_extensions/functions/inline_image.rb +22 -1
  281. data/lib/compass/sass_extensions/functions/selectors.rb +4 -1
  282. data/lib/compass/sass_extensions/functions/urls.rb +22 -2
  283. data/lib/compass/sass_extensions/monkey_patches.rb +3 -3
  284. data/lib/compass/sass_extensions/monkey_patches/traversal.rb +23 -0
  285. data/lib/compass/stats.rb +92 -0
  286. data/lib/compass/validator.rb +2 -3
  287. data/lib/vendor/fssm/state.rb +1 -1
  288. data/test/command_line_helper.rb +19 -16
  289. data/test/command_line_test.rb +5 -4
  290. data/test/compass_test.rb +16 -15
  291. data/test/configuration_test.rb +24 -19
  292. data/test/fixtures/stylesheets/blueprint/css/typography.css +5 -3
  293. data/test/fixtures/stylesheets/blueprint/sass/screen.sass +1 -1
  294. data/test/fixtures/stylesheets/blueprint/sass/typography.sass +2 -2
  295. data/test/fixtures/stylesheets/compass/css/layout.css +2 -0
  296. data/test/fixtures/stylesheets/compass/css/print.css +2 -8
  297. data/test/fixtures/stylesheets/compass/css/reset.css +3 -3
  298. data/test/fixtures/stylesheets/image_urls/css/screen.css +2 -0
  299. data/test/fixtures/stylesheets/relative/assets/images/testing.png +0 -0
  300. data/test/fixtures/stylesheets/relative/config.rb +9 -0
  301. data/test/fixtures/stylesheets/relative/css/ie.css +1 -0
  302. data/test/fixtures/stylesheets/relative/css/print.css +1 -0
  303. data/test/fixtures/stylesheets/relative/css/screen.css +1 -0
  304. data/test/fixtures/stylesheets/relative/sass/ie.sass +6 -0
  305. data/test/fixtures/stylesheets/relative/sass/print.sass +6 -0
  306. data/test/fixtures/stylesheets/relative/sass/screen.sass +3 -0
  307. data/test/io_helper.rb +36 -0
  308. data/test/rails_helper.rb +40 -0
  309. data/test/rails_integration_test.rb +7 -44
  310. data/test/sass_extensions_test.rb +2 -2
  311. data/test/test_helper.rb +9 -2
  312. metadata +257 -110
  313. data/frameworks/blueprint.rb +0 -2
  314. data/frameworks/blueprint/stylesheets/_blueprint.sass +0 -3
  315. data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +0 -93
  316. data/frameworks/blueprint/stylesheets/blueprint/_print.sass +0 -83
  317. data/frameworks/blueprint/stylesheets/blueprint/_reset.sass +0 -3
  318. data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +0 -15
  319. data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +0 -55
  320. data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +0 -58
  321. data/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +0 -104
  322. data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +0 -155
  323. data/frameworks/blueprint/templates/buttons/manifest.rb +0 -5
  324. data/frameworks/blueprint/templates/link_icons/manifest.rb +0 -10
  325. data/frameworks/blueprint/templates/project/ie.sass +0 -15
  326. data/frameworks/blueprint/templates/project/manifest.rb +0 -6
  327. data/frameworks/blueprint/templates/project/print.sass +0 -3
  328. data/frameworks/compass.rb +0 -2
  329. data/frameworks/compass/stylesheets/_compass.sass +0 -1
  330. data/frameworks/compass/stylesheets/compass/utilities/_print.sass +0 -24
  331. data/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +0 -1
  332. data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +0 -6
  333. data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +0 -19
  334. data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +0 -5
  335. data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +0 -12
  336. data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +0 -20
  337. data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +0 -27
  338. data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +0 -9
  339. data/frameworks/compass/templates/ellipsis/manifest.rb +0 -2
  340. data/frameworks/yui.rb +0 -2
  341. data/frameworks/yui/stylesheets/yui/modules/_base.sass +0 -60
  342. data/lib/compass/installers/rails.rb +0 -135
  343. data/lib/compass/installers/stand_alone.rb +0 -60
  344. data/test/fixtures/stylesheets/yui/config.rb +0 -9
  345. data/test/fixtures/stylesheets/yui/css/mixins.css +0 -13
  346. data/test/fixtures/stylesheets/yui/sass/base.sass +0 -3
  347. data/test/fixtures/stylesheets/yui/sass/fonts.sass +0 -3
  348. data/test/fixtures/stylesheets/yui/sass/grids.sass +0 -3
  349. data/test/fixtures/stylesheets/yui/sass/mixins.sass +0 -16
@@ -0,0 +1,20 @@
1
+ //**
2
+ Provides cross-browser css box shadows for Webkit, Gecko, and CSS3 standard
3
+ arguments are color, horizontal offset, vertical offset, and blur
4
+
5
+ //**
6
+ These defaults make the arguments optional for this mixin
7
+ If you like, set different defaults in your project
8
+
9
+ !default_box_shadow_color ||= #333
10
+ !default_box_shadow_h_offset ||= 1px
11
+ !default_box_shadow_v_offset ||= 1px
12
+ !default_box_shadow_blur ||= 5px
13
+
14
+ =box-shadow(!color = !default_box_shadow_color, !hoff = !default_box_shadow_h_offset, !voff = !default_box_shadow_v_offset, !blur = !default_box_shadow_blur)
15
+ /* Webkit (Safari, Chrome) */
16
+ -webkit-box-shadow= !color !hoff !voff !blur
17
+ /* Gecko (Firefox, Camino) */
18
+ -moz-box-shadow= !color !hoff !voff !blur
19
+ /* CSS3 */
20
+ box-shadow= !color !hoff !voff !blur
@@ -0,0 +1,13 @@
1
+ //**
2
+ Change the box model for Mozilla, Webkit, IE8 and the future
3
+ @param !bs
4
+ [ content-box | border-box ]
5
+ =box-sizing(!bs)
6
+ /* Mozilla (FireFox, Camino)
7
+ -moz-box-sizing= !bs
8
+ /* Webkit (Safari, Chrome)
9
+ -webkit-box-sizing= !bs
10
+ /* IE (8)
11
+ -ms-box-sizing= !bs
12
+ /* CSS3
13
+ box-sizing= !bs
@@ -0,0 +1,37 @@
1
+ //**
2
+ CSS3 columns for Mozilla, Webkit and the Future
3
+
4
+ =column-count(!n)
5
+ -moz-column-count= !n
6
+ -webkit-column-count= !n
7
+ column-count= !n
8
+
9
+ =column-gap(!u)
10
+ -moz-column-gap= !u
11
+ -webkit-column-gap= !u
12
+ column-gap= !u
13
+
14
+ =column-width(!u)
15
+ -moz-column-width= !u
16
+ -webkit-column-width= !u
17
+ column-width= !u
18
+
19
+ =column-rule-width(!w)
20
+ -moz-column-rule-width= !w
21
+ -webkit-column-rule-width= !w
22
+ column-rule-width= !w
23
+
24
+ =column-rule-style(!s)
25
+ -moz-column-rule-style= !s
26
+ -webkit-column-rule-style= !s
27
+ column-rule-style= !s
28
+
29
+ =column-rule-color(!c)
30
+ -moz-column-rule-color= !c
31
+ -webkit-column-rule-color= !c
32
+ column-rule-color= !c
33
+
34
+ =column-rule(!w, !s = "solid", !c = " ")
35
+ +column-rule-width(!w)
36
+ +column-rule-style(!s)
37
+ +column-rule-color(!c)
@@ -0,0 +1,31 @@
1
+ // @Font-Face
2
+ // Cross-browser support for @font-face
3
+ // - !name is required, arbitrary, and what you will use in font stacks.
4
+ // - !font_files is required using font_files('relative_location', 'format').
5
+ // - for best results use this order: woff, opentype/truetype, svg
6
+ // - !eot is required by IE, and is a relative location of the eot file.
7
+ // - postscript name is required by some browsers to look for local fonts.
8
+ =font-face( !name, !font_files, !eot = false, !postscript = false, !style = false)
9
+ @font-face
10
+ font-family: '#{!name}'
11
+ @if !style
12
+ font-style= !style
13
+ @if !eot
14
+ src= stylesheet_url(!eot)
15
+ @if !postscript
16
+ src: local('#{!name}'), local('#{!postscript}'), #{!font_files}
17
+ @else
18
+ src: local('#{!name}'), #{!font_files}
19
+
20
+ // EXAMPLE
21
+ +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "fonts/this.eot", "thisname")
22
+
23
+ will generate:
24
+
25
+ @font-face {
26
+ font-family: 'this name';
27
+ src: url('fonts/this.eot');
28
+ src: local('this name'), local('thisname'),
29
+ url('this.otf') format('woff'),
30
+ url('this.woff') format('opentype');
31
+ }
@@ -0,0 +1,40 @@
1
+ =gradient(!type, !coords, !color_start, !color_end, !color_stop = false)
2
+ !gradient= "#{!coords}, from(#{!color_start}), to(#{!color_end})"
3
+ @if !color_stop
4
+ !gradient= !gradient + ", " + !color_stop
5
+ background: -webkit-gradient(#{!type}, #{!gradient})
6
+ background: -moz-#{!type}-gradient(#{!gradient})
7
+
8
+ //*
9
+ // This will yeild a radial gradient with an apparent specular highlight
10
+ +radial-gradient("45 45, 10, 52 50, 30", Cyan, DodgerBlue)
11
+
12
+ =radial-gradient(!coords, !color1, !color2, !color_stop = false)
13
+ +gradient("radial", !coords, !color1, !color2, !color_stop)
14
+
15
+ //*
16
+ // This yields a linear gradient spanning from !start to !end coordinates
17
+ +linear-gradient("left top", "left bottom", #fff, #ddd)
18
+
19
+ =linear-gradient(!start, !end, !color1, !color2, !color_stop = false)
20
+ !coords = !start + ", " + !end
21
+ +gradient("linear", !coords, !color1, !color2, !color_stop)
22
+
23
+ //*
24
+ // This yields a gradient starting at the top with #fff, ending in #aaa
25
+ +v-gradient(#fff, #aaa)
26
+ // Same as above but with a #ccc at the halfway point
27
+ +v-gradient(#fff, #aaa, color_stop(50%, #ccc))
28
+ // Same as the first example but with #ccc at the 30% from the top, and #bbb at 70% from the top
29
+ +v-gradient(#fff, #aaa, color_stop(30%, #ccc, 70%, #bbb))
30
+
31
+ =v-gradient(!color1, !color2, !color_stop = false)
32
+ +linear-gradient("left top", "left bottom", !color1, !color2, !color_stop)
33
+
34
+ //*
35
+ // This yields a horizontal linear gradient spanning from left to right
36
+ // It can be used just like v-gradient above
37
+ h-gradient(#fff, #ddd)
38
+
39
+ =h-gradient(!color1, !color2, !color_stop = false)
40
+ +linear-gradient("left top", "right top", !color1, !color2, !color_stop)
@@ -0,0 +1,7 @@
1
+ =inline-block
2
+ display: -moz-inline-box
3
+ -moz-box-orient: vertical
4
+ display: inline-block
5
+ vertical-align: middle
6
+ #display: inline
7
+ #vertical-align: auto
@@ -0,0 +1,18 @@
1
+ //**
2
+ Provides cross-browser css opacity.
3
+ @param !opacity
4
+ A number between 0 and 1, where 0 is transparent and 1 is opaque.
5
+ =opacity(!opacity)
6
+ opacity= !opacity
7
+ -moz-opacity= !opacity
8
+ -khtml-opacity= !opacity
9
+ -ms-filter= "progid:DXImageTransform.Microsoft.Alpha(Opacity=" + round(!opacity*100) + ")"
10
+ filter= "alpha(opacity=" + round(!opacity*100) + ")"
11
+
12
+ // Make an element completely transparent.
13
+ =transparent
14
+ +opacity(0)
15
+
16
+ // Make an element completely opaque.
17
+ =opaque
18
+ +opacity(1)
@@ -0,0 +1,15 @@
1
+ //**
2
+ Provides css text shadows
3
+ arguments are color, horizontal offset, vertical offset, and blur
4
+
5
+ //**
6
+ These defaults make the arguments optional for this mixin
7
+ If you like, set different defaults in your project
8
+
9
+ !default_text_shadow_color ||= #aaa
10
+ !default_text_shadow_h_offset ||= 1px
11
+ !default_text_shadow_v_offset ||= 1px
12
+ !default_text_shadow_blur ||= 1px
13
+
14
+ =text-shadow(!color = !default_text_shadow_color, !hoff = !default_text_shadow_h_offset, !voff = !default_text_shadow_v_offset, !blur = !default_text_shadow_blur)
15
+ text-shadow= !color !hoff !voff !blur
@@ -0,0 +1,62 @@
1
+ // CSS Transform and Transform-Origin
2
+
3
+ // Apply a transform sent as a complete string
4
+ =apply-transform(!transform = false)
5
+ transform= !transform
6
+ -webkit-transform= !transform
7
+ -moz-transform= !transform
8
+
9
+ // Apply a transform-origin sent as a complete string
10
+ =apply-origin(!origin = false)
11
+ transform-origin= !origin
12
+ -webkit-transform-origin= !origin
13
+ -moz-transform-origin= !origin
14
+
15
+ // transform-origin requires x and y coordinates
16
+ // - only applies the coordinates if they are there
17
+ // so that it can be called by scale, rotate and skew safely
18
+ =transform-origin(!originx = 50%, !originy = 50%)
19
+ !origin = false
20
+ @if !originx and !originy
21
+ !origin = "#{!originx} #{!originy}"
22
+ @else if !originx
23
+ !origin = "#{!originx}"
24
+ @else if !originy
25
+ !origin = "#{!originy}"
26
+ @if !origin
27
+ +apply-origin(!origin)
28
+
29
+ // A full transform mixin with everything you could want
30
+ // - including origin adjustments if you want them
31
+ // - scale, rotate and skew don't require units
32
+ // scale takes a multiplier, rotate and skew take degrees
33
+ =transform(!scale = 1, !rotate = 0, !transx = 0, !transy = 0, !skewx = 0, !skewy = 0, !originx = false, !originy = false)
34
+ !transform = "scale(#{!scale}) rotate(#{!rotate}deg) translate(#{!transx}, #{!transy}) skew(#{!skewx}deg, #{!skewy}deg)"
35
+ +apply-transform(!transform)
36
+ +transform-origin(!originx, !originy)
37
+
38
+ // Transform Partials
39
+ // These work well on their own, but they don't add to each other, they override
40
+ // Use them with extra origin args, or along side +transform-origin
41
+
42
+ // adjust only the scale
43
+ // - with optional origin coordinates
44
+ =scale(!scale = 1.25, !originx = false, !originy = false)
45
+ +apply-transform("scale(#{!scale})")
46
+ +transform-origin(!originx, !originy)
47
+
48
+ // adjust only the rotation
49
+ // - with optional origin coordinates
50
+ =rotate(!rotate = 45, !originx = false, !originy = false)
51
+ +apply-transform("rotate(#{!rotate}deg)")
52
+ +transform-origin(!originx, !originy)
53
+
54
+ // adjust only the translation
55
+ =translate(!transx = 0, !transy = 0)
56
+ +apply-transform("translate(#{!transx}, #{!transy})")
57
+
58
+ // adjust only the skew
59
+ // - with optional origin coordinates
60
+ =skew(!skewx = 0, !skewy = 0, !originx = false, !originy = false)
61
+ +apply-transform("skew(#{!skewx}deg, #{!skewy}deg)")
62
+ +transform-origin(!originx, !originy)
@@ -0,0 +1,57 @@
1
+ // CSS Transitions
2
+ // Currently only works in Webkit
3
+ // - expected in CSS3, FireFox 3.6/7 and Opera Presto 2.3
4
+ // - we'll be prepared.
5
+
6
+ // Override these defaults with your own, if you like
7
+ // - timing-function and delay are set to false for browser defaults (ease, 0s)
8
+ !default_transition_property ||= "all"
9
+ !default_transition_duration ||= 1s
10
+ !default_transition_function ||= false
11
+ !default_transition_delay ||= false
12
+
13
+ // One or more properties to transition
14
+ // - for multiple, use a comma-delimited list
15
+ // - also accepts "all" or "none"
16
+ =transition-property(!properties = !default_transition_property)
17
+ transition-property = !properties
18
+ -webkit-transition-property = !properties
19
+ -moz-transition-property = !properties
20
+ -o-transition-property = !properties
21
+
22
+ // One or more durrations in seconds
23
+ // - for multiple, use a comma-delimited list
24
+ // - these durrations will effect the properties in the same list position
25
+ =transition-duration(!duration = !default_transition_duration)
26
+ transition-duration = !duration
27
+ -webkit-transition-duration = !duration
28
+ -moz-transition-duration = !duration
29
+ -o-transition-duration = !duration
30
+
31
+ // One or more timing functions
32
+ // - [ ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier(x1, y1, x2, y2)]
33
+ // - for multiple, use a comma-delimited list
34
+ // - these functions will effect the properties in the same list position
35
+ =transition-timing-function(!function = !default_transition_function)
36
+ transition-timing-function = !function
37
+ -webkit-transition-timing-function = !function
38
+ -moz-transition-timing-function = !function
39
+ -o-transition-timing-function = !function
40
+
41
+ // One or more transition-delays in seconds
42
+ // - for multiple, use a comma-delimited list
43
+ // - these delays will effect the properties in the same list position
44
+ =transition-delay(!delay = !default_transition_delay)
45
+ transition-delay = !delay
46
+ -webkit-transition-delay = !delay
47
+ -moz-transition-delay = !delay
48
+ -o-transition-delay = !delay
49
+
50
+ // Transition all-in-one shorthand
51
+ =transition(!properties = !default_transition_property, !duration = !default_transition_duration, !function = !default_transition_function, !delay = !default_transition_delay)
52
+ +transition-property(!properties)
53
+ +transition-duration(!duration)
54
+ @if !function
55
+ +transition-timing-function(!function)
56
+ @if !delay
57
+ +transition-delay(!delay)
@@ -5,13 +5,15 @@
5
5
 
6
6
  =sticky-footer(!footer_height, !root_selector = "#root", !root_footer_selector = "#root_footer", !footer_selector = "#footer")
7
7
  html, body
8
- :height 100%
8
+ height: 100%
9
9
  #{!root_selector}
10
- :min-height 100%
11
- :margin-bottom= -!footer_height
10
+ min-height: 100%
11
+ height: auto !important
12
+ height: 100%
13
+ margin-bottom= -!footer_height
12
14
  #{!root_footer_selector}
13
- :height= !footer_height
15
+ height= !footer_height
14
16
  #{!footer_selector}
15
- :clear both
16
- :position relative
17
- :height= !footer_height
17
+ clear: both
18
+ position: relative
19
+ height= !footer_height
@@ -2,5 +2,4 @@
2
2
  @import general/clearfix.sass
3
3
  @import general/float.sass
4
4
  @import general/tag_cloud.sass
5
- @import general/inline_block.sass
6
5
  @import general/hacks.sass
@@ -1,3 +1,3 @@
1
1
  @import links/hover_link.sass
2
2
  @import links/link_colors.sass
3
- @import links/unstyled_link.sass
3
+ @import links/unstyled_link.sass
@@ -0,0 +1,18 @@
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.
4
+ // Note: these aren't semantic.
5
+ =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
@@ -0,0 +1 @@
1
+ @import sprites/sprite_img.sass
@@ -6,7 +6,7 @@
6
6
  Recommendations include using this in conjunction with a width:
7
7
  http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html
8
8
  =clearfix
9
- :overflow hidden
9
+ overflow: hidden
10
10
  +has-layout
11
11
 
12
12
  //**
@@ -15,10 +15,10 @@
15
15
  http://www.positioniseverything.net/easyclearing.html
16
16
  =pie-clearfix
17
17
  &:after
18
- :content " "
19
- :display block
20
- :height 0
21
- :clear both
22
- :overflow hidden
23
- :visibility hidden
18
+ content: " "
19
+ display: block
20
+ height: 0
21
+ clear: both
22
+ overflow: hidden
23
+ visibility: hidden
24
24
  +has-layout
@@ -13,5 +13,5 @@
13
13
 
14
14
  // Available as alternate syntax with just +float
15
15
  =float(!side = "left")
16
- :display inline
17
- :float= !side
16
+ display: inline
17
+ float= !side
@@ -1,6 +1,6 @@
1
1
  =has-layout
2
2
  // This makes ie6 get layout
3
- :display inline-block
3
+ display: inline-block
4
4
  // and this puts it back to block
5
5
  &
6
- :display block
6
+ display: block
@@ -33,7 +33,7 @@
33
33
  q, blockquote
34
34
  +reset-quotation
35
35
 
36
- img a
36
+ a img
37
37
  +reset-image-anchor-border
38
38
 
39
39
 
@@ -57,52 +57,52 @@
57
57
  q, blockquote
58
58
  +reset-quotation
59
59
 
60
- img a
60
+ a img
61
61
  +reset-image-anchor-border
62
62
 
63
63
  //Mixins partials
64
64
  =reset-box-model
65
- :margin 0
66
- :padding 0
67
- :border 0
68
- :outline 0
65
+ margin: 0
66
+ padding: 0
67
+ border: 0
68
+ outline: 0
69
69
 
70
70
  =reset-font
71
- :font
72
- :weight inherit
73
- :style inherit
74
- :size 100%
75
- :family inherit
76
- :vertical-align baseline
71
+ font:
72
+ weight: inherit
73
+ style: inherit
74
+ size: 100%
75
+ family: inherit
76
+ vertical-align: baseline
77
77
 
78
78
  =reset-focus
79
- :outline 0
79
+ outline: 0
80
80
 
81
81
  =reset-body
82
- :line-height 1em
83
- :color = #000
84
- :background #fff
82
+ line-height: 1em
83
+ color: #000
84
+ background: #fff
85
85
 
86
86
  =reset-list-style
87
- :list-style none
87
+ list-style: none
88
88
 
89
89
  =reset-table
90
- :border-collapse separate
91
- :border-spacing 0
92
- :vertical-align middle
90
+ border-collapse: separate
91
+ border-spacing: 0
92
+ vertical-align: middle
93
93
 
94
94
  =reset-table-cell
95
- :text-align left
96
- :font-weight normal
97
- :vertical-align middle
95
+ text-align: left
96
+ font-weight: normal
97
+ vertical-align: middle
98
98
 
99
99
  =reset-quotation
100
- :quotes "" ""
100
+ quotes: "" ""
101
101
  &:before, &:after
102
- :content ""
102
+ content: ""
103
103
 
104
104
  =reset-image-anchor-border
105
- :border none
105
+ border: none
106
106
 
107
107
  =reset-html5
108
108
  section, article, aside, header, footer, nav, dialog, figure
@@ -115,7 +115,7 @@
115
115
  Usage Example:
116
116
  // Turn off the display for both of these classes
117
117
  .unregistered-only, .registered-only
118
- :display none
118
+ display: none
119
119
  // Now turn only one of them back on depending on some other context.
120
120
  body.registered
121
121
  +reset-display(".registered-only")
@@ -131,4 +131,4 @@
131
131
  @if !important
132
132
  display: block !important
133
133
  @else
134
- display: block
134
+ display: block