jekyll-theme-pirati 7.7.0 → 8.0.0.pre.alpha4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (588) hide show
  1. checksums.yaml +4 -4
  2. data/_data/campaigns.yml +9 -0
  3. data/_data/menu.yml +11 -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/vertical-article.html +55 -36
  11. data/_includes/avatar.html +9 -0
  12. data/_includes/buttons/basic.html +3 -0
  13. data/_includes/buttons/icon.html +8 -0
  14. data/_includes/buttons/super.html +4 -0
  15. data/_includes/calendar.html +21 -0
  16. data/_includes/candidate-badge.html +48 -24
  17. data/_includes/contact-line.html +4 -0
  18. data/_includes/contacts/residence.html +23 -37
  19. data/_includes/contacts/summary-table.html +64 -58
  20. data/_includes/countdown.html +13 -0
  21. data/_includes/footer.html +88 -124
  22. data/_includes/head.html +3 -5
  23. data/_includes/header.html +138 -65
  24. data/_includes/headline-media.html +14 -20
  25. data/_includes/hero/advanced.html +65 -0
  26. data/_includes/hero/simple.html +13 -0
  27. data/_includes/homepage/banner.html +10 -15
  28. data/_includes/homepage/calendar.html +5 -0
  29. data/_includes/homepage/countdown.html +3 -0
  30. data/_includes/homepage/news.html +9 -0
  31. data/_includes/homepage/social.html +10 -0
  32. data/_includes/js/main.html +10 -18
  33. data/_includes/page-header.html +8 -15
  34. data/_includes/people/list-group.html +2 -8
  35. data/_includes/people/list-responsive.html +2 -5
  36. data/_includes/people/profile-badge.html +53 -45
  37. data/_includes/regions/crossroad.html +51 -57
  38. data/_includes/right-bar/bar_garant.html +2 -13
  39. data/_includes/right-bar/bar_people.html +14 -19
  40. data/_includes/right-bar/bar_person_articles.html +1 -1
  41. data/_includes/right-bar/bar_profile.html +73 -0
  42. data/_includes/right-bar/bar_program.html +17 -22
  43. data/_includes/right-bar/bar_tag_articles.html +1 -1
  44. data/_includes/right-bar/rbar.html +50 -53
  45. data/_includes/right-bar/rbar_articles.html +13 -20
  46. data/_includes/right-bar/rbar_profiles.html +18 -7
  47. data/_includes/sharebox.html +21 -0
  48. data/_includes/social-icon-group.html +23 -0
  49. data/_layouts/blank-article.html +14 -14
  50. data/_layouts/blank.html +1 -5
  51. data/_layouts/communal-elections.html +167 -82
  52. data/_layouts/contacts.html +62 -85
  53. data/_layouts/default.html +1 -12
  54. data/_layouts/members.html +24 -24
  55. data/_layouts/person.html +35 -25
  56. data/_layouts/pirate-center.html +87 -0
  57. data/_layouts/post.html +56 -95
  58. data/_layouts/program-post.html +5 -1
  59. data/_layouts/regions.html +5 -6
  60. data/_layouts/taglist.html +11 -8
  61. data/assets/img/people/ppp.jpg +0 -0
  62. data/assets/img/people/ppp.png +0 -0
  63. data/assets/img/people/unknown-pirate.svg +48 -3
  64. metadata +22 -528
  65. data/_includes/homepage/news-with-rbar.html +0 -22
  66. data/_includes/js/webpack.html +0 -13
  67. data/_includes/menu.html +0 -43
  68. data/_includes/right-bar/bar_foto.html +0 -30
  69. data/_includes/right-bar/bar_person_contact.html +0 -50
  70. data/_includes/submenu.html +0 -28
  71. data/_sass/foundation-sites/LICENSE +0 -22
  72. data/_sass/foundation-sites/README.md +0 -44
  73. data/_sass/foundation-sites/assets/foundation-flex.scss +0 -3
  74. data/_sass/foundation-sites/assets/foundation-rtl.scss +0 -5
  75. data/_sass/foundation-sites/assets/foundation.scss +0 -3
  76. data/_sass/foundation-sites/code-of-conduct.md +0 -43
  77. data/_sass/foundation-sites/customizer/complete.json +0 -46
  78. data/_sass/foundation-sites/customizer/config.yml +0 -218
  79. data/_sass/foundation-sites/customizer/essential.json +0 -11
  80. data/_sass/foundation-sites/customizer/index.html +0 -169
  81. data/_sass/foundation-sites/dist/foundation-flex.css +0 -4028
  82. data/_sass/foundation-sites/dist/foundation-flex.min.css +0 -2
  83. data/_sass/foundation-sites/dist/foundation-rtl.css +0 -3583
  84. data/_sass/foundation-sites/dist/foundation-rtl.min.css +0 -2
  85. data/_sass/foundation-sites/dist/foundation.css +0 -3578
  86. data/_sass/foundation-sites/dist/foundation.js +0 -9069
  87. data/_sass/foundation-sites/dist/foundation.min.css +0 -2
  88. data/_sass/foundation-sites/dist/foundation.min.js +0 -4
  89. data/_sass/foundation-sites/dist/plugins/foundation.abide.js +0 -600
  90. data/_sass/foundation-sites/dist/plugins/foundation.accordion.js +0 -262
  91. data/_sass/foundation-sites/dist/plugins/foundation.accordionMenu.js +0 -307
  92. data/_sass/foundation-sites/dist/plugins/foundation.core.js +0 -386
  93. data/_sass/foundation-sites/dist/plugins/foundation.drilldown.js +0 -409
  94. data/_sass/foundation-sites/dist/plugins/foundation.dropdown.js +0 -447
  95. data/_sass/foundation-sites/dist/plugins/foundation.dropdownMenu.js +0 -447
  96. data/_sass/foundation-sites/dist/plugins/foundation.equalizer.js +0 -364
  97. data/_sass/foundation-sites/dist/plugins/foundation.interchange.js +0 -227
  98. data/_sass/foundation-sites/dist/plugins/foundation.magellan.js +0 -257
  99. data/_sass/foundation-sites/dist/plugins/foundation.offcanvas.js +0 -438
  100. data/_sass/foundation-sites/dist/plugins/foundation.orbit.js +0 -484
  101. data/_sass/foundation-sites/dist/plugins/foundation.responsiveMenu.js +0 -171
  102. data/_sass/foundation-sites/dist/plugins/foundation.responsiveToggle.js +0 -142
  103. data/_sass/foundation-sites/dist/plugins/foundation.reveal.js +0 -623
  104. data/_sass/foundation-sites/dist/plugins/foundation.slider.js +0 -648
  105. data/_sass/foundation-sites/dist/plugins/foundation.sticky.js +0 -495
  106. data/_sass/foundation-sites/dist/plugins/foundation.tabs.js +0 -348
  107. data/_sass/foundation-sites/dist/plugins/foundation.toggler.js +0 -166
  108. data/_sass/foundation-sites/dist/plugins/foundation.tooltip.js +0 -468
  109. data/_sass/foundation-sites/dist/plugins/foundation.util.box.js +0 -196
  110. data/_sass/foundation-sites/dist/plugins/foundation.util.keyboard.js +0 -123
  111. data/_sass/foundation-sites/dist/plugins/foundation.util.mediaQuery.js +0 -216
  112. data/_sass/foundation-sites/dist/plugins/foundation.util.motion.js +0 -97
  113. data/_sass/foundation-sites/dist/plugins/foundation.util.nest.js +0 -69
  114. data/_sass/foundation-sites/dist/plugins/foundation.util.timerAndImageLoader.js +0 -84
  115. data/_sass/foundation-sites/dist/plugins/foundation.util.touch.js +0 -352
  116. data/_sass/foundation-sites/dist/plugins/foundation.util.triggers.js +0 -243
  117. data/_sass/foundation-sites/docslink.sh +0 -3
  118. data/_sass/foundation-sites/js/foundation.abide.js +0 -543
  119. data/_sass/foundation-sites/js/foundation.accordion.js +0 -237
  120. data/_sass/foundation-sites/js/foundation.accordionMenu.js +0 -274
  121. data/_sass/foundation-sites/js/foundation.core.js +0 -378
  122. data/_sass/foundation-sites/js/foundation.drilldown.js +0 -369
  123. data/_sass/foundation-sites/js/foundation.dropdown.js +0 -409
  124. data/_sass/foundation-sites/js/foundation.dropdownMenu.js +0 -404
  125. data/_sass/foundation-sites/js/foundation.equalizer.js +0 -306
  126. data/_sass/foundation-sites/js/foundation.interchange.js +0 -198
  127. data/_sass/foundation-sites/js/foundation.magellan.js +0 -223
  128. data/_sass/foundation-sites/js/foundation.offcanvas.js +0 -398
  129. data/_sass/foundation-sites/js/foundation.orbit.js +0 -446
  130. data/_sass/foundation-sites/js/foundation.responsiveMenu.js +0 -148
  131. data/_sass/foundation-sites/js/foundation.responsiveToggle.js +0 -119
  132. data/_sass/foundation-sites/js/foundation.reveal.js +0 -576
  133. data/_sass/foundation-sites/js/foundation.slider.js +0 -597
  134. data/_sass/foundation-sites/js/foundation.sticky.js +0 -450
  135. data/_sass/foundation-sites/js/foundation.tabs.js +0 -333
  136. data/_sass/foundation-sites/js/foundation.toggler.js +0 -144
  137. data/_sass/foundation-sites/js/foundation.tooltip.js +0 -444
  138. data/_sass/foundation-sites/js/foundation.util.box.js +0 -195
  139. data/_sass/foundation-sites/js/foundation.util.keyboard.js +0 -115
  140. data/_sass/foundation-sites/js/foundation.util.mediaQuery.js +0 -214
  141. data/_sass/foundation-sites/js/foundation.util.motion.js +0 -99
  142. data/_sass/foundation-sites/js/foundation.util.nest.js +0 -76
  143. data/_sass/foundation-sites/js/foundation.util.timerAndImageLoader.js +0 -86
  144. data/_sass/foundation-sites/js/foundation.util.touch.js +0 -352
  145. data/_sass/foundation-sites/js/foundation.util.triggers.js +0 -239
  146. data/_sass/foundation-sites/node_modules/jquery/AUTHORS.txt +0 -278
  147. data/_sass/foundation-sites/node_modules/jquery/LICENSE.txt +0 -36
  148. data/_sass/foundation-sites/node_modules/jquery/README.md +0 -65
  149. data/_sass/foundation-sites/node_modules/jquery/bower.json +0 -14
  150. data/_sass/foundation-sites/node_modules/jquery/dist/jquery.js +0 -9814
  151. data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.js +0 -4
  152. data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.map +0 -1
  153. data/_sass/foundation-sites/node_modules/jquery/external/sizzle/LICENSE.txt +0 -36
  154. data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.js +0 -2143
  155. data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.js +0 -3
  156. data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.map +0 -1
  157. data/_sass/foundation-sites/node_modules/jquery/package.json +0 -112
  158. data/_sass/foundation-sites/node_modules/jquery/src/ajax.js +0 -845
  159. data/_sass/foundation-sites/node_modules/jquery/src/ajax/jsonp.js +0 -100
  160. data/_sass/foundation-sites/node_modules/jquery/src/ajax/load.js +0 -83
  161. data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseJSON.js +0 -13
  162. data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseXML.js +0 -27
  163. data/_sass/foundation-sites/node_modules/jquery/src/ajax/script.js +0 -68
  164. data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/location.js +0 -3
  165. data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/nonce.js +0 -5
  166. data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/rquery.js +0 -3
  167. data/_sass/foundation-sites/node_modules/jquery/src/ajax/xhr.js +0 -167
  168. data/_sass/foundation-sites/node_modules/jquery/src/attributes.js +0 -11
  169. data/_sass/foundation-sites/node_modules/jquery/src/attributes/attr.js +0 -142
  170. data/_sass/foundation-sites/node_modules/jquery/src/attributes/classes.js +0 -177
  171. data/_sass/foundation-sites/node_modules/jquery/src/attributes/prop.js +0 -125
  172. data/_sass/foundation-sites/node_modules/jquery/src/attributes/support.js +0 -36
  173. data/_sass/foundation-sites/node_modules/jquery/src/attributes/val.js +0 -177
  174. data/_sass/foundation-sites/node_modules/jquery/src/callbacks.js +0 -232
  175. data/_sass/foundation-sites/node_modules/jquery/src/core.js +0 -494
  176. data/_sass/foundation-sites/node_modules/jquery/src/core/access.js +0 -65
  177. data/_sass/foundation-sites/node_modules/jquery/src/core/init.js +0 -134
  178. data/_sass/foundation-sites/node_modules/jquery/src/core/parseHTML.js +0 -41
  179. data/_sass/foundation-sites/node_modules/jquery/src/core/ready.js +0 -103
  180. data/_sass/foundation-sites/node_modules/jquery/src/core/var/rsingleTag.js +0 -5
  181. data/_sass/foundation-sites/node_modules/jquery/src/css.js +0 -502
  182. data/_sass/foundation-sites/node_modules/jquery/src/css/addGetHookIf.js +0 -24
  183. data/_sass/foundation-sites/node_modules/jquery/src/css/adjustCSS.js +0 -65
  184. data/_sass/foundation-sites/node_modules/jquery/src/css/curCSS.js +0 -60
  185. data/_sass/foundation-sites/node_modules/jquery/src/css/defaultDisplay.js +0 -72
  186. data/_sass/foundation-sites/node_modules/jquery/src/css/hiddenVisibleSelectors.js +0 -18
  187. data/_sass/foundation-sites/node_modules/jquery/src/css/showHide.js +0 -48
  188. data/_sass/foundation-sites/node_modules/jquery/src/css/support.js +0 -121
  189. data/_sass/foundation-sites/node_modules/jquery/src/css/var/cssExpand.js +0 -3
  190. data/_sass/foundation-sites/node_modules/jquery/src/css/var/getStyles.js +0 -15
  191. data/_sass/foundation-sites/node_modules/jquery/src/css/var/isHidden.js +0 -16
  192. data/_sass/foundation-sites/node_modules/jquery/src/css/var/rmargin.js +0 -3
  193. data/_sass/foundation-sites/node_modules/jquery/src/css/var/rnumnonpx.js +0 -5
  194. data/_sass/foundation-sites/node_modules/jquery/src/css/var/swap.js +0 -24
  195. data/_sass/foundation-sites/node_modules/jquery/src/data.js +0 -187
  196. data/_sass/foundation-sites/node_modules/jquery/src/data/Data.js +0 -200
  197. data/_sass/foundation-sites/node_modules/jquery/src/data/var/acceptData.js +0 -18
  198. data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataPriv.js +0 -5
  199. data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataUser.js +0 -5
  200. data/_sass/foundation-sites/node_modules/jquery/src/deferred.js +0 -158
  201. data/_sass/foundation-sites/node_modules/jquery/src/deprecated.js +0 -32
  202. data/_sass/foundation-sites/node_modules/jquery/src/dimensions.js +0 -54
  203. data/_sass/foundation-sites/node_modules/jquery/src/effects.js +0 -629
  204. data/_sass/foundation-sites/node_modules/jquery/src/effects/Tween.js +0 -121
  205. data/_sass/foundation-sites/node_modules/jquery/src/effects/animatedSelector.js +0 -13
  206. data/_sass/foundation-sites/node_modules/jquery/src/event.js +0 -711
  207. data/_sass/foundation-sites/node_modules/jquery/src/event/ajax.js +0 -20
  208. data/_sass/foundation-sites/node_modules/jquery/src/event/alias.js +0 -27
  209. data/_sass/foundation-sites/node_modules/jquery/src/event/focusin.js +0 -53
  210. data/_sass/foundation-sites/node_modules/jquery/src/event/support.js +0 -9
  211. data/_sass/foundation-sites/node_modules/jquery/src/event/trigger.js +0 -183
  212. data/_sass/foundation-sites/node_modules/jquery/src/exports/amd.js +0 -24
  213. data/_sass/foundation-sites/node_modules/jquery/src/exports/global.js +0 -26
  214. data/_sass/foundation-sites/node_modules/jquery/src/intro.js +0 -44
  215. data/_sass/foundation-sites/node_modules/jquery/src/jquery.js +0 -37
  216. data/_sass/foundation-sites/node_modules/jquery/src/manipulation.js +0 -481
  217. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/_evalUrl.js +0 -20
  218. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/buildFragment.js +0 -102
  219. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/getAll.js +0 -21
  220. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/setGlobalEval.js +0 -20
  221. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/support.js +0 -33
  222. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rcheckableType.js +0 -3
  223. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rscriptType.js +0 -3
  224. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rtagName.js +0 -3
  225. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/wrapMap.js +0 -27
  226. data/_sass/foundation-sites/node_modules/jquery/src/offset.js +0 -218
  227. data/_sass/foundation-sites/node_modules/jquery/src/outro.js +0 -2
  228. data/_sass/foundation-sites/node_modules/jquery/src/queue.js +0 -143
  229. data/_sass/foundation-sites/node_modules/jquery/src/queue/delay.js +0 -22
  230. data/_sass/foundation-sites/node_modules/jquery/src/selector-native.js +0 -211
  231. data/_sass/foundation-sites/node_modules/jquery/src/selector-sizzle.js +0 -14
  232. data/_sass/foundation-sites/node_modules/jquery/src/selector.js +0 -1
  233. data/_sass/foundation-sites/node_modules/jquery/src/serialize.js +0 -125
  234. data/_sass/foundation-sites/node_modules/jquery/src/traversing.js +0 -175
  235. data/_sass/foundation-sites/node_modules/jquery/src/traversing/findFilter.js +0 -100
  236. data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/dir.js +0 -20
  237. data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/rneedsContext.js +0 -6
  238. data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/siblings.js +0 -15
  239. data/_sass/foundation-sites/node_modules/jquery/src/var/arr.js +0 -3
  240. data/_sass/foundation-sites/node_modules/jquery/src/var/class2type.js +0 -5
  241. data/_sass/foundation-sites/node_modules/jquery/src/var/concat.js +0 -5
  242. data/_sass/foundation-sites/node_modules/jquery/src/var/document.js +0 -3
  243. data/_sass/foundation-sites/node_modules/jquery/src/var/documentElement.js +0 -5
  244. data/_sass/foundation-sites/node_modules/jquery/src/var/hasOwn.js +0 -5
  245. data/_sass/foundation-sites/node_modules/jquery/src/var/indexOf.js +0 -5
  246. data/_sass/foundation-sites/node_modules/jquery/src/var/pnum.js +0 -3
  247. data/_sass/foundation-sites/node_modules/jquery/src/var/push.js +0 -5
  248. data/_sass/foundation-sites/node_modules/jquery/src/var/rcssNum.js +0 -7
  249. data/_sass/foundation-sites/node_modules/jquery/src/var/rnotwhite.js +0 -3
  250. data/_sass/foundation-sites/node_modules/jquery/src/var/slice.js +0 -5
  251. data/_sass/foundation-sites/node_modules/jquery/src/var/support.js +0 -5
  252. data/_sass/foundation-sites/node_modules/jquery/src/var/toString.js +0 -5
  253. data/_sass/foundation-sites/node_modules/jquery/src/wrap.js +0 -79
  254. data/_sass/foundation-sites/package.json +0 -148
  255. data/_sass/foundation-sites/scss/_global.scss +0 -638
  256. data/_sass/foundation-sites/scss/components/_accordion-menu.scss +0 -32
  257. data/_sass/foundation-sites/scss/components/_accordion.scss +0 -129
  258. data/_sass/foundation-sites/scss/components/_badge.scss +0 -55
  259. data/_sass/foundation-sites/scss/components/_breadcrumbs.scss +0 -95
  260. data/_sass/foundation-sites/scss/components/_button-group.scss +0 -195
  261. data/_sass/foundation-sites/scss/components/_button.scss +0 -265
  262. data/_sass/foundation-sites/scss/components/_callout.scss +0 -105
  263. data/_sass/foundation-sites/scss/components/_close-button.scss +0 -61
  264. data/_sass/foundation-sites/scss/components/_drilldown.scss +0 -79
  265. data/_sass/foundation-sites/scss/components/_dropdown-menu.scss +0 -221
  266. data/_sass/foundation-sites/scss/components/_dropdown.scss +0 -65
  267. data/_sass/foundation-sites/scss/components/_flex-video.scss +0 -63
  268. data/_sass/foundation-sites/scss/components/_flex.scss +0 -28
  269. data/_sass/foundation-sites/scss/components/_float.scss +0 -27
  270. data/_sass/foundation-sites/scss/components/_label.scss +0 -56
  271. data/_sass/foundation-sites/scss/components/_media-object.scss +0 -115
  272. data/_sass/foundation-sites/scss/components/_menu-icon.scss +0 -9
  273. data/_sass/foundation-sites/scss/components/_menu.scss +0 -314
  274. data/_sass/foundation-sites/scss/components/_off-canvas.scss +0 -177
  275. data/_sass/foundation-sites/scss/components/_orbit.scss +0 -193
  276. data/_sass/foundation-sites/scss/components/_pagination.scss +0 -162
  277. data/_sass/foundation-sites/scss/components/_progress-bar.scss +0 -64
  278. data/_sass/foundation-sites/scss/components/_reveal.scss +0 -172
  279. data/_sass/foundation-sites/scss/components/_slider.scss +0 -133
  280. data/_sass/foundation-sites/scss/components/_sticky.scss +0 -38
  281. data/_sass/foundation-sites/scss/components/_switch.scss +0 -232
  282. data/_sass/foundation-sites/scss/components/_table.scss +0 -234
  283. data/_sass/foundation-sites/scss/components/_tabs.scss +0 -165
  284. data/_sass/foundation-sites/scss/components/_thumbnail.scss +0 -54
  285. data/_sass/foundation-sites/scss/components/_title-bar.scss +0 -89
  286. data/_sass/foundation-sites/scss/components/_tooltip.scss +0 -104
  287. data/_sass/foundation-sites/scss/components/_top-bar.scss +0 -168
  288. data/_sass/foundation-sites/scss/components/_visibility.scss +0 -132
  289. data/_sass/foundation-sites/scss/forms/_checkbox.scss +0 -40
  290. data/_sass/foundation-sites/scss/forms/_error.scss +0 -84
  291. data/_sass/foundation-sites/scss/forms/_fieldset.scss +0 -54
  292. data/_sass/foundation-sites/scss/forms/_forms.scss +0 -34
  293. data/_sass/foundation-sites/scss/forms/_help-text.scss +0 -30
  294. data/_sass/foundation-sites/scss/forms/_input-group.scss +0 -128
  295. data/_sass/foundation-sites/scss/forms/_label.scss +0 -48
  296. data/_sass/foundation-sites/scss/forms/_meter.scss +0 -109
  297. data/_sass/foundation-sites/scss/forms/_progress.scss +0 -85
  298. data/_sass/foundation-sites/scss/forms/_range.scss +0 -144
  299. data/_sass/foundation-sites/scss/forms/_select.scss +0 -67
  300. data/_sass/foundation-sites/scss/forms/_text.scss +0 -163
  301. data/_sass/foundation-sites/scss/foundation.scss +0 -102
  302. data/_sass/foundation-sites/scss/grid/_classes.scss +0 -151
  303. data/_sass/foundation-sites/scss/grid/_column.scss +0 -126
  304. data/_sass/foundation-sites/scss/grid/_flex-grid.scss +0 -274
  305. data/_sass/foundation-sites/scss/grid/_grid.scss +0 -60
  306. data/_sass/foundation-sites/scss/grid/_gutter.scss +0 -34
  307. data/_sass/foundation-sites/scss/grid/_layout.scss +0 -51
  308. data/_sass/foundation-sites/scss/grid/_position.scss +0 -73
  309. data/_sass/foundation-sites/scss/grid/_row.scss +0 -95
  310. data/_sass/foundation-sites/scss/grid/_size.scss +0 -24
  311. data/_sass/foundation-sites/scss/settings/_settings.scss +0 -567
  312. data/_sass/foundation-sites/scss/typography/_alignment.scss +0 -22
  313. data/_sass/foundation-sites/scss/typography/_base.scss +0 -443
  314. data/_sass/foundation-sites/scss/typography/_helpers.scss +0 -77
  315. data/_sass/foundation-sites/scss/typography/_print.scss +0 -77
  316. data/_sass/foundation-sites/scss/typography/_typography.scss +0 -28
  317. data/_sass/foundation-sites/scss/util/_breakpoint.scss +0 -275
  318. data/_sass/foundation-sites/scss/util/_color.scss +0 -60
  319. data/_sass/foundation-sites/scss/util/_flex.scss +0 -68
  320. data/_sass/foundation-sites/scss/util/_mixins.scss +0 -235
  321. data/_sass/foundation-sites/scss/util/_selector.scss +0 -40
  322. data/_sass/foundation-sites/scss/util/_unit.scss +0 -90
  323. data/_sass/foundation-sites/scss/util/_util.scss +0 -11
  324. data/_sass/foundation-sites/scss/util/_value.scss +0 -107
  325. data/_sass/foundation-sites/vendor/fastclick/LICENSE +0 -22
  326. data/_sass/foundation-sites/vendor/fastclick/README.md +0 -140
  327. data/_sass/foundation-sites/vendor/jquery-placeholder/jquery.placeholder.js +0 -192
  328. data/_sass/foundation-sites/vendor/jquery.autocomplete/content/styles.css +0 -9
  329. data/_sass/foundation-sites/vendor/jquery.autocomplete/devbridge-autocomplete.jquery.json +0 -28
  330. data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.js +0 -823
  331. data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.min.js +0 -29
  332. data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/license.txt +0 -21
  333. data/_sass/foundation-sites/vendor/jquery.autocomplete/index.htm +0 -48
  334. data/_sass/foundation-sites/vendor/jquery.autocomplete/license.txt +0 -21
  335. data/_sass/foundation-sites/vendor/jquery.autocomplete/readme.md +0 -165
  336. data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/countries.js +0 -266
  337. data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/demo.js +0 -68
  338. data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery-1.8.2.min.js +0 -2
  339. data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery.mockjax.js +0 -564
  340. data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.d.ts +0 -40
  341. data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.js +0 -823
  342. data/_sass/foundation-sites/vendor/jquery.cookie/jquery.cookie.js +0 -117
  343. data/_sass/foundation-sites/vendor/jquery/AUTHORS.txt +0 -278
  344. data/_sass/foundation-sites/vendor/jquery/LICENSE.txt +0 -36
  345. data/_sass/foundation-sites/vendor/jquery/README.md +0 -65
  346. data/_sass/foundation-sites/vendor/jquery/dist/jquery.js +0 -9842
  347. data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.js +0 -4
  348. data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.map +0 -1
  349. data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.js +0 -7877
  350. data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.js +0 -4
  351. data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.map +0 -1
  352. data/_sass/foundation-sites/vendor/jquery/sizzle/LICENSE.txt +0 -36
  353. data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.js +0 -2143
  354. data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.js +0 -3
  355. data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.map +0 -1
  356. data/_sass/foundation-sites/vendor/jquery/src/ajax.js +0 -845
  357. data/_sass/foundation-sites/vendor/jquery/src/ajax/jsonp.js +0 -100
  358. data/_sass/foundation-sites/vendor/jquery/src/ajax/load.js +0 -83
  359. data/_sass/foundation-sites/vendor/jquery/src/ajax/parseJSON.js +0 -13
  360. data/_sass/foundation-sites/vendor/jquery/src/ajax/parseXML.js +0 -27
  361. data/_sass/foundation-sites/vendor/jquery/src/ajax/script.js +0 -68
  362. data/_sass/foundation-sites/vendor/jquery/src/ajax/var/location.js +0 -3
  363. data/_sass/foundation-sites/vendor/jquery/src/ajax/var/nonce.js +0 -5
  364. data/_sass/foundation-sites/vendor/jquery/src/ajax/var/rquery.js +0 -3
  365. data/_sass/foundation-sites/vendor/jquery/src/ajax/xhr.js +0 -167
  366. data/_sass/foundation-sites/vendor/jquery/src/attributes.js +0 -11
  367. data/_sass/foundation-sites/vendor/jquery/src/attributes/attr.js +0 -142
  368. data/_sass/foundation-sites/vendor/jquery/src/attributes/classes.js +0 -177
  369. data/_sass/foundation-sites/vendor/jquery/src/attributes/prop.js +0 -125
  370. data/_sass/foundation-sites/vendor/jquery/src/attributes/support.js +0 -36
  371. data/_sass/foundation-sites/vendor/jquery/src/attributes/val.js +0 -177
  372. data/_sass/foundation-sites/vendor/jquery/src/callbacks.js +0 -232
  373. data/_sass/foundation-sites/vendor/jquery/src/core.js +0 -494
  374. data/_sass/foundation-sites/vendor/jquery/src/core/DOMEval.js +0 -14
  375. data/_sass/foundation-sites/vendor/jquery/src/core/access.js +0 -65
  376. data/_sass/foundation-sites/vendor/jquery/src/core/init.js +0 -134
  377. data/_sass/foundation-sites/vendor/jquery/src/core/parseHTML.js +0 -41
  378. data/_sass/foundation-sites/vendor/jquery/src/core/ready.js +0 -103
  379. data/_sass/foundation-sites/vendor/jquery/src/core/support.js +0 -18
  380. data/_sass/foundation-sites/vendor/jquery/src/core/var/rsingleTag.js +0 -5
  381. data/_sass/foundation-sites/vendor/jquery/src/css.js +0 -515
  382. data/_sass/foundation-sites/vendor/jquery/src/css/addGetHookIf.js +0 -24
  383. data/_sass/foundation-sites/vendor/jquery/src/css/adjustCSS.js +0 -65
  384. data/_sass/foundation-sites/vendor/jquery/src/css/curCSS.js +0 -60
  385. data/_sass/foundation-sites/vendor/jquery/src/css/defaultDisplay.js +0 -72
  386. data/_sass/foundation-sites/vendor/jquery/src/css/hiddenVisibleSelectors.js +0 -18
  387. data/_sass/foundation-sites/vendor/jquery/src/css/showHide.js +0 -48
  388. data/_sass/foundation-sites/vendor/jquery/src/css/support.js +0 -121
  389. data/_sass/foundation-sites/vendor/jquery/src/css/var/cssExpand.js +0 -3
  390. data/_sass/foundation-sites/vendor/jquery/src/css/var/getStyles.js +0 -15
  391. data/_sass/foundation-sites/vendor/jquery/src/css/var/isHidden.js +0 -16
  392. data/_sass/foundation-sites/vendor/jquery/src/css/var/rmargin.js +0 -3
  393. data/_sass/foundation-sites/vendor/jquery/src/css/var/rnumnonpx.js +0 -5
  394. data/_sass/foundation-sites/vendor/jquery/src/css/var/swap.js +0 -24
  395. data/_sass/foundation-sites/vendor/jquery/src/data.js +0 -187
  396. data/_sass/foundation-sites/vendor/jquery/src/data/Data.js +0 -200
  397. data/_sass/foundation-sites/vendor/jquery/src/data/accepts.js +0 -20
  398. data/_sass/foundation-sites/vendor/jquery/src/data/support.js +0 -23
  399. data/_sass/foundation-sites/vendor/jquery/src/data/var/acceptData.js +0 -18
  400. data/_sass/foundation-sites/vendor/jquery/src/data/var/dataPriv.js +0 -5
  401. data/_sass/foundation-sites/vendor/jquery/src/data/var/dataUser.js +0 -5
  402. data/_sass/foundation-sites/vendor/jquery/src/deferred.js +0 -158
  403. data/_sass/foundation-sites/vendor/jquery/src/deferred/exceptionHook.js +0 -19
  404. data/_sass/foundation-sites/vendor/jquery/src/deprecated.js +0 -32
  405. data/_sass/foundation-sites/vendor/jquery/src/dimensions.js +0 -54
  406. data/_sass/foundation-sites/vendor/jquery/src/effects.js +0 -629
  407. data/_sass/foundation-sites/vendor/jquery/src/effects/Tween.js +0 -121
  408. data/_sass/foundation-sites/vendor/jquery/src/effects/animatedSelector.js +0 -13
  409. data/_sass/foundation-sites/vendor/jquery/src/effects/support.js +0 -58
  410. data/_sass/foundation-sites/vendor/jquery/src/event.js +0 -710
  411. data/_sass/foundation-sites/vendor/jquery/src/event/ajax.js +0 -20
  412. data/_sass/foundation-sites/vendor/jquery/src/event/alias.js +0 -27
  413. data/_sass/foundation-sites/vendor/jquery/src/event/focusin.js +0 -53
  414. data/_sass/foundation-sites/vendor/jquery/src/event/support.js +0 -9
  415. data/_sass/foundation-sites/vendor/jquery/src/event/trigger.js +0 -199
  416. data/_sass/foundation-sites/vendor/jquery/src/exports/amd.js +0 -24
  417. data/_sass/foundation-sites/vendor/jquery/src/exports/global.js +0 -26
  418. data/_sass/foundation-sites/vendor/jquery/src/intro.js +0 -44
  419. data/_sass/foundation-sites/vendor/jquery/src/jquery.js +0 -37
  420. data/_sass/foundation-sites/vendor/jquery/src/manipulation.js +0 -481
  421. data/_sass/foundation-sites/vendor/jquery/src/manipulation/_evalUrl.js +0 -20
  422. data/_sass/foundation-sites/vendor/jquery/src/manipulation/buildFragment.js +0 -102
  423. data/_sass/foundation-sites/vendor/jquery/src/manipulation/createSafeFragment.js +0 -20
  424. data/_sass/foundation-sites/vendor/jquery/src/manipulation/getAll.js +0 -21
  425. data/_sass/foundation-sites/vendor/jquery/src/manipulation/setGlobalEval.js +0 -20
  426. data/_sass/foundation-sites/vendor/jquery/src/manipulation/support.js +0 -33
  427. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/nodeNames.js +0 -5
  428. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rcheckableType.js +0 -3
  429. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rleadingWhitespace.js +0 -3
  430. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rscriptType.js +0 -3
  431. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rtagName.js +0 -3
  432. data/_sass/foundation-sites/vendor/jquery/src/manipulation/wrapMap.js +0 -27
  433. data/_sass/foundation-sites/vendor/jquery/src/offset.js +0 -218
  434. data/_sass/foundation-sites/vendor/jquery/src/outro.js +0 -2
  435. data/_sass/foundation-sites/vendor/jquery/src/queue.js +0 -143
  436. data/_sass/foundation-sites/vendor/jquery/src/queue/delay.js +0 -22
  437. data/_sass/foundation-sites/vendor/jquery/src/selector-native.js +0 -211
  438. data/_sass/foundation-sites/vendor/jquery/src/selector-sizzle.js +0 -14
  439. data/_sass/foundation-sites/vendor/jquery/src/selector.js +0 -1
  440. data/_sass/foundation-sites/vendor/jquery/src/serialize.js +0 -125
  441. data/_sass/foundation-sites/vendor/jquery/src/support.js +0 -63
  442. data/_sass/foundation-sites/vendor/jquery/src/traversing.js +0 -175
  443. data/_sass/foundation-sites/vendor/jquery/src/traversing/findFilter.js +0 -100
  444. data/_sass/foundation-sites/vendor/jquery/src/traversing/var/dir.js +0 -20
  445. data/_sass/foundation-sites/vendor/jquery/src/traversing/var/rneedsContext.js +0 -6
  446. data/_sass/foundation-sites/vendor/jquery/src/traversing/var/siblings.js +0 -15
  447. data/_sass/foundation-sites/vendor/jquery/src/var/arr.js +0 -3
  448. data/_sass/foundation-sites/vendor/jquery/src/var/class2type.js +0 -5
  449. data/_sass/foundation-sites/vendor/jquery/src/var/concat.js +0 -5
  450. data/_sass/foundation-sites/vendor/jquery/src/var/deletedIds.js +0 -3
  451. data/_sass/foundation-sites/vendor/jquery/src/var/document.js +0 -3
  452. data/_sass/foundation-sites/vendor/jquery/src/var/documentElement.js +0 -5
  453. data/_sass/foundation-sites/vendor/jquery/src/var/hasOwn.js +0 -5
  454. data/_sass/foundation-sites/vendor/jquery/src/var/indexOf.js +0 -5
  455. data/_sass/foundation-sites/vendor/jquery/src/var/pnum.js +0 -3
  456. data/_sass/foundation-sites/vendor/jquery/src/var/push.js +0 -5
  457. data/_sass/foundation-sites/vendor/jquery/src/var/rcssNum.js +0 -7
  458. data/_sass/foundation-sites/vendor/jquery/src/var/rnotwhite.js +0 -3
  459. data/_sass/foundation-sites/vendor/jquery/src/var/slice.js +0 -5
  460. data/_sass/foundation-sites/vendor/jquery/src/var/support.js +0 -5
  461. data/_sass/foundation-sites/vendor/jquery/src/var/toString.js +0 -5
  462. data/_sass/foundation-sites/vendor/jquery/src/wrap.js +0 -79
  463. data/_sass/foundation-sites/vendor/lodash/LICENSE.txt +0 -22
  464. data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.js +0 -7158
  465. data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.min.js +0 -92
  466. data/_sass/foundation-sites/vendor/lodash/dist/lodash.js +0 -6786
  467. data/_sass/foundation-sites/vendor/lodash/dist/lodash.min.js +0 -87
  468. data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.js +0 -4979
  469. data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.min.js +0 -39
  470. data/_sass/foundation-sites/vendor/modernizr/feature-detects/a-download.js +0 -8
  471. data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-audiodata-api.js +0 -4
  472. data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-webaudio-api.js +0 -4
  473. data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-api.js +0 -8
  474. data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-level.js +0 -11
  475. data/_sass/foundation-sites/vendor/modernizr/feature-detects/blob-constructor.js +0 -10
  476. data/_sass/foundation-sites/vendor/modernizr/feature-detects/canvas-todataurl-type.js +0 -28
  477. data/_sass/foundation-sites/vendor/modernizr/feature-detects/contenteditable.js +0 -9
  478. data/_sass/foundation-sites/vendor/modernizr/feature-detects/contentsecuritypolicy.js +0 -10
  479. data/_sass/foundation-sites/vendor/modernizr/feature-detects/contextmenu.js +0 -11
  480. data/_sass/foundation-sites/vendor/modernizr/feature-detects/cookies.js +0 -15
  481. data/_sass/foundation-sites/vendor/modernizr/feature-detects/cors.js +0 -3
  482. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-shorthand.js +0 -19
  483. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-xy.js +0 -15
  484. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundrepeat.js +0 -31
  485. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundsizecover.js +0 -10
  486. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-boxsizing.js +0 -9
  487. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-calc.js +0 -12
  488. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-cubicbezierrange.js +0 -8
  489. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displayrunin.js +0 -18
  490. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displaytable.js +0 -27
  491. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-filters.js +0 -7
  492. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-hyphens.js +0 -205
  493. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-lastchild.js +0 -11
  494. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mask.js +0 -12
  495. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mediaqueries.js +0 -3
  496. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-objectfit.js +0 -6
  497. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-overflow-scrolling.js +0 -9
  498. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-pointerevents.js +0 -25
  499. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-positionsticky.js +0 -13
  500. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-regions.js +0 -55
  501. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-remunit.js +0 -19
  502. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-resize.js +0 -8
  503. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-scrollbars.js +0 -19
  504. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-shapes.js +0 -4
  505. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-subpixelfont.js +0 -23
  506. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-supports.js +0 -6
  507. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-userselect.js +0 -10
  508. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vhunit.js +0 -14
  509. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vmaxunit.js +0 -14
  510. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vminunit.js +0 -14
  511. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vwunit.js +0 -14
  512. data/_sass/foundation-sites/vendor/modernizr/feature-detects/custom-protocol-handler.js +0 -10
  513. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dart.js +0 -6
  514. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dataview-api.js +0 -4
  515. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-classlist.js +0 -4
  516. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-createElement-attrs.js +0 -11
  517. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-dataset.js +0 -9
  518. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-microdata.js +0 -4
  519. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-datalist.js +0 -12
  520. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-details.js +0 -25
  521. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-output.js +0 -4
  522. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-progress-meter.js +0 -11
  523. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-ruby.js +0 -53
  524. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-time.js +0 -4
  525. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-track.js +0 -11
  526. data/_sass/foundation-sites/vendor/modernizr/feature-detects/emoji.js +0 -11
  527. data/_sass/foundation-sites/vendor/modernizr/feature-detects/es5-strictmode.js +0 -7
  528. data/_sass/foundation-sites/vendor/modernizr/feature-detects/event-deviceorientation-motion.js +0 -11
  529. data/_sass/foundation-sites/vendor/modernizr/feature-detects/exif-orientation.js +0 -32
  530. data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-api.js +0 -12
  531. data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-filesystem.js +0 -9
  532. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-fileinput.js +0 -13
  533. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-formattribute.js +0 -29
  534. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-inputnumber-l10n.js +0 -32
  535. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-placeholder.js +0 -10
  536. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-speechinput.js +0 -19
  537. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-validation.js +0 -62
  538. data/_sass/foundation-sites/vendor/modernizr/feature-detects/fullscreen-api.js +0 -10
  539. data/_sass/foundation-sites/vendor/modernizr/feature-detects/gamepad.js +0 -12
  540. data/_sass/foundation-sites/vendor/modernizr/feature-detects/getusermedia.js +0 -5
  541. data/_sass/foundation-sites/vendor/modernizr/feature-detects/ie8compat.js +0 -12
  542. data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-sandbox.js +0 -5
  543. data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-seamless.js +0 -5
  544. data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-srcdoc.js +0 -5
  545. data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-apng.js +0 -26
  546. data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-webp.js +0 -20
  547. data/_sass/foundation-sites/vendor/modernizr/feature-detects/json.js +0 -7
  548. data/_sass/foundation-sites/vendor/modernizr/feature-detects/lists-reversed.js +0 -6
  549. data/_sass/foundation-sites/vendor/modernizr/feature-detects/mathml.js +0 -23
  550. data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-connection.js +0 -22
  551. data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-eventsource.js +0 -5
  552. data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-xhr2.js +0 -13
  553. data/_sass/foundation-sites/vendor/modernizr/feature-detects/notification.js +0 -10
  554. data/_sass/foundation-sites/vendor/modernizr/feature-detects/performance.js +0 -5
  555. data/_sass/foundation-sites/vendor/modernizr/feature-detects/pointerlock-api.js +0 -4
  556. data/_sass/foundation-sites/vendor/modernizr/feature-detects/quota-management-api.js +0 -11
  557. data/_sass/foundation-sites/vendor/modernizr/feature-detects/requestanimationframe.js +0 -7
  558. data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-async.js +0 -3
  559. data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-defer.js +0 -3
  560. data/_sass/foundation-sites/vendor/modernizr/feature-detects/style-scoped.js +0 -6
  561. data/_sass/foundation-sites/vendor/modernizr/feature-detects/svg-filters.js +0 -13
  562. data/_sass/foundation-sites/vendor/modernizr/feature-detects/unicode.js +0 -32
  563. data/_sass/foundation-sites/vendor/modernizr/feature-detects/url-data-uri.js +0 -26
  564. data/_sass/foundation-sites/vendor/modernizr/feature-detects/userdata.js +0 -7
  565. data/_sass/foundation-sites/vendor/modernizr/feature-detects/vibration.js +0 -4
  566. data/_sass/foundation-sites/vendor/modernizr/feature-detects/web-intents.js +0 -6
  567. data/_sass/foundation-sites/vendor/modernizr/feature-detects/webgl-extensions.js +0 -42
  568. data/_sass/foundation-sites/vendor/modernizr/feature-detects/websockets-binary.js +0 -20
  569. data/_sass/foundation-sites/vendor/modernizr/feature-detects/window-framed.js +0 -8
  570. data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-blobworkers.js +0 -66
  571. data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-dataworkers.js +0 -34
  572. data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-sharedworkers.js +0 -3
  573. data/_sass/foundation-sites/vendor/modernizr/grunt.js +0 -69
  574. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.ai +1 -292
  575. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.eps +0 -0
  576. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.pdf +1 -292
  577. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.png +0 -0
  578. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.svg +0 -35
  579. data/_sass/foundation-sites/vendor/modernizr/modernizr.js +0 -1406
  580. data/_sass/foundation-sites/vendor/modernizr/readme.md +0 -28
  581. data/assets/js/0.main.fbbba5cee41a3fd5443c.js +0 -56
  582. data/assets/js/0.main.fbbba5cee41a3fd5443c.js.map +0 -1
  583. data/assets/js/main.fbbba5cee41a3fd5443c.0.css +0 -2
  584. data/assets/js/main.fbbba5cee41a3fd5443c.0.css.map +0 -1
  585. data/assets/js/main.fbbba5cee41a3fd5443c.css +0 -6
  586. data/assets/js/main.fbbba5cee41a3fd5443c.css.map +0 -1
  587. data/assets/js/main.fbbba5cee41a3fd5443c.js +0 -1
  588. data/assets/js/main.fbbba5cee41a3fd5443c.js.map +0 -1
@@ -1,386 +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)) {
57
- plugin.$element.attr('data-' + pluginName, plugin.uuid);
58
- }
59
- if (!plugin.$element.data('zfPlugin')) {
60
- plugin.$element.data('zfPlugin', plugin);
61
- }
62
- /**
63
- * Fires when the plugin has initialized.
64
- * @event Plugin#init
65
- */
66
- plugin.$element.trigger('init.zf.' + pluginName);
67
-
68
- this._uuids.push(plugin.uuid);
69
-
70
- return;
71
- },
72
- /**
73
- * @function
74
- * Removes the plugins uuid from the _uuids array.
75
- * Removes the zfPlugin data attribute, as well as the data-plugin-name attribute.
76
- * Also fires the destroyed event for the plugin, consolidating repetitive code.
77
- * @param {Object} plugin - an instance of a plugin, usually `this` in context.
78
- * @fires Plugin#destroyed
79
- */
80
- unregisterPlugin: function (plugin) {
81
- var pluginName = hyphenate(functionName(plugin.$element.data('zfPlugin').constructor));
82
-
83
- this._uuids.splice(this._uuids.indexOf(plugin.uuid), 1);
84
- plugin.$element.removeAttr('data-' + pluginName).removeData('zfPlugin')
85
- /**
86
- * Fires when the plugin has been destroyed.
87
- * @event Plugin#destroyed
88
- */
89
- .trigger('destroyed.zf.' + pluginName);
90
- for (var prop in plugin) {
91
- plugin[prop] = null; //clean up script to prep for garbage collection.
92
- }
93
- return;
94
- },
95
-
96
- /**
97
- * @function
98
- * Causes one or more active plugins to re-initialize, resetting event listeners, recalculating positions, etc.
99
- * @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'`
100
- * @default If no argument is passed, reflow all currently active plugins.
101
- */
102
- reInit: function (plugins) {
103
- var isJQ = plugins instanceof $;
104
- try {
105
- if (isJQ) {
106
- plugins.each(function () {
107
- $(this).data('zfPlugin')._init();
108
- });
109
- } else {
110
- var type = typeof plugins,
111
- _this = this,
112
- fns = {
113
- 'object': function (plgs) {
114
- plgs.forEach(function (p) {
115
- p = hyphenate(p);
116
- $('[data-' + p + ']').foundation('_init');
117
- });
118
- },
119
- 'string': function () {
120
- plugins = hyphenate(plugins);
121
- $('[data-' + plugins + ']').foundation('_init');
122
- },
123
- 'undefined': function () {
124
- this['object'](Object.keys(_this._plugins));
125
- }
126
- };
127
- fns[type](plugins);
128
- }
129
- } catch (err) {
130
- console.error(err);
131
- } finally {
132
- return plugins;
133
- }
134
- },
135
-
136
- /**
137
- * returns a random base-36 uid with namespacing
138
- * @function
139
- * @param {Number} length - number of random base-36 digits desired. Increase for more random strings.
140
- * @param {String} namespace - name of plugin to be incorporated in uid, optional.
141
- * @default {String} '' - if no plugin name is provided, nothing is appended to the uid.
142
- * @returns {String} - unique id
143
- */
144
- GetYoDigits: function (length, namespace) {
145
- length = length || 6;
146
- return Math.round(Math.pow(36, length + 1) - Math.random() * Math.pow(36, length)).toString(36).slice(1) + (namespace ? '-' + namespace : '');
147
- },
148
- /**
149
- * Initialize plugins on any elements within `elem` (and `elem` itself) that aren't already initialized.
150
- * @param {Object} elem - jQuery object containing the element to check inside. Also checks the element itself, unless it's the `document` object.
151
- * @param {String|Array} plugins - A list of plugins to initialize. Leave this out to initialize everything.
152
- */
153
- reflow: function (elem, plugins) {
154
-
155
- // If plugins is undefined, just grab everything
156
- if (typeof plugins === 'undefined') {
157
- plugins = Object.keys(this._plugins);
158
- }
159
- // If plugins is a string, convert it to an array with one item
160
- else if (typeof plugins === 'string') {
161
- plugins = [plugins];
162
- }
163
-
164
- var _this = this;
165
-
166
- // Iterate through each plugin
167
- $.each(plugins, function (i, name) {
168
- // Get the current plugin
169
- var plugin = _this._plugins[name];
170
-
171
- // Localize the search to all elements inside elem, as well as elem itself, unless elem === document
172
- var $elem = $(elem).find('[data-' + name + ']').addBack('[data-' + name + ']');
173
-
174
- // For each plugin found, initialize it
175
- $elem.each(function () {
176
- var $el = $(this),
177
- opts = {};
178
- // Don't double-dip on plugins
179
- if ($el.data('zfPlugin')) {
180
- console.warn("Tried to initialize " + name + " on an element that already has a Foundation plugin.");
181
- return;
182
- }
183
-
184
- if ($el.attr('data-options')) {
185
- var thing = $el.attr('data-options').split(';').forEach(function (e, i) {
186
- var opt = e.split(':').map(function (el) {
187
- return el.trim();
188
- });
189
- if (opt[0]) opts[opt[0]] = parseValue(opt[1]);
190
- });
191
- }
192
- try {
193
- $el.data('zfPlugin', new plugin($(this), opts));
194
- } catch (er) {
195
- console.error(er);
196
- } finally {
197
- return;
198
- }
199
- });
200
- });
201
- },
202
- getFnName: functionName,
203
- transitionend: function ($elem) {
204
- var transitions = {
205
- 'transition': 'transitionend',
206
- 'WebkitTransition': 'webkitTransitionEnd',
207
- 'MozTransition': 'transitionend',
208
- 'OTransition': 'otransitionend'
209
- };
210
- var elem = document.createElement('div'),
211
- end;
212
-
213
- for (var t in transitions) {
214
- if (typeof elem.style[t] !== 'undefined') {
215
- end = transitions[t];
216
- }
217
- }
218
- if (end) {
219
- return end;
220
- } else {
221
- end = setTimeout(function () {
222
- $elem.triggerHandler('transitionend', [$elem]);
223
- }, 1);
224
- return 'transitionend';
225
- }
226
- }
227
- };
228
-
229
- Foundation.util = {
230
- /**
231
- * Function for applying a debounce effect to a function call.
232
- * @function
233
- * @param {Function} func - Function to be called at end of timeout.
234
- * @param {Number} delay - Time in ms to delay the call of `func`.
235
- * @returns function
236
- */
237
- throttle: function (func, delay) {
238
- var timer = null;
239
-
240
- return function () {
241
- var context = this,
242
- args = arguments;
243
-
244
- if (timer === null) {
245
- timer = setTimeout(function () {
246
- func.apply(context, args);
247
- timer = null;
248
- }, delay);
249
- }
250
- };
251
- }
252
- };
253
-
254
- // TODO: consider not making this a jQuery function
255
- // TODO: need way to reflow vs. re-initialize
256
- /**
257
- * The Foundation jQuery method.
258
- * @param {String|Array} method - An action to perform on the current jQuery object.
259
- */
260
- var foundation = function (method) {
261
- var type = typeof method,
262
- $meta = $('meta.foundation-mq'),
263
- $noJS = $('.no-js');
264
-
265
- if (!$meta.length) {
266
- $('<meta class="foundation-mq">').appendTo(document.head);
267
- }
268
- if ($noJS.length) {
269
- $noJS.removeClass('no-js');
270
- }
271
-
272
- if (type === 'undefined') {
273
- //needs to initialize the Foundation object, or an individual plugin.
274
- Foundation.MediaQuery._init();
275
- Foundation.reflow(this);
276
- } else if (type === 'string') {
277
- //an individual method to invoke on a plugin or group of plugins
278
- var args = Array.prototype.slice.call(arguments, 1); //collect all the arguments, if necessary
279
- var plugClass = this.data('zfPlugin'); //determine the class of plugin
280
-
281
- if (plugClass !== undefined && plugClass[method] !== undefined) {
282
- //make sure both the class and method exist
283
- if (this.length === 1) {
284
- //if there's only one, call it directly.
285
- plugClass[method].apply(plugClass, args);
286
- } else {
287
- this.each(function (i, el) {
288
- //otherwise loop through the jQuery collection and invoke the method on each
289
- plugClass[method].apply($(el).data('zfPlugin'), args);
290
- });
291
- }
292
- } else {
293
- //error for no class or no method
294
- throw new ReferenceError("We're sorry, '" + method + "' is not an available method for " + (plugClass ? functionName(plugClass) : 'this element') + '.');
295
- }
296
- } else {
297
- //error for invalid argument type
298
- throw new TypeError('We\'re sorry, ' + type + ' is not a valid parameter. You must use a string representing the method you wish to invoke.');
299
- }
300
- return this;
301
- };
302
-
303
- window.Foundation = Foundation;
304
- $.fn.foundation = foundation;
305
-
306
- // Polyfill for requestAnimationFrame
307
- (function () {
308
- if (!Date.now || !window.Date.now) window.Date.now = Date.now = function () {
309
- return new Date().getTime();
310
- };
311
-
312
- var vendors = ['webkit', 'moz'];
313
- for (var i = 0; i < vendors.length && !window.requestAnimationFrame; ++i) {
314
- var vp = vendors[i];
315
- window.requestAnimationFrame = window[vp + 'RequestAnimationFrame'];
316
- window.cancelAnimationFrame = window[vp + 'CancelAnimationFrame'] || window[vp + 'CancelRequestAnimationFrame'];
317
- }
318
- if (/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent) || !window.requestAnimationFrame || !window.cancelAnimationFrame) {
319
- var lastTime = 0;
320
- window.requestAnimationFrame = function (callback) {
321
- var now = Date.now();
322
- var nextTime = Math.max(lastTime + 16, now);
323
- return setTimeout(function () {
324
- callback(lastTime = nextTime);
325
- }, nextTime - now);
326
- };
327
- window.cancelAnimationFrame = clearTimeout;
328
- }
329
- /**
330
- * Polyfill for performance.now, required by rAF
331
- */
332
- if (!window.performance || !window.performance.now) {
333
- window.performance = {
334
- start: Date.now(),
335
- now: function () {
336
- return Date.now() - this.start;
337
- }
338
- };
339
- }
340
- })();
341
- if (!Function.prototype.bind) {
342
- Function.prototype.bind = function (oThis) {
343
- if (typeof this !== 'function') {
344
- // closest thing possible to the ECMAScript 5
345
- // internal IsCallable function
346
- throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable');
347
- }
348
-
349
- var aArgs = Array.prototype.slice.call(arguments, 1),
350
- fToBind = this,
351
- fNOP = function () {},
352
- fBound = function () {
353
- return fToBind.apply(this instanceof fNOP ? this : oThis, aArgs.concat(Array.prototype.slice.call(arguments)));
354
- };
355
-
356
- if (this.prototype) {
357
- // native functions don't have a prototype
358
- fNOP.prototype = this.prototype;
359
- }
360
- fBound.prototype = new fNOP();
361
-
362
- return fBound;
363
- };
364
- }
365
- // Polyfill to get the name of a function in IE9
366
- function functionName(fn) {
367
- if (Function.prototype.name === undefined) {
368
- var funcNameRegex = /function\s([^(]{1,})\(/;
369
- var results = funcNameRegex.exec(fn.toString());
370
- return results && results.length > 1 ? results[1].trim() : "";
371
- } else if (fn.prototype === undefined) {
372
- return fn.constructor.name;
373
- } else {
374
- return fn.prototype.constructor.name;
375
- }
376
- }
377
- function parseValue(str) {
378
- if (/true/.test(str)) return true;else if (/false/.test(str)) return false;else if (!isNaN(str * 1)) return parseFloat(str);
379
- return str;
380
- }
381
- // Convert PascalCase to kebab-case
382
- // Thank you: http://stackoverflow.com/a/8955580
383
- function hyphenate(str) {
384
- return str.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
385
- }
386
- }(jQuery);
@@ -1,409 +0,0 @@
1
- 'use strict';
2
-
3
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
4
-
5
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6
-
7
- !function ($) {
8
-
9
- /**
10
- * Drilldown module.
11
- * @module foundation.drilldown
12
- * @requires foundation.util.keyboard
13
- * @requires foundation.util.motion
14
- * @requires foundation.util.nest
15
- */
16
-
17
- var Drilldown = function () {
18
- /**
19
- * Creates a new instance of a drilldown menu.
20
- * @class
21
- * @param {jQuery} element - jQuery object to make into an accordion menu.
22
- * @param {Object} options - Overrides to the default plugin settings.
23
- */
24
-
25
- function Drilldown(element, options) {
26
- _classCallCheck(this, Drilldown);
27
-
28
- this.$element = element;
29
- this.options = $.extend({}, Drilldown.defaults, this.$element.data(), options);
30
-
31
- Foundation.Nest.Feather(this.$element, 'drilldown');
32
-
33
- this._init();
34
-
35
- Foundation.registerPlugin(this, 'Drilldown');
36
- Foundation.Keyboard.register('Drilldown', {
37
- 'ENTER': 'open',
38
- 'SPACE': 'open',
39
- 'ARROW_RIGHT': 'next',
40
- 'ARROW_UP': 'up',
41
- 'ARROW_DOWN': 'down',
42
- 'ARROW_LEFT': 'previous',
43
- 'ESCAPE': 'close',
44
- 'TAB': 'down',
45
- 'SHIFT_TAB': 'up'
46
- });
47
- }
48
-
49
- /**
50
- * Initializes the drilldown by creating jQuery collections of elements
51
- * @private
52
- */
53
-
54
-
55
- _createClass(Drilldown, [{
56
- key: '_init',
57
- value: function _init() {
58
- this.$submenuAnchors = this.$element.find('li.is-drilldown-submenu-parent').children('a');
59
- this.$submenus = this.$submenuAnchors.parent('li').children('[data-submenu]');
60
- this.$menuItems = this.$element.find('li').not('.js-drilldown-back').attr('role', 'menuitem').find('a');
61
-
62
- this._prepareMenu();
63
-
64
- this._keyboardEvents();
65
- }
66
-
67
- /**
68
- * prepares drilldown menu by setting attributes to links and elements
69
- * sets a min height to prevent content jumping
70
- * wraps the element if not already wrapped
71
- * @private
72
- * @function
73
- */
74
-
75
- }, {
76
- key: '_prepareMenu',
77
- value: function _prepareMenu() {
78
- var _this = this;
79
- // if(!this.options.holdOpen){
80
- // this._menuLinkEvents();
81
- // }
82
- this.$submenuAnchors.each(function () {
83
- var $link = $(this);
84
- var $sub = $link.parent();
85
- if (_this.options.parentLink) {
86
- $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>');
87
- }
88
- $link.data('savedHref', $link.attr('href')).removeAttr('href');
89
- $link.children('[data-submenu]').attr({
90
- 'aria-hidden': true,
91
- 'tabindex': 0,
92
- 'role': 'menu'
93
- });
94
- _this._events($link);
95
- });
96
- this.$submenus.each(function () {
97
- var $menu = $(this),
98
- $back = $menu.find('.js-drilldown-back');
99
- if (!$back.length) {
100
- $menu.prepend(_this.options.backButton);
101
- }
102
- _this._back($menu);
103
- });
104
- if (!this.$element.parent().hasClass('is-drilldown')) {
105
- this.$wrapper = $(this.options.wrapper).addClass('is-drilldown');
106
- this.$wrapper = this.$element.wrap(this.$wrapper).parent().css(this._getMaxDims());
107
- }
108
- }
109
-
110
- /**
111
- * Adds event handlers to elements in the menu.
112
- * @function
113
- * @private
114
- * @param {jQuery} $elem - the current menu item to add handlers to.
115
- */
116
-
117
- }, {
118
- key: '_events',
119
- value: function _events($elem) {
120
- var _this = this;
121
-
122
- $elem.off('click.zf.drilldown').on('click.zf.drilldown', function (e) {
123
- if ($(e.target).parentsUntil('ul', 'li').hasClass('is-drilldown-submenu-parent')) {
124
- e.stopImmediatePropagation();
125
- e.preventDefault();
126
- }
127
-
128
- // if(e.target !== e.currentTarget.firstElementChild){
129
- // return false;
130
- // }
131
- _this._show($elem.parent('li'));
132
-
133
- if (_this.options.closeOnClick) {
134
- var $body = $('body');
135
- $body.off('.zf.drilldown').on('click.zf.drilldown', function (e) {
136
- if (e.target === _this.$element[0] || $.contains(_this.$element[0], e.target)) {
137
- return;
138
- }
139
- e.preventDefault();
140
- _this._hideAll();
141
- $body.off('.zf.drilldown');
142
- });
143
- }
144
- });
145
- }
146
-
147
- /**
148
- * Adds keydown event listener to `li`'s in the menu.
149
- * @private
150
- */
151
-
152
- }, {
153
- key: '_keyboardEvents',
154
- value: function _keyboardEvents() {
155
- var _this = this;
156
-
157
- this.$menuItems.add(this.$element.find('.js-drilldown-back > a')).on('keydown.zf.drilldown', function (e) {
158
-
159
- var $element = $(this),
160
- $elements = $element.parent('li').parent('ul').children('li').children('a'),
161
- $prevElement,
162
- $nextElement;
163
-
164
- $elements.each(function (i) {
165
- if ($(this).is($element)) {
166
- $prevElement = $elements.eq(Math.max(0, i - 1));
167
- $nextElement = $elements.eq(Math.min(i + 1, $elements.length - 1));
168
- return;
169
- }
170
- });
171
-
172
- Foundation.Keyboard.handleKey(e, 'Drilldown', {
173
- next: function () {
174
- if ($element.is(_this.$submenuAnchors)) {
175
- _this._show($element.parent('li'));
176
- $element.parent('li').one(Foundation.transitionend($element), function () {
177
- $element.parent('li').find('ul li a').filter(_this.$menuItems).first().focus();
178
- });
179
- return true;
180
- }
181
- },
182
- previous: function () {
183
- _this._hide($element.parent('li').parent('ul'));
184
- $element.parent('li').parent('ul').one(Foundation.transitionend($element), function () {
185
- setTimeout(function () {
186
- $element.parent('li').parent('ul').parent('li').children('a').first().focus();
187
- }, 1);
188
- });
189
- return true;
190
- },
191
- up: function () {
192
- $prevElement.focus();
193
- return true;
194
- },
195
- down: function () {
196
- $nextElement.focus();
197
- return true;
198
- },
199
- close: function () {
200
- _this._back();
201
- //_this.$menuItems.first().focus(); // focus to first element
202
- },
203
- open: function () {
204
- if (!$element.is(_this.$menuItems)) {
205
- // not menu item means back button
206
- _this._hide($element.parent('li').parent('ul'));
207
- $element.parent('li').parent('ul').one(Foundation.transitionend($element), function () {
208
- setTimeout(function () {
209
- $element.parent('li').parent('ul').parent('li').children('a').first().focus();
210
- }, 1);
211
- });
212
- } else if ($element.is(_this.$submenuAnchors)) {
213
- _this._show($element.parent('li'));
214
- $element.parent('li').one(Foundation.transitionend($element), function () {
215
- $element.parent('li').find('ul li a').filter(_this.$menuItems).first().focus();
216
- });
217
- }
218
- return true;
219
- },
220
- handled: function (preventDefault) {
221
- if (preventDefault) {
222
- e.preventDefault();
223
- }
224
- e.stopImmediatePropagation();
225
- }
226
- });
227
- }); // end keyboardAccess
228
- }
229
-
230
- /**
231
- * Closes all open elements, and returns to root menu.
232
- * @function
233
- * @fires Drilldown#closed
234
- */
235
-
236
- }, {
237
- key: '_hideAll',
238
- value: function _hideAll() {
239
- var $elem = this.$element.find('.is-drilldown-submenu.is-active').addClass('is-closing');
240
- $elem.one(Foundation.transitionend($elem), function (e) {
241
- $elem.removeClass('is-active is-closing');
242
- });
243
- /**
244
- * Fires when the menu is fully closed.
245
- * @event Drilldown#closed
246
- */
247
- this.$element.trigger('closed.zf.drilldown');
248
- }
249
-
250
- /**
251
- * Adds event listener for each `back` button, and closes open menus.
252
- * @function
253
- * @fires Drilldown#back
254
- * @param {jQuery} $elem - the current sub-menu to add `back` event.
255
- */
256
-
257
- }, {
258
- key: '_back',
259
- value: function _back($elem) {
260
- var _this = this;
261
- $elem.off('click.zf.drilldown');
262
- $elem.children('.js-drilldown-back').on('click.zf.drilldown', function (e) {
263
- e.stopImmediatePropagation();
264
- // console.log('mouseup on back');
265
- _this._hide($elem);
266
- });
267
- }
268
-
269
- /**
270
- * Adds event listener to menu items w/o submenus to close open menus on click.
271
- * @function
272
- * @private
273
- */
274
-
275
- }, {
276
- key: '_menuLinkEvents',
277
- value: function _menuLinkEvents() {
278
- var _this = this;
279
- this.$menuItems.not('.is-drilldown-submenu-parent').off('click.zf.drilldown').on('click.zf.drilldown', function (e) {
280
- // e.stopImmediatePropagation();
281
- setTimeout(function () {
282
- _this._hideAll();
283
- }, 0);
284
- });
285
- }
286
-
287
- /**
288
- * Opens a submenu.
289
- * @function
290
- * @fires Drilldown#open
291
- * @param {jQuery} $elem - the current element with a submenu to open, i.e. the `li` tag.
292
- */
293
-
294
- }, {
295
- key: '_show',
296
- value: function _show($elem) {
297
- $elem.children('[data-submenu]').addClass('is-active');
298
- /**
299
- * Fires when the submenu has opened.
300
- * @event Drilldown#open
301
- */
302
- this.$element.trigger('open.zf.drilldown', [$elem]);
303
- }
304
- }, {
305
- key: '_hide',
306
-
307
-
308
- /**
309
- * Hides a submenu
310
- * @function
311
- * @fires Drilldown#hide
312
- * @param {jQuery} $elem - the current sub-menu to hide, i.e. the `ul` tag.
313
- */
314
- value: function _hide($elem) {
315
- var _this = this;
316
- $elem.addClass('is-closing').one(Foundation.transitionend($elem), function () {
317
- $elem.removeClass('is-active is-closing');
318
- $elem.blur();
319
- });
320
- /**
321
- * Fires when the submenu has closed.
322
- * @event Drilldown#hide
323
- */
324
- $elem.trigger('hide.zf.drilldown', [$elem]);
325
- }
326
-
327
- /**
328
- * Iterates through the nested menus to calculate the min-height, and max-width for the menu.
329
- * Prevents content jumping.
330
- * @function
331
- * @private
332
- */
333
-
334
- }, {
335
- key: '_getMaxDims',
336
- value: function _getMaxDims() {
337
- var max = 0,
338
- result = {};
339
- this.$submenus.add(this.$element).each(function () {
340
- var numOfElems = $(this).children('li').length;
341
- max = numOfElems > max ? numOfElems : max;
342
- });
343
-
344
- result['min-height'] = max * this.$menuItems[0].getBoundingClientRect().height + 'px';
345
- result['max-width'] = this.$element[0].getBoundingClientRect().width + 'px';
346
-
347
- return result;
348
- }
349
-
350
- /**
351
- * Destroys the Drilldown Menu
352
- * @function
353
- */
354
-
355
- }, {
356
- key: 'destroy',
357
- value: function destroy() {
358
- this._hideAll();
359
- Foundation.Nest.Burn(this.$element, 'drilldown');
360
- this.$element.unwrap().find('.js-drilldown-back, .is-submenu-parent-item').remove().end().find('.is-active, .is-closing, .is-drilldown-submenu').removeClass('is-active is-closing is-drilldown-submenu').end().find('[data-submenu]').removeAttr('aria-hidden tabindex role');
361
- this.$submenuAnchors.each(function () {
362
- $(this).off('.zf.drilldown');
363
- });
364
- this.$element.find('a').each(function () {
365
- var $link = $(this);
366
- if ($link.data('savedHref')) {
367
- $link.attr('href', $link.data('savedHref')).removeData('savedHref');
368
- } else {
369
- return;
370
- }
371
- });
372
- Foundation.unregisterPlugin(this);
373
- }
374
- }]);
375
-
376
- return Drilldown;
377
- }();
378
-
379
- Drilldown.defaults = {
380
- /**
381
- * 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.
382
- * @option
383
- * @example '<\li><\a>Back<\/a><\/li>'
384
- */
385
- backButton: '<li class="js-drilldown-back"><a tabindex="0">Back</a></li>',
386
- /**
387
- * 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.
388
- * @option
389
- * @example '<\div class="is-drilldown"><\/div>'
390
- */
391
- wrapper: '<div></div>',
392
- /**
393
- * Adds the parent link to the submenu.
394
- * @option
395
- * @example false
396
- */
397
- parentLink: false,
398
- /**
399
- * Allow the menu to return to root list on body click.
400
- * @option
401
- * @example false
402
- */
403
- closeOnClick: false
404
- // holdOpen: false
405
- };
406
-
407
- // Window exports
408
- Foundation.plugin(Drilldown, 'Drilldown');
409
- }(jQuery);