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,18 @@
1
+ // Emits styles for a tag cloud
2
+ @mixin tag-cloud($base-size: 1em) {
3
+ font-size: $base-size;
4
+ line-height: 1.2 * $base-size;
5
+ .xxs, .xs, .s, .l, .xl, .xxl {
6
+ line-height: 1.2 * $base-size; }
7
+ .xxs {
8
+ font-size: $base-size / 2; }
9
+ .xs {
10
+ font-size: 2 * $base-size / 3; }
11
+ .s {
12
+ font-size: 3 * $base-size / 4; }
13
+ .l {
14
+ font-size: 4 * $base-size / 3; }
15
+ .xl {
16
+ font-size: 3 * $base-size / 2; }
17
+ .xxl {
18
+ font-size: 2 * $base-size; } }
@@ -0,0 +1,5 @@
1
+ // a link that only has an underline when you hover over it
2
+ @mixin hover-link {
3
+ text-decoration: none;
4
+ &:hover {
5
+ text-decoration: underline; } }
@@ -0,0 +1,22 @@
1
+ // Set all the colors for a link with one mixin call
2
+ // Order of arguments is:
3
+ // normal, hover, active, visited, focus
4
+ // states not specified will inherit.
5
+ // Mixin like so:
6
+ // a
7
+ // +link-colors(#00c, #0cc, #c0c, #ccc, #cc0)
8
+
9
+ @mixin link-colors($normal, $hover: false, $active: false, $visited: false, $focus: false) {
10
+ color: $normal;
11
+ @if $visited {
12
+ &:visited {
13
+ color: $visited; } }
14
+ @if $focus {
15
+ &:focus {
16
+ color: $focus; } }
17
+ @if $hover {
18
+ &:hover {
19
+ color: $hover; } }
20
+ @if $active {
21
+ &:active {
22
+ color: $active; } } }
@@ -0,0 +1,7 @@
1
+ // A link that looks and acts like the text it is contained within
2
+ @mixin unstyled-link {
3
+ color: inherit;
4
+ text-decoration: inherit;
5
+ cursor: inherit;
6
+ &:active, &:focus {
7
+ outline: none; } }
@@ -0,0 +1,22 @@
1
+ // Turn off the bullet for an element of a list
2
+ @mixin no-bullet {
3
+ list-style-image: none;
4
+ list-style-type: none;
5
+ margin-left: 0px; }
6
+
7
+ // turns off the bullets for an entire list
8
+ @mixin no-bullets {
9
+ list-style: none;
10
+ li {
11
+ @include no-bullet; } }
12
+
13
+ // Make a list(ul/ol) have an image bullet
14
+ // mixin should be used like this for an icon that is 5x7:
15
+ // ul.pretty
16
+ // +pretty-bullets("my-icon.png", 5px, 7px)
17
+ @mixin pretty-bullets($bullet-icon, $width, $height, $line-height: 18px, $padding: 14px) {
18
+ margin-left: 0;
19
+ li {
20
+ padding-left: $padding;
21
+ background: image-url($bullet-icon) no-repeat ($padding - $width) / 2 ($line-height - $height) / 2;
22
+ list-style-type: none; } }
@@ -0,0 +1,55 @@
1
+ //**\\
2
+ // Horizontal list layout module.
3
+ //
4
+ // Easy mode using simple descendant li selectors:
5
+ //
6
+ // ul.nav
7
+ // +horizontal-list
8
+ //
9
+ // Advanced mode:
10
+ // If you need to target the list items using a different selector then use
11
+ // +horizontal-list-container on your ul/ol and +horizontal-list-item on your li.
12
+ // This may help when working on layouts involving nested lists. For example:
13
+ //
14
+ // ul.nav
15
+ // +horizontal-list-container
16
+ // > li
17
+ // +horizontal-list-item
18
+
19
+ @import "bullets";
20
+ @import "compass/utilities/general/reset";
21
+ @import "compass/utilities/general/float";
22
+
23
+ //**
24
+ // Can be mixed into any selector that target a ul or ol that is meant
25
+ // to have a horizontal layout. Used to implement +horizontal-list.
26
+ @mixin horizontal-list-container {
27
+ @include reset-box-model;
28
+ @include clearfix; }
29
+
30
+ //**
31
+ // Can be mixed into any li selector that is meant to participate in a horizontal layout.
32
+ // Used to implement +horizontal-list.
33
+ //
34
+ // :last-child is not fully supported
35
+ // see http://www.quirksmode.org/css/contents.html#t29 for the support matrix
36
+
37
+ @mixin horizontal-list-item($padding: 4px) {
38
+ @include no-bullet;
39
+ white-space: nowrap;
40
+ @include float-left;
41
+ padding: {
42
+ left: $padding;
43
+ right: $padding; };
44
+ &:first-child, &.first {
45
+ padding-left: 0px; }
46
+ &:last-child, &.last {
47
+ padding-right: 0px; } }
48
+
49
+ //**
50
+ // A list(ol,ul) that is layed out such that the elements are floated left and won't wrap.
51
+ // This is not an inline list.
52
+ @mixin horizontal-list($padding: 4px) {
53
+ @include horizontal-list-container;
54
+ li {
55
+ @include horizontal-list-item($padding); } }
@@ -1,14 +1,14 @@
1
1
  // makes a list inline.
2
2
 
3
- =inline-list
4
- list-style-type: none
5
- margin: 0px
6
- padding: 0px
7
- display: inline
8
- li
9
- margin: 0px
10
- padding: 0px
11
- display: inline
3
+ @mixin inline-list {
4
+ list-style-type: none;
5
+ margin: 0px;
6
+ padding: 0px;
7
+ display: inline;
8
+ li {
9
+ margin: 0px;
10
+ padding: 0px;
11
+ display: inline; } }
12
12
 
13
13
  // makes an inline list that is comma delimited.
14
14
  // use of this recipe is not recommended at this time due to browser support issues.
@@ -19,11 +19,11 @@
19
19
  // :last-child is not fully supported
20
20
  // see http://www.quirksmode.org/css/contents.html#t29 for the support matrix
21
21
 
22
- =comma-delimited-list
23
- +inline-list
24
- li
25
- &:after
26
- content: ", "
27
- &:last-child, &.last
28
- &:after
29
- content: ""
22
+ @mixin comma-delimited-list {
23
+ @include inline-list;
24
+ li {
25
+ &:after {
26
+ content: ", "; }
27
+ &:last-child, &.last {
28
+ &:after {
29
+ content: ""; } } } }
@@ -0,0 +1,54 @@
1
+ //**
2
+ // Example 1:
3
+ // a.twitter
4
+ // +sprite-img("icons-32.png", 1)
5
+ // a.facebook
6
+ // +sprite-img("icons-32png", 2)
7
+ // ...
8
+ // Example 2:
9
+ // a
10
+ // +sprite-background("icons-32.png")
11
+ // a.twitter
12
+ // +sprite-column(1)
13
+ // a.facebook
14
+ // +sprite-row(2)
15
+ // ...
16
+
17
+ $sprite-default-size: 32px !default;
18
+
19
+ $sprite-default-margin: 0px !default;
20
+
21
+ $sprite-image-default-width: $sprite-default-size !default;
22
+
23
+ $sprite-image-default-height: $sprite-default-size !default;
24
+
25
+ // Sets all the rules for a sprite from a given sprite image to show just one of the sprites.
26
+ // To reduce duplication use a sprite-bg mixin for common properties and a sprite-select mixin for positioning.
27
+ @mixin sprite-img($img, $col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
28
+ @include sprite-background($img, $width, $height);
29
+ @include sprite-position($col, $row, $width, $height, $margin); }
30
+
31
+ // Sets rules common for all sprites, assumes you want a square, but allows a rectangular region.
32
+ @mixin sprite-background($img, $width: $sprite-default-size, $height: $width) {
33
+ @include sprite-background-rectangle($img, $width, $height); }
34
+
35
+ // Sets rules common for all sprites, assumes a rectangular region.
36
+ @mixin sprite-background-rectangle($img, $width: $sprite-image-default-width, $height: $sprite-image-default-height) {
37
+ background: image-url($img) no-repeat;
38
+ width: $width;
39
+ height: $height;
40
+ overflow: hidden; }
41
+
42
+ // Allows horizontal sprite positioning optimized for a single row of sprites.
43
+ @mixin sprite-column($col, $width: $sprite-image-default-width, $margin: $sprite-default-margin) {
44
+ @include sprite-position($col, 1, $width, 0px, $margin); }
45
+
46
+ // Allows vertical sprite positioning optimized for a single column of sprites.
47
+ @mixin sprite-row($row, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
48
+ @include sprite-position(1, $row, 0px, $height, $margin); }
49
+
50
+ // Allows vertical and horizontal sprite positioning from a grid of equal dimensioned sprites.
51
+ @mixin sprite-position($col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
52
+ $x: ($col - 1) * -$width - ($col - 1) * $margin;
53
+ $y: ($row - 1) * -$height - ($row - 1) * $margin;
54
+ background-position: $x $y; }
@@ -0,0 +1,20 @@
1
+ @mixin alternating-rows-and-columns($even-row-color, $odd-row-color, $dark-intersection, $header-color: white, $footer-color: white) {
2
+ th {
3
+ background-color: $header-color;
4
+ &.even {
5
+ background-color: $header-color - $dark-intersection; } }
6
+ tr.odd {
7
+ td {
8
+ background-color: $odd-row-color;
9
+ &.even {
10
+ background-color: $odd-row-color - $dark-intersection; } } }
11
+ tr.even {
12
+ td {
13
+ background-color: $even-row-color;
14
+ &.even {
15
+ background-color: $even-row-color - $dark-intersection; } } }
16
+ tfoot {
17
+ th, td {
18
+ background-color: $footer-color;
19
+ &.even {
20
+ background-color: $footer-color - $dark-intersection; } } } }
@@ -0,0 +1,27 @@
1
+ @mixin outer-table-borders($width: 2px, $color: black) {
2
+ border: $width solid $color;
3
+ thead {
4
+ th {
5
+ border-bottom: $width solid $color; } }
6
+ tfoot {
7
+ th, td {
8
+ border-top: $width solid $color; } }
9
+ th {
10
+ &:first-child {
11
+ border-right: $width solid $color; } } }
12
+
13
+ @mixin inner-table-borders($width: 2px, $color: black) {
14
+ th, td {
15
+ border: {
16
+ right: $width solid $color;
17
+ bottom: $width solid $color;
18
+ left-width: 0px;
19
+ top-width: 0px; };
20
+ &:last-child,
21
+ &.last {
22
+ border-right-width: 0px; } }
23
+ tbody, tfoot {
24
+ tr:last-child,
25
+ tr.last {
26
+ th, td {
27
+ border-bottom-width: 0px; } } } }
@@ -0,0 +1,9 @@
1
+ @mixin table-scaffolding {
2
+ th {
3
+ text-align: center;
4
+ font-weight: bold; }
5
+ td,
6
+ th {
7
+ padding: 2px;
8
+ &.numeric {
9
+ text-align: right; } } }
@@ -0,0 +1,12 @@
1
+ // This technique, by [Justin Maxwell](http://code404.com/), was originally
2
+ // published at http://mattsnider.com/css/css-string-truncation-with-ellipsis/
3
+ // Firefox implementation by [Rikkert Koppes](http://www.rikkertkoppes.com/thoughts/2008/6/)
4
+
5
+ @mixin ellipsis($no-wrap: true) {
6
+ @if $no-wrap {
7
+ white-space: nowrap; }
8
+ overflow: hidden;
9
+ text-overflow: ellipsis;
10
+ -o-text-overflow: ellipsis;
11
+ -ms-text-overflow: ellipsis;
12
+ -moz-binding: stylesheet-url(unquote("xml/ellipsis.xml#ellipsis")); }
@@ -1,3 +1,3 @@
1
1
  // When remembering whether or not there's a hyphen in white-space is too hard
2
- =nowrap
3
- white-space: nowrap
2
+ @mixin nowrap {
3
+ white-space: nowrap; }
@@ -0,0 +1,21 @@
1
+ // Hides html text and replaces it with an image.
2
+ // If you use this on an inline element, you will need to change the display to block or inline-block.
3
+ // Also, if the size of the image differs significantly from the font size, you'll need to set the width and/or height.
4
+ // @param img
5
+ // the relative path from the project image directory to the image.
6
+ // @param x
7
+ // the x position of the background image.
8
+ // @param y
9
+ // the y position of the background image.
10
+
11
+ @mixin replace-text($img, $x: 50%, $y: 50%) {
12
+ @include hide-text;
13
+ background: {
14
+ image: image-url($img);
15
+ repeat: no-repeat;
16
+ position: $x $y; }; }
17
+
18
+ @mixin hide-text {
19
+ text-indent: -9999em;
20
+ overflow: hidden;
21
+ text-align: left; }
@@ -1,4 +1,4 @@
1
- @import compass/utilities/text/ellipsis.sass
1
+ @import compass/utilities/text/ellipsis
2
2
 
3
3
  // You can delete this sass file if you want, it's just an example of how to use the ellipsis mixin.
4
4
  // By default, ellipsis text is no-wrap. Pass false as the first argument if you don't want that.
@@ -4,7 +4,7 @@
4
4
  Import this file using the following HTML or equivalent:
5
5
  <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
6
6
 
7
- @import compass/reset.sass
7
+ @import compass/reset
8
8
 
9
9
  /*
10
10
  The *:focus rule is reset and suppresses link outlining.
@@ -39,6 +39,10 @@ module Compass
39
39
  self.options[:pattern] = framework[1]
40
40
  end
41
41
 
42
+ opts.on("-x", "--syntax SYNTAX", [:sass, :scss], "Specify the syntax to use when generating stylesheets.", "One of sass or scss. Defaults to scss.") do |syntax|
43
+ self.options[:preferred_syntax] = syntax
44
+ end
45
+
42
46
  super
43
47
  end
44
48
  end
@@ -24,6 +24,7 @@ To get help on a particular command please specify the command.
24
24
 
25
25
  banner << "\nAvailable Frameworks & Patterns:\n\n"
26
26
  Compass::Frameworks::ALL.each do |framework|
27
+ next if framework.name =~ /^_/
27
28
  banner << " * #{framework.name}\n"
28
29
  framework.template_directories.each do |pattern|
29
30
  banner << " - #{framework.name}/#{pattern}"
@@ -8,7 +8,7 @@ module Compass
8
8
 
9
9
  def execute
10
10
  Compass::Frameworks::ALL.each do |framework|
11
- puts framework.name
11
+ puts framework.name unless framework.name =~ /^_/
12
12
  end
13
13
  end
14
14
  end
@@ -16,6 +16,10 @@ Example:
16
16
 
17
17
  Options:
18
18
  }
19
+ opts.on("-x", "--syntax SYNTAX", [:sass, :scss], "Specify the syntax to use when generating stylesheets.", "One of sass or scss. Defaults to scss.") do |syntax|
20
+ self.options[:preferred_syntax] = syntax
21
+ end
22
+
19
23
  super
20
24
  end
21
25
  end
@@ -35,7 +35,8 @@ module Compass
35
35
  :asset_host,
36
36
  :asset_cache_buster,
37
37
  :line_comments,
38
- :color_output
38
+ :color_output,
39
+ :preferred_syntax
39
40
  ].flatten
40
41
 
41
42
  end
@@ -125,6 +125,9 @@ module Compass
125
125
  true
126
126
  end
127
127
 
128
+ def default_preferred_syntax
129
+ :scss
130
+ end
128
131
  # helper functions
129
132
 
130
133
  def http_join(*segments)
@@ -51,7 +51,8 @@ module Compass
51
51
  def discover(frameworks_directory)
52
52
  frameworks_directory = DEFAULT_FRAMEWORKS_PATH if frameworks_directory == :defaults
53
53
  frameworks_directory = Dir.new(frameworks_directory) unless frameworks_directory.is_a?(Dir)
54
- frameworks_directory.entries.reject{|e| e[0] == ?.}.each do |framework|
54
+ dirs = frameworks_directory.entries.reject{|e| e =~ /^\./}.sort_by{|n| n =~ /^_/ ? n[1..-1] : n}
55
+ dirs.each do |framework|
55
56
  register_directory File.join(frameworks_directory.path, framework)
56
57
  end
57
58
  end
@@ -16,7 +16,7 @@ module Compass
16
16
  self.logger = options[:logger]
17
17
  end
18
18
 
19
- [:css_dir, :sass_dir, :images_dir, :javascripts_dir, :http_stylesheets_path, :fonts_dir].each do |dir|
19
+ [:css_dir, :sass_dir, :images_dir, :javascripts_dir, :http_stylesheets_path, :fonts_dir, :preferred_syntax].each do |dir|
20
20
  define_method dir do
21
21
  Compass.configuration.send(dir)
22
22
  end
@@ -79,6 +79,19 @@ module Compass
79
79
  "#{sass_dir}/#{pattern_name_as_dir}#{to}"
80
80
  end
81
81
 
82
+ def install_stylesheet(from, to, options)
83
+ from = templatize(from)
84
+ to = targetize(install_location_for_stylesheet(to, options))
85
+ contents = File.new(from).read
86
+ if preferred_syntax.to_s != from[-4..-1]
87
+ logger.record :convert, basename(from)
88
+ tree = Sass::Engine.new(contents, Compass.sass_engine_options).to_tree
89
+ contents = tree.send("to_#{preferred_syntax}")
90
+ to[-4..-1] = preferred_syntax.to_s
91
+ end
92
+ write_file to, contents
93
+ end
94
+
82
95
  installer :css do |to|
83
96
  "#{css_dir}/#{to}"
84
97
  end