jekyll-theme-pirati 7.6.1 → 8.0.0.pre.alpha2

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 +15 -15
  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 +14 -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.6030a1757a9ee16ad8d3.js +0 -56
  587. data/assets/js/0.main.6030a1757a9ee16ad8d3.js.map +0 -1
  588. data/assets/js/main.6030a1757a9ee16ad8d3.0.css +0 -2
  589. data/assets/js/main.6030a1757a9ee16ad8d3.0.css.map +0 -1
  590. data/assets/js/main.6030a1757a9ee16ad8d3.css +0 -6
  591. data/assets/js/main.6030a1757a9ee16ad8d3.css.map +0 -1
  592. data/assets/js/main.6030a1757a9ee16ad8d3.js +0 -1
  593. data/assets/js/main.6030a1757a9ee16ad8d3.js.map +0 -1
@@ -1,450 +0,0 @@
1
- 'use strict';
2
-
3
- !function($) {
4
-
5
- /**
6
- * Sticky module.
7
- * @module foundation.sticky
8
- * @requires foundation.util.triggers
9
- * @requires foundation.util.mediaQuery
10
- */
11
-
12
- class Sticky {
13
- /**
14
- * Creates a new instance of a sticky thing.
15
- * @class
16
- * @param {jQuery} element - jQuery object to make sticky.
17
- * @param {Object} options - options object passed when creating the element programmatically.
18
- */
19
- constructor(element, options) {
20
- this.$element = element;
21
- this.options = $.extend({}, Sticky.defaults, this.$element.data(), options);
22
-
23
- this._init();
24
-
25
- Foundation.registerPlugin(this, 'Sticky');
26
- }
27
-
28
- /**
29
- * Initializes the sticky element by adding classes, getting/setting dimensions, breakpoints and attributes
30
- * @function
31
- * @private
32
- */
33
- _init() {
34
- var $parent = this.$element.parent('[data-sticky-container]'),
35
- id = this.$element[0].id || Foundation.GetYoDigits(6, 'sticky'),
36
- _this = this;
37
-
38
- if (!$parent.length) {
39
- this.wasWrapped = true;
40
- }
41
- this.$container = $parent.length ? $parent : $(this.options.container).wrapInner(this.$element);
42
- this.$container.addClass(this.options.containerClass);
43
-
44
- this.$element.addClass(this.options.stickyClass)
45
- .attr({'data-resize': id});
46
-
47
- this.scrollCount = this.options.checkEvery;
48
- this.isStuck = false;
49
- $(window).one('load.zf.sticky', function(){
50
- if(_this.options.anchor !== ''){
51
- _this.$anchor = $('#' + _this.options.anchor);
52
- }else{
53
- _this._parsePoints();
54
- }
55
-
56
- _this._setSizes(function(){
57
- _this._calc(false);
58
- });
59
- _this._events(id.split('-').reverse().join('-'));
60
- });
61
- }
62
-
63
- /**
64
- * If using multiple elements as anchors, calculates the top and bottom pixel values the sticky thing should stick and unstick on.
65
- * @function
66
- * @private
67
- */
68
- _parsePoints() {
69
- var top = this.options.topAnchor == "" ? 1 : this.options.topAnchor,
70
- btm = this.options.btmAnchor== "" ? document.documentElement.scrollHeight : this.options.btmAnchor,
71
- pts = [top, btm],
72
- breaks = {};
73
- for (var i = 0, len = pts.length; i < len && pts[i]; i++) {
74
- var pt;
75
- if (typeof pts[i] === 'number') {
76
- pt = pts[i];
77
- } else {
78
- var place = pts[i].split(':'),
79
- anchor = $(`#${place[0]}`);
80
-
81
- pt = anchor.offset().top;
82
- if (place[1] && place[1].toLowerCase() === 'bottom') {
83
- pt += anchor[0].getBoundingClientRect().height;
84
- }
85
- }
86
- breaks[i] = pt;
87
- }
88
-
89
-
90
- this.points = breaks;
91
- return;
92
- }
93
-
94
- /**
95
- * Adds event handlers for the scrolling element.
96
- * @private
97
- * @param {String} id - psuedo-random id for unique scroll event listener.
98
- */
99
- _events(id) {
100
- var _this = this,
101
- scrollListener = this.scrollListener = `scroll.zf.${id}`;
102
- if (this.isOn) { return; }
103
- if (this.canStick) {
104
- this.isOn = true;
105
- $(window).off(scrollListener)
106
- .on(scrollListener, function(e) {
107
- if (_this.scrollCount === 0) {
108
- _this.scrollCount = _this.options.checkEvery;
109
- _this._setSizes(function() {
110
- _this._calc(false, window.pageYOffset);
111
- });
112
- } else {
113
- _this.scrollCount--;
114
- _this._calc(false, window.pageYOffset);
115
- }
116
- });
117
- }
118
-
119
- this.$element.off('resizeme.zf.trigger')
120
- .on('resizeme.zf.trigger', function(e, el) {
121
- _this._setSizes(function() {
122
- _this._calc(false);
123
- if (_this.canStick) {
124
- if (!_this.isOn) {
125
- _this._events(id);
126
- }
127
- } else if (_this.isOn) {
128
- _this._pauseListeners(scrollListener);
129
- }
130
- });
131
- });
132
- }
133
-
134
- /**
135
- * Removes event handlers for scroll and change events on anchor.
136
- * @fires Sticky#pause
137
- * @param {String} scrollListener - unique, namespaced scroll listener attached to `window`
138
- */
139
- _pauseListeners(scrollListener) {
140
- this.isOn = false;
141
- $(window).off(scrollListener);
142
-
143
- /**
144
- * Fires when the plugin is paused due to resize event shrinking the view.
145
- * @event Sticky#pause
146
- * @private
147
- */
148
- this.$element.trigger('pause.zf.sticky');
149
- }
150
-
151
- /**
152
- * Called on every `scroll` event and on `_init`
153
- * fires functions based on booleans and cached values
154
- * @param {Boolean} checkSizes - true if plugin should recalculate sizes and breakpoints.
155
- * @param {Number} scroll - current scroll position passed from scroll event cb function. If not passed, defaults to `window.pageYOffset`.
156
- */
157
- _calc(checkSizes, scroll) {
158
- if (checkSizes) { this._setSizes(); }
159
-
160
- if (!this.canStick) {
161
- if (this.isStuck) {
162
- this._removeSticky(true);
163
- }
164
- return false;
165
- }
166
-
167
- if (!scroll) { scroll = window.pageYOffset; }
168
-
169
- if (scroll >= this.topPoint) {
170
- if (scroll <= this.bottomPoint) {
171
- if (!this.isStuck) {
172
- this._setSticky();
173
- }
174
- } else {
175
- if (this.isStuck) {
176
- this._removeSticky(false);
177
- }
178
- }
179
- } else {
180
- if (this.isStuck) {
181
- this._removeSticky(true);
182
- }
183
- }
184
- }
185
-
186
- /**
187
- * Causes the $element to become stuck.
188
- * Adds `position: fixed;`, and helper classes.
189
- * @fires Sticky#stuckto
190
- * @function
191
- * @private
192
- */
193
- _setSticky() {
194
- var _this = this,
195
- stickTo = this.options.stickTo,
196
- mrgn = stickTo === 'top' ? 'marginTop' : 'marginBottom',
197
- notStuckTo = stickTo === 'top' ? 'bottom' : 'top',
198
- css = {};
199
-
200
- css[mrgn] = `${this.options[mrgn]}em`;
201
- css[stickTo] = 0;
202
- css[notStuckTo] = 'auto';
203
- css['left'] = this.$container.offset().left + parseInt(window.getComputedStyle(this.$container[0])["padding-left"], 10);
204
- this.isStuck = true;
205
- this.$element.removeClass(`is-anchored is-at-${notStuckTo}`)
206
- .addClass(`is-stuck is-at-${stickTo}`)
207
- .css(css)
208
- /**
209
- * Fires when the $element has become `position: fixed;`
210
- * Namespaced to `top` or `bottom`, e.g. `sticky.zf.stuckto:top`
211
- * @event Sticky#stuckto
212
- */
213
- .trigger(`sticky.zf.stuckto:${stickTo}`);
214
- this.$element.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd", function() {
215
- _this._setSizes();
216
- });
217
- }
218
-
219
- /**
220
- * Causes the $element to become unstuck.
221
- * Removes `position: fixed;`, and helper classes.
222
- * Adds other helper classes.
223
- * @param {Boolean} isTop - tells the function if the $element should anchor to the top or bottom of its $anchor element.
224
- * @fires Sticky#unstuckfrom
225
- * @private
226
- */
227
- _removeSticky(isTop) {
228
- var stickTo = this.options.stickTo,
229
- stickToTop = stickTo === 'top',
230
- css = {},
231
- anchorPt = (this.points ? this.points[1] - this.points[0] : this.anchorHeight) - this.elemHeight,
232
- mrgn = stickToTop ? 'marginTop' : 'marginBottom',
233
- notStuckTo = stickToTop ? 'bottom' : 'top',
234
- topOrBottom = isTop ? 'top' : 'bottom';
235
-
236
- css[mrgn] = 0;
237
-
238
- css['bottom'] = 'auto';
239
- if(isTop) {
240
- css['top'] = 0;
241
- } else {
242
- css['top'] = anchorPt;
243
- }
244
-
245
- css['left'] = '';
246
- this.isStuck = false;
247
- this.$element.removeClass(`is-stuck is-at-${stickTo}`)
248
- .addClass(`is-anchored is-at-${topOrBottom}`)
249
- .css(css)
250
- /**
251
- * Fires when the $element has become anchored.
252
- * Namespaced to `top` or `bottom`, e.g. `sticky.zf.unstuckfrom:bottom`
253
- * @event Sticky#unstuckfrom
254
- */
255
- .trigger(`sticky.zf.unstuckfrom:${topOrBottom}`);
256
- }
257
-
258
- /**
259
- * Sets the $element and $container sizes for plugin.
260
- * Calls `_setBreakPoints`.
261
- * @param {Function} cb - optional callback function to fire on completion of `_setBreakPoints`.
262
- * @private
263
- */
264
- _setSizes(cb) {
265
- this.canStick = Foundation.MediaQuery.atLeast(this.options.stickyOn);
266
- if (!this.canStick) { cb(); }
267
- var _this = this,
268
- newElemWidth = this.$container[0].getBoundingClientRect().width,
269
- comp = window.getComputedStyle(this.$container[0]),
270
- pdng = parseInt(comp['padding-right'], 10);
271
-
272
- if (this.$anchor && this.$anchor.length) {
273
- this.anchorHeight = this.$anchor[0].getBoundingClientRect().height;
274
- } else {
275
- this._parsePoints();
276
- }
277
-
278
- this.$element.css({
279
- 'max-width': `${newElemWidth - pdng}px`
280
- });
281
-
282
- var newContainerHeight = this.$element[0].getBoundingClientRect().height || this.containerHeight;
283
- if (this.$element.css("display") == "none") {
284
- newContainerHeight = 0;
285
- }
286
- this.containerHeight = newContainerHeight;
287
- this.$container.css({
288
- height: newContainerHeight
289
- });
290
- this.elemHeight = newContainerHeight;
291
-
292
- if (this.isStuck) {
293
- this.$element.css({"left":this.$container.offset().left + parseInt(comp['padding-left'], 10)});
294
- }
295
-
296
- this._setBreakPoints(newContainerHeight, function() {
297
- if (cb) { cb(); }
298
- });
299
- }
300
-
301
- /**
302
- * Sets the upper and lower breakpoints for the element to become sticky/unsticky.
303
- * @param {Number} elemHeight - px value for sticky.$element height, calculated by `_setSizes`.
304
- * @param {Function} cb - optional callback function to be called on completion.
305
- * @private
306
- */
307
- _setBreakPoints(elemHeight, cb) {
308
- if (!this.canStick) {
309
- if (cb) { cb(); }
310
- else { return false; }
311
- }
312
- var mTop = emCalc(this.options.marginTop),
313
- mBtm = emCalc(this.options.marginBottom),
314
- topPoint = this.points ? this.points[0] : this.$anchor.offset().top,
315
- bottomPoint = this.points ? this.points[1] : topPoint + this.anchorHeight,
316
- // topPoint = this.$anchor.offset().top || this.points[0],
317
- // bottomPoint = topPoint + this.anchorHeight || this.points[1],
318
- winHeight = window.innerHeight;
319
-
320
- if (this.options.stickTo === 'top') {
321
- topPoint -= mTop;
322
- bottomPoint -= (elemHeight + mTop);
323
- } else if (this.options.stickTo === 'bottom') {
324
- topPoint -= (winHeight - (elemHeight + mBtm));
325
- bottomPoint -= (winHeight - mBtm);
326
- } else {
327
- //this would be the stickTo: both option... tricky
328
- }
329
-
330
- this.topPoint = topPoint;
331
- this.bottomPoint = bottomPoint;
332
-
333
- if (cb) { cb(); }
334
- }
335
-
336
- /**
337
- * Destroys the current sticky element.
338
- * Resets the element to the top position first.
339
- * Removes event listeners, JS-added css properties and classes, and unwraps the $element if the JS added the $container.
340
- * @function
341
- */
342
- destroy() {
343
- this._removeSticky(true);
344
-
345
- this.$element.removeClass(`${this.options.stickyClass} is-anchored is-at-top`)
346
- .css({
347
- height: '',
348
- top: '',
349
- bottom: '',
350
- 'max-width': ''
351
- })
352
- .off('resizeme.zf.trigger');
353
- if (this.$anchor && this.$anchor.length) {
354
- this.$anchor.off('change.zf.sticky');
355
- }
356
- $(window).off(this.scrollListener);
357
-
358
- if (this.wasWrapped) {
359
- this.$element.unwrap();
360
- } else {
361
- this.$container.removeClass(this.options.containerClass)
362
- .css({
363
- height: ''
364
- });
365
- }
366
- Foundation.unregisterPlugin(this);
367
- }
368
- }
369
-
370
- Sticky.defaults = {
371
- /**
372
- * Customizable container template. Add your own classes for styling and sizing.
373
- * @option
374
- * @example '&lt;div data-sticky-container class="small-6 columns"&gt;&lt;/div&gt;'
375
- */
376
- container: '<div data-sticky-container></div>',
377
- /**
378
- * Location in the view the element sticks to.
379
- * @option
380
- * @example 'top'
381
- */
382
- stickTo: 'top',
383
- /**
384
- * If anchored to a single element, the id of that element.
385
- * @option
386
- * @example 'exampleId'
387
- */
388
- anchor: '',
389
- /**
390
- * If using more than one element as anchor points, the id of the top anchor.
391
- * @option
392
- * @example 'exampleId:top'
393
- */
394
- topAnchor: '',
395
- /**
396
- * If using more than one element as anchor points, the id of the bottom anchor.
397
- * @option
398
- * @example 'exampleId:bottom'
399
- */
400
- btmAnchor: '',
401
- /**
402
- * Margin, in `em`'s to apply to the top of the element when it becomes sticky.
403
- * @option
404
- * @example 1
405
- */
406
- marginTop: 1,
407
- /**
408
- * Margin, in `em`'s to apply to the bottom of the element when it becomes sticky.
409
- * @option
410
- * @example 1
411
- */
412
- marginBottom: 1,
413
- /**
414
- * Breakpoint string that is the minimum screen size an element should become sticky.
415
- * @option
416
- * @example 'medium'
417
- */
418
- stickyOn: 'medium',
419
- /**
420
- * Class applied to sticky element, and removed on destruction. Foundation defaults to `sticky`.
421
- * @option
422
- * @example 'sticky'
423
- */
424
- stickyClass: 'sticky',
425
- /**
426
- * Class applied to sticky container. Foundation defaults to `sticky-container`.
427
- * @option
428
- * @example 'sticky-container'
429
- */
430
- containerClass: 'sticky-container',
431
- /**
432
- * Number of scroll events between the plugin's recalculating sticky points. Setting it to `0` will cause it to recalc every scroll event, setting it to `-1` will prevent recalc on scroll.
433
- * @option
434
- * @example 50
435
- */
436
- checkEvery: -1
437
- };
438
-
439
- /**
440
- * Helper function to calculate em values
441
- * @param Number {em} - number of em's to calculate into pixels
442
- */
443
- function emCalc(em) {
444
- return parseInt(window.getComputedStyle(document.body, null).fontSize, 10) * em;
445
- }
446
-
447
- // Window exports
448
- Foundation.plugin(Sticky, 'Sticky');
449
-
450
- }(jQuery);
@@ -1,333 +0,0 @@
1
- 'use strict';
2
-
3
- !function($) {
4
-
5
- /**
6
- * Tabs module.
7
- * @module foundation.tabs
8
- * @requires foundation.util.keyboard
9
- * @requires foundation.util.timerAndImageLoader if tabs contain images
10
- */
11
-
12
- class Tabs {
13
- /**
14
- * Creates a new instance of tabs.
15
- * @class
16
- * @fires Tabs#init
17
- * @param {jQuery} element - jQuery object to make into tabs.
18
- * @param {Object} options - Overrides to the default plugin settings.
19
- */
20
- constructor(element, options) {
21
- this.$element = element;
22
- this.options = $.extend({}, Tabs.defaults, this.$element.data(), options);
23
-
24
- this._init();
25
- Foundation.registerPlugin(this, 'Tabs');
26
- Foundation.Keyboard.register('Tabs', {
27
- 'ENTER': 'open',
28
- 'SPACE': 'open',
29
- 'ARROW_RIGHT': 'next',
30
- 'ARROW_UP': 'previous',
31
- 'ARROW_DOWN': 'next',
32
- 'ARROW_LEFT': 'previous'
33
- // 'TAB': 'next',
34
- // 'SHIFT_TAB': 'previous'
35
- });
36
- }
37
-
38
- /**
39
- * Initializes the tabs by showing and focusing (if autoFocus=true) the preset active tab.
40
- * @private
41
- */
42
- _init() {
43
- var _this = this;
44
-
45
- this.$tabTitles = this.$element.find(`.${this.options.linkClass}`);
46
- this.$tabContent = $(`[data-tabs-content="${this.$element[0].id}"]`);
47
-
48
- this.$tabTitles.each(function(){
49
- var $elem = $(this),
50
- $link = $elem.find('a'),
51
- isActive = $elem.hasClass('is-active'),
52
- hash = $link[0].hash.slice(1),
53
- linkId = $link[0].id ? $link[0].id : `${hash}-label`,
54
- $tabContent = $(`#${hash}`);
55
-
56
- $elem.attr({'role': 'presentation'});
57
-
58
- $link.attr({
59
- 'role': 'tab',
60
- 'aria-controls': hash,
61
- 'aria-selected': isActive,
62
- 'id': linkId
63
- });
64
-
65
- $tabContent.attr({
66
- 'role': 'tabpanel',
67
- 'aria-hidden': !isActive,
68
- 'aria-labelledby': linkId
69
- });
70
-
71
- if(isActive && _this.options.autoFocus){
72
- $link.focus();
73
- }
74
- });
75
-
76
- if(this.options.matchHeight) {
77
- var $images = this.$tabContent.find('img');
78
-
79
- if ($images.length) {
80
- Foundation.onImagesLoaded($images, this._setHeight.bind(this));
81
- } else {
82
- this._setHeight();
83
- }
84
- }
85
-
86
- this._events();
87
- }
88
-
89
- /**
90
- * Adds event handlers for items within the tabs.
91
- * @private
92
- */
93
- _events() {
94
- this._addKeyHandler();
95
- this._addClickHandler();
96
- this._setHeightMqHandler = null;
97
-
98
- if (this.options.matchHeight) {
99
- this._setHeightMqHandler = this._setHeight.bind(this);
100
-
101
- $(window).on('changed.zf.mediaquery', this._setHeightMqHandler);
102
- }
103
- }
104
-
105
- /**
106
- * Adds click handlers for items within the tabs.
107
- * @private
108
- */
109
- _addClickHandler() {
110
- var _this = this;
111
-
112
- this.$element
113
- .off('click.zf.tabs')
114
- .on('click.zf.tabs', `.${this.options.linkClass}`, function(e){
115
- e.preventDefault();
116
- e.stopPropagation();
117
- if ($(this).hasClass('is-active')) {
118
- return;
119
- }
120
- _this._handleTabChange($(this));
121
- });
122
- }
123
-
124
- /**
125
- * Adds keyboard event handlers for items within the tabs.
126
- * @private
127
- */
128
- _addKeyHandler() {
129
- var _this = this;
130
- var $firstTab = _this.$element.find('li:first-of-type');
131
- var $lastTab = _this.$element.find('li:last-of-type');
132
-
133
- this.$tabTitles.off('keydown.zf.tabs').on('keydown.zf.tabs', function(e){
134
- if (e.which === 9) return;
135
-
136
-
137
- var $element = $(this),
138
- $elements = $element.parent('ul').children('li'),
139
- $prevElement,
140
- $nextElement;
141
-
142
- $elements.each(function(i) {
143
- if ($(this).is($element)) {
144
- if (_this.options.wrapOnKeys) {
145
- $prevElement = i === 0 ? $elements.last() : $elements.eq(i-1);
146
- $nextElement = i === $elements.length -1 ? $elements.first() : $elements.eq(i+1);
147
- } else {
148
- $prevElement = $elements.eq(Math.max(0, i-1));
149
- $nextElement = $elements.eq(Math.min(i+1, $elements.length-1));
150
- }
151
- return;
152
- }
153
- });
154
-
155
- // handle keyboard event with keyboard util
156
- Foundation.Keyboard.handleKey(e, 'Tabs', {
157
- open: function() {
158
- $element.find('[role="tab"]').focus();
159
- _this._handleTabChange($element);
160
- },
161
- previous: function() {
162
- $prevElement.find('[role="tab"]').focus();
163
- _this._handleTabChange($prevElement);
164
- },
165
- next: function() {
166
- $nextElement.find('[role="tab"]').focus();
167
- _this._handleTabChange($nextElement);
168
- },
169
- handled: function() {
170
- e.stopPropagation();
171
- e.preventDefault();
172
- }
173
- });
174
- });
175
- }
176
-
177
- /**
178
- * Opens the tab `$targetContent` defined by `$target`.
179
- * @param {jQuery} $target - Tab to open.
180
- * @fires Tabs#change
181
- * @function
182
- */
183
- _handleTabChange($target) {
184
- var $tabLink = $target.find('[role="tab"]'),
185
- hash = $tabLink[0].hash,
186
- $targetContent = this.$tabContent.find(hash),
187
- $oldTab = this.$element.
188
- find(`.${this.options.linkClass}.is-active`)
189
- .removeClass('is-active')
190
- .find('[role="tab"]')
191
- .attr({ 'aria-selected': 'false' });
192
-
193
- $(`#${$oldTab.attr('aria-controls')}`)
194
- .removeClass('is-active')
195
- .attr({ 'aria-hidden': 'true' });
196
-
197
- $target.addClass('is-active');
198
-
199
- $tabLink.attr({'aria-selected': 'true'});
200
-
201
- $targetContent
202
- .addClass('is-active')
203
- .attr({'aria-hidden': 'false'});
204
-
205
- /**
206
- * Fires when the plugin has successfully changed tabs.
207
- * @event Tabs#change
208
- */
209
- this.$element.trigger('change.zf.tabs', [$target]);
210
- }
211
-
212
- /**
213
- * Public method for selecting a content pane to display.
214
- * @param {jQuery | String} elem - jQuery object or string of the id of the pane to display.
215
- * @function
216
- */
217
- selectTab(elem) {
218
- var idStr;
219
-
220
- if (typeof elem === 'object') {
221
- idStr = elem[0].id;
222
- } else {
223
- idStr = elem;
224
- }
225
-
226
- if (idStr.indexOf('#') < 0) {
227
- idStr = `#${idStr}`;
228
- }
229
-
230
- var $target = this.$tabTitles.find(`[href="${idStr}"]`).parent(`.${this.options.linkClass}`);
231
-
232
- this._handleTabChange($target);
233
- };
234
- /**
235
- * Sets the height of each panel to the height of the tallest panel.
236
- * If enabled in options, gets called on media query change.
237
- * If loading content via external source, can be called directly or with _reflow.
238
- * @function
239
- * @private
240
- */
241
- _setHeight() {
242
- var max = 0;
243
- this.$tabContent
244
- .find(`.${this.options.panelClass}`)
245
- .css('height', '')
246
- .each(function() {
247
- var panel = $(this),
248
- isActive = panel.hasClass('is-active');
249
-
250
- if (!isActive) {
251
- panel.css({'visibility': 'hidden', 'display': 'block'});
252
- }
253
-
254
- var temp = this.getBoundingClientRect().height;
255
-
256
- if (!isActive) {
257
- panel.css({
258
- 'visibility': '',
259
- 'display': ''
260
- });
261
- }
262
-
263
- max = temp > max ? temp : max;
264
- })
265
- .css('height', `${max}px`);
266
- }
267
-
268
- /**
269
- * Destroys an instance of an tabs.
270
- * @fires Tabs#destroyed
271
- */
272
- destroy() {
273
- this.$element
274
- .find(`.${this.options.linkClass}`)
275
- .off('.zf.tabs').hide().end()
276
- .find(`.${this.options.panelClass}`)
277
- .hide();
278
-
279
- if (this.options.matchHeight) {
280
- if (this._setHeightMqHandler != null) {
281
- $(window).off('changed.zf.mediaquery', this._setHeightMqHandler);
282
- }
283
- }
284
-
285
- Foundation.unregisterPlugin(this);
286
- }
287
- }
288
-
289
- Tabs.defaults = {
290
- /**
291
- * Allows the window to scroll to content of active pane on load if set to true.
292
- * @option
293
- * @example false
294
- */
295
- autoFocus: false,
296
-
297
- /**
298
- * Allows keyboard input to 'wrap' around the tab links.
299
- * @option
300
- * @example true
301
- */
302
- wrapOnKeys: true,
303
-
304
- /**
305
- * Allows the tab content panes to match heights if set to true.
306
- * @option
307
- * @example false
308
- */
309
- matchHeight: false,
310
-
311
- /**
312
- * Class applied to `li`'s in tab link list.
313
- * @option
314
- * @example 'tabs-title'
315
- */
316
- linkClass: 'tabs-title',
317
-
318
- /**
319
- * Class applied to the content containers.
320
- * @option
321
- * @example 'tabs-panel'
322
- */
323
- panelClass: 'tabs-panel'
324
- };
325
-
326
- function checkClass($elem){
327
- return $elem.hasClass('is-active');
328
- }
329
-
330
- // Window exports
331
- Foundation.plugin(Tabs, 'Tabs');
332
-
333
- }(jQuery);