compass 0.8.17 → 0.10.0.pre1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,5 +1,5 @@
1
1
  @import compass/utilities/general/float.sass
2
- @import blueprint/modules/buttons.sass
2
+ @import blueprint/buttons.sass
3
3
 
4
4
  //
5
5
  Use the following HTML code to place the buttons on your site:
@@ -23,7 +23,7 @@ a.button
23
23
  +anchor-button("left")
24
24
  // All the button color mixins take 4 optional arguments:
25
25
  // font color, background color, border color, border highlight color
26
- // the first three default to constants set in blueprint/modules/buttons.sass
26
+ // the first three default to constants set in blueprint/buttons.sass
27
27
  // the last one defaults to a shade lighter than the border color.
28
28
  +button-colors
29
29
  +button-hover-colors
@@ -1,4 +1,4 @@
1
- @import blueprint/modules/link_icons.sass
1
+ @import blueprint/link_icons.sass
2
2
 
3
3
  // This turns link icons on for all links. You can change the scoping selector from
4
4
  // body to something more specific if you prefer.
@@ -1,7 +1,7 @@
1
1
  @import blueprint.sass
2
- @import blueprint/modules/fancy_type.sass
3
- @import blueprint/modules/scaffolding.sass
4
- @import blueprint/modules/rtl.sass
2
+ @import blueprint/fancy_type.sass
3
+ @import blueprint/scaffolding.sass
4
+ @import blueprint/rtl.sass
5
5
  @import compass/reset.sass
6
6
 
7
7
 
@@ -1,6 +1,6 @@
1
1
  @import blueprint.sass
2
- @import blueprint/modules/fancy_type.sass
3
- @import blueprint/modules/scaffolding.sass
2
+ @import blueprint/fancy_type.sass
3
+ @import blueprint/scaffolding.sass
4
4
  @import compass/reset.sass
5
5
 
6
6
 
@@ -1,3 +1,4 @@
1
1
  @import blueprint.sass
2
2
 
3
- +blueprint-ie("body.bp")
3
+ body.bp
4
+ +blueprint-ie(true)
@@ -1,3 +1,4 @@
1
1
  @import blueprint.sass
2
2
 
3
- +blueprint-print("body.bp")
3
+ body.bp
4
+ +blueprint-print(true)
@@ -1,4 +1,5 @@
1
1
  @import blueprint.sass
2
2
  @import compass/reset.sass
3
3
 
4
- +blueprint("body.bp")
4
+ body.bp
5
+ +blueprint(true)
@@ -37,7 +37,7 @@
37
37
  %hr.space
38
38
  #main
39
39
  %p
40
- %img#test{ :src => "test.jpg", :alt => "test" }
40
+ %img#test.left{ :src => "test.jpg", :alt => "test" }
41
41
  Lorem ipsum dolor sit amet,
42
42
  %em
43
43
  consectetuer adipiscing elit
@@ -1,15 +1,14 @@
1
1
  @import blueprint.sass
2
- @import blueprint/modules/fancy_type.sass
3
- @import blueprint/modules/scaffolding.sass
4
- @import blueprint/modules/liquid.sass
2
+ @import blueprint/fancy_type.sass
3
+ @import blueprint/scaffolding.sass
4
+ @import blueprint/liquid.sass
5
5
  @import compass/reset.sass
6
6
 
7
7
  .container
8
8
  +container
9
9
 
10
- +blueprint-typography("body.blueprint")
11
-
12
10
  body.blueprint
11
+ +blueprint-typography(true)
13
12
  +blueprint-scaffolding-body
14
13
  hr
15
14
  +colruler
@@ -67,4 +66,4 @@ body#sample
67
66
  +reset-font
68
67
  +alt
69
68
  #parting-thought
70
- +alt
69
+ +alt
@@ -1,11 +1,10 @@
1
1
  @import blueprint.sass
2
- @import blueprint/modules/fancy_type.sass
3
- @import blueprint/modules/scaffolding.sass
2
+ @import blueprint/fancy_type.sass
3
+ @import blueprint/scaffolding.sass
4
4
  @import compass/reset.sass
5
5
 
6
- +blueprint-typography("body.blueprint")
7
-
8
6
  body.blueprint
7
+ +blueprint-typography(true)
9
8
  +blueprint-scaffolding-body
10
9
  .container
11
10
  +container
@@ -68,4 +67,4 @@ body#sample
68
67
  +reset-font
69
68
  +alt
70
69
  #parting-thought
71
- +alt
70
+ +alt
@@ -0,0 +1,3 @@
1
+ require File.join(File.dirname(__FILE__), '..', 'downloader')
2
+
3
+ install_from_github('chriseppstein', 'yui-compass-plugin', 'yui')
@@ -0,0 +1,70 @@
1
+ =yui-base
2
+ body
3
+ :margin 10px
4
+
5
+ h1
6
+ :font-size 138.5%
7
+
8
+ h2
9
+ :font-size 123.1%
10
+
11
+ h3
12
+ :font-size 108%
13
+
14
+ h1, h2, h3
15
+ :margin 1em 0
16
+
17
+ h1,h2, h3, h4, h5, h6, strong, dt
18
+ :font-weight bold
19
+
20
+ optgroup
21
+ :font-weight normal
22
+
23
+ abbr, acronym
24
+ :border-bottom 1px dotted #000
25
+ :cursor help
26
+
27
+ em
28
+ :font-style italic
29
+
30
+ del
31
+ :text-decoration line-through
32
+
33
+ blockquote, ul, ol, dl
34
+ :margin 1em
35
+
36
+ ol,ul,dl
37
+ :margin-left 2em
38
+
39
+ ol li
40
+ :list-style decimal outside
41
+
42
+ ul li
43
+ :list-style disc outside
44
+
45
+ dl dd
46
+ :margin-left 1em
47
+
48
+ th, td
49
+ :border 1px solid #000
50
+ :padding .5em
51
+
52
+ th
53
+ :font-weight bold
54
+ :text-align center
55
+
56
+ caption
57
+ :margin-bottom .5em
58
+ :text-align center
59
+
60
+ sup
61
+ :vertical-align super
62
+
63
+ sub
64
+ :vertical-align sub
65
+
66
+ p, fieldset, table, pre
67
+ :margin-bottom 1em
68
+
69
+ button, input[type="checkbox"], input[type="radio"], input[type="reset"], input[type="submit"]
70
+ padding: 1px
@@ -13,7 +13,7 @@
13
13
  // +font-size(18px)
14
14
  // .big .bigger
15
15
  // +font-size(18px, 16px)
16
- //
16
+ //
17
17
  // For more information see the table found at http://developer.yahoo.com/yui/fonts/#fontsize
18
18
  =font-size(!size, !base_font_size = !yui_default_base_font_size)
19
19
  :font-size= percentage(!size / !base_font_size)
@@ -28,6 +28,13 @@
28
28
  :*font-size small
29
29
  :*font x-small
30
30
 
31
+ select,
32
+ input,
33
+ button,
34
+ textarea,
35
+ button
36
+ :font 99% arial,helvetica,clean,sans-serif
37
+
31
38
  table
32
39
  :font-size inherit
33
40
  :font 100%
@@ -18,6 +18,7 @@
18
18
  +yui-document("fluid")
19
19
  #doc4
20
20
  +yui-document(974px)
21
+ /* Section: Preset Template Rules (.yui-t[1-6])
21
22
  .yui-t1
22
23
  +yui-two-column-left-template(160px)
23
24
  .yui-t2
@@ -30,22 +31,31 @@
30
31
  +yui-two-column-right-template(240px)
31
32
  .yui-t6
32
33
  +yui-two-column-right-template(300px)
33
-
34
- =yui-grids-footer
35
- clear: both
36
-
37
- =yui-grids-body
38
- +clearfix
39
-
40
- =yui-grids-init(!footer = "#ft", !body = "#bd")
34
+ .yui-t7
35
+ +yui-one-column-template
36
+
37
+ =yui-group-clearing
38
+ zoom: 1
39
+ &:after
40
+ content: "."
41
+ display: block
42
+ height: 0
43
+ clear: both
44
+ visibility: hidden
45
+
46
+ =yui-grids-init(!header = "#hd", !footer = "#ft", !body = "#bd")
47
+ /* Section: General Rules
41
48
  body
42
49
  :text-align center
50
+ @if !header
51
+ #{!header}
52
+ +yui-group-clearing
43
53
  @if !footer
44
54
  #{!footer}
45
- +yui-grids-footer
55
+ +yui-group-clearing
46
56
  @if !body
47
57
  #{!body}
48
- +yui-grids-body
58
+ +yui-group-clearing
49
59
 
50
60
  =em-size(!style, !px_size, !base_font_size = !yui_default_base_font_size)
51
61
  :#{!style}= 1em * !px_size / !base_font_size
@@ -54,8 +64,8 @@
54
64
  +em-size(!style, !px_size, !base_font_size)
55
65
  +em-size("*"+!style, !px_size * 39 / 40, !base_font_size)
56
66
 
57
- // All documents must have these styles. Setting a min-width is optional, but recommended. To omit it, pass false as the min_width value.
58
- =yui-document-base(!min_width = 750px)
67
+ // All documents must have these styles
68
+ =yui-document-base(!min_width = false)
59
69
  :margin auto
60
70
  :text-align left
61
71
  @if !min_width
@@ -66,14 +76,12 @@
66
76
  :_position static
67
77
 
68
78
  =yui-main-block
69
- :position static
70
79
  :float none
71
80
  :width auto
72
81
 
73
-
74
82
  // Creates a fixed width document container
75
83
  // Pass "fluid" for the width to create a document that grows with the width of the browser.
76
- =yui-document(!width, !min_width = 750px, !base_font_size = !yui_default_base_font_size)
84
+ =yui-document(!width, !min_width = false, !base_font_size = !yui_default_base_font_size)
77
85
  +yui-document-base(!min_width)
78
86
  @if !width == "fluid"
79
87
  :margin auto 10px
@@ -81,85 +89,163 @@
81
89
  @else
82
90
  +em-size-hacked("width", !width, !base_font_size)
83
91
 
84
- =yui-two-column-left-template(!column_width, !main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = 750px, !base_font_size = !yui_default_base_font_size)
92
+ =yui-two-column-left-template(!column_width, !main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = false, !base_font_size = !yui_default_base_font_size)
85
93
  +yui-document(!document_width, !min_width, !base_font_size)
94
+ #{!block_selector}
95
+ +yui-block-base
96
+ :float left
97
+ +em-size-hacked("width", !column_width, !base_font_size)
86
98
  #{!main_selector}
87
99
  :width 100%
88
100
  :float right
89
- +em-size("margin-left", -!column_width - 10px, !base_font_size)
101
+ :margin-left -25em
90
102
  #{!block_selector}
91
103
  +yui-main-block
92
- +em-size-hacked("margin-left", !column_width, !base_font_size)
104
+ +em-size("margin-left", !column_width + 13px, !base_font_size)
105
+ // t3 is 15px for IE for some reason - seems like this should be some formula based on the column width and not a fixed number - need to do more research
106
+ @if !column_width > 180px
107
+ +em-size("*margin-left", (!column_width + 15px) * 39 / 40, !base_font_size)
108
+ @else
109
+ +em-size("*margin-left", (!column_width + 14px) * 39 / 40, !base_font_size)
110
+
111
+ =yui-two-column-right-template(!column_width, !main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = false, !base_font_size = !yui_default_base_font_size)
112
+ +yui-document(!document_width, !min_width, !base_font_size)
93
113
  #{!block_selector}
94
114
  +yui-block-base
95
- :float left
115
+ :float right
96
116
  +em-size-hacked("width", !column_width, !base_font_size)
97
-
98
- =yui-two-column-right-template(!column_width, !main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = 750px, !base_font_size = !yui_default_base_font_size)
99
- +yui-document(!document_width, !min_width, !base_font_size)
100
117
  #{!main_selector}
101
118
  :width 100%
102
119
  :float left
103
- +em-size("margin-right", -!column_width - 10px, !base_font_size)
120
+ :margin-right -25em
104
121
  #{!block_selector}
105
122
  +yui-main-block
106
- +em-size-hacked("margin-right", !column_width, !base_font_size)
107
- #{!block_selector}
108
- +yui-block-base
109
- :float right
110
- +em-size-hacked("width", !column_width, !base_font_size)
111
-
112
- =yui-one-column-template(!main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = 750px, !base_font_size = !yui_default_base_font_size)
123
+ +em-size("margin-right", !column_width + 13px, !base_font_size)
124
+ // t5 is 15px for IE for some reason - seems like this should be some formula based on the column width and not a fixed number - need to do more research
125
+ @if !column_width > 180px
126
+ +em-size("*margin-right", (!column_width + 15px) * 39 / 40, !base_font_size)
127
+ @else
128
+ +em-size("*margin-right", (!column_width + 14px) * 39 / 40, !base_font_size)
129
+
130
+ =yui-one-column-template(!main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = false, !base_font_size = !yui_default_base_font_size)
113
131
  +yui-document(!document_width, !min_width, !base_font_size)
114
132
  #{!main_selector}
115
- :width 100%
116
133
  #{!block_selector}
117
134
  +yui-main-block
118
135
  :display block
119
136
  :margin 0 0 1em 0
120
- #{!block_selector}
121
- +yui-block-base
122
137
 
123
138
  =yui-custom-template(!main_selector = "#yui-main", !block_selector = ".yui-b")
139
+ #{!block_selector}
140
+ +yui-block-base
124
141
  #{!main_selector}
125
142
  :width 100%
126
143
  #{!block_selector}
127
144
  +yui-main-block
128
- #{!block_selector}
129
- +yui-block-base
130
145
 
131
146
  =yui-grid-divisions(!unit = ".yui-u", !g_50_50 = ".yui-g", !g_33_33_33 = ".yui-gb", !g_67_33 = ".yui-gc", !g_33_67 = ".yui-gd", !g_75_25 = ".yui-ge", !g_25_75 = ".yui-gf")
147
+
148
+ /* Section: Grids and Nesting Grids
149
+
150
+ /* from #yui-main, .yui-g .yui-u .yui-g
151
+ #{nest(!g_50_50, !unit, !g_50_50)}
152
+ width: 100%
153
+
154
+ /* Children generally take half the available space
155
+ #{nest(!g_33_33_33, !unit)},
132
156
  #{nest(!g_50_50, !g_33_33_33, !unit)},
133
- #{nest(!g_67_33, !unit)},
134
- #{nest(!g_67_33, !g_50_50)},
135
- #{nest(!g_33_67, !unit)},
136
157
  #{nest(!g_33_33_33, !g_50_50)},
137
158
  #{nest(!g_33_33_33, !g_33_33_33)},
138
159
  #{nest(!g_33_33_33, !g_67_33)},
139
160
  #{nest(!g_33_33_33, !g_33_67)},
140
161
  #{nest(!g_33_33_33, !g_75_25)},
141
162
  #{nest(!g_33_33_33, !g_25_75)},
142
- #{nest(!g_33_33_33, !unit)}
163
+ #{nest(!g_67_33, !unit)},
164
+ #{nest(!g_67_33, !g_50_50)},
165
+ #{nest(!g_33_67, !unit)}
143
166
  float: left
144
- margin-left: 2%
145
- width: 32%
146
167
 
147
- #{!g_33_33_33}
168
+ /* Float units (and sub grids) to the right
169
+ #{nest(!g_50_50, !unit)},
170
+ #{nest(!g_50_50, !g_50_50)},
171
+ #{nest(!g_50_50, !g_33_33_33)},
172
+ #{nest(!g_50_50, !g_67_33)},
173
+ #{nest(!g_50_50, !g_33_67)},
174
+ #{nest(!g_50_50, !g_75_25)},
175
+ #{nest(!g_50_50, !g_25_75)},
176
+ #{nest(!g_67_33, !unit)},
177
+ #{nest(!g_33_67, !g_50_50)},
178
+ #{nest(!g_50_50, !g_67_33, !unit)},
179
+ #{nest(!g_75_25, !unit)},
180
+ #{nest(!g_75_25, !g_50_50)},
181
+ #{nest(!g_25_75, !g_50_50)},
182
+ #{nest(!g_25_75, !unit)}
183
+ float: right
184
+
185
+ /* Float units (and sub grids) to the left
186
+ #{!g_50_50},
187
+ #{!g_33_33_33},
188
+ #{!g_67_33},
189
+ #{!g_33_67},
190
+ #{!g_75_25},
191
+ #{!g_25_75},
192
+ #{nest(!g_50_50, !g_67_33)},
193
+ #{nest(!g_50_50, !g_75_25)},
194
+ #{nest(!g_67_33, "div.first")}
195
+ div.first
196
+ float: left
197
+
198
+ #{!g_50_50}
199
+ #{!unit},
200
+ #{!g_50_50},
148
201
  #{!g_33_33_33},
149
- #{!g_67_33}
150
- #{!unit}
151
- *margin-left: 1.8%
152
- _margin-left: 4%
202
+ #{!g_67_33},
203
+ #{!g_33_67},
204
+ #{!g_75_25},
205
+ #{!g_25_75}
206
+ width: 49.1%
153
207
 
154
- #{nest(!g_50_50, !g_33_33_33, !unit)}
155
- _margin-left: .8%
208
+ #{nest(!g_33_33_33, !unit)},
209
+ #{nest(!g_50_50, !g_33_33_33, !unit)},
210
+ #{nest(!g_33_33_33, !g_50_50)},
211
+ #{nest(!g_33_33_33, !g_33_33_33)},
212
+ #{nest(!g_33_33_33, !g_67_33)},
213
+ #{nest(!g_33_33_33, !g_33_67)},
214
+ #{nest(!g_33_33_33, !g_75_25)},
215
+ #{nest(!g_33_33_33, !g_25_75)},
216
+ #{nest(!g_67_33, !unit)},
217
+ #{nest(!g_67_33, !g_50_50)},
218
+ #{nest(!g_33_67, !unit)}
219
+ width: 32%
220
+ margin-left: 1.99%
156
221
 
222
+ /* Give IE some extra breathing room for 1/3-based rounding issues
157
223
  #{nest(!g_33_33_33, !unit)}
158
- float: right
224
+ *margin-left: 1.9%
225
+ *width: 31.9%
159
226
 
160
- #{nest(!g_33_33_33, "div.first")}
161
- margin-left: 0
162
- float: left
227
+ #{nest(!g_50_50, !g_33_33_33)},
228
+ #{!g_33_33_33},
229
+ #{!g_67_33},
230
+ #{!g_33_67}
231
+ div.first
232
+ margin-left: 0
233
+
234
+ /* Section: Deep Nesting
235
+ #{!g_50_50},
236
+ #{!g_33_33_33},
237
+ #{!g_67_33},
238
+ #{!g_33_67},
239
+ #{!g_75_25},
240
+ #{!g_25_75}
241
+ #{!g_50_50}
242
+ #{!unit}
243
+ width: 49%
244
+ *width: 48.1%
245
+ *margin-left: 0
246
+
247
+ #{nest(!g_50_50, !g_50_50, !unit)}
248
+ width: 48.1%
163
249
 
164
250
  #{!g_50_50},
165
251
  #{!g_33_33_33}
@@ -169,12 +255,32 @@
169
255
  *width: 32%
170
256
  _width: 31.7%
171
257
 
258
+ #{nest(!g_50_50, !g_67_33, "div.first")},
259
+ #{nest(!g_67_33, "div.first")},
260
+ #{nest(!g_33_67, !g_50_50)},
261
+ #{nest(!g_33_67, !unit)}
262
+ width: 66%
263
+
264
+ #{nest(!g_33_33_33, !g_50_50, "div.first")}
265
+ *margin-right: 4%
266
+ _margin-right: 1.3%
267
+
172
268
  #{!g_33_33_33}
173
269
  #{!g_67_33},
174
270
  #{!g_33_67}
175
271
  div.first
176
272
  *margin-right: 0
177
273
 
274
+ #{!g_33_33_33}
275
+ #{!g_33_33_33},
276
+ #{!g_67_33}
277
+ #{!unit}
278
+ *margin-left: 1.8%
279
+ _margin-left: 4%
280
+
281
+ #{nest(!g_50_50, !g_33_33_33, !unit)}
282
+ _margin-left: 1.0%
283
+
178
284
  #{nest(!g_33_33_33, !g_33_67, !unit)}
179
285
  *width: 66%
180
286
  _width: 61.2%
@@ -203,52 +309,6 @@
203
309
  #{!unit}
204
310
  margin: 0
205
311
 
206
- #{nest(!g_50_50, !unit)},
207
- #{nest(!g_50_50, !g_50_50)},
208
- #{nest(!g_50_50, !g_33_33_33)},
209
- #{nest(!g_50_50, !g_67_33)},
210
- #{nest(!g_50_50, !g_33_67)},
211
- #{nest(!g_50_50, !g_75_25)},
212
- #{nest(!g_50_50, !g_25_75)},
213
- #{nest(!g_67_33, !unit)},
214
- #{nest(!g_33_67, !g_50_50)},
215
- #{nest(!g_50_50, !g_67_33, !unit)},
216
- #{nest(!g_75_25, !unit)},
217
- #{nest(!g_75_25, !g_50_50)},
218
- #{nest(!g_25_75, !g_50_50)},
219
- #{nest(!g_25_75, !unit)}
220
- float: right
221
-
222
- #{nest(!g_50_50, !g_67_33)},
223
- #{nest(!g_50_50, !g_75_25)},
224
- #{!g_50_50},
225
- #{!g_67_33},
226
- #{nest(!g_67_33, "div.first")},
227
- #{!g_33_67},
228
- #{!g_75_25},
229
- #{!g_25_75}
230
- div.first
231
- float: left
232
-
233
- #{!g_50_50},
234
- #{!g_33_33_33},
235
- #{!g_67_33},
236
- #{!g_33_67},
237
- #{!g_75_25},
238
- #{!g_25_75}
239
- #{!g_50_50}
240
- #{!unit}
241
- width: 49%
242
- *width: 48.1%
243
- *margin-left: 0
244
-
245
- #{nest(!g_50_50, !g_50_50, "div.first")}
246
- *margin: 0
247
-
248
- #{nest(!g_33_33_33, !g_50_50, "div.first")}
249
- *margin-right: 4%
250
- _margin-right: 1.3%
251
-
252
312
  #{nest(!g_33_33_33, !g_33_33_33, !unit)}
253
313
  _margin-left: .7%
254
314
 
@@ -264,29 +324,6 @@
264
324
  *width: 48.1%
265
325
  *margin-left: 0
266
326
 
267
- #{!g_50_50}
268
- #{!unit},
269
- #{!g_50_50},
270
- #{!g_33_33_33},
271
- #{!g_67_33},
272
- #{!g_33_67},
273
- #{!g_75_25},
274
- #{!g_25_75}
275
- width: 49.1%
276
-
277
- #{nest(!g_50_50, !g_33_33_33)},
278
- #{!g_33_33_33},
279
- #{!g_67_33},
280
- #{!g_33_67}
281
- div.first
282
- margin-left: 0
283
-
284
- #{nest(!g_50_50, !g_67_33, "div.first")},
285
- #{nest(!g_67_33, "div.first")},
286
- #{nest(!g_33_67, !g_50_50)},
287
- #{nest(!g_33_67, !unit)}
288
- width: 66%
289
-
290
327
  #{!g_33_67},
291
328
  #{nest(!g_33_33_33, !g_33_67)}
292
329
  div.first
@@ -300,6 +337,11 @@
300
337
  #{nest(!g_25_75, "div.first")}
301
338
  width: 24%
302
339
 
340
+ #{nest(!g_75_25, "div.first")},
341
+ #{nest(!g_25_75, !g_50_50)},
342
+ #{nest(!g_25_75, !unit)}
343
+ width: 74.2%
344
+
303
345
  #{!g_33_33_33}
304
346
  #{!g_75_25},
305
347
  #{!g_25_75}
@@ -312,30 +354,32 @@
312
354
  div.first
313
355
  float: left
314
356
 
315
- #{nest(!g_75_25, "div.first")},
316
- #{nest(!g_25_75, !g_50_50)},
317
- #{nest(!g_25_75, !unit)}
318
- width: 74.2%
319
-
357
+ /* Width Accommodation for Nested Contexts
320
358
  #{!g_33_33_33}
321
359
  #{nest(!g_75_25, !unit)},
322
360
  #{nest(!g_25_75, "div.first")}
323
361
  *width: 24%
324
362
  _width: 20%
325
363
 
364
+ /* Width Accommodation for Nested Contexts
326
365
  #{!g_33_33_33}
327
366
  #{nest(!g_75_25, "div.first")},
328
367
  #{nest(!g_25_75, !unit)}
329
368
  *width: 73.5%
330
369
  _width: 65.5%
331
370
 
371
+ /* Patch for GD within GE
372
+ #{nest(!g_75_25, "div.first", !g_33_67, !unit)}
373
+ width: 65%
374
+
375
+ #{nest(!g_75_25, "div.first", !g_33_67, "div.first")}
376
+ width: 32%
377
+
378
+ /* @group Clearing
332
379
  #{!g_50_50},
333
380
  #{!g_33_33_33},
334
381
  #{!g_67_33},
335
382
  #{!g_33_67},
336
383
  #{!g_75_25},
337
384
  #{!g_25_75}
338
- +clearfix
339
-
340
- #{nest(!g_33_33_33, !unit)}
341
- float: left
385
+ +yui-group-clearing