groundworkcss-rails 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (350) hide show
  1. data/README.md +38 -0
  2. data/Rakefile +38 -0
  3. data/app/helpers/breadcrumbs_helper.rb~ +5 -0
  4. data/app/helpers/flash_block_helper.rb +17 -0
  5. data/app/helpers/flash_block_helper.rb~ +18 -0
  6. data/app/helpers/flash_helper.rb +21 -0
  7. data/app/helpers/flash_helper.rb~ +21 -0
  8. data/app/helpers/glyph_helper.rb +12 -0
  9. data/app/helpers/groundwork_flash_helper.rb~ +21 -0
  10. data/app/helpers/modal_helper.rb~ +42 -0
  11. data/app/helpers/social_glyph_helper.rb +13 -0
  12. data/app/helpers/social_glyph_helper.rb~ +12 -0
  13. data/lib/generators/groundworkcss/install/install_generator.rb +50 -0
  14. data/lib/generators/groundworkcss/install/install_generator.rb~ +44 -0
  15. data/lib/generators/groundworkcss/install/templates/application.css.scss +9 -0
  16. data/lib/generators/groundworkcss/install/templates/application.css.scss~ +8 -0
  17. data/lib/generators/groundworkcss/install/templates/application.css~ +7 -0
  18. data/lib/generators/groundworkcss/install/templates/application.js +10 -0
  19. data/lib/generators/groundworkcss/install/templates/application.js~ +10 -0
  20. data/lib/generators/groundworkcss/install/templates/groundwork-and-overrides.scss +12 -0
  21. data/lib/generators/groundworkcss/install/templates/groundwork-and-overrides.scss~ +10 -0
  22. data/lib/generators/groundworkcss/install/templates/groundwork-overrides.scss~ +7 -0
  23. data/lib/generators/groundworkcss/install/templates/groundwork.coffee +1 -0
  24. data/lib/generators/groundworkcss/install/templates/groundwork.coffee~ +0 -0
  25. data/lib/generators/groundworkcss/install/templates/groundwork.js +1 -0
  26. data/lib/generators/groundworkcss/install/templates/groundwork.js~ +1 -0
  27. data/lib/generators/groundworkcss/layout/layout_generator.rb +21 -0
  28. data/lib/generators/groundworkcss/layout/layout_generator.rb~ +21 -0
  29. data/lib/generators/groundworkcss/layout/templates/_header.html.erb +24 -0
  30. data/lib/generators/groundworkcss/layout/templates/_header.html.erb~ +24 -0
  31. data/lib/generators/groundworkcss/layout/templates/_sidebar.html.erb +21 -0
  32. data/lib/generators/groundworkcss/layout/templates/_sidebar.html.erb~ +18 -0
  33. data/lib/generators/groundworkcss/layout/templates/layout.html.erb +44 -0
  34. data/lib/generators/groundworkcss/layout/templates/layout.html.erb~ +44 -0
  35. data/lib/groundworkcss-rails.rb +8 -0
  36. data/lib/groundworkcss/rails/bootstrap.rb~ +2 -0
  37. data/lib/groundworkcss/rails/engine.rb +27 -0
  38. data/lib/groundworkcss/rails/engine.rb~ +30 -0
  39. data/lib/groundworkcss/rails/groundworkcss.rb +2 -0
  40. data/lib/groundworkcss/rails/version.rb +5 -0
  41. data/lib/groundworkcss/rails/version.rb~ +7 -0
  42. data/lib/twitter-bootstrap-rails.rb~ +10 -0
  43. data/vendor/assets/fonts/groundworkcss/FontAwesome.otf +0 -0
  44. data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.eot +0 -0
  45. data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.svg +284 -0
  46. data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.ttf +0 -0
  47. data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.woff +0 -0
  48. data/vendor/assets/fonts/groundworkcss/fontawesome.otf +0 -0
  49. data/vendor/assets/images/groundworkcss/black_linen_v2.png +0 -0
  50. data/vendor/assets/images/groundworkcss/orbit/bullets.jpg +0 -0
  51. data/vendor/assets/images/groundworkcss/orbit/left-arrow.png +0 -0
  52. data/vendor/assets/images/groundworkcss/orbit/loading.gif +0 -0
  53. data/vendor/assets/images/groundworkcss/orbit/mask-black.png +0 -0
  54. data/vendor/assets/images/groundworkcss/orbit/pause-black.png +0 -0
  55. data/vendor/assets/images/groundworkcss/orbit/right-arrow.png +0 -0
  56. data/vendor/assets/images/groundworkcss/orbit/rotator-black.png +0 -0
  57. data/vendor/assets/images/groundworkcss/orbit/timer-black.png +0 -0
  58. data/vendor/assets/images/groundworkcss/pw_maze_white.png +0 -0
  59. data/vendor/assets/images/groundworkcss/social-icons/500px-m.png +0 -0
  60. data/vendor/assets/images/groundworkcss/social-icons/500px-s.png +0 -0
  61. data/vendor/assets/images/groundworkcss/social-icons/500px.png +0 -0
  62. data/vendor/assets/images/groundworkcss/social-icons/500px.svg +62 -0
  63. data/vendor/assets/images/groundworkcss/social-icons/aboutme-m.png +0 -0
  64. data/vendor/assets/images/groundworkcss/social-icons/aboutme-s.png +0 -0
  65. data/vendor/assets/images/groundworkcss/social-icons/aboutme.png +0 -0
  66. data/vendor/assets/images/groundworkcss/social-icons/aboutme.svg +42 -0
  67. data/vendor/assets/images/groundworkcss/social-icons/adn-m.png +0 -0
  68. data/vendor/assets/images/groundworkcss/social-icons/adn-s.png +0 -0
  69. data/vendor/assets/images/groundworkcss/social-icons/adn.png +0 -0
  70. data/vendor/assets/images/groundworkcss/social-icons/adn.svg +14 -0
  71. data/vendor/assets/images/groundworkcss/social-icons/android-m.png +0 -0
  72. data/vendor/assets/images/groundworkcss/social-icons/android-s.png +0 -0
  73. data/vendor/assets/images/groundworkcss/social-icons/android.png +0 -0
  74. data/vendor/assets/images/groundworkcss/social-icons/android.svg +30 -0
  75. data/vendor/assets/images/groundworkcss/social-icons/apple-m.png +0 -0
  76. data/vendor/assets/images/groundworkcss/social-icons/apple-s.png +0 -0
  77. data/vendor/assets/images/groundworkcss/social-icons/apple.png +0 -0
  78. data/vendor/assets/images/groundworkcss/social-icons/apple.svg +19 -0
  79. data/vendor/assets/images/groundworkcss/social-icons/behance-m.png +0 -0
  80. data/vendor/assets/images/groundworkcss/social-icons/behance-s.png +0 -0
  81. data/vendor/assets/images/groundworkcss/social-icons/behance.png +0 -0
  82. data/vendor/assets/images/groundworkcss/social-icons/behance.svg +48 -0
  83. data/vendor/assets/images/groundworkcss/social-icons/bitbucket-m.png +0 -0
  84. data/vendor/assets/images/groundworkcss/social-icons/bitbucket-s.png +0 -0
  85. data/vendor/assets/images/groundworkcss/social-icons/bitbucket.png +0 -0
  86. data/vendor/assets/images/groundworkcss/social-icons/bitbucket.svg +36 -0
  87. data/vendor/assets/images/groundworkcss/social-icons/blogger-m.png +0 -0
  88. data/vendor/assets/images/groundworkcss/social-icons/blogger-s.png +0 -0
  89. data/vendor/assets/images/groundworkcss/social-icons/blogger.png +0 -0
  90. data/vendor/assets/images/groundworkcss/social-icons/blogger.svg +22 -0
  91. data/vendor/assets/images/groundworkcss/social-icons/coderwall-m.png +0 -0
  92. data/vendor/assets/images/groundworkcss/social-icons/coderwall-s.png +0 -0
  93. data/vendor/assets/images/groundworkcss/social-icons/coderwall.png +0 -0
  94. data/vendor/assets/images/groundworkcss/social-icons/coderwall.svg +21 -0
  95. data/vendor/assets/images/groundworkcss/social-icons/creativecloud-m.png +0 -0
  96. data/vendor/assets/images/groundworkcss/social-icons/creativecloud-s.png +0 -0
  97. data/vendor/assets/images/groundworkcss/social-icons/creativecloud.png +0 -0
  98. data/vendor/assets/images/groundworkcss/social-icons/creativecloud.svg +48 -0
  99. data/vendor/assets/images/groundworkcss/social-icons/dribbble-m.png +0 -0
  100. data/vendor/assets/images/groundworkcss/social-icons/dribbble-s.png +0 -0
  101. data/vendor/assets/images/groundworkcss/social-icons/dribbble.png +0 -0
  102. data/vendor/assets/images/groundworkcss/social-icons/dribbble.svg +28 -0
  103. data/vendor/assets/images/groundworkcss/social-icons/dropbox-m.png +0 -0
  104. data/vendor/assets/images/groundworkcss/social-icons/dropbox-s.png +0 -0
  105. data/vendor/assets/images/groundworkcss/social-icons/dropbox.png +0 -0
  106. data/vendor/assets/images/groundworkcss/social-icons/dropbox.svg +73 -0
  107. data/vendor/assets/images/groundworkcss/social-icons/evernote-m.png +0 -0
  108. data/vendor/assets/images/groundworkcss/social-icons/evernote-s.png +0 -0
  109. data/vendor/assets/images/groundworkcss/social-icons/evernote.png +0 -0
  110. data/vendor/assets/images/groundworkcss/social-icons/evernote.svg +62 -0
  111. data/vendor/assets/images/groundworkcss/social-icons/facebook-m.png +0 -0
  112. data/vendor/assets/images/groundworkcss/social-icons/facebook-s.png +0 -0
  113. data/vendor/assets/images/groundworkcss/social-icons/facebook.png +0 -0
  114. data/vendor/assets/images/groundworkcss/social-icons/facebook.svg +15 -0
  115. data/vendor/assets/images/groundworkcss/social-icons/fairheadcreative-m.png +0 -0
  116. data/vendor/assets/images/groundworkcss/social-icons/fairheadcreative-s.png +0 -0
  117. data/vendor/assets/images/groundworkcss/social-icons/fairheadcreative.png +0 -0
  118. data/vendor/assets/images/groundworkcss/social-icons/fairheadcreative.svg +24 -0
  119. data/vendor/assets/images/groundworkcss/social-icons/flickr-m.png +0 -0
  120. data/vendor/assets/images/groundworkcss/social-icons/flickr-s.png +0 -0
  121. data/vendor/assets/images/groundworkcss/social-icons/flickr.png +0 -0
  122. data/vendor/assets/images/groundworkcss/social-icons/flickr.svg +14 -0
  123. data/vendor/assets/images/groundworkcss/social-icons/foursquare-m.png +0 -0
  124. data/vendor/assets/images/groundworkcss/social-icons/foursquare-s.png +0 -0
  125. data/vendor/assets/images/groundworkcss/social-icons/foursquare.png +0 -0
  126. data/vendor/assets/images/groundworkcss/social-icons/foursquare.svg +43 -0
  127. data/vendor/assets/images/groundworkcss/social-icons/git-m.png +0 -0
  128. data/vendor/assets/images/groundworkcss/social-icons/git-s.png +0 -0
  129. data/vendor/assets/images/groundworkcss/social-icons/git.png +0 -0
  130. data/vendor/assets/images/groundworkcss/social-icons/git.svg +22 -0
  131. data/vendor/assets/images/groundworkcss/social-icons/github-m.png +0 -0
  132. data/vendor/assets/images/groundworkcss/social-icons/github-s.png +0 -0
  133. data/vendor/assets/images/groundworkcss/social-icons/github.png +0 -0
  134. data/vendor/assets/images/groundworkcss/social-icons/github.svg +38 -0
  135. data/vendor/assets/images/groundworkcss/social-icons/goodreads-m.png +0 -0
  136. data/vendor/assets/images/groundworkcss/social-icons/goodreads-s.png +0 -0
  137. data/vendor/assets/images/groundworkcss/social-icons/goodreads.png +0 -0
  138. data/vendor/assets/images/groundworkcss/social-icons/goodreads.svg +38 -0
  139. data/vendor/assets/images/groundworkcss/social-icons/googleplay-m.png +0 -0
  140. data/vendor/assets/images/groundworkcss/social-icons/googleplay-s.png +0 -0
  141. data/vendor/assets/images/groundworkcss/social-icons/googleplay.png +0 -0
  142. data/vendor/assets/images/groundworkcss/social-icons/googleplay.svg +24 -0
  143. data/vendor/assets/images/groundworkcss/social-icons/googleplus-m.png +0 -0
  144. data/vendor/assets/images/groundworkcss/social-icons/googleplus-s.png +0 -0
  145. data/vendor/assets/images/groundworkcss/social-icons/googleplus.png +0 -0
  146. data/vendor/assets/images/groundworkcss/social-icons/googleplus.svg +52 -0
  147. data/vendor/assets/images/groundworkcss/social-icons/html5-m.png +0 -0
  148. data/vendor/assets/images/groundworkcss/social-icons/html5-s.png +0 -0
  149. data/vendor/assets/images/groundworkcss/social-icons/html5.png +0 -0
  150. data/vendor/assets/images/groundworkcss/social-icons/html5.svg +29 -0
  151. data/vendor/assets/images/groundworkcss/social-icons/icloud-m.png +0 -0
  152. data/vendor/assets/images/groundworkcss/social-icons/icloud-s.png +0 -0
  153. data/vendor/assets/images/groundworkcss/social-icons/icloud.png +0 -0
  154. data/vendor/assets/images/groundworkcss/social-icons/icloud.svg +26 -0
  155. data/vendor/assets/images/groundworkcss/social-icons/instagram-m.png +0 -0
  156. data/vendor/assets/images/groundworkcss/social-icons/instagram-s.png +0 -0
  157. data/vendor/assets/images/groundworkcss/social-icons/instagram.png +0 -0
  158. data/vendor/assets/images/groundworkcss/social-icons/instagram.svg +166 -0
  159. data/vendor/assets/images/groundworkcss/social-icons/lastfm-m.png +0 -0
  160. data/vendor/assets/images/groundworkcss/social-icons/lastfm-s.png +0 -0
  161. data/vendor/assets/images/groundworkcss/social-icons/lastfm.png +0 -0
  162. data/vendor/assets/images/groundworkcss/social-icons/lastfm.svg +44 -0
  163. data/vendor/assets/images/groundworkcss/social-icons/linkedin-m.png +0 -0
  164. data/vendor/assets/images/groundworkcss/social-icons/linkedin-s.png +0 -0
  165. data/vendor/assets/images/groundworkcss/social-icons/linkedin.png +0 -0
  166. data/vendor/assets/images/groundworkcss/social-icons/linkedin.svg +28 -0
  167. data/vendor/assets/images/groundworkcss/social-icons/mail-m.png +0 -0
  168. data/vendor/assets/images/groundworkcss/social-icons/mail-s.png +0 -0
  169. data/vendor/assets/images/groundworkcss/social-icons/mail.png +0 -0
  170. data/vendor/assets/images/groundworkcss/social-icons/mail.svg +27 -0
  171. data/vendor/assets/images/groundworkcss/social-icons/mercurial-m.png +0 -0
  172. data/vendor/assets/images/groundworkcss/social-icons/mercurial-s.png +0 -0
  173. data/vendor/assets/images/groundworkcss/social-icons/mercurial.png +0 -0
  174. data/vendor/assets/images/groundworkcss/social-icons/mercurial.svg +22 -0
  175. data/vendor/assets/images/groundworkcss/social-icons/mixi-m.png +0 -0
  176. data/vendor/assets/images/groundworkcss/social-icons/mixi-s.png +0 -0
  177. data/vendor/assets/images/groundworkcss/social-icons/mixi.png +0 -0
  178. data/vendor/assets/images/groundworkcss/social-icons/mixi.svg +32 -0
  179. data/vendor/assets/images/groundworkcss/social-icons/msn-m.png +0 -0
  180. data/vendor/assets/images/groundworkcss/social-icons/msn-s.png +0 -0
  181. data/vendor/assets/images/groundworkcss/social-icons/msn.png +0 -0
  182. data/vendor/assets/images/groundworkcss/social-icons/msn.svg +44 -0
  183. data/vendor/assets/images/groundworkcss/social-icons/orkut-m.png +0 -0
  184. data/vendor/assets/images/groundworkcss/social-icons/orkut-s.png +0 -0
  185. data/vendor/assets/images/groundworkcss/social-icons/orkut.png +0 -0
  186. data/vendor/assets/images/groundworkcss/social-icons/orkut.svg +23 -0
  187. data/vendor/assets/images/groundworkcss/social-icons/picasa-m.png +0 -0
  188. data/vendor/assets/images/groundworkcss/social-icons/picasa-s.png +0 -0
  189. data/vendor/assets/images/groundworkcss/social-icons/picasa.png +0 -0
  190. data/vendor/assets/images/groundworkcss/social-icons/picasa.svg +48 -0
  191. data/vendor/assets/images/groundworkcss/social-icons/pinterest-m.png +0 -0
  192. data/vendor/assets/images/groundworkcss/social-icons/pinterest-s.png +0 -0
  193. data/vendor/assets/images/groundworkcss/social-icons/pinterest.png +0 -0
  194. data/vendor/assets/images/groundworkcss/social-icons/pinterest.svg +42 -0
  195. data/vendor/assets/images/groundworkcss/social-icons/pocketapp-m.png +0 -0
  196. data/vendor/assets/images/groundworkcss/social-icons/pocketapp-s.png +0 -0
  197. data/vendor/assets/images/groundworkcss/social-icons/pocketapp.png +0 -0
  198. data/vendor/assets/images/groundworkcss/social-icons/pocketapp.svg +38 -0
  199. data/vendor/assets/images/groundworkcss/social-icons/quora-m.png +0 -0
  200. data/vendor/assets/images/groundworkcss/social-icons/quora-s.png +0 -0
  201. data/vendor/assets/images/groundworkcss/social-icons/quora.png +0 -0
  202. data/vendor/assets/images/groundworkcss/social-icons/quora.svg +20 -0
  203. data/vendor/assets/images/groundworkcss/social-icons/rdio-m.png +0 -0
  204. data/vendor/assets/images/groundworkcss/social-icons/rdio-s.png +0 -0
  205. data/vendor/assets/images/groundworkcss/social-icons/rdio.png +0 -0
  206. data/vendor/assets/images/groundworkcss/social-icons/rdio.svg +18 -0
  207. data/vendor/assets/images/groundworkcss/social-icons/renren-m.png +0 -0
  208. data/vendor/assets/images/groundworkcss/social-icons/renren-s.png +0 -0
  209. data/vendor/assets/images/groundworkcss/social-icons/renren.png +0 -0
  210. data/vendor/assets/images/groundworkcss/social-icons/renren.svg +79 -0
  211. data/vendor/assets/images/groundworkcss/social-icons/rss-m.png +0 -0
  212. data/vendor/assets/images/groundworkcss/social-icons/rss-s.png +0 -0
  213. data/vendor/assets/images/groundworkcss/social-icons/rss.png +0 -0
  214. data/vendor/assets/images/groundworkcss/social-icons/rss.svg +18 -0
  215. data/vendor/assets/images/groundworkcss/social-icons/skitch-m.png +0 -0
  216. data/vendor/assets/images/groundworkcss/social-icons/skitch-s.png +0 -0
  217. data/vendor/assets/images/groundworkcss/social-icons/skitch.png +0 -0
  218. data/vendor/assets/images/groundworkcss/social-icons/skitch.svg +24 -0
  219. data/vendor/assets/images/groundworkcss/social-icons/skype-m.png +0 -0
  220. data/vendor/assets/images/groundworkcss/social-icons/skype-s.png +0 -0
  221. data/vendor/assets/images/groundworkcss/social-icons/skype.png +0 -0
  222. data/vendor/assets/images/groundworkcss/social-icons/skype.svg +25 -0
  223. data/vendor/assets/images/groundworkcss/social-icons/soundcloud-m.png +0 -0
  224. data/vendor/assets/images/groundworkcss/social-icons/soundcloud-s.png +0 -0
  225. data/vendor/assets/images/groundworkcss/social-icons/soundcloud.png +0 -0
  226. data/vendor/assets/images/groundworkcss/social-icons/soundcloud.svg +60 -0
  227. data/vendor/assets/images/groundworkcss/social-icons/spotify-m.png +0 -0
  228. data/vendor/assets/images/groundworkcss/social-icons/spotify-s.png +0 -0
  229. data/vendor/assets/images/groundworkcss/social-icons/spotify.png +0 -0
  230. data/vendor/assets/images/groundworkcss/social-icons/spotify.svg +38 -0
  231. data/vendor/assets/images/groundworkcss/social-icons/stackoverflow-m.png +0 -0
  232. data/vendor/assets/images/groundworkcss/social-icons/stackoverflow-s.png +0 -0
  233. data/vendor/assets/images/groundworkcss/social-icons/stackoverflow.png +0 -0
  234. data/vendor/assets/images/groundworkcss/social-icons/stackoverflow.svg +32 -0
  235. data/vendor/assets/images/groundworkcss/social-icons/stumbleupon-m.png +0 -0
  236. data/vendor/assets/images/groundworkcss/social-icons/stumbleupon-s.png +0 -0
  237. data/vendor/assets/images/groundworkcss/social-icons/stumbleupon.png +0 -0
  238. data/vendor/assets/images/groundworkcss/social-icons/stumbleupon.svg +22 -0
  239. data/vendor/assets/images/groundworkcss/social-icons/svn-m.png +0 -0
  240. data/vendor/assets/images/groundworkcss/social-icons/svn-s.png +0 -0
  241. data/vendor/assets/images/groundworkcss/social-icons/svn.png +0 -0
  242. data/vendor/assets/images/groundworkcss/social-icons/svn.svg +25 -0
  243. data/vendor/assets/images/groundworkcss/social-icons/tent-m.png +0 -0
  244. data/vendor/assets/images/groundworkcss/social-icons/tent-s.png +0 -0
  245. data/vendor/assets/images/groundworkcss/social-icons/tent.png +0 -0
  246. data/vendor/assets/images/groundworkcss/social-icons/tent.svg +16 -0
  247. data/vendor/assets/images/groundworkcss/social-icons/tripadvisor-m.png +0 -0
  248. data/vendor/assets/images/groundworkcss/social-icons/tripadvisor-s.png +0 -0
  249. data/vendor/assets/images/groundworkcss/social-icons/tripadvisor.png +0 -0
  250. data/vendor/assets/images/groundworkcss/social-icons/tripadvisor.svg +30 -0
  251. data/vendor/assets/images/groundworkcss/social-icons/tumblr-m.png +0 -0
  252. data/vendor/assets/images/groundworkcss/social-icons/tumblr-s.png +0 -0
  253. data/vendor/assets/images/groundworkcss/social-icons/tumblr.png +0 -0
  254. data/vendor/assets/images/groundworkcss/social-icons/tumblr.svg +16 -0
  255. data/vendor/assets/images/groundworkcss/social-icons/twitter-m.png +0 -0
  256. data/vendor/assets/images/groundworkcss/social-icons/twitter-s.png +0 -0
  257. data/vendor/assets/images/groundworkcss/social-icons/twitter.png +0 -0
  258. data/vendor/assets/images/groundworkcss/social-icons/twitter.svg +24 -0
  259. data/vendor/assets/images/groundworkcss/social-icons/vimeo-m.png +0 -0
  260. data/vendor/assets/images/groundworkcss/social-icons/vimeo-s.png +0 -0
  261. data/vendor/assets/images/groundworkcss/social-icons/vimeo.png +0 -0
  262. data/vendor/assets/images/groundworkcss/social-icons/vimeo.svg +20 -0
  263. data/vendor/assets/images/groundworkcss/social-icons/weibo-m.png +0 -0
  264. data/vendor/assets/images/groundworkcss/social-icons/weibo-s.png +0 -0
  265. data/vendor/assets/images/groundworkcss/social-icons/weibo.png +0 -0
  266. data/vendor/assets/images/groundworkcss/social-icons/weibo.svg +54 -0
  267. data/vendor/assets/images/groundworkcss/social-icons/windows-m.png +0 -0
  268. data/vendor/assets/images/groundworkcss/social-icons/windows-s.png +0 -0
  269. data/vendor/assets/images/groundworkcss/social-icons/windows.png +0 -0
  270. data/vendor/assets/images/groundworkcss/social-icons/windows.svg +26 -0
  271. data/vendor/assets/images/groundworkcss/social-icons/wordpress-m.png +0 -0
  272. data/vendor/assets/images/groundworkcss/social-icons/wordpress-s.png +0 -0
  273. data/vendor/assets/images/groundworkcss/social-icons/wordpress.png +0 -0
  274. data/vendor/assets/images/groundworkcss/social-icons/wordpress.svg +50 -0
  275. data/vendor/assets/images/groundworkcss/social-icons/xing-m.png +0 -0
  276. data/vendor/assets/images/groundworkcss/social-icons/xing-s.png +0 -0
  277. data/vendor/assets/images/groundworkcss/social-icons/xing.png +0 -0
  278. data/vendor/assets/images/groundworkcss/social-icons/xing.svg +16 -0
  279. data/vendor/assets/images/groundworkcss/social-icons/yelp-m.png +0 -0
  280. data/vendor/assets/images/groundworkcss/social-icons/yelp-s.png +0 -0
  281. data/vendor/assets/images/groundworkcss/social-icons/yelp.png +0 -0
  282. data/vendor/assets/images/groundworkcss/social-icons/yelp.svg +54 -0
  283. data/vendor/assets/images/groundworkcss/social-icons/youtube-m.png +0 -0
  284. data/vendor/assets/images/groundworkcss/social-icons/youtube-s.png +0 -0
  285. data/vendor/assets/images/groundworkcss/social-icons/youtube.png +0 -0
  286. data/vendor/assets/images/groundworkcss/social-icons/youtube.svg +106 -0
  287. data/vendor/assets/images/groundworkcss/social-icons/youversion-m.png +0 -0
  288. data/vendor/assets/images/groundworkcss/social-icons/youversion-s.png +0 -0
  289. data/vendor/assets/images/groundworkcss/social-icons/youversion.png +0 -0
  290. data/vendor/assets/images/groundworkcss/social-icons/youversion.svg +54 -0
  291. data/vendor/assets/images/groundworkcss/social-icons/zerply-m.png +0 -0
  292. data/vendor/assets/images/groundworkcss/social-icons/zerply-s.png +0 -0
  293. data/vendor/assets/images/groundworkcss/social-icons/zerply.png +0 -0
  294. data/vendor/assets/images/groundworkcss/social-icons/zerply.svg +20 -0
  295. data/vendor/assets/javascripts/groundwork.js +3 -0
  296. data/vendor/assets/javascripts/groundwork.js~ +8 -0
  297. data/vendor/assets/javascripts/groundworkcss/coffee/groundwork.coffee +207 -0
  298. data/vendor/assets/javascripts/groundworkcss/groundwork.js +845 -0
  299. data/vendor/assets/javascripts/groundworkcss/groundwork.js~ +7 -0
  300. data/vendor/assets/javascripts/groundworkcss/libs/boxsizing.htc +501 -0
  301. data/vendor/assets/javascripts/groundworkcss/libs/html5shiv.js +299 -0
  302. data/vendor/assets/javascripts/groundworkcss/libs/html5shiv.min.js +8 -0
  303. data/vendor/assets/javascripts/groundworkcss/libs/jquery-1.8.2.min.js +2 -0
  304. data/vendor/assets/javascripts/groundworkcss/libs/modernizr-2.6.2.min.js +4 -0
  305. data/vendor/assets/javascripts/groundworkcss/libs/placeholder_polyfill.jquery.js +212 -0
  306. data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.modals.coffee +161 -0
  307. data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.popover.coffee +198 -0
  308. data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.popover.js +10 -0
  309. data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.responsiveTables.coffee +56 -0
  310. data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.responsiveTables.js +10 -0
  311. data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.responsiveText.coffee +32 -0
  312. data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.responsiveText.js +10 -0
  313. data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.tooltip.coffee +121 -0
  314. data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.tooltip.js +10 -0
  315. data/vendor/assets/javascripts/groundworkcss/plugins/jquery.modals.js +183 -0
  316. data/vendor/assets/javascripts/groundworkcss/plugins/jquery.orbit-1.4.0.js +919 -0
  317. data/vendor/assets/javascripts/groundworkcss/plugins/jquery.popover.js +206 -0
  318. data/vendor/assets/javascripts/groundworkcss/plugins/jquery.responsiveTables.js +63 -0
  319. data/vendor/assets/javascripts/groundworkcss/plugins/jquery.responsiveText.js +45 -0
  320. data/vendor/assets/javascripts/groundworkcss/plugins/jquery.tooltip.js +118 -0
  321. data/vendor/assets/stylesheets/groundworkcss-scss/_buttons.scss +178 -0
  322. data/vendor/assets/stylesheets/groundworkcss-scss/_callouts.scss +51 -0
  323. data/vendor/assets/stylesheets/groundworkcss-scss/_font-awesome.scss +534 -0
  324. data/vendor/assets/stylesheets/groundworkcss-scss/_font-awesome.scss~ +534 -0
  325. data/vendor/assets/stylesheets/groundworkcss-scss/_forms.scss +161 -0
  326. data/vendor/assets/stylesheets/groundworkcss-scss/_global.scss +31 -0
  327. data/vendor/assets/stylesheets/groundworkcss-scss/_grid.scss +384 -0
  328. data/vendor/assets/stylesheets/groundworkcss-scss/_layout.scss +78 -0
  329. data/vendor/assets/stylesheets/groundworkcss-scss/_messages.scss +59 -0
  330. data/vendor/assets/stylesheets/groundworkcss-scss/_mixins.scss +197 -0
  331. data/vendor/assets/stylesheets/groundworkcss-scss/_mobile-reset.scss +11 -0
  332. data/vendor/assets/stylesheets/groundworkcss-scss/_modals.scss +101 -0
  333. data/vendor/assets/stylesheets/groundworkcss-scss/_navigation.scss +284 -0
  334. data/vendor/assets/stylesheets/groundworkcss-scss/_orbit.scss +239 -0
  335. data/vendor/assets/stylesheets/groundworkcss-scss/_popovers.scss +10 -0
  336. data/vendor/assets/stylesheets/groundworkcss-scss/_reset.scss +77 -0
  337. data/vendor/assets/stylesheets/groundworkcss-scss/_responsive.scss +293 -0
  338. data/vendor/assets/stylesheets/groundworkcss-scss/_social-icons.scss +92 -0
  339. data/vendor/assets/stylesheets/groundworkcss-scss/_social-icons.scss~ +92 -0
  340. data/vendor/assets/stylesheets/groundworkcss-scss/_tables.scss +80 -0
  341. data/vendor/assets/stylesheets/groundworkcss-scss/_tabs.scss +137 -0
  342. data/vendor/assets/stylesheets/groundworkcss-scss/_tooltips.scss +161 -0
  343. data/vendor/assets/stylesheets/groundworkcss-scss/_typography.scss +255 -0
  344. data/vendor/assets/stylesheets/groundworkcss-scss/_ui-elements.scss +10 -0
  345. data/vendor/assets/stylesheets/groundworkcss-scss/_variables.scss +134 -0
  346. data/vendor/assets/stylesheets/groundworkcss-scss/_webfonts.scss +19 -0
  347. data/vendor/assets/stylesheets/groundworkcss-scss/groundwork-ie.scss +64 -0
  348. data/vendor/assets/stylesheets/groundworkcss-scss/groundwork.scss +37 -0
  349. data/vendor/assets/stylesheets/groundworkcss-scss/no-svg.scss +69 -0
  350. metadata +460 -0
data/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # GroundworkCSS by Sidereel for Rails
2
+ http://groundwork.sidereel.com/
3
+
4
+ groundworkcss-rails gem integrates the Groundwork Framework into Rails.
5
+
6
+ ## Installing Gem
7
+
8
+ In Gemfile:
9
+
10
+ gem 'groundworkcss-rails'
11
+
12
+ or edge:
13
+
14
+ gem 'groundworkcss-rails', :git => 'http://github.com/oregac/groundworkcss-rails.git'
15
+
16
+ Then bundle:
17
+
18
+ bundle install
19
+
20
+ ## Generators
21
+
22
+ To install the resources:
23
+
24
+ rails g groundworkcss:install
25
+
26
+ To generate a layout skeleton:
27
+
28
+ rails g groundworkcss:layout
29
+
30
+ ## Todo:
31
+ - Pagination overrides
32
+ - Modal helper
33
+ - Breadcrumb helper
34
+ - Orbit helper?
35
+ - Tests
36
+
37
+ ## License
38
+ MIT
data/Rakefile ADDED
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env rake
2
+ require 'bundler'
3
+ Bundler::GemHelper.install_tasks
4
+
5
+ desc "Bundle the gem"
6
+ task :bundle => [:bundle_install, :build_static_stylesheets] do
7
+ sh 'gem build *.gemspec'
8
+ sh 'gem install *.gem'
9
+ sh 'rm *.gem'
10
+ end
11
+
12
+ desc "Runs bundle install"
13
+ task :bundle_install do
14
+ sh('bundle install')
15
+ end
16
+
17
+ desc "Build the static precompiled stylesheets from Less sources"
18
+ task :build_static_stylesheets do
19
+ require 'less'
20
+
21
+ toolkit_path = File.join('vendor', 'toolkit')
22
+
23
+ parser = Less::Parser.new :paths => [toolkit_path]
24
+
25
+ target_directory = File.expand_path('vendor/assets/stylesheets/groundworkcss-static')
26
+
27
+ sh "rm -rf #{target_directory}"
28
+ sh "mkdir -p #{target_directory}"
29
+ Dir['vendor/static-source/*.scss'].each do |source_file|
30
+ puts "Compiling #{source_file}"
31
+ target_file = File.join(target_directory, File.basename(source_file, '.scss')+'.css.erb')
32
+ tree = parser.parse(File.read(source_file))
33
+ File.open(target_file, 'w') {|f| f.puts tree.to_css(:compress => true) }
34
+ end
35
+ end
36
+
37
+ task(:default).clear
38
+ task :default => :bundle
@@ -0,0 +1,5 @@
1
+ module TwitterBreadcrumbsHelper
2
+ def render_breadcrumbs(divider = '/')
3
+ render :partial => 'twitter-bootstrap/breadcrumbs', :locals => { :divider => divider }
4
+ end
5
+ end
@@ -0,0 +1,17 @@
1
+ module FlashBlockHelper
2
+ def flash_block
3
+ output = ''
4
+ flash.each do |type, message|
5
+ output += flash_container(type, message)
6
+ end
7
+
8
+ raw(output)
9
+ end
10
+
11
+ def flash_container(type, message)
12
+ # Types: important, success, warning, error
13
+ raw(content_tag(:p, :class => "message #{type}") do
14
+ message
15
+ end)
16
+ end
17
+ end
@@ -0,0 +1,18 @@
1
+ module FlashBlockHelper
2
+ def flash_block
3
+ output = ''
4
+ flash.each do |type, message|
5
+ output += flash_container(type, message)
6
+ end
7
+
8
+ raw(output)
9
+ end
10
+
11
+ def flash_container(type, message)
12
+ # Types: important, success, warning, error
13
+ #<p class="warning message">This is a warning message.</p>
14
+ raw(content_tag(:p, :class => "message #{type}") do
15
+ message
16
+ end)
17
+ end
18
+ end
@@ -0,0 +1,21 @@
1
+ module FlashHelper
2
+ ALERT_TYPES = [:error, :success, :warning]
3
+
4
+ def groundwork_flash
5
+ flash_messages = []
6
+ flash.each do |type, message|
7
+ next if message.blank?
8
+
9
+ type = :success if type == :notice
10
+ type = :error if type == :alert
11
+ next unless ALERT_TYPES.include?(type)
12
+
13
+ Array(message).each do |msg|
14
+ text = content_tag(:p,
15
+ msg.html_safe, :class => "message #{type}")
16
+ flash_messages << text if message
17
+ end
18
+ end
19
+ flash_messages.join("\n").html_safe
20
+ end
21
+ end
@@ -0,0 +1,21 @@
1
+ module GroundworkFlashHelper
2
+ ALERT_TYPES = [:error, :success, :warning]
3
+
4
+ def groundwork_flash
5
+ flash_messages = []
6
+ flash.each do |type, message|
7
+ next if message.blank?
8
+
9
+ type = :success if type == :notice
10
+ type = :error if type == :alert
11
+ next unless ALERT_TYPES.include?(type)
12
+
13
+ Array(message).each do |msg|
14
+ text = content_tag(:p,
15
+ msg.html_safe, :class => "message #{type}")
16
+ flash_messages << text if message
17
+ end
18
+ end
19
+ flash_messages.join("\n").html_safe
20
+ end
21
+ end
@@ -0,0 +1,12 @@
1
+ module GlyphHelper
2
+ # ==== Examples
3
+ # glyph(:share_alt)
4
+ # # => <i class="icon-share-alt"></i>
5
+ # glyph(:lock, :white)
6
+ # # => <i class="icon-lock icon-white"></i>
7
+
8
+ def glyph(*names)
9
+ content_tag :i, nil, :class => names.map{|name| "icon-#{name.to_s.gsub('_','-')}" }
10
+ end
11
+ end
12
+
@@ -0,0 +1,21 @@
1
+ module GroundworkFlashHelper
2
+ ALERT_TYPES = [:error, :success, :warning]
3
+
4
+ def bootstrap_flash
5
+ flash_messages = []
6
+ flash.each do |type, message|
7
+ next if message.blank?
8
+
9
+ type = :success if type == :notice
10
+ type = :error if type == :alert
11
+ next unless ALERT_TYPES.include?(type)
12
+
13
+ Array(message).each do |msg|
14
+ text = content_tag(:p,
15
+ msg.html_safe, :class => "message #{type}")
16
+ flash_messages << text if message
17
+ end
18
+ end
19
+ flash_messages.join("\n").html_safe
20
+ end
21
+ end
@@ -0,0 +1,42 @@
1
+ module ModalHelper
2
+ def modal_dialog(options = {}, escape = true, &block)
3
+ default_options = {:class => "bootstrap-modal modal"}
4
+ content_tag :div, nil, options.merge(default_options), escape, &block
5
+ end
6
+
7
+ def modal_header(options = {}, escape = true, &block)
8
+ default_options = {:class => 'modal-header'}
9
+ content_tag :div, nil, options.merge(default_options), escape do
10
+ raw("<button class=\"close\" data-dismiss=\"modal\">&times;</button>" + capture(&block))
11
+ end
12
+ end
13
+
14
+ def modal_body(options = {}, escape = true, &block)
15
+ default_options = {:class => 'modal-body'}
16
+ content_tag :div, nil, options.merge(default_options), escape, &block
17
+ end
18
+
19
+ def modal_footer(options = {}, escape = true, &block)
20
+ default_options = {:class => 'modal-footer'}
21
+ content_tag :div, nil, options.merge(default_options), escape, &block
22
+ end
23
+
24
+ def modal_toggle(content_or_options = nil, options = {}, &block)
25
+ if block_given?
26
+ options = content_or_options if content_or_options.is_a?(Hash)
27
+ default_options = {:class => 'btn', "data-toggle" => "modal", "href" => options[:dialog]}.merge(options)
28
+
29
+ content_tag :a, nil, default_options, true, &block
30
+ else
31
+ default_options = {:class => 'btn', "data-toggle" => "modal", "href" => options[:dialog]}.merge(options)
32
+ content_tag :a, content_or_options, default_options, true
33
+ end
34
+ end
35
+
36
+ def modal_cancel_button content, options = {}
37
+ default_options = {:class => "btn bootstrap-modal-cancel-button"}
38
+
39
+ content_tag_string "a", content, default_options.merge(options)
40
+ end
41
+ end
42
+
@@ -0,0 +1,13 @@
1
+ module SocialGlyphHelper
2
+ # ==== Examples
3
+ # social_glyph(:dropbox, :large)
4
+ # # => <i class="social-icon dropbox large"></i>
5
+ # social_glyph(:dropbox)
6
+ # # => <i class="social-icon dropbox"></i>
7
+
8
+ def social_glyph(icon, *args)
9
+ size = args[0]
10
+ content_tag :i, nil, :class => "social-icon #{icon} #{size unless size.nil?}"
11
+ end
12
+ end
13
+
@@ -0,0 +1,12 @@
1
+ module SocialGlyphHelper
2
+ # ==== Examples
3
+ # social_glyph(:dropbox, :large)
4
+ # # => <i class="social-icon dropbox large"></i>
5
+ # social_glyph(:dropbox)
6
+ # # => <i class="social-icon dropbox"></i>
7
+
8
+ def social_glyph(icon, size)
9
+ content_tag :i, nil, :class => "social-icon #{icon} #{size unless size.nil?}"
10
+ end
11
+ end
12
+
@@ -0,0 +1,50 @@
1
+ require 'rails/generators'
2
+
3
+ module Groundworkcss
4
+ module Generators
5
+ class InstallGenerator < ::Rails::Generators::Base
6
+
7
+ source_root File.expand_path("../templates", __FILE__)
8
+ desc "This generator installs GroundworkCSS to Asset Pipeline"
9
+ argument :stylesheets_type, :type => :string, :default => 'less', :banner => '*less or static'
10
+
11
+ def add_assets
12
+
13
+ if File.exist?('app/assets/javascripts/application.js')
14
+ insert_into_file "app/assets/javascripts/application.js", "//= require groundwork\n", :after => "jquery_ujs\n"
15
+ else
16
+ copy_file "application.js", "app/assets/javascripts/application.js"
17
+ end
18
+
19
+ if File.exist?('app/assets/stylesheets/application.css')
20
+ style_require_block = "\n@import \"groundwork-and-overrides\";\n"
21
+ insert_into_file "app/assets/stylesheets/application.css", style_require_block, :after => " */\n"
22
+ File.rename("app/assets/stylesheets/application.css", "app/assets/stylesheets/application.css.scss")
23
+
24
+ elsif File.exist?("app/assets/stylesheets/application.css.scss")
25
+ style_require_block = "\n@import \"groundwork-and-overrides\";\n"
26
+ insert_into_file "app/assets/stylesheets/application.css.scss", style_require_block, :after => " */\n"
27
+
28
+ else
29
+ copy_file "application.css.scss", "app/assets/stylesheets/application.css.scss"
30
+ end
31
+
32
+ copy_file "groundwork-and-overrides.scss", "app/assets/stylesheets/groundwork-and-overrides.scss"
33
+
34
+ end
35
+
36
+ def add_javascript
37
+ if use_coffeescript?
38
+ copy_file "groundwork.coffee", "app/assets/javascripts/groundwork.js.coffee"
39
+ else
40
+ copy_file "groundwork.js", "app/assets/javascripts/groundwork.js"
41
+ end
42
+ end
43
+
44
+ private
45
+ def use_coffeescript?
46
+ ::Rails.configuration.app_generators.rails[:javascript_engine] == :coffee
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,44 @@
1
+ require 'rails/generators'
2
+
3
+ module Groundworkcss
4
+ module Generators
5
+ class InstallGenerator < ::Rails::Generators::Base
6
+
7
+ source_root File.expand_path("../templates", __FILE__)
8
+ desc "This generator installs GroundworkCSS to Asset Pipeline"
9
+ argument :stylesheets_type, :type => :string, :default => 'less', :banner => '*less or static'
10
+
11
+ def add_assets
12
+
13
+ if File.exist?('app/assets/javascripts/application.js')
14
+ insert_into_file "app/assets/javascripts/application.js", "//= require groundwork\n", :after => "jquery_ujs\n"
15
+ else
16
+ copy_file "application.js", "app/assets/javascripts/application.js"
17
+ end
18
+
19
+ if File.exist?('app/assets/stylesheets/application.css')
20
+ style_require_block = " *= require groundwork-and-overrides\n"
21
+ insert_into_file "app/assets/stylesheets/application.css", style_require_block, :after => "require_self\n"
22
+ else
23
+ copy_file "application.css", "app/assets/stylesheets/application.css"
24
+ end
25
+
26
+ copy_file "groundwork-and-overrides.scss", "app/assets/stylesheets/groundwork-and-overrides.scss"
27
+
28
+ end
29
+
30
+ def add_javascript
31
+ if use_coffeescript?
32
+ copy_file "groundwork.coffee", "app/assets/javascripts/groundwork.js.coffee"
33
+ else
34
+ copy_file "groundwork.js", "app/assets/javascripts/groundwork.js"
35
+ end
36
+ end
37
+
38
+ private
39
+ def use_coffeescript?
40
+ ::Rails.configuration.app_generators.rails[:javascript_engine] == :coffee
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,9 @@
1
+ /*
2
+ * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
+ * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
+ * the top of the compiled file, but it's generally better to create a new file per style scope.
5
+ *= require_self
6
+ *= require_tree .
7
+ */
8
+
9
+ @import "groundwork-and-overrides";
@@ -0,0 +1,8 @@
1
+ /*
2
+ * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
+ * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
+ * the top of the compiled file, but it's generally better to create a new file per style scope.
5
+ *= require_self
6
+ *= require groundworkscss/groundwork
7
+ *= require_tree .
8
+ */
@@ -0,0 +1,7 @@
1
+ /*
2
+ * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
+ * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
+ * the top of the compiled file, but it's generally better to create a new file per style scope.
5
+ *= require_self
6
+ *= require_tree .
7
+ */
@@ -0,0 +1,10 @@
1
+ // This is a manifest file that'll be compiled into including all the files listed below.
2
+ // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
+ // be included in the compiled file accessible from http://example.com/assets/application.js
4
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
+ // the compiled file.
6
+ //
7
+ //= require jquery
8
+ //= require jquery_ujs
9
+ //= require groundworkcss/groundworkcss
10
+ //= require_tree .
@@ -0,0 +1,10 @@
1
+ // This is a manifest file that'll be compiled into including all the files listed below.
2
+ // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
+ // be included in the compiled file accessible from http://example.com/assets/application.js
4
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
+ // the compiled file.
6
+ //
7
+ //= require jquery
8
+ //= require jquery_ujs
9
+ //= require twitter/bootstrap
10
+ //= require_tree .
@@ -0,0 +1,12 @@
1
+ $socialPath: "../assets/groundworkcss/social-icons" !default;
2
+ $fontAwesomePath: "../assets/groundworkcss" !default;
3
+
4
+ @import "groundworkcss-scss/groundwork";
5
+
6
+ body {
7
+ background: url("pw_maze_white.png");
8
+ }
9
+
10
+ header{
11
+ background: white;
12
+ }