frontsau 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (280) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +16 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE +21 -0
  5. data/README.md +30 -0
  6. data/Rakefile +2 -0
  7. data/bin/frontsau +15 -0
  8. data/bin/frontsau-phaml-compiler +35 -0
  9. data/example/.frontsau +12 -0
  10. data/example/assets/head.jpg +0 -0
  11. data/example/assets/script.js +4 -0
  12. data/example/assets/style.css +6 -0
  13. data/example/css/includes.sass +2 -0
  14. data/example/css/style.sass +6 -0
  15. data/example/image/head.jpg +0 -0
  16. data/example/index.html +0 -0
  17. data/example/js/script.coffee +1 -0
  18. data/frontsau.gemspec +41 -0
  19. data/lib/Phamlp/Phamlp.php +72 -0
  20. data/lib/Phamlp/PhamlpException.php +31 -0
  21. data/lib/Phamlp/haml/HamlException.php +29 -0
  22. data/lib/Phamlp/haml/HamlHelpers.php +199 -0
  23. data/lib/Phamlp/haml/HamlParser.php +1250 -0
  24. data/lib/Phamlp/haml/filters/HamlBaseFilter.php +30 -0
  25. data/lib/Phamlp/haml/filters/HamlCdataFilter.php +29 -0
  26. data/lib/Phamlp/haml/filters/HamlCssFilter.php +30 -0
  27. data/lib/Phamlp/haml/filters/HamlEscapedFilter.php +32 -0
  28. data/lib/Phamlp/haml/filters/HamlJavascriptFilter.php +31 -0
  29. data/lib/Phamlp/haml/filters/HamlPhpFilter.php +27 -0
  30. data/lib/Phamlp/haml/filters/HamlPlainFilter.php +28 -0
  31. data/lib/Phamlp/haml/filters/HamlPreserveFilter.php +29 -0
  32. data/lib/Phamlp/haml/filters/HamlSassFilter.php +37 -0
  33. data/lib/Phamlp/haml/filters/HamlScssFilter.php +37 -0
  34. data/lib/Phamlp/haml/filters/_HamlMarkdownFilter.php +50 -0
  35. data/lib/Phamlp/haml/filters/_HamlTextileFilter.php +50 -0
  36. data/lib/Phamlp/haml/messages/_i18n.php +32 -0
  37. data/lib/Phamlp/haml/messages/de.php +32 -0
  38. data/lib/Phamlp/haml/messages/fr.php +32 -0
  39. data/lib/Phamlp/haml/renderers/HamlCompactRenderer.php +32 -0
  40. data/lib/Phamlp/haml/renderers/HamlCompressedRenderer.php +48 -0
  41. data/lib/Phamlp/haml/renderers/HamlExpandedRenderer.php +58 -0
  42. data/lib/Phamlp/haml/renderers/HamlNestedRenderer.php +77 -0
  43. data/lib/Phamlp/haml/renderers/HamlRenderer.php +137 -0
  44. data/lib/Phamlp/haml/tree/HamlCodeBlockNode.php +58 -0
  45. data/lib/Phamlp/haml/tree/HamlCommentNode.php +41 -0
  46. data/lib/Phamlp/haml/tree/HamlDoctypeNode.php +27 -0
  47. data/lib/Phamlp/haml/tree/HamlElementNode.php +52 -0
  48. data/lib/Phamlp/haml/tree/HamlFilterNode.php +50 -0
  49. data/lib/Phamlp/haml/tree/HamlHelperNode.php +73 -0
  50. data/lib/Phamlp/haml/tree/HamlNode.php +253 -0
  51. data/lib/Phamlp/haml/tree/HamlNodeExceptions.php +19 -0
  52. data/lib/Phamlp/haml/tree/HamlRootNode.php +58 -0
  53. data/lib/Phamlp/sass/SassException.php +29 -0
  54. data/lib/Phamlp/sass/SassFile.php +164 -0
  55. data/lib/Phamlp/sass/SassParser.php +848 -0
  56. data/lib/Phamlp/sass/extensions/compass/config.php +65 -0
  57. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/_blueprint.scss +47 -0
  58. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.scss +101 -0
  59. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_colors.scss +32 -0
  60. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_debug.scss +11 -0
  61. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_fancy-type.scss +86 -0
  62. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_form.scss +68 -0
  63. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_grid.scss +249 -0
  64. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_ie.scss +109 -0
  65. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.scss +57 -0
  66. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_link-icons.scss +37 -0
  67. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.scss +147 -0
  68. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_print.scss +93 -0
  69. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_reset.scss +3 -0
  70. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.scss +133 -0
  71. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss +54 -0
  72. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_typography.scss +104 -0
  73. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.scss +37 -0
  74. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss +58 -0
  75. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/basic/grid.png +0 -0
  76. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/basic/ie.sass +4 -0
  77. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/basic/manifest.rb +30 -0
  78. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/basic/partials/_base.sass +10 -0
  79. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/basic/print.sass +4 -0
  80. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/basic/screen.sass +12 -0
  81. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
  82. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
  83. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
  84. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons.sass +49 -0
  85. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/buttons/manifest.rb +17 -0
  86. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/doc.png +0 -0
  87. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/email.png +0 -0
  88. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/external.png +0 -0
  89. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/feed.png +0 -0
  90. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/im.png +0 -0
  91. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
  92. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/visited.png +0 -0
  93. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/xls.png +0 -0
  94. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons.sass +13 -0
  95. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/link_icons/manifest.rb +23 -0
  96. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/project/grid.png +0 -0
  97. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/project/ie.sass +16 -0
  98. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/project/manifest.rb +30 -0
  99. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/project/partials/_base.sass +11 -0
  100. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/project/print.sass +8 -0
  101. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/project/screen.sass +45 -0
  102. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/semantic/grid.png +0 -0
  103. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/semantic/ie.sass +16 -0
  104. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/semantic/manifest.rb +33 -0
  105. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_base.sass +10 -0
  106. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_form.sass +6 -0
  107. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_page.sass +18 -0
  108. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_two_col.sass +38 -0
  109. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/semantic/print.sass +5 -0
  110. data/lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/semantic/screen.sass +14 -0
  111. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/_compass.scss +2 -0
  112. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/_css3.scss +15 -0
  113. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/_layout.scss +1 -0
  114. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/_reset.scss +3 -0
  115. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/_utilities.scss +6 -0
  116. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-clip.scss +43 -0
  117. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-origin.scss +42 -0
  118. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-size.scss +14 -0
  119. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +135 -0
  120. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +50 -0
  121. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss +13 -0
  122. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_box.scss +112 -0
  123. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_columns.scss +55 -0
  124. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_font-face.scss +33 -0
  125. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_gradient.scss +82 -0
  126. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +12 -0
  127. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_opacity.scss +27 -0
  128. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_shared.scss +47 -0
  129. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +25 -0
  130. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_transform.scss +85 -0
  131. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_transition.scss +85 -0
  132. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/layout/_sticky-footer.scss +23 -0
  133. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/reset/_utilities.scss +133 -0
  134. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_general.scss +6 -0
  135. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_links.scss +3 -0
  136. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_lists.scss +4 -0
  137. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_print.scss +17 -0
  138. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.scss +1 -0
  139. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_tables.scss +3 -0
  140. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_text.scss +3 -0
  141. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss +31 -0
  142. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.scss +15 -0
  143. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +35 -0
  144. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_min.scss +16 -0
  145. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.scss +2 -0
  146. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_tabs.scss +1 -0
  147. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag-cloud.scss +18 -0
  148. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover-link.scss +5 -0
  149. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss +28 -0
  150. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled-link.scss +7 -0
  151. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.scss +34 -0
  152. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss +52 -0
  153. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline-block-list.scss +47 -0
  154. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss +29 -0
  155. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss +56 -0
  156. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss +20 -0
  157. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.scss +27 -0
  158. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.scss +9 -0
  159. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.scss +25 -0
  160. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.scss +2 -0
  161. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.scss +34 -0
  162. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/templates/ellipsis/ellipsis.sass +9 -0
  163. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/templates/ellipsis/manifest.rb +27 -0
  164. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/templates/ellipsis/xml/ellipsis.xml +14 -0
  165. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/templates/extension/manifest.rb +20 -0
  166. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/templates/extension/stylesheets/main.sass +1 -0
  167. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/templates/extension/templates/project/manifest.rb +2 -0
  168. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/templates/extension/templates/project/screen.sass +2 -0
  169. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/templates/project/USAGE.markdown +32 -0
  170. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/templates/project/ie.sass +6 -0
  171. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/templates/project/manifest.rb +4 -0
  172. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/templates/project/print.sass +6 -0
  173. data/lib/Phamlp/sass/extensions/compass/frameworks/compass/templates/project/screen.sass +7 -0
  174. data/lib/Phamlp/sass/extensions/compass/functions/colourStops.php +268 -0
  175. data/lib/Phamlp/sass/extensions/compass/functions/constants.php +44 -0
  176. data/lib/Phamlp/sass/extensions/compass/functions/fontFiles.php +30 -0
  177. data/lib/Phamlp/sass/extensions/compass/functions/imageSize.php +39 -0
  178. data/lib/Phamlp/sass/extensions/compass/functions/inlineData.php +84 -0
  179. data/lib/Phamlp/sass/extensions/compass/functions/lists.php +47 -0
  180. data/lib/Phamlp/sass/extensions/compass/functions/selectors.php +128 -0
  181. data/lib/Phamlp/sass/extensions/compass/functions/urls.php +143 -0
  182. data/lib/Phamlp/sass/extensions/compass/stylesheets/_compass.scss +2 -0
  183. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/_css3.scss +15 -0
  184. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/_layout.scss +1 -0
  185. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/_reset.scss +3 -0
  186. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/_utilities.scss +6 -0
  187. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_background-clip.scss +43 -0
  188. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_background-origin.scss +42 -0
  189. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_background-size.scss +14 -0
  190. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_border-radius.scss +135 -0
  191. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_box-shadow.scss +50 -0
  192. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_box-sizing.scss +13 -0
  193. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_box.scss +112 -0
  194. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_columns.scss +55 -0
  195. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_font-face.scss +33 -0
  196. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_gradient.scss +96 -0
  197. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_inline-block.scss +12 -0
  198. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_opacity.scss +27 -0
  199. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_shared.scss +47 -0
  200. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_text-shadow.scss +25 -0
  201. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_transform.scss +85 -0
  202. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_transition.scss +85 -0
  203. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/layout/_sticky-footer.scss +23 -0
  204. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/reset/_utilities.scss +133 -0
  205. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/_general.scss +6 -0
  206. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/_links.scss +3 -0
  207. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/_lists.scss +4 -0
  208. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/_print.scss +17 -0
  209. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/_sprites.scss +1 -0
  210. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/_tables.scss +3 -0
  211. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/_text.scss +3 -0
  212. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/general/_clearfix.scss +31 -0
  213. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/general/_float.scss +15 -0
  214. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/general/_hacks.scss +35 -0
  215. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/general/_min.scss +16 -0
  216. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/general/_reset.scss +2 -0
  217. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/general/_tabs.scss +1 -0
  218. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/general/_tag-cloud.scss +18 -0
  219. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/links/_hover-link.scss +5 -0
  220. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/links/_link-colors.scss +28 -0
  221. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/links/_unstyled-link.scss +7 -0
  222. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/lists/_bullets.scss +34 -0
  223. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss +52 -0
  224. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/lists/_inline-block-list.scss +47 -0
  225. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/lists/_inline-list.scss +29 -0
  226. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss +56 -0
  227. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss +20 -0
  228. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/tables/_borders.scss +27 -0
  229. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/tables/_scaffolding.scss +9 -0
  230. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/text/_ellipsis.scss +25 -0
  231. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/text/_nowrap.scss +2 -0
  232. data/lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/text/_replacement.scss +34 -0
  233. data/lib/Phamlp/sass/messages/_i18n.php +122 -0
  234. data/lib/Phamlp/sass/messages/de.php +70 -0
  235. data/lib/Phamlp/sass/messages/fr.php +70 -0
  236. data/lib/Phamlp/sass/renderers/SassCompactRenderer.php +130 -0
  237. data/lib/Phamlp/sass/renderers/SassCompressedRenderer.php +102 -0
  238. data/lib/Phamlp/sass/renderers/SassExpandedRenderer.php +62 -0
  239. data/lib/Phamlp/sass/renderers/SassNestedRenderer.php +61 -0
  240. data/lib/Phamlp/sass/renderers/SassRenderer.php +51 -0
  241. data/lib/Phamlp/sass/script/SassScriptFunction.php +169 -0
  242. data/lib/Phamlp/sass/script/SassScriptFunctions.php +751 -0
  243. data/lib/Phamlp/sass/script/SassScriptLexer.php +114 -0
  244. data/lib/Phamlp/sass/script/SassScriptOperation.php +151 -0
  245. data/lib/Phamlp/sass/script/SassScriptParser.php +192 -0
  246. data/lib/Phamlp/sass/script/SassScriptParserExceptions.php +40 -0
  247. data/lib/Phamlp/sass/script/SassScriptVariable.php +57 -0
  248. data/lib/Phamlp/sass/script/literals/SassBoolean.php +67 -0
  249. data/lib/Phamlp/sass/script/literals/SassColour.php +886 -0
  250. data/lib/Phamlp/sass/script/literals/SassLiteral.php +359 -0
  251. data/lib/Phamlp/sass/script/literals/SassLiteralExceptions.php +47 -0
  252. data/lib/Phamlp/sass/script/literals/SassNumber.php +503 -0
  253. data/lib/Phamlp/sass/script/literals/SassString.php +106 -0
  254. data/lib/Phamlp/sass/tree/SassCommentNode.php +64 -0
  255. data/lib/Phamlp/sass/tree/SassContext.php +120 -0
  256. data/lib/Phamlp/sass/tree/SassDebugNode.php +84 -0
  257. data/lib/Phamlp/sass/tree/SassDirectiveNode.php +76 -0
  258. data/lib/Phamlp/sass/tree/SassElseNode.php +28 -0
  259. data/lib/Phamlp/sass/tree/SassExtendNode.php +47 -0
  260. data/lib/Phamlp/sass/tree/SassForNode.php +99 -0
  261. data/lib/Phamlp/sass/tree/SassIfNode.php +95 -0
  262. data/lib/Phamlp/sass/tree/SassImportNode.php +69 -0
  263. data/lib/Phamlp/sass/tree/SassMixinDefinitionNode.php +88 -0
  264. data/lib/Phamlp/sass/tree/SassMixinNode.php +91 -0
  265. data/lib/Phamlp/sass/tree/SassNode.php +342 -0
  266. data/lib/Phamlp/sass/tree/SassNodeExceptions.php +117 -0
  267. data/lib/Phamlp/sass/tree/SassPropertyNode.php +239 -0
  268. data/lib/Phamlp/sass/tree/SassRootNode.php +100 -0
  269. data/lib/Phamlp/sass/tree/SassRuleNode.php +337 -0
  270. data/lib/Phamlp/sass/tree/SassVariableNode.php +90 -0
  271. data/lib/Phamlp/sass/tree/SassWhileNode.php +64 -0
  272. data/lib/frontsau/assets/rack.rb +12 -0
  273. data/lib/frontsau/assets/sprockets.rb +59 -0
  274. data/lib/frontsau/assets/static_assets_compiler.rb +50 -0
  275. data/lib/frontsau/assets/url_rewriter.rb +22 -0
  276. data/lib/frontsau/assets/watcher.rb +60 -0
  277. data/lib/frontsau/thor_app.rb +118 -0
  278. data/lib/frontsau/version.rb +3 -0
  279. data/lib/frontsau.rb +64 -0
  280. metadata +578 -0
@@ -0,0 +1,104 @@
1
+ @import "colors";
2
+ @import "compass/utilities/links/link-colors";
3
+ @import "compass/utilities/general/float";
4
+
5
+ $blueprint-font-family: "Helvetica Neue", Arial, Helvetica, sans-serif !default;
6
+
7
+ $blueprint-fixed-font-family: "andale mono", "lucida console", monospace !default;
8
+
9
+ $blueprint-font-size: 12px !default;
10
+
11
+ // Usage examples:
12
+ // As a top-level mixin, apply to any page that includes the stylesheet:
13
+ // <pre class="source-code sass">
14
+ // +blueprint-typography
15
+ // </pre>
16
+ //
17
+ // Scoped by a presentational class:
18
+ // <pre class="source-code sass">
19
+ // body.blueprint
20
+ // +blueprint-typography(true)
21
+ // </pre>
22
+ //
23
+ // Scoped by semantic selectors:
24
+ // <pre class="source-code sass">
25
+ // body#page-1, body#page-2, body.a-special-page-type
26
+ // +blueprint-typography(true)
27
+ // </pre>
28
+ //
29
+ // **Deprecated**:
30
+ // You can pass the body selector as the first argument when used as a top-level mixin
31
+ // <pre class="source-code sass">
32
+ // +blueprint-typography("body#page-1, body#page-2, body.a-special-page-type")
33
+ // </pre>
34
+ @mixin blueprint-typography($body-selector: body) {
35
+ @if $body-selector == true {
36
+ @include blueprint-typography-body;
37
+ @include blueprint-typography-defaults;
38
+ } @else {
39
+ #{$body-selector} {
40
+ @include blueprint-typography-body;
41
+ @if $body-selector != body {
42
+ @warn "[DEPRECATED] To specify the selector \"#{$body-selector}\" to +blueprint-typography, pass true as the first argument and mix it into #{$body-selector}.";
43
+ @include blueprint-typography-defaults;
44
+ }
45
+ }
46
+ @if $body-selector == body {
47
+ @include blueprint-typography-defaults;
48
+ }
49
+ }
50
+ }
51
+
52
+ @mixin normal-text { font-family: $blueprint-font-family; color: $font-color; }
53
+ @mixin fixed-width-text { font: 1em $blueprint-fixed-font-family; line-height: 1.5; }
54
+ @mixin header-text { font-weight: normal; color: $header-color; }
55
+ @mixin quiet { color: $quiet-color; }
56
+ @mixin loud { color: $loud-color; }
57
+
58
+ @mixin blueprint-typography-body($font-size: $blueprint-font-size) {
59
+ line-height: 1.5;
60
+ @include normal-text;
61
+ font-size: 100% * $font-size / 16px;
62
+ }
63
+
64
+ @mixin blueprint-typography-defaults {
65
+ #{headers(all)} { @include header-text;
66
+ img { margin: 0; } }
67
+ h1 { font-size: 3em; line-height: 1; margin-bottom: 0.50em; }
68
+ h2 { font-size: 2em; margin-bottom: 0.75em; }
69
+ h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1.00em; }
70
+ h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
71
+ h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.50em; }
72
+ h6 { font-size: 1em; font-weight: bold; }
73
+ p { margin: 0 0 1.5em;
74
+ img.left { @include float-left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
75
+ img.right { @include float-right; margin: 1.5em 0 1.5em 1.5em; padding: 0; }
76
+ }
77
+ a { text-decoration: underline; @include link-colors($link-color, $link-hover-color, $link-active-color, $link-visited-color, $link-focus-color); }
78
+ blockquote { margin: 1.5em; color: $alt_text_color; font-style: italic; }
79
+ strong { font-weight: bold; }
80
+ em { font-style: italic; }
81
+ dfn { font-style: italic; font-weight: bold; }
82
+ sup, sub { line-height: 0; }
83
+ abbr, acronym { border-bottom: 1px dotted #666666; }
84
+ address { margin: 0 0 1.5em; font-style: italic; }
85
+ del { color: $alt_text_color; }
86
+ pre { margin: 1.5em 0; white-space: pre; }
87
+ pre, code, tt { @include fixed-width-text; }
88
+ li ul, li ol { margin: 0; }
89
+ ul, ol { margin: 0 1.5em 1.5em 0; padding-left: 3.333em; }
90
+ ul { list-style-type: disc; }
91
+ ol { list-style-type: decimal; }
92
+ dl { margin: 0 0 1.5em 0;
93
+ dt { font-weight: bold; } }
94
+ dd { margin-left: 1.5em; }
95
+ table { margin-bottom: 1.4em; width: 100%; }
96
+ th { font-weight: bold; }
97
+ thead th { background: $blueprint-table-header-color; }
98
+ th, td, caption { padding: 4px 10px 4px 5px; }
99
+ tr.even td { background: $blueprint-table-stripe-color; }
100
+ tfoot { font-style: italic; }
101
+ caption { background: $blueprint_background_color; }
102
+ .quiet { @include quiet; }
103
+ .loud { @include loud; }
104
+ }
@@ -0,0 +1,37 @@
1
+ @import "compass/utilities/text/nowrap";
2
+ @import "compass/utilities/general/clearfix";
3
+
4
+ // Most of these utility classes are not "semantic". If you use them,
5
+ // you are mixing your content and presentation. For shame!
6
+
7
+ @mixin blueprint-utilities {
8
+ // Regular clearing apply to column that should drop below previous ones.
9
+ .clear {
10
+ clear: both; }
11
+ // turn off text wrapping for the element.
12
+ .nowrap {
13
+ @include nowrap; }
14
+ // Apply to an element that has floated children to make the bottom
15
+ // of the element fall _below_ the floated children.
16
+ .clearfix {
17
+ @include clearfix; }
18
+ .small {
19
+ font-size: 0.8em;
20
+ margin-bottom: 1.875em;
21
+ line-height: 1.875em; }
22
+ .large {
23
+ font-size: 1.2em;
24
+ line-height: 2.5em;
25
+ margin-bottom: 1.25em; }
26
+ .first {
27
+ margin-left: 0;
28
+ padding-left: 0; }
29
+ .last {
30
+ margin-right: 0;
31
+ padding-right: 0; }
32
+ .top {
33
+ margin-top: 0;
34
+ padding-top: 0; }
35
+ .bottom {
36
+ margin-bottom: 0;
37
+ padding-bottom: 0; } }
@@ -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,4 @@
1
+ @import blueprint
2
+
3
+ // Generate the blueprint IE-specific customizations:
4
+ +blueprint-ie
@@ -0,0 +1,30 @@
1
+ description "A basic blueprint install that mimics the actual blueprint css."
2
+
3
+ stylesheet 'screen.sass', :media => 'screen, projection'
4
+ stylesheet 'partials/_base.sass'
5
+ stylesheet 'print.sass', :media => 'print'
6
+ stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8"
7
+
8
+ image 'grid.png'
9
+
10
+ help %Q{
11
+ Please see the blueprint website for documentation on how blueprint works:
12
+
13
+ http://blueprintcss.org/
14
+
15
+ Docs on the compass port of blueprint can be found on the wiki:
16
+
17
+ http://wiki.github.com/chriseppstein/compass/blueprint-documentation
18
+ }
19
+
20
+ welcome_message %Q{
21
+ Please see the blueprint website for documentation on how blueprint works:
22
+
23
+ http://blueprintcss.org/
24
+
25
+ Docs on the compass port of blueprint can be found on the wiki:
26
+
27
+ http://wiki.github.com/chriseppstein/compass/blueprint-documentation
28
+
29
+ To get started, edit the screen.sass file and read the comments and code there.
30
+ }
@@ -0,0 +1,10 @@
1
+ // Here is where you can define your constants for your application and to configure the blueprint framework.
2
+ // Feel free to delete these if you want keep the defaults:
3
+
4
+ $blueprint-grid-columns : 24
5
+ $blueprint-grid-width : 30px
6
+ $blueprint-grid-margin : 10px
7
+
8
+ // If you change your grid column dimensions
9
+ // you can make a new grid background image from the command line like this:
10
+ // compass grid-img 30+10x16
@@ -0,0 +1,4 @@
1
+ @import blueprint
2
+
3
+ // Generate the blueprint print styles:
4
+ +blueprint-print
@@ -0,0 +1,12 @@
1
+ // This import applies a global reset to any page that imports this stylesheet.
2
+ @import blueprint/reset
3
+ // To configure blueprint, edit the partials/_base.sass file.
4
+ @import "partials/base"
5
+ // Import all the default blueprint modules so that we can access their mixins.
6
+ @import blueprint
7
+ // Import the non-default scaffolding module.
8
+ @import blueprint/scaffolding
9
+
10
+ // Generate the blueprint framework according to your configuration:
11
+ +blueprint
12
+ +blueprint-scaffolding
@@ -0,0 +1,49 @@
1
+ @import compass/utilities/general/float
2
+ @import blueprint/buttons
3
+
4
+ //
5
+ Use the following HTML code to place the buttons on your site:
6
+
7
+ <button type="submit" class="button positive">
8
+ <img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
9
+ </button>
10
+
11
+ <a class="button" href="/password/reset/">
12
+ <img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
13
+ </a>
14
+
15
+ <a href="#" class="button negative">
16
+ <img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
17
+ </a>
18
+
19
+ a.button
20
+ // you can pass "left" or "right" to +anchor-button to float it in that direction
21
+ // or you can pass no argument to leave it inline-block (cross browser safe!) within
22
+ // the flow of your page.
23
+ +anchor-button(left)
24
+ // All the button color mixins take 4 optional arguments:
25
+ // font color, background color, border color, border highlight color
26
+ // the first three default to constants set in blueprint/buttons.sass
27
+ // the last one defaults to a shade lighter than the border color.
28
+ +button-colors
29
+ +button-hover-colors
30
+ +button-active-colors
31
+
32
+ button
33
+ // The +button-button mixin is just like the +anchor-button mixin, but for <button> elements.
34
+ +button-button(left)
35
+ +button-colors
36
+ +button-hover-colors
37
+ +button-active-colors
38
+
39
+ // We can change the colors for buttons of certain classes, etc.
40
+ a.positive, button.positive
41
+ color: #529214
42
+ +button-hover-colors(#529214, #E6EFC2, #C6D880)
43
+ +button-active-colors(#FFF, #529214, #529214)
44
+
45
+ a.negative, button.negative
46
+ color: #D12F19
47
+ +button-hover-colors(#D12F19, #FBE3E4, #FBC2C4)
48
+ +button-active-colors(#FFF, #D12F19, #D12F19)
49
+
@@ -0,0 +1,17 @@
1
+ description "Button Plugin"
2
+ stylesheet 'buttons.sass', :media => 'screen, projection'
3
+
4
+ image 'buttons/cross.png'
5
+ image 'buttons/key.png'
6
+ image 'buttons/tick.png'
7
+
8
+ help %Q{
9
+ To install the button plugin:
10
+ compass init --using blueprint/buttons
11
+
12
+ The buttons.sass file is just a recommendation to show you how to use the button mixins.
13
+ }
14
+
15
+ welcome_message %Q{
16
+ The buttons.sass file is just a recommendation to show you how to use the button mixins.
17
+ }
@@ -0,0 +1,13 @@
1
+ @import blueprint/link-icons
2
+
3
+ // This turns link icons on for all links. You can change the scoping selector from
4
+ // body to something more specific if you prefer.
5
+ body
6
+ +link-icons
7
+ // Use this class if a link gets an icon when it shouldn't.
8
+ a.noicon
9
+ +no-link-icon
10
+ // Not all links have a url structure that can be detected,
11
+ // So you can set them explicitly yourself like so:
12
+ a#this-is-a-pdf-link
13
+ +link-icon("pdf.png")
@@ -0,0 +1,23 @@
1
+ description "Icons for common types of links"
2
+
3
+ stylesheet "link_icons.sass", :media => 'screen, projection'
4
+
5
+ image 'link_icons/doc.png'
6
+ image 'link_icons/email.png'
7
+ image 'link_icons/external.png'
8
+ image 'link_icons/feed.png'
9
+ image 'link_icons/im.png'
10
+ image 'link_icons/pdf.png'
11
+ image 'link_icons/visited.png'
12
+ image 'link_icons/xls.png'
13
+
14
+ help %Q{
15
+ To install the link_icons plugin:
16
+ compass init --using blueprint/link_icons
17
+
18
+ The link_icons.sass file is just a recommendation to show you how to use the link mixins.
19
+ }
20
+
21
+ welcome_message %Q{
22
+ The link_icons.sass file is just a recommendation to show you how to use the link mixins.
23
+ }
@@ -0,0 +1,16 @@
1
+ @import blueprint
2
+
3
+ // To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
4
+ // @include blueprint-ie
5
+
6
+ //Recommended Blueprint configuration with scoping and semantic layout:
7
+ body.bp
8
+ +blueprint-ie(true)
9
+ // Note: Blueprint centers text to fix IE6 container centering.
10
+ // This means all your texts will be centered under all version of IE by default.
11
+ // If your container does not have the .container class, don't forget to restore
12
+ // the correct behavior to your main container (but not the body tag!)
13
+ // Example:
14
+ // .my-container
15
+ // text-align: left
16
+
@@ -0,0 +1,30 @@
1
+ description "The blueprint framework."
2
+
3
+ stylesheet 'screen.sass', :media => 'screen, projection'
4
+ stylesheet 'partials/_base.sass'
5
+ stylesheet 'print.sass', :media => 'print'
6
+ stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8"
7
+
8
+ image 'grid.png'
9
+
10
+ help %Q{
11
+ Please see the blueprint website for documentation on how blueprint works:
12
+
13
+ http://blueprintcss.org/
14
+
15
+ Docs on the compass port of blueprint can be found on the wiki:
16
+
17
+ http://wiki.github.com/chriseppstein/compass/blueprint-documentation
18
+ }
19
+
20
+ welcome_message %Q{
21
+ Please see the blueprint website for documentation on how blueprint works:
22
+
23
+ http://blueprintcss.org/
24
+
25
+ Docs on the compass port of blueprint can be found on the wiki:
26
+
27
+ http://wiki.github.com/chriseppstein/compass/blueprint-documentation
28
+
29
+ To get started, edit the screen.sass file and read the comments and code there.
30
+ }
@@ -0,0 +1,11 @@
1
+ // Here is where you can define your constants for your application and to configure the blueprint framework.
2
+ // Feel free to delete these if you want keep the defaults:
3
+
4
+ $blueprint-grid-columns : 24
5
+ $blueprint-container-size : 950px
6
+ $blueprint-grid-margin : 10px
7
+
8
+ // Use this to calculate the width based on the total width.
9
+ // Or you can set !blueprint_grid_width to a fixed value and unset !blueprint_container_size -- it will be calculated for you.
10
+ $blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin
11
+
@@ -0,0 +1,8 @@
1
+ @import blueprint
2
+
3
+ // To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
4
+ // @include blueprint-print
5
+
6
+ //Recommended Blueprint configuration with scoping and semantic layout:
7
+ body.bp
8
+ +blueprint-print(true)
@@ -0,0 +1,45 @@
1
+ // This import applies a global reset to any page that imports this stylesheet.
2
+ @import blueprint/reset
3
+ // To configure blueprint, edit the partials/base.sass file.
4
+ @import "partials/base"
5
+ // Import all the default blueprint modules so that we can access their mixins.
6
+ @import blueprint
7
+ // Import the non-default scaffolding module.
8
+ @import blueprint/scaffolding
9
+
10
+ // To generate css equivalent to the blueprint css but with your
11
+ // configuration applied, uncomment:
12
+ // @include blueprint
13
+
14
+ // But Compass recommends that you scope your blueprint styles
15
+ // So that you can better control what pages use blueprint
16
+ // when stylesheets are concatenated together.
17
+ +blueprint-scaffolding("body.bp")
18
+ body.bp
19
+ +blueprint-typography(true)
20
+ +blueprint-utilities
21
+ +blueprint-debug
22
+ +blueprint-interaction
23
+ // Remove the scaffolding when you're ready to start doing visual design.
24
+ // Or leave it in if you're happy with how blueprint looks out-of-the-box
25
+ form.bp
26
+ +blueprint-form
27
+
28
+ // Page layout can be done using mixins applied to your semantic classes and IDs:
29
+ body.two-col
30
+ #container
31
+ +container
32
+ #header, #footer
33
+ +column($blueprint-grid-columns)
34
+ #sidebar
35
+ // One third of the grid columns, rounding down. With 24 cols, this is 8.
36
+ $sidebar-columns: floor($blueprint-grid-columns / 3)
37
+ +column($sidebar-columns)
38
+ #content
39
+ // Two thirds of the grid columns, rounding up.
40
+ // With 24 cols, this is 16.
41
+ $content-columns: ceil(2 * $blueprint-grid-columns / 3)
42
+ // true means it's the last column in the row
43
+ +column($content-columns, true)
44
+
45
+
@@ -0,0 +1,16 @@
1
+ @import blueprint
2
+
3
+ // To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
4
+ // +blueprint-ie
5
+
6
+ //Recommended Blueprint configuration with scoping and semantic layout:
7
+ body.bp
8
+ +blueprint-ie(true)
9
+ // Note: Blueprint centers text to fix IE6 container centering.
10
+ // This means all your texts will be centered under all version of IE by default.
11
+ // If your container does not have the .container class, don't forget to restore
12
+ // the correct behavior to your main container (but not the body tag!)
13
+ // Example:
14
+ // .my-container
15
+ // text-align: left
16
+
@@ -0,0 +1,33 @@
1
+ description "The blueprint framework for use with semantic markup."
2
+
3
+ stylesheet 'screen.sass', :media => 'screen, projection'
4
+ stylesheet 'partials/_base.sass'
5
+ stylesheet 'partials/_form.sass'
6
+ stylesheet 'partials/_page.sass'
7
+ stylesheet 'partials/_two_col.sass'
8
+ stylesheet 'print.sass', :media => 'print'
9
+ stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8"
10
+
11
+ image 'grid.png'
12
+
13
+ help %Q{
14
+ Please see the blueprint website for documentation on how blueprint works:
15
+
16
+ http://blueprintcss.org/
17
+
18
+ Docs on the compass port of blueprint can be found on the wiki:
19
+
20
+ http://wiki.github.com/chriseppstein/compass/blueprint-documentation
21
+ }
22
+
23
+ welcome_message %Q{
24
+ Please see the blueprint website for documentation on how blueprint works:
25
+
26
+ http://blueprintcss.org/
27
+
28
+ Docs on the compass port of blueprint can be found on the wiki:
29
+
30
+ http://wiki.github.com/chriseppstein/compass/blueprint-documentation
31
+
32
+ To get started, edit the screen.sass file and read the comments and code there.
33
+ }
@@ -0,0 +1,10 @@
1
+ // Here is where you can define your constants for your application and to configure the blueprint framework.
2
+ // Feel free to delete these if you want keep the defaults:
3
+
4
+ $blueprint-grid-columns: 24
5
+ $blueprint-container-size: 950px
6
+ $blueprint-grid-margin: 10px
7
+
8
+ // Use this to calculate the width based on the total width.
9
+ // Or you can set !blueprint_grid_width to a fixed value and unset !blueprint_container_size -- it will be calculated for you.
10
+ $blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin
@@ -0,0 +1,6 @@
1
+ // Only apply the blueprint form styles to forms with
2
+ // a class of "bp". This makes it easier to style
3
+ // forms from scratch if you need to.
4
+
5
+ form.bp
6
+ +blueprint-form
@@ -0,0 +1,18 @@
1
+ // Import the non-default scaffolding module to help us get started.
2
+ @import blueprint/scaffolding
3
+
4
+ // This configuration will only apply the
5
+ // blueprint styles to pages with a body class of "bp"
6
+ // This makes it easier to have pages without blueprint styles
7
+ // when you're using a single/combined stylesheet.
8
+
9
+ body.bp
10
+ +blueprint-typography(true)
11
+ +blueprint-utilities
12
+ +blueprint-debug
13
+ +blueprint-interaction
14
+
15
+ // Remove the scaffolding when you're ready to start doing visual design.
16
+ // Or leave it in if you're happy with how blueprint looks out-of-the-box
17
+ +blueprint-scaffolding("body.bp")
18
+
@@ -0,0 +1,38 @@
1
+ // Page layout can be done using mixins applied to your semantic classes and IDs
2
+ // For instance this layout defines a two column layout on pages with
3
+ // a body class of "two-col".
4
+ //
5
+ // The markup would look like:
6
+ // <div id="container">
7
+ // <div id="header"></div>
8
+ // <div id="sidebar"></div>
9
+ // <div id="content"></div>
10
+ // <div id="footer"></div>
11
+ // </div>
12
+ //
13
+ // and the layout would look like:
14
+ // +------------------------+
15
+ // | #header |
16
+ // +--------+---------------+
17
+ // | | |
18
+ // |#sidebar| #content |
19
+ // | | |
20
+ // +------------------------+
21
+ // | #footer |
22
+ // +--------+---------------+
23
+
24
+ body.two-col
25
+ #container
26
+ +container
27
+ #header, #footer
28
+ +column($blueprint-grid-columns)
29
+ #sidebar
30
+ // One third of the grid columns, rounding down. With 24 cols, this is 8.
31
+ $sidebar-columns: floor($blueprint-grid-columns / 3)
32
+ +column($sidebar-columns)
33
+ #content
34
+ // Two thirds of the grid columns, rounding up.
35
+ // With 24 cols, this is 16.
36
+ $content-columns: ceil(2 * $blueprint-grid-columns / 3)
37
+ // true means it's the last column in the row
38
+ +column($content-columns, true)