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
@@ -1,2 +0,0 @@
1
- blueprint_dir = File.join(Compass.base_directory, 'frameworks', 'blueprint')
2
- Compass::Frameworks.register('blueprint', blueprint_dir)
@@ -1,3 +0,0 @@
1
- @import blueprint/screen.sass
2
- @import blueprint/print.sass
3
- @import blueprint/ie.sass
@@ -1,93 +0,0 @@
1
- // The blueprint IE mixins should be mixed into a stylesheet that gets conditionally included
2
- // into IE like so:
3
- // <!--[if IE]><link rel="stylesheet" href="ie.css"
4
- // type="text/css" media="screen, projection"><![endif]-->
5
-
6
- // The +blueprint-ie mixin must be mixed into the top level of your stylesheet.
7
- // However, you can customize the body selector if you wish to control the scope
8
- // of this mixin. Examples:
9
- // Apply to any page including the stylesheet:
10
- // +blueprint-ie
11
- // Scoped by a single presentational body class:
12
- // +blueprint-ie("body.blueprint")
13
- // Semantically:
14
- // +blueprint-ie("body#page-1, body#page-2, body.a-special-page-type")
15
- // Alternatively, you can use the +blueprint-ie-body and +blueprint-ie-defaults
16
- // mixins to construct your own semantic style rules.
17
-
18
- =blueprint-ie(!body_selector = "body")
19
- #{!body_selector}
20
- +blueprint-ie-body
21
- @if !body_selector != "body"
22
- +blueprint-ie-defaults
23
- @if !body_selector == "body"
24
- +blueprint-ie-defaults
25
-
26
- =blueprint-ie-body
27
- :text-align center
28
- +blueprint-ie-hacks
29
-
30
- =blueprint-ie-hacks
31
- * html &
32
- legend
33
- :margin 0px -8px 16px 0
34
- :padding 0
35
- html>&
36
- p code
37
- :*white-space normal
38
-
39
- // Fixes for Blueprint "inline" forms in IE
40
- =blueprint-inline-form-ie
41
- div, p
42
- :vertical-align middle
43
- label
44
- :position relative
45
- :top -0.25em
46
- input
47
- &.checkbox, &.radio, &.button, button
48
- :margin 0.5em 0
49
-
50
- =blueprint-ie-defaults
51
- .container
52
- :text-align left
53
- ol
54
- :margin-left 2em
55
- sup
56
- :vertical-align text-top
57
- sub
58
- :vertical-align text-bottom
59
- hr
60
- :margin -8px auto 11px
61
- img
62
- :-ms-interpolation-mode bicubic
63
- fieldset
64
- :padding-top 0
65
- input
66
- &.text
67
- :margin 0.5em 0
68
- :background-color #fff
69
- :border 1px solid #bbb
70
- &:focus
71
- :border 1px solid #666
72
- &.title
73
- :margin 0.5em 0
74
- :background-color #fff
75
- :border 1px solid #bbb
76
- &:focus
77
- :border 1px solid #666
78
- &.checkbox
79
- :position relative
80
- :top 0.25em
81
- &.radio
82
- :position relative
83
- :top 0.25em
84
- &.button
85
- :position relative
86
- :top 0.25em
87
- textarea
88
- :margin 0.5em 0
89
- select
90
- :margin 0.5em 0
91
- button
92
- :position relative
93
- :top 0.25em
@@ -1,83 +0,0 @@
1
- @import modules/typography.sass
2
- @import compass/utilities/general/float.sass
3
-
4
- // The +blueprint-print mixin must be mixed into the top level of your stylesheet.
5
- // However, you can customize the body selector if you wish to control the scope
6
- // of this mixin. Examples:
7
- // Apply to any page including the stylesheet:
8
- // +blueprint-print
9
- // Scoped by a single presentational body class:
10
- // +blueprint-print("body.blueprint")
11
- // Semantically:
12
- // +blueprint-print("body#page-1, body#page-2, body.a-special-page-type")
13
- // Alternatively, you can use the +blueprint-print-body and +blueprint-print-defaults
14
- // mixins to construct your own semantic style rules.
15
-
16
- =blueprint-print(!body_selector = "body")
17
- #{!body_selector}
18
- +blueprint-print-body
19
- @if !body_selector != "body"
20
- +blueprint-print-defaults
21
- @if !body_selector == "body"
22
- +blueprint-print-defaults
23
-
24
- // This style is in blueprint, but I think it's annoying and it doesn't work in all browsers.
25
- // Feel free to mix it into anchors where you want it.
26
- =blueprint-show-link-urls
27
- &:after
28
- :content " (" attr(href) ")"
29
- :font-size 90%
30
-
31
- =blueprint-print-body
32
- :line-height 1.5
33
- :font-family= !blueprint_font_family
34
- :color #000
35
- :background none
36
- :font-size 10pt
37
-
38
- =blueprint-print-defaults
39
- .container
40
- :background none
41
- hr
42
- :background #ccc
43
- :color #ccc
44
- :width 100%
45
- :height 2px
46
- :margin 2em 0
47
- :padding 0
48
- :border none
49
- &.space
50
- :background #fff
51
- :color #fff
52
- h1, h2, h3, h4, h5, h6
53
- :font-family= !blueprint_font_family
54
- code
55
- :font
56
- :size .9em
57
- :family= !blueprint_fixed_font_family
58
- img
59
- +float-left
60
- :margin 1.5em 1.5em 1.5em 0
61
- a
62
- img
63
- :border none
64
- &:link,
65
- &:visited
66
- :background transparent
67
- :font-weight 700
68
- :text-decoration underline
69
- p img.top
70
- :margin-top 0
71
- blockquote
72
- :margin 1.5em
73
- :padding 1em
74
- :font-style italic
75
- :font-size .9em
76
- .small
77
- :font-size .9em
78
- .large
79
- :font-size 1.1em
80
- .quiet
81
- :color #999
82
- .hide
83
- :display none
@@ -1,3 +0,0 @@
1
- @import modules/reset.sass
2
-
3
- +blueprint-global-reset
@@ -1,15 +0,0 @@
1
- @import modules/colors.sass
2
- @import modules/grid.sass
3
- @import modules/typography.sass
4
- @import modules/utilities.sass
5
- @import modules/form.sass
6
- @import modules/interaction.sass
7
- @import modules/debug.sass
8
-
9
- =blueprint(!body_selector = "body")
10
- +blueprint-typography(!body_selector)
11
- +blueprint-utilities
12
- +blueprint-grid
13
- +blueprint-debug
14
- +blueprint-interaction
15
- +blueprint-form
@@ -1,55 +0,0 @@
1
- @import colors.sass
2
-
3
- // Mixin for producing Blueprint "inline" forms. Should be used with the blueprint-form mixin.
4
- =blueprint-inline-form
5
- :line-height 3
6
- p
7
- :margin-bottom 0
8
-
9
- =blueprint-form
10
- +blueprint-form-layout
11
- +blueprint-form-borders
12
- +blueprint-form-sizes
13
-
14
- =blueprint-form-layout
15
- label
16
- :font-weight bold
17
- fieldset
18
- :padding 1.4em
19
- :margin 0 0 1.5em 0
20
- legend
21
- :font-weight bold
22
- :font-size 1.2em
23
- input
24
- &.text, &.title, &[type=text]
25
- :margin 0.5em 0
26
- :background-color #fff
27
- :padding 5px
28
- &.title
29
- :font-size 1.5em
30
- &[type=checkbox], &.checkbox,
31
- &[type=radio], &.radio
32
- :position relative
33
- :top 0.25em
34
- textarea
35
- :margin 0.5em 0
36
- :padding 5px
37
- select
38
- :margin 0.5em 0
39
-
40
- =blueprint-form-sizes(!input_width = 300px, !textarea_width = 390px, !textarea_height = 250px)
41
- input.text, input.title
42
- :width= !input_width
43
- textarea
44
- :width= !textarea_width
45
- :height= !textarea_height
46
-
47
- =blueprint-form-borders(!unfocused_border_color = #bbb, !focus_border_color = #666, !fieldset_border_color = #ccc)
48
- fieldset
49
- :border= 1px "solid" !fieldset_border_color
50
- input.text, input.title,
51
- textarea,
52
- select
53
- :border= 1px "solid" !unfocused_border_color
54
- &:focus
55
- :border= 1px "solid" !focus_border_color
@@ -1,58 +0,0 @@
1
- @import colors.sass
2
-
3
-
4
- =blueprint-interaction
5
- .error
6
- +error
7
- .notice
8
- +notice
9
- .success
10
- +success
11
- .hide
12
- :display none
13
- .highlight
14
- +highlight
15
- .added
16
- +added
17
- .removed
18
- +removed
19
-
20
- =feedback-base
21
- :padding .8em
22
- :margin-bottom 1em
23
- :border= 2px "solid" !feedback_border_color
24
-
25
- =error
26
- +feedback-base
27
- :background = !error_bg_color
28
- :color = !error_color
29
- :border-color = !error_border_color
30
- a
31
- :color = !error_color
32
-
33
- =notice
34
- +feedback-base
35
- :background = !notice_bg_color
36
- :color = !notice_color
37
- :border-color = !notice_border_color
38
- a
39
- :color = !notice_color
40
-
41
- =success
42
- +feedback-base
43
- :background = !success_bg_color
44
- :color = !success_color
45
- :border-color = !success_border_color
46
- a
47
- :color = !success_color
48
-
49
- =highlight
50
- :background = !highlight_color
51
-
52
- =added
53
- :background = !added_bg_color
54
- :color = !added_color
55
-
56
- =removed
57
- :background = !removed_bg_color
58
- :color = !removed_color
@@ -1,104 +0,0 @@
1
- @import grid.sass
2
- @import compass/utilities/general/float.sass
3
-
4
- // Main layout grid, override these constants to build your grid and container sizes.
5
- !blueprint_grid_columns ||= 24
6
- !blueprint_grid_width ||= 30px
7
- !blueprint_grid_margin ||= 10px
8
-
9
- !blueprint_grid_outer_width = !blueprint_grid_width + !blueprint_grid_margin
10
- !blueprint_container_size = !blueprint_grid_outer_width * !blueprint_grid_columns - !blueprint_grid_margin
11
-
12
- // Columns
13
- // Note: If you use this mixin without the class and want to support ie6
14
- // you must set text-align left on your container element in an IE stylesheet.
15
- =container
16
- :width = !blueprint_container_size
17
- :margin 0 auto
18
- :direction rtl
19
- +clearfix
20
-
21
- // The last column in a row needs this mixin or it will end up on the next row.
22
- // TODO add this to span mixin when we have optional arguments
23
- =last
24
- :margin-left 0
25
-
26
- =column-base(!last = false)
27
- +float-right
28
- @if !last
29
- +last
30
- @else
31
- :margin-left = !blueprint_grid_margin
32
- * html &
33
- :overflow-x hidden
34
-
35
- // Mixin to a column to append n empty cols.
36
- =append(!n)
37
- :padding-left = (!blueprint_grid_outer_width) * !n
38
-
39
- // Mixin to a column to prepend n empty cols.
40
- =prepend(!n)
41
- :padding-right = (!blueprint_grid_outer_width) * !n
42
-
43
- // mixin to a column to move it n columns to the left
44
- =pull(!n, !last = false)
45
- :position relative
46
- @if !last
47
- :margin-right = (-!blueprint_grid_outer_width * !n) + !blueprint_grid_margin
48
- @else
49
- :margin-right = -!blueprint_grid_outer_width * !n
50
-
51
- // mixin to a column to push it n columns to the right
52
- =push(!n)
53
- +float-right
54
- :position relative
55
- :margin
56
- :top 0
57
- :left = -!blueprint_grid_outer_width * !n
58
- :bottom 1.5em
59
- :right = !blueprint_grid_outer_width * !n
60
-
61
- // Border on left hand side of a column.
62
- =border
63
- :padding-left = !blueprint_grid_margin / 2 - 1
64
- :margin-left = !blueprint_grid_margin / 2
65
- :border-left 1px solid #eee
66
-
67
- // Border with more whitespace, spans one column.
68
- =colborder
69
- :padding-left= (!blueprint_grid_width - 2 * !blueprint_grid_margin - 1)/2
70
- :margin-left= (!blueprint_grid_width - 2 * !blueprint_grid_margin)/2
71
- :border-left 1px solid #eee
72
-
73
- =rtl-typography(!body_selector = "body")
74
- html #{!body_selector}
75
- :font-family Arial, sans-serif
76
- @if !body_selector != "body"
77
- +rtl-typography-defaults
78
- @if !body_selector == "body"
79
- body
80
- +rtl-typography-defaults
81
-
82
- =rtl-typography-defaults
83
- h1, h2, h3, h4, h5, h6
84
- :font-family Arial, sans-serif
85
-
86
- pre, code, tt
87
- :font-family monospace
88
-
89
- p
90
- img.right
91
- +float-left
92
- :margin 1.5em 1.5em 1.5em 0
93
- :padding 0
94
- img.left
95
- +float-right
96
- :margin 1.5em 0 1.5em 1.5em
97
- :padding 0
98
-
99
- dd, ul, ol
100
- :margin-left 0
101
- :margin-right 1.5em
102
-
103
- td, th
104
- :text-align right
@@ -1,155 +0,0 @@
1
- @import colors.sass
2
- @import compass/utilities/links/link_colors.sass
3
- @import compass/utilities/general/float.sass
4
-
5
- !blueprint_font_family ||= "Helvetica Neue, Arial, Helvetica, sans-serif"
6
- !blueprint_fixed_font_family ||= "'andale mono', 'lucida console', monospace"
7
- !blueprint_font_size ||= 12px
8
-
9
- // The +blueprint-typography mixin must be mixed into the top level of your stylesheet.
10
- // However, you can customize the body selector if you wish to control the scope
11
- // of this mixin. Examples:
12
- // Apply to any page including the stylesheet:
13
- // +blueprint-typography
14
- // Scoped by a single presentational body class:
15
- // +blueprint-typography("body.blueprint")
16
- // Semantically:
17
- // +blueprint-typography("body#page-1, body#page-2, body.a-special-page-type")
18
- // Alternatively, you can use the +blueprint-typography-body and +blueprint-typography-defaults
19
- // mixins to construct your own semantic style rules.
20
-
21
- =blueprint-typography(!body_selector = "body")
22
- #{!body_selector}
23
- +blueprint-typography-body
24
- @if !body_selector != "body"
25
- +blueprint-typography-defaults
26
- @if !body_selector == "body"
27
- +blueprint-typography-defaults
28
-
29
- =normal-text
30
- :font-family= !blueprint_font_family
31
- :color= !font_color
32
-
33
- =fixed-width-text
34
- :font= 1em !blueprint_fixed_font_family
35
- :line-height 1.5
36
-
37
- =header-text
38
- :font-weight normal
39
- :color= !header_color
40
-
41
- =quiet
42
- :color= !quiet_color
43
-
44
- =loud
45
- :color= !loud_color
46
-
47
- =blueprint-typography-body(!font_size = !blueprint_font_size)
48
- :line-height 1.5
49
- +normal-text
50
- :font-size= 100% * !font_size / 16px
51
-
52
- =blueprint-typography-defaults
53
- h1
54
- +header-text
55
- :font-size 3em
56
- :line-height 1
57
- :margin-bottom 0.5em
58
- img
59
- :margin 0
60
- h2
61
- +header-text
62
- :font-size 2em
63
- :margin-bottom 0.75em
64
- h3
65
- +header-text
66
- :font-size 1.5em
67
- :line-height 1
68
- :margin-bottom 1em
69
- h4
70
- +header-text
71
- :font-size 1.2em
72
- :line-height 1.25
73
- :margin-bottom 1.25em
74
- h5
75
- +header-text
76
- :font-size 1em
77
- :font-weight bold
78
- :margin-bottom 1.5em
79
- h6
80
- +header-text
81
- :font-size 1em
82
- :font-weight bold
83
- h2 img, h3 img, h4 img, h5 img, h6 img
84
- :margin 0
85
- p
86
- :margin 0 0 1.5em
87
- img.left
88
- +float-left
89
- :margin 1.5em 1.5em 1.5em 0
90
- :padding 0
91
- img.right
92
- +float-right
93
- :margin 1.5em 0 1.5em 1.5em
94
- :padding 0
95
- a
96
- :text-decoration underline
97
- +link-colors(!link_color, !link_hover_color, !link_active_color, !link_visited_color, !link_focus_color)
98
- blockquote
99
- :margin 1.5em
100
- :color #666
101
- :font-style italic
102
- strong
103
- :font-weight bold
104
- em
105
- :font-style italic
106
- dfn
107
- :font-style italic
108
- :font-weight bold
109
- sup, sub
110
- :line-height 0
111
- abbr, acronym
112
- :border-bottom 1px dotted #666
113
- address
114
- :margin 0 0 1.5em
115
- :font-style italic
116
- del
117
- :color #666
118
- pre
119
- :margin 1.5em 0
120
- :white-space pre
121
- pre, code, tt
122
- +fixed-width-text
123
- li ul, li ol
124
- :margin 0 1.5em
125
- ul
126
- :margin 0 1.5em 1.5em 1.5em
127
- :list-style-type disc
128
- ol
129
- :margin 0 1.5em 1.5em 1.5em
130
- :list-style-type decimal
131
- dl
132
- :margin 0 0 1.5em 0
133
- dt
134
- :font-weight bold
135
- dd
136
- :margin-left 1.5em
137
- table
138
- :margin-bottom 1.4em
139
- :width 100%
140
- th
141
- :font-weight bold
142
- thead th
143
- :background= !blueprint_table_header_color
144
- th, td, caption
145
- :padding 4px 10px 4px 5px
146
- tr.even td
147
- :background= !blueprint_table_stripe_color
148
- tfoot
149
- :font-style italic
150
- caption
151
- :background #eee
152
- .quiet
153
- +quiet
154
- .loud
155
- +loud