jekyll-theme-pirati 7.6.0 → 8.0.0.pre.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (593) hide show
  1. checksums.yaml +4 -4
  2. data/_data/campaigns.yml +9 -0
  3. data/_data/menu.yml +14 -14
  4. data/_includes/404.html +2 -18
  5. data/_includes/article-infobox.html +5 -1
  6. data/_includes/articles/author.html +4 -4
  7. data/_includes/articles/horizontal-article.html +5 -1
  8. data/_includes/articles/list-responsive.html +4 -8
  9. data/_includes/articles/pagination.html +21 -22
  10. data/_includes/articles/tag-filtered-news.html +16 -0
  11. data/_includes/articles/vertical-article.html +45 -33
  12. data/_includes/avatar.html +9 -0
  13. data/_includes/buttons/basic.html +3 -0
  14. data/_includes/buttons/icon.html +8 -0
  15. data/_includes/buttons/super.html +4 -0
  16. data/_includes/calendar.html +21 -0
  17. data/_includes/candidate-badge.html +48 -16
  18. data/_includes/contact-line.html +4 -0
  19. data/_includes/contacts/residence.html +23 -37
  20. data/_includes/contacts/summary-table.html +64 -58
  21. data/_includes/countdown.html +13 -0
  22. data/_includes/footer.html +88 -124
  23. data/_includes/head.html +13 -7
  24. data/_includes/header.html +138 -65
  25. data/_includes/headline-media.html +15 -16
  26. data/_includes/hero/advanced.html +65 -0
  27. data/_includes/hero/simple.html +13 -0
  28. data/_includes/homepage/banner.html +10 -15
  29. data/_includes/homepage/calendar.html +5 -0
  30. data/_includes/homepage/countdown.html +3 -0
  31. data/_includes/homepage/news.html +9 -0
  32. data/_includes/homepage/social.html +10 -0
  33. data/_includes/js/main.html +10 -18
  34. data/_includes/page-header.html +8 -15
  35. data/_includes/people/list-group.html +2 -8
  36. data/_includes/people/list-responsive.html +2 -5
  37. data/_includes/people/profile-badge.html +47 -35
  38. data/_includes/regions/crossroad.html +51 -57
  39. data/_includes/regions/crossroad2.html +5 -0
  40. data/_includes/regions/item.html +26 -0
  41. data/_includes/right-bar/bar_board.html +32 -0
  42. data/_includes/right-bar/bar_garant.html +2 -13
  43. data/_includes/right-bar/bar_page_contact.html +12 -0
  44. data/_includes/right-bar/bar_people.html +14 -19
  45. data/_includes/right-bar/bar_person_articles.html +6 -0
  46. data/_includes/right-bar/bar_profile.html +73 -0
  47. data/_includes/right-bar/bar_program.html +17 -22
  48. data/_includes/right-bar/bar_tag_articles.html +10 -0
  49. data/_includes/right-bar/rbar.html +50 -41
  50. data/_includes/right-bar/rbar_articles.html +21 -0
  51. data/_includes/right-bar/rbar_profiles.html +18 -7
  52. data/_includes/sharebox.html +21 -0
  53. data/_includes/social-icon-group.html +23 -0
  54. data/_layouts/blank-article.html +14 -14
  55. data/_layouts/blank.html +1 -5
  56. data/_layouts/communal-elections.html +167 -82
  57. data/_layouts/contacts.html +62 -85
  58. data/_layouts/default.html +1 -12
  59. data/_layouts/members.html +24 -24
  60. data/_layouts/person.html +35 -25
  61. data/_layouts/pirate-center.html +87 -0
  62. data/_layouts/post.html +56 -95
  63. data/_layouts/program-post.html +5 -1
  64. data/_layouts/regions.html +5 -6
  65. data/_layouts/regions2.html +9 -0
  66. data/assets/img/people/ppp.jpg +0 -0
  67. data/assets/img/people/ppp.png +0 -0
  68. data/assets/img/people/unknown-pirate.svg +48 -3
  69. metadata +31 -528
  70. data/_includes/homepage/news-with-rbar.html +0 -22
  71. data/_includes/js/webpack.html +0 -13
  72. data/_includes/menu.html +0 -43
  73. data/_includes/right-bar/bar_foto.html +0 -22
  74. data/_includes/right-bar/bar_person_contact.html +0 -50
  75. data/_includes/submenu.html +0 -28
  76. data/_sass/foundation-sites/LICENSE +0 -22
  77. data/_sass/foundation-sites/README.md +0 -44
  78. data/_sass/foundation-sites/assets/foundation-flex.scss +0 -3
  79. data/_sass/foundation-sites/assets/foundation-rtl.scss +0 -5
  80. data/_sass/foundation-sites/assets/foundation.scss +0 -3
  81. data/_sass/foundation-sites/code-of-conduct.md +0 -43
  82. data/_sass/foundation-sites/customizer/complete.json +0 -46
  83. data/_sass/foundation-sites/customizer/config.yml +0 -218
  84. data/_sass/foundation-sites/customizer/essential.json +0 -11
  85. data/_sass/foundation-sites/customizer/index.html +0 -169
  86. data/_sass/foundation-sites/dist/foundation-flex.css +0 -4028
  87. data/_sass/foundation-sites/dist/foundation-flex.min.css +0 -2
  88. data/_sass/foundation-sites/dist/foundation-rtl.css +0 -3583
  89. data/_sass/foundation-sites/dist/foundation-rtl.min.css +0 -2
  90. data/_sass/foundation-sites/dist/foundation.css +0 -3578
  91. data/_sass/foundation-sites/dist/foundation.js +0 -9069
  92. data/_sass/foundation-sites/dist/foundation.min.css +0 -2
  93. data/_sass/foundation-sites/dist/foundation.min.js +0 -4
  94. data/_sass/foundation-sites/dist/plugins/foundation.abide.js +0 -600
  95. data/_sass/foundation-sites/dist/plugins/foundation.accordion.js +0 -262
  96. data/_sass/foundation-sites/dist/plugins/foundation.accordionMenu.js +0 -307
  97. data/_sass/foundation-sites/dist/plugins/foundation.core.js +0 -386
  98. data/_sass/foundation-sites/dist/plugins/foundation.drilldown.js +0 -409
  99. data/_sass/foundation-sites/dist/plugins/foundation.dropdown.js +0 -447
  100. data/_sass/foundation-sites/dist/plugins/foundation.dropdownMenu.js +0 -447
  101. data/_sass/foundation-sites/dist/plugins/foundation.equalizer.js +0 -364
  102. data/_sass/foundation-sites/dist/plugins/foundation.interchange.js +0 -227
  103. data/_sass/foundation-sites/dist/plugins/foundation.magellan.js +0 -257
  104. data/_sass/foundation-sites/dist/plugins/foundation.offcanvas.js +0 -438
  105. data/_sass/foundation-sites/dist/plugins/foundation.orbit.js +0 -484
  106. data/_sass/foundation-sites/dist/plugins/foundation.responsiveMenu.js +0 -171
  107. data/_sass/foundation-sites/dist/plugins/foundation.responsiveToggle.js +0 -142
  108. data/_sass/foundation-sites/dist/plugins/foundation.reveal.js +0 -623
  109. data/_sass/foundation-sites/dist/plugins/foundation.slider.js +0 -648
  110. data/_sass/foundation-sites/dist/plugins/foundation.sticky.js +0 -495
  111. data/_sass/foundation-sites/dist/plugins/foundation.tabs.js +0 -348
  112. data/_sass/foundation-sites/dist/plugins/foundation.toggler.js +0 -166
  113. data/_sass/foundation-sites/dist/plugins/foundation.tooltip.js +0 -468
  114. data/_sass/foundation-sites/dist/plugins/foundation.util.box.js +0 -196
  115. data/_sass/foundation-sites/dist/plugins/foundation.util.keyboard.js +0 -123
  116. data/_sass/foundation-sites/dist/plugins/foundation.util.mediaQuery.js +0 -216
  117. data/_sass/foundation-sites/dist/plugins/foundation.util.motion.js +0 -97
  118. data/_sass/foundation-sites/dist/plugins/foundation.util.nest.js +0 -69
  119. data/_sass/foundation-sites/dist/plugins/foundation.util.timerAndImageLoader.js +0 -84
  120. data/_sass/foundation-sites/dist/plugins/foundation.util.touch.js +0 -352
  121. data/_sass/foundation-sites/dist/plugins/foundation.util.triggers.js +0 -243
  122. data/_sass/foundation-sites/docslink.sh +0 -3
  123. data/_sass/foundation-sites/js/foundation.abide.js +0 -543
  124. data/_sass/foundation-sites/js/foundation.accordion.js +0 -237
  125. data/_sass/foundation-sites/js/foundation.accordionMenu.js +0 -274
  126. data/_sass/foundation-sites/js/foundation.core.js +0 -378
  127. data/_sass/foundation-sites/js/foundation.drilldown.js +0 -369
  128. data/_sass/foundation-sites/js/foundation.dropdown.js +0 -409
  129. data/_sass/foundation-sites/js/foundation.dropdownMenu.js +0 -404
  130. data/_sass/foundation-sites/js/foundation.equalizer.js +0 -306
  131. data/_sass/foundation-sites/js/foundation.interchange.js +0 -198
  132. data/_sass/foundation-sites/js/foundation.magellan.js +0 -223
  133. data/_sass/foundation-sites/js/foundation.offcanvas.js +0 -398
  134. data/_sass/foundation-sites/js/foundation.orbit.js +0 -446
  135. data/_sass/foundation-sites/js/foundation.responsiveMenu.js +0 -148
  136. data/_sass/foundation-sites/js/foundation.responsiveToggle.js +0 -119
  137. data/_sass/foundation-sites/js/foundation.reveal.js +0 -576
  138. data/_sass/foundation-sites/js/foundation.slider.js +0 -597
  139. data/_sass/foundation-sites/js/foundation.sticky.js +0 -450
  140. data/_sass/foundation-sites/js/foundation.tabs.js +0 -333
  141. data/_sass/foundation-sites/js/foundation.toggler.js +0 -144
  142. data/_sass/foundation-sites/js/foundation.tooltip.js +0 -444
  143. data/_sass/foundation-sites/js/foundation.util.box.js +0 -195
  144. data/_sass/foundation-sites/js/foundation.util.keyboard.js +0 -115
  145. data/_sass/foundation-sites/js/foundation.util.mediaQuery.js +0 -214
  146. data/_sass/foundation-sites/js/foundation.util.motion.js +0 -99
  147. data/_sass/foundation-sites/js/foundation.util.nest.js +0 -76
  148. data/_sass/foundation-sites/js/foundation.util.timerAndImageLoader.js +0 -86
  149. data/_sass/foundation-sites/js/foundation.util.touch.js +0 -352
  150. data/_sass/foundation-sites/js/foundation.util.triggers.js +0 -239
  151. data/_sass/foundation-sites/node_modules/jquery/AUTHORS.txt +0 -278
  152. data/_sass/foundation-sites/node_modules/jquery/LICENSE.txt +0 -36
  153. data/_sass/foundation-sites/node_modules/jquery/README.md +0 -65
  154. data/_sass/foundation-sites/node_modules/jquery/bower.json +0 -14
  155. data/_sass/foundation-sites/node_modules/jquery/dist/jquery.js +0 -9814
  156. data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.js +0 -4
  157. data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.map +0 -1
  158. data/_sass/foundation-sites/node_modules/jquery/external/sizzle/LICENSE.txt +0 -36
  159. data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.js +0 -2143
  160. data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.js +0 -3
  161. data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.map +0 -1
  162. data/_sass/foundation-sites/node_modules/jquery/package.json +0 -112
  163. data/_sass/foundation-sites/node_modules/jquery/src/ajax.js +0 -845
  164. data/_sass/foundation-sites/node_modules/jquery/src/ajax/jsonp.js +0 -100
  165. data/_sass/foundation-sites/node_modules/jquery/src/ajax/load.js +0 -83
  166. data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseJSON.js +0 -13
  167. data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseXML.js +0 -27
  168. data/_sass/foundation-sites/node_modules/jquery/src/ajax/script.js +0 -68
  169. data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/location.js +0 -3
  170. data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/nonce.js +0 -5
  171. data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/rquery.js +0 -3
  172. data/_sass/foundation-sites/node_modules/jquery/src/ajax/xhr.js +0 -167
  173. data/_sass/foundation-sites/node_modules/jquery/src/attributes.js +0 -11
  174. data/_sass/foundation-sites/node_modules/jquery/src/attributes/attr.js +0 -142
  175. data/_sass/foundation-sites/node_modules/jquery/src/attributes/classes.js +0 -177
  176. data/_sass/foundation-sites/node_modules/jquery/src/attributes/prop.js +0 -125
  177. data/_sass/foundation-sites/node_modules/jquery/src/attributes/support.js +0 -36
  178. data/_sass/foundation-sites/node_modules/jquery/src/attributes/val.js +0 -177
  179. data/_sass/foundation-sites/node_modules/jquery/src/callbacks.js +0 -232
  180. data/_sass/foundation-sites/node_modules/jquery/src/core.js +0 -494
  181. data/_sass/foundation-sites/node_modules/jquery/src/core/access.js +0 -65
  182. data/_sass/foundation-sites/node_modules/jquery/src/core/init.js +0 -134
  183. data/_sass/foundation-sites/node_modules/jquery/src/core/parseHTML.js +0 -41
  184. data/_sass/foundation-sites/node_modules/jquery/src/core/ready.js +0 -103
  185. data/_sass/foundation-sites/node_modules/jquery/src/core/var/rsingleTag.js +0 -5
  186. data/_sass/foundation-sites/node_modules/jquery/src/css.js +0 -502
  187. data/_sass/foundation-sites/node_modules/jquery/src/css/addGetHookIf.js +0 -24
  188. data/_sass/foundation-sites/node_modules/jquery/src/css/adjustCSS.js +0 -65
  189. data/_sass/foundation-sites/node_modules/jquery/src/css/curCSS.js +0 -60
  190. data/_sass/foundation-sites/node_modules/jquery/src/css/defaultDisplay.js +0 -72
  191. data/_sass/foundation-sites/node_modules/jquery/src/css/hiddenVisibleSelectors.js +0 -18
  192. data/_sass/foundation-sites/node_modules/jquery/src/css/showHide.js +0 -48
  193. data/_sass/foundation-sites/node_modules/jquery/src/css/support.js +0 -121
  194. data/_sass/foundation-sites/node_modules/jquery/src/css/var/cssExpand.js +0 -3
  195. data/_sass/foundation-sites/node_modules/jquery/src/css/var/getStyles.js +0 -15
  196. data/_sass/foundation-sites/node_modules/jquery/src/css/var/isHidden.js +0 -16
  197. data/_sass/foundation-sites/node_modules/jquery/src/css/var/rmargin.js +0 -3
  198. data/_sass/foundation-sites/node_modules/jquery/src/css/var/rnumnonpx.js +0 -5
  199. data/_sass/foundation-sites/node_modules/jquery/src/css/var/swap.js +0 -24
  200. data/_sass/foundation-sites/node_modules/jquery/src/data.js +0 -187
  201. data/_sass/foundation-sites/node_modules/jquery/src/data/Data.js +0 -200
  202. data/_sass/foundation-sites/node_modules/jquery/src/data/var/acceptData.js +0 -18
  203. data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataPriv.js +0 -5
  204. data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataUser.js +0 -5
  205. data/_sass/foundation-sites/node_modules/jquery/src/deferred.js +0 -158
  206. data/_sass/foundation-sites/node_modules/jquery/src/deprecated.js +0 -32
  207. data/_sass/foundation-sites/node_modules/jquery/src/dimensions.js +0 -54
  208. data/_sass/foundation-sites/node_modules/jquery/src/effects.js +0 -629
  209. data/_sass/foundation-sites/node_modules/jquery/src/effects/Tween.js +0 -121
  210. data/_sass/foundation-sites/node_modules/jquery/src/effects/animatedSelector.js +0 -13
  211. data/_sass/foundation-sites/node_modules/jquery/src/event.js +0 -711
  212. data/_sass/foundation-sites/node_modules/jquery/src/event/ajax.js +0 -20
  213. data/_sass/foundation-sites/node_modules/jquery/src/event/alias.js +0 -27
  214. data/_sass/foundation-sites/node_modules/jquery/src/event/focusin.js +0 -53
  215. data/_sass/foundation-sites/node_modules/jquery/src/event/support.js +0 -9
  216. data/_sass/foundation-sites/node_modules/jquery/src/event/trigger.js +0 -183
  217. data/_sass/foundation-sites/node_modules/jquery/src/exports/amd.js +0 -24
  218. data/_sass/foundation-sites/node_modules/jquery/src/exports/global.js +0 -26
  219. data/_sass/foundation-sites/node_modules/jquery/src/intro.js +0 -44
  220. data/_sass/foundation-sites/node_modules/jquery/src/jquery.js +0 -37
  221. data/_sass/foundation-sites/node_modules/jquery/src/manipulation.js +0 -481
  222. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/_evalUrl.js +0 -20
  223. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/buildFragment.js +0 -102
  224. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/getAll.js +0 -21
  225. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/setGlobalEval.js +0 -20
  226. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/support.js +0 -33
  227. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rcheckableType.js +0 -3
  228. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rscriptType.js +0 -3
  229. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rtagName.js +0 -3
  230. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/wrapMap.js +0 -27
  231. data/_sass/foundation-sites/node_modules/jquery/src/offset.js +0 -218
  232. data/_sass/foundation-sites/node_modules/jquery/src/outro.js +0 -2
  233. data/_sass/foundation-sites/node_modules/jquery/src/queue.js +0 -143
  234. data/_sass/foundation-sites/node_modules/jquery/src/queue/delay.js +0 -22
  235. data/_sass/foundation-sites/node_modules/jquery/src/selector-native.js +0 -211
  236. data/_sass/foundation-sites/node_modules/jquery/src/selector-sizzle.js +0 -14
  237. data/_sass/foundation-sites/node_modules/jquery/src/selector.js +0 -1
  238. data/_sass/foundation-sites/node_modules/jquery/src/serialize.js +0 -125
  239. data/_sass/foundation-sites/node_modules/jquery/src/traversing.js +0 -175
  240. data/_sass/foundation-sites/node_modules/jquery/src/traversing/findFilter.js +0 -100
  241. data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/dir.js +0 -20
  242. data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/rneedsContext.js +0 -6
  243. data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/siblings.js +0 -15
  244. data/_sass/foundation-sites/node_modules/jquery/src/var/arr.js +0 -3
  245. data/_sass/foundation-sites/node_modules/jquery/src/var/class2type.js +0 -5
  246. data/_sass/foundation-sites/node_modules/jquery/src/var/concat.js +0 -5
  247. data/_sass/foundation-sites/node_modules/jquery/src/var/document.js +0 -3
  248. data/_sass/foundation-sites/node_modules/jquery/src/var/documentElement.js +0 -5
  249. data/_sass/foundation-sites/node_modules/jquery/src/var/hasOwn.js +0 -5
  250. data/_sass/foundation-sites/node_modules/jquery/src/var/indexOf.js +0 -5
  251. data/_sass/foundation-sites/node_modules/jquery/src/var/pnum.js +0 -3
  252. data/_sass/foundation-sites/node_modules/jquery/src/var/push.js +0 -5
  253. data/_sass/foundation-sites/node_modules/jquery/src/var/rcssNum.js +0 -7
  254. data/_sass/foundation-sites/node_modules/jquery/src/var/rnotwhite.js +0 -3
  255. data/_sass/foundation-sites/node_modules/jquery/src/var/slice.js +0 -5
  256. data/_sass/foundation-sites/node_modules/jquery/src/var/support.js +0 -5
  257. data/_sass/foundation-sites/node_modules/jquery/src/var/toString.js +0 -5
  258. data/_sass/foundation-sites/node_modules/jquery/src/wrap.js +0 -79
  259. data/_sass/foundation-sites/package.json +0 -148
  260. data/_sass/foundation-sites/scss/_global.scss +0 -638
  261. data/_sass/foundation-sites/scss/components/_accordion-menu.scss +0 -32
  262. data/_sass/foundation-sites/scss/components/_accordion.scss +0 -129
  263. data/_sass/foundation-sites/scss/components/_badge.scss +0 -55
  264. data/_sass/foundation-sites/scss/components/_breadcrumbs.scss +0 -95
  265. data/_sass/foundation-sites/scss/components/_button-group.scss +0 -195
  266. data/_sass/foundation-sites/scss/components/_button.scss +0 -265
  267. data/_sass/foundation-sites/scss/components/_callout.scss +0 -105
  268. data/_sass/foundation-sites/scss/components/_close-button.scss +0 -61
  269. data/_sass/foundation-sites/scss/components/_drilldown.scss +0 -79
  270. data/_sass/foundation-sites/scss/components/_dropdown-menu.scss +0 -221
  271. data/_sass/foundation-sites/scss/components/_dropdown.scss +0 -65
  272. data/_sass/foundation-sites/scss/components/_flex-video.scss +0 -63
  273. data/_sass/foundation-sites/scss/components/_flex.scss +0 -28
  274. data/_sass/foundation-sites/scss/components/_float.scss +0 -27
  275. data/_sass/foundation-sites/scss/components/_label.scss +0 -56
  276. data/_sass/foundation-sites/scss/components/_media-object.scss +0 -115
  277. data/_sass/foundation-sites/scss/components/_menu-icon.scss +0 -9
  278. data/_sass/foundation-sites/scss/components/_menu.scss +0 -314
  279. data/_sass/foundation-sites/scss/components/_off-canvas.scss +0 -177
  280. data/_sass/foundation-sites/scss/components/_orbit.scss +0 -193
  281. data/_sass/foundation-sites/scss/components/_pagination.scss +0 -162
  282. data/_sass/foundation-sites/scss/components/_progress-bar.scss +0 -64
  283. data/_sass/foundation-sites/scss/components/_reveal.scss +0 -172
  284. data/_sass/foundation-sites/scss/components/_slider.scss +0 -133
  285. data/_sass/foundation-sites/scss/components/_sticky.scss +0 -38
  286. data/_sass/foundation-sites/scss/components/_switch.scss +0 -232
  287. data/_sass/foundation-sites/scss/components/_table.scss +0 -234
  288. data/_sass/foundation-sites/scss/components/_tabs.scss +0 -165
  289. data/_sass/foundation-sites/scss/components/_thumbnail.scss +0 -54
  290. data/_sass/foundation-sites/scss/components/_title-bar.scss +0 -89
  291. data/_sass/foundation-sites/scss/components/_tooltip.scss +0 -104
  292. data/_sass/foundation-sites/scss/components/_top-bar.scss +0 -168
  293. data/_sass/foundation-sites/scss/components/_visibility.scss +0 -132
  294. data/_sass/foundation-sites/scss/forms/_checkbox.scss +0 -40
  295. data/_sass/foundation-sites/scss/forms/_error.scss +0 -84
  296. data/_sass/foundation-sites/scss/forms/_fieldset.scss +0 -54
  297. data/_sass/foundation-sites/scss/forms/_forms.scss +0 -34
  298. data/_sass/foundation-sites/scss/forms/_help-text.scss +0 -30
  299. data/_sass/foundation-sites/scss/forms/_input-group.scss +0 -128
  300. data/_sass/foundation-sites/scss/forms/_label.scss +0 -48
  301. data/_sass/foundation-sites/scss/forms/_meter.scss +0 -109
  302. data/_sass/foundation-sites/scss/forms/_progress.scss +0 -85
  303. data/_sass/foundation-sites/scss/forms/_range.scss +0 -144
  304. data/_sass/foundation-sites/scss/forms/_select.scss +0 -67
  305. data/_sass/foundation-sites/scss/forms/_text.scss +0 -163
  306. data/_sass/foundation-sites/scss/foundation.scss +0 -102
  307. data/_sass/foundation-sites/scss/grid/_classes.scss +0 -151
  308. data/_sass/foundation-sites/scss/grid/_column.scss +0 -126
  309. data/_sass/foundation-sites/scss/grid/_flex-grid.scss +0 -274
  310. data/_sass/foundation-sites/scss/grid/_grid.scss +0 -60
  311. data/_sass/foundation-sites/scss/grid/_gutter.scss +0 -34
  312. data/_sass/foundation-sites/scss/grid/_layout.scss +0 -51
  313. data/_sass/foundation-sites/scss/grid/_position.scss +0 -73
  314. data/_sass/foundation-sites/scss/grid/_row.scss +0 -95
  315. data/_sass/foundation-sites/scss/grid/_size.scss +0 -24
  316. data/_sass/foundation-sites/scss/settings/_settings.scss +0 -567
  317. data/_sass/foundation-sites/scss/typography/_alignment.scss +0 -22
  318. data/_sass/foundation-sites/scss/typography/_base.scss +0 -443
  319. data/_sass/foundation-sites/scss/typography/_helpers.scss +0 -77
  320. data/_sass/foundation-sites/scss/typography/_print.scss +0 -77
  321. data/_sass/foundation-sites/scss/typography/_typography.scss +0 -28
  322. data/_sass/foundation-sites/scss/util/_breakpoint.scss +0 -275
  323. data/_sass/foundation-sites/scss/util/_color.scss +0 -60
  324. data/_sass/foundation-sites/scss/util/_flex.scss +0 -68
  325. data/_sass/foundation-sites/scss/util/_mixins.scss +0 -235
  326. data/_sass/foundation-sites/scss/util/_selector.scss +0 -40
  327. data/_sass/foundation-sites/scss/util/_unit.scss +0 -90
  328. data/_sass/foundation-sites/scss/util/_util.scss +0 -11
  329. data/_sass/foundation-sites/scss/util/_value.scss +0 -107
  330. data/_sass/foundation-sites/vendor/fastclick/LICENSE +0 -22
  331. data/_sass/foundation-sites/vendor/fastclick/README.md +0 -140
  332. data/_sass/foundation-sites/vendor/jquery-placeholder/jquery.placeholder.js +0 -192
  333. data/_sass/foundation-sites/vendor/jquery.autocomplete/content/styles.css +0 -9
  334. data/_sass/foundation-sites/vendor/jquery.autocomplete/devbridge-autocomplete.jquery.json +0 -28
  335. data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.js +0 -823
  336. data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.min.js +0 -29
  337. data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/license.txt +0 -21
  338. data/_sass/foundation-sites/vendor/jquery.autocomplete/index.htm +0 -48
  339. data/_sass/foundation-sites/vendor/jquery.autocomplete/license.txt +0 -21
  340. data/_sass/foundation-sites/vendor/jquery.autocomplete/readme.md +0 -165
  341. data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/countries.js +0 -266
  342. data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/demo.js +0 -68
  343. data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery-1.8.2.min.js +0 -2
  344. data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery.mockjax.js +0 -564
  345. data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.d.ts +0 -40
  346. data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.js +0 -823
  347. data/_sass/foundation-sites/vendor/jquery.cookie/jquery.cookie.js +0 -117
  348. data/_sass/foundation-sites/vendor/jquery/AUTHORS.txt +0 -278
  349. data/_sass/foundation-sites/vendor/jquery/LICENSE.txt +0 -36
  350. data/_sass/foundation-sites/vendor/jquery/README.md +0 -65
  351. data/_sass/foundation-sites/vendor/jquery/dist/jquery.js +0 -9842
  352. data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.js +0 -4
  353. data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.map +0 -1
  354. data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.js +0 -7877
  355. data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.js +0 -4
  356. data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.map +0 -1
  357. data/_sass/foundation-sites/vendor/jquery/sizzle/LICENSE.txt +0 -36
  358. data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.js +0 -2143
  359. data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.js +0 -3
  360. data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.map +0 -1
  361. data/_sass/foundation-sites/vendor/jquery/src/ajax.js +0 -845
  362. data/_sass/foundation-sites/vendor/jquery/src/ajax/jsonp.js +0 -100
  363. data/_sass/foundation-sites/vendor/jquery/src/ajax/load.js +0 -83
  364. data/_sass/foundation-sites/vendor/jquery/src/ajax/parseJSON.js +0 -13
  365. data/_sass/foundation-sites/vendor/jquery/src/ajax/parseXML.js +0 -27
  366. data/_sass/foundation-sites/vendor/jquery/src/ajax/script.js +0 -68
  367. data/_sass/foundation-sites/vendor/jquery/src/ajax/var/location.js +0 -3
  368. data/_sass/foundation-sites/vendor/jquery/src/ajax/var/nonce.js +0 -5
  369. data/_sass/foundation-sites/vendor/jquery/src/ajax/var/rquery.js +0 -3
  370. data/_sass/foundation-sites/vendor/jquery/src/ajax/xhr.js +0 -167
  371. data/_sass/foundation-sites/vendor/jquery/src/attributes.js +0 -11
  372. data/_sass/foundation-sites/vendor/jquery/src/attributes/attr.js +0 -142
  373. data/_sass/foundation-sites/vendor/jquery/src/attributes/classes.js +0 -177
  374. data/_sass/foundation-sites/vendor/jquery/src/attributes/prop.js +0 -125
  375. data/_sass/foundation-sites/vendor/jquery/src/attributes/support.js +0 -36
  376. data/_sass/foundation-sites/vendor/jquery/src/attributes/val.js +0 -177
  377. data/_sass/foundation-sites/vendor/jquery/src/callbacks.js +0 -232
  378. data/_sass/foundation-sites/vendor/jquery/src/core.js +0 -494
  379. data/_sass/foundation-sites/vendor/jquery/src/core/DOMEval.js +0 -14
  380. data/_sass/foundation-sites/vendor/jquery/src/core/access.js +0 -65
  381. data/_sass/foundation-sites/vendor/jquery/src/core/init.js +0 -134
  382. data/_sass/foundation-sites/vendor/jquery/src/core/parseHTML.js +0 -41
  383. data/_sass/foundation-sites/vendor/jquery/src/core/ready.js +0 -103
  384. data/_sass/foundation-sites/vendor/jquery/src/core/support.js +0 -18
  385. data/_sass/foundation-sites/vendor/jquery/src/core/var/rsingleTag.js +0 -5
  386. data/_sass/foundation-sites/vendor/jquery/src/css.js +0 -515
  387. data/_sass/foundation-sites/vendor/jquery/src/css/addGetHookIf.js +0 -24
  388. data/_sass/foundation-sites/vendor/jquery/src/css/adjustCSS.js +0 -65
  389. data/_sass/foundation-sites/vendor/jquery/src/css/curCSS.js +0 -60
  390. data/_sass/foundation-sites/vendor/jquery/src/css/defaultDisplay.js +0 -72
  391. data/_sass/foundation-sites/vendor/jquery/src/css/hiddenVisibleSelectors.js +0 -18
  392. data/_sass/foundation-sites/vendor/jquery/src/css/showHide.js +0 -48
  393. data/_sass/foundation-sites/vendor/jquery/src/css/support.js +0 -121
  394. data/_sass/foundation-sites/vendor/jquery/src/css/var/cssExpand.js +0 -3
  395. data/_sass/foundation-sites/vendor/jquery/src/css/var/getStyles.js +0 -15
  396. data/_sass/foundation-sites/vendor/jquery/src/css/var/isHidden.js +0 -16
  397. data/_sass/foundation-sites/vendor/jquery/src/css/var/rmargin.js +0 -3
  398. data/_sass/foundation-sites/vendor/jquery/src/css/var/rnumnonpx.js +0 -5
  399. data/_sass/foundation-sites/vendor/jquery/src/css/var/swap.js +0 -24
  400. data/_sass/foundation-sites/vendor/jquery/src/data.js +0 -187
  401. data/_sass/foundation-sites/vendor/jquery/src/data/Data.js +0 -200
  402. data/_sass/foundation-sites/vendor/jquery/src/data/accepts.js +0 -20
  403. data/_sass/foundation-sites/vendor/jquery/src/data/support.js +0 -23
  404. data/_sass/foundation-sites/vendor/jquery/src/data/var/acceptData.js +0 -18
  405. data/_sass/foundation-sites/vendor/jquery/src/data/var/dataPriv.js +0 -5
  406. data/_sass/foundation-sites/vendor/jquery/src/data/var/dataUser.js +0 -5
  407. data/_sass/foundation-sites/vendor/jquery/src/deferred.js +0 -158
  408. data/_sass/foundation-sites/vendor/jquery/src/deferred/exceptionHook.js +0 -19
  409. data/_sass/foundation-sites/vendor/jquery/src/deprecated.js +0 -32
  410. data/_sass/foundation-sites/vendor/jquery/src/dimensions.js +0 -54
  411. data/_sass/foundation-sites/vendor/jquery/src/effects.js +0 -629
  412. data/_sass/foundation-sites/vendor/jquery/src/effects/Tween.js +0 -121
  413. data/_sass/foundation-sites/vendor/jquery/src/effects/animatedSelector.js +0 -13
  414. data/_sass/foundation-sites/vendor/jquery/src/effects/support.js +0 -58
  415. data/_sass/foundation-sites/vendor/jquery/src/event.js +0 -710
  416. data/_sass/foundation-sites/vendor/jquery/src/event/ajax.js +0 -20
  417. data/_sass/foundation-sites/vendor/jquery/src/event/alias.js +0 -27
  418. data/_sass/foundation-sites/vendor/jquery/src/event/focusin.js +0 -53
  419. data/_sass/foundation-sites/vendor/jquery/src/event/support.js +0 -9
  420. data/_sass/foundation-sites/vendor/jquery/src/event/trigger.js +0 -199
  421. data/_sass/foundation-sites/vendor/jquery/src/exports/amd.js +0 -24
  422. data/_sass/foundation-sites/vendor/jquery/src/exports/global.js +0 -26
  423. data/_sass/foundation-sites/vendor/jquery/src/intro.js +0 -44
  424. data/_sass/foundation-sites/vendor/jquery/src/jquery.js +0 -37
  425. data/_sass/foundation-sites/vendor/jquery/src/manipulation.js +0 -481
  426. data/_sass/foundation-sites/vendor/jquery/src/manipulation/_evalUrl.js +0 -20
  427. data/_sass/foundation-sites/vendor/jquery/src/manipulation/buildFragment.js +0 -102
  428. data/_sass/foundation-sites/vendor/jquery/src/manipulation/createSafeFragment.js +0 -20
  429. data/_sass/foundation-sites/vendor/jquery/src/manipulation/getAll.js +0 -21
  430. data/_sass/foundation-sites/vendor/jquery/src/manipulation/setGlobalEval.js +0 -20
  431. data/_sass/foundation-sites/vendor/jquery/src/manipulation/support.js +0 -33
  432. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/nodeNames.js +0 -5
  433. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rcheckableType.js +0 -3
  434. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rleadingWhitespace.js +0 -3
  435. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rscriptType.js +0 -3
  436. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rtagName.js +0 -3
  437. data/_sass/foundation-sites/vendor/jquery/src/manipulation/wrapMap.js +0 -27
  438. data/_sass/foundation-sites/vendor/jquery/src/offset.js +0 -218
  439. data/_sass/foundation-sites/vendor/jquery/src/outro.js +0 -2
  440. data/_sass/foundation-sites/vendor/jquery/src/queue.js +0 -143
  441. data/_sass/foundation-sites/vendor/jquery/src/queue/delay.js +0 -22
  442. data/_sass/foundation-sites/vendor/jquery/src/selector-native.js +0 -211
  443. data/_sass/foundation-sites/vendor/jquery/src/selector-sizzle.js +0 -14
  444. data/_sass/foundation-sites/vendor/jquery/src/selector.js +0 -1
  445. data/_sass/foundation-sites/vendor/jquery/src/serialize.js +0 -125
  446. data/_sass/foundation-sites/vendor/jquery/src/support.js +0 -63
  447. data/_sass/foundation-sites/vendor/jquery/src/traversing.js +0 -175
  448. data/_sass/foundation-sites/vendor/jquery/src/traversing/findFilter.js +0 -100
  449. data/_sass/foundation-sites/vendor/jquery/src/traversing/var/dir.js +0 -20
  450. data/_sass/foundation-sites/vendor/jquery/src/traversing/var/rneedsContext.js +0 -6
  451. data/_sass/foundation-sites/vendor/jquery/src/traversing/var/siblings.js +0 -15
  452. data/_sass/foundation-sites/vendor/jquery/src/var/arr.js +0 -3
  453. data/_sass/foundation-sites/vendor/jquery/src/var/class2type.js +0 -5
  454. data/_sass/foundation-sites/vendor/jquery/src/var/concat.js +0 -5
  455. data/_sass/foundation-sites/vendor/jquery/src/var/deletedIds.js +0 -3
  456. data/_sass/foundation-sites/vendor/jquery/src/var/document.js +0 -3
  457. data/_sass/foundation-sites/vendor/jquery/src/var/documentElement.js +0 -5
  458. data/_sass/foundation-sites/vendor/jquery/src/var/hasOwn.js +0 -5
  459. data/_sass/foundation-sites/vendor/jquery/src/var/indexOf.js +0 -5
  460. data/_sass/foundation-sites/vendor/jquery/src/var/pnum.js +0 -3
  461. data/_sass/foundation-sites/vendor/jquery/src/var/push.js +0 -5
  462. data/_sass/foundation-sites/vendor/jquery/src/var/rcssNum.js +0 -7
  463. data/_sass/foundation-sites/vendor/jquery/src/var/rnotwhite.js +0 -3
  464. data/_sass/foundation-sites/vendor/jquery/src/var/slice.js +0 -5
  465. data/_sass/foundation-sites/vendor/jquery/src/var/support.js +0 -5
  466. data/_sass/foundation-sites/vendor/jquery/src/var/toString.js +0 -5
  467. data/_sass/foundation-sites/vendor/jquery/src/wrap.js +0 -79
  468. data/_sass/foundation-sites/vendor/lodash/LICENSE.txt +0 -22
  469. data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.js +0 -7158
  470. data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.min.js +0 -92
  471. data/_sass/foundation-sites/vendor/lodash/dist/lodash.js +0 -6786
  472. data/_sass/foundation-sites/vendor/lodash/dist/lodash.min.js +0 -87
  473. data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.js +0 -4979
  474. data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.min.js +0 -39
  475. data/_sass/foundation-sites/vendor/modernizr/feature-detects/a-download.js +0 -8
  476. data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-audiodata-api.js +0 -4
  477. data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-webaudio-api.js +0 -4
  478. data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-api.js +0 -8
  479. data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-level.js +0 -11
  480. data/_sass/foundation-sites/vendor/modernizr/feature-detects/blob-constructor.js +0 -10
  481. data/_sass/foundation-sites/vendor/modernizr/feature-detects/canvas-todataurl-type.js +0 -28
  482. data/_sass/foundation-sites/vendor/modernizr/feature-detects/contenteditable.js +0 -9
  483. data/_sass/foundation-sites/vendor/modernizr/feature-detects/contentsecuritypolicy.js +0 -10
  484. data/_sass/foundation-sites/vendor/modernizr/feature-detects/contextmenu.js +0 -11
  485. data/_sass/foundation-sites/vendor/modernizr/feature-detects/cookies.js +0 -15
  486. data/_sass/foundation-sites/vendor/modernizr/feature-detects/cors.js +0 -3
  487. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-shorthand.js +0 -19
  488. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-xy.js +0 -15
  489. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundrepeat.js +0 -31
  490. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundsizecover.js +0 -10
  491. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-boxsizing.js +0 -9
  492. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-calc.js +0 -12
  493. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-cubicbezierrange.js +0 -8
  494. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displayrunin.js +0 -18
  495. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displaytable.js +0 -27
  496. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-filters.js +0 -7
  497. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-hyphens.js +0 -205
  498. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-lastchild.js +0 -11
  499. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mask.js +0 -12
  500. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mediaqueries.js +0 -3
  501. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-objectfit.js +0 -6
  502. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-overflow-scrolling.js +0 -9
  503. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-pointerevents.js +0 -25
  504. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-positionsticky.js +0 -13
  505. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-regions.js +0 -55
  506. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-remunit.js +0 -19
  507. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-resize.js +0 -8
  508. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-scrollbars.js +0 -19
  509. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-shapes.js +0 -4
  510. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-subpixelfont.js +0 -23
  511. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-supports.js +0 -6
  512. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-userselect.js +0 -10
  513. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vhunit.js +0 -14
  514. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vmaxunit.js +0 -14
  515. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vminunit.js +0 -14
  516. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vwunit.js +0 -14
  517. data/_sass/foundation-sites/vendor/modernizr/feature-detects/custom-protocol-handler.js +0 -10
  518. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dart.js +0 -6
  519. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dataview-api.js +0 -4
  520. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-classlist.js +0 -4
  521. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-createElement-attrs.js +0 -11
  522. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-dataset.js +0 -9
  523. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-microdata.js +0 -4
  524. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-datalist.js +0 -12
  525. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-details.js +0 -25
  526. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-output.js +0 -4
  527. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-progress-meter.js +0 -11
  528. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-ruby.js +0 -53
  529. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-time.js +0 -4
  530. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-track.js +0 -11
  531. data/_sass/foundation-sites/vendor/modernizr/feature-detects/emoji.js +0 -11
  532. data/_sass/foundation-sites/vendor/modernizr/feature-detects/es5-strictmode.js +0 -7
  533. data/_sass/foundation-sites/vendor/modernizr/feature-detects/event-deviceorientation-motion.js +0 -11
  534. data/_sass/foundation-sites/vendor/modernizr/feature-detects/exif-orientation.js +0 -32
  535. data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-api.js +0 -12
  536. data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-filesystem.js +0 -9
  537. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-fileinput.js +0 -13
  538. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-formattribute.js +0 -29
  539. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-inputnumber-l10n.js +0 -32
  540. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-placeholder.js +0 -10
  541. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-speechinput.js +0 -19
  542. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-validation.js +0 -62
  543. data/_sass/foundation-sites/vendor/modernizr/feature-detects/fullscreen-api.js +0 -10
  544. data/_sass/foundation-sites/vendor/modernizr/feature-detects/gamepad.js +0 -12
  545. data/_sass/foundation-sites/vendor/modernizr/feature-detects/getusermedia.js +0 -5
  546. data/_sass/foundation-sites/vendor/modernizr/feature-detects/ie8compat.js +0 -12
  547. data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-sandbox.js +0 -5
  548. data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-seamless.js +0 -5
  549. data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-srcdoc.js +0 -5
  550. data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-apng.js +0 -26
  551. data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-webp.js +0 -20
  552. data/_sass/foundation-sites/vendor/modernizr/feature-detects/json.js +0 -7
  553. data/_sass/foundation-sites/vendor/modernizr/feature-detects/lists-reversed.js +0 -6
  554. data/_sass/foundation-sites/vendor/modernizr/feature-detects/mathml.js +0 -23
  555. data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-connection.js +0 -22
  556. data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-eventsource.js +0 -5
  557. data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-xhr2.js +0 -13
  558. data/_sass/foundation-sites/vendor/modernizr/feature-detects/notification.js +0 -10
  559. data/_sass/foundation-sites/vendor/modernizr/feature-detects/performance.js +0 -5
  560. data/_sass/foundation-sites/vendor/modernizr/feature-detects/pointerlock-api.js +0 -4
  561. data/_sass/foundation-sites/vendor/modernizr/feature-detects/quota-management-api.js +0 -11
  562. data/_sass/foundation-sites/vendor/modernizr/feature-detects/requestanimationframe.js +0 -7
  563. data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-async.js +0 -3
  564. data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-defer.js +0 -3
  565. data/_sass/foundation-sites/vendor/modernizr/feature-detects/style-scoped.js +0 -6
  566. data/_sass/foundation-sites/vendor/modernizr/feature-detects/svg-filters.js +0 -13
  567. data/_sass/foundation-sites/vendor/modernizr/feature-detects/unicode.js +0 -32
  568. data/_sass/foundation-sites/vendor/modernizr/feature-detects/url-data-uri.js +0 -26
  569. data/_sass/foundation-sites/vendor/modernizr/feature-detects/userdata.js +0 -7
  570. data/_sass/foundation-sites/vendor/modernizr/feature-detects/vibration.js +0 -4
  571. data/_sass/foundation-sites/vendor/modernizr/feature-detects/web-intents.js +0 -6
  572. data/_sass/foundation-sites/vendor/modernizr/feature-detects/webgl-extensions.js +0 -42
  573. data/_sass/foundation-sites/vendor/modernizr/feature-detects/websockets-binary.js +0 -20
  574. data/_sass/foundation-sites/vendor/modernizr/feature-detects/window-framed.js +0 -8
  575. data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-blobworkers.js +0 -66
  576. data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-dataworkers.js +0 -34
  577. data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-sharedworkers.js +0 -3
  578. data/_sass/foundation-sites/vendor/modernizr/grunt.js +0 -69
  579. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.ai +1 -292
  580. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.eps +0 -0
  581. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.pdf +1 -292
  582. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.png +0 -0
  583. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.svg +0 -35
  584. data/_sass/foundation-sites/vendor/modernizr/modernizr.js +0 -1406
  585. data/_sass/foundation-sites/vendor/modernizr/readme.md +0 -28
  586. data/assets/js/0.main.412ba80ed3553103b85e.js +0 -56
  587. data/assets/js/0.main.412ba80ed3553103b85e.js.map +0 -1
  588. data/assets/js/main.412ba80ed3553103b85e.0.css +0 -2
  589. data/assets/js/main.412ba80ed3553103b85e.0.css.map +0 -1
  590. data/assets/js/main.412ba80ed3553103b85e.css +0 -6
  591. data/assets/js/main.412ba80ed3553103b85e.css.map +0 -1
  592. data/assets/js/main.412ba80ed3553103b85e.js +0 -1
  593. data/assets/js/main.412ba80ed3553103b85e.js.map +0 -1
@@ -1,171 +0,0 @@
1
- 'use strict';
2
-
3
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
4
-
5
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6
-
7
- !function ($) {
8
-
9
- /**
10
- * ResponsiveMenu module.
11
- * @module foundation.responsiveMenu
12
- * @requires foundation.util.triggers
13
- * @requires foundation.util.mediaQuery
14
- * @requires foundation.util.accordionMenu
15
- * @requires foundation.util.drilldown
16
- * @requires foundation.util.dropdown-menu
17
- */
18
-
19
- var ResponsiveMenu = function () {
20
- /**
21
- * Creates a new instance of a responsive menu.
22
- * @class
23
- * @fires ResponsiveMenu#init
24
- * @param {jQuery} element - jQuery object to make into a dropdown menu.
25
- * @param {Object} options - Overrides to the default plugin settings.
26
- */
27
-
28
- function ResponsiveMenu(element, options) {
29
- _classCallCheck(this, ResponsiveMenu);
30
-
31
- this.$element = $(element);
32
- this.rules = this.$element.data('responsive-menu');
33
- this.currentMq = null;
34
- this.currentPlugin = null;
35
-
36
- this._init();
37
- this._events();
38
-
39
- Foundation.registerPlugin(this, 'ResponsiveMenu');
40
- }
41
-
42
- /**
43
- * Initializes the Menu by parsing the classes from the 'data-ResponsiveMenu' attribute on the element.
44
- * @function
45
- * @private
46
- */
47
-
48
-
49
- _createClass(ResponsiveMenu, [{
50
- key: '_init',
51
- value: function _init() {
52
- // The first time an Interchange plugin is initialized, this.rules is converted from a string of "classes" to an object of rules
53
- if (typeof this.rules === 'string') {
54
- var rulesTree = {};
55
-
56
- // Parse rules from "classes" pulled from data attribute
57
- var rules = this.rules.split(' ');
58
-
59
- // Iterate through every rule found
60
- for (var i = 0; i < rules.length; i++) {
61
- var rule = rules[i].split('-');
62
- var ruleSize = rule.length > 1 ? rule[0] : 'small';
63
- var rulePlugin = rule.length > 1 ? rule[1] : rule[0];
64
-
65
- if (MenuPlugins[rulePlugin] !== null) {
66
- rulesTree[ruleSize] = MenuPlugins[rulePlugin];
67
- }
68
- }
69
-
70
- this.rules = rulesTree;
71
- }
72
-
73
- if (!$.isEmptyObject(this.rules)) {
74
- this._checkMediaQueries();
75
- }
76
- }
77
-
78
- /**
79
- * Initializes events for the Menu.
80
- * @function
81
- * @private
82
- */
83
-
84
- }, {
85
- key: '_events',
86
- value: function _events() {
87
- var _this = this;
88
-
89
- $(window).on('changed.zf.mediaquery', function () {
90
- _this._checkMediaQueries();
91
- });
92
- // $(window).on('resize.zf.ResponsiveMenu', function() {
93
- // _this._checkMediaQueries();
94
- // });
95
- }
96
-
97
- /**
98
- * Checks the current screen width against available media queries. If the media query has changed, and the plugin needed has changed, the plugins will swap out.
99
- * @function
100
- * @private
101
- */
102
-
103
- }, {
104
- key: '_checkMediaQueries',
105
- value: function _checkMediaQueries() {
106
- var matchedMq,
107
- _this = this;
108
- // Iterate through each rule and find the last matching rule
109
- $.each(this.rules, function (key) {
110
- if (Foundation.MediaQuery.atLeast(key)) {
111
- matchedMq = key;
112
- }
113
- });
114
-
115
- // No match? No dice
116
- if (!matchedMq) return;
117
-
118
- // Plugin already initialized? We good
119
- if (this.currentPlugin instanceof this.rules[matchedMq].plugin) return;
120
-
121
- // Remove existing plugin-specific CSS classes
122
- $.each(MenuPlugins, function (key, value) {
123
- _this.$element.removeClass(value.cssClass);
124
- });
125
-
126
- // Add the CSS class for the new plugin
127
- this.$element.addClass(this.rules[matchedMq].cssClass);
128
-
129
- // Create an instance of the new plugin
130
- if (this.currentPlugin) this.currentPlugin.destroy();
131
- this.currentPlugin = new this.rules[matchedMq].plugin(this.$element, {});
132
- }
133
-
134
- /**
135
- * Destroys the instance of the current plugin on this element, as well as the window resize handler that switches the plugins out.
136
- * @function
137
- */
138
-
139
- }, {
140
- key: 'destroy',
141
- value: function destroy() {
142
- this.currentPlugin.destroy();
143
- $(window).off('.zf.ResponsiveMenu');
144
- Foundation.unregisterPlugin(this);
145
- }
146
- }]);
147
-
148
- return ResponsiveMenu;
149
- }();
150
-
151
- ResponsiveMenu.defaults = {};
152
-
153
- // The plugin matches the plugin classes with these plugin instances.
154
- var MenuPlugins = {
155
- dropdown: {
156
- cssClass: 'dropdown',
157
- plugin: Foundation._plugins['dropdown-menu'] || null
158
- },
159
- drilldown: {
160
- cssClass: 'drilldown',
161
- plugin: Foundation._plugins['drilldown'] || null
162
- },
163
- accordion: {
164
- cssClass: 'accordion-menu',
165
- plugin: Foundation._plugins['accordion-menu'] || null
166
- }
167
- };
168
-
169
- // Window exports
170
- Foundation.plugin(ResponsiveMenu, 'ResponsiveMenu');
171
- }(jQuery);
@@ -1,142 +0,0 @@
1
- 'use strict';
2
-
3
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
4
-
5
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6
-
7
- !function ($) {
8
-
9
- /**
10
- * ResponsiveToggle module.
11
- * @module foundation.responsiveToggle
12
- * @requires foundation.util.mediaQuery
13
- */
14
-
15
- var ResponsiveToggle = function () {
16
- /**
17
- * Creates a new instance of Tab Bar.
18
- * @class
19
- * @fires ResponsiveToggle#init
20
- * @param {jQuery} element - jQuery object to attach tab bar functionality to.
21
- * @param {Object} options - Overrides to the default plugin settings.
22
- */
23
-
24
- function ResponsiveToggle(element, options) {
25
- _classCallCheck(this, ResponsiveToggle);
26
-
27
- this.$element = $(element);
28
- this.options = $.extend({}, ResponsiveToggle.defaults, this.$element.data(), options);
29
-
30
- this._init();
31
- this._events();
32
-
33
- Foundation.registerPlugin(this, 'ResponsiveToggle');
34
- }
35
-
36
- /**
37
- * Initializes the tab bar by finding the target element, toggling element, and running update().
38
- * @function
39
- * @private
40
- */
41
-
42
-
43
- _createClass(ResponsiveToggle, [{
44
- key: '_init',
45
- value: function _init() {
46
- var targetID = this.$element.data('responsive-toggle');
47
- if (!targetID) {
48
- console.error('Your tab bar needs an ID of a Menu as the value of data-tab-bar.');
49
- }
50
-
51
- this.$targetMenu = $('#' + targetID);
52
- this.$toggler = this.$element.find('[data-toggle]');
53
-
54
- this._update();
55
- }
56
-
57
- /**
58
- * Adds necessary event handlers for the tab bar to work.
59
- * @function
60
- * @private
61
- */
62
-
63
- }, {
64
- key: '_events',
65
- value: function _events() {
66
- var _this = this;
67
-
68
- this._updateMqHandler = this._update.bind(this);
69
-
70
- $(window).on('changed.zf.mediaquery', this._updateMqHandler);
71
-
72
- this.$toggler.on('click.zf.responsiveToggle', this.toggleMenu.bind(this));
73
- }
74
-
75
- /**
76
- * Checks the current media query to determine if the tab bar should be visible or hidden.
77
- * @function
78
- * @private
79
- */
80
-
81
- }, {
82
- key: '_update',
83
- value: function _update() {
84
- // Mobile
85
- if (!Foundation.MediaQuery.atLeast(this.options.hideFor)) {
86
- this.$element.show();
87
- this.$targetMenu.hide();
88
- }
89
-
90
- // Desktop
91
- else {
92
- this.$element.hide();
93
- this.$targetMenu.show();
94
- }
95
- }
96
-
97
- /**
98
- * Toggles the element attached to the tab bar. The toggle only happens if the screen is small enough to allow it.
99
- * @function
100
- * @fires ResponsiveToggle#toggled
101
- */
102
-
103
- }, {
104
- key: 'toggleMenu',
105
- value: function toggleMenu() {
106
- if (!Foundation.MediaQuery.atLeast(this.options.hideFor)) {
107
- this.$targetMenu.toggle(0);
108
-
109
- /**
110
- * Fires when the element attached to the tab bar toggles.
111
- * @event ResponsiveToggle#toggled
112
- */
113
- this.$element.trigger('toggled.zf.responsiveToggle');
114
- }
115
- }
116
- }, {
117
- key: 'destroy',
118
- value: function destroy() {
119
- this.$element.off('.zf.responsiveToggle');
120
- this.$toggler.off('.zf.responsiveToggle');
121
-
122
- $(window).off('changed.zf.mediaquery', this._updateMqHandler);
123
-
124
- Foundation.unregisterPlugin(this);
125
- }
126
- }]);
127
-
128
- return ResponsiveToggle;
129
- }();
130
-
131
- ResponsiveToggle.defaults = {
132
- /**
133
- * The breakpoint after which the menu is always shown, and the tab bar is hidden.
134
- * @option
135
- * @example 'medium'
136
- */
137
- hideFor: 'medium'
138
- };
139
-
140
- // Window exports
141
- Foundation.plugin(ResponsiveToggle, 'ResponsiveToggle');
142
- }(jQuery);
@@ -1,623 +0,0 @@
1
- 'use strict';
2
-
3
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
4
-
5
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6
-
7
- !function ($) {
8
-
9
- /**
10
- * Reveal module.
11
- * @module foundation.reveal
12
- * @requires foundation.util.keyboard
13
- * @requires foundation.util.box
14
- * @requires foundation.util.triggers
15
- * @requires foundation.util.mediaQuery
16
- * @requires foundation.util.motion if using animations
17
- */
18
-
19
- var Reveal = function () {
20
- /**
21
- * Creates a new instance of Reveal.
22
- * @class
23
- * @param {jQuery} element - jQuery object to use for the modal.
24
- * @param {Object} options - optional parameters.
25
- */
26
-
27
- function Reveal(element, options) {
28
- _classCallCheck(this, Reveal);
29
-
30
- this.$element = element;
31
- this.options = $.extend({}, Reveal.defaults, this.$element.data(), options);
32
- this._init();
33
-
34
- Foundation.registerPlugin(this, 'Reveal');
35
- Foundation.Keyboard.register('Reveal', {
36
- 'ENTER': 'open',
37
- 'SPACE': 'open',
38
- 'ESCAPE': 'close',
39
- 'TAB': 'tab_forward',
40
- 'SHIFT_TAB': 'tab_backward'
41
- });
42
- }
43
-
44
- /**
45
- * Initializes the modal by adding the overlay and close buttons, (if selected).
46
- * @private
47
- */
48
-
49
-
50
- _createClass(Reveal, [{
51
- key: '_init',
52
- value: function _init() {
53
- this.id = this.$element.attr('id');
54
- this.isActive = false;
55
- this.cached = { mq: Foundation.MediaQuery.current };
56
- this.isMobile = mobileSniff();
57
-
58
- this.$anchor = $('[data-open="' + this.id + '"]').length ? $('[data-open="' + this.id + '"]') : $('[data-toggle="' + this.id + '"]');
59
- this.$anchor.attr({
60
- 'aria-controls': this.id,
61
- 'aria-haspopup': true,
62
- 'tabindex': 0
63
- });
64
-
65
- if (this.options.fullScreen || this.$element.hasClass('full')) {
66
- this.options.fullScreen = true;
67
- this.options.overlay = false;
68
- }
69
- if (this.options.overlay && !this.$overlay) {
70
- this.$overlay = this._makeOverlay(this.id);
71
- }
72
-
73
- this.$element.attr({
74
- 'role': 'dialog',
75
- 'aria-hidden': true,
76
- 'data-yeti-box': this.id,
77
- 'data-resize': this.id
78
- });
79
-
80
- if (this.$overlay) {
81
- this.$element.detach().appendTo(this.$overlay);
82
- } else {
83
- this.$element.detach().appendTo($('body'));
84
- this.$element.addClass('without-overlay');
85
- }
86
- this._events();
87
- if (this.options.deepLink && window.location.hash === '#' + this.id) {
88
- $(window).one('load.zf.reveal', this.open.bind(this));
89
- }
90
- }
91
-
92
- /**
93
- * Creates an overlay div to display behind the modal.
94
- * @private
95
- */
96
-
97
- }, {
98
- key: '_makeOverlay',
99
- value: function _makeOverlay(id) {
100
- var $overlay = $('<div></div>').addClass('reveal-overlay').appendTo('body');
101
- return $overlay;
102
- }
103
-
104
- /**
105
- * Updates position of modal
106
- * TODO: Figure out if we actually need to cache these values or if it doesn't matter
107
- * @private
108
- */
109
-
110
- }, {
111
- key: '_updatePosition',
112
- value: function _updatePosition() {
113
- var width = this.$element.outerWidth();
114
- var outerWidth = $(window).width();
115
- var height = this.$element.outerHeight();
116
- var outerHeight = $(window).height();
117
- var left, top;
118
- if (this.options.hOffset === 'auto') {
119
- left = parseInt((outerWidth - width) / 2, 10);
120
- } else {
121
- left = parseInt(this.options.hOffset, 10);
122
- }
123
- if (this.options.vOffset === 'auto') {
124
- if (height > outerHeight) {
125
- top = parseInt(Math.min(100, outerHeight / 10), 10);
126
- } else {
127
- top = parseInt((outerHeight - height) / 4, 10);
128
- }
129
- } else {
130
- top = parseInt(this.options.vOffset, 10);
131
- }
132
- this.$element.css({ top: top + 'px' });
133
- // only worry about left if we don't have an overlay or we havea horizontal offset,
134
- // otherwise we're perfectly in the middle
135
- if (!this.$overlay || this.options.hOffset !== 'auto') {
136
- this.$element.css({ left: left + 'px' });
137
- this.$element.css({ margin: '0px' });
138
- }
139
- }
140
-
141
- /**
142
- * Adds event handlers for the modal.
143
- * @private
144
- */
145
-
146
- }, {
147
- key: '_events',
148
- value: function _events() {
149
- var _this2 = this;
150
-
151
- var _this = this;
152
-
153
- this.$element.on({
154
- 'open.zf.trigger': this.open.bind(this),
155
- 'close.zf.trigger': function (event, $element) {
156
- if (event.target === _this.$element[0] || $(event.target).parents('[data-closable]')[0] === $element) {
157
- // only close reveal when it's explicitly called
158
- return _this2.close.apply(_this2);
159
- }
160
- },
161
- 'toggle.zf.trigger': this.toggle.bind(this),
162
- 'resizeme.zf.trigger': function () {
163
- _this._updatePosition();
164
- }
165
- });
166
-
167
- if (this.$anchor.length) {
168
- this.$anchor.on('keydown.zf.reveal', function (e) {
169
- if (e.which === 13 || e.which === 32) {
170
- e.stopPropagation();
171
- e.preventDefault();
172
- _this.open();
173
- }
174
- });
175
- }
176
-
177
- if (this.options.closeOnClick && this.options.overlay) {
178
- this.$overlay.off('.zf.reveal').on('click.zf.reveal', function (e) {
179
- if (e.target === _this.$element[0] || $.contains(_this.$element[0], e.target)) {
180
- return;
181
- }
182
- _this.close();
183
- });
184
- }
185
- if (this.options.deepLink) {
186
- $(window).on('popstate.zf.reveal:' + this.id, this._handleState.bind(this));
187
- }
188
- }
189
-
190
- /**
191
- * Handles modal methods on back/forward button clicks or any other event that triggers popstate.
192
- * @private
193
- */
194
-
195
- }, {
196
- key: '_handleState',
197
- value: function _handleState(e) {
198
- if (window.location.hash === '#' + this.id && !this.isActive) {
199
- this.open();
200
- } else {
201
- this.close();
202
- }
203
- }
204
-
205
- /**
206
- * Opens the modal controlled by `this.$anchor`, and closes all others by default.
207
- * @function
208
- * @fires Reveal#closeme
209
- * @fires Reveal#open
210
- */
211
-
212
- }, {
213
- key: 'open',
214
- value: function open() {
215
- var _this3 = this;
216
-
217
- if (this.options.deepLink) {
218
- var hash = '#' + this.id;
219
-
220
- if (window.history.pushState) {
221
- window.history.pushState(null, null, hash);
222
- } else {
223
- window.location.hash = hash;
224
- }
225
- }
226
-
227
- this.isActive = true;
228
-
229
- // Make elements invisible, but remove display: none so we can get size and positioning
230
- this.$element.css({ 'visibility': 'hidden' }).show().scrollTop(0);
231
- if (this.options.overlay) {
232
- this.$overlay.css({ 'visibility': 'hidden' }).show();
233
- }
234
-
235
- this._updatePosition();
236
-
237
- this.$element.hide().css({ 'visibility': '' });
238
-
239
- if (this.$overlay) {
240
- this.$overlay.css({ 'visibility': '' }).hide();
241
- if (this.$element.hasClass('fast')) {
242
- this.$overlay.addClass('fast');
243
- } else if (this.$element.hasClass('slow')) {
244
- this.$overlay.addClass('slow');
245
- }
246
- }
247
-
248
- if (!this.options.multipleOpened) {
249
- /**
250
- * Fires immediately before the modal opens.
251
- * Closes any other modals that are currently open
252
- * @event Reveal#closeme
253
- */
254
- this.$element.trigger('closeme.zf.reveal', this.id);
255
- }
256
- // Motion UI method of reveal
257
- if (this.options.animationIn) {
258
- var _this;
259
-
260
- (function () {
261
- var afterAnimationFocus = function () {
262
- _this.$element.attr({
263
- 'aria-hidden': false,
264
- 'tabindex': -1
265
- }).focus();
266
- console.log('focus');
267
- };
268
-
269
- _this = _this3;
270
-
271
- if (_this3.options.overlay) {
272
- Foundation.Motion.animateIn(_this3.$overlay, 'fade-in');
273
- }
274
- Foundation.Motion.animateIn(_this3.$element, _this3.options.animationIn, function () {
275
- _this3.focusableElements = Foundation.Keyboard.findFocusable(_this3.$element);
276
- afterAnimationFocus();
277
- });
278
- })();
279
- }
280
- // jQuery method of reveal
281
- else {
282
- if (this.options.overlay) {
283
- this.$overlay.show(0);
284
- }
285
- this.$element.show(this.options.showDelay);
286
- }
287
-
288
- // handle accessibility
289
- this.$element.attr({
290
- 'aria-hidden': false,
291
- 'tabindex': -1
292
- }).focus();
293
-
294
- /**
295
- * Fires when the modal has successfully opened.
296
- * @event Reveal#open
297
- */
298
- this.$element.trigger('open.zf.reveal');
299
-
300
- if (this.isMobile) {
301
- this.originalScrollPos = window.pageYOffset;
302
- $('html, body').addClass('is-reveal-open');
303
- } else {
304
- $('body').addClass('is-reveal-open');
305
- }
306
-
307
- setTimeout(function () {
308
- _this3._extraHandlers();
309
- }, 0);
310
- }
311
-
312
- /**
313
- * Adds extra event handlers for the body and window if necessary.
314
- * @private
315
- */
316
-
317
- }, {
318
- key: '_extraHandlers',
319
- value: function _extraHandlers() {
320
- var _this = this;
321
- this.focusableElements = Foundation.Keyboard.findFocusable(this.$element);
322
-
323
- if (!this.options.overlay && this.options.closeOnClick && !this.options.fullScreen) {
324
- $('body').on('click.zf.reveal', function (e) {
325
- if (e.target === _this.$element[0] || $.contains(_this.$element[0], e.target)) {
326
- return;
327
- }
328
- _this.close();
329
- });
330
- }
331
-
332
- if (this.options.closeOnEsc) {
333
- $(window).on('keydown.zf.reveal', function (e) {
334
- Foundation.Keyboard.handleKey(e, 'Reveal', {
335
- close: function () {
336
- if (_this.options.closeOnEsc) {
337
- _this.close();
338
- _this.$anchor.focus();
339
- }
340
- }
341
- });
342
- });
343
- }
344
-
345
- // lock focus within modal while tabbing
346
- this.$element.on('keydown.zf.reveal', function (e) {
347
- var $target = $(this);
348
- // handle keyboard event with keyboard util
349
- Foundation.Keyboard.handleKey(e, 'Reveal', {
350
- tab_forward: function () {
351
- if (_this.$element.find(':focus').is(_this.focusableElements.eq(-1))) {
352
- // left modal downwards, setting focus to first element
353
- _this.focusableElements.eq(0).focus();
354
- return true;
355
- }
356
- if (_this.focusableElements.length === 0) {
357
- // no focusable elements inside the modal at all, prevent tabbing in general
358
- return true;
359
- }
360
- },
361
- tab_backward: function () {
362
- if (_this.$element.find(':focus').is(_this.focusableElements.eq(0)) || _this.$element.is(':focus')) {
363
- // left modal upwards, setting focus to last element
364
- _this.focusableElements.eq(-1).focus();
365
- return true;
366
- }
367
- if (_this.focusableElements.length === 0) {
368
- // no focusable elements inside the modal at all, prevent tabbing in general
369
- return true;
370
- }
371
- },
372
- open: function () {
373
- if (_this.$element.find(':focus').is(_this.$element.find('[data-close]'))) {
374
- setTimeout(function () {
375
- // set focus back to anchor if close button has been activated
376
- _this.$anchor.focus();
377
- }, 1);
378
- } else if ($target.is(_this.focusableElements)) {
379
- // dont't trigger if acual element has focus (i.e. inputs, links, ...)
380
- _this.open();
381
- }
382
- },
383
- close: function () {
384
- if (_this.options.closeOnEsc) {
385
- _this.close();
386
- _this.$anchor.focus();
387
- }
388
- },
389
- handled: function (preventDefault) {
390
- if (preventDefault) {
391
- e.preventDefault();
392
- }
393
- }
394
- });
395
- });
396
- }
397
-
398
- /**
399
- * Closes the modal.
400
- * @function
401
- * @fires Reveal#closed
402
- */
403
-
404
- }, {
405
- key: 'close',
406
- value: function close() {
407
- if (!this.isActive || !this.$element.is(':visible')) {
408
- return false;
409
- }
410
- var _this = this;
411
-
412
- // Motion UI method of hiding
413
- if (this.options.animationOut) {
414
- if (this.options.overlay) {
415
- Foundation.Motion.animateOut(this.$overlay, 'fade-out', finishUp);
416
- } else {
417
- finishUp();
418
- }
419
-
420
- Foundation.Motion.animateOut(this.$element, this.options.animationOut);
421
- }
422
- // jQuery method of hiding
423
- else {
424
- if (this.options.overlay) {
425
- this.$overlay.hide(0, finishUp);
426
- } else {
427
- finishUp();
428
- }
429
-
430
- this.$element.hide(this.options.hideDelay);
431
- }
432
-
433
- // Conditionals to remove extra event listeners added on open
434
- if (this.options.closeOnEsc) {
435
- $(window).off('keydown.zf.reveal');
436
- }
437
-
438
- if (!this.options.overlay && this.options.closeOnClick) {
439
- $('body').off('click.zf.reveal');
440
- }
441
-
442
- this.$element.off('keydown.zf.reveal');
443
-
444
- function finishUp() {
445
- if (_this.isMobile) {
446
- $('html, body').removeClass('is-reveal-open');
447
- if (_this.originalScrollPos) {
448
- $('body').scrollTop(_this.originalScrollPos);
449
- _this.originalScrollPos = null;
450
- }
451
- } else {
452
- $('body').removeClass('is-reveal-open');
453
- }
454
-
455
- _this.$element.attr('aria-hidden', true);
456
-
457
- /**
458
- * Fires when the modal is done closing.
459
- * @event Reveal#closed
460
- */
461
- _this.$element.trigger('closed.zf.reveal');
462
- }
463
-
464
- /**
465
- * Resets the modal content
466
- * This prevents a running video to keep going in the background
467
- */
468
- if (this.options.resetOnClose) {
469
- this.$element.html(this.$element.html());
470
- }
471
-
472
- this.isActive = false;
473
- if (_this.options.deepLink) {
474
- if (window.history.replaceState) {
475
- window.history.replaceState("", document.title, window.location.pathname);
476
- } else {
477
- window.location.hash = '';
478
- }
479
- }
480
- }
481
-
482
- /**
483
- * Toggles the open/closed state of a modal.
484
- * @function
485
- */
486
-
487
- }, {
488
- key: 'toggle',
489
- value: function toggle() {
490
- if (this.isActive) {
491
- this.close();
492
- } else {
493
- this.open();
494
- }
495
- }
496
- }, {
497
- key: 'destroy',
498
-
499
-
500
- /**
501
- * Destroys an instance of a modal.
502
- * @function
503
- */
504
- value: function destroy() {
505
- if (this.options.overlay) {
506
- this.$element.appendTo($('body')); // move $element outside of $overlay to prevent error unregisterPlugin()
507
- this.$overlay.hide().off().remove();
508
- }
509
- this.$element.hide().off();
510
- this.$anchor.off('.zf');
511
- $(window).off('.zf.reveal:' + this.id);
512
-
513
- Foundation.unregisterPlugin(this);
514
- }
515
- }]);
516
-
517
- return Reveal;
518
- }();
519
-
520
- Reveal.defaults = {
521
- /**
522
- * Motion-UI class to use for animated elements. If none used, defaults to simple show/hide.
523
- * @option
524
- * @example 'slide-in-left'
525
- */
526
- animationIn: '',
527
- /**
528
- * Motion-UI class to use for animated elements. If none used, defaults to simple show/hide.
529
- * @option
530
- * @example 'slide-out-right'
531
- */
532
- animationOut: '',
533
- /**
534
- * Time, in ms, to delay the opening of a modal after a click if no animation used.
535
- * @option
536
- * @example 10
537
- */
538
- showDelay: 0,
539
- /**
540
- * Time, in ms, to delay the closing of a modal after a click if no animation used.
541
- * @option
542
- * @example 10
543
- */
544
- hideDelay: 0,
545
- /**
546
- * Allows a click on the body/overlay to close the modal.
547
- * @option
548
- * @example true
549
- */
550
- closeOnClick: true,
551
- /**
552
- * Allows the modal to close if the user presses the `ESCAPE` key.
553
- * @option
554
- * @example true
555
- */
556
- closeOnEsc: true,
557
- /**
558
- * If true, allows multiple modals to be displayed at once.
559
- * @option
560
- * @example false
561
- */
562
- multipleOpened: false,
563
- /**
564
- * Distance, in pixels, the modal should push down from the top of the screen.
565
- * @option
566
- * @example auto
567
- */
568
- vOffset: 'auto',
569
- /**
570
- * Distance, in pixels, the modal should push in from the side of the screen.
571
- * @option
572
- * @example auto
573
- */
574
- hOffset: 'auto',
575
- /**
576
- * Allows the modal to be fullscreen, completely blocking out the rest of the view. JS checks for this as well.
577
- * @option
578
- * @example false
579
- */
580
- fullScreen: false,
581
- /**
582
- * Percentage of screen height the modal should push up from the bottom of the view.
583
- * @option
584
- * @example 10
585
- */
586
- btmOffsetPct: 10,
587
- /**
588
- * Allows the modal to generate an overlay div, which will cover the view when modal opens.
589
- * @option
590
- * @example true
591
- */
592
- overlay: true,
593
- /**
594
- * Allows the modal to remove and reinject markup on close. Should be true if using video elements w/o using provider's api, otherwise, videos will continue to play in the background.
595
- * @option
596
- * @example false
597
- */
598
- resetOnClose: false,
599
- /**
600
- * Allows the modal to alter the url on open/close, and allows the use of the `back` button to close modals. ALSO, allows a modal to auto-maniacally open on page load IF the hash === the modal's user-set id.
601
- * @option
602
- * @example false
603
- */
604
- deepLink: false
605
- };
606
-
607
- // Window exports
608
- Foundation.plugin(Reveal, 'Reveal');
609
-
610
- function iPhoneSniff() {
611
- return (/iP(ad|hone|od).*OS/.test(window.navigator.userAgent)
612
- );
613
- }
614
-
615
- function androidSniff() {
616
- return (/Android/.test(window.navigator.userAgent)
617
- );
618
- }
619
-
620
- function mobileSniff() {
621
- return iPhoneSniff() || androidSniff();
622
- }
623
- }(jQuery);