compass 0.10.0.rc1 → 0.10.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (437) hide show
  1. data/CHANGELOG.markdown +23 -0
  2. data/Rakefile +13 -1
  3. data/VERSION.yml +1 -1
  4. data/examples/blueprint_default/src/ie.scss +3 -0
  5. data/examples/blueprint_default/src/print.scss +3 -0
  6. data/examples/blueprint_default/src/{screen.sass → screen.scss} +6 -5
  7. data/examples/blueprint_plugins/src/buttons.scss +47 -0
  8. data/examples/blueprint_plugins/src/ie.scss +3 -0
  9. data/examples/blueprint_plugins/src/{link_icons.sass → link_icons.scss} +7 -7
  10. data/examples/blueprint_plugins/src/print.scss +3 -0
  11. data/examples/blueprint_plugins/src/rtl_screen.scss +15 -0
  12. data/examples/blueprint_plugins/src/screen.scss +12 -0
  13. data/examples/blueprint_scoped/src/ie.scss +4 -0
  14. data/examples/blueprint_scoped/src/print.scss +4 -0
  15. data/examples/blueprint_scoped/src/screen.scss +5 -0
  16. data/examples/blueprint_scoped_form/src/ie.scss +3 -0
  17. data/examples/blueprint_scoped_form/src/print.scss +3 -0
  18. data/examples/blueprint_scoped_form/src/screen.scss +15 -0
  19. data/examples/blueprint_semantic/src/ie.scss +3 -0
  20. data/examples/blueprint_semantic/src/liquid.scss +69 -0
  21. data/examples/blueprint_semantic/src/print.scss +3 -0
  22. data/examples/blueprint_semantic/src/screen.scss +69 -0
  23. data/examples/compass/clean.rb +2 -0
  24. data/examples/compass/src/compass.scss +46 -0
  25. data/examples/compass/src/sticky_footer.scss +11 -0
  26. data/examples/compass/src/utilities.scss +108 -0
  27. data/examples/css3/src/_base.scss +13 -0
  28. data/examples/css3/src/fancy-fonts.scss +7 -0
  29. data/examples/css3/src/gradients.scss +77 -0
  30. data/examples/css3/src/main.scss +110 -0
  31. data/examples/logo/src/ie.scss +5 -0
  32. data/examples/logo/src/print.scss +3 -0
  33. data/examples/logo/src/screen.scss +28 -0
  34. data/examples/ninesixty/clean.rb +2 -0
  35. data/examples/ninesixty/config.rb +1 -0
  36. data/examples/ninesixty/src/grid.scss +15 -0
  37. data/examples/ninesixty/src/text.scss +8 -0
  38. data/examples/susy/clean.rb +2 -0
  39. data/examples/susy/config.rb +1 -0
  40. data/examples/susy/{extensions/susy/templates/project/_base.sass → src/_base.scss} +19 -20
  41. data/examples/susy/src/_defaults.scss +140 -0
  42. data/examples/susy/src/screen.scss +100 -0
  43. data/examples/yui/clean.rb +2 -0
  44. data/examples/yui/config.rb +1 -0
  45. data/examples/yui/src/screen.scss +13 -0
  46. data/features/command_line.feature +29 -26
  47. data/frameworks/_blueprint_deprecated_imports/stylesheets/_blueprint.sass +2 -0
  48. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_buttons.sass +2 -0
  49. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_colors.sass +2 -0
  50. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_debug.sass +2 -0
  51. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_fancy_type.sass +2 -0
  52. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_form.sass +2 -0
  53. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_grid.sass +2 -0
  54. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_ie.sass +2 -0
  55. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_interaction.sass +2 -0
  56. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_link_icons.sass +2 -0
  57. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_liquid.sass +2 -0
  58. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_print.sass +2 -0
  59. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_reset.sass +2 -0
  60. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_rtl.sass +2 -0
  61. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_scaffolding.sass +2 -0
  62. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_screen.sass +2 -0
  63. data/frameworks/{blueprint → _blueprint_deprecated_imports}/stylesheets/blueprint/_typography.sass +3 -3
  64. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_utilities.sass +2 -0
  65. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_buttons.sass +2 -0
  66. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_colors.sass +2 -0
  67. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_debug.sass +2 -0
  68. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_fancy_type.sass +2 -0
  69. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_form.sass +2 -0
  70. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_grid.sass +2 -0
  71. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_interaction.sass +2 -0
  72. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_link_icons.sass +2 -0
  73. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_liquid.sass +2 -0
  74. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_reset.sass +2 -0
  75. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_rtl.sass +2 -0
  76. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_scaffolding.sass +2 -0
  77. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_typography.sass +2 -0
  78. data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_utilities.sass +2 -0
  79. data/frameworks/_compass_deprecated_imports/stylesheets/_compass.sass +2 -0
  80. data/frameworks/_compass_deprecated_imports/stylesheets/compass/_css3.sass +2 -0
  81. data/frameworks/_compass_deprecated_imports/stylesheets/compass/_layout.sass +2 -0
  82. data/frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.sass +2 -0
  83. data/frameworks/_compass_deprecated_imports/stylesheets/compass/_reset.sass +2 -0
  84. data/frameworks/_compass_deprecated_imports/stylesheets/compass/_utilities.sass +2 -0
  85. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_background_clip.sass +2 -0
  86. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_background_origin.sass +2 -0
  87. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_background_size.sass +2 -0
  88. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_border_radius.sass +2 -0
  89. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_box_shadow.sass +2 -0
  90. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_box_sizing.sass +2 -0
  91. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_columns.sass +2 -0
  92. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_font_face.sass +2 -0
  93. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_gradient.sass +2 -0
  94. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_inline_block.sass +2 -0
  95. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_opacity.sass +2 -0
  96. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_text_shadow.sass +2 -0
  97. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_transform.sass +2 -0
  98. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_transition.sass +2 -0
  99. data/frameworks/_compass_deprecated_imports/stylesheets/compass/layout/_sticky_footer.sass +2 -0
  100. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_general.sass +2 -0
  101. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_links.sass +2 -0
  102. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_lists.sass +2 -0
  103. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_print.sass +2 -0
  104. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_sprites.sass +2 -0
  105. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_tables.sass +2 -0
  106. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_text.sass +2 -0
  107. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/general/_clearfix.sass +2 -0
  108. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/general/_float.sass +2 -0
  109. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/general/_hacks.sass +2 -0
  110. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/general/_min.sass +2 -0
  111. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/general/_reset.sass +2 -0
  112. data/frameworks/{compass → _compass_deprecated_imports}/stylesheets/compass/utilities/general/_tabs.sass +0 -0
  113. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/general/_tag_cloud.sass +2 -0
  114. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/links/_hover_link.sass +2 -0
  115. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/links/_link_colors.sass +2 -0
  116. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/links/_unstyled_link.sass +2 -0
  117. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/lists/_bullets.sass +2 -0
  118. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/lists/_horizontal_list.sass +2 -0
  119. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/lists/_inline_list.sass +2 -0
  120. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/sprites/_sprite_img.sass +2 -0
  121. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +2 -0
  122. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/tables/_borders.sass +2 -0
  123. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/tables/_scaffolding.sass +2 -0
  124. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/text/_ellipsis.sass +2 -0
  125. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/text/_nowrap.sass +2 -0
  126. data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/text/_replacement.sass +2 -0
  127. data/frameworks/blueprint/stylesheets/_blueprint.scss +38 -0
  128. data/frameworks/blueprint/stylesheets/blueprint/_buttons.scss +89 -0
  129. data/frameworks/blueprint/stylesheets/blueprint/_colors.scss +51 -0
  130. data/frameworks/blueprint/stylesheets/blueprint/_debug.scss +8 -0
  131. data/frameworks/blueprint/stylesheets/blueprint/_fancy-type.scss +80 -0
  132. data/frameworks/blueprint/stylesheets/blueprint/_form.scss +56 -0
  133. data/frameworks/blueprint/stylesheets/blueprint/_grid.scss +244 -0
  134. data/frameworks/blueprint/stylesheets/blueprint/_ie.scss +108 -0
  135. data/frameworks/blueprint/stylesheets/blueprint/_interaction.scss +57 -0
  136. data/frameworks/blueprint/stylesheets/blueprint/_link-icons.scss +44 -0
  137. data/frameworks/blueprint/stylesheets/blueprint/_liquid.scss +146 -0
  138. data/frameworks/blueprint/stylesheets/blueprint/_print.scss +85 -0
  139. data/frameworks/blueprint/stylesheets/blueprint/_reset.scss +58 -0
  140. data/frameworks/blueprint/stylesheets/blueprint/_rtl.scss +122 -0
  141. data/frameworks/blueprint/stylesheets/blueprint/{_scaffolding.sass → _scaffolding.scss} +27 -26
  142. data/frameworks/blueprint/stylesheets/blueprint/_typography.scss +164 -0
  143. data/frameworks/blueprint/stylesheets/blueprint/_utilities.scss +37 -0
  144. data/frameworks/blueprint/templates/basic/grid.png +0 -0
  145. data/frameworks/blueprint/templates/basic/ie.sass +4 -0
  146. data/frameworks/blueprint/templates/basic/manifest.rb +30 -0
  147. data/frameworks/blueprint/templates/basic/partials/_base.sass +10 -0
  148. data/frameworks/blueprint/templates/basic/print.sass +4 -0
  149. data/frameworks/blueprint/templates/basic/screen.sass +11 -0
  150. data/frameworks/blueprint/templates/buttons/buttons.sass +2 -2
  151. data/frameworks/blueprint/templates/link_icons/link_icons.sass +1 -1
  152. data/frameworks/blueprint/templates/project/ie.sass +1 -1
  153. data/frameworks/blueprint/templates/project/print.sass +1 -1
  154. data/frameworks/blueprint/templates/project/screen.sass +4 -4
  155. data/frameworks/blueprint/templates/semantic/grid.png +0 -0
  156. data/frameworks/blueprint/templates/semantic/ie.sass +16 -0
  157. data/frameworks/blueprint/templates/semantic/manifest.rb +33 -0
  158. data/frameworks/blueprint/templates/semantic/partials/_base.sass +11 -0
  159. data/frameworks/blueprint/templates/semantic/partials/_form.sass +6 -0
  160. data/frameworks/blueprint/templates/semantic/partials/_page.sass +18 -0
  161. data/frameworks/blueprint/templates/semantic/partials/_two_col.sass +38 -0
  162. data/frameworks/blueprint/templates/semantic/print.sass +8 -0
  163. data/frameworks/blueprint/templates/semantic/screen.sass +14 -0
  164. data/frameworks/compass/stylesheets/_compass.scss +2 -0
  165. data/frameworks/compass/stylesheets/compass/_css3.scss +14 -0
  166. data/frameworks/compass/stylesheets/compass/_layout.scss +1 -0
  167. data/frameworks/compass/stylesheets/compass/_misc.scss +21 -0
  168. data/frameworks/compass/stylesheets/compass/_reset.scss +3 -0
  169. data/frameworks/compass/stylesheets/compass/_utilities.scss +6 -0
  170. data/frameworks/compass/stylesheets/compass/css3/_background-clip.scss +24 -0
  171. data/frameworks/compass/stylesheets/compass/css3/_background-origin.scss +24 -0
  172. data/frameworks/compass/stylesheets/compass/css3/_background-size.scss +15 -0
  173. data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +58 -0
  174. data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +27 -0
  175. data/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss +14 -0
  176. data/frameworks/compass/stylesheets/compass/css3/_columns.scss +50 -0
  177. data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +32 -0
  178. data/frameworks/compass/stylesheets/compass/css3/_gradient.scss +57 -0
  179. data/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +13 -0
  180. data/frameworks/compass/stylesheets/compass/css3/_opacity.scss +19 -0
  181. data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +18 -0
  182. data/frameworks/compass/stylesheets/compass/css3/_transform.scss +64 -0
  183. data/frameworks/compass/stylesheets/compass/css3/_transition.scss +77 -0
  184. data/frameworks/compass/stylesheets/compass/layout/_sticky-footer.scss +23 -0
  185. data/frameworks/compass/stylesheets/compass/utilities/_general.scss +6 -0
  186. data/frameworks/compass/stylesheets/compass/utilities/_links.scss +3 -0
  187. data/frameworks/compass/stylesheets/compass/utilities/_lists.scss +3 -0
  188. data/frameworks/compass/stylesheets/compass/utilities/_print.scss +18 -0
  189. data/frameworks/compass/stylesheets/compass/utilities/_sprites.scss +1 -0
  190. data/frameworks/compass/stylesheets/compass/utilities/_tables.scss +3 -0
  191. data/frameworks/compass/stylesheets/compass/utilities/_text.scss +2 -0
  192. data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss +24 -0
  193. data/frameworks/compass/stylesheets/compass/utilities/general/{_float.sass → _float.scss} +9 -9
  194. data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +13 -0
  195. data/frameworks/compass/stylesheets/compass/utilities/general/_min.scss +16 -0
  196. data/frameworks/compass/stylesheets/compass/utilities/general/_reset.scss +122 -0
  197. data/frameworks/{blueprint/stylesheets/blueprint/docs/_colors.sass.html → compass/stylesheets/compass/utilities/general/_tabs.scss} +0 -0
  198. data/frameworks/compass/stylesheets/compass/utilities/general/_tag-cloud.scss +18 -0
  199. data/frameworks/compass/stylesheets/compass/utilities/links/_hover-link.scss +5 -0
  200. data/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss +22 -0
  201. data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled-link.scss +7 -0
  202. data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.scss +22 -0
  203. data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss +55 -0
  204. data/frameworks/compass/stylesheets/compass/utilities/lists/{_inline_list.sass → _inline-list.scss} +17 -17
  205. data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss +54 -0
  206. data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss +20 -0
  207. data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.scss +27 -0
  208. data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.scss +9 -0
  209. data/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.scss +12 -0
  210. data/frameworks/compass/stylesheets/compass/utilities/text/{_nowrap.sass → _nowrap.scss} +2 -2
  211. data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.scss +21 -0
  212. data/frameworks/compass/templates/ellipsis/ellipsis.sass +1 -1
  213. data/frameworks/compass/templates/project/screen.sass +1 -1
  214. data/lib/compass/commands/create_project.rb +4 -0
  215. data/lib/compass/commands/help.rb +1 -0
  216. data/lib/compass/commands/list_frameworks.rb +1 -1
  217. data/lib/compass/commands/stamp_pattern.rb +4 -0
  218. data/lib/compass/configuration.rb +2 -1
  219. data/lib/compass/configuration/defaults.rb +3 -0
  220. data/lib/compass/frameworks.rb +2 -1
  221. data/lib/compass/installers/base.rb +14 -1
  222. data/lib/compass/logger.rb +8 -7
  223. data/lib/compass/stats.rb +1 -1
  224. data/test/command_line_test.rb +9 -8
  225. data/test/fixtures/stylesheets/blueprint/css/typography.css +4 -4
  226. data/test/fixtures/stylesheets/blueprint/sass/ie.sass +1 -1
  227. data/test/fixtures/stylesheets/blueprint/sass/print.sass +1 -1
  228. data/test/fixtures/stylesheets/blueprint/sass/screen.sass +2 -1
  229. data/test/fixtures/stylesheets/blueprint/sass/typography.sass +1 -1
  230. data/test/fixtures/stylesheets/compass/css/gradients.css +4 -4
  231. data/test/fixtures/stylesheets/compass/css/reset.css +2 -2
  232. data/test/fixtures/stylesheets/compass/sass/gradients.sass +40 -23
  233. data/test/fixtures/stylesheets/compass/sass/image_size.sass +11 -8
  234. data/test/fixtures/stylesheets/compass/sass/layout.sass +2 -2
  235. data/test/fixtures/stylesheets/compass/sass/print.sass +2 -2
  236. data/test/fixtures/stylesheets/compass/sass/reset.sass +6 -4
  237. data/test/fixtures/stylesheets/compass/sass/utilities.sass +2 -1
  238. data/test/fixtures/stylesheets/image_urls/sass/screen.sass +2 -3
  239. data/test/fixtures/stylesheets/relative/sass/ie.sass +5 -6
  240. data/test/fixtures/stylesheets/relative/sass/print.sass +3 -6
  241. data/test/fixtures/stylesheets/relative/sass/screen.sass +1 -2
  242. data/test/rails_integration_test.rb +2 -2
  243. metadata +209 -211
  244. data/examples/blueprint_default/src/ie.sass +0 -3
  245. data/examples/blueprint_default/src/print.sass +0 -3
  246. data/examples/blueprint_plugins/src/buttons.sass +0 -49
  247. data/examples/blueprint_plugins/src/ie.sass +0 -3
  248. data/examples/blueprint_plugins/src/print.sass +0 -3
  249. data/examples/blueprint_plugins/src/rtl_screen.sass +0 -13
  250. data/examples/blueprint_plugins/src/screen.sass +0 -11
  251. data/examples/blueprint_scoped/src/ie.sass +0 -4
  252. data/examples/blueprint_scoped/src/print.sass +0 -4
  253. data/examples/blueprint_scoped/src/screen.sass +0 -5
  254. data/examples/blueprint_scoped_form/src/ie.sass +0 -3
  255. data/examples/blueprint_scoped_form/src/print.sass +0 -3
  256. data/examples/blueprint_scoped_form/src/screen.sass +0 -10
  257. data/examples/blueprint_semantic/src/ie.sass +0 -3
  258. data/examples/blueprint_semantic/src/liquid.sass +0 -69
  259. data/examples/blueprint_semantic/src/print.sass +0 -3
  260. data/examples/blueprint_semantic/src/screen.sass +0 -70
  261. data/examples/compass/extensions/yui/stylesheets/_yui.sass +0 -7
  262. data/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass +0 -70
  263. data/examples/compass/extensions/yui/stylesheets/yui/modules/_fonts.sass +0 -45
  264. data/examples/compass/extensions/yui/stylesheets/yui/modules/_grids.sass +0 -385
  265. data/examples/compass/extensions/yui/stylesheets/yui/modules/_reset.sass +0 -61
  266. data/examples/compass/extensions/yui/templates/project/manifest.rb +0 -1
  267. data/examples/compass/extensions/yui/templates/project/screen.sass +0 -4
  268. data/examples/compass/src/compass.sass +0 -47
  269. data/examples/compass/src/sticky_footer.sass +0 -11
  270. data/examples/compass/src/utilities.sass +0 -108
  271. data/examples/css3/src/_base.sass +0 -14
  272. data/examples/css3/src/fancy-fonts.sass +0 -7
  273. data/examples/css3/src/gradients.sass +0 -69
  274. data/examples/css3/src/main.sass +0 -108
  275. data/examples/logo/src/ie.sass +0 -6
  276. data/examples/logo/src/print.sass +0 -6
  277. data/examples/logo/src/screen.sass +0 -29
  278. data/examples/ninesixty/extensions/ninesixty/README.mkdn +0 -56
  279. data/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec +0 -36
  280. data/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb +0 -1
  281. data/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb +0 -5
  282. data/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass +0 -64
  283. data/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass +0 -59
  284. data/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass +0 -34
  285. data/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb +0 -2
  286. data/examples/ninesixty/extensions/ninesixty/templates/project/text.sass +0 -10
  287. data/examples/ninesixty/src/grid.sass +0 -16
  288. data/examples/ninesixty/src/text.sass +0 -10
  289. data/examples/susy/extensions/susy/LICENSE.txt +0 -28
  290. data/examples/susy/extensions/susy/README.mkdn +0 -235
  291. data/examples/susy/extensions/susy/compass-susy-plugin.gemspec +0 -35
  292. data/examples/susy/extensions/susy/docs/tutorial/build.sh +0 -141
  293. data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass +0 -100
  294. data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass +0 -98
  295. data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass +0 -147
  296. data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass +0 -19
  297. data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass +0 -147
  298. data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass +0 -48
  299. data/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb +0 -14
  300. data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png +0 -0
  301. data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png +0 -0
  302. data/examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass +0 -63
  303. data/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl +0 -1450
  304. data/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass +0 -100
  305. data/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass +0 -91
  306. data/examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png +0 -0
  307. data/examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png +0 -0
  308. data/examples/susy/extensions/susy/docs/tutorial/index.mkdn +0 -301
  309. data/examples/susy/extensions/susy/lib/susy.rb +0 -2
  310. data/examples/susy/extensions/susy/lib/susy/compass_plugin.rb +0 -5
  311. data/examples/susy/extensions/susy/lib/susy/sass_extensions.rb +0 -79
  312. data/examples/susy/extensions/susy/sass/susy/_grid.sass +0 -128
  313. data/examples/susy/extensions/susy/sass/susy/_reset.sass +0 -7
  314. data/examples/susy/extensions/susy/sass/susy/_susy.sass +0 -23
  315. data/examples/susy/extensions/susy/sass/susy/_text.sass +0 -15
  316. data/examples/susy/extensions/susy/sass/susy/_utils.sass +0 -81
  317. data/examples/susy/extensions/susy/templates/project/_defaults.sass +0 -147
  318. data/examples/susy/extensions/susy/templates/project/ie.sass +0 -9
  319. data/examples/susy/extensions/susy/templates/project/manifest.rb +0 -5
  320. data/examples/susy/extensions/susy/templates/project/print.sass +0 -7
  321. data/examples/susy/extensions/susy/templates/project/screen.sass +0 -44
  322. data/examples/susy/src/_base.sass +0 -62
  323. data/examples/susy/src/_defaults.sass +0 -148
  324. data/examples/susy/src/screen.sass +0 -114
  325. data/examples/yui/extensions/yui/stylesheets/_yui.sass +0 -7
  326. data/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass +0 -70
  327. data/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass +0 -45
  328. data/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass +0 -385
  329. data/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass +0 -61
  330. data/examples/yui/extensions/yui/templates/project/manifest.rb +0 -1
  331. data/examples/yui/extensions/yui/templates/project/screen.sass +0 -4
  332. data/examples/yui/src/screen.sass +0 -13
  333. data/frameworks/blueprint/stylesheets/_blueprint.sass +0 -31
  334. data/frameworks/blueprint/stylesheets/blueprint/_buttons.sass +0 -84
  335. data/frameworks/blueprint/stylesheets/blueprint/_colors.sass +0 -33
  336. data/frameworks/blueprint/stylesheets/blueprint/_debug.sass +0 -9
  337. data/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass +0 -82
  338. data/frameworks/blueprint/stylesheets/blueprint/_form.sass +0 -56
  339. data/frameworks/blueprint/stylesheets/blueprint/_grid.sass +0 -179
  340. data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +0 -99
  341. data/frameworks/blueprint/stylesheets/blueprint/_interaction.sass +0 -58
  342. data/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass +0 -44
  343. data/frameworks/blueprint/stylesheets/blueprint/_liquid.sass +0 -143
  344. data/frameworks/blueprint/stylesheets/blueprint/_print.sass +0 -87
  345. data/frameworks/blueprint/stylesheets/blueprint/_reset.sass +0 -58
  346. data/frameworks/blueprint/stylesheets/blueprint/_rtl.sass +0 -123
  347. data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +0 -2
  348. data/frameworks/blueprint/stylesheets/blueprint/_utilities.sass +0 -37
  349. data/frameworks/blueprint/stylesheets/blueprint/docs/_buttons.sass.html +0 -26
  350. data/frameworks/blueprint/stylesheets/blueprint/docs/_debug.sass.html +0 -1
  351. data/frameworks/blueprint/stylesheets/blueprint/docs/_fancy_type.sass.html +0 -45
  352. data/frameworks/blueprint/stylesheets/blueprint/docs/_form.sass.html +0 -3
  353. data/frameworks/blueprint/stylesheets/blueprint/docs/_grid.sass.html +0 -46
  354. data/frameworks/blueprint/stylesheets/blueprint/docs/_ie.sass.html +0 -7
  355. data/frameworks/blueprint/stylesheets/blueprint/docs/_interaction.sass.html +0 -1
  356. data/frameworks/blueprint/stylesheets/blueprint/docs/_link_icons.sass.html +0 -1
  357. data/frameworks/blueprint/stylesheets/blueprint/docs/_liquid.sass.html +0 -7
  358. data/frameworks/blueprint/stylesheets/blueprint/docs/_print.sass.html +0 -7
  359. data/frameworks/blueprint/stylesheets/blueprint/docs/_reset.sass.html +0 -7
  360. data/frameworks/blueprint/stylesheets/blueprint/docs/_rtl.sass.html +0 -38
  361. data/frameworks/blueprint/stylesheets/blueprint/docs/_scaffolding.sass.html +0 -11
  362. data/frameworks/blueprint/stylesheets/blueprint/docs/_screen.sass.html +0 -1
  363. data/frameworks/blueprint/stylesheets/blueprint/docs/_typography.sass.html +0 -3
  364. data/frameworks/blueprint/stylesheets/blueprint/docs/_utilities.sass.html +0 -3
  365. data/frameworks/blueprint/stylesheets/blueprint/docs/index.html +0 -31
  366. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_buttons.sass.html +0 -1
  367. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_colors.sass.html +0 -1
  368. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_debug.sass.html +0 -1
  369. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_fancy_type.sass.html +0 -1
  370. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_form.sass.html +0 -1
  371. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_grid.sass.html +0 -1
  372. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_interaction.sass.html +0 -1
  373. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_link_icons.sass.html +0 -1
  374. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_liquid.sass.html +0 -1
  375. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_reset.sass.html +0 -1
  376. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_rtl.sass.html +0 -1
  377. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_scaffolding.sass.html +0 -1
  378. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_typography.sass.html +0 -1
  379. data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_utilities.sass.html +0 -1
  380. data/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +0 -2
  381. data/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +0 -2
  382. data/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +0 -2
  383. data/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +0 -2
  384. data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +0 -2
  385. data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +0 -2
  386. data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +0 -2
  387. data/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +0 -2
  388. data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +0 -3
  389. data/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +0 -2
  390. data/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +0 -2
  391. data/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +0 -2
  392. data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +0 -2
  393. data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +0 -2
  394. data/frameworks/compass/stylesheets/_compass.sass +0 -2
  395. data/frameworks/compass/stylesheets/compass/_css3.sass +0 -14
  396. data/frameworks/compass/stylesheets/compass/_layout.sass +0 -1
  397. data/frameworks/compass/stylesheets/compass/_misc.sass +0 -24
  398. data/frameworks/compass/stylesheets/compass/_reset.sass +0 -3
  399. data/frameworks/compass/stylesheets/compass/_utilities.sass +0 -6
  400. data/frameworks/compass/stylesheets/compass/css3/_background_clip.sass +0 -16
  401. data/frameworks/compass/stylesheets/compass/css3/_background_origin.sass +0 -18
  402. data/frameworks/compass/stylesheets/compass/css3/_background_size.sass +0 -14
  403. data/frameworks/compass/stylesheets/compass/css3/_border_radius.sass +0 -47
  404. data/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass +0 -20
  405. data/frameworks/compass/stylesheets/compass/css3/_box_sizing.sass +0 -13
  406. data/frameworks/compass/stylesheets/compass/css3/_columns.sass +0 -37
  407. data/frameworks/compass/stylesheets/compass/css3/_font_face.sass +0 -31
  408. data/frameworks/compass/stylesheets/compass/css3/_gradient.sass +0 -58
  409. data/frameworks/compass/stylesheets/compass/css3/_inline_block.sass +0 -7
  410. data/frameworks/compass/stylesheets/compass/css3/_opacity.sass +0 -18
  411. data/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass +0 -15
  412. data/frameworks/compass/stylesheets/compass/css3/_transform.sass +0 -62
  413. data/frameworks/compass/stylesheets/compass/css3/_transition.sass +0 -57
  414. data/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +0 -20
  415. data/frameworks/compass/stylesheets/compass/utilities/_general.sass +0 -5
  416. data/frameworks/compass/stylesheets/compass/utilities/_links.sass +0 -3
  417. data/frameworks/compass/stylesheets/compass/utilities/_lists.sass +0 -3
  418. data/frameworks/compass/stylesheets/compass/utilities/_print.sass +0 -18
  419. data/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +0 -1
  420. data/frameworks/compass/stylesheets/compass/utilities/_tables.sass +0 -3
  421. data/frameworks/compass/stylesheets/compass/utilities/_text.sass +0 -2
  422. data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +0 -24
  423. data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +0 -15
  424. data/frameworks/compass/stylesheets/compass/utilities/general/_min.sass +0 -17
  425. data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +0 -134
  426. data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +0 -19
  427. data/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +0 -5
  428. data/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +0 -24
  429. data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +0 -7
  430. data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +0 -21
  431. data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +0 -56
  432. data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +0 -52
  433. data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +0 -20
  434. data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +0 -27
  435. data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +0 -9
  436. data/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass +0 -13
  437. data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +0 -22
@@ -0,0 +1,44 @@
1
+ @mixin no-link-icon {
2
+ background: transparent none !important;
3
+ padding: 0 !important;
4
+ margin: 0 !important; }
5
+
6
+ @mixin link-icon-base {
7
+ padding: 2px 22px 2px 0;
8
+ margin: -2px 0;
9
+ background-repeat: no-repeat;
10
+ background-position: right center; }
11
+
12
+ @mixin link-icon($name, $include_base: true) {
13
+ @if $include_base {
14
+ @include link-icon-base; }
15
+ background-image: image_url("link_icons/#{$name}"); }
16
+
17
+ @mixin link-icons {
18
+ a[href^="http:"],
19
+ a[href^="mailto:"],
20
+ a[href^="http:"]:visited,
21
+ a[href$=".pdf"],
22
+ a[href$=".doc"],
23
+ a[href$=".xls"],
24
+ a[href$=".rss"],
25
+ a[href$=".rdf"],
26
+ a[href^="aim:"] {
27
+ @include link-icon-base; }
28
+ a[href^="http:"] {
29
+ @include link-icon(unquote("external.png"), false); }
30
+ a[href^="mailto:"] {
31
+ @include link-icon(unquote("email.png"), false); }
32
+ a[href^="http:"]:visited {
33
+ @include link-icon(unquote("visited.png"), false); }
34
+ a[href$=".pdf"] {
35
+ @include link-icon(unquote("pdf.png"), false); }
36
+ a[href$=".doc"] {
37
+ @include link-icon(unquote("doc.png"), false); }
38
+ a[href$=".xls"] {
39
+ @include link-icon(unquote("xls.png"), false); }
40
+ a[href$=".rss"],
41
+ a[href$=".rdf"] {
42
+ @include link-icon(unquote("feed.png"), false); }
43
+ a[href^="aim:"] {
44
+ @include link-icon(unquote("im.png"), false); } }
@@ -0,0 +1,146 @@
1
+ // --------------------------------------------------------------
2
+ // SASS Gridification
3
+ // * Author: Geoff Garside
4
+ // A SASS adaptation of Blueprint CSS
5
+ // * Version: 0.7.1 (2008-02-25)
6
+ // * Website: http://code.google.com/p/blueprintcss/
7
+ // Based on work by:
8
+ // * Chris Eppstein [eppsteins.net]
9
+ // * Lorin Tacket [lorintackett.com]
10
+ // * Olav Bjorkoy [bjorkoy.com]
11
+ // * Nathan Borror [playgroundblues.com]
12
+ // * Jeff Croft [jeffcroft.com]
13
+ // * Christian Metts [mintchaos.com]
14
+ // * Khoi Vinh [subtraction.com]
15
+ // Liquid grid work by:
16
+ // * Ben Listwon
17
+ // * David Bedingfield
18
+ // * Andrei Michael Herasimchuk
19
+ // Involution Studios, http://www.involutionstudios.com
20
+ // Read more about using a grid here:
21
+ // * subtraction.com/archives/2007/0318_oh_yeeaahh.php
22
+ // -----
23
+ // By default, the grid is 80% of window width, with 24 columns.
24
+ //
25
+ // To make the grid fixed, simply change the .container width
26
+ // property to a pixel value. e.g., 960px.
27
+ // -----
28
+ // To use:
29
+ // This module is a REPLACEMENT for the grid module. Simply import it:
30
+ // @import blueprint
31
+ // @import blueprint/liquid
32
+ // -------------------------------------------------------------------
33
+
34
+ @import "compass/utilities/general/float";
35
+
36
+ // Main layout grid, override these constants to build your grid and container sizes.
37
+ // The width shown gives the right floored percentage values.
38
+ $blueprint_liquid_grid_columns: 24 !default;
39
+
40
+ $blueprint_liquid_grid_width: 3.167% !default;
41
+
42
+ $blueprint_liquid_grid_margin: 1.042% !default;
43
+
44
+ // Do not edit below this line unless you really know what you're doing.
45
+ $blueprint_liquid_container_width: 80% !default;
46
+
47
+ $blueprint_liquid_container_min_width: 950px !default;
48
+
49
+ $blueprint_liquid_grid_push_pull: -($blueprint_liquid_grid_margin + $blueprint_liquid_grid_width) !default;
50
+
51
+ @mixin blueprint-liquid-grid {
52
+ // A container should group all your columns
53
+ .container {
54
+ @include container; }
55
+ // Use these classes (or mixins) to set the width of a column.
56
+ @for $n from 1 to $blueprint_liquid_grid_columns + 1 {
57
+ .span-#{$n} {
58
+ @include span($n); }
59
+ div {
60
+ &.span-#{$n} {
61
+ @include column($n, $n == $blueprint_liquid_grid_columns); } } }
62
+ // The last column in a row needs this class (or mixin) or it will end up on the next row.
63
+ div.last {
64
+ @include last; }
65
+ // Add these to a column to append empty cols.
66
+ @for $n from 1 to $blueprint_liquid_grid_columns {
67
+ .append-#{$n} {
68
+ @include append($n); } }
69
+ // Add these to a column to prepend empty cols.
70
+ @for $n from 1 to $blueprint_liquid_grid_columns {
71
+ .prepend-#{$n} {
72
+ @include prepend($n); } }
73
+ // Use these classes on an element to push it into the
74
+ // next column, or to pull it into the previous column.
75
+ @for $n from 1 to $blueprint_liquid_grid_columns + 1 {
76
+ .pull-#{$n} {
77
+ @include pull($n); } }
78
+ @for $n from 1 to $blueprint_liquid_grid_columns + 1 {
79
+ .push-#{$n} {
80
+ @include push($n); } } }
81
+
82
+ @mixin container {
83
+ min-width: $blueprint_liquid_container_min_width;
84
+ width: $blueprint_liquid_container_width;
85
+ margin: 0 auto;
86
+ @include clearfix; }
87
+
88
+ @mixin span($n, $override: false) {
89
+ $width: $blueprint_liquid_grid_width * $n + $blueprint_liquid_grid_margin * ($n - 1);
90
+ @if $override {
91
+ width: $width !important; }
92
+ @else {
93
+ width: $width; } }
94
+
95
+ @mixin last {
96
+ margin-right: 0; }
97
+
98
+ @mixin column($n, $last: false) {
99
+ @include float-left;
100
+ overflow: hidden;
101
+ @include span($n);
102
+ @if $last {
103
+ @include last; }
104
+ @else {
105
+ margin-right: $blueprint_liquid_grid_margin; } }
106
+
107
+ @mixin append($n) {
108
+ padding-right: ($blueprint_liquid_grid_width + $blueprint_liquid_grid_margin) * $n; }
109
+
110
+ @mixin prepend($n) {
111
+ padding-left: ($blueprint_liquid_grid_width + $blueprint_liquid_grid_margin) * $n; }
112
+
113
+ @mixin pull($n, $last: false) {
114
+ margin-left: $blueprint_liquid_grid_push_pull * $n; }
115
+
116
+ @mixin push($n) {
117
+ @include float-right;
118
+ margin: {
119
+ top: 0;
120
+ left: $blueprint_liquid_grid_margin;
121
+ right: $blueprint_liquid_grid_push_pull * $n;
122
+ bottom: 0; }; }
123
+
124
+ @mixin border {
125
+ border-right: 1px solid #eeeeee; }
126
+
127
+ @mixin colborder {
128
+ padding-right: $blueprint_liquid_grid_margin * 2;
129
+ margin-right: $blueprint_liquid_grid_margin * 2;
130
+ @include border; }
131
+
132
+ @mixin colruler {
133
+ background: #dddddd;
134
+ color: #dddddd;
135
+ clear: both;
136
+ width: 100%;
137
+ height: 0.083em;
138
+ margin: 0;
139
+ margin-left: $blueprint_liquid_grid_margin * 2;
140
+ margin-right: $blueprint_liquid_grid_margin * 2;
141
+ border: none; }
142
+
143
+ @mixin colspacer {
144
+ @include colruler;
145
+ background: white;
146
+ color: white; }
@@ -0,0 +1,85 @@
1
+ @import "typography";
2
+ @import "compass/utilities/general/float";
3
+
4
+ // Usage examples:
5
+ // As a top-level mixin, apply to any page that includes the stylesheet:
6
+ // +blueprint-print
7
+ // Scoped by a presentational class:
8
+ // body.blueprint
9
+ // +blueprint-print(true)
10
+ // Scoped by semantic selectors:
11
+ // body#page-1, body#page-2, body.a-special-page-type
12
+ // +blueprint-print(true)
13
+ // Deprecated:
14
+ // You can pass the body selector as the first argument when used as a top-level mixin
15
+ // +blueprint-print("body#page-1, body#page-2, body.a-special-page-type")
16
+ @mixin blueprint-print($body_selector: body) {
17
+ @if $body_selector == true {
18
+ @include blueprint-print-body;
19
+ @include blueprint-print-defaults; }
20
+ @else {
21
+ #{$body_selector} {
22
+ @include blueprint-print-body;
23
+ @if $body_selector != "body" {
24
+ @warn "[DEPRECATED] To specify a the selector \"#{$body_selector}\" to +blueprint-print, pass true as the first argument and mix it into #{$body_selector}.";
25
+ @include blueprint-print-defaults; } }
26
+ @if $body_selector == "body" {
27
+ @include blueprint-print-defaults; } } }
28
+
29
+ // This style is in blueprint, but I think it's annoying and it doesn't work in all browsers.
30
+ // Feel free to mix it into anchors where you want it.
31
+ @mixin blueprint-show-link-urls {
32
+ &:after {
33
+ content: " (" attr(href) ")";
34
+ font-size: 90%; } }
35
+
36
+ @mixin blueprint-print-body {
37
+ line-height: 1.5;
38
+ font-family: $blueprint_font_family;
39
+ color: black;
40
+ background: none;
41
+ font-size: 10pt; }
42
+
43
+ @mixin blueprint-print-defaults {
44
+ .container {
45
+ background: none; }
46
+ hr {
47
+ background: #cccccc;
48
+ color: #cccccc;
49
+ width: 100%;
50
+ height: 2px;
51
+ margin: 2em 0;
52
+ padding: 0;
53
+ border: none;
54
+ &.space {
55
+ background: white;
56
+ color: white; } }
57
+ h1, h2, h3, h4, h5, h6 {
58
+ font-family: $blueprint_font_family; }
59
+ code {
60
+ font: {
61
+ size: 0.9em;
62
+ family: $blueprint_fixed_font_family; }; }
63
+ a {
64
+ img {
65
+ border: none; }
66
+ &:link,
67
+ &:visited {
68
+ background: transparent;
69
+ font-weight: 700;
70
+ text-decoration: underline; } }
71
+ p img.top {
72
+ margin-top: 0; }
73
+ blockquote {
74
+ margin: 1.5em;
75
+ padding: 1em;
76
+ font-style: italic;
77
+ font-size: 0.9em; }
78
+ .small {
79
+ font-size: 0.9em; }
80
+ .large {
81
+ font-size: 1.1em; }
82
+ .quiet {
83
+ color: #999999; }
84
+ .hide {
85
+ display: none; } }
@@ -0,0 +1,58 @@
1
+ // Global reset rules.
2
+ // For more specific resets, use the reset mixins provided below
3
+ @mixin blueprint-global-reset {
4
+ html, body {
5
+ @include blueprint-reset; }
6
+ html {
7
+ font-size: 100.01%; }
8
+ @include blueprint-nested-reset; }
9
+
10
+ // Reset all elements within some selector scope.To reset the selector itself,
11
+ // mixin the appropriate reset mixin for that element type as well. This could be
12
+ // useful if you want to style a part of your page in a dramatically different way.
13
+ @mixin blueprint-nested-reset {
14
+ div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
15
+ pre, a, abbr, acronym, address, code, del, dfn, em, img,
16
+ dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr {
17
+ @include blueprint-reset; }
18
+ blockquote, q {
19
+ @include blueprint-reset-quotation; }
20
+ th, td, caption {
21
+ @include blueprint-reset-table-cell; }
22
+ table {
23
+ @include blueprint-reset-table; }
24
+ a img {
25
+ border: none; } }
26
+
27
+ @mixin blueprint-reset-box-model {
28
+ margin: 0;
29
+ padding: 0;
30
+ border: 0; }
31
+
32
+ @mixin blueprint-reset {
33
+ @include blueprint-reset-box-model;
34
+ font: {
35
+ weight: inherit;
36
+ style: inherit;
37
+ size: 100%;
38
+ family: inherit; };
39
+ vertical-align: baseline; }
40
+
41
+ @mixin blueprint-reset-quotation {
42
+ @include blueprint-reset;
43
+ quotes: "" "";
44
+ &:before,
45
+ &:after {
46
+ content: ""; } }
47
+
48
+ @mixin blueprint-reset-table-cell {
49
+ @include blueprint-reset;
50
+ text-align: left;
51
+ font-weight: normal;
52
+ vertical-align: middle; }
53
+
54
+ @mixin blueprint-reset-table {
55
+ @include blueprint-reset;
56
+ border-collapse: separate;
57
+ border-spacing: 0;
58
+ vertical-align: middle; }
@@ -0,0 +1,122 @@
1
+ @import "grid";
2
+ @import "compass/utilities/general/float";
3
+
4
+ // Main layout grid, override these constants to build your grid and container sizes.
5
+ $blueprint_grid_columns: 24 !default;
6
+
7
+ $blueprint_grid_width: 30px !default;
8
+
9
+ $blueprint_grid_margin: 10px !default;
10
+
11
+ $blueprint_grid_outer_width: $blueprint_grid_width + $blueprint_grid_margin;
12
+
13
+ $blueprint_container_size: $blueprint_grid_outer_width * $blueprint_grid_columns - $blueprint_grid_margin;
14
+
15
+ // Columns
16
+ // Note: If you use this mixin without the class and want to support ie6
17
+ // you must set text-align left on your container element in an IE stylesheet.
18
+ @mixin container {
19
+ width: $blueprint_container_size;
20
+ margin: 0 auto;
21
+ direction: rtl;
22
+ @include clearfix; }
23
+
24
+ // The last column in a row needs this mixin or it will end up on the next row.
25
+ // TODO add this to span mixin when we have optional arguments
26
+ @mixin last {
27
+ margin-left: 0; }
28
+
29
+ @mixin column-base($last: false) {
30
+ @include float-right;
31
+ @if $last {
32
+ @include last; }
33
+ @else {
34
+ margin-left: $blueprint_grid_margin; }
35
+ text-align: right;
36
+ * html & {
37
+ overflow-x: hidden; } }
38
+
39
+ // Mixin to a column to append n empty cols.
40
+ @mixin append($n) {
41
+ padding-left: $blueprint_grid_outer_width * $n; }
42
+
43
+ // Mixin to a column to prepend n empty cols.
44
+ @mixin prepend($n) {
45
+ padding-right: $blueprint_grid_outer_width * $n; }
46
+
47
+ // mixin to a column to move it n columns to the left
48
+ @mixin pull($n, $last: false) {
49
+ position: relative;
50
+ @if $last {
51
+ margin-right: -$blueprint_grid_outer_width * $n + $blueprint_grid_margin; }
52
+ @else {
53
+ margin-right: -$blueprint_grid_outer_width * $n; } }
54
+
55
+ // mixin to a column to push it n columns to the right
56
+ @mixin push($n) {
57
+ @include float-right;
58
+ position: relative;
59
+ margin: {
60
+ top: 0;
61
+ left: -$blueprint_grid_outer_width * $n;
62
+ bottom: 1.5em;
63
+ right: $blueprint_grid_outer_width * $n; }; }
64
+
65
+ // Border on left hand side of a column.
66
+ @mixin border {
67
+ padding-left: $blueprint_grid_margin / 2 - 1;
68
+ margin-left: $blueprint_grid_margin / 2;
69
+ border-left: 1px solid #eeeeee; }
70
+
71
+ // Border with more whitespace, spans one column.
72
+ @mixin colborder {
73
+ padding-left: ($blueprint_grid_width - 2 * $blueprint_grid_margin - 1) / 2;
74
+ margin-left: ($blueprint_grid_width - 2 * $blueprint_grid_margin) / 2;
75
+ border-left: 1px solid #eeeeee; }
76
+
77
+ // Usage examples:
78
+ // As a top-level mixin, apply to any page that includes the stylesheet:
79
+ // +rtl-typography
80
+ // Scoped by a presentational class:
81
+ // body.blueprint
82
+ // +rtl-typography(true)
83
+ // Scoped by semantic selectors:
84
+ // body#page-1, body#page-2, body.a-special-page-type
85
+ // +rtl-typography(true)
86
+ // Deprecated:
87
+ // You can pass the body selector as the first argument when used as a top-level mixin
88
+ // +rtl-typography("body#page-1, body#page-2, body.a-special-page-type")
89
+ @mixin rtl-typography($body_selector: body) {
90
+ @if $body_selector == true {
91
+ html & {
92
+ font-family: Arial, sans-serif; }
93
+ @include rtl-typography-defaults; }
94
+ @else {
95
+ html #{$body_selector} {
96
+ font-family: Arial, sans-serif;
97
+ @if $body_selector != "body" {
98
+ @warn "[DEPRECATED] To specify a the selector \"#{$body_selector}\" to +rtl-typography, pass true as the first argument and mix it into #{$body_selector}.";
99
+ @include rtl-typography-defaults; } }
100
+ @if $body_selector == "body" {
101
+ body {
102
+ @include rtl-typography-defaults; } } } }
103
+
104
+ @mixin rtl-typography-defaults {
105
+ h1, h2, h3, h4, h5, h6 {
106
+ font-family: Arial, sans-serif; }
107
+ pre, code, tt {
108
+ font-family: monospace; }
109
+ p {
110
+ img.right {
111
+ @include float-left;
112
+ margin: 1.5em 1.5em 1.5em 0;
113
+ padding: 0; }
114
+ img.left {
115
+ @include float-right;
116
+ margin: 1.5em 0 1.5em 1.5em;
117
+ padding: 0; } }
118
+ dd, ul, ol {
119
+ margin-left: 0;
120
+ margin-right: 1.5em; }
121
+ td, th {
122
+ text-align: right; } }