groundworkcss 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (334) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -0
  3. data/README.md +165 -0
  4. data/Rakefile +1 -0
  5. data/groundworkcss.gemspec +27 -0
  6. data/lib/groundworkcss.rb +7 -0
  7. data/lib/groundworkcss/engine.rb +4 -0
  8. data/lib/groundworkcss/generators/install_generator.rb +27 -0
  9. data/lib/groundworkcss/railties.rb +8 -0
  10. data/lib/groundworkcss/version.rb +3 -0
  11. data/vendor/assets/fonts/groundworkcss/americantypewriterstd-bold.eot +0 -0
  12. data/vendor/assets/fonts/groundworkcss/americantypewriterstd-bold.svg +128 -0
  13. data/vendor/assets/fonts/groundworkcss/americantypewriterstd-bold.ttf +0 -0
  14. data/vendor/assets/fonts/groundworkcss/americantypewriterstd-bold.woff +0 -0
  15. data/vendor/assets/fonts/groundworkcss/average-sans-webfont.eot +0 -0
  16. data/vendor/assets/fonts/groundworkcss/average-sans-webfont.ttf +0 -0
  17. data/vendor/assets/fonts/groundworkcss/average-sans-webfont.woff +0 -0
  18. data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.eot +0 -0
  19. data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.svg +284 -0
  20. data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.ttf +0 -0
  21. data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.woff +0 -0
  22. data/vendor/assets/images/groundworkcss/social-icons/500px-m.png +0 -0
  23. data/vendor/assets/images/groundworkcss/social-icons/500px-s.png +0 -0
  24. data/vendor/assets/images/groundworkcss/social-icons/500px.png +0 -0
  25. data/vendor/assets/images/groundworkcss/social-icons/500px.svg +62 -0
  26. data/vendor/assets/images/groundworkcss/social-icons/aboutme-m.png +0 -0
  27. data/vendor/assets/images/groundworkcss/social-icons/aboutme-s.png +0 -0
  28. data/vendor/assets/images/groundworkcss/social-icons/aboutme.png +0 -0
  29. data/vendor/assets/images/groundworkcss/social-icons/aboutme.svg +42 -0
  30. data/vendor/assets/images/groundworkcss/social-icons/adn-m.png +0 -0
  31. data/vendor/assets/images/groundworkcss/social-icons/adn-s.png +0 -0
  32. data/vendor/assets/images/groundworkcss/social-icons/adn.png +0 -0
  33. data/vendor/assets/images/groundworkcss/social-icons/adn.svg +14 -0
  34. data/vendor/assets/images/groundworkcss/social-icons/android-m.png +0 -0
  35. data/vendor/assets/images/groundworkcss/social-icons/android-s.png +0 -0
  36. data/vendor/assets/images/groundworkcss/social-icons/android.png +0 -0
  37. data/vendor/assets/images/groundworkcss/social-icons/android.svg +30 -0
  38. data/vendor/assets/images/groundworkcss/social-icons/apple-m.png +0 -0
  39. data/vendor/assets/images/groundworkcss/social-icons/apple-s.png +0 -0
  40. data/vendor/assets/images/groundworkcss/social-icons/apple.png +0 -0
  41. data/vendor/assets/images/groundworkcss/social-icons/apple.svg +19 -0
  42. data/vendor/assets/images/groundworkcss/social-icons/behance-m.png +0 -0
  43. data/vendor/assets/images/groundworkcss/social-icons/behance-s.png +0 -0
  44. data/vendor/assets/images/groundworkcss/social-icons/behance.png +0 -0
  45. data/vendor/assets/images/groundworkcss/social-icons/behance.svg +48 -0
  46. data/vendor/assets/images/groundworkcss/social-icons/bitbucket-m.png +0 -0
  47. data/vendor/assets/images/groundworkcss/social-icons/bitbucket-s.png +0 -0
  48. data/vendor/assets/images/groundworkcss/social-icons/bitbucket.png +0 -0
  49. data/vendor/assets/images/groundworkcss/social-icons/bitbucket.svg +36 -0
  50. data/vendor/assets/images/groundworkcss/social-icons/blogger-m.png +0 -0
  51. data/vendor/assets/images/groundworkcss/social-icons/blogger-s.png +0 -0
  52. data/vendor/assets/images/groundworkcss/social-icons/blogger.png +0 -0
  53. data/vendor/assets/images/groundworkcss/social-icons/blogger.svg +22 -0
  54. data/vendor/assets/images/groundworkcss/social-icons/coderwall-m.png +0 -0
  55. data/vendor/assets/images/groundworkcss/social-icons/coderwall-s.png +0 -0
  56. data/vendor/assets/images/groundworkcss/social-icons/coderwall.png +0 -0
  57. data/vendor/assets/images/groundworkcss/social-icons/coderwall.svg +21 -0
  58. data/vendor/assets/images/groundworkcss/social-icons/creativecloud-m.png +0 -0
  59. data/vendor/assets/images/groundworkcss/social-icons/creativecloud-s.png +0 -0
  60. data/vendor/assets/images/groundworkcss/social-icons/creativecloud.png +0 -0
  61. data/vendor/assets/images/groundworkcss/social-icons/creativecloud.svg +48 -0
  62. data/vendor/assets/images/groundworkcss/social-icons/dribbble-m.png +0 -0
  63. data/vendor/assets/images/groundworkcss/social-icons/dribbble-s.png +0 -0
  64. data/vendor/assets/images/groundworkcss/social-icons/dribbble.png +0 -0
  65. data/vendor/assets/images/groundworkcss/social-icons/dribbble.svg +28 -0
  66. data/vendor/assets/images/groundworkcss/social-icons/dropbox-m.png +0 -0
  67. data/vendor/assets/images/groundworkcss/social-icons/dropbox-s.png +0 -0
  68. data/vendor/assets/images/groundworkcss/social-icons/dropbox.png +0 -0
  69. data/vendor/assets/images/groundworkcss/social-icons/dropbox.svg +73 -0
  70. data/vendor/assets/images/groundworkcss/social-icons/evernote-m.png +0 -0
  71. data/vendor/assets/images/groundworkcss/social-icons/evernote-s.png +0 -0
  72. data/vendor/assets/images/groundworkcss/social-icons/evernote.png +0 -0
  73. data/vendor/assets/images/groundworkcss/social-icons/evernote.svg +62 -0
  74. data/vendor/assets/images/groundworkcss/social-icons/facebook-m.png +0 -0
  75. data/vendor/assets/images/groundworkcss/social-icons/facebook-s.png +0 -0
  76. data/vendor/assets/images/groundworkcss/social-icons/facebook.png +0 -0
  77. data/vendor/assets/images/groundworkcss/social-icons/facebook.svg +15 -0
  78. data/vendor/assets/images/groundworkcss/social-icons/fairheadcreative-m.png +0 -0
  79. data/vendor/assets/images/groundworkcss/social-icons/fairheadcreative-s.png +0 -0
  80. data/vendor/assets/images/groundworkcss/social-icons/fairheadcreative.png +0 -0
  81. data/vendor/assets/images/groundworkcss/social-icons/fairheadcreative.svg +24 -0
  82. data/vendor/assets/images/groundworkcss/social-icons/flickr-m.png +0 -0
  83. data/vendor/assets/images/groundworkcss/social-icons/flickr-s.png +0 -0
  84. data/vendor/assets/images/groundworkcss/social-icons/flickr.png +0 -0
  85. data/vendor/assets/images/groundworkcss/social-icons/flickr.svg +14 -0
  86. data/vendor/assets/images/groundworkcss/social-icons/foursquare-m.png +0 -0
  87. data/vendor/assets/images/groundworkcss/social-icons/foursquare-s.png +0 -0
  88. data/vendor/assets/images/groundworkcss/social-icons/foursquare.png +0 -0
  89. data/vendor/assets/images/groundworkcss/social-icons/foursquare.svg +43 -0
  90. data/vendor/assets/images/groundworkcss/social-icons/git-m.png +0 -0
  91. data/vendor/assets/images/groundworkcss/social-icons/git-s.png +0 -0
  92. data/vendor/assets/images/groundworkcss/social-icons/git.png +0 -0
  93. data/vendor/assets/images/groundworkcss/social-icons/git.svg +22 -0
  94. data/vendor/assets/images/groundworkcss/social-icons/github-m.png +0 -0
  95. data/vendor/assets/images/groundworkcss/social-icons/github-s.png +0 -0
  96. data/vendor/assets/images/groundworkcss/social-icons/github.png +0 -0
  97. data/vendor/assets/images/groundworkcss/social-icons/github.svg +38 -0
  98. data/vendor/assets/images/groundworkcss/social-icons/goodreads-m.png +0 -0
  99. data/vendor/assets/images/groundworkcss/social-icons/goodreads-s.png +0 -0
  100. data/vendor/assets/images/groundworkcss/social-icons/goodreads.png +0 -0
  101. data/vendor/assets/images/groundworkcss/social-icons/goodreads.svg +38 -0
  102. data/vendor/assets/images/groundworkcss/social-icons/googleplay-m.png +0 -0
  103. data/vendor/assets/images/groundworkcss/social-icons/googleplay-s.png +0 -0
  104. data/vendor/assets/images/groundworkcss/social-icons/googleplay.png +0 -0
  105. data/vendor/assets/images/groundworkcss/social-icons/googleplay.svg +24 -0
  106. data/vendor/assets/images/groundworkcss/social-icons/googleplus-m.png +0 -0
  107. data/vendor/assets/images/groundworkcss/social-icons/googleplus-s.png +0 -0
  108. data/vendor/assets/images/groundworkcss/social-icons/googleplus.png +0 -0
  109. data/vendor/assets/images/groundworkcss/social-icons/googleplus.svg +52 -0
  110. data/vendor/assets/images/groundworkcss/social-icons/html5-m.png +0 -0
  111. data/vendor/assets/images/groundworkcss/social-icons/html5-s.png +0 -0
  112. data/vendor/assets/images/groundworkcss/social-icons/html5.png +0 -0
  113. data/vendor/assets/images/groundworkcss/social-icons/html5.svg +29 -0
  114. data/vendor/assets/images/groundworkcss/social-icons/icloud-m.png +0 -0
  115. data/vendor/assets/images/groundworkcss/social-icons/icloud-s.png +0 -0
  116. data/vendor/assets/images/groundworkcss/social-icons/icloud.png +0 -0
  117. data/vendor/assets/images/groundworkcss/social-icons/icloud.svg +26 -0
  118. data/vendor/assets/images/groundworkcss/social-icons/instagram-m.png +0 -0
  119. data/vendor/assets/images/groundworkcss/social-icons/instagram-s.png +0 -0
  120. data/vendor/assets/images/groundworkcss/social-icons/instagram.png +0 -0
  121. data/vendor/assets/images/groundworkcss/social-icons/instagram.svg +166 -0
  122. data/vendor/assets/images/groundworkcss/social-icons/lastfm-m.png +0 -0
  123. data/vendor/assets/images/groundworkcss/social-icons/lastfm-s.png +0 -0
  124. data/vendor/assets/images/groundworkcss/social-icons/lastfm.png +0 -0
  125. data/vendor/assets/images/groundworkcss/social-icons/lastfm.svg +44 -0
  126. data/vendor/assets/images/groundworkcss/social-icons/linkedin-m.png +0 -0
  127. data/vendor/assets/images/groundworkcss/social-icons/linkedin-s.png +0 -0
  128. data/vendor/assets/images/groundworkcss/social-icons/linkedin.png +0 -0
  129. data/vendor/assets/images/groundworkcss/social-icons/linkedin.svg +28 -0
  130. data/vendor/assets/images/groundworkcss/social-icons/mail-m.png +0 -0
  131. data/vendor/assets/images/groundworkcss/social-icons/mail-s.png +0 -0
  132. data/vendor/assets/images/groundworkcss/social-icons/mail.png +0 -0
  133. data/vendor/assets/images/groundworkcss/social-icons/mail.svg +27 -0
  134. data/vendor/assets/images/groundworkcss/social-icons/mercurial-m.png +0 -0
  135. data/vendor/assets/images/groundworkcss/social-icons/mercurial-s.png +0 -0
  136. data/vendor/assets/images/groundworkcss/social-icons/mercurial.png +0 -0
  137. data/vendor/assets/images/groundworkcss/social-icons/mercurial.svg +22 -0
  138. data/vendor/assets/images/groundworkcss/social-icons/mixi-m.png +0 -0
  139. data/vendor/assets/images/groundworkcss/social-icons/mixi-s.png +0 -0
  140. data/vendor/assets/images/groundworkcss/social-icons/mixi.png +0 -0
  141. data/vendor/assets/images/groundworkcss/social-icons/mixi.svg +32 -0
  142. data/vendor/assets/images/groundworkcss/social-icons/msn-m.png +0 -0
  143. data/vendor/assets/images/groundworkcss/social-icons/msn-s.png +0 -0
  144. data/vendor/assets/images/groundworkcss/social-icons/msn.png +0 -0
  145. data/vendor/assets/images/groundworkcss/social-icons/msn.svg +44 -0
  146. data/vendor/assets/images/groundworkcss/social-icons/orkut-m.png +0 -0
  147. data/vendor/assets/images/groundworkcss/social-icons/orkut-s.png +0 -0
  148. data/vendor/assets/images/groundworkcss/social-icons/orkut.png +0 -0
  149. data/vendor/assets/images/groundworkcss/social-icons/orkut.svg +23 -0
  150. data/vendor/assets/images/groundworkcss/social-icons/picasa-m.png +0 -0
  151. data/vendor/assets/images/groundworkcss/social-icons/picasa-s.png +0 -0
  152. data/vendor/assets/images/groundworkcss/social-icons/picasa.png +0 -0
  153. data/vendor/assets/images/groundworkcss/social-icons/picasa.svg +48 -0
  154. data/vendor/assets/images/groundworkcss/social-icons/pinterest-m.png +0 -0
  155. data/vendor/assets/images/groundworkcss/social-icons/pinterest-s.png +0 -0
  156. data/vendor/assets/images/groundworkcss/social-icons/pinterest.png +0 -0
  157. data/vendor/assets/images/groundworkcss/social-icons/pinterest.svg +42 -0
  158. data/vendor/assets/images/groundworkcss/social-icons/pocketapp-m.png +0 -0
  159. data/vendor/assets/images/groundworkcss/social-icons/pocketapp-s.png +0 -0
  160. data/vendor/assets/images/groundworkcss/social-icons/pocketapp.png +0 -0
  161. data/vendor/assets/images/groundworkcss/social-icons/pocketapp.svg +38 -0
  162. data/vendor/assets/images/groundworkcss/social-icons/quora-m.png +0 -0
  163. data/vendor/assets/images/groundworkcss/social-icons/quora-s.png +0 -0
  164. data/vendor/assets/images/groundworkcss/social-icons/quora.png +0 -0
  165. data/vendor/assets/images/groundworkcss/social-icons/quora.svg +20 -0
  166. data/vendor/assets/images/groundworkcss/social-icons/rdio-m.png +0 -0
  167. data/vendor/assets/images/groundworkcss/social-icons/rdio-s.png +0 -0
  168. data/vendor/assets/images/groundworkcss/social-icons/rdio.png +0 -0
  169. data/vendor/assets/images/groundworkcss/social-icons/rdio.svg +18 -0
  170. data/vendor/assets/images/groundworkcss/social-icons/renren-m.png +0 -0
  171. data/vendor/assets/images/groundworkcss/social-icons/renren-s.png +0 -0
  172. data/vendor/assets/images/groundworkcss/social-icons/renren.png +0 -0
  173. data/vendor/assets/images/groundworkcss/social-icons/renren.svg +79 -0
  174. data/vendor/assets/images/groundworkcss/social-icons/rss-m.png +0 -0
  175. data/vendor/assets/images/groundworkcss/social-icons/rss-s.png +0 -0
  176. data/vendor/assets/images/groundworkcss/social-icons/rss.png +0 -0
  177. data/vendor/assets/images/groundworkcss/social-icons/rss.svg +18 -0
  178. data/vendor/assets/images/groundworkcss/social-icons/skitch-m.png +0 -0
  179. data/vendor/assets/images/groundworkcss/social-icons/skitch-s.png +0 -0
  180. data/vendor/assets/images/groundworkcss/social-icons/skitch.png +0 -0
  181. data/vendor/assets/images/groundworkcss/social-icons/skitch.svg +24 -0
  182. data/vendor/assets/images/groundworkcss/social-icons/skype-m.png +0 -0
  183. data/vendor/assets/images/groundworkcss/social-icons/skype-s.png +0 -0
  184. data/vendor/assets/images/groundworkcss/social-icons/skype.png +0 -0
  185. data/vendor/assets/images/groundworkcss/social-icons/skype.svg +25 -0
  186. data/vendor/assets/images/groundworkcss/social-icons/soundcloud-m.png +0 -0
  187. data/vendor/assets/images/groundworkcss/social-icons/soundcloud-s.png +0 -0
  188. data/vendor/assets/images/groundworkcss/social-icons/soundcloud.png +0 -0
  189. data/vendor/assets/images/groundworkcss/social-icons/soundcloud.svg +60 -0
  190. data/vendor/assets/images/groundworkcss/social-icons/spotify-m.png +0 -0
  191. data/vendor/assets/images/groundworkcss/social-icons/spotify-s.png +0 -0
  192. data/vendor/assets/images/groundworkcss/social-icons/spotify.png +0 -0
  193. data/vendor/assets/images/groundworkcss/social-icons/spotify.svg +38 -0
  194. data/vendor/assets/images/groundworkcss/social-icons/stackoverflow-m.png +0 -0
  195. data/vendor/assets/images/groundworkcss/social-icons/stackoverflow-s.png +0 -0
  196. data/vendor/assets/images/groundworkcss/social-icons/stackoverflow.png +0 -0
  197. data/vendor/assets/images/groundworkcss/social-icons/stackoverflow.svg +32 -0
  198. data/vendor/assets/images/groundworkcss/social-icons/stumbleupon-m.png +0 -0
  199. data/vendor/assets/images/groundworkcss/social-icons/stumbleupon-s.png +0 -0
  200. data/vendor/assets/images/groundworkcss/social-icons/stumbleupon.png +0 -0
  201. data/vendor/assets/images/groundworkcss/social-icons/stumbleupon.svg +22 -0
  202. data/vendor/assets/images/groundworkcss/social-icons/svn-m.png +0 -0
  203. data/vendor/assets/images/groundworkcss/social-icons/svn-s.png +0 -0
  204. data/vendor/assets/images/groundworkcss/social-icons/svn.png +0 -0
  205. data/vendor/assets/images/groundworkcss/social-icons/svn.svg +25 -0
  206. data/vendor/assets/images/groundworkcss/social-icons/tent-m.png +0 -0
  207. data/vendor/assets/images/groundworkcss/social-icons/tent-s.png +0 -0
  208. data/vendor/assets/images/groundworkcss/social-icons/tent.png +0 -0
  209. data/vendor/assets/images/groundworkcss/social-icons/tent.svg +16 -0
  210. data/vendor/assets/images/groundworkcss/social-icons/tripadvisor-m.png +0 -0
  211. data/vendor/assets/images/groundworkcss/social-icons/tripadvisor-s.png +0 -0
  212. data/vendor/assets/images/groundworkcss/social-icons/tripadvisor.png +0 -0
  213. data/vendor/assets/images/groundworkcss/social-icons/tripadvisor.svg +30 -0
  214. data/vendor/assets/images/groundworkcss/social-icons/tumblr-m.png +0 -0
  215. data/vendor/assets/images/groundworkcss/social-icons/tumblr-s.png +0 -0
  216. data/vendor/assets/images/groundworkcss/social-icons/tumblr.png +0 -0
  217. data/vendor/assets/images/groundworkcss/social-icons/tumblr.svg +16 -0
  218. data/vendor/assets/images/groundworkcss/social-icons/twitter-m.png +0 -0
  219. data/vendor/assets/images/groundworkcss/social-icons/twitter-s.png +0 -0
  220. data/vendor/assets/images/groundworkcss/social-icons/twitter.png +0 -0
  221. data/vendor/assets/images/groundworkcss/social-icons/twitter.svg +24 -0
  222. data/vendor/assets/images/groundworkcss/social-icons/vimeo-m.png +0 -0
  223. data/vendor/assets/images/groundworkcss/social-icons/vimeo-s.png +0 -0
  224. data/vendor/assets/images/groundworkcss/social-icons/vimeo.png +0 -0
  225. data/vendor/assets/images/groundworkcss/social-icons/vimeo.svg +20 -0
  226. data/vendor/assets/images/groundworkcss/social-icons/weibo-m.png +0 -0
  227. data/vendor/assets/images/groundworkcss/social-icons/weibo-s.png +0 -0
  228. data/vendor/assets/images/groundworkcss/social-icons/weibo.png +0 -0
  229. data/vendor/assets/images/groundworkcss/social-icons/weibo.svg +54 -0
  230. data/vendor/assets/images/groundworkcss/social-icons/windows-m.png +0 -0
  231. data/vendor/assets/images/groundworkcss/social-icons/windows-s.png +0 -0
  232. data/vendor/assets/images/groundworkcss/social-icons/windows.png +0 -0
  233. data/vendor/assets/images/groundworkcss/social-icons/windows.svg +26 -0
  234. data/vendor/assets/images/groundworkcss/social-icons/wordpress-m.png +0 -0
  235. data/vendor/assets/images/groundworkcss/social-icons/wordpress-s.png +0 -0
  236. data/vendor/assets/images/groundworkcss/social-icons/wordpress.png +0 -0
  237. data/vendor/assets/images/groundworkcss/social-icons/wordpress.svg +50 -0
  238. data/vendor/assets/images/groundworkcss/social-icons/xing-m.png +0 -0
  239. data/vendor/assets/images/groundworkcss/social-icons/xing-s.png +0 -0
  240. data/vendor/assets/images/groundworkcss/social-icons/xing.png +0 -0
  241. data/vendor/assets/images/groundworkcss/social-icons/xing.svg +16 -0
  242. data/vendor/assets/images/groundworkcss/social-icons/yelp-m.png +0 -0
  243. data/vendor/assets/images/groundworkcss/social-icons/yelp-s.png +0 -0
  244. data/vendor/assets/images/groundworkcss/social-icons/yelp.png +0 -0
  245. data/vendor/assets/images/groundworkcss/social-icons/yelp.svg +54 -0
  246. data/vendor/assets/images/groundworkcss/social-icons/youtube-m.png +0 -0
  247. data/vendor/assets/images/groundworkcss/social-icons/youtube-s.png +0 -0
  248. data/vendor/assets/images/groundworkcss/social-icons/youtube.png +0 -0
  249. data/vendor/assets/images/groundworkcss/social-icons/youtube.svg +106 -0
  250. data/vendor/assets/images/groundworkcss/social-icons/youversion-m.png +0 -0
  251. data/vendor/assets/images/groundworkcss/social-icons/youversion-s.png +0 -0
  252. data/vendor/assets/images/groundworkcss/social-icons/youversion.png +0 -0
  253. data/vendor/assets/images/groundworkcss/social-icons/youversion.svg +54 -0
  254. data/vendor/assets/images/groundworkcss/social-icons/zerply-m.png +0 -0
  255. data/vendor/assets/images/groundworkcss/social-icons/zerply-s.png +0 -0
  256. data/vendor/assets/images/groundworkcss/social-icons/zerply.png +0 -0
  257. data/vendor/assets/images/groundworkcss/social-icons/zerply.svg +20 -0
  258. data/vendor/assets/javascripts/groundworkcss/components/disabled.coffee +18 -0
  259. data/vendor/assets/javascripts/groundworkcss/components/dismissible.coffee +4 -0
  260. data/vendor/assets/javascripts/groundworkcss/components/equalizeColumns.coffee +22 -0
  261. data/vendor/assets/javascripts/groundworkcss/components/forms.coffee +36 -0
  262. data/vendor/assets/javascripts/groundworkcss/components/menus.coffee +174 -0
  263. data/vendor/assets/javascripts/groundworkcss/components/modals.coffee +46 -0
  264. data/vendor/assets/javascripts/groundworkcss/components/pagination.coffee +128 -0
  265. data/vendor/assets/javascripts/groundworkcss/components/responsiveTables.coffee +24 -0
  266. data/vendor/assets/javascripts/groundworkcss/components/responsiveText.coffee +38 -0
  267. data/vendor/assets/javascripts/groundworkcss/components/tabs.coffee +20 -0
  268. data/vendor/assets/javascripts/groundworkcss/components/tiles.coffee +32 -0
  269. data/vendor/assets/javascripts/groundworkcss/components/tooltips.coffee +5 -0
  270. data/vendor/assets/javascripts/groundworkcss/index.js +20 -0
  271. data/vendor/assets/javascripts/groundworkcss/libs/boxsizing.htc +501 -0
  272. data/vendor/assets/javascripts/groundworkcss/libs/html5shiv.min.js +8 -0
  273. data/vendor/assets/javascripts/groundworkcss/libs/modernizr-2.6.2.min.js +4 -0
  274. data/vendor/assets/javascripts/groundworkcss/libs/placeholder_polyfill.jquery.js +212 -0
  275. data/vendor/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.caption2.js +67 -0
  276. data/vendor/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.carousel.js +265 -0
  277. data/vendor/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.center.js +63 -0
  278. data/vendor/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.ie-fade.js +46 -0
  279. data/vendor/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.scrollVert.js +15 -0
  280. data/vendor/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.shuffle.js +62 -0
  281. data/vendor/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.swipe.js +70 -0
  282. data/vendor/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.tile.js +131 -0
  283. data/vendor/assets/javascripts/groundworkcss/plugins/cycle/jquery.cycle2.video.js +66 -0
  284. data/vendor/assets/javascripts/groundworkcss/plugins/jquery-modals.js +193 -0
  285. data/vendor/assets/javascripts/groundworkcss/plugins/jquery-responsiveTables.coffee +61 -0
  286. data/vendor/assets/javascripts/groundworkcss/plugins/jquery-responsiveText.coffee +32 -0
  287. data/vendor/assets/javascripts/groundworkcss/plugins/jquery-tooltip.coffee +124 -0
  288. data/vendor/assets/javascripts/groundworkcss/plugins/jquery.cycle2.js +1426 -0
  289. data/vendor/assets/javascripts/groundworkcss/plugins/jquery.magnific-popup.js +1760 -0
  290. data/vendor/assets/stylesheets/groundworkcss/_rails-settings.scss +202 -0
  291. data/vendor/assets/stylesheets/groundworkcss/_settings.scss +1 -0
  292. data/vendor/assets/stylesheets/groundworkcss/base/_all.scss +11 -0
  293. data/vendor/assets/stylesheets/groundworkcss/base/_animations.scss +29 -0
  294. data/vendor/assets/stylesheets/groundworkcss/base/_global.scss +64 -0
  295. data/vendor/assets/stylesheets/groundworkcss/base/_grid.scss +172 -0
  296. data/vendor/assets/stylesheets/groundworkcss/base/_helpers.scss +254 -0
  297. data/vendor/assets/stylesheets/groundworkcss/base/_reset.scss +81 -0
  298. data/vendor/assets/stylesheets/groundworkcss/core/_all.scss +11 -0
  299. data/vendor/assets/stylesheets/groundworkcss/core/_constants.scss +121 -0
  300. data/vendor/assets/stylesheets/groundworkcss/core/_defaults.scss +202 -0
  301. data/vendor/assets/stylesheets/groundworkcss/core/_mixins.scss +206 -0
  302. data/vendor/assets/stylesheets/groundworkcss/font-awesome-ie7.min.css +22 -0
  303. data/vendor/assets/stylesheets/groundworkcss/form/_all.scss +10 -0
  304. data/vendor/assets/stylesheets/groundworkcss/form/_forms.scss +240 -0
  305. data/vendor/assets/stylesheets/groundworkcss/form/_tiles.scss +100 -0
  306. data/vendor/assets/stylesheets/groundworkcss/groundwork-ie.scss +130 -0
  307. data/vendor/assets/stylesheets/groundworkcss/groundwork.scss +22 -0
  308. data/vendor/assets/stylesheets/groundworkcss/index.scss +3 -0
  309. data/vendor/assets/stylesheets/groundworkcss/magnific-popup.css +393 -0
  310. data/vendor/assets/stylesheets/groundworkcss/misc/_all.scss +9 -0
  311. data/vendor/assets/stylesheets/groundworkcss/misc/_social-icons.scss +96 -0
  312. data/vendor/assets/stylesheets/groundworkcss/nav/_all.scss +11 -0
  313. data/vendor/assets/stylesheets/groundworkcss/nav/_buttons.scss +334 -0
  314. data/vendor/assets/stylesheets/groundworkcss/nav/_navigation.scss +400 -0
  315. data/vendor/assets/stylesheets/groundworkcss/nav/_tabs.scss +230 -0
  316. data/vendor/assets/stylesheets/groundworkcss/no-svg.scss +355 -0
  317. data/vendor/assets/stylesheets/groundworkcss/placeholder_polyfill.css +32 -0
  318. data/vendor/assets/stylesheets/groundworkcss/responsive/_all.scss +13 -0
  319. data/vendor/assets/stylesheets/groundworkcss/responsive/_desktop.scss +26 -0
  320. data/vendor/assets/stylesheets/groundworkcss/responsive/_helpers.scss +16 -0
  321. data/vendor/assets/stylesheets/groundworkcss/responsive/_ipad.scss +28 -0
  322. data/vendor/assets/stylesheets/groundworkcss/responsive/_mobile.scss +44 -0
  323. data/vendor/assets/stylesheets/groundworkcss/responsive/_small-tablet.scss +196 -0
  324. data/vendor/assets/stylesheets/groundworkcss/type/_all.scss +9 -0
  325. data/vendor/assets/stylesheets/groundworkcss/type/_font-awesome.scss +542 -0
  326. data/vendor/assets/stylesheets/groundworkcss/type/_typography.scss +360 -0
  327. data/vendor/assets/stylesheets/groundworkcss/type/_webfonts.scss +28 -0
  328. data/vendor/assets/stylesheets/groundworkcss/ui/_all.scss +13 -0
  329. data/vendor/assets/stylesheets/groundworkcss/ui/_callouts.scss +130 -0
  330. data/vendor/assets/stylesheets/groundworkcss/ui/_messages.scss +124 -0
  331. data/vendor/assets/stylesheets/groundworkcss/ui/_modals.scss +558 -0
  332. data/vendor/assets/stylesheets/groundworkcss/ui/_tables.scss +142 -0
  333. data/vendor/assets/stylesheets/groundworkcss/ui/_tooltips.scss +196 -0
  334. metadata +427 -0
@@ -0,0 +1,8 @@
1
+ /*
2
+ HTML5 Shiv v3.6.2pre | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
3
+ */
4
+ (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
5
+ a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}</style>";
6
+ c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
7
+ "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",version:"3.6.2pre",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment();
8
+ for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);
@@ -0,0 +1,4 @@
1
+ /* Modernizr 2.6.2 (Custom Build) | MIT & BSD
2
+ * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
3
+ */
4
+ ;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a){var e=a[d];if(!G(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function K(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)u[c[d]]=c[d]in k;return u.list&&(u.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:e=k.value!=l)),t[a[d]]=!!e;return t}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={svg:"http://www.w3.org/2000/svg"},s={},t={},u={},v=[],w=v.slice,x,y=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["&#173;",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return J("flexWrap")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!F(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){return!!a.WebGLRenderingContext},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.geolocation=function(){return"geolocation"in navigator},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!J("indexedDB",a)},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){return J("borderImage")},s.borderradius=function(){return J("borderRadius")},s.boxshadow=function(){return J("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return E("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return J("animationName")},s.csscolumns=function(){return J("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return D((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),G(j.backgroundImage,"gradient")},s.cssreflections=function(){return J("boxReflect")},s.csstransforms=function(){return!!J("transform")},s.csstransforms3d=function(){var a=!!J("perspective");return a&&"webkitPerspective"in g.style&&y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},s.csstransitions=function(){return J("transition")},s.fontface=function(){var a;return y('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},s.generatedcontent=function(){var a;return y(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var L in s)C(s,L)&&(x=L.toLowerCase(),e[x]=s[L](),v.push((e[x]?"":"no-")+x));return e.input||K(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)C(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},D(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=z,e.hasEvent=A,e.testProp=function(a){return H([a])},e.testAllProps=J,e.testStyles=y,e.prefixed=function(a,b,c){return b?J(a,b,c):J(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
@@ -0,0 +1,212 @@
1
+ /**
2
+ * HTML5 placeholder polyfill
3
+ * @requires jQuery - tested with 1.6.2 but might as well work with older versions
4
+ *
5
+ * code: https://github.com/ginader/HTML5-placeholder-polyfill
6
+ * please report issues at: https://github.com/ginader/HTML5-placeholder-polyfill/issues
7
+ *
8
+ * Copyright (c) 2012 Dirk Ginader (ginader.de)
9
+ * Dual licensed under the MIT and GPL licenses:
10
+ * http://www.opensource.org/licenses/mit-license.php
11
+ * http://www.gnu.org/licenses/gpl.html
12
+ *
13
+ * Version: 2.0.6
14
+ *
15
+ */
16
+
17
+ (function($) {
18
+ var debug = false,
19
+ animId;
20
+ function showPlaceholderIfEmpty(input,options) {
21
+ if( input.val() === '' ){
22
+ input.data('placeholder').removeClass(options.hideClass);
23
+ }else{
24
+ input.data('placeholder').addClass(options.hideClass);
25
+ }
26
+ }
27
+ function hidePlaceholder(input,options){
28
+ input.data('placeholder').addClass(options.hideClass);
29
+ }
30
+ function positionPlaceholder(placeholder,input){
31
+ var ta = input.is('textarea');
32
+
33
+ // Determine if we need to shift the header down more.
34
+ var offset = input.offset();
35
+ if (input.css('padding') && input.css('padding') !== '0px') {
36
+ var padding = input.css('padding').split(' ');
37
+ offset.top += Number(padding[0].replace('px', ''));
38
+ offset.left += Number(padding[padding.length - 1].replace('px', ''));
39
+ }
40
+ else {
41
+ if (input.css('padding-top') && input.css('padding-top') !== '0px') {
42
+ offset.top += Number(input.css('padding-top').replace('px', ''));
43
+ }
44
+ if (input.css('padding-left') && input.css('padding-left') !== '0px') {
45
+ offset.left += Number(input.css('padding-left').replace('px', ''));
46
+ }
47
+ }
48
+
49
+ placeholder.css({
50
+ width : input.innerWidth()-(ta ? 20 : 4),
51
+ height : input.innerHeight()-6,
52
+ lineHeight : input.css('line-height'),
53
+ whiteSpace : ta ? 'normal' : 'nowrap',
54
+ overflow : 'hidden'
55
+ }).offset(offset);
56
+ }
57
+ function startFilledCheckChange(input,options){
58
+ var val = input.val();
59
+ (function checkloop(){
60
+ animId = requestAnimationFrame(checkloop);
61
+ if(input.val() !== val){
62
+ hidePlaceholder(input,options);
63
+ stopCheckChange();
64
+ startEmptiedCheckChange(input,options);
65
+ }
66
+ }());
67
+ }
68
+ function startEmptiedCheckChange(input,options){
69
+ (function checkloop(){
70
+ animId = requestAnimationFrame(checkloop);
71
+ showPlaceholderIfEmpty(input,options);
72
+ }());
73
+ }
74
+ function stopCheckChange(){
75
+ cancelAnimationFrame(animId);
76
+ }
77
+ function log(msg){
78
+ if(debug && window.console && window.console.log){
79
+ window.console.log(msg);
80
+ }
81
+ }
82
+
83
+ $.fn.placeHolder = function(config) {
84
+ log('init placeHolder');
85
+ var o = this;
86
+ var l = $(this).length;
87
+ this.options = $.extend({
88
+ className: 'placeholder', // css class that is used to style the placeholder
89
+ visibleToScreenreaders : true, // expose the placeholder text to screenreaders or not
90
+ visibleToScreenreadersHideClass : 'placeholder-hide-except-screenreader', // css class is used to visually hide the placeholder
91
+ visibleToNoneHideClass : 'placeholder-hide', // css class used to hide the placeholder for all
92
+ hideOnFocus : false, // either hide the placeholder on focus or on type
93
+ removeLabelClass : 'visuallyhidden', // remove this class from a label (to fix hidden labels)
94
+ hiddenOverrideClass : 'visuallyhidden-with-placeholder', // replace the label above with this class
95
+ forceHiddenOverride : true, // allow the replace of the removeLabelClass with hiddenOverrideClass or not
96
+ forceApply : false, // apply the polyfill even for browser with native support
97
+ autoInit : true // init automatically or not
98
+ }, config);
99
+ this.options.hideClass = this.options.visibleToScreenreaders ? this.options.visibleToScreenreadersHideClass : this.options.visibleToNoneHideClass;
100
+ return $(this).each(function(index) {
101
+ var input = $(this),
102
+ text = input.attr('placeholder'),
103
+ id = input.attr('id'),
104
+ label,placeholder,titleNeeded,polyfilled;
105
+ if(text === "" || text === undefined) {
106
+ text = input[0].attributes["placeholder"].value;
107
+ }
108
+ label = input.closest('label');
109
+ input.removeAttr('placeholder');
110
+ if(!label.length && !id){
111
+ log('the input element with the placeholder needs an id!');
112
+ return;
113
+ }
114
+ label = label.length ? label : $('label[for="'+id+'"]').first();
115
+ if(!label.length){
116
+ log('the input element with the placeholder needs a label!');
117
+ return;
118
+ }
119
+ polyfilled = $(label).find('.placeholder');
120
+ if(polyfilled.length) {
121
+ //log('the input element already has a polyfilled placeholder!');
122
+ positionPlaceholder(polyfilled,input);
123
+ polyfilled.text(text);
124
+ return input;
125
+ }
126
+
127
+ if(label.hasClass(o.options.removeLabelClass)){
128
+ label.removeClass(o.options.removeLabelClass)
129
+ .addClass(o.options.hiddenOverrideClass);
130
+ }
131
+
132
+ placeholder = $('<span>').addClass(o.options.className).text(text).appendTo(label);
133
+
134
+ titleNeeded = (placeholder.width() > input.width());
135
+ if(titleNeeded){
136
+ placeholder.attr('title',text);
137
+ }
138
+ positionPlaceholder(placeholder,input);
139
+ input.data('placeholder',placeholder);
140
+ placeholder.data('input',placeholder);
141
+ placeholder.click(function(){
142
+ $(this).data('input').focus();
143
+ });
144
+ input.focusin(function() {
145
+ if(!o.options.hideOnFocus && window.requestAnimationFrame){
146
+ startFilledCheckChange(input,o.options);
147
+ }else{
148
+ hidePlaceholder(input,o.options);
149
+ }
150
+ });
151
+ input.focusout(function(){
152
+ showPlaceholderIfEmpty($(this),o.options);
153
+ if(!o.options.hideOnFocus && window.cancelAnimationFrame){
154
+ stopCheckChange();
155
+ }
156
+ });
157
+ showPlaceholderIfEmpty(input,o.options);
158
+
159
+ // reformat on window resize and optional reformat on font resize - requires: http://www.tomdeater.com/jquery/onfontresize/
160
+ $(document).bind("fontresize resize", function(){
161
+ positionPlaceholder(placeholder,input);
162
+ });
163
+
164
+ // optional reformat when a textarea is being resized - requires http://benalman.com/projects/jquery-resize-plugin/
165
+ if($.event.special.resize){
166
+ $("textarea").bind("resize", function(e){
167
+ positionPlaceholder(placeholder,input);
168
+ });
169
+ }else{
170
+ // we simply disable the resizeablilty of textareas when we can't react on them resizing
171
+ $("textarea").css('resize','none');
172
+ }
173
+
174
+ if(index >= l-1){
175
+ $.attrHooks.placeholder = {
176
+ get: function(elem) {
177
+ if (elem.nodeName.toLowerCase() === 'input' || elem.nodeName.toLowerCase() === 'textarea') {
178
+ if( $(elem).data('placeholder') ){
179
+ // has been polyfilled
180
+ return $( $(elem).data('placeholder') ).text();
181
+ }else{
182
+ // native / not yet polyfilled
183
+ return $(elem)[0].placeholder;
184
+ }
185
+
186
+ }else{
187
+ return undefined;
188
+ }
189
+ },
190
+ set: function(elem, value){
191
+ return $( $(elem).data('placeholder') ).text(value);
192
+ }
193
+ };
194
+ }
195
+ });
196
+
197
+
198
+
199
+ };
200
+ $(function(){
201
+ var config = window.placeHolderConfig || {};
202
+ if(config.autoInit === false){
203
+ log('placeholder:abort because autoInit is off');
204
+ return;
205
+ }
206
+ if(('placeholder' in $('<input>')[0] || 'placeHolder' in $('<input>')[0]) && !config.forceApply){ // don't run the polyfill when the browser has native support
207
+ log('placeholder:abort because browser has native support');
208
+ return;
209
+ }
210
+ $('input[placeholder], textarea[placeholder]').placeHolder(config);
211
+ });
212
+ }(jQuery));
@@ -0,0 +1,67 @@
1
+ /*! caption2 plugin for Cycle2; version: 20130306 */
2
+ (function($) {
3
+ "use strict";
4
+
5
+ $.extend($.fn.cycle.defaults, {
6
+ captionFxOut: 'fadeOut',
7
+ captionFxIn: 'fadeIn',
8
+ captionFxSel: undefined,
9
+ overlayFxOut: 'fadeOut',
10
+ overlayFxIn: 'fadeIn',
11
+ overlayFxSel: undefined
12
+ });
13
+
14
+ $(document).on( 'cycle-bootstrap', function(e, opts) {
15
+ opts.container.on( 'cycle-update-view-before', update );
16
+ opts.container.one( 'cycle-update-view-after', init );
17
+ });
18
+
19
+ function update( e, opts, slideOpts, currSlide, isAfter ) {
20
+ if ( opts.captionPlugin !== 'caption2' )
21
+ return;
22
+ $.each(['caption','overlay'], function() {
23
+ var fxBase = this + 'Fx',
24
+ fx = opts[fxBase + 'Out'] || 'hide',
25
+ template = slideOpts[this+'Template'],
26
+ el = opts.API.getComponent( this ),
27
+ sel = opts[fxBase+'Sel'],
28
+ speed = opts.speed,
29
+ animEl;
30
+
31
+ if ( opts.sync )
32
+ speed = speed/2;
33
+
34
+ animEl = sel ? el.find( sel ) : el;
35
+
36
+ if( el.length && template ) {
37
+ if ( fx == 'hide')
38
+ speed = 0;
39
+ animEl[fx]( speed, function() {
40
+ var content = opts.API.tmpl( template, slideOpts, opts, currSlide );
41
+ el.html( content );
42
+ animEl = sel ? el.find( sel ) : el;
43
+ if ( sel )
44
+ animEl.hide();
45
+ fx = opts[ fxBase + 'In'] || 'show';
46
+ animEl[fx]( speed );
47
+ });
48
+ }
49
+ else {
50
+ el.hide();
51
+ }
52
+ });
53
+ }
54
+
55
+ function init( e, opts, slideOpts, currSlide, isAfter ) {
56
+ if ( opts.captionPlugin !== 'caption2' )
57
+ return;
58
+ $.each(['caption','overlay'], function() {
59
+ var template = slideOpts[this+'Template'],
60
+ el = opts.API.getComponent( this );
61
+
62
+ if( el.length && template )
63
+ el.html( opts.API.tmpl( template, slideOpts, opts, currSlide ) );
64
+ });
65
+ }
66
+
67
+ })(jQuery);
@@ -0,0 +1,265 @@
1
+ /*! carousel transition plugin for Cycle2; version: 20130108 */
2
+ (function($) {
3
+ "use strict";
4
+
5
+ $( document ).on('cycle-bootstrap', function( e, opts, API ) {
6
+ if ( opts.fx !== 'carousel' )
7
+ return;
8
+
9
+ API.getSlideIndex = function( el ) {
10
+ var slides = this.opts()._carouselWrap.children();
11
+ var i = slides.index( el );
12
+ return i % slides.length;
13
+ };
14
+
15
+ // override default 'next' function
16
+ API.next = function() {
17
+ var count = opts.reverse ? -1 : 1;
18
+ if ( opts.allowWrap === false && ( opts.currSlide + count ) > opts.slideCount - opts.carouselVisible )
19
+ return;
20
+ opts.API.advanceSlide( count );
21
+ opts.API.trigger('cycle-next', [ opts ]).log('cycle-next');
22
+ };
23
+
24
+ });
25
+
26
+
27
+ $.fn.cycle.transitions.carousel = {
28
+ // transition API impl
29
+ preInit: function( opts ) {
30
+ opts.hideNonActive = false;
31
+
32
+ opts.container.on('cycle-destroyed', $.proxy(this.onDestroy, opts.API));
33
+ // override default API implementation
34
+ opts.API.stopTransition = this.stopTransition;
35
+
36
+ // issue #10
37
+ for (var i=0; i < opts.startingSlide; i++) {
38
+ opts.container.append( opts.slides[0] );
39
+ }
40
+ },
41
+
42
+ // transition API impl
43
+ postInit: function( opts ) {
44
+ var pagerCutoffIndex, wrap;
45
+ var vert = opts.carouselVertical;
46
+ if (opts.carouselVisible && opts.carouselVisible > opts.slideCount)
47
+ opts.carouselVisible = opts.slideCount - 1;
48
+ var visCount = opts.carouselVisible || opts.slides.length;
49
+ var slideCSS = { display: vert ? 'block' : 'inline-block', position: 'static' };
50
+
51
+ // required styles
52
+ opts.container.css({ position: 'relative', overflow: 'hidden' });
53
+ opts.slides.css( slideCSS );
54
+
55
+ opts._currSlide = opts.currSlide;
56
+
57
+ // wrap slides in a div; this div is what is animated
58
+ wrap = $('<div class="cycle-carousel-wrap"></div')
59
+ .prependTo( opts.container )
60
+ .css({ margin: 0, padding: 0, top: 0, left: 0, position: 'absolute' })
61
+ .append( opts.slides );
62
+
63
+ opts._carouselWrap = wrap;
64
+
65
+ if ( !vert )
66
+ wrap.css('white-space', 'nowrap');
67
+
68
+ if ( opts.allowWrap !== false ) {
69
+ // prepend and append extra slides so we don't see any empty space when we
70
+ // near the end of the carousel. for fluid containers, add even more clones
71
+ // so there is plenty to fill the screen
72
+ // @todo: optimzie this based on slide sizes
73
+ opts.slides.slice(0, opts.slideCount).clone().css( slideCSS ).appendTo( wrap );
74
+ if ( opts.carouselVisible === undefined )
75
+ opts.slides.slice(0, opts.slideCount).clone().css( slideCSS ).appendTo( wrap );
76
+ opts.slides.slice(0, opts.slideCount).clone().css( slideCSS ).prependTo( wrap );
77
+ if ( opts.carouselVisible === undefined )
78
+ opts.slides.slice(0, opts.slideCount).clone().css( slideCSS ).prependTo( wrap );
79
+
80
+ wrap.find('.cycle-slide-active').removeClass('cycle-slide-active');
81
+ opts.slides.eq(opts.startingSlide).addClass('cycle-slide-active');
82
+ }
83
+
84
+ if ( opts.pager && opts.allowWrap === false ) {
85
+ // hide "extra" pagers
86
+ pagerCutoffIndex = opts.slideCount - visCount;
87
+ $( opts.pager ).children().filter( ':gt('+pagerCutoffIndex+')' ).hide();
88
+ }
89
+
90
+ opts._nextBoundry = opts.slideCount - opts.carouselVisible;
91
+
92
+ this.prepareDimensions( opts );
93
+ },
94
+
95
+ prepareDimensions: function( opts ) {
96
+ var dim, offset, pagerCutoffIndex, tmp;
97
+ var vert = opts.carouselVertical;
98
+ var visCount = opts.carouselVisible || opts.slides.length;
99
+
100
+ if ( opts.carouselFluid && opts.carouselVisible ) {
101
+ if ( ! opts._carouselResizeThrottle ) {
102
+ // fluid container AND fluid slides; slides need to be resized to fit container
103
+ this.fluidSlides( opts );
104
+ }
105
+ }
106
+ else if ( opts.carouselVisible && opts.carouselSlideDimension ) {
107
+ dim = visCount * opts.carouselSlideDimension;
108
+ opts.container[ vert ? 'height' : 'width' ]( dim );
109
+ }
110
+ else if ( opts.carouselVisible ) {
111
+ dim = visCount * $(opts.slides[0])[vert ? 'outerHeight' : 'outerWidth'](true);
112
+ opts.container[ vert ? 'height' : 'width' ]( dim );
113
+ }
114
+ // else {
115
+ // // fluid; don't size the container
116
+ // }
117
+
118
+ offset = ( opts.carouselOffset || 0 );
119
+ if ( opts.allowWrap !== false ) {
120
+ if ( opts.carouselSlideDimension ) {
121
+ offset -= ( (opts.slideCount + opts.currSlide) * opts.carouselSlideDimension );
122
+ }
123
+ else {
124
+ // calculate offset based on actual slide dimensions
125
+ tmp = opts._carouselWrap.children();
126
+ for (var j=0; j < (opts.slideCount + opts.currSlide); j++) {
127
+ offset -= $(tmp[j])[vert?'outerHeight':'outerWidth'](true);
128
+ }
129
+ }
130
+ }
131
+
132
+ opts._carouselWrap.css( vert ? 'top' : 'left', offset );
133
+ },
134
+
135
+ fluidSlides: function( opts ) {
136
+ var timeout;
137
+ var slide = opts.slides.eq(0);
138
+ var adjustment = slide.outerWidth() - slide.width();
139
+ var prepareDimensions = this.prepareDimensions;
140
+
141
+ // throttle resize event
142
+ $(window).on( 'resize', resizeThrottle);
143
+
144
+ opts._carouselResizeThrottle = resizeThrottle;
145
+ onResize();
146
+
147
+ function resizeThrottle() {
148
+ clearTimeout( timeout );
149
+ timeout = setTimeout( onResize, 20 );
150
+ }
151
+
152
+ function onResize() {
153
+ opts._carouselWrap.stop( false, true );
154
+ var slideWidth = opts.container.width() / opts.carouselVisible;
155
+ slideWidth = Math.ceil( slideWidth - adjustment );
156
+ opts._carouselWrap.children().width( slideWidth );
157
+ if ( opts._sentinel )
158
+ opts._sentinel.width( slideWidth );
159
+ prepareDimensions( opts );
160
+ }
161
+ },
162
+
163
+ // transition API impl
164
+ transition: function( opts, curr, next, fwd, callback ) {
165
+ var moveBy, props = {};
166
+ var hops = opts.nextSlide - opts.currSlide;
167
+ var vert = opts.carouselVertical;
168
+ var speed = opts.speed;
169
+
170
+ // handle all the edge cases for wrapping & non-wrapping
171
+ if ( opts.allowWrap === false ) {
172
+ fwd = hops > 0;
173
+ var currSlide = opts._currSlide;
174
+ var maxCurr = opts.slideCount - opts.carouselVisible;
175
+ if ( hops > 0 && opts.nextSlide > maxCurr && currSlide == maxCurr ) {
176
+ hops = 0;
177
+ }
178
+ else if ( hops > 0 && opts.nextSlide > maxCurr ) {
179
+ hops = opts.nextSlide - currSlide - (opts.nextSlide - maxCurr);
180
+ }
181
+ else if ( hops < 0 && opts.currSlide > maxCurr && opts.nextSlide > maxCurr ) {
182
+ hops = 0;
183
+ }
184
+ else if ( hops < 0 && opts.currSlide > maxCurr ) {
185
+ hops += opts.currSlide - maxCurr;
186
+ }
187
+ else
188
+ currSlide = opts.currSlide;
189
+
190
+ moveBy = this.getScroll( opts, vert, currSlide, hops );
191
+ opts.API.opts()._currSlide = opts.nextSlide > maxCurr ? maxCurr : opts.nextSlide;
192
+ }
193
+ else {
194
+ if ( fwd && opts.nextSlide === 0 ) {
195
+ // moving from last slide to first
196
+ moveBy = this.getDim( opts, opts.currSlide, vert );
197
+ callback = this.genCallback( opts, fwd, vert, callback );
198
+ }
199
+ else if ( !fwd && opts.nextSlide == opts.slideCount - 1 ) {
200
+ // moving from first slide to last
201
+ moveBy = this.getDim( opts, opts.currSlide, vert );
202
+ callback = this.genCallback( opts, fwd, vert, callback );
203
+ }
204
+ else {
205
+ moveBy = this.getScroll( opts, vert, opts.currSlide, hops );
206
+ }
207
+ }
208
+
209
+ props[ vert ? 'top' : 'left' ] = fwd ? ( "-=" + moveBy ) : ( "+=" + moveBy );
210
+
211
+ // throttleSpeed means to scroll slides at a constant rate, rather than
212
+ // a constant speed
213
+ if ( opts.throttleSpeed )
214
+ speed = (moveBy / $(opts.slides[0])[vert ? 'height' : 'width']() ) * opts.speed;
215
+
216
+ opts._carouselWrap.animate( props, speed, opts.easing, callback );
217
+ },
218
+
219
+ getDim: function( opts, index, vert ) {
220
+ var slide = $( opts.slides[index] );
221
+ return slide[ vert ? 'outerHeight' : 'outerWidth'](true);
222
+ },
223
+
224
+ getScroll: function( opts, vert, currSlide, hops ) {
225
+ var i, moveBy = 0;
226
+
227
+ if (hops > 0) {
228
+ for (i=currSlide; i < currSlide+hops; i++)
229
+ moveBy += this.getDim( opts, i, vert);
230
+ }
231
+ else {
232
+ for (i=currSlide; i > currSlide+hops; i--)
233
+ moveBy += this.getDim( opts, i, vert);
234
+ }
235
+ return moveBy;
236
+ },
237
+
238
+ genCallback: function( opts, fwd, vert, callback ) {
239
+ // returns callback fn that resets the left/top wrap position to the "real" slides
240
+ return function() {
241
+ var pos = $(opts.slides[opts.nextSlide]).position();
242
+ var offset = 0 - pos[vert?'top':'left'] + (opts.carouselOffset || 0);
243
+ opts._carouselWrap.css( opts.carouselVertical ? 'top' : 'left', offset );
244
+ callback();
245
+ };
246
+ },
247
+
248
+ // core API override
249
+ stopTransition: function() {
250
+ var opts = this.opts();
251
+ opts.slides.stop( false, true );
252
+ opts._carouselWrap.stop( false, true );
253
+ },
254
+
255
+ // core API supplement
256
+ onDestroy: function( e ) {
257
+ var opts = this.opts();
258
+ if ( opts._carouselResizeThrottle )
259
+ $( window ).off( 'resize', opts._carouselResizeThrottle );
260
+ opts.slides.prependTo( opts.container );
261
+ opts._carouselWrap.remove();
262
+ }
263
+ };
264
+
265
+ })(jQuery);