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,378 +0,0 @@
1
- !function($) {
2
-
3
- "use strict";
4
-
5
- var FOUNDATION_VERSION = '6.2.2';
6
-
7
- // Global Foundation object
8
- // This is attached to the window, or used as a module for AMD/Browserify
9
- var Foundation = {
10
- version: FOUNDATION_VERSION,
11
-
12
- /**
13
- * Stores initialized plugins.
14
- */
15
- _plugins: {},
16
-
17
- /**
18
- * Stores generated unique ids for plugin instances
19
- */
20
- _uuids: [],
21
-
22
- /**
23
- * Returns a boolean for RTL support
24
- */
25
- rtl: function(){
26
- return $('html').attr('dir') === 'rtl';
27
- },
28
- /**
29
- * Defines a Foundation plugin, adding it to the `Foundation` namespace and the list of plugins to initialize when reflowing.
30
- * @param {Object} plugin - The constructor of the plugin.
31
- */
32
- plugin: function(plugin, name) {
33
- // Object key to use when adding to global Foundation object
34
- // Examples: Foundation.Reveal, Foundation.OffCanvas
35
- var className = (name || functionName(plugin));
36
- // Object key to use when storing the plugin, also used to create the identifying data attribute for the plugin
37
- // Examples: data-reveal, data-off-canvas
38
- var attrName = hyphenate(className);
39
-
40
- // Add to the Foundation object and the plugins list (for reflowing)
41
- this._plugins[attrName] = this[className] = plugin;
42
- },
43
- /**
44
- * @function
45
- * Populates the _uuids array with pointers to each individual plugin instance.
46
- * Adds the `zfPlugin` data-attribute to programmatically created plugins to allow use of $(selector).foundation(method) calls.
47
- * Also fires the initialization event for each plugin, consolidating repetitive code.
48
- * @param {Object} plugin - an instance of a plugin, usually `this` in context.
49
- * @param {String} name - the name of the plugin, passed as a camelCased string.
50
- * @fires Plugin#init
51
- */
52
- registerPlugin: function(plugin, name){
53
- var pluginName = name ? hyphenate(name) : functionName(plugin.constructor).toLowerCase();
54
- plugin.uuid = this.GetYoDigits(6, pluginName);
55
-
56
- if(!plugin.$element.attr(`data-${pluginName}`)){ plugin.$element.attr(`data-${pluginName}`, plugin.uuid); }
57
- if(!plugin.$element.data('zfPlugin')){ plugin.$element.data('zfPlugin', plugin); }
58
- /**
59
- * Fires when the plugin has initialized.
60
- * @event Plugin#init
61
- */
62
- plugin.$element.trigger(`init.zf.${pluginName}`);
63
-
64
- this._uuids.push(plugin.uuid);
65
-
66
- return;
67
- },
68
- /**
69
- * @function
70
- * Removes the plugins uuid from the _uuids array.
71
- * Removes the zfPlugin data attribute, as well as the data-plugin-name attribute.
72
- * Also fires the destroyed event for the plugin, consolidating repetitive code.
73
- * @param {Object} plugin - an instance of a plugin, usually `this` in context.
74
- * @fires Plugin#destroyed
75
- */
76
- unregisterPlugin: function(plugin){
77
- var pluginName = hyphenate(functionName(plugin.$element.data('zfPlugin').constructor));
78
-
79
- this._uuids.splice(this._uuids.indexOf(plugin.uuid), 1);
80
- plugin.$element.removeAttr(`data-${pluginName}`).removeData('zfPlugin')
81
- /**
82
- * Fires when the plugin has been destroyed.
83
- * @event Plugin#destroyed
84
- */
85
- .trigger(`destroyed.zf.${pluginName}`);
86
- for(var prop in plugin){
87
- plugin[prop] = null;//clean up script to prep for garbage collection.
88
- }
89
- return;
90
- },
91
-
92
- /**
93
- * @function
94
- * Causes one or more active plugins to re-initialize, resetting event listeners, recalculating positions, etc.
95
- * @param {String} plugins - optional string of an individual plugin key, attained by calling `$(element).data('pluginName')`, or string of a plugin class i.e. `'dropdown'`
96
- * @default If no argument is passed, reflow all currently active plugins.
97
- */
98
- reInit: function(plugins){
99
- var isJQ = plugins instanceof $;
100
- try{
101
- if(isJQ){
102
- plugins.each(function(){
103
- $(this).data('zfPlugin')._init();
104
- });
105
- }else{
106
- var type = typeof plugins,
107
- _this = this,
108
- fns = {
109
- 'object': function(plgs){
110
- plgs.forEach(function(p){
111
- p = hyphenate(p);
112
- $('[data-'+ p +']').foundation('_init');
113
- });
114
- },
115
- 'string': function(){
116
- plugins = hyphenate(plugins);
117
- $('[data-'+ plugins +']').foundation('_init');
118
- },
119
- 'undefined': function(){
120
- this['object'](Object.keys(_this._plugins));
121
- }
122
- };
123
- fns[type](plugins);
124
- }
125
- }catch(err){
126
- console.error(err);
127
- }finally{
128
- return plugins;
129
- }
130
- },
131
-
132
- /**
133
- * returns a random base-36 uid with namespacing
134
- * @function
135
- * @param {Number} length - number of random base-36 digits desired. Increase for more random strings.
136
- * @param {String} namespace - name of plugin to be incorporated in uid, optional.
137
- * @default {String} '' - if no plugin name is provided, nothing is appended to the uid.
138
- * @returns {String} - unique id
139
- */
140
- GetYoDigits: function(length, namespace){
141
- length = length || 6;
142
- return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).slice(1) + (namespace ? `-${namespace}` : '');
143
- },
144
- /**
145
- * Initialize plugins on any elements within `elem` (and `elem` itself) that aren't already initialized.
146
- * @param {Object} elem - jQuery object containing the element to check inside. Also checks the element itself, unless it's the `document` object.
147
- * @param {String|Array} plugins - A list of plugins to initialize. Leave this out to initialize everything.
148
- */
149
- reflow: function(elem, plugins) {
150
-
151
- // If plugins is undefined, just grab everything
152
- if (typeof plugins === 'undefined') {
153
- plugins = Object.keys(this._plugins);
154
- }
155
- // If plugins is a string, convert it to an array with one item
156
- else if (typeof plugins === 'string') {
157
- plugins = [plugins];
158
- }
159
-
160
- var _this = this;
161
-
162
- // Iterate through each plugin
163
- $.each(plugins, function(i, name) {
164
- // Get the current plugin
165
- var plugin = _this._plugins[name];
166
-
167
- // Localize the search to all elements inside elem, as well as elem itself, unless elem === document
168
- var $elem = $(elem).find('[data-'+name+']').addBack('[data-'+name+']');
169
-
170
- // For each plugin found, initialize it
171
- $elem.each(function() {
172
- var $el = $(this),
173
- opts = {};
174
- // Don't double-dip on plugins
175
- if ($el.data('zfPlugin')) {
176
- console.warn("Tried to initialize "+name+" on an element that already has a Foundation plugin.");
177
- return;
178
- }
179
-
180
- if($el.attr('data-options')){
181
- var thing = $el.attr('data-options').split(';').forEach(function(e, i){
182
- var opt = e.split(':').map(function(el){ return el.trim(); });
183
- if(opt[0]) opts[opt[0]] = parseValue(opt[1]);
184
- });
185
- }
186
- try{
187
- $el.data('zfPlugin', new plugin($(this), opts));
188
- }catch(er){
189
- console.error(er);
190
- }finally{
191
- return;
192
- }
193
- });
194
- });
195
- },
196
- getFnName: functionName,
197
- transitionend: function($elem){
198
- var transitions = {
199
- 'transition': 'transitionend',
200
- 'WebkitTransition': 'webkitTransitionEnd',
201
- 'MozTransition': 'transitionend',
202
- 'OTransition': 'otransitionend'
203
- };
204
- var elem = document.createElement('div'),
205
- end;
206
-
207
- for (var t in transitions){
208
- if (typeof elem.style[t] !== 'undefined'){
209
- end = transitions[t];
210
- }
211
- }
212
- if(end){
213
- return end;
214
- }else{
215
- end = setTimeout(function(){
216
- $elem.triggerHandler('transitionend', [$elem]);
217
- }, 1);
218
- return 'transitionend';
219
- }
220
- }
221
- };
222
-
223
- Foundation.util = {
224
- /**
225
- * Function for applying a debounce effect to a function call.
226
- * @function
227
- * @param {Function} func - Function to be called at end of timeout.
228
- * @param {Number} delay - Time in ms to delay the call of `func`.
229
- * @returns function
230
- */
231
- throttle: function (func, delay) {
232
- var timer = null;
233
-
234
- return function () {
235
- var context = this, args = arguments;
236
-
237
- if (timer === null) {
238
- timer = setTimeout(function () {
239
- func.apply(context, args);
240
- timer = null;
241
- }, delay);
242
- }
243
- };
244
- }
245
- };
246
-
247
- // TODO: consider not making this a jQuery function
248
- // TODO: need way to reflow vs. re-initialize
249
- /**
250
- * The Foundation jQuery method.
251
- * @param {String|Array} method - An action to perform on the current jQuery object.
252
- */
253
- var foundation = function(method) {
254
- var type = typeof method,
255
- $meta = $('meta.foundation-mq'),
256
- $noJS = $('.no-js');
257
-
258
- if(!$meta.length){
259
- $('<meta class="foundation-mq">').appendTo(document.head);
260
- }
261
- if($noJS.length){
262
- $noJS.removeClass('no-js');
263
- }
264
-
265
- if(type === 'undefined'){//needs to initialize the Foundation object, or an individual plugin.
266
- Foundation.MediaQuery._init();
267
- Foundation.reflow(this);
268
- }else if(type === 'string'){//an individual method to invoke on a plugin or group of plugins
269
- var args = Array.prototype.slice.call(arguments, 1);//collect all the arguments, if necessary
270
- var plugClass = this.data('zfPlugin');//determine the class of plugin
271
-
272
- if(plugClass !== undefined && plugClass[method] !== undefined){//make sure both the class and method exist
273
- if(this.length === 1){//if there's only one, call it directly.
274
- plugClass[method].apply(plugClass, args);
275
- }else{
276
- this.each(function(i, el){//otherwise loop through the jQuery collection and invoke the method on each
277
- plugClass[method].apply($(el).data('zfPlugin'), args);
278
- });
279
- }
280
- }else{//error for no class or no method
281
- throw new ReferenceError("We're sorry, '" + method + "' is not an available method for " + (plugClass ? functionName(plugClass) : 'this element') + '.');
282
- }
283
- }else{//error for invalid argument type
284
- throw new TypeError(`We're sorry, ${type} is not a valid parameter. You must use a string representing the method you wish to invoke.`);
285
- }
286
- return this;
287
- };
288
-
289
- window.Foundation = Foundation;
290
- $.fn.foundation = foundation;
291
-
292
- // Polyfill for requestAnimationFrame
293
- (function() {
294
- if (!Date.now || !window.Date.now)
295
- window.Date.now = Date.now = function() { return new Date().getTime(); };
296
-
297
- var vendors = ['webkit', 'moz'];
298
- for (var i = 0; i < vendors.length && !window.requestAnimationFrame; ++i) {
299
- var vp = vendors[i];
300
- window.requestAnimationFrame = window[vp+'RequestAnimationFrame'];
301
- window.cancelAnimationFrame = (window[vp+'CancelAnimationFrame']
302
- || window[vp+'CancelRequestAnimationFrame']);
303
- }
304
- if (/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)
305
- || !window.requestAnimationFrame || !window.cancelAnimationFrame) {
306
- var lastTime = 0;
307
- window.requestAnimationFrame = function(callback) {
308
- var now = Date.now();
309
- var nextTime = Math.max(lastTime + 16, now);
310
- return setTimeout(function() { callback(lastTime = nextTime); },
311
- nextTime - now);
312
- };
313
- window.cancelAnimationFrame = clearTimeout;
314
- }
315
- /**
316
- * Polyfill for performance.now, required by rAF
317
- */
318
- if(!window.performance || !window.performance.now){
319
- window.performance = {
320
- start: Date.now(),
321
- now: function(){ return Date.now() - this.start; }
322
- };
323
- }
324
- })();
325
- if (!Function.prototype.bind) {
326
- Function.prototype.bind = function(oThis) {
327
- if (typeof this !== 'function') {
328
- // closest thing possible to the ECMAScript 5
329
- // internal IsCallable function
330
- throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable');
331
- }
332
-
333
- var aArgs = Array.prototype.slice.call(arguments, 1),
334
- fToBind = this,
335
- fNOP = function() {},
336
- fBound = function() {
337
- return fToBind.apply(this instanceof fNOP
338
- ? this
339
- : oThis,
340
- aArgs.concat(Array.prototype.slice.call(arguments)));
341
- };
342
-
343
- if (this.prototype) {
344
- // native functions don't have a prototype
345
- fNOP.prototype = this.prototype;
346
- }
347
- fBound.prototype = new fNOP();
348
-
349
- return fBound;
350
- };
351
- }
352
- // Polyfill to get the name of a function in IE9
353
- function functionName(fn) {
354
- if (Function.prototype.name === undefined) {
355
- var funcNameRegex = /function\s([^(]{1,})\(/;
356
- var results = (funcNameRegex).exec((fn).toString());
357
- return (results && results.length > 1) ? results[1].trim() : "";
358
- }
359
- else if (fn.prototype === undefined) {
360
- return fn.constructor.name;
361
- }
362
- else {
363
- return fn.prototype.constructor.name;
364
- }
365
- }
366
- function parseValue(str){
367
- if(/true/.test(str)) return true;
368
- else if(/false/.test(str)) return false;
369
- else if(!isNaN(str * 1)) return parseFloat(str);
370
- return str;
371
- }
372
- // Convert PascalCase to kebab-case
373
- // Thank you: http://stackoverflow.com/a/8955580
374
- function hyphenate(str) {
375
- return str.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
376
- }
377
-
378
- }(jQuery);
@@ -1,369 +0,0 @@
1
- 'use strict';
2
-
3
- !function($) {
4
-
5
- /**
6
- * Drilldown module.
7
- * @module foundation.drilldown
8
- * @requires foundation.util.keyboard
9
- * @requires foundation.util.motion
10
- * @requires foundation.util.nest
11
- */
12
-
13
- class Drilldown {
14
- /**
15
- * Creates a new instance of a drilldown menu.
16
- * @class
17
- * @param {jQuery} element - jQuery object to make into an accordion menu.
18
- * @param {Object} options - Overrides to the default plugin settings.
19
- */
20
- constructor(element, options) {
21
- this.$element = element;
22
- this.options = $.extend({}, Drilldown.defaults, this.$element.data(), options);
23
-
24
- Foundation.Nest.Feather(this.$element, 'drilldown');
25
-
26
- this._init();
27
-
28
- Foundation.registerPlugin(this, 'Drilldown');
29
- Foundation.Keyboard.register('Drilldown', {
30
- 'ENTER': 'open',
31
- 'SPACE': 'open',
32
- 'ARROW_RIGHT': 'next',
33
- 'ARROW_UP': 'up',
34
- 'ARROW_DOWN': 'down',
35
- 'ARROW_LEFT': 'previous',
36
- 'ESCAPE': 'close',
37
- 'TAB': 'down',
38
- 'SHIFT_TAB': 'up'
39
- });
40
- }
41
-
42
- /**
43
- * Initializes the drilldown by creating jQuery collections of elements
44
- * @private
45
- */
46
- _init() {
47
- this.$submenuAnchors = this.$element.find('li.is-drilldown-submenu-parent').children('a');
48
- this.$submenus = this.$submenuAnchors.parent('li').children('[data-submenu]');
49
- this.$menuItems = this.$element.find('li').not('.js-drilldown-back').attr('role', 'menuitem').find('a');
50
-
51
- this._prepareMenu();
52
-
53
- this._keyboardEvents();
54
- }
55
-
56
- /**
57
- * prepares drilldown menu by setting attributes to links and elements
58
- * sets a min height to prevent content jumping
59
- * wraps the element if not already wrapped
60
- * @private
61
- * @function
62
- */
63
- _prepareMenu() {
64
- var _this = this;
65
- // if(!this.options.holdOpen){
66
- // this._menuLinkEvents();
67
- // }
68
- this.$submenuAnchors.each(function(){
69
- var $link = $(this);
70
- var $sub = $link.parent();
71
- if(_this.options.parentLink){
72
- $link.clone().prependTo($sub.children('[data-submenu]')).wrap('<li class="is-submenu-parent-item is-submenu-item is-drilldown-submenu-item" role="menu-item"></li>');
73
- }
74
- $link.data('savedHref', $link.attr('href')).removeAttr('href');
75
- $link.children('[data-submenu]')
76
- .attr({
77
- 'aria-hidden': true,
78
- 'tabindex': 0,
79
- 'role': 'menu'
80
- });
81
- _this._events($link);
82
- });
83
- this.$submenus.each(function(){
84
- var $menu = $(this),
85
- $back = $menu.find('.js-drilldown-back');
86
- if(!$back.length){
87
- $menu.prepend(_this.options.backButton);
88
- }
89
- _this._back($menu);
90
- });
91
- if(!this.$element.parent().hasClass('is-drilldown')){
92
- this.$wrapper = $(this.options.wrapper).addClass('is-drilldown');
93
- this.$wrapper = this.$element.wrap(this.$wrapper).parent().css(this._getMaxDims());
94
- }
95
- }
96
-
97
- /**
98
- * Adds event handlers to elements in the menu.
99
- * @function
100
- * @private
101
- * @param {jQuery} $elem - the current menu item to add handlers to.
102
- */
103
- _events($elem) {
104
- var _this = this;
105
-
106
- $elem.off('click.zf.drilldown')
107
- .on('click.zf.drilldown', function(e){
108
- if($(e.target).parentsUntil('ul', 'li').hasClass('is-drilldown-submenu-parent')){
109
- e.stopImmediatePropagation();
110
- e.preventDefault();
111
- }
112
-
113
- // if(e.target !== e.currentTarget.firstElementChild){
114
- // return false;
115
- // }
116
- _this._show($elem.parent('li'));
117
-
118
- if(_this.options.closeOnClick){
119
- var $body = $('body');
120
- $body.off('.zf.drilldown').on('click.zf.drilldown', function(e){
121
- if (e.target === _this.$element[0] || $.contains(_this.$element[0], e.target)) { return; }
122
- e.preventDefault();
123
- _this._hideAll();
124
- $body.off('.zf.drilldown');
125
- });
126
- }
127
- });
128
- }
129
-
130
- /**
131
- * Adds keydown event listener to `li`'s in the menu.
132
- * @private
133
- */
134
- _keyboardEvents() {
135
- var _this = this;
136
-
137
- this.$menuItems.add(this.$element.find('.js-drilldown-back > a')).on('keydown.zf.drilldown', function(e){
138
-
139
- var $element = $(this),
140
- $elements = $element.parent('li').parent('ul').children('li').children('a'),
141
- $prevElement,
142
- $nextElement;
143
-
144
- $elements.each(function(i) {
145
- if ($(this).is($element)) {
146
- $prevElement = $elements.eq(Math.max(0, i-1));
147
- $nextElement = $elements.eq(Math.min(i+1, $elements.length-1));
148
- return;
149
- }
150
- });
151
-
152
- Foundation.Keyboard.handleKey(e, 'Drilldown', {
153
- next: function() {
154
- if ($element.is(_this.$submenuAnchors)) {
155
- _this._show($element.parent('li'));
156
- $element.parent('li').one(Foundation.transitionend($element), function(){
157
- $element.parent('li').find('ul li a').filter(_this.$menuItems).first().focus();
158
- });
159
- return true;
160
- }
161
- },
162
- previous: function() {
163
- _this._hide($element.parent('li').parent('ul'));
164
- $element.parent('li').parent('ul').one(Foundation.transitionend($element), function(){
165
- setTimeout(function() {
166
- $element.parent('li').parent('ul').parent('li').children('a').first().focus();
167
- }, 1);
168
- });
169
- return true;
170
- },
171
- up: function() {
172
- $prevElement.focus();
173
- return true;
174
- },
175
- down: function() {
176
- $nextElement.focus();
177
- return true;
178
- },
179
- close: function() {
180
- _this._back();
181
- //_this.$menuItems.first().focus(); // focus to first element
182
- },
183
- open: function() {
184
- if (!$element.is(_this.$menuItems)) { // not menu item means back button
185
- _this._hide($element.parent('li').parent('ul'));
186
- $element.parent('li').parent('ul').one(Foundation.transitionend($element), function(){
187
- setTimeout(function() {
188
- $element.parent('li').parent('ul').parent('li').children('a').first().focus();
189
- }, 1);
190
- });
191
- } else if ($element.is(_this.$submenuAnchors)) {
192
- _this._show($element.parent('li'));
193
- $element.parent('li').one(Foundation.transitionend($element), function(){
194
- $element.parent('li').find('ul li a').filter(_this.$menuItems).first().focus();
195
- });
196
- }
197
- return true;
198
- },
199
- handled: function(preventDefault) {
200
- if (preventDefault) {
201
- e.preventDefault();
202
- }
203
- e.stopImmediatePropagation();
204
- }
205
- });
206
- }); // end keyboardAccess
207
- }
208
-
209
- /**
210
- * Closes all open elements, and returns to root menu.
211
- * @function
212
- * @fires Drilldown#closed
213
- */
214
- _hideAll() {
215
- var $elem = this.$element.find('.is-drilldown-submenu.is-active').addClass('is-closing');
216
- $elem.one(Foundation.transitionend($elem), function(e){
217
- $elem.removeClass('is-active is-closing');
218
- });
219
- /**
220
- * Fires when the menu is fully closed.
221
- * @event Drilldown#closed
222
- */
223
- this.$element.trigger('closed.zf.drilldown');
224
- }
225
-
226
- /**
227
- * Adds event listener for each `back` button, and closes open menus.
228
- * @function
229
- * @fires Drilldown#back
230
- * @param {jQuery} $elem - the current sub-menu to add `back` event.
231
- */
232
- _back($elem) {
233
- var _this = this;
234
- $elem.off('click.zf.drilldown');
235
- $elem.children('.js-drilldown-back')
236
- .on('click.zf.drilldown', function(e){
237
- e.stopImmediatePropagation();
238
- // console.log('mouseup on back');
239
- _this._hide($elem);
240
- });
241
- }
242
-
243
- /**
244
- * Adds event listener to menu items w/o submenus to close open menus on click.
245
- * @function
246
- * @private
247
- */
248
- _menuLinkEvents() {
249
- var _this = this;
250
- this.$menuItems.not('.is-drilldown-submenu-parent')
251
- .off('click.zf.drilldown')
252
- .on('click.zf.drilldown', function(e){
253
- // e.stopImmediatePropagation();
254
- setTimeout(function(){
255
- _this._hideAll();
256
- }, 0);
257
- });
258
- }
259
-
260
- /**
261
- * Opens a submenu.
262
- * @function
263
- * @fires Drilldown#open
264
- * @param {jQuery} $elem - the current element with a submenu to open, i.e. the `li` tag.
265
- */
266
- _show($elem) {
267
- $elem.children('[data-submenu]').addClass('is-active');
268
- /**
269
- * Fires when the submenu has opened.
270
- * @event Drilldown#open
271
- */
272
- this.$element.trigger('open.zf.drilldown', [$elem]);
273
- };
274
-
275
- /**
276
- * Hides a submenu
277
- * @function
278
- * @fires Drilldown#hide
279
- * @param {jQuery} $elem - the current sub-menu to hide, i.e. the `ul` tag.
280
- */
281
- _hide($elem) {
282
- var _this = this;
283
- $elem.addClass('is-closing')
284
- .one(Foundation.transitionend($elem), function(){
285
- $elem.removeClass('is-active is-closing');
286
- $elem.blur();
287
- });
288
- /**
289
- * Fires when the submenu has closed.
290
- * @event Drilldown#hide
291
- */
292
- $elem.trigger('hide.zf.drilldown', [$elem]);
293
- }
294
-
295
- /**
296
- * Iterates through the nested menus to calculate the min-height, and max-width for the menu.
297
- * Prevents content jumping.
298
- * @function
299
- * @private
300
- */
301
- _getMaxDims() {
302
- var max = 0, result = {};
303
- this.$submenus.add(this.$element).each(function(){
304
- var numOfElems = $(this).children('li').length;
305
- max = numOfElems > max ? numOfElems : max;
306
- });
307
-
308
- result['min-height'] = `${max * this.$menuItems[0].getBoundingClientRect().height}px`;
309
- result['max-width'] = `${this.$element[0].getBoundingClientRect().width}px`;
310
-
311
- return result;
312
- }
313
-
314
- /**
315
- * Destroys the Drilldown Menu
316
- * @function
317
- */
318
- destroy() {
319
- this._hideAll();
320
- Foundation.Nest.Burn(this.$element, 'drilldown');
321
- this.$element.unwrap()
322
- .find('.js-drilldown-back, .is-submenu-parent-item').remove()
323
- .end().find('.is-active, .is-closing, .is-drilldown-submenu').removeClass('is-active is-closing is-drilldown-submenu')
324
- .end().find('[data-submenu]').removeAttr('aria-hidden tabindex role');
325
- this.$submenuAnchors.each(function() {
326
- $(this).off('.zf.drilldown');
327
- });
328
- this.$element.find('a').each(function(){
329
- var $link = $(this);
330
- if($link.data('savedHref')){
331
- $link.attr('href', $link.data('savedHref')).removeData('savedHref');
332
- }else{ return; }
333
- });
334
- Foundation.unregisterPlugin(this);
335
- };
336
- }
337
-
338
- Drilldown.defaults = {
339
- /**
340
- * Markup used for JS generated back button. Prepended to submenu lists and deleted on `destroy` method, 'js-drilldown-back' class required. Remove the backslash (`\`) if copy and pasting.
341
- * @option
342
- * @example '<\li><\a>Back<\/a><\/li>'
343
- */
344
- backButton: '<li class="js-drilldown-back"><a tabindex="0">Back</a></li>',
345
- /**
346
- * Markup used to wrap drilldown menu. Use a class name for independent styling; the JS applied class: `is-drilldown` is required. Remove the backslash (`\`) if copy and pasting.
347
- * @option
348
- * @example '<\div class="is-drilldown"><\/div>'
349
- */
350
- wrapper: '<div></div>',
351
- /**
352
- * Adds the parent link to the submenu.
353
- * @option
354
- * @example false
355
- */
356
- parentLink: false,
357
- /**
358
- * Allow the menu to return to root list on body click.
359
- * @option
360
- * @example false
361
- */
362
- closeOnClick: false
363
- // holdOpen: false
364
- };
365
-
366
- // Window exports
367
- Foundation.plugin(Drilldown, 'Drilldown');
368
-
369
- }(jQuery);