table_beet 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (335) hide show
  1. data/.gitignore +19 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +107 -0
  5. data/Rakefile +1 -0
  6. data/bin/table_beet +5 -0
  7. data/lib/table_beet/cli.rb +47 -0
  8. data/lib/table_beet/formatters/base_formatter.rb +10 -0
  9. data/lib/table_beet/formatters/html_formatter.rb +58 -0
  10. data/lib/table_beet/formatters/html_template/data/css/font-awesome-ie7.min.css +22 -0
  11. data/lib/table_beet/formatters/html_template/data/css/groundwork-ie.css +52 -0
  12. data/lib/table_beet/formatters/html_template/data/css/groundwork.css +5802 -0
  13. data/lib/table_beet/formatters/html_template/data/css/no-svg.css +1 -0
  14. data/lib/table_beet/formatters/html_template/data/css/placeholder_polyfill.css +32 -0
  15. data/lib/table_beet/formatters/html_template/data/favicon.ico +0 -0
  16. data/lib/table_beet/formatters/html_template/data/font/FontAwesome.otf +0 -0
  17. data/lib/table_beet/formatters/html_template/data/font/fontawesome-webfont.eot +0 -0
  18. data/lib/table_beet/formatters/html_template/data/font/fontawesome-webfont.svg +284 -0
  19. data/lib/table_beet/formatters/html_template/data/font/fontawesome-webfont.ttf +0 -0
  20. data/lib/table_beet/formatters/html_template/data/font/fontawesome-webfont.woff +0 -0
  21. data/lib/table_beet/formatters/html_template/data/images/black_linen_v2.png +0 -0
  22. data/lib/table_beet/formatters/html_template/data/images/groundwork-logo.png +0 -0
  23. data/lib/table_beet/formatters/html_template/data/images/groundwork-logo.svg +1 -0
  24. data/lib/table_beet/formatters/html_template/data/images/kitchen-sink.gif +0 -0
  25. data/lib/table_beet/formatters/html_template/data/images/layout-1.gif +0 -0
  26. data/lib/table_beet/formatters/html_template/data/images/layout-2.gif +0 -0
  27. data/lib/table_beet/formatters/html_template/data/images/layout-3.gif +0 -0
  28. data/lib/table_beet/formatters/html_template/data/images/layout-4.gif +0 -0
  29. data/lib/table_beet/formatters/html_template/data/images/layout-5.gif +0 -0
  30. data/lib/table_beet/formatters/html_template/data/images/orbit/bullets.jpg +0 -0
  31. data/lib/table_beet/formatters/html_template/data/images/orbit/left-arrow.png +0 -0
  32. data/lib/table_beet/formatters/html_template/data/images/orbit/loading.gif +0 -0
  33. data/lib/table_beet/formatters/html_template/data/images/orbit/mask-black.png +0 -0
  34. data/lib/table_beet/formatters/html_template/data/images/orbit/pause-black.png +0 -0
  35. data/lib/table_beet/formatters/html_template/data/images/orbit/right-arrow.png +0 -0
  36. data/lib/table_beet/formatters/html_template/data/images/orbit/rotator-black.png +0 -0
  37. data/lib/table_beet/formatters/html_template/data/images/orbit/timer-black.png +0 -0
  38. data/lib/table_beet/formatters/html_template/data/images/social-icons/500px-m.png +0 -0
  39. data/lib/table_beet/formatters/html_template/data/images/social-icons/500px-s.png +0 -0
  40. data/lib/table_beet/formatters/html_template/data/images/social-icons/500px.png +0 -0
  41. data/lib/table_beet/formatters/html_template/data/images/social-icons/500px.svg +62 -0
  42. data/lib/table_beet/formatters/html_template/data/images/social-icons/aboutme-m.png +0 -0
  43. data/lib/table_beet/formatters/html_template/data/images/social-icons/aboutme-s.png +0 -0
  44. data/lib/table_beet/formatters/html_template/data/images/social-icons/aboutme.png +0 -0
  45. data/lib/table_beet/formatters/html_template/data/images/social-icons/aboutme.svg +42 -0
  46. data/lib/table_beet/formatters/html_template/data/images/social-icons/adn-m.png +0 -0
  47. data/lib/table_beet/formatters/html_template/data/images/social-icons/adn-s.png +0 -0
  48. data/lib/table_beet/formatters/html_template/data/images/social-icons/adn.png +0 -0
  49. data/lib/table_beet/formatters/html_template/data/images/social-icons/adn.svg +14 -0
  50. data/lib/table_beet/formatters/html_template/data/images/social-icons/android-m.png +0 -0
  51. data/lib/table_beet/formatters/html_template/data/images/social-icons/android-s.png +0 -0
  52. data/lib/table_beet/formatters/html_template/data/images/social-icons/android.png +0 -0
  53. data/lib/table_beet/formatters/html_template/data/images/social-icons/android.svg +30 -0
  54. data/lib/table_beet/formatters/html_template/data/images/social-icons/apple-m.png +0 -0
  55. data/lib/table_beet/formatters/html_template/data/images/social-icons/apple-s.png +0 -0
  56. data/lib/table_beet/formatters/html_template/data/images/social-icons/apple.png +0 -0
  57. data/lib/table_beet/formatters/html_template/data/images/social-icons/apple.svg +19 -0
  58. data/lib/table_beet/formatters/html_template/data/images/social-icons/behance-m.png +0 -0
  59. data/lib/table_beet/formatters/html_template/data/images/social-icons/behance-s.png +0 -0
  60. data/lib/table_beet/formatters/html_template/data/images/social-icons/behance.png +0 -0
  61. data/lib/table_beet/formatters/html_template/data/images/social-icons/behance.svg +48 -0
  62. data/lib/table_beet/formatters/html_template/data/images/social-icons/bitbucket-m.png +0 -0
  63. data/lib/table_beet/formatters/html_template/data/images/social-icons/bitbucket-s.png +0 -0
  64. data/lib/table_beet/formatters/html_template/data/images/social-icons/bitbucket.png +0 -0
  65. data/lib/table_beet/formatters/html_template/data/images/social-icons/bitbucket.svg +36 -0
  66. data/lib/table_beet/formatters/html_template/data/images/social-icons/blogger-m.png +0 -0
  67. data/lib/table_beet/formatters/html_template/data/images/social-icons/blogger-s.png +0 -0
  68. data/lib/table_beet/formatters/html_template/data/images/social-icons/blogger.png +0 -0
  69. data/lib/table_beet/formatters/html_template/data/images/social-icons/blogger.svg +22 -0
  70. data/lib/table_beet/formatters/html_template/data/images/social-icons/coderwall-m.png +0 -0
  71. data/lib/table_beet/formatters/html_template/data/images/social-icons/coderwall-s.png +0 -0
  72. data/lib/table_beet/formatters/html_template/data/images/social-icons/coderwall.png +0 -0
  73. data/lib/table_beet/formatters/html_template/data/images/social-icons/coderwall.svg +21 -0
  74. data/lib/table_beet/formatters/html_template/data/images/social-icons/creativecloud-m.png +0 -0
  75. data/lib/table_beet/formatters/html_template/data/images/social-icons/creativecloud-s.png +0 -0
  76. data/lib/table_beet/formatters/html_template/data/images/social-icons/creativecloud.png +0 -0
  77. data/lib/table_beet/formatters/html_template/data/images/social-icons/creativecloud.svg +48 -0
  78. data/lib/table_beet/formatters/html_template/data/images/social-icons/dribbble-m.png +0 -0
  79. data/lib/table_beet/formatters/html_template/data/images/social-icons/dribbble-s.png +0 -0
  80. data/lib/table_beet/formatters/html_template/data/images/social-icons/dribbble.png +0 -0
  81. data/lib/table_beet/formatters/html_template/data/images/social-icons/dribbble.svg +28 -0
  82. data/lib/table_beet/formatters/html_template/data/images/social-icons/dropbox-m.png +0 -0
  83. data/lib/table_beet/formatters/html_template/data/images/social-icons/dropbox-s.png +0 -0
  84. data/lib/table_beet/formatters/html_template/data/images/social-icons/dropbox.png +0 -0
  85. data/lib/table_beet/formatters/html_template/data/images/social-icons/dropbox.svg +73 -0
  86. data/lib/table_beet/formatters/html_template/data/images/social-icons/evernote-m.png +0 -0
  87. data/lib/table_beet/formatters/html_template/data/images/social-icons/evernote-s.png +0 -0
  88. data/lib/table_beet/formatters/html_template/data/images/social-icons/evernote.png +0 -0
  89. data/lib/table_beet/formatters/html_template/data/images/social-icons/evernote.svg +62 -0
  90. data/lib/table_beet/formatters/html_template/data/images/social-icons/facebook-m.png +0 -0
  91. data/lib/table_beet/formatters/html_template/data/images/social-icons/facebook-s.png +0 -0
  92. data/lib/table_beet/formatters/html_template/data/images/social-icons/facebook.png +0 -0
  93. data/lib/table_beet/formatters/html_template/data/images/social-icons/facebook.svg +15 -0
  94. data/lib/table_beet/formatters/html_template/data/images/social-icons/fairheadcreative-m.png +0 -0
  95. data/lib/table_beet/formatters/html_template/data/images/social-icons/fairheadcreative-s.png +0 -0
  96. data/lib/table_beet/formatters/html_template/data/images/social-icons/fairheadcreative.png +0 -0
  97. data/lib/table_beet/formatters/html_template/data/images/social-icons/fairheadcreative.svg +24 -0
  98. data/lib/table_beet/formatters/html_template/data/images/social-icons/flickr-m.png +0 -0
  99. data/lib/table_beet/formatters/html_template/data/images/social-icons/flickr-s.png +0 -0
  100. data/lib/table_beet/formatters/html_template/data/images/social-icons/flickr.png +0 -0
  101. data/lib/table_beet/formatters/html_template/data/images/social-icons/flickr.svg +14 -0
  102. data/lib/table_beet/formatters/html_template/data/images/social-icons/foursquare-m.png +0 -0
  103. data/lib/table_beet/formatters/html_template/data/images/social-icons/foursquare-s.png +0 -0
  104. data/lib/table_beet/formatters/html_template/data/images/social-icons/foursquare.png +0 -0
  105. data/lib/table_beet/formatters/html_template/data/images/social-icons/foursquare.svg +43 -0
  106. data/lib/table_beet/formatters/html_template/data/images/social-icons/git-m.png +0 -0
  107. data/lib/table_beet/formatters/html_template/data/images/social-icons/git-s.png +0 -0
  108. data/lib/table_beet/formatters/html_template/data/images/social-icons/git.png +0 -0
  109. data/lib/table_beet/formatters/html_template/data/images/social-icons/git.svg +22 -0
  110. data/lib/table_beet/formatters/html_template/data/images/social-icons/github-m.png +0 -0
  111. data/lib/table_beet/formatters/html_template/data/images/social-icons/github-s.png +0 -0
  112. data/lib/table_beet/formatters/html_template/data/images/social-icons/github.png +0 -0
  113. data/lib/table_beet/formatters/html_template/data/images/social-icons/github.svg +38 -0
  114. data/lib/table_beet/formatters/html_template/data/images/social-icons/goodreads-m.png +0 -0
  115. data/lib/table_beet/formatters/html_template/data/images/social-icons/goodreads-s.png +0 -0
  116. data/lib/table_beet/formatters/html_template/data/images/social-icons/goodreads.png +0 -0
  117. data/lib/table_beet/formatters/html_template/data/images/social-icons/goodreads.svg +38 -0
  118. data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplay-m.png +0 -0
  119. data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplay-s.png +0 -0
  120. data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplay.png +0 -0
  121. data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplay.svg +24 -0
  122. data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplus-m.png +0 -0
  123. data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplus-s.png +0 -0
  124. data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplus.png +0 -0
  125. data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplus.svg +52 -0
  126. data/lib/table_beet/formatters/html_template/data/images/social-icons/html5-m.png +0 -0
  127. data/lib/table_beet/formatters/html_template/data/images/social-icons/html5-s.png +0 -0
  128. data/lib/table_beet/formatters/html_template/data/images/social-icons/html5.png +0 -0
  129. data/lib/table_beet/formatters/html_template/data/images/social-icons/html5.svg +29 -0
  130. data/lib/table_beet/formatters/html_template/data/images/social-icons/icloud-m.png +0 -0
  131. data/lib/table_beet/formatters/html_template/data/images/social-icons/icloud-s.png +0 -0
  132. data/lib/table_beet/formatters/html_template/data/images/social-icons/icloud.png +0 -0
  133. data/lib/table_beet/formatters/html_template/data/images/social-icons/icloud.svg +26 -0
  134. data/lib/table_beet/formatters/html_template/data/images/social-icons/instagram-m.png +0 -0
  135. data/lib/table_beet/formatters/html_template/data/images/social-icons/instagram-s.png +0 -0
  136. data/lib/table_beet/formatters/html_template/data/images/social-icons/instagram.png +0 -0
  137. data/lib/table_beet/formatters/html_template/data/images/social-icons/instagram.svg +166 -0
  138. data/lib/table_beet/formatters/html_template/data/images/social-icons/lastfm-m.png +0 -0
  139. data/lib/table_beet/formatters/html_template/data/images/social-icons/lastfm-s.png +0 -0
  140. data/lib/table_beet/formatters/html_template/data/images/social-icons/lastfm.png +0 -0
  141. data/lib/table_beet/formatters/html_template/data/images/social-icons/lastfm.svg +44 -0
  142. data/lib/table_beet/formatters/html_template/data/images/social-icons/linkedin-m.png +0 -0
  143. data/lib/table_beet/formatters/html_template/data/images/social-icons/linkedin-s.png +0 -0
  144. data/lib/table_beet/formatters/html_template/data/images/social-icons/linkedin.png +0 -0
  145. data/lib/table_beet/formatters/html_template/data/images/social-icons/linkedin.svg +28 -0
  146. data/lib/table_beet/formatters/html_template/data/images/social-icons/mail-m.png +0 -0
  147. data/lib/table_beet/formatters/html_template/data/images/social-icons/mail-s.png +0 -0
  148. data/lib/table_beet/formatters/html_template/data/images/social-icons/mail.png +0 -0
  149. data/lib/table_beet/formatters/html_template/data/images/social-icons/mail.svg +27 -0
  150. data/lib/table_beet/formatters/html_template/data/images/social-icons/mercurial-m.png +0 -0
  151. data/lib/table_beet/formatters/html_template/data/images/social-icons/mercurial-s.png +0 -0
  152. data/lib/table_beet/formatters/html_template/data/images/social-icons/mercurial.png +0 -0
  153. data/lib/table_beet/formatters/html_template/data/images/social-icons/mercurial.svg +22 -0
  154. data/lib/table_beet/formatters/html_template/data/images/social-icons/mixi-m.png +0 -0
  155. data/lib/table_beet/formatters/html_template/data/images/social-icons/mixi-s.png +0 -0
  156. data/lib/table_beet/formatters/html_template/data/images/social-icons/mixi.png +0 -0
  157. data/lib/table_beet/formatters/html_template/data/images/social-icons/mixi.svg +32 -0
  158. data/lib/table_beet/formatters/html_template/data/images/social-icons/msn-m.png +0 -0
  159. data/lib/table_beet/formatters/html_template/data/images/social-icons/msn-s.png +0 -0
  160. data/lib/table_beet/formatters/html_template/data/images/social-icons/msn.png +0 -0
  161. data/lib/table_beet/formatters/html_template/data/images/social-icons/msn.svg +44 -0
  162. data/lib/table_beet/formatters/html_template/data/images/social-icons/orkut-m.png +0 -0
  163. data/lib/table_beet/formatters/html_template/data/images/social-icons/orkut-s.png +0 -0
  164. data/lib/table_beet/formatters/html_template/data/images/social-icons/orkut.png +0 -0
  165. data/lib/table_beet/formatters/html_template/data/images/social-icons/orkut.svg +23 -0
  166. data/lib/table_beet/formatters/html_template/data/images/social-icons/picasa-m.png +0 -0
  167. data/lib/table_beet/formatters/html_template/data/images/social-icons/picasa-s.png +0 -0
  168. data/lib/table_beet/formatters/html_template/data/images/social-icons/picasa.png +0 -0
  169. data/lib/table_beet/formatters/html_template/data/images/social-icons/picasa.svg +48 -0
  170. data/lib/table_beet/formatters/html_template/data/images/social-icons/pinterest-m.png +0 -0
  171. data/lib/table_beet/formatters/html_template/data/images/social-icons/pinterest-s.png +0 -0
  172. data/lib/table_beet/formatters/html_template/data/images/social-icons/pinterest.png +0 -0
  173. data/lib/table_beet/formatters/html_template/data/images/social-icons/pinterest.svg +42 -0
  174. data/lib/table_beet/formatters/html_template/data/images/social-icons/pocketapp-m.png +0 -0
  175. data/lib/table_beet/formatters/html_template/data/images/social-icons/pocketapp-s.png +0 -0
  176. data/lib/table_beet/formatters/html_template/data/images/social-icons/pocketapp.png +0 -0
  177. data/lib/table_beet/formatters/html_template/data/images/social-icons/pocketapp.svg +38 -0
  178. data/lib/table_beet/formatters/html_template/data/images/social-icons/quora-m.png +0 -0
  179. data/lib/table_beet/formatters/html_template/data/images/social-icons/quora-s.png +0 -0
  180. data/lib/table_beet/formatters/html_template/data/images/social-icons/quora.png +0 -0
  181. data/lib/table_beet/formatters/html_template/data/images/social-icons/quora.svg +20 -0
  182. data/lib/table_beet/formatters/html_template/data/images/social-icons/rdio-m.png +0 -0
  183. data/lib/table_beet/formatters/html_template/data/images/social-icons/rdio-s.png +0 -0
  184. data/lib/table_beet/formatters/html_template/data/images/social-icons/rdio.png +0 -0
  185. data/lib/table_beet/formatters/html_template/data/images/social-icons/rdio.svg +18 -0
  186. data/lib/table_beet/formatters/html_template/data/images/social-icons/renren-m.png +0 -0
  187. data/lib/table_beet/formatters/html_template/data/images/social-icons/renren-s.png +0 -0
  188. data/lib/table_beet/formatters/html_template/data/images/social-icons/renren.png +0 -0
  189. data/lib/table_beet/formatters/html_template/data/images/social-icons/renren.svg +79 -0
  190. data/lib/table_beet/formatters/html_template/data/images/social-icons/rss-m.png +0 -0
  191. data/lib/table_beet/formatters/html_template/data/images/social-icons/rss-s.png +0 -0
  192. data/lib/table_beet/formatters/html_template/data/images/social-icons/rss.png +0 -0
  193. data/lib/table_beet/formatters/html_template/data/images/social-icons/rss.svg +18 -0
  194. data/lib/table_beet/formatters/html_template/data/images/social-icons/skitch-m.png +0 -0
  195. data/lib/table_beet/formatters/html_template/data/images/social-icons/skitch-s.png +0 -0
  196. data/lib/table_beet/formatters/html_template/data/images/social-icons/skitch.png +0 -0
  197. data/lib/table_beet/formatters/html_template/data/images/social-icons/skitch.svg +24 -0
  198. data/lib/table_beet/formatters/html_template/data/images/social-icons/skype-m.png +0 -0
  199. data/lib/table_beet/formatters/html_template/data/images/social-icons/skype-s.png +0 -0
  200. data/lib/table_beet/formatters/html_template/data/images/social-icons/skype.png +0 -0
  201. data/lib/table_beet/formatters/html_template/data/images/social-icons/skype.svg +25 -0
  202. data/lib/table_beet/formatters/html_template/data/images/social-icons/soundcloud-m.png +0 -0
  203. data/lib/table_beet/formatters/html_template/data/images/social-icons/soundcloud-s.png +0 -0
  204. data/lib/table_beet/formatters/html_template/data/images/social-icons/soundcloud.png +0 -0
  205. data/lib/table_beet/formatters/html_template/data/images/social-icons/soundcloud.svg +60 -0
  206. data/lib/table_beet/formatters/html_template/data/images/social-icons/spotify-m.png +0 -0
  207. data/lib/table_beet/formatters/html_template/data/images/social-icons/spotify-s.png +0 -0
  208. data/lib/table_beet/formatters/html_template/data/images/social-icons/spotify.png +0 -0
  209. data/lib/table_beet/formatters/html_template/data/images/social-icons/spotify.svg +38 -0
  210. data/lib/table_beet/formatters/html_template/data/images/social-icons/stackoverflow-m.png +0 -0
  211. data/lib/table_beet/formatters/html_template/data/images/social-icons/stackoverflow-s.png +0 -0
  212. data/lib/table_beet/formatters/html_template/data/images/social-icons/stackoverflow.png +0 -0
  213. data/lib/table_beet/formatters/html_template/data/images/social-icons/stackoverflow.svg +32 -0
  214. data/lib/table_beet/formatters/html_template/data/images/social-icons/stumbleupon-m.png +0 -0
  215. data/lib/table_beet/formatters/html_template/data/images/social-icons/stumbleupon-s.png +0 -0
  216. data/lib/table_beet/formatters/html_template/data/images/social-icons/stumbleupon.png +0 -0
  217. data/lib/table_beet/formatters/html_template/data/images/social-icons/stumbleupon.svg +22 -0
  218. data/lib/table_beet/formatters/html_template/data/images/social-icons/svn-m.png +0 -0
  219. data/lib/table_beet/formatters/html_template/data/images/social-icons/svn-s.png +0 -0
  220. data/lib/table_beet/formatters/html_template/data/images/social-icons/svn.png +0 -0
  221. data/lib/table_beet/formatters/html_template/data/images/social-icons/svn.svg +25 -0
  222. data/lib/table_beet/formatters/html_template/data/images/social-icons/tent-m.png +0 -0
  223. data/lib/table_beet/formatters/html_template/data/images/social-icons/tent-s.png +0 -0
  224. data/lib/table_beet/formatters/html_template/data/images/social-icons/tent.png +0 -0
  225. data/lib/table_beet/formatters/html_template/data/images/social-icons/tent.svg +16 -0
  226. data/lib/table_beet/formatters/html_template/data/images/social-icons/tripadvisor-m.png +0 -0
  227. data/lib/table_beet/formatters/html_template/data/images/social-icons/tripadvisor-s.png +0 -0
  228. data/lib/table_beet/formatters/html_template/data/images/social-icons/tripadvisor.png +0 -0
  229. data/lib/table_beet/formatters/html_template/data/images/social-icons/tripadvisor.svg +30 -0
  230. data/lib/table_beet/formatters/html_template/data/images/social-icons/tumblr-m.png +0 -0
  231. data/lib/table_beet/formatters/html_template/data/images/social-icons/tumblr-s.png +0 -0
  232. data/lib/table_beet/formatters/html_template/data/images/social-icons/tumblr.png +0 -0
  233. data/lib/table_beet/formatters/html_template/data/images/social-icons/tumblr.svg +16 -0
  234. data/lib/table_beet/formatters/html_template/data/images/social-icons/twitter-m.png +0 -0
  235. data/lib/table_beet/formatters/html_template/data/images/social-icons/twitter-s.png +0 -0
  236. data/lib/table_beet/formatters/html_template/data/images/social-icons/twitter.png +0 -0
  237. data/lib/table_beet/formatters/html_template/data/images/social-icons/twitter.svg +24 -0
  238. data/lib/table_beet/formatters/html_template/data/images/social-icons/vimeo-m.png +0 -0
  239. data/lib/table_beet/formatters/html_template/data/images/social-icons/vimeo-s.png +0 -0
  240. data/lib/table_beet/formatters/html_template/data/images/social-icons/vimeo.png +0 -0
  241. data/lib/table_beet/formatters/html_template/data/images/social-icons/vimeo.svg +20 -0
  242. data/lib/table_beet/formatters/html_template/data/images/social-icons/weibo-m.png +0 -0
  243. data/lib/table_beet/formatters/html_template/data/images/social-icons/weibo-s.png +0 -0
  244. data/lib/table_beet/formatters/html_template/data/images/social-icons/weibo.png +0 -0
  245. data/lib/table_beet/formatters/html_template/data/images/social-icons/weibo.svg +54 -0
  246. data/lib/table_beet/formatters/html_template/data/images/social-icons/windows-m.png +0 -0
  247. data/lib/table_beet/formatters/html_template/data/images/social-icons/windows-s.png +0 -0
  248. data/lib/table_beet/formatters/html_template/data/images/social-icons/windows.png +0 -0
  249. data/lib/table_beet/formatters/html_template/data/images/social-icons/windows.svg +26 -0
  250. data/lib/table_beet/formatters/html_template/data/images/social-icons/wordpress-m.png +0 -0
  251. data/lib/table_beet/formatters/html_template/data/images/social-icons/wordpress-s.png +0 -0
  252. data/lib/table_beet/formatters/html_template/data/images/social-icons/wordpress.png +0 -0
  253. data/lib/table_beet/formatters/html_template/data/images/social-icons/wordpress.svg +50 -0
  254. data/lib/table_beet/formatters/html_template/data/images/social-icons/xing-m.png +0 -0
  255. data/lib/table_beet/formatters/html_template/data/images/social-icons/xing-s.png +0 -0
  256. data/lib/table_beet/formatters/html_template/data/images/social-icons/xing.png +0 -0
  257. data/lib/table_beet/formatters/html_template/data/images/social-icons/xing.svg +16 -0
  258. data/lib/table_beet/formatters/html_template/data/images/social-icons/yelp-m.png +0 -0
  259. data/lib/table_beet/formatters/html_template/data/images/social-icons/yelp-s.png +0 -0
  260. data/lib/table_beet/formatters/html_template/data/images/social-icons/yelp.png +0 -0
  261. data/lib/table_beet/formatters/html_template/data/images/social-icons/yelp.svg +54 -0
  262. data/lib/table_beet/formatters/html_template/data/images/social-icons/youtube-m.png +0 -0
  263. data/lib/table_beet/formatters/html_template/data/images/social-icons/youtube-s.png +0 -0
  264. data/lib/table_beet/formatters/html_template/data/images/social-icons/youtube.png +0 -0
  265. data/lib/table_beet/formatters/html_template/data/images/social-icons/youtube.svg +106 -0
  266. data/lib/table_beet/formatters/html_template/data/images/social-icons/youversion-m.png +0 -0
  267. data/lib/table_beet/formatters/html_template/data/images/social-icons/youversion-s.png +0 -0
  268. data/lib/table_beet/formatters/html_template/data/images/social-icons/youversion.png +0 -0
  269. data/lib/table_beet/formatters/html_template/data/images/social-icons/youversion.svg +54 -0
  270. data/lib/table_beet/formatters/html_template/data/images/social-icons/zerply-m.png +0 -0
  271. data/lib/table_beet/formatters/html_template/data/images/social-icons/zerply-s.png +0 -0
  272. data/lib/table_beet/formatters/html_template/data/images/social-icons/zerply.png +0 -0
  273. data/lib/table_beet/formatters/html_template/data/images/social-icons/zerply.svg +20 -0
  274. data/lib/table_beet/formatters/html_template/data/js/coffee/groundwork.coffee +207 -0
  275. data/lib/table_beet/formatters/html_template/data/js/groundwork.js +847 -0
  276. data/lib/table_beet/formatters/html_template/data/js/libs/boxsizing.htc +501 -0
  277. data/lib/table_beet/formatters/html_template/data/js/libs/html5shiv.js +299 -0
  278. data/lib/table_beet/formatters/html_template/data/js/libs/html5shiv.min.js +8 -0
  279. data/lib/table_beet/formatters/html_template/data/js/libs/jquery-1.8.2.min.js +2 -0
  280. data/lib/table_beet/formatters/html_template/data/js/libs/modernizr-2.6.2.min.js +4 -0
  281. data/lib/table_beet/formatters/html_template/data/js/libs/placeholder_polyfill.jquery.js +212 -0
  282. data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.modals.coffee +162 -0
  283. data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.popover.coffee +198 -0
  284. data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.popover.js +10 -0
  285. data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.responsiveTables.coffee +56 -0
  286. data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.responsiveTables.js +10 -0
  287. data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.responsiveText.coffee +32 -0
  288. data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.responsiveText.js +10 -0
  289. data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.tooltip.coffee +121 -0
  290. data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.tooltip.js +10 -0
  291. data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.modals.js +185 -0
  292. data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.orbit-1.4.0.js +919 -0
  293. data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.popover.js +206 -0
  294. data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.responsiveTables.js +63 -0
  295. data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.responsiveText.js +45 -0
  296. data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.tooltip.js +118 -0
  297. data/lib/table_beet/formatters/html_template/data/scss/_buttons.scss +178 -0
  298. data/lib/table_beet/formatters/html_template/data/scss/_callouts.scss +51 -0
  299. data/lib/table_beet/formatters/html_template/data/scss/_font-awesome.scss +534 -0
  300. data/lib/table_beet/formatters/html_template/data/scss/_forms.scss +164 -0
  301. data/lib/table_beet/formatters/html_template/data/scss/_global.scss +31 -0
  302. data/lib/table_beet/formatters/html_template/data/scss/_grid.scss +384 -0
  303. data/lib/table_beet/formatters/html_template/data/scss/_layout.scss +78 -0
  304. data/lib/table_beet/formatters/html_template/data/scss/_messages.scss +59 -0
  305. data/lib/table_beet/formatters/html_template/data/scss/_mixins.scss +197 -0
  306. data/lib/table_beet/formatters/html_template/data/scss/_mobile-reset.scss +11 -0
  307. data/lib/table_beet/formatters/html_template/data/scss/_modals.scss +101 -0
  308. data/lib/table_beet/formatters/html_template/data/scss/_navigation.scss +284 -0
  309. data/lib/table_beet/formatters/html_template/data/scss/_orbit.scss +239 -0
  310. data/lib/table_beet/formatters/html_template/data/scss/_popovers.scss +10 -0
  311. data/lib/table_beet/formatters/html_template/data/scss/_reset.scss +77 -0
  312. data/lib/table_beet/formatters/html_template/data/scss/_responsive.scss +293 -0
  313. data/lib/table_beet/formatters/html_template/data/scss/_social-icons.scss +92 -0
  314. data/lib/table_beet/formatters/html_template/data/scss/_tables.scss +80 -0
  315. data/lib/table_beet/formatters/html_template/data/scss/_tabs.scss +137 -0
  316. data/lib/table_beet/formatters/html_template/data/scss/_tooltips.scss +161 -0
  317. data/lib/table_beet/formatters/html_template/data/scss/_typography.scss +263 -0
  318. data/lib/table_beet/formatters/html_template/data/scss/_ui-elements.scss +10 -0
  319. data/lib/table_beet/formatters/html_template/data/scss/_variables.scss +134 -0
  320. data/lib/table_beet/formatters/html_template/data/scss/_webfonts.scss +19 -0
  321. data/lib/table_beet/formatters/html_template/data/scss/groundwork-ie.scss +64 -0
  322. data/lib/table_beet/formatters/html_template/data/scss/groundwork.scss +37 -0
  323. data/lib/table_beet/formatters/html_template/data/scss/no-svg.scss +69 -0
  324. data/lib/table_beet/formatters/html_template/index.erb +118 -0
  325. data/lib/table_beet/formatters/text_formatter.rb +17 -0
  326. data/lib/table_beet/formatters.rb +3 -0
  327. data/lib/table_beet/loader.rb +37 -0
  328. data/lib/table_beet/reporter.rb +30 -0
  329. data/lib/table_beet/runner.rb +23 -0
  330. data/lib/table_beet/step.rb +26 -0
  331. data/lib/table_beet/version.rb +3 -0
  332. data/lib/table_beet/world.rb +38 -0
  333. data/lib/table_beet.rb +10 -0
  334. data/table_beet.gemspec +24 -0
  335. metadata +450 -0
@@ -0,0 +1,32 @@
1
+ ###
2
+ *
3
+ * jQuery ResponsiveText by Gary Hepting - https://github.com/ghepting/responsiveText
4
+ *
5
+ * Open source under the BSD License.
6
+ *
7
+ * Copyright © 2013 Gary Hepting. All rights reserved.
8
+ *
9
+ ###
10
+
11
+ (($) ->
12
+ elems = []
13
+ $.fn.responsiveText = (options) ->
14
+ settings =
15
+ compressor: options.compressor or 10
16
+ minSize: options.minSize or Number.NEGATIVE_INFINITY
17
+ maxSize: options.maxSize or Number.POSITIVE_INFINITY
18
+
19
+ @each ->
20
+ elem = $(this)
21
+ elem.attr('data-compression',settings.compressor)
22
+ elem.attr('data-min',settings.minSize)
23
+ elem.attr('data-max',settings.maxSize)
24
+ elem.css "font-size", Math.floor(Math.max(Math.min(elem.width() / (settings.compressor), parseFloat(settings.maxSize)), parseFloat(settings.minSize)))
25
+ elems.push elem
26
+
27
+ $(window).on "resize", ->
28
+ $(elems).each ->
29
+ elem = $(this)
30
+ elem.css "font-size", Math.floor(Math.max(Math.min(elem.width() / (elem.attr('data-compression')), parseFloat(elem.attr('data-max'))), parseFloat(elem.attr('data-min'))))
31
+
32
+ ) jQuery
@@ -0,0 +1,10 @@
1
+ // Generated by CoffeeScript 1.4.0
2
+ /*
3
+ *
4
+ * jQuery ResponsiveText by Gary Hepting - https://github.com/ghepting/responsiveText
5
+ *
6
+ * Open source under the BSD License.
7
+ *
8
+ * Copyright © 2013 Gary Hepting. All rights reserved.
9
+ *
10
+ */(function(){(function(e){var t;t=[];e.fn.responsiveText=function(n){var r;r={compressor:n.compressor||10,minSize:n.minSize||Number.NEGATIVE_INFINITY,maxSize:n.maxSize||Number.POSITIVE_INFINITY};return this.each(function(){var n;n=e(this);n.attr("data-compression",r.compressor);n.attr("data-min",r.minSize);n.attr("data-max",r.maxSize);n.css("font-size",Math.floor(Math.max(Math.min(n.width()/r.compressor,parseFloat(r.maxSize)),parseFloat(r.minSize))));return t.push(n)})};return e(window).on("resize",function(){return e(t).each(function(){var t;t=e(this);return t.css("font-size",Math.floor(Math.max(Math.min(t.width()/t.attr("data-compression"),parseFloat(t.attr("data-max"))),parseFloat(t.attr("data-min")))))})})})(jQuery)}).call(this);
@@ -0,0 +1,121 @@
1
+ ###
2
+ *
3
+ * jQuery Tooltips by Gary Hepting - https://github.com/ghepting/jquery-tooltips
4
+ *
5
+ * Open source under the BSD License.
6
+ *
7
+ * Copyright © 2013 Gary Hepting. All rights reserved.
8
+ *
9
+ ###
10
+
11
+ (($) ->
12
+ $.fn.tooltip = (options) ->
13
+ defaults =
14
+ topOffset: 0
15
+ delay: 100 # delay before showing (ms)
16
+ speed: 100 # animation speed (ms)
17
+
18
+ options = $.extend(defaults, options)
19
+
20
+ tooltip = $('#tooltip') # tooltip element
21
+ delayShow = '' # delayed open
22
+ trigger = '' # store trigger
23
+
24
+ getElementPosition = (el) -> # get element position
25
+ offset = el.offset()
26
+ win = $(window)
27
+ top: top = offset.top - win.scrollTop()
28
+ left: left = offset.left - win.scrollLeft()
29
+ bottom: bottom = win.height() - top - el.outerHeight()
30
+ right: right = win.width() - left - el.outerWidth()
31
+
32
+ setPosition = (trigger) ->
33
+ # get trigger element coordinates
34
+ coords = getElementPosition(trigger)
35
+ # tooltip dimensions
36
+ if tooltip.outerWidth() > ($(window).width() - 20)
37
+ tooltip.css('width',$(window).width() - 20)
38
+ attrs = {}
39
+ # adjust max width of tooltip
40
+ tooltip.css('max-width',
41
+ Math.min(
42
+ ($(window).width()-parseInt($('body').css('padding-left'))-parseInt($('body').css('padding-right'))),
43
+ parseInt(tooltip.css('max-width'))
44
+ )
45
+ )
46
+ width = tooltip.outerWidth()
47
+ height = tooltip.outerHeight()
48
+ # horizontal positioning
49
+ if coords.left <= coords.right # default position
50
+ tooltip.addClass('left')
51
+ attrs.left = coords.left
52
+ else # pin from right side
53
+ tooltip.addClass('right')
54
+ attrs.right = coords.right
55
+ # veritcal positioning
56
+ if (coords.top-options.topOffset) > (height+20) # top positioned tooltip
57
+ tooltip.addClass('top')
58
+ attrs.top = (trigger.offset().top - height) - 20
59
+ else # bottom positioned tooltip
60
+ tooltip.addClass('bottom')
61
+ attrs.top = trigger.offset().top + trigger.outerHeight() - 4
62
+ tooltip.css attrs
63
+
64
+ closetooltip = ->
65
+ tooltip.stop().remove() # remove tooltip
66
+ $('[role=tooltip]').removeClass('on')
67
+
68
+ showtooltip = (trigger) ->
69
+ closetooltip() # close tooltip
70
+ clearTimeout(delayShow) # cancel previous timeout
71
+ delayShow = setTimeout ->
72
+ if $('#tooltip').length != 1
73
+ # destroy any lingering tooltips
74
+ $('#tooltip').remove()
75
+ # create tooltip DOM element
76
+ tooltip = $("<div id=\"tooltip\"></div>")
77
+ # add tooltip element to DOM
78
+ tooltip.appendTo("body")
79
+ # set tooltip text
80
+ tooltip.css("opacity", 0).text(trigger.attr('data-title'))
81
+ # initialize tooltip
82
+ setPosition(trigger)
83
+ trigger.addClass('on')
84
+ tooltip.animate
85
+ top: "+=10"
86
+ opacity: 1
87
+ , options.speed
88
+ , options.delay
89
+
90
+ @each ->
91
+ $this = $(this)
92
+ $this.attr('role','tooltip').attr('data-title',$this.attr('title'))
93
+ $this.removeAttr "title" # remove title attribute (disable browser tooltips)
94
+
95
+
96
+ # focus behavior
97
+ $('body').on(
98
+ 'focus', '[role=tooltip]', ->
99
+ showtooltip($(this))
100
+ ).on(
101
+ 'blur', '[role=tooltip]', ->
102
+ clearTimeout(delayShow)
103
+ closetooltip()
104
+ ).on(
105
+ 'mouseenter', '[role=tooltip]:not(input,select,textarea)', ->
106
+ showtooltip($(this))
107
+ ).on(
108
+ 'mouseleave', '[role=tooltip]:not(input,select,textarea)', ->
109
+ clearTimeout(delayShow)
110
+ closetooltip()
111
+ )
112
+
113
+ $(window).on
114
+ scroll: ->
115
+ trigger = $('[role=tooltip].on')
116
+ if trigger.length
117
+ setPosition(trigger)
118
+ $('#tooltip').css
119
+ top: "+=10"
120
+
121
+ ) jQuery
@@ -0,0 +1,10 @@
1
+ // Generated by CoffeeScript 1.4.0
2
+ /*
3
+ *
4
+ * jQuery Tooltips by Gary Hepting - https://github.com/ghepting/jquery-tooltips
5
+ *
6
+ * Open source under the BSD License.
7
+ *
8
+ * Copyright © 2013 Gary Hepting. All rights reserved.
9
+ *
10
+ */(function(){(function(e){return e.fn.tooltip=function(t){var n,r,i,s,o,u,a,f;r={topOffset:0,delay:100,speed:100};t=e.extend(r,t);a=e("#tooltip");i="";f="";s=function(t){var n,r,i,s,o,u;i=t.offset();u=e(window);return{top:o=i.top-u.scrollTop(),left:r=i.left-u.scrollLeft(),bottom:n=u.height()-o-t.outerHeight(),right:s=u.width()-r-t.outerWidth()}};o=function(n){var r,i,o,u;i=s(n);a.outerWidth()>e(window).width()-20&&a.css("width",e(window).width()-20);r={};a.css("max-width",Math.min(e(window).width()-parseInt(e("body").css("padding-left"))-parseInt(e("body").css("padding-right")),parseInt(a.css("max-width"))));u=a.outerWidth();o=a.outerHeight();if(i.left<=i.right){a.addClass("left");r.left=i.left}else{a.addClass("right");r.right=i.right}if(i.top-t.topOffset>o+20){a.addClass("top");r.top=n.offset().top-o-20}else{a.addClass("bottom");r.top=n.offset().top+n.outerHeight()-4}return a.css(r)};n=function(){a.stop().remove();return e("[role=tooltip]").removeClass("on")};u=function(r){n();clearTimeout(i);return i=setTimeout(function(){if(e("#tooltip").length!==1){e("#tooltip").remove();a=e('<div id="tooltip"></div>');a.appendTo("body")}a.css("opacity",0).text(r.attr("data-title"));o(r);r.addClass("on");return a.animate({top:"+=10",opacity:1},t.speed)},t.delay)};this.each(function(){var t;t=e(this);t.attr("role","tooltip").attr("data-title",t.attr("title"));return t.removeAttr("title")});e("body").on("focus","[role=tooltip]",function(){return u(e(this))}).on("blur","[role=tooltip]",function(){clearTimeout(i);return n()}).on("mouseenter","[role=tooltip]:not(input,select,textarea)",function(){return u(e(this))}).on("mouseleave","[role=tooltip]:not(input,select,textarea)",function(){clearTimeout(i);return n()});return e(window).on({scroll:function(){f=e("[role=tooltip].on");if(f.length){o(f);return e("#tooltip").css({top:"+=10"})}}})}})(jQuery)}).call(this);
@@ -0,0 +1,185 @@
1
+ // Generated by CoffeeScript 1.4.0
2
+
3
+ /*
4
+ *
5
+ * jQuery Modals by Gary Hepting
6
+ * https://github.com/ghepting/modal
7
+ *
8
+ * Based on Avgrund by Hakim El Hattab <3
9
+ *
10
+ */
11
+
12
+
13
+ (function() {
14
+
15
+ (function($) {
16
+ var elems, modals;
17
+ if ($('div#iframeModal').length < 1) {
18
+ $('body').append('<div class="iframe modal" id="iframeModal"><iframe marginheight="0" marginwidth="0" frameborder="0"></iframe></div>');
19
+ $('div#iframeModal').prepend('<i class="close icon-remove"></i>').prepend('<i class="fullscreen icon-resize-full"></i>');
20
+ }
21
+ $('a.modal').each(function() {
22
+ $(this).attr('data-url', $(this).attr('href'));
23
+ return $(this).attr('href', '#iframeModal');
24
+ });
25
+ $('a.modal').on("click", function(e) {
26
+ $('div#iframeModal iframe').replaceWith('<iframe marginheight="0" marginwidth="0" frameborder="0" width="100%" height="100%" src="' + $(this).attr('data-url') + '"></iframe>');
27
+ e.preventDefault();
28
+ return false;
29
+ });
30
+ elems = [];
31
+ $.fn.modal = function() {
32
+ this.each(function() {
33
+ $(this).not('#iframeModal').wrapInner('<div class="modal-content"></div>');
34
+ $(this).prepend('<i class="close icon-remove"></i>').prepend('<i class="fullscreen icon-resize-full"></i>').appendTo('body');
35
+ return $('[href=#' + $(this).attr('id') + ']').on("click", function(e) {
36
+ modals.open($(this).attr('href'));
37
+ e.preventDefault();
38
+ return false;
39
+ });
40
+ });
41
+ $('div.modal .close').on("click", function() {
42
+ return modals.close();
43
+ });
44
+ return $('div.modal .fullscreen').on("click", function() {
45
+ return modals.fullscreen($(this).parent('div.modal'));
46
+ });
47
+ };
48
+ modals = (function() {
49
+ var close, fullscreen, open;
50
+ $('html').addClass('modal-ready');
51
+ if ($("#overlay").length < 1) {
52
+ $('body').append('<div id="overlay"></div>');
53
+ }
54
+ $('#overlay, div.modal .close').bind("click", function(e) {
55
+ return close();
56
+ });
57
+ open = function(elem) {
58
+ $(window).bind("keydown", function(e) {
59
+ var keyCode;
60
+ keyCode = (e.which ? e.which : e.keyCode);
61
+ if (keyCode === 27) {
62
+ return close();
63
+ }
64
+ });
65
+ $(elem).addClass("active");
66
+ if (!$(elem).hasClass('iframe')) {
67
+ $(elem).css({
68
+ width: 'auto',
69
+ height: 'auto'
70
+ });
71
+ $(elem).css({
72
+ height: $(elem).outerHeight()
73
+ });
74
+ }
75
+ $(elem).css({
76
+ top: '50%',
77
+ left: '50%',
78
+ 'margin-top': ($(elem).outerHeight() / -2) + 'px',
79
+ 'margin-left': ($(elem).outerWidth() / -2) + 'px'
80
+ });
81
+ setTimeout(function() {
82
+ return $('html').addClass("modal-active");
83
+ }, 0);
84
+ setTimeout(function() {
85
+ return $('html').removeClass('modal-ready');
86
+ }, 400);
87
+ };
88
+ close = function() {
89
+ var modal;
90
+ modal = $('div.modal.active');
91
+ $(window).unbind("keydown");
92
+ $('html').removeClass("modal-active").addClass('modal-ready');
93
+ if (modal.hasClass('iframe')) {
94
+ $('div#iframeModal iframe').replaceWith('<iframe marginheight="0" marginwidth="0" frameborder="0"></iframe>');
95
+ modal.css({
96
+ width: '80%',
97
+ height: '80%'
98
+ });
99
+ } else {
100
+ modal.css({
101
+ width: 'auto',
102
+ height: 'auto'
103
+ });
104
+ }
105
+ modal.css({
106
+ top: '10%',
107
+ left: '10%',
108
+ 'max-width': '80%',
109
+ 'max-height': '80%',
110
+ 'margin-top': 0,
111
+ 'margin-left': 0
112
+ });
113
+ modal.removeClass("active").removeClass("fullscreen");
114
+ $('i.fullscreen', modal).removeClass('icon-resize-small').addClass('icon-resize-full');
115
+ };
116
+ fullscreen = function(elem) {
117
+ if ($('div.modal.active').hasClass('fullscreen')) {
118
+ $('div.modal i.fullscreen').removeClass('icon-resize-small').addClass('icon-resize-full');
119
+ if ($('div.modal.active').hasClass('iframe')) {
120
+ $('div.modal.active').css({
121
+ width: '80%',
122
+ height: '80%'
123
+ });
124
+ } else {
125
+ $('div.modal.active').css({
126
+ width: 'auto',
127
+ height: 'auto'
128
+ });
129
+ $('div.modal.active').css({
130
+ height: $('div.modal.active').outerHeight()
131
+ });
132
+ }
133
+ $('div.modal.active').removeClass('fullscreen').css({
134
+ 'max-width': '80%',
135
+ 'max-height': '80%'
136
+ });
137
+ $('div.modal.active').delay(100).css({
138
+ top: '50%',
139
+ left: '50%',
140
+ 'margin-top': ($('div.modal.active').outerHeight() / -2) + 'px',
141
+ 'margin-left': ($('div.modal.active').outerWidth() / -2) + 'px'
142
+ });
143
+ } else {
144
+ $('div.modal i.fullscreen').addClass('icon-resize-small').removeClass('icon-resize-full');
145
+ $('div.modal.active').addClass('fullscreen').css({
146
+ top: 0,
147
+ left: 0,
148
+ 'margin-top': 0,
149
+ 'margin-left': 0,
150
+ width: '100%',
151
+ height: '100%',
152
+ 'max-width': '100%',
153
+ 'max-height': '100%'
154
+ });
155
+ }
156
+ };
157
+ return {
158
+ open: open,
159
+ close: close,
160
+ fullscreen: fullscreen
161
+ };
162
+ })();
163
+ return $(window).resize(function() {
164
+ return $('div.modal.active').each(function() {
165
+ if (!$(this).hasClass('fullscreen')) {
166
+ $(this).removeClass('active').css({
167
+ top: '50%',
168
+ left: '50%',
169
+ 'margin-top': ($(this).outerHeight() / -2) + 'px',
170
+ 'margin-left': ($(this).outerWidth() / -2) + 'px'
171
+ }).addClass('active');
172
+ if (!$(this).hasClass('iframe')) {
173
+ $(this).css({
174
+ height: 'auto'
175
+ });
176
+ return $(this).css({
177
+ height: $(this).outerHeight()
178
+ });
179
+ }
180
+ }
181
+ });
182
+ });
183
+ })(jQuery);
184
+
185
+ }).call(this);