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,409 +0,0 @@
1
- 'use strict';
2
-
3
- !function($) {
4
-
5
- /**
6
- * Dropdown module.
7
- * @module foundation.dropdown
8
- * @requires foundation.util.keyboard
9
- * @requires foundation.util.box
10
- * @requires foundation.util.triggers
11
- */
12
-
13
- class Dropdown {
14
- /**
15
- * Creates a new instance of a dropdown.
16
- * @class
17
- * @param {jQuery} element - jQuery object to make into a dropdown.
18
- * Object should be of the dropdown panel, rather than its anchor.
19
- * @param {Object} options - Overrides to the default plugin settings.
20
- */
21
- constructor(element, options) {
22
- this.$element = element;
23
- this.options = $.extend({}, Dropdown.defaults, this.$element.data(), options);
24
- this._init();
25
-
26
- Foundation.registerPlugin(this, 'Dropdown');
27
- Foundation.Keyboard.register('Dropdown', {
28
- 'ENTER': 'open',
29
- 'SPACE': 'open',
30
- 'ESCAPE': 'close',
31
- 'TAB': 'tab_forward',
32
- 'SHIFT_TAB': 'tab_backward'
33
- });
34
- }
35
-
36
- /**
37
- * Initializes the plugin by setting/checking options and attributes, adding helper variables, and saving the anchor.
38
- * @function
39
- * @private
40
- */
41
- _init() {
42
- var $id = this.$element.attr('id');
43
-
44
- this.$anchor = $(`[data-toggle="${$id}"]`) || $(`[data-open="${$id}"]`);
45
- this.$anchor.attr({
46
- 'aria-controls': $id,
47
- 'data-is-focus': false,
48
- 'data-yeti-box': $id,
49
- 'aria-haspopup': true,
50
- 'aria-expanded': false
51
-
52
- });
53
-
54
- this.options.positionClass = this.getPositionClass();
55
- this.counter = 4;
56
- this.usedPositions = [];
57
- this.$element.attr({
58
- 'aria-hidden': 'true',
59
- 'data-yeti-box': $id,
60
- 'data-resize': $id,
61
- 'aria-labelledby': this.$anchor[0].id || Foundation.GetYoDigits(6, 'dd-anchor')
62
- });
63
- this._events();
64
- }
65
-
66
- /**
67
- * Helper function to determine current orientation of dropdown pane.
68
- * @function
69
- * @returns {String} position - string value of a position class.
70
- */
71
- getPositionClass() {
72
- var verticalPosition = this.$element[0].className.match(/(top|left|right|bottom)/g);
73
- verticalPosition = verticalPosition ? verticalPosition[0] : '';
74
- var horizontalPosition = /float-(\S+)\s/.exec(this.$anchor[0].className);
75
- horizontalPosition = horizontalPosition ? horizontalPosition[1] : '';
76
- var position = horizontalPosition ? horizontalPosition + ' ' + verticalPosition : verticalPosition;
77
- return position;
78
- }
79
-
80
- /**
81
- * Adjusts the dropdown panes orientation by adding/removing positioning classes.
82
- * @function
83
- * @private
84
- * @param {String} position - position class to remove.
85
- */
86
- _reposition(position) {
87
- this.usedPositions.push(position ? position : 'bottom');
88
- //default, try switching to opposite side
89
- if(!position && (this.usedPositions.indexOf('top') < 0)){
90
- this.$element.addClass('top');
91
- }else if(position === 'top' && (this.usedPositions.indexOf('bottom') < 0)){
92
- this.$element.removeClass(position);
93
- }else if(position === 'left' && (this.usedPositions.indexOf('right') < 0)){
94
- this.$element.removeClass(position)
95
- .addClass('right');
96
- }else if(position === 'right' && (this.usedPositions.indexOf('left') < 0)){
97
- this.$element.removeClass(position)
98
- .addClass('left');
99
- }
100
-
101
- //if default change didn't work, try bottom or left first
102
- else if(!position && (this.usedPositions.indexOf('top') > -1) && (this.usedPositions.indexOf('left') < 0)){
103
- this.$element.addClass('left');
104
- }else if(position === 'top' && (this.usedPositions.indexOf('bottom') > -1) && (this.usedPositions.indexOf('left') < 0)){
105
- this.$element.removeClass(position)
106
- .addClass('left');
107
- }else if(position === 'left' && (this.usedPositions.indexOf('right') > -1) && (this.usedPositions.indexOf('bottom') < 0)){
108
- this.$element.removeClass(position);
109
- }else if(position === 'right' && (this.usedPositions.indexOf('left') > -1) && (this.usedPositions.indexOf('bottom') < 0)){
110
- this.$element.removeClass(position);
111
- }
112
- //if nothing cleared, set to bottom
113
- else{
114
- this.$element.removeClass(position);
115
- }
116
- this.classChanged = true;
117
- this.counter--;
118
- }
119
-
120
- /**
121
- * Sets the position and orientation of the dropdown pane, checks for collisions.
122
- * Recursively calls itself if a collision is detected, with a new position class.
123
- * @function
124
- * @private
125
- */
126
- _setPosition() {
127
- if(this.$anchor.attr('aria-expanded') === 'false'){ return false; }
128
- var position = this.getPositionClass(),
129
- $eleDims = Foundation.Box.GetDimensions(this.$element),
130
- $anchorDims = Foundation.Box.GetDimensions(this.$anchor),
131
- _this = this,
132
- direction = (position === 'left' ? 'left' : ((position === 'right') ? 'left' : 'top')),
133
- param = (direction === 'top') ? 'height' : 'width',
134
- offset = (param === 'height') ? this.options.vOffset : this.options.hOffset;
135
-
136
-
137
-
138
- if(($eleDims.width >= $eleDims.windowDims.width) || (!this.counter && !Foundation.Box.ImNotTouchingYou(this.$element))){
139
- this.$element.offset(Foundation.Box.GetOffsets(this.$element, this.$anchor, 'center bottom', this.options.vOffset, this.options.hOffset, true)).css({
140
- 'width': $eleDims.windowDims.width - (this.options.hOffset * 2),
141
- 'height': 'auto'
142
- });
143
- this.classChanged = true;
144
- return false;
145
- }
146
-
147
- this.$element.offset(Foundation.Box.GetOffsets(this.$element, this.$anchor, position, this.options.vOffset, this.options.hOffset));
148
-
149
- while(!Foundation.Box.ImNotTouchingYou(this.$element, false, true) && this.counter){
150
- this._reposition(position);
151
- this._setPosition();
152
- }
153
- }
154
-
155
- /**
156
- * Adds event listeners to the element utilizing the triggers utility library.
157
- * @function
158
- * @private
159
- */
160
- _events() {
161
- var _this = this;
162
- this.$element.on({
163
- 'open.zf.trigger': this.open.bind(this),
164
- 'close.zf.trigger': this.close.bind(this),
165
- 'toggle.zf.trigger': this.toggle.bind(this),
166
- 'resizeme.zf.trigger': this._setPosition.bind(this)
167
- });
168
-
169
- if(this.options.hover){
170
- this.$anchor.off('mouseenter.zf.dropdown mouseleave.zf.dropdown')
171
- .on('mouseenter.zf.dropdown', function(){
172
- clearTimeout(_this.timeout);
173
- _this.timeout = setTimeout(function(){
174
- _this.open();
175
- _this.$anchor.data('hover', true);
176
- }, _this.options.hoverDelay);
177
- }).on('mouseleave.zf.dropdown', function(){
178
- clearTimeout(_this.timeout);
179
- _this.timeout = setTimeout(function(){
180
- _this.close();
181
- _this.$anchor.data('hover', false);
182
- }, _this.options.hoverDelay);
183
- });
184
- if(this.options.hoverPane){
185
- this.$element.off('mouseenter.zf.dropdown mouseleave.zf.dropdown')
186
- .on('mouseenter.zf.dropdown', function(){
187
- clearTimeout(_this.timeout);
188
- }).on('mouseleave.zf.dropdown', function(){
189
- clearTimeout(_this.timeout);
190
- _this.timeout = setTimeout(function(){
191
- _this.close();
192
- _this.$anchor.data('hover', false);
193
- }, _this.options.hoverDelay);
194
- });
195
- }
196
- }
197
- this.$anchor.add(this.$element).on('keydown.zf.dropdown', function(e) {
198
-
199
- var $target = $(this),
200
- visibleFocusableElements = Foundation.Keyboard.findFocusable(_this.$element);
201
-
202
- Foundation.Keyboard.handleKey(e, 'Dropdown', {
203
- tab_forward: function() {
204
- if (_this.$element.find(':focus').is(visibleFocusableElements.eq(-1))) { // left modal downwards, setting focus to first element
205
- if (_this.options.trapFocus) { // if focus shall be trapped
206
- visibleFocusableElements.eq(0).focus();
207
- e.preventDefault();
208
- } else { // if focus is not trapped, close dropdown on focus out
209
- _this.close();
210
- }
211
- }
212
- },
213
- tab_backward: function() {
214
- if (_this.$element.find(':focus').is(visibleFocusableElements.eq(0)) || _this.$element.is(':focus')) { // left modal upwards, setting focus to last element
215
- if (_this.options.trapFocus) { // if focus shall be trapped
216
- visibleFocusableElements.eq(-1).focus();
217
- e.preventDefault();
218
- } else { // if focus is not trapped, close dropdown on focus out
219
- _this.close();
220
- }
221
- }
222
- },
223
- open: function() {
224
- if ($target.is(_this.$anchor)) {
225
- _this.open();
226
- _this.$element.attr('tabindex', -1).focus();
227
- e.preventDefault();
228
- }
229
- },
230
- close: function() {
231
- _this.close();
232
- _this.$anchor.focus();
233
- }
234
- });
235
- });
236
- }
237
-
238
- /**
239
- * Adds an event handler to the body to close any dropdowns on a click.
240
- * @function
241
- * @private
242
- */
243
- _addBodyHandler() {
244
- var $body = $(document.body).not(this.$element),
245
- _this = this;
246
- $body.off('click.zf.dropdown')
247
- .on('click.zf.dropdown', function(e){
248
- if(_this.$anchor.is(e.target) || _this.$anchor.find(e.target).length) {
249
- return;
250
- }
251
- if(_this.$element.find(e.target).length) {
252
- return;
253
- }
254
- _this.close();
255
- $body.off('click.zf.dropdown');
256
- });
257
- }
258
-
259
- /**
260
- * Opens the dropdown pane, and fires a bubbling event to close other dropdowns.
261
- * @function
262
- * @fires Dropdown#closeme
263
- * @fires Dropdown#show
264
- */
265
- open() {
266
- // var _this = this;
267
- /**
268
- * Fires to close other open dropdowns
269
- * @event Dropdown#closeme
270
- */
271
- this.$element.trigger('closeme.zf.dropdown', this.$element.attr('id'));
272
- this.$anchor.addClass('hover')
273
- .attr({'aria-expanded': true});
274
- // this.$element/*.show()*/;
275
- this._setPosition();
276
- this.$element.addClass('is-open')
277
- .attr({'aria-hidden': false});
278
-
279
- if(this.options.autoFocus){
280
- var $focusable = Foundation.Keyboard.findFocusable(this.$element);
281
- if($focusable.length){
282
- $focusable.eq(0).focus();
283
- }
284
- }
285
-
286
- if(this.options.closeOnClick){ this._addBodyHandler(); }
287
-
288
- /**
289
- * Fires once the dropdown is visible.
290
- * @event Dropdown#show
291
- */
292
- this.$element.trigger('show.zf.dropdown', [this.$element]);
293
- }
294
-
295
- /**
296
- * Closes the open dropdown pane.
297
- * @function
298
- * @fires Dropdown#hide
299
- */
300
- close() {
301
- if(!this.$element.hasClass('is-open')){
302
- return false;
303
- }
304
- this.$element.removeClass('is-open')
305
- .attr({'aria-hidden': true});
306
-
307
- this.$anchor.removeClass('hover')
308
- .attr('aria-expanded', false);
309
-
310
- if(this.classChanged){
311
- var curPositionClass = this.getPositionClass();
312
- if(curPositionClass){
313
- this.$element.removeClass(curPositionClass);
314
- }
315
- this.$element.addClass(this.options.positionClass)
316
- /*.hide()*/.css({height: '', width: ''});
317
- this.classChanged = false;
318
- this.counter = 4;
319
- this.usedPositions.length = 0;
320
- }
321
- this.$element.trigger('hide.zf.dropdown', [this.$element]);
322
- }
323
-
324
- /**
325
- * Toggles the dropdown pane's visibility.
326
- * @function
327
- */
328
- toggle() {
329
- if(this.$element.hasClass('is-open')){
330
- if(this.$anchor.data('hover')) return;
331
- this.close();
332
- }else{
333
- this.open();
334
- }
335
- }
336
-
337
- /**
338
- * Destroys the dropdown.
339
- * @function
340
- */
341
- destroy() {
342
- this.$element.off('.zf.trigger').hide();
343
- this.$anchor.off('.zf.dropdown');
344
-
345
- Foundation.unregisterPlugin(this);
346
- }
347
- }
348
-
349
- Dropdown.defaults = {
350
- /**
351
- * Amount of time to delay opening a submenu on hover event.
352
- * @option
353
- * @example 250
354
- */
355
- hoverDelay: 250,
356
- /**
357
- * Allow submenus to open on hover events
358
- * @option
359
- * @example false
360
- */
361
- hover: false,
362
- /**
363
- * Don't close dropdown when hovering over dropdown pane
364
- * @option
365
- * @example true
366
- */
367
- hoverPane: false,
368
- /**
369
- * Number of pixels between the dropdown pane and the triggering element on open.
370
- * @option
371
- * @example 1
372
- */
373
- vOffset: 1,
374
- /**
375
- * Number of pixels between the dropdown pane and the triggering element on open.
376
- * @option
377
- * @example 1
378
- */
379
- hOffset: 1,
380
- /**
381
- * Class applied to adjust open position. JS will test and fill this in.
382
- * @option
383
- * @example 'top'
384
- */
385
- positionClass: '',
386
- /**
387
- * Allow the plugin to trap focus to the dropdown pane if opened with keyboard commands.
388
- * @option
389
- * @example false
390
- */
391
- trapFocus: false,
392
- /**
393
- * Allow the plugin to set focus to the first focusable element within the pane, regardless of method of opening.
394
- * @option
395
- * @example true
396
- */
397
- autoFocus: false,
398
- /**
399
- * Allows a click on the body to close the dropdown.
400
- * @option
401
- * @example false
402
- */
403
- closeOnClick: false
404
- }
405
-
406
- // Window exports
407
- Foundation.plugin(Dropdown, 'Dropdown');
408
-
409
- }(jQuery);
@@ -1,404 +0,0 @@
1
- 'use strict';
2
-
3
- !function($) {
4
-
5
- /**
6
- * DropdownMenu module.
7
- * @module foundation.dropdown-menu
8
- * @requires foundation.util.keyboard
9
- * @requires foundation.util.box
10
- * @requires foundation.util.nest
11
- */
12
-
13
- class DropdownMenu {
14
- /**
15
- * Creates a new instance of DropdownMenu.
16
- * @class
17
- * @fires DropdownMenu#init
18
- * @param {jQuery} element - jQuery object to make into a dropdown menu.
19
- * @param {Object} options - Overrides to the default plugin settings.
20
- */
21
- constructor(element, options) {
22
- this.$element = element;
23
- this.options = $.extend({}, DropdownMenu.defaults, this.$element.data(), options);
24
-
25
- Foundation.Nest.Feather(this.$element, 'dropdown');
26
- this._init();
27
-
28
- Foundation.registerPlugin(this, 'DropdownMenu');
29
- Foundation.Keyboard.register('DropdownMenu', {
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
- });
38
- }
39
-
40
- /**
41
- * Initializes the plugin, and calls _prepareMenu
42
- * @private
43
- * @function
44
- */
45
- _init() {
46
- var subs = this.$element.find('li.is-dropdown-submenu-parent');
47
- this.$element.children('.is-dropdown-submenu-parent').children('.is-dropdown-submenu').addClass('first-sub');
48
-
49
- this.$menuItems = this.$element.find('[role="menuitem"]');
50
- this.$tabs = this.$element.children('[role="menuitem"]');
51
- this.$tabs.find('ul.is-dropdown-submenu').addClass(this.options.verticalClass);
52
-
53
- if (this.$element.hasClass(this.options.rightClass) || this.options.alignment === 'right' || Foundation.rtl() || this.$element.parents('.top-bar-right').is('*')) {
54
- this.options.alignment = 'right';
55
- subs.addClass('opens-left');
56
- } else {
57
- subs.addClass('opens-right');
58
- }
59
- this.changed = false;
60
- this._events();
61
- };
62
- /**
63
- * Adds event listeners to elements within the menu
64
- * @private
65
- * @function
66
- */
67
- _events() {
68
- var _this = this,
69
- hasTouch = 'ontouchstart' in window || (typeof window.ontouchstart !== 'undefined'),
70
- parClass = 'is-dropdown-submenu-parent';
71
-
72
- // used for onClick and in the keyboard handlers
73
- var handleClickFn = function(e) {
74
- var $elem = $(e.target).parentsUntil('ul', `.${parClass}`),
75
- hasSub = $elem.hasClass(parClass),
76
- hasClicked = $elem.attr('data-is-click') === 'true',
77
- $sub = $elem.children('.is-dropdown-submenu');
78
-
79
- if (hasSub) {
80
- if (hasClicked) {
81
- if (!_this.options.closeOnClick || (!_this.options.clickOpen && !hasTouch) || (_this.options.forceFollow && hasTouch)) { return; }
82
- else {
83
- e.stopImmediatePropagation();
84
- e.preventDefault();
85
- _this._hide($elem);
86
- }
87
- } else {
88
- e.preventDefault();
89
- e.stopImmediatePropagation();
90
- _this._show($elem.children('.is-dropdown-submenu'));
91
- $elem.add($elem.parentsUntil(_this.$element, `.${parClass}`)).attr('data-is-click', true);
92
- }
93
- } else { return; }
94
- };
95
-
96
- if (this.options.clickOpen || hasTouch) {
97
- this.$menuItems.on('click.zf.dropdownmenu touchstart.zf.dropdownmenu', handleClickFn);
98
- }
99
-
100
- if (!this.options.disableHover) {
101
- this.$menuItems.on('mouseenter.zf.dropdownmenu', function(e) {
102
- var $elem = $(this),
103
- hasSub = $elem.hasClass(parClass);
104
-
105
- if (hasSub) {
106
- clearTimeout(_this.delay);
107
- _this.delay = setTimeout(function() {
108
- _this._show($elem.children('.is-dropdown-submenu'));
109
- }, _this.options.hoverDelay);
110
- }
111
- }).on('mouseleave.zf.dropdownmenu', function(e) {
112
- var $elem = $(this),
113
- hasSub = $elem.hasClass(parClass);
114
- if (hasSub && _this.options.autoclose) {
115
- if ($elem.attr('data-is-click') === 'true' && _this.options.clickOpen) { return false; }
116
-
117
- clearTimeout(_this.delay);
118
- _this.delay = setTimeout(function() {
119
- _this._hide($elem);
120
- }, _this.options.closingTime);
121
- }
122
- });
123
- }
124
- this.$menuItems.on('keydown.zf.dropdownmenu', function(e) {
125
- var $element = $(e.target).parentsUntil('ul', '[role="menuitem"]'),
126
- isTab = _this.$tabs.index($element) > -1,
127
- $elements = isTab ? _this.$tabs : $element.siblings('li').add($element),
128
- $prevElement,
129
- $nextElement;
130
-
131
- $elements.each(function(i) {
132
- if ($(this).is($element)) {
133
- $prevElement = $elements.eq(i-1);
134
- $nextElement = $elements.eq(i+1);
135
- return;
136
- }
137
- });
138
-
139
- var nextSibling = function() {
140
- if (!$element.is(':last-child')) {
141
- $nextElement.children('a:first').focus();
142
- e.preventDefault();
143
- }
144
- }, prevSibling = function() {
145
- $prevElement.children('a:first').focus();
146
- e.preventDefault();
147
- }, openSub = function() {
148
- var $sub = $element.children('ul.is-dropdown-submenu');
149
- if ($sub.length) {
150
- _this._show($sub);
151
- $element.find('li > a:first').focus();
152
- e.preventDefault();
153
- } else { return; }
154
- }, closeSub = function() {
155
- //if ($element.is(':first-child')) {
156
- var close = $element.parent('ul').parent('li');
157
- close.children('a:first').focus();
158
- _this._hide(close);
159
- e.preventDefault();
160
- //}
161
- };
162
- var functions = {
163
- open: openSub,
164
- close: function() {
165
- _this._hide(_this.$element);
166
- _this.$menuItems.find('a:first').focus(); // focus to first element
167
- e.preventDefault();
168
- },
169
- handled: function() {
170
- e.stopImmediatePropagation();
171
- }
172
- };
173
-
174
- if (isTab) {
175
- if (_this.$element.hasClass(_this.options.verticalClass)) { // vertical menu
176
- if (_this.options.alignment === 'left') { // left aligned
177
- $.extend(functions, {
178
- down: nextSibling,
179
- up: prevSibling,
180
- next: openSub,
181
- previous: closeSub
182
- });
183
- } else { // right aligned
184
- $.extend(functions, {
185
- down: nextSibling,
186
- up: prevSibling,
187
- next: closeSub,
188
- previous: openSub
189
- });
190
- }
191
- } else { // horizontal menu
192
- $.extend(functions, {
193
- next: nextSibling,
194
- previous: prevSibling,
195
- down: openSub,
196
- up: closeSub
197
- });
198
- }
199
- } else { // not tabs -> one sub
200
- if (_this.options.alignment === 'left') { // left aligned
201
- $.extend(functions, {
202
- next: openSub,
203
- previous: closeSub,
204
- down: nextSibling,
205
- up: prevSibling
206
- });
207
- } else { // right aligned
208
- $.extend(functions, {
209
- next: closeSub,
210
- previous: openSub,
211
- down: nextSibling,
212
- up: prevSibling
213
- });
214
- }
215
- }
216
- Foundation.Keyboard.handleKey(e, 'DropdownMenu', functions);
217
-
218
- });
219
- }
220
-
221
- /**
222
- * Adds an event handler to the body to close any dropdowns on a click.
223
- * @function
224
- * @private
225
- */
226
- _addBodyHandler() {
227
- var $body = $(document.body),
228
- _this = this;
229
- $body.off('mouseup.zf.dropdownmenu touchend.zf.dropdownmenu')
230
- .on('mouseup.zf.dropdownmenu touchend.zf.dropdownmenu', function(e) {
231
- var $link = _this.$element.find(e.target);
232
- if ($link.length) { return; }
233
-
234
- _this._hide();
235
- $body.off('mouseup.zf.dropdownmenu touchend.zf.dropdownmenu');
236
- });
237
- }
238
-
239
- /**
240
- * Opens a dropdown pane, and checks for collisions first.
241
- * @param {jQuery} $sub - ul element that is a submenu to show
242
- * @function
243
- * @private
244
- * @fires DropdownMenu#show
245
- */
246
- _show($sub) {
247
- var idx = this.$tabs.index(this.$tabs.filter(function(i, el) {
248
- return $(el).find($sub).length > 0;
249
- }));
250
- var $sibs = $sub.parent('li.is-dropdown-submenu-parent').siblings('li.is-dropdown-submenu-parent');
251
- this._hide($sibs, idx);
252
- $sub.css('visibility', 'hidden').addClass('js-dropdown-active').attr({'aria-hidden': false})
253
- .parent('li.is-dropdown-submenu-parent').addClass('is-active')
254
- .attr({'aria-expanded': true});
255
- var clear = Foundation.Box.ImNotTouchingYou($sub, null, true);
256
- if (!clear) {
257
- var oldClass = this.options.alignment === 'left' ? '-right' : '-left',
258
- $parentLi = $sub.parent('.is-dropdown-submenu-parent');
259
- $parentLi.removeClass(`opens${oldClass}`).addClass(`opens-${this.options.alignment}`);
260
- clear = Foundation.Box.ImNotTouchingYou($sub, null, true);
261
- if (!clear) {
262
- $parentLi.removeClass(`opens-${this.options.alignment}`).addClass('opens-inner');
263
- }
264
- this.changed = true;
265
- }
266
- $sub.css('visibility', '');
267
- if (this.options.closeOnClick) { this._addBodyHandler(); }
268
- /**
269
- * Fires when the new dropdown pane is visible.
270
- * @event DropdownMenu#show
271
- */
272
- this.$element.trigger('show.zf.dropdownmenu', [$sub]);
273
- }
274
-
275
- /**
276
- * Hides a single, currently open dropdown pane, if passed a parameter, otherwise, hides everything.
277
- * @function
278
- * @param {jQuery} $elem - element with a submenu to hide
279
- * @param {Number} idx - index of the $tabs collection to hide
280
- * @private
281
- */
282
- _hide($elem, idx) {
283
- var $toClose;
284
- if ($elem && $elem.length) {
285
- $toClose = $elem;
286
- } else if (idx !== undefined) {
287
- $toClose = this.$tabs.not(function(i, el) {
288
- return i === idx;
289
- });
290
- }
291
- else {
292
- $toClose = this.$element;
293
- }
294
- var somethingToClose = $toClose.hasClass('is-active') || $toClose.find('.is-active').length > 0;
295
-
296
- if (somethingToClose) {
297
- $toClose.find('li.is-active').add($toClose).attr({
298
- 'aria-expanded': false,
299
- 'data-is-click': false
300
- }).removeClass('is-active');
301
-
302
- $toClose.find('ul.js-dropdown-active').attr({
303
- 'aria-hidden': true
304
- }).removeClass('js-dropdown-active');
305
-
306
- if (this.changed || $toClose.find('opens-inner').length) {
307
- var oldClass = this.options.alignment === 'left' ? 'right' : 'left';
308
- $toClose.find('li.is-dropdown-submenu-parent').add($toClose)
309
- .removeClass(`opens-inner opens-${this.options.alignment}`)
310
- .addClass(`opens-${oldClass}`);
311
- this.changed = false;
312
- }
313
- /**
314
- * Fires when the open menus are closed.
315
- * @event DropdownMenu#hide
316
- */
317
- this.$element.trigger('hide.zf.dropdownmenu', [$toClose]);
318
- }
319
- }
320
-
321
- /**
322
- * Destroys the plugin.
323
- * @function
324
- */
325
- destroy() {
326
- this.$menuItems.off('.zf.dropdownmenu').removeAttr('data-is-click')
327
- .removeClass('is-right-arrow is-left-arrow is-down-arrow opens-right opens-left opens-inner');
328
- $(document.body).off('.zf.dropdownmenu');
329
- Foundation.Nest.Burn(this.$element, 'dropdown');
330
- Foundation.unregisterPlugin(this);
331
- }
332
- }
333
-
334
- /**
335
- * Default settings for plugin
336
- */
337
- DropdownMenu.defaults = {
338
- /**
339
- * Disallows hover events from opening submenus
340
- * @option
341
- * @example false
342
- */
343
- disableHover: false,
344
- /**
345
- * Allow a submenu to automatically close on a mouseleave event, if not clicked open.
346
- * @option
347
- * @example true
348
- */
349
- autoclose: true,
350
- /**
351
- * Amount of time to delay opening a submenu on hover event.
352
- * @option
353
- * @example 50
354
- */
355
- hoverDelay: 50,
356
- /**
357
- * Allow a submenu to open/remain open on parent click event. Allows cursor to move away from menu.
358
- * @option
359
- * @example true
360
- */
361
- clickOpen: false,
362
- /**
363
- * Amount of time to delay closing a submenu on a mouseleave event.
364
- * @option
365
- * @example 500
366
- */
367
-
368
- closingTime: 500,
369
- /**
370
- * Position of the menu relative to what direction the submenus should open. Handled by JS.
371
- * @option
372
- * @example 'left'
373
- */
374
- alignment: 'left',
375
- /**
376
- * Allow clicks on the body to close any open submenus.
377
- * @option
378
- * @example true
379
- */
380
- closeOnClick: true,
381
- /**
382
- * Class applied to vertical oriented menus, Foundation default is `vertical`. Update this if using your own class.
383
- * @option
384
- * @example 'vertical'
385
- */
386
- verticalClass: 'vertical',
387
- /**
388
- * Class applied to right-side oriented menus, Foundation default is `align-right`. Update this if using your own class.
389
- * @option
390
- * @example 'align-right'
391
- */
392
- rightClass: 'align-right',
393
- /**
394
- * Boolean to force overide the clicking of links to perform default action, on second touch event for mobile.
395
- * @option
396
- * @example false
397
- */
398
- forceFollow: true
399
- };
400
-
401
- // Window exports
402
- Foundation.plugin(DropdownMenu, 'DropdownMenu');
403
-
404
- }(jQuery);