frontsau 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,16 @@
1
+ @import "hacks";
2
+
3
+ //**
4
+ // Cross browser min-height mixin.
5
+ @mixin min-height($value) {
6
+ @include hacked-minimum(height, $value); }
7
+
8
+ //**
9
+ // Cross browser min-width mixin.
10
+ @mixin min-width($value) {
11
+ @include hacked-minimum(width, $value); }
12
+
13
+ // @private This mixin is not meant to be used directly.
14
+ @mixin hacked-minimum($property, $value) {
15
+ min-#{$property}: $value;
16
+ @include bang-hack($property, auto, $value); }
@@ -0,0 +1,2 @@
1
+ // This module has moved.
2
+ @import "compass/reset/utilities";
@@ -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,28 @@
1
+ // Set all the colors for a link with one mixin call.
2
+ // Order of arguments is:
3
+ //
4
+ // 1. normal
5
+ // 2. hover
6
+ // 3. active
7
+ // 4. visited
8
+ // 5. focus
9
+ //
10
+ // Those states not specified will inherit.
11
+ // Mixin to an anchor link like so:
12
+ // a
13
+ // +link-colors(#00c, #0cc, #c0c, #ccc, #cc0)
14
+
15
+ @mixin link-colors($normal, $hover: false, $active: false, $visited: false, $focus: false) {
16
+ color: $normal;
17
+ @if $visited {
18
+ &:visited {
19
+ color: $visited; } }
20
+ @if $focus {
21
+ &:focus {
22
+ color: $focus; } }
23
+ @if $hover {
24
+ &:hover {
25
+ color: $hover; } }
26
+ @if $active {
27
+ &:active {
28
+ 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,34 @@
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
+
8
+ // turns off the bullets for an entire list
9
+ @mixin no-bullets {
10
+ list-style: none;
11
+ li { @include no-bullet; }
12
+ }
13
+
14
+ // Make a list(ul/ol) have an image bullet.
15
+ //
16
+ // The mixin should be used like this for an icon that is 5x7:
17
+ //
18
+ // ul.pretty
19
+ // +pretty-bullets("my-icon.png", 5px, 7px)
20
+ //
21
+ // Additionally, if the image dimensions are not provided,
22
+ // The image dimensions will be extracted from the image itself.
23
+ //
24
+ // ul.pretty
25
+ // +pretty-bullets("my-icon.png")
26
+ //
27
+ @mixin pretty-bullets($bullet-icon, $width: image-width($bullet-icon), $height: image-height($bullet-icon), $line-height: 18px, $padding: 14px) {
28
+ margin-left: 0;
29
+ li {
30
+ padding-left: $padding;
31
+ background: image-url($bullet-icon) no-repeat ($padding - $width) / 2 ($line-height - $height) / 2;
32
+ list-style-type: none;
33
+ }
34
+ }
@@ -0,0 +1,52 @@
1
+ // Horizontal list layout module.
2
+ //
3
+ // Easy mode using simple descendant li selectors:
4
+ //
5
+ // ul.nav
6
+ // +horizontal-list
7
+ //
8
+ // Advanced mode:
9
+ // If you need to target the list items using a different selector then use
10
+ // +horizontal-list-container on your ul/ol and +horizontal-list-item on your li.
11
+ // This may help when working on layouts involving nested lists. For example:
12
+ //
13
+ // ul.nav
14
+ // +horizontal-list-container
15
+ // > li
16
+ // +horizontal-list-item
17
+
18
+ @import "bullets";
19
+ @import "compass/utilities/general/clearfix";
20
+ @import "compass/utilities/general/reset";
21
+ @import "compass/utilities/general/float";
22
+
23
+ // Can be mixed into any selector that target a ul or ol that is meant
24
+ // to have a horizontal layout. Used to implement +horizontal-list.
25
+ @mixin horizontal-list-container {
26
+ @include reset-box-model;
27
+ @include clearfix; }
28
+
29
+ // Can be mixed into any li selector that is meant to participate in a horizontal layout.
30
+ // Used to implement +horizontal-list.
31
+ //
32
+ // :last-child is not fully supported
33
+ // see http://www.quirksmode.org/css/contents.html#t29 for the support matrix
34
+
35
+ @mixin horizontal-list-item($padding: 4px, $direction: left) {
36
+ @include no-bullet;
37
+ white-space: nowrap;
38
+ @include float($direction);
39
+ padding: {
40
+ left: $padding;
41
+ right: $padding;
42
+ };
43
+ &:first-child, &.first { padding-#{$direction}: 0px; }
44
+ &:last-child, &.last { padding-#{opposite-position($direction)}: 0px; }
45
+ }
46
+
47
+ // A list(ol,ul) that is layed out such that the elements are floated left and won't wrap.
48
+ // This is not an inline list.
49
+ @mixin horizontal-list($padding: 4px, $direction: left) {
50
+ @include horizontal-list-container;
51
+ li {
52
+ @include horizontal-list-item($padding, $direction); } }
@@ -0,0 +1,47 @@
1
+ // Inline-Block list layout module.
2
+ //
3
+ // Easy mode using simple descendant li selectors:
4
+ //
5
+ // ul.nav
6
+ // +inline-block-list
7
+ //
8
+ // Advanced mode:
9
+ // If you need to target the list items using a different selector then use
10
+ // +inline-block-list-container on your ul/ol and +inline-block-list-item on your li.
11
+ // This may help when working on layouts involving nested lists. For example:
12
+ //
13
+ // ul.nav
14
+ // +inline-block-list-container
15
+ // > li
16
+ // +inline-block-list-item
17
+
18
+ @import "bullets";
19
+ @import "horizontal-list";
20
+ @import "compass/utilities/general/float";
21
+ @import "compass/css3/inline-block";
22
+
23
+ // Can be mixed into any selector that target a ul or ol that is meant
24
+ // to have an inline-block layout. Used to implement +inline-block-list.
25
+ @mixin inline-block-list-container {
26
+ @include horizontal-list-container; }
27
+
28
+ // Can be mixed into any li selector that is meant to participate in a horizontal layout.
29
+ // Used to implement +inline-block-list.
30
+
31
+ @mixin inline-block-list-item($padding: false) {
32
+ @include no-bullet;
33
+ @include inline-block;
34
+ white-space: nowrap;
35
+ @if $padding {
36
+ padding: {
37
+ left: $padding;
38
+ right: $padding;
39
+ };
40
+ }
41
+ }
42
+
43
+ // A list(ol,ul) that is layed out such that the elements are inline-block and won't wrap.
44
+ @mixin inline-block-list($padding: false) {
45
+ @include inline-block-list-container;
46
+ li {
47
+ @include inline-block-list-item($padding); } }
@@ -0,0 +1,29 @@
1
+ // makes a list inline.
2
+
3
+ @mixin inline-list {
4
+ list-style-type: none;
5
+ &, & li {
6
+ margin: 0px;
7
+ padding: 0px;
8
+ display: inline;
9
+ }
10
+ }
11
+
12
+ // makes an inline list that is comma delimited.
13
+ // Please make note of the browser support issues before using this mixin.
14
+ //
15
+ // use of `content` and `:after` is not fully supported in all browsers.
16
+ // See quirksmode for the [support matrix](http://www.quirksmode.org/css/contents.html#t15)
17
+ //
18
+ // `:last-child` is not fully supported.
19
+ // see quirksmode for the [support matrix](http://www.quirksmode.org/css/contents.html#t29).
20
+
21
+ @mixin comma-delimited-list {
22
+ @include inline-list;
23
+ li {
24
+ &:after { content: ", "; }
25
+ &:last-child, &.last {
26
+ &:after { content: ""; }
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,56 @@
1
+ // @doc off
2
+ // Example 1:
3
+ //
4
+ // a.twitter
5
+ // +sprite-img("icons-32.png", 1)
6
+ // a.facebook
7
+ // +sprite-img("icons-32png", 2)
8
+ //
9
+ // Example 2:
10
+ //
11
+ // a
12
+ // +sprite-background("icons-32.png")
13
+ // a.twitter
14
+ // +sprite-column(1)
15
+ // a.facebook
16
+ // +sprite-row(2)
17
+ // @doc on
18
+
19
+ $sprite-default-size: 32px !default;
20
+
21
+ $sprite-default-margin: 0px !default;
22
+
23
+ $sprite-image-default-width: $sprite-default-size !default;
24
+
25
+ $sprite-image-default-height: $sprite-default-size !default;
26
+
27
+ // Sets all the rules for a sprite from a given sprite image to show just one of the sprites.
28
+ // To reduce duplication use a sprite-bg mixin for common properties and a sprite-select mixin for positioning.
29
+ @mixin sprite-img($img, $col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
30
+ @include sprite-background($img, $width, $height);
31
+ @include sprite-position($col, $row, $width, $height, $margin); }
32
+
33
+ // Sets rules common for all sprites, assumes you want a square, but allows a rectangular region.
34
+ @mixin sprite-background($img, $width: $sprite-default-size, $height: $width) {
35
+ @include sprite-background-rectangle($img, $width, $height); }
36
+
37
+ // Sets rules common for all sprites, assumes a rectangular region.
38
+ @mixin sprite-background-rectangle($img, $width: $sprite-image-default-width, $height: $sprite-image-default-height) {
39
+ background: image-url($img) no-repeat;
40
+ width: $width;
41
+ height: $height;
42
+ overflow: hidden; }
43
+
44
+ // Allows horizontal sprite positioning optimized for a single row of sprites.
45
+ @mixin sprite-column($col, $width: $sprite-image-default-width, $margin: $sprite-default-margin) {
46
+ @include sprite-position($col, 1, $width, 0px, $margin); }
47
+
48
+ // Allows vertical sprite positioning optimized for a single column of sprites.
49
+ @mixin sprite-row($row, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
50
+ @include sprite-position(1, $row, 0px, $height, $margin); }
51
+
52
+ // Allows vertical and horizontal sprite positioning from a grid of equal dimensioned sprites.
53
+ @mixin sprite-position($col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
54
+ $x: ($col - 1) * -$width - ($col - 1) * $margin;
55
+ $y: ($row - 1) * -$height - ($row - 1) * $margin;
56
+ 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, &:nth-child(2n) {
5
+ background-color: $header-color - $dark-intersection; } }
6
+ tr.odd {
7
+ td {
8
+ background-color: $odd-row-color;
9
+ &.even, &:nth-child(2n) {
10
+ background-color: $odd-row-color - $dark-intersection; } } }
11
+ tr.even {
12
+ td {
13
+ background-color: $even-row-color;
14
+ &.even, &:nth-child(2n) {
15
+ background-color: $even-row-color - $dark-intersection; } } }
16
+ tfoot {
17
+ th, td {
18
+ background-color: $footer-color;
19
+ &.even, &:nth-child(2n) {
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,25 @@
1
+ @import "compass/css3/shared";
2
+
3
+ // To get full firefox support, you must install the ellipsis pattern:
4
+ //
5
+ // compass install compass/ellipsis
6
+ $use-mozilla-ellipsis-binding: false !default;
7
+
8
+ // This technique, by [Justin Maxwell](http://code404.com/), was originally
9
+ // published [here](http://mattsnider.com/css/css-string-truncation-with-ellipsis/).
10
+ // Firefox implementation by [Rikkert Koppes](http://www.rikkertkoppes.com/thoughts/2008/6/).
11
+ @mixin ellipsis($no-wrap: true) {
12
+ @if $no-wrap { white-space: nowrap; }
13
+ overflow: hidden;
14
+ @include experimental(text-overflow, ellipsis,
15
+ not -moz,
16
+ not -webkit,
17
+ -o,
18
+ -ms,
19
+ not -khtml,
20
+ official
21
+ );
22
+ @if $experimental-support-for-mozilla and $use-mozilla-ellipsis-binding {
23
+ -moz-binding: stylesheet-url(unquote("xml/ellipsis.xml#ellipsis"));
24
+ }
25
+ }
@@ -0,0 +1,2 @@
1
+ // When remembering whether or not there's a hyphen in white-space is too hard
2
+ @mixin nowrap { white-space: nowrap; }
@@ -0,0 +1,34 @@
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
+ //
5
+ // Parameters:
6
+ //
7
+ // * `img` -- the relative path from the project image directory to the image.
8
+ // * `x` -- the x position of the background image.
9
+ // * `y` -- the y position of the background image.
10
+ @mixin replace-text($img, $x: 50%, $y: 50%) {
11
+ @include hide-text;
12
+ background: {
13
+ image: image-url($img);
14
+ repeat: no-repeat;
15
+ position: $x $y;
16
+ };
17
+ }
18
+
19
+ // Like the `replace-text` mixin, but also sets the width
20
+ // and height of the element according the dimensions of the image.
21
+ @mixin replace-text-with-dimensions($img, $x: 50%, $y: 50%) {
22
+ @include replace-text($img, $x, $y);
23
+ width: image-width($img);
24
+ height: image-height($img);
25
+ }
26
+
27
+ // Hides text in an element so you can see the background.
28
+ @mixin hide-text {
29
+ $approximate_em_value: 12px / 1em;
30
+ $wider_than_any_screen: -9999em;
31
+ text-indent: $wider_than_any_screen * $approximate_em_value;
32
+ overflow: hidden;
33
+ text-align: left;
34
+ }
@@ -0,0 +1,122 @@
1
+ <?php
2
+ /* SVN FILE: $Id: SassRuleNode.php 49 2010-04-04 10:51:24Z chris.l.yates $ */
3
+ /**
4
+ * Message translations.
5
+ *
6
+ * This file is contains the localizable messages for Sass. You may modify this
7
+ * file by translating the messages and saving with the filename language.php
8
+ * where "language" is the language ID of the translations.
9
+ *
10
+ * Each array element represents the translation (value) of a message (key).
11
+ * If the value is empty the message is considered as not translated.
12
+ *
13
+ * NOTE: this file must be saved in UTF-8 encoding.
14
+ *
15
+ * @author Chris Yates <chris.l.yates@gmail.com>
16
+ * @copyright Copyright (c) 2010 PBM Web Development
17
+ * @license http://phamlp.googlecode.com/files/license.txt
18
+ * @package PHamlP
19
+ * @subpackage Sass.messages
20
+ */
21
+ return array (
22
+ '@else(if) directive must come after @(else)if'=>'',
23
+ 'Amount to shift left'=>'',
24
+ 'Amount to shift right'=>'',
25
+ 'between {min} and {max} inclusive'=>'',
26
+ 'Can not use parent selector (&) when no parent selectors'=>'',
27
+ 'Child classes must override this method'=>'',
28
+ '{class} does not support {operation}.'=>'',
29
+ 'Colour'=>'',
30
+ 'colours'=>'',
31
+ 'Illegal comment type'=>'',
32
+ 'Illegal indentation ({level}); indentation can only increase by one'=>'',
33
+ 'import directives'=>'',
34
+ 'Incompatible units: {from} and {to}'=>'',
35
+ 'Incorrect argument count for {method}; expected {expected}, received {received}'=>'',
36
+ 'Incorrect operand count for {operation}; expected {expected}, received {received}'=>'',
37
+ 'Invalid indentation'=>'',
38
+ 'Invalid units: {value}'=>'',
39
+ 'Invalid variable definition; name and expression required'=>'',
40
+ 'Invalid {what}'=>'',
41
+ 'Mixed indentation not allowed'=>'',
42
+ 'Mixin {which} directive shortcut not allowed in SCSS'=>'',
43
+ "Mixin::{mname}: Required variable ({vname}) not given.\nMixin defined: {dfile}::{dline}\nMixin used"=>"",
44
+ 'Mixin::{name}: Required variables must be defined before optional variables'=>'',
45
+ 'Mixins can only be defined at root level'=>'',
46
+ 'Nesting not allowed beneath {what}'=>'',
47
+ 'No getter function for {what}'=>'',
48
+ 'No setter function for {what}'=>'',
49
+ 'number'=>'',
50
+ 'Number'=>'',
51
+ 'Properties can not be assigned at root level'=>'',
52
+ 'SassColour can not have HSL and RGB keys specified'=>'',
53
+ 'SassColour must have all {colourSpace} keys specified'=>'',
54
+ 'SassColour array must have at least 3 elements'=>'',
55
+ 'Selectors can not end in a comma'=>'',
56
+ 'Setting variables with "{sassDefault}=" is deprecated; use "${name}: {value}{scssDefault}"'=>'',
57
+ 'Unable to create document tree for {uri}'=>'',
58
+ 'Unable to find {what}: {filename}'=>'',
59
+ 'Undefined operation "{operation}" for {what}'=>'',
60
+ 'Undefined {what}: {name}'=>'',
61
+ 'unitless number'=>'',
62
+ 'Unknown property: {name}'=>'',
63
+ 'Unmatched parentheses'=>'',
64
+ 'Value'=>'',
65
+ 'variables'=>'',
66
+ 'Variables prefixed with "!" is deprecated; use "${name}"'=>'',
67
+ 'Warning'=>'',
68
+ '{what} must be a {type}'=>'',
69
+ '{what} must be {inRange}'=>'',
70
+ );
71
+
72
+ /**
73
+ * The lines below can be used in Google translate
74
+ @else(if) directive must come after @(else)if
75
+ Amount to shift left
76
+ Amount to shift right
77
+ between {min} and {max} inclusive
78
+ Can not use parent selector (&) when no parent selectors
79
+ Child classes must override this method
80
+ {class} does not support {operation}.
81
+ Colour
82
+ colours
83
+ Illegal comment type
84
+ Illegal indentation ({level}); indentation can only increase by one
85
+ import directives
86
+ Incompatible units: {value1} and {value2}
87
+ Incorrect argument count for {method}; expected {expected}, received {received}
88
+ Incorrect operand count for {operation}; expected {expected}, received {received}
89
+ Invalid indentation
90
+ Invalid units: {value}
91
+ Invalid variable definition; name and expression required
92
+ Invalid {what}
93
+ Mixed indentation not allowed
94
+ Mixin {which} directive shortcut not allowed in SCSS
95
+ Mixin::{mname}: Required variable ({vname}) not given.\nMixin defined: {dfile}::{dline}\nMixin used
96
+ Mixin::{name}: Required variables must be defined before optional variables
97
+ Mixins can only be defined at root level
98
+ Nesting not allowed beneath {what}
99
+ No getter function for {what}
100
+ No setter function for {what}
101
+ number
102
+ Number
103
+ Properties can not be assigned at root level
104
+ SassColour can not have HSL and RGB keys specified
105
+ SassColour must have all {colourSpace} keys specified
106
+ SassColour array must have at least 3 elements
107
+ Selectors can not end in a comma
108
+ Setting variables with "{sassDefault}=" is deprecated; use "${name}: {value}{scssDefault}"
109
+ Unable to create document tree for {uri}
110
+ Unable to find {what}: {filename}
111
+ Undefined operation "{operation}" for {what}
112
+ Undefined {what}: {name}
113
+ unitless number
114
+ Unknown property: {name}
115
+ Unmatched parentheses
116
+ Value
117
+ variables
118
+ Variables prefixed with "!" is deprecated; use "${name}"
119
+ Warning
120
+ {what} must be a {type}
121
+ {what} must be {inRange}
122
+ */
@@ -0,0 +1,70 @@
1
+ <?php
2
+ /* SVN FILE: $Id: SassRuleNode.php 49 2010-04-04 10:51:24Z chris.l.yates $ */
3
+ /**
4
+ * Message translations.
5
+ *
6
+ * This file is contains the localizable messages for Sass. You may modify this
7
+ * file by translating the messages and saving with the filename language.php
8
+ * where "language" is the language ID of the translations.
9
+ *
10
+ * Each array element represents the translation (value) of a message (key).
11
+ * If the value is empty the message is considered as not translated.
12
+ *
13
+ * NOTE: this file must be saved in UTF-8 encoding.
14
+ *
15
+ * @author Chris Yates <chris.l.yates@gmail.com>
16
+ * @copyright Copyright (c) 2010 PBM Web Development
17
+ * @license http://phamlp.googlecode.com/files/license.txt
18
+ * @package PHamlP
19
+ * @subpackage Sass.messages
20
+ */
21
+ return array (
22
+ '@else(if) directive must come after @(else)if'=>'@else(if) directive muss kommen nach @(else)if',
23
+ 'Amount to shift left'=>'Betrag nach links verschieben ',
24
+ 'Amount to shift right'=>'Betrag nach rechts verschieben ',
25
+ 'between {min} and {max} inclusive'=>'zwischen {min} und {max} inclusive',
26
+ 'Can not use parent selector (&) when no parent selectors'=>'Kann nicht verwenden Muttergesellschaft Selektor (&) wenn kein Elternteil Selektoren',
27
+ 'Child classes must override this method'=>'Child-Klassen müssen diese Methode überschreiben ',
28
+ '{class} does not support {operation}.'=>'{class} unterstützt keine {operation}',
29
+ 'Colour'=>'Farbe',
30
+ 'colours'=>'farben',
31
+ 'Illegal comment type'=>'Illegal Art Kommentar',
32
+ 'Illegal indentation ({level}); indentation can only increase by one'=>'Illegale einrückungsebene ({level}); einrückungsebene kann nur von einem',
33
+ 'import directives'=>'import-richtlinien',
34
+ 'Incompatible units: {from} and {to}'=>'Unvereinbare Einheiten: {from} und {to}',
35
+ 'Incorrect argument count for {method}; expected {expected}, received {received}'=>'Falscher argument zählen für den {method}; erwartet {expected}, erhielt {received}',
36
+ 'Incorrect operand count for {operation}; expected {expected}, received {received}'=>'Falscher operand zählen für den {operation}; erwartet {expected}, erhielt {received}',
37
+ 'Invalid indentation'=>'Ungültige einrückung',
38
+ 'Invalid units: {value}'=>'Ungültige einheiten: {value}',
39
+ 'Invalid variable definition; name and expression required'=>'ungültige definition der variablen, namen und ausdruck erforderlich',
40
+ 'Invalid {what}'=>'Ungültige {what}',
41
+ 'Mixed indentation not allowed'=>'Mixed einzug nicht erlaubt',
42
+ 'Mixin {which} directive shortcut not allowed in SCSS'=>'Mixin {which} directive verknüpfung nicht erlaubt in SCSS',
43
+ "Mixin::{mname}: Required variable ({vname}) not given.\nMixin defined: {dfile}::{dline}\nMixin used"=>"Mixin::{mname}:: Erforderliche Variablen ({vname}) nicht gegeben.\nMixin definiert:{dfile}::{dline}\nMixin verwendet",
44
+ 'Mixin::{name}: Required variables must be defined before optional variables'=>'Mixin::{name}: Erforderliche Variablen müssen vor dem fakultativen Variablen definiert werden',
45
+ 'Mixins can only be defined at root level'=>'Mixins kann nur auf Root-Ebene definiert werden',
46
+ 'Nesting not allowed beneath {what}'=>'Verschachtelung nicht erlaubt unter {what}',
47
+ 'No getter function for {what}'=>'Kein getter-funktion für {what}',
48
+ 'No setter function for {what}'=>'Kein setter-funktion für {what}',
49
+ 'number'=>'zahl',
50
+ 'Number'=>'Zahl',
51
+ 'Properties can not be assigned at root level'=>'Eigenschaften können nicht auf Root-Ebene zugeordnet werden',
52
+ 'SassColour can not have HSL and RGB keys specified'=>'SassColour kann nicht sein, HSL und RGB schlüssel angegeben',
53
+ 'SassColour must have all {colourSpace} keys specified'=>'SassColour müssen alle {colourSpace} schlüssel angegeben',
54
+ 'SassColour array must have at least 3 elements'=>'SassColour array muss mindestens 3 elemente',
55
+ 'Selectors can not end in a comma'=>'Selektoren können nicht in ein Komma Ende',
56
+ 'Setting variables with "{sassDefault}=" is deprecated; use "${name}: {value}{scssDefault}"'=>'Variablen setzen mit "{sassDefault}=" ist veraltet; use "${name}: {value}{scssDefault}"',
57
+ 'Unable to create document tree for {uri}'=>'Kann dokument baum create für {uri}',
58
+ 'Unable to find {what}: {filename}'=>'Kann zu finden {what}: {filename}',
59
+ 'Undefined operation "{operation}" for {what}'=>'Undefined Betrieb "{operation}" für {what}',
60
+ 'Undefined {what}: {name}'=>'Undefined {what}: {name}',
61
+ 'unitless number'=>'unitless zahl',
62
+ 'Unknown property: {name}'=>'Unbekannte eigenschaft: {name}',
63
+ 'Unmatched parentheses'=>'Unübertroffene klammern',
64
+ 'Value'=>'Wert',
65
+ 'variables'=>'variablen',
66
+ 'Variables prefixed with "!" is deprecated; use "${name}"'=>'Variablen mit dem präfix "!" ist veraltet; benutzen "${name}"',
67
+ 'Warning'=>'Warnung',
68
+ '{what} must be a {type}'=>'{what} muss eine {type}',
69
+ '{what} must be {inRange}'=>'{what} muss {inRange}',
70
+ );