rbbt-rest 1.8.42 → 1.8.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (421) hide show
  1. checksums.yaml +4 -4
  2. data/share/views/compass/old/base/backgrounds.sass +41 -0
  3. data/share/views/compass/old/base/blocks.sass +92 -0
  4. data/share/views/compass/old/base/color.sass +66 -0
  5. data/share/views/compass/old/base/colors.sass +66 -0
  6. data/share/views/compass/old/base/font-scale.sass +20 -0
  7. data/share/views/compass/old/base/fonts.sass +56 -0
  8. data/share/views/compass/old/base/hide.sass +95 -0
  9. data/share/views/compass/old/base/icon_content.scss +569 -0
  10. data/share/views/compass/old/base/icons.sass +75 -0
  11. data/share/views/compass/old/base/material.sass +223 -0
  12. data/share/views/compass/old/base/misc.sass +2 -0
  13. data/share/views/compass/old/base/screen_sizes.sass +16 -0
  14. data/share/views/compass/old/base/text.sass +70 -0
  15. data/share/views/compass/old/base/util.sass +6 -0
  16. data/share/views/compass/old/base/variables.sass +68 -0
  17. data/share/views/compass/old/base/variables/color.sass +27 -0
  18. data/share/views/compass/old/blocks.sass +0 -0
  19. data/share/views/compass/old/cards.sass +131 -0
  20. data/share/views/compass/old/color.sass +10 -0
  21. data/share/views/compass/old/color/blocks.sass +0 -0
  22. data/share/views/compass/old/color/buttons.sass +36 -0
  23. data/share/views/compass/old/color/elements.sass +2 -0
  24. data/share/views/compass/old/color/font.sass +13 -0
  25. data/share/views/compass/old/color/top_bar.sass +18 -0
  26. data/share/views/compass/old/elements.sass +218 -0
  27. data/share/views/compass/old/elements/buttons.sass +18 -0
  28. data/share/views/compass/old/elements/forms.sass +197 -0
  29. data/share/views/compass/old/elements/lists.sass +14 -0
  30. data/share/views/compass/old/elements/materials.sass +1 -0
  31. data/share/views/compass/old/elements/movement.sass +84 -0
  32. data/share/views/compass/old/elements/positions.sass +18 -0
  33. data/share/views/compass/old/elements/table.sass +176 -0
  34. data/share/views/compass/old/elements/tool.sass +60 -0
  35. data/share/views/compass/old/grid.sass +3 -0
  36. data/share/views/compass/old/init.sass +9 -0
  37. data/share/views/compass/old/layout.sass +5 -0
  38. data/share/views/compass/old/layout/body.sass +23 -0
  39. data/share/views/compass/old/layout/footer.sass +44 -0
  40. data/share/views/compass/old/layout/result.sass +6 -0
  41. data/share/views/compass/old/layout/reveal.sass +50 -0
  42. data/share/views/compass/old/layout/top_bar.sass +99 -0
  43. data/share/views/compass/old/layout/top_menu.sass +87 -0
  44. data/share/views/compass/old/menu.sass +43 -0
  45. data/share/views/compass/old/menu/accordion_menu.sass +30 -0
  46. data/share/views/compass/old/menu/actionable.sass +1 -0
  47. data/share/views/compass/old/menu/dropdown_menu.sass +31 -0
  48. data/share/views/compass/old/menu/hide.sass +14 -0
  49. data/share/views/compass/old/menu/menu.sass +98 -0
  50. data/share/views/compass/old/menu/tab_menu.sass +14 -0
  51. data/share/views/compass/old/menu/top_bar.sass +105 -0
  52. data/share/views/compass/old/menu/vertical_menu.sass +21 -0
  53. data/share/views/compass/old/mixins/_all.sass +24 -0
  54. data/share/views/compass/old/mixins/_blocks.sass +79 -0
  55. data/share/views/compass/old/mixins/_compass.sass +0 -0
  56. data/share/views/compass/old/mixins/_deps.sass +5 -0
  57. data/share/views/compass/old/mixins/_hide.sass +76 -0
  58. data/share/views/compass/old/mixins/_keyframes.scss +4 -0
  59. data/share/views/compass/old/mixins/_semantic-ui.sass +2 -0
  60. data/share/views/compass/old/new.sass +1 -0
  61. data/share/views/compass/old/offcanvas.sass +52 -0
  62. data/share/views/compass/old/position/basic.sass +0 -0
  63. data/share/views/compass/old/responsive.sass +53 -0
  64. data/share/views/compass/old/semantic-ui.css +1 -0
  65. data/share/views/compass/old/semantic-ui/semantic-ui.css +19776 -0
  66. data/share/views/compass/old/space/button.sass +74 -0
  67. data/share/views/compass/old/table.sass +142 -0
  68. data/share/views/compass/old/text.sass +48 -0
  69. data/share/views/compass/old/variables/colors.sass +7 -0
  70. data/share/views/compass/old/variables/sizes.sass +5 -0
  71. data/share/views/layout/header.haml +1 -1
  72. data/share/views/public/js/helpers/helpers.js +25 -0
  73. data/share/views/public/js/rbbt.views.js +78 -18
  74. data/share/views/public/js/rbbt/table.js +0 -1
  75. data/share/views/public/plugins/FileSaver/js/FileSaver.js +74 -134
  76. data/share/views/public/plugins/jquery/js/jquery-3.1.1.js +10220 -0
  77. data/share/views/public/plugins/semantic-ui/CONTRIBUTING.md +48 -6
  78. data/share/views/public/plugins/semantic-ui/README.md +40 -15
  79. data/share/views/public/plugins/semantic-ui/RELEASE-NOTES.md +669 -14
  80. data/share/views/public/plugins/semantic-ui/bower.json +1 -3
  81. data/share/views/public/plugins/semantic-ui/dist/components/accordion.css +7 -10
  82. data/share/views/public/plugins/semantic-ui/dist/components/accordion.js +39 -21
  83. data/share/views/public/plugins/semantic-ui/dist/components/accordion.min.css +2 -3
  84. data/share/views/public/plugins/semantic-ui/dist/components/accordion.min.js +2 -3
  85. data/share/views/public/plugins/semantic-ui/dist/components/ad.css +2 -3
  86. data/share/views/public/plugins/semantic-ui/dist/components/ad.min.css +2 -2
  87. data/share/views/public/plugins/semantic-ui/dist/components/api.js +161 -71
  88. data/share/views/public/plugins/semantic-ui/dist/components/api.min.js +2 -3
  89. data/share/views/public/plugins/semantic-ui/dist/components/breadcrumb.css +5 -6
  90. data/share/views/public/plugins/semantic-ui/dist/components/breadcrumb.min.css +2 -3
  91. data/share/views/public/plugins/semantic-ui/dist/components/button.css +658 -432
  92. data/share/views/public/plugins/semantic-ui/dist/components/button.min.css +2 -3
  93. data/share/views/public/plugins/semantic-ui/dist/components/card.css +68 -44
  94. data/share/views/public/plugins/semantic-ui/dist/components/card.min.css +2 -3
  95. data/share/views/public/plugins/semantic-ui/dist/components/checkbox.css +126 -89
  96. data/share/views/public/plugins/semantic-ui/dist/components/checkbox.js +216 -91
  97. data/share/views/public/plugins/semantic-ui/dist/components/checkbox.min.css +2 -3
  98. data/share/views/public/plugins/semantic-ui/dist/components/checkbox.min.js +2 -3
  99. data/share/views/public/plugins/semantic-ui/dist/components/colorize.js +1 -1
  100. data/share/views/public/plugins/semantic-ui/dist/components/comment.css +17 -6
  101. data/share/views/public/plugins/semantic-ui/dist/components/comment.min.css +2 -3
  102. data/share/views/public/plugins/semantic-ui/dist/components/container.css +29 -7
  103. data/share/views/public/plugins/semantic-ui/dist/components/container.min.css +2 -3
  104. data/share/views/public/plugins/semantic-ui/dist/components/dimmer.css +7 -9
  105. data/share/views/public/plugins/semantic-ui/dist/components/dimmer.js +80 -39
  106. data/share/views/public/plugins/semantic-ui/dist/components/dimmer.min.css +2 -3
  107. data/share/views/public/plugins/semantic-ui/dist/components/dimmer.min.js +2 -3
  108. data/share/views/public/plugins/semantic-ui/dist/components/divider.css +8 -8
  109. data/share/views/public/plugins/semantic-ui/dist/components/divider.min.css +2 -3
  110. data/share/views/public/plugins/semantic-ui/dist/components/dropdown.css +127 -98
  111. data/share/views/public/plugins/semantic-ui/dist/components/dropdown.js +918 -400
  112. data/share/views/public/plugins/semantic-ui/dist/components/dropdown.min.css +2 -3
  113. data/share/views/public/plugins/semantic-ui/dist/components/dropdown.min.js +3 -5
  114. data/share/views/public/plugins/semantic-ui/dist/components/embed.css +12 -8
  115. data/share/views/public/plugins/semantic-ui/dist/components/embed.js +51 -17
  116. data/share/views/public/plugins/semantic-ui/dist/components/embed.min.css +2 -3
  117. data/share/views/public/plugins/semantic-ui/dist/components/embed.min.js +2 -3
  118. data/share/views/public/plugins/semantic-ui/dist/components/feed.css +5 -6
  119. data/share/views/public/plugins/semantic-ui/dist/components/feed.min.css +2 -3
  120. data/share/views/public/plugins/semantic-ui/dist/components/flag.css +10 -3
  121. data/share/views/public/plugins/semantic-ui/dist/components/flag.min.css +2 -3
  122. data/share/views/public/plugins/semantic-ui/dist/components/form.css +208 -121
  123. data/share/views/public/plugins/semantic-ui/dist/components/form.js +469 -167
  124. data/share/views/public/plugins/semantic-ui/dist/components/form.min.css +2 -3
  125. data/share/views/public/plugins/semantic-ui/dist/components/form.min.js +2 -3
  126. data/share/views/public/plugins/semantic-ui/dist/components/grid.css +222 -71
  127. data/share/views/public/plugins/semantic-ui/dist/components/grid.min.css +2 -3
  128. data/share/views/public/plugins/semantic-ui/dist/components/header.css +47 -48
  129. data/share/views/public/plugins/semantic-ui/dist/components/header.min.css +2 -3
  130. data/share/views/public/plugins/semantic-ui/dist/components/icon.css +839 -280
  131. data/share/views/public/plugins/semantic-ui/dist/components/icon.min.css +2 -3
  132. data/share/views/public/plugins/semantic-ui/dist/components/image.css +7 -3
  133. data/share/views/public/plugins/semantic-ui/dist/components/image.min.css +2 -3
  134. data/share/views/public/plugins/semantic-ui/dist/components/input.css +91 -61
  135. data/share/views/public/plugins/semantic-ui/dist/components/input.min.css +2 -3
  136. data/share/views/public/plugins/semantic-ui/dist/components/item.css +17 -18
  137. data/share/views/public/plugins/semantic-ui/dist/components/item.min.css +2 -3
  138. data/share/views/public/plugins/semantic-ui/dist/components/label.css +497 -304
  139. data/share/views/public/plugins/semantic-ui/dist/components/label.min.css +2 -3
  140. data/share/views/public/plugins/semantic-ui/dist/components/list.css +56 -27
  141. data/share/views/public/plugins/semantic-ui/dist/components/list.min.css +2 -3
  142. data/share/views/public/plugins/semantic-ui/dist/components/loader.css +101 -40
  143. data/share/views/public/plugins/semantic-ui/dist/components/loader.min.css +2 -3
  144. data/share/views/public/plugins/semantic-ui/dist/components/menu.css +335 -179
  145. data/share/views/public/plugins/semantic-ui/dist/components/menu.min.css +1 -1
  146. data/share/views/public/plugins/semantic-ui/dist/components/message.css +83 -65
  147. data/share/views/public/plugins/semantic-ui/dist/components/message.min.css +2 -3
  148. data/share/views/public/plugins/semantic-ui/dist/components/modal.css +16 -18
  149. data/share/views/public/plugins/semantic-ui/dist/components/modal.js +68 -42
  150. data/share/views/public/plugins/semantic-ui/dist/components/modal.min.css +2 -3
  151. data/share/views/public/plugins/semantic-ui/dist/components/modal.min.js +2 -3
  152. data/share/views/public/plugins/semantic-ui/dist/components/nag.css +6 -7
  153. data/share/views/public/plugins/semantic-ui/dist/components/nag.js +41 -10
  154. data/share/views/public/plugins/semantic-ui/dist/components/nag.min.css +2 -3
  155. data/share/views/public/plugins/semantic-ui/dist/components/nag.min.js +2 -3
  156. data/share/views/public/plugins/semantic-ui/dist/components/popup.css +423 -39
  157. data/share/views/public/plugins/semantic-ui/dist/components/popup.js +275 -153
  158. data/share/views/public/plugins/semantic-ui/dist/components/popup.min.css +2 -3
  159. data/share/views/public/plugins/semantic-ui/dist/components/popup.min.js +2 -3
  160. data/share/views/public/plugins/semantic-ui/dist/components/progress.css +47 -48
  161. data/share/views/public/plugins/semantic-ui/dist/components/progress.js +202 -64
  162. data/share/views/public/plugins/semantic-ui/dist/components/progress.min.css +2 -3
  163. data/share/views/public/plugins/semantic-ui/dist/components/progress.min.js +2 -3
  164. data/share/views/public/plugins/semantic-ui/dist/components/rail.css +24 -4
  165. data/share/views/public/plugins/semantic-ui/dist/components/rail.min.css +2 -3
  166. data/share/views/public/plugins/semantic-ui/dist/components/rating.css +12 -13
  167. data/share/views/public/plugins/semantic-ui/dist/components/rating.js +43 -10
  168. data/share/views/public/plugins/semantic-ui/dist/components/rating.min.css +2 -3
  169. data/share/views/public/plugins/semantic-ui/dist/components/rating.min.js +2 -3
  170. data/share/views/public/plugins/semantic-ui/dist/components/reset.css +1 -6
  171. data/share/views/public/plugins/semantic-ui/dist/components/reset.min.css +2 -3
  172. data/share/views/public/plugins/semantic-ui/dist/components/reveal.css +13 -41
  173. data/share/views/public/plugins/semantic-ui/dist/components/reveal.min.css +2 -3
  174. data/share/views/public/plugins/semantic-ui/dist/components/search.css +53 -21
  175. data/share/views/public/plugins/semantic-ui/dist/components/search.js +261 -132
  176. data/share/views/public/plugins/semantic-ui/dist/components/search.min.css +2 -3
  177. data/share/views/public/plugins/semantic-ui/dist/components/search.min.js +2 -3
  178. data/share/views/public/plugins/semantic-ui/dist/components/segment.css +124 -72
  179. data/share/views/public/plugins/semantic-ui/dist/components/segment.min.css +2 -3
  180. data/share/views/public/plugins/semantic-ui/dist/components/shape.css +11 -8
  181. data/share/views/public/plugins/semantic-ui/dist/components/shape.js +68 -23
  182. data/share/views/public/plugins/semantic-ui/dist/components/shape.min.css +2 -3
  183. data/share/views/public/plugins/semantic-ui/dist/components/shape.min.js +2 -3
  184. data/share/views/public/plugins/semantic-ui/dist/components/sidebar.css +45 -36
  185. data/share/views/public/plugins/semantic-ui/dist/components/sidebar.js +23 -10
  186. data/share/views/public/plugins/semantic-ui/dist/components/sidebar.min.css +2 -3
  187. data/share/views/public/plugins/semantic-ui/dist/components/sidebar.min.js +2 -3
  188. data/share/views/public/plugins/semantic-ui/dist/components/site.css +6 -7
  189. data/share/views/public/plugins/semantic-ui/dist/components/site.js +5 -5
  190. data/share/views/public/plugins/semantic-ui/dist/components/site.min.css +2 -3
  191. data/share/views/public/plugins/semantic-ui/dist/components/site.min.js +2 -3
  192. data/share/views/public/plugins/semantic-ui/dist/components/state.js +22 -9
  193. data/share/views/public/plugins/semantic-ui/dist/components/state.min.js +2 -3
  194. data/share/views/public/plugins/semantic-ui/dist/components/statistic.css +46 -45
  195. data/share/views/public/plugins/semantic-ui/dist/components/statistic.min.css +2 -3
  196. data/share/views/public/plugins/semantic-ui/dist/components/step.css +83 -44
  197. data/share/views/public/plugins/semantic-ui/dist/components/step.min.css +2 -3
  198. data/share/views/public/plugins/semantic-ui/dist/components/sticky.css +2 -3
  199. data/share/views/public/plugins/semantic-ui/dist/components/sticky.js +138 -78
  200. data/share/views/public/plugins/semantic-ui/dist/components/sticky.min.css +1 -2
  201. data/share/views/public/plugins/semantic-ui/dist/components/sticky.min.js +2 -3
  202. data/share/views/public/plugins/semantic-ui/dist/components/tab.css +1 -2
  203. data/share/views/public/plugins/semantic-ui/dist/components/tab.js +95 -46
  204. data/share/views/public/plugins/semantic-ui/dist/components/tab.min.css +1 -2
  205. data/share/views/public/plugins/semantic-ui/dist/components/tab.min.js +2 -3
  206. data/share/views/public/plugins/semantic-ui/dist/components/table.css +136 -77
  207. data/share/views/public/plugins/semantic-ui/dist/components/table.min.css +2 -3
  208. data/share/views/public/plugins/semantic-ui/dist/components/transition.css +1 -19
  209. data/share/views/public/plugins/semantic-ui/dist/components/transition.js +58 -32
  210. data/share/views/public/plugins/semantic-ui/dist/components/transition.min.css +2 -3
  211. data/share/views/public/plugins/semantic-ui/dist/components/transition.min.js +2 -3
  212. data/share/views/public/plugins/semantic-ui/dist/components/video.js +1 -1
  213. data/share/views/public/plugins/semantic-ui/dist/components/visibility.js +99 -29
  214. data/share/views/public/plugins/semantic-ui/dist/components/visibility.min.js +2 -3
  215. data/share/views/public/plugins/semantic-ui/dist/semantic.css +5051 -3645
  216. data/share/views/public/plugins/semantic-ui/dist/semantic.js +3345 -1456
  217. data/share/views/public/plugins/semantic-ui/dist/semantic.min.css +2 -2
  218. data/share/views/public/plugins/semantic-ui/dist/semantic.min.js +10 -10
  219. data/share/views/public/plugins/semantic-ui/dist/themes/default/assets/fonts/icons.eot +0 -0
  220. data/share/views/public/plugins/semantic-ui/dist/themes/default/assets/fonts/icons.svg +146 -26
  221. data/share/views/public/plugins/semantic-ui/dist/themes/default/assets/fonts/icons.ttf +0 -0
  222. data/share/views/public/plugins/semantic-ui/dist/themes/default/assets/fonts/icons.woff +0 -0
  223. data/share/views/public/plugins/semantic-ui/dist/themes/default/assets/fonts/icons.woff2 +0 -0
  224. data/share/views/public/plugins/semantic-ui/dist/themes/github/assets/fonts/octicons-local.ttf +0 -0
  225. data/share/views/public/plugins/semantic-ui/dist/themes/github/assets/fonts/octicons.svg +200 -0
  226. data/share/views/public/plugins/semantic-ui/dist/themes/github/assets/fonts/octicons.ttf +0 -0
  227. data/share/views/public/plugins/semantic-ui/dist/themes/github/assets/fonts/octicons.woff +0 -0
  228. data/share/views/public/plugins/semantic-ui/dist/themes/material/assets/fonts/icons.eot +0 -0
  229. data/share/views/public/plugins/semantic-ui/dist/themes/material/assets/fonts/icons.svg +2373 -0
  230. data/share/views/public/plugins/semantic-ui/dist/themes/material/assets/fonts/icons.ttf +0 -0
  231. data/share/views/public/plugins/semantic-ui/dist/themes/material/assets/fonts/icons.woff +0 -0
  232. data/share/views/public/plugins/semantic-ui/examples/assets/library/iframe-content.js +8 -8
  233. data/share/views/public/plugins/semantic-ui/examples/assets/library/iframe.js +1 -1
  234. data/share/views/public/plugins/semantic-ui/examples/attached.html +381 -0
  235. data/share/views/public/plugins/semantic-ui/examples/bootstrap.html +4 -4
  236. data/share/views/public/plugins/semantic-ui/examples/components/site.html +1 -1
  237. data/share/views/public/plugins/semantic-ui/examples/fixed.html +10 -10
  238. data/share/views/public/plugins/semantic-ui/examples/grid.html +1 -1
  239. data/share/views/public/plugins/semantic-ui/examples/homepage.html +3 -3
  240. data/share/views/public/plugins/semantic-ui/examples/login.html +1 -1
  241. data/share/views/public/plugins/semantic-ui/examples/responsive.html +5 -5
  242. data/share/views/public/plugins/semantic-ui/examples/sticky.html +1 -1
  243. data/share/views/public/plugins/semantic-ui/examples/theming.html +1 -1
  244. data/share/views/public/plugins/semantic-ui/gulpfile.js +3 -3
  245. data/share/views/public/plugins/semantic-ui/package.json +36 -31
  246. data/share/views/public/plugins/semantic-ui/semantic.json.example +1 -0
  247. data/share/views/public/plugins/semantic-ui/src/_site/collections/message.overrides +1 -1
  248. data/share/views/public/plugins/semantic-ui/src/definitions/behaviors/api.js +160 -70
  249. data/share/views/public/plugins/semantic-ui/src/definitions/behaviors/colorize.js +235 -229
  250. data/share/views/public/plugins/semantic-ui/src/definitions/behaviors/form.js +468 -166
  251. data/share/views/public/plugins/semantic-ui/src/definitions/behaviors/state.js +21 -8
  252. data/share/views/public/plugins/semantic-ui/src/definitions/behaviors/visibility.js +98 -28
  253. data/share/views/public/plugins/semantic-ui/src/definitions/behaviors/visit.js +14 -6
  254. data/share/views/public/plugins/semantic-ui/src/definitions/collections/breadcrumb.less +2 -3
  255. data/share/views/public/plugins/semantic-ui/src/definitions/collections/form.less +154 -74
  256. data/share/views/public/plugins/semantic-ui/src/definitions/collections/grid.less +171 -41
  257. data/share/views/public/plugins/semantic-ui/src/definitions/collections/menu.less +235 -99
  258. data/share/views/public/plugins/semantic-ui/src/definitions/collections/message.less +28 -10
  259. data/share/views/public/plugins/semantic-ui/src/definitions/collections/table.less +77 -16
  260. data/share/views/public/plugins/semantic-ui/src/definitions/elements/button.less +326 -109
  261. data/share/views/public/plugins/semantic-ui/src/definitions/elements/container.less +25 -7
  262. data/share/views/public/plugins/semantic-ui/src/definitions/elements/divider.less +7 -7
  263. data/share/views/public/plugins/semantic-ui/src/definitions/elements/flag.less +2 -3
  264. data/share/views/public/plugins/semantic-ui/src/definitions/elements/header.less +3 -4
  265. data/share/views/public/plugins/semantic-ui/src/definitions/elements/icon.less +37 -6
  266. data/share/views/public/plugins/semantic-ui/src/definitions/elements/image.less +324 -319
  267. data/share/views/public/plugins/semantic-ui/src/definitions/elements/input.less +70 -39
  268. data/share/views/public/plugins/semantic-ui/src/definitions/elements/label.less +363 -245
  269. data/share/views/public/plugins/semantic-ui/src/definitions/elements/list.less +49 -19
  270. data/share/views/public/plugins/semantic-ui/src/definitions/elements/loader.less +72 -9
  271. data/share/views/public/plugins/semantic-ui/src/definitions/elements/rail.less +21 -2
  272. data/share/views/public/plugins/semantic-ui/src/definitions/elements/reveal.less +6 -14
  273. data/share/views/public/plugins/semantic-ui/src/definitions/elements/segment.less +72 -21
  274. data/share/views/public/plugins/semantic-ui/src/definitions/elements/step.less +68 -34
  275. data/share/views/public/plugins/semantic-ui/src/definitions/globals/reset.less +1 -2
  276. data/share/views/public/plugins/semantic-ui/src/definitions/globals/site.js +4 -4
  277. data/share/views/public/plugins/semantic-ui/src/definitions/globals/site.less +3 -1
  278. data/share/views/public/plugins/semantic-ui/src/definitions/modules/accordion.js +38 -20
  279. data/share/views/public/plugins/semantic-ui/src/definitions/modules/accordion.less +2 -2
  280. data/share/views/public/plugins/semantic-ui/src/definitions/modules/checkbox.js +215 -90
  281. data/share/views/public/plugins/semantic-ui/src/definitions/modules/checkbox.less +105 -69
  282. data/share/views/public/plugins/semantic-ui/src/definitions/modules/dimmer.js +79 -38
  283. data/share/views/public/plugins/semantic-ui/src/definitions/modules/dimmer.less +1 -2
  284. data/share/views/public/plugins/semantic-ui/src/definitions/modules/dropdown.js +917 -399
  285. data/share/views/public/plugins/semantic-ui/src/definitions/modules/dropdown.less +62 -25
  286. data/share/views/public/plugins/semantic-ui/src/definitions/modules/embed.js +51 -17
  287. data/share/views/public/plugins/semantic-ui/src/definitions/modules/embed.less +163 -164
  288. data/share/views/public/plugins/semantic-ui/src/definitions/modules/modal.js +67 -41
  289. data/share/views/public/plugins/semantic-ui/src/definitions/modules/modal.less +7 -8
  290. data/share/views/public/plugins/semantic-ui/src/definitions/modules/nag.js +40 -9
  291. data/share/views/public/plugins/semantic-ui/src/definitions/modules/nag.less +158 -159
  292. data/share/views/public/plugins/semantic-ui/src/definitions/modules/popup.js +274 -152
  293. data/share/views/public/plugins/semantic-ui/src/definitions/modules/popup.less +712 -332
  294. data/share/views/public/plugins/semantic-ui/src/definitions/modules/progress.js +201 -63
  295. data/share/views/public/plugins/semantic-ui/src/definitions/modules/progress.less +0 -1
  296. data/share/views/public/plugins/semantic-ui/src/definitions/modules/rating.js +42 -9
  297. data/share/views/public/plugins/semantic-ui/src/definitions/modules/rating.less +0 -1
  298. data/share/views/public/plugins/semantic-ui/src/definitions/modules/search.js +260 -131
  299. data/share/views/public/plugins/semantic-ui/src/definitions/modules/search.less +35 -2
  300. data/share/views/public/plugins/semantic-ui/src/definitions/modules/shape.js +67 -22
  301. data/share/views/public/plugins/semantic-ui/src/definitions/modules/shape.less +1 -2
  302. data/share/views/public/plugins/semantic-ui/src/definitions/modules/sidebar.js +22 -9
  303. data/share/views/public/plugins/semantic-ui/src/definitions/modules/sidebar.less +13 -15
  304. data/share/views/public/plugins/semantic-ui/src/definitions/modules/sticky.js +137 -77
  305. data/share/views/public/plugins/semantic-ui/src/definitions/modules/sticky.less +1 -2
  306. data/share/views/public/plugins/semantic-ui/src/definitions/modules/tab.js +94 -45
  307. data/share/views/public/plugins/semantic-ui/src/definitions/modules/tab.less +1 -2
  308. data/share/views/public/plugins/semantic-ui/src/definitions/modules/transition.js +57 -31
  309. data/share/views/public/plugins/semantic-ui/src/definitions/modules/transition.less +1 -2
  310. data/share/views/public/plugins/semantic-ui/src/definitions/views/ad.less +1 -1
  311. data/share/views/public/plugins/semantic-ui/src/definitions/views/card.less +23 -2
  312. data/share/views/public/plugins/semantic-ui/src/definitions/views/comment.less +18 -5
  313. data/share/views/public/plugins/semantic-ui/src/definitions/views/feed.less +0 -1
  314. data/share/views/public/plugins/semantic-ui/src/definitions/views/item.less +3 -4
  315. data/share/views/public/plugins/semantic-ui/src/definitions/views/statistic.less +18 -19
  316. data/share/views/public/plugins/semantic-ui/src/theme.less +13 -7
  317. data/share/views/public/plugins/semantic-ui/src/themes/amazon/globals/site.variables +43 -0
  318. data/share/views/public/plugins/semantic-ui/src/themes/basic/elements/step.overrides +3 -0
  319. data/share/views/public/plugins/semantic-ui/src/themes/basic/elements/step.variables +12 -4
  320. data/share/views/public/plugins/semantic-ui/src/themes/basic/globals/reset.overrides +1 -1
  321. data/share/views/public/plugins/semantic-ui/src/themes/bookish/elements/header.variables +5 -5
  322. data/share/views/public/plugins/semantic-ui/src/themes/chubby/elements/header.variables +5 -5
  323. data/share/views/public/plugins/semantic-ui/src/themes/colored/modules/checkbox.variables +15 -3
  324. data/share/views/public/plugins/semantic-ui/src/themes/default/assets/fonts/icons.eot +0 -0
  325. data/share/views/public/plugins/semantic-ui/src/themes/default/assets/fonts/icons.svg +146 -26
  326. data/share/views/public/plugins/semantic-ui/src/themes/default/assets/fonts/icons.ttf +0 -0
  327. data/share/views/public/plugins/semantic-ui/src/themes/default/assets/fonts/icons.woff +0 -0
  328. data/share/views/public/plugins/semantic-ui/src/themes/default/assets/fonts/icons.woff2 +0 -0
  329. data/share/views/public/plugins/semantic-ui/src/themes/default/collections/breadcrumb.variables +1 -1
  330. data/share/views/public/plugins/semantic-ui/src/themes/default/collections/form.variables +20 -14
  331. data/share/views/public/plugins/semantic-ui/src/themes/default/collections/grid.variables +5 -0
  332. data/share/views/public/plugins/semantic-ui/src/themes/default/collections/menu.variables +57 -28
  333. data/share/views/public/plugins/semantic-ui/src/themes/default/collections/message.variables +48 -1
  334. data/share/views/public/plugins/semantic-ui/src/themes/default/collections/table.variables +18 -4
  335. data/share/views/public/plugins/semantic-ui/src/themes/default/elements/button.variables +28 -4
  336. data/share/views/public/plugins/semantic-ui/src/themes/default/elements/container.variables +14 -1
  337. data/share/views/public/plugins/semantic-ui/src/themes/default/elements/flag.overrides +8 -0
  338. data/share/views/public/plugins/semantic-ui/src/themes/default/elements/icon.overrides +263 -86
  339. data/share/views/public/plugins/semantic-ui/src/themes/default/elements/icon.variables +3 -1
  340. data/share/views/public/plugins/semantic-ui/src/themes/default/elements/input.variables +7 -10
  341. data/share/views/public/plugins/semantic-ui/src/themes/default/elements/label.variables +37 -10
  342. data/share/views/public/plugins/semantic-ui/src/themes/default/elements/list.variables +2 -1
  343. data/share/views/public/plugins/semantic-ui/src/themes/default/elements/loader.variables +17 -5
  344. data/share/views/public/plugins/semantic-ui/src/themes/default/elements/rail.variables +2 -2
  345. data/share/views/public/plugins/semantic-ui/src/themes/default/elements/segment.variables +6 -5
  346. data/share/views/public/plugins/semantic-ui/src/themes/default/elements/step.variables +7 -4
  347. data/share/views/public/plugins/semantic-ui/src/themes/default/globals/reset.overrides +1 -6
  348. data/share/views/public/plugins/semantic-ui/src/themes/default/globals/site.variables +216 -67
  349. data/share/views/public/plugins/semantic-ui/src/themes/default/modules/checkbox.variables +36 -11
  350. data/share/views/public/plugins/semantic-ui/src/themes/default/modules/dropdown.variables +27 -18
  351. data/share/views/public/plugins/semantic-ui/src/themes/default/modules/popup.variables +52 -4
  352. data/share/views/public/plugins/semantic-ui/src/themes/default/modules/rating.overrides +2 -2
  353. data/share/views/public/plugins/semantic-ui/src/themes/default/modules/search.variables +16 -0
  354. data/share/views/public/plugins/semantic-ui/src/themes/default/modules/sticky.variables +1 -1
  355. data/share/views/public/plugins/semantic-ui/src/themes/default/views/card.variables +11 -0
  356. data/share/views/public/plugins/semantic-ui/src/themes/flat/collections/form.variables +1 -0
  357. data/share/views/public/plugins/semantic-ui/src/themes/github/assets/fonts/octicons-local.ttf +0 -0
  358. data/share/views/public/plugins/semantic-ui/src/themes/github/assets/fonts/octicons.svg +200 -0
  359. data/share/views/public/plugins/semantic-ui/src/themes/github/assets/fonts/octicons.ttf +0 -0
  360. data/share/views/public/plugins/semantic-ui/src/themes/github/assets/fonts/octicons.woff +0 -0
  361. data/share/views/public/plugins/semantic-ui/src/themes/github/collections/breadcrumb.variables +11 -0
  362. data/share/views/public/plugins/semantic-ui/src/themes/github/collections/grid.variables +2 -0
  363. data/share/views/public/plugins/semantic-ui/src/themes/github/collections/table.variables +8 -0
  364. data/share/views/public/plugins/semantic-ui/src/themes/github/elements/header.variables +9 -0
  365. data/share/views/public/plugins/semantic-ui/src/themes/github/elements/icon.overrides +208 -0
  366. data/share/views/public/plugins/semantic-ui/src/themes/github/elements/icon.variables +13 -0
  367. data/share/views/public/plugins/semantic-ui/src/themes/github/elements/image.variables +5 -0
  368. data/share/views/public/plugins/semantic-ui/src/themes/github/elements/input.overrides +32 -0
  369. data/share/views/public/plugins/semantic-ui/src/themes/github/elements/input.variables +16 -0
  370. data/share/views/public/plugins/semantic-ui/src/themes/github/elements/label.overrides +9 -0
  371. data/share/views/public/plugins/semantic-ui/src/themes/github/elements/label.variables +4 -0
  372. data/share/views/public/plugins/semantic-ui/src/themes/github/elements/segment.variables +0 -1
  373. data/share/views/public/plugins/semantic-ui/src/themes/github/elements/step.variables +7 -1
  374. data/share/views/public/plugins/semantic-ui/src/themes/github/globals/site.variables +47 -0
  375. data/share/views/public/plugins/semantic-ui/src/themes/github/modules/dropdown.overrides +53 -0
  376. data/share/views/public/plugins/semantic-ui/src/themes/github/modules/dropdown.variables +35 -0
  377. data/share/views/public/plugins/semantic-ui/src/themes/github/modules/popup.variables +12 -0
  378. data/share/views/public/plugins/semantic-ui/src/themes/material/assets/fonts/icons.eot +0 -0
  379. data/share/views/public/plugins/semantic-ui/src/themes/material/assets/fonts/icons.svg +2373 -0
  380. data/share/views/public/plugins/semantic-ui/src/themes/material/assets/fonts/icons.ttf +0 -0
  381. data/share/views/public/plugins/semantic-ui/src/themes/material/assets/fonts/icons.woff +0 -0
  382. data/share/views/public/plugins/semantic-ui/src/themes/material/collections/menu.overrides +1 -1
  383. data/share/views/public/plugins/semantic-ui/src/themes/material/collections/menu.variables +1 -1
  384. data/share/views/public/plugins/semantic-ui/src/themes/material/elements/button.overrides +2 -10
  385. data/share/views/public/plugins/semantic-ui/src/themes/material/elements/button.variables +4 -2
  386. data/share/views/public/plugins/semantic-ui/src/themes/material/elements/header.overrides +2 -2
  387. data/share/views/public/plugins/semantic-ui/src/themes/material/elements/icon.overrides +934 -0
  388. data/share/views/public/plugins/semantic-ui/src/themes/material/elements/icon.variables +11 -0
  389. data/share/views/public/plugins/semantic-ui/src/themes/material/globals/site.variables +8 -0
  390. data/share/views/public/plugins/semantic-ui/src/themes/material/modules/dropdown.overrides +2 -2
  391. data/share/views/public/plugins/semantic-ui/src/themes/material/modules/modal.overrides +2 -2
  392. data/share/views/public/plugins/semantic-ui/src/themes/twitter/elements/button.variables +1 -2
  393. data/share/views/public/plugins/semantic-ui/tasks/README.md +2 -2
  394. data/share/views/public/plugins/semantic-ui/tasks/admin/components/create.js +8 -8
  395. data/share/views/public/plugins/semantic-ui/tasks/admin/distributions/create.js +6 -6
  396. data/share/views/public/plugins/semantic-ui/tasks/admin/distributions/init.js +11 -12
  397. data/share/views/public/plugins/semantic-ui/tasks/admin/distributions/update.js +0 -3
  398. data/share/views/public/plugins/semantic-ui/tasks/build.js +22 -9
  399. data/share/views/public/plugins/semantic-ui/tasks/build/css.js +13 -5
  400. data/share/views/public/plugins/semantic-ui/tasks/collections/build.js +19 -0
  401. data/share/views/public/plugins/semantic-ui/tasks/collections/internal.js +23 -10
  402. data/share/views/public/plugins/semantic-ui/tasks/collections/rtl.js +16 -0
  403. data/share/views/public/plugins/semantic-ui/tasks/config/admin/github.js +1 -2
  404. data/share/views/public/plugins/semantic-ui/tasks/config/admin/oauth.example.js +4 -3
  405. data/share/views/public/plugins/semantic-ui/tasks/config/admin/release.js +1 -0
  406. data/share/views/public/plugins/semantic-ui/tasks/config/admin/templates/README.md +3 -0
  407. data/share/views/public/plugins/semantic-ui/tasks/config/npm/gulpfile.js +3 -3
  408. data/share/views/public/plugins/semantic-ui/tasks/config/project/config.js +3 -4
  409. data/share/views/public/plugins/semantic-ui/tasks/config/project/install.js +13 -6
  410. data/share/views/public/plugins/semantic-ui/tasks/config/project/release.js +16 -12
  411. data/share/views/public/plugins/semantic-ui/tasks/config/tasks.js +11 -5
  412. data/share/views/public/plugins/semantic-ui/tasks/docs/build.js +1 -1
  413. data/share/views/public/plugins/semantic-ui/tasks/docs/metadata.js +6 -5
  414. data/share/views/public/plugins/semantic-ui/tasks/docs/serve.js +2 -2
  415. data/share/views/public/plugins/semantic-ui/tasks/install.js +332 -272
  416. data/share/views/public/plugins/semantic-ui/tasks/rtl/build.js +2 -2
  417. data/share/views/public/plugins/semantic-ui/tasks/rtl/watch.js +2 -2
  418. data/share/views/public/plugins/semantic-ui/tasks/watch.js +7 -4
  419. data/share/views/public/plugins/semantic-ui/test/helpers/sinon.js +11 -11
  420. data/share/views/public/plugins/semantic-ui/test/modules/module.spec.js +1 -1
  421. metadata +109 -2
@@ -1,9 +1,8 @@
1
1
  /*!
2
- * # Semantic UI 2.0.0 - Sticky
2
+ * # Semantic UI 2.2.6 - Sticky
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
6
- * Copyright 2015 Contributors
7
6
  * Released under the MIT license
8
7
  * http://opensource.org/licenses/MIT
9
8
  *
@@ -1,11 +1,10 @@
1
1
  /*!
2
- * # Semantic UI 2.0.0 - Sticky
2
+ * # Semantic UI 2.2.6 - Sticky
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
6
- * Copyright 2015 Contributors
7
6
  * Released under the MIT license
8
7
  * http://opensource.org/licenses/MIT
9
8
  *
10
9
  */
11
- !function(e,t,o,n){"use strict";e.fn.sticky=function(o){var i,s=e(this),r=s.selector||"",c=(new Date).getTime(),l=[],a=arguments[0],m="string"==typeof a,f=[].slice.call(arguments,1);return s.each(function(){var s,u,d,h,g=e.isPlainObject(o)?e.extend(!0,{},e.fn.sticky.settings,o):e.extend({},e.fn.sticky.settings),b=g.className,p=g.namespace,v=g.error,x="."+p,C="module-"+p,S=e(this),y=e(t),k=e(g.scrollContext),w=(S.selector||"",S.data(C)),T=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,0)},z=this;h={initialize:function(){h.determineContainer(),h.determineContext(),h.verbose("Initializing sticky",g,s),h.save.positions(),h.checkErrors(),h.bind.events(),g.observeChanges&&h.observeChanges(),h.instantiate()},instantiate:function(){h.verbose("Storing instance of module",h),w=h,S.data(C,h)},destroy:function(){h.verbose("Destroying previous instance"),h.reset(),d&&d.disconnect(),y.off("load"+x,h.event.load).off("resize"+x,h.event.resize),k.off("scrollchange"+x,h.event.scrollchange),S.removeData(C)},observeChanges:function(){var e=u[0];"MutationObserver"in t&&(d=new MutationObserver(function(e){clearTimeout(h.timer),h.timer=setTimeout(function(){h.verbose("DOM tree modified, updating sticky menu",e),h.refresh()},100)}),d.observe(z,{childList:!0,subtree:!0}),d.observe(e,{childList:!0,subtree:!0}),h.debug("Setting up mutation observer",d))},determineContainer:function(){s=S.offsetParent()},determineContext:function(){return u=g.context?e(g.context):s,0===u.length?void h.error(v.invalidContext,g.context,S):void 0},checkErrors:function(){return h.is.hidden()&&h.error(v.visible,S),h.cache.element.height>h.cache.context.height?(h.reset(),void h.error(v.elementSize,S)):void 0},bind:{events:function(){y.on("load"+x,h.event.load).on("resize"+x,h.event.resize),k.off("scroll"+x).on("scroll"+x,h.event.scroll).on("scrollchange"+x,h.event.scrollchange)}},event:{load:function(){h.verbose("Page contents finished loading"),T(h.refresh)},resize:function(){h.verbose("Window resized"),T(h.refresh)},scroll:function(){T(function(){k.triggerHandler("scrollchange"+x,k.scrollTop())})},scrollchange:function(e,t){h.stick(t),g.onScroll.call(z)}},refresh:function(e){h.reset(),g.context||h.determineContext(),e&&h.determineContainer(),h.save.positions(),h.stick(),g.onReposition.call(z)},supports:{sticky:function(){{var t=e("<div/>");t[0]}return t.addClass(b.supported),t.css("position").match("sticky")}},save:{lastScroll:function(e){h.lastScroll=e},elementScroll:function(e){h.elementScroll=e},positions:function(){{var e={height:y.height()},t={margin:{top:parseInt(S.css("margin-top"),10),bottom:parseInt(S.css("margin-bottom"),10)},offset:S.offset(),width:S.outerWidth(),height:S.outerHeight()},o={offset:u.offset(),height:u.outerHeight(),bottomPadding:parseInt(u.css("padding-bottom"),10)};({height:s.outerHeight()})}h.cache={fits:t.height<e.height,window:{height:e.height},element:{margin:t.margin,top:t.offset.top-t.margin.top,left:t.offset.left,width:t.width,height:t.height,bottom:t.offset.top+t.height},context:{top:o.offset.top,height:o.height,bottomPadding:o.bottomPadding,bottom:o.offset.top+o.height-o.bottomPadding}},h.set.containerSize(),h.set.size(),h.stick(),h.debug("Caching element positions",h.cache)}},get:{direction:function(e){var t="down";return e=e||k.scrollTop(),h.lastScroll!==n&&(h.lastScroll<e?t="down":h.lastScroll>e&&(t="up")),t},scrollChange:function(e){return e=e||k.scrollTop(),h.lastScroll?e-h.lastScroll:0},currentElementScroll:function(){return h.elementScroll?h.elementScroll:h.is.top()?Math.abs(parseInt(S.css("top"),10))||0:Math.abs(parseInt(S.css("bottom"),10))||0},elementScroll:function(e){e=e||k.scrollTop();var t=h.cache.element,o=h.cache.window,n=h.get.scrollChange(e),i=t.height-o.height+g.offset,s=h.get.currentElementScroll(),r=s+n;return s=h.cache.fits||0>r?0:r>i?i:r}},remove:{lastScroll:function(){delete h.lastScroll},elementScroll:function(e){delete h.elementScroll},offset:function(){S.css("margin-top","")}},set:{offset:function(){h.verbose("Setting offset on element",g.offset),S.css("margin-top",g.offset)},containerSize:function(){var e=s.get(0).tagName;"HTML"===e||"body"==e?h.determineContainer():Math.abs(s.outerHeight()-h.cache.context.height)>g.jitter&&(h.debug("Context has padding, specifying exact height for container",h.cache.context.height),s.css({height:h.cache.context.height}))},minimumSize:function(){var e=h.cache.element;s.css("min-height",e.height)},scroll:function(e){h.debug("Setting scroll on element",e),h.elementScroll!=e&&(h.is.top()&&S.css("bottom","").css("top",-e),h.is.bottom()&&S.css("top","").css("bottom",e))},size:function(){0!==h.cache.element.height&&0!==h.cache.element.width&&S.css({width:h.cache.element.width,height:h.cache.element.height})}},is:{top:function(){return S.hasClass(b.top)},bottom:function(){return S.hasClass(b.bottom)},initialPosition:function(){return!h.is.fixed()&&!h.is.bound()},hidden:function(){return!S.is(":visible")},bound:function(){return S.hasClass(b.bound)},fixed:function(){return S.hasClass(b.fixed)}},stick:function(e){var t=e||k.scrollTop(),o=h.cache,n=o.fits,i=o.element,s=o.window,r=o.context,c=h.is.bottom()&&g.pushing?g.bottomOffset:g.offset,e={top:t+c,bottom:t+c+s.height},l=(h.get.direction(e.top),n?0:h.get.elementScroll(e.top)),a=!n,m=0!==i.height;m&&(h.is.initialPosition()?e.top>r.bottom?(h.debug("Element bottom of container"),h.bindBottom()):e.top>i.top&&(h.debug("Element passed, fixing element to page"),h.fixTop()):h.is.fixed()?h.is.top()?e.top<i.top?(h.debug("Fixed element reached top of container"),h.setInitialPosition()):i.height+e.top-l>r.bottom?(h.debug("Fixed element reached bottom of container"),h.bindBottom()):a&&h.set.scroll(l):h.is.bottom()&&(e.bottom-i.height<i.top?(h.debug("Bottom fixed rail has reached top of container"),h.setInitialPosition()):e.bottom>r.bottom?(h.debug("Bottom fixed rail has reached bottom of container"),h.bindBottom()):a&&h.set.scroll(l)):h.is.bottom()&&(g.pushing?h.is.bound()&&e.bottom<r.bottom&&(h.debug("Fixing bottom attached element to bottom of browser."),h.fixBottom()):h.is.bound()&&e.top<r.bottom-i.height&&(h.debug("Fixing bottom attached element to top of browser."),h.fixTop()))),h.save.lastScroll(e.top),h.save.elementScroll(l)},bindTop:function(){h.debug("Binding element to top of parent container"),h.remove.offset(),S.css({left:"",top:"",marginBottom:""}).removeClass(b.fixed).removeClass(b.bottom).addClass(b.bound).addClass(b.top),g.onTop.call(z),g.onUnstick.call(z)},bindBottom:function(){h.debug("Binding element to bottom of parent container"),h.remove.offset(),S.css({left:"",top:"",marginBottom:h.cache.context.bottomPadding}).removeClass(b.fixed).removeClass(b.top).addClass(b.bound).addClass(b.bottom),g.onBottom.call(z),g.onUnstick.call(z)},setInitialPosition:function(){h.unfix(),h.unbind()},fixTop:function(){h.debug("Fixing element to top of page"),h.set.minimumSize(),h.set.offset(),S.css({left:h.cache.element.left,bottom:"",marginBottom:""}).removeClass(b.bound).removeClass(b.bottom).addClass(b.fixed).addClass(b.top),g.onStick.call(z)},fixBottom:function(){h.debug("Sticking element to bottom of page"),h.set.minimumSize(),h.set.offset(),S.css({left:h.cache.element.left,bottom:"",marginBottom:""}).removeClass(b.bound).removeClass(b.top).addClass(b.fixed).addClass(b.bottom),g.onStick.call(z)},unbind:function(){h.debug("Removing absolute position on element"),h.remove.offset(),S.removeClass(b.bound).removeClass(b.top).removeClass(b.bottom)},unfix:function(){h.debug("Removing fixed position on element"),h.remove.offset(),S.removeClass(b.fixed).removeClass(b.top).removeClass(b.bottom),g.onUnstick.call(z)},reset:function(){h.debug("Reseting elements position"),h.unbind(),h.unfix(),h.resetCSS(),h.remove.offset(),h.remove.lastScroll()},resetCSS:function(){S.css({width:"",height:""}),s.css({height:""})},setting:function(t,o){if(e.isPlainObject(t))e.extend(!0,g,t);else{if(o===n)return g[t];g[t]=o}},internal:function(t,o){if(e.isPlainObject(t))e.extend(!0,h,t);else{if(o===n)return h[t];h[t]=o}},debug:function(){g.debug&&(g.performance?h.performance.log(arguments):(h.debug=Function.prototype.bind.call(console.info,console,g.name+":"),h.debug.apply(console,arguments)))},verbose:function(){g.verbose&&g.debug&&(g.performance?h.performance.log(arguments):(h.verbose=Function.prototype.bind.call(console.info,console,g.name+":"),h.verbose.apply(console,arguments)))},error:function(){h.error=Function.prototype.bind.call(console.error,console,g.name+":"),h.error.apply(console,arguments)},performance:{log:function(e){var t,o,n;g.performance&&(t=(new Date).getTime(),n=c||t,o=t-n,c=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:z,"Execution Time":o})),clearTimeout(h.performance.timer),h.performance.timer=setTimeout(h.performance.display,0)},display:function(){var t=g.name+":",o=0;c=!1,clearTimeout(h.performance.timer),e.each(l,function(e,t){o+=t["Execution Time"]}),t+=" "+o+"ms",r&&(t+=" '"+r+"'"),(console.group!==n||console.table!==n)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),l=[]}},invoke:function(t,o,s){var r,c,l,a=w;return o=o||f,s=z||s,"string"==typeof t&&a!==n&&(t=t.split(/[\. ]/),r=t.length-1,e.each(t,function(o,i){var s=o!=r?i+t[o+1].charAt(0).toUpperCase()+t[o+1].slice(1):t;if(e.isPlainObject(a[s])&&o!=r)a=a[s];else{if(a[s]!==n)return c=a[s],!1;if(!e.isPlainObject(a[i])||o==r)return a[i]!==n?(c=a[i],!1):!1;a=a[i]}})),e.isFunction(c)?l=c.apply(s,o):c!==n&&(l=c),e.isArray(i)?i.push(l):i!==n?i=[i,l]:l!==n&&(i=l),c}},m?(w===n&&h.initialize(),h.invoke(a)):(w!==n&&w.invoke("destroy"),h.initialize())}),i!==n?i:this},e.fn.sticky.settings={name:"Sticky",namespace:"sticky",debug:!1,verbose:!0,performance:!0,pushing:!1,context:!1,scrollContext:t,offset:0,bottomOffset:0,jitter:5,observeChanges:!1,onReposition:function(){},onScroll:function(){},onStick:function(){},onUnstick:function(){},onTop:function(){},onBottom:function(){},error:{container:"Sticky element must be inside a relative container",visible:"Element is hidden, you must call refresh after element becomes visible",method:"The method you called is not defined.",invalidContext:"Context specified does not exist",elementSize:"Sticky element is larger than its container, cannot create sticky."},className:{bound:"bound",fixed:"fixed",supported:"native",top:"top",bottom:"bottom"}}}(jQuery,window,document);
10
+ !function(e,t,o,n){"use strict";t="undefined"!=typeof t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.sticky=function(i){var s,r=e(this),c=r.selector||"",l=(new Date).getTime(),a=[],f=arguments[0],m="string"==typeof f,u=[].slice.call(arguments,1);return r.each(function(){var r,d,h,g,p,b=e.isPlainObject(i)?e.extend(!0,{},e.fn.sticky.settings,i):e.extend({},e.fn.sticky.settings),v=b.className,x=b.namespace,C=b.error,S="."+x,y="module-"+x,k=e(this),T=e(t),w=e(b.scrollContext),z=(k.selector||"",k.data(y)),B=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,0)},P=this;p={initialize:function(){p.determineContainer(),p.determineContext(),p.verbose("Initializing sticky",b,r),p.save.positions(),p.checkErrors(),p.bind.events(),b.observeChanges&&p.observeChanges(),p.instantiate()},instantiate:function(){p.verbose("Storing instance of module",p),z=p,k.data(y,p)},destroy:function(){p.verbose("Destroying previous instance"),p.reset(),h&&h.disconnect(),g&&g.disconnect(),T.off("load"+S,p.event.load).off("resize"+S,p.event.resize),w.off("scrollchange"+S,p.event.scrollchange),k.removeData(y)},observeChanges:function(){"MutationObserver"in t&&(h=new MutationObserver(p.event.documentChanged),g=new MutationObserver(p.event.changed),h.observe(o,{childList:!0,subtree:!0}),g.observe(P,{childList:!0,subtree:!0}),g.observe(d[0],{childList:!0,subtree:!0}),p.debug("Setting up mutation observer",g))},determineContainer:function(){r=b.container?e(b.container):k.offsetParent()},determineContext:function(){if(d=b.context?e(b.context):r,0===d.length)return void p.error(C.invalidContext,b.context,k)},checkErrors:function(){if(p.is.hidden()&&p.error(C.visible,k),p.cache.element.height>p.cache.context.height)return p.reset(),void p.error(C.elementSize,k)},bind:{events:function(){T.on("load"+S,p.event.load).on("resize"+S,p.event.resize),w.off("scroll"+S).on("scroll"+S,p.event.scroll).on("scrollchange"+S,p.event.scrollchange)}},event:{changed:function(e){clearTimeout(p.timer),p.timer=setTimeout(function(){p.verbose("DOM tree modified, updating sticky menu",e),p.refresh()},100)},documentChanged:function(t){[].forEach.call(t,function(t){t.removedNodes&&[].forEach.call(t.removedNodes,function(t){(t==P||e(t).find(P).length>0)&&(p.debug("Element removed from DOM, tearing down events"),p.destroy())})})},load:function(){p.verbose("Page contents finished loading"),B(p.refresh)},resize:function(){p.verbose("Window resized"),B(p.refresh)},scroll:function(){B(function(){w.triggerHandler("scrollchange"+S,w.scrollTop())})},scrollchange:function(e,t){p.stick(t),b.onScroll.call(P)}},refresh:function(e){p.reset(),b.context||p.determineContext(),e&&p.determineContainer(),p.save.positions(),p.stick(),b.onReposition.call(P)},supports:{sticky:function(){var t=e("<div/>");t[0];return t.addClass(v.supported),t.css("position").match("sticky")}},save:{lastScroll:function(e){p.lastScroll=e},elementScroll:function(e){p.elementScroll=e},positions:function(){var e={height:w.height()},t={margin:{top:parseInt(k.css("margin-top"),10),bottom:parseInt(k.css("margin-bottom"),10)},offset:k.offset(),width:k.outerWidth(),height:k.outerHeight()},o={offset:d.offset(),height:d.outerHeight()};({height:r.outerHeight()});p.is.standardScroll()||(p.debug("Non-standard scroll. Removing scroll offset from element offset"),e.top=w.scrollTop(),e.left=w.scrollLeft(),t.offset.top+=e.top,o.offset.top+=e.top,t.offset.left+=e.left,o.offset.left+=e.left),p.cache={fits:t.height<e.height,scrollContext:{height:e.height},element:{margin:t.margin,top:t.offset.top-t.margin.top,left:t.offset.left,width:t.width,height:t.height,bottom:t.offset.top+t.height},context:{top:o.offset.top,height:o.height,bottom:o.offset.top+o.height}},p.set.containerSize(),p.set.size(),p.stick(),p.debug("Caching element positions",p.cache)}},get:{direction:function(e){var t="down";return e=e||w.scrollTop(),p.lastScroll!==n&&(p.lastScroll<e?t="down":p.lastScroll>e&&(t="up")),t},scrollChange:function(e){return e=e||w.scrollTop(),p.lastScroll?e-p.lastScroll:0},currentElementScroll:function(){return p.elementScroll?p.elementScroll:p.is.top()?Math.abs(parseInt(k.css("top"),10))||0:Math.abs(parseInt(k.css("bottom"),10))||0},elementScroll:function(e){e=e||w.scrollTop();var t=p.cache.element,o=p.cache.scrollContext,n=p.get.scrollChange(e),i=t.height-o.height+b.offset,s=p.get.currentElementScroll(),r=s+n;return s=p.cache.fits||r<0?0:r>i?i:r}},remove:{lastScroll:function(){delete p.lastScroll},elementScroll:function(e){delete p.elementScroll},offset:function(){k.css("margin-top","")}},set:{offset:function(){p.verbose("Setting offset on element",b.offset),k.css("margin-top",b.offset)},containerSize:function(){var e=r.get(0).tagName;"HTML"===e||"body"==e?p.determineContainer():Math.abs(r.outerHeight()-p.cache.context.height)>b.jitter&&(p.debug("Context has padding, specifying exact height for container",p.cache.context.height),r.css({height:p.cache.context.height}))},minimumSize:function(){var e=p.cache.element;r.css("min-height",e.height)},scroll:function(e){p.debug("Setting scroll on element",e),p.elementScroll!=e&&(p.is.top()&&k.css("bottom","").css("top",-e),p.is.bottom()&&k.css("top","").css("bottom",e))},size:function(){0!==p.cache.element.height&&0!==p.cache.element.width&&(P.style.setProperty("width",p.cache.element.width+"px","important"),P.style.setProperty("height",p.cache.element.height+"px","important"))}},is:{standardScroll:function(){return w[0]==t},top:function(){return k.hasClass(v.top)},bottom:function(){return k.hasClass(v.bottom)},initialPosition:function(){return!p.is.fixed()&&!p.is.bound()},hidden:function(){return!k.is(":visible")},bound:function(){return k.hasClass(v.bound)},fixed:function(){return k.hasClass(v.fixed)}},stick:function(e){var t=e||w.scrollTop(),o=p.cache,n=o.fits,i=o.element,s=o.scrollContext,r=o.context,c=p.is.bottom()&&b.pushing?b.bottomOffset:b.offset,e={top:t+c,bottom:t+c+s.height},l=(p.get.direction(e.top),n?0:p.get.elementScroll(e.top)),a=!n,f=0!==i.height;f&&(p.is.initialPosition()?e.top>=r.bottom?(p.debug("Initial element position is bottom of container"),p.bindBottom()):e.top>i.top&&(i.height+e.top-l>=r.bottom?(p.debug("Initial element position is bottom of container"),p.bindBottom()):(p.debug("Initial element position is fixed"),p.fixTop())):p.is.fixed()?p.is.top()?e.top<=i.top?(p.debug("Fixed element reached top of container"),p.setInitialPosition()):i.height+e.top-l>=r.bottom?(p.debug("Fixed element reached bottom of container"),p.bindBottom()):a&&(p.set.scroll(l),p.save.lastScroll(e.top),p.save.elementScroll(l)):p.is.bottom()&&(e.bottom-i.height<=i.top?(p.debug("Bottom fixed rail has reached top of container"),p.setInitialPosition()):e.bottom>=r.bottom?(p.debug("Bottom fixed rail has reached bottom of container"),p.bindBottom()):a&&(p.set.scroll(l),p.save.lastScroll(e.top),p.save.elementScroll(l))):p.is.bottom()&&(e.top<=i.top?(p.debug("Jumped from bottom fixed to top fixed, most likely used home/end button"),p.setInitialPosition()):b.pushing?p.is.bound()&&e.bottom<=r.bottom&&(p.debug("Fixing bottom attached element to bottom of browser."),p.fixBottom()):p.is.bound()&&e.top<=r.bottom-i.height&&(p.debug("Fixing bottom attached element to top of browser."),p.fixTop())))},bindTop:function(){p.debug("Binding element to top of parent container"),p.remove.offset(),k.css({left:"",top:"",marginBottom:""}).removeClass(v.fixed).removeClass(v.bottom).addClass(v.bound).addClass(v.top),b.onTop.call(P),b.onUnstick.call(P)},bindBottom:function(){p.debug("Binding element to bottom of parent container"),p.remove.offset(),k.css({left:"",top:""}).removeClass(v.fixed).removeClass(v.top).addClass(v.bound).addClass(v.bottom),b.onBottom.call(P),b.onUnstick.call(P)},setInitialPosition:function(){p.debug("Returning to initial position"),p.unfix(),p.unbind()},fixTop:function(){p.debug("Fixing element to top of page"),p.set.minimumSize(),p.set.offset(),k.css({left:p.cache.element.left,bottom:"",marginBottom:""}).removeClass(v.bound).removeClass(v.bottom).addClass(v.fixed).addClass(v.top),b.onStick.call(P)},fixBottom:function(){p.debug("Sticking element to bottom of page"),p.set.minimumSize(),p.set.offset(),k.css({left:p.cache.element.left,bottom:"",marginBottom:""}).removeClass(v.bound).removeClass(v.top).addClass(v.fixed).addClass(v.bottom),b.onStick.call(P)},unbind:function(){p.is.bound()&&(p.debug("Removing container bound position on element"),p.remove.offset(),k.removeClass(v.bound).removeClass(v.top).removeClass(v.bottom))},unfix:function(){p.is.fixed()&&(p.debug("Removing fixed position on element"),p.remove.offset(),k.removeClass(v.fixed).removeClass(v.top).removeClass(v.bottom),b.onUnstick.call(P))},reset:function(){p.debug("Resetting elements position"),p.unbind(),p.unfix(),p.resetCSS(),p.remove.offset(),p.remove.lastScroll()},resetCSS:function(){k.css({width:"",height:""}),r.css({height:""})},setting:function(t,o){if(e.isPlainObject(t))e.extend(!0,b,t);else{if(o===n)return b[t];b[t]=o}},internal:function(t,o){if(e.isPlainObject(t))e.extend(!0,p,t);else{if(o===n)return p[t];p[t]=o}},debug:function(){!b.silent&&b.debug&&(b.performance?p.performance.log(arguments):(p.debug=Function.prototype.bind.call(console.info,console,b.name+":"),p.debug.apply(console,arguments)))},verbose:function(){!b.silent&&b.verbose&&b.debug&&(b.performance?p.performance.log(arguments):(p.verbose=Function.prototype.bind.call(console.info,console,b.name+":"),p.verbose.apply(console,arguments)))},error:function(){b.silent||(p.error=Function.prototype.bind.call(console.error,console,b.name+":"),p.error.apply(console,arguments))},performance:{log:function(e){var t,o,n;b.performance&&(t=(new Date).getTime(),n=l||t,o=t-n,l=t,a.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:P,"Execution Time":o})),clearTimeout(p.performance.timer),p.performance.timer=setTimeout(p.performance.display,0)},display:function(){var t=b.name+":",o=0;l=!1,clearTimeout(p.performance.timer),e.each(a,function(e,t){o+=t["Execution Time"]}),t+=" "+o+"ms",c&&(t+=" '"+c+"'"),(console.group!==n||console.table!==n)&&a.length>0&&(console.groupCollapsed(t),console.table?console.table(a):e.each(a,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),a=[]}},invoke:function(t,o,i){var r,c,l,a=z;return o=o||u,i=P||i,"string"==typeof t&&a!==n&&(t=t.split(/[\. ]/),r=t.length-1,e.each(t,function(o,i){var s=o!=r?i+t[o+1].charAt(0).toUpperCase()+t[o+1].slice(1):t;if(e.isPlainObject(a[s])&&o!=r)a=a[s];else{if(a[s]!==n)return c=a[s],!1;if(!e.isPlainObject(a[i])||o==r)return a[i]!==n&&(c=a[i],!1);a=a[i]}})),e.isFunction(c)?l=c.apply(i,o):c!==n&&(l=c),e.isArray(s)?s.push(l):s!==n?s=[s,l]:l!==n&&(s=l),c}},m?(z===n&&p.initialize(),p.invoke(f)):(z!==n&&z.invoke("destroy"),p.initialize())}),s!==n?s:this},e.fn.sticky.settings={name:"Sticky",namespace:"sticky",silent:!1,debug:!1,verbose:!0,performance:!0,pushing:!1,context:!1,container:!1,scrollContext:t,offset:0,bottomOffset:0,jitter:5,observeChanges:!1,onReposition:function(){},onScroll:function(){},onStick:function(){},onUnstick:function(){},onTop:function(){},onBottom:function(){},error:{container:"Sticky element must be inside a relative container",visible:"Element is hidden, you must call refresh after element becomes visible. Use silent setting to surpress this warning in production.",method:"The method you called is not defined.",invalidContext:"Context specified does not exist",elementSize:"Sticky element is larger than its container, cannot create sticky."},className:{bound:"bound",fixed:"fixed",supported:"native",top:"top",bottom:"bottom"}}}(jQuery,window,document);
@@ -1,9 +1,8 @@
1
1
  /*!
2
- * # Semantic UI 2.0.0 - Tab
2
+ * # Semantic UI 2.2.6 - Tab
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
6
- * Copyright 2015 Contributors
7
6
  * Released under the MIT license
8
7
  * http://opensource.org/licenses/MIT
9
8
  *
@@ -1,9 +1,8 @@
1
1
  /*!
2
- * # Semantic UI 2.0.0 - Tab
2
+ * # Semantic UI 2.2.6 - Tab
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
6
- * Copyright 2015 Contributors
7
6
  * Released under the MIT license
8
7
  * http://opensource.org/licenses/MIT
9
8
  *
@@ -13,6 +12,13 @@
13
12
 
14
13
  "use strict";
15
14
 
15
+ window = (typeof window != 'undefined' && window.Math == Math)
16
+ ? window
17
+ : (typeof self != 'undefined' && self.Math == Math)
18
+ ? self
19
+ : Function('return this')()
20
+ ;
21
+
16
22
  $.fn.tab = function(parameters) {
17
23
 
18
24
  var
@@ -107,7 +113,7 @@ $.fn.tab = function(parameters) {
107
113
 
108
114
  bind: {
109
115
  events: function() {
110
- // if using $.tab dont add events
116
+ // if using $.tab don't add events
111
117
  if( !$.isWindow( element ) ) {
112
118
  module.debug('Attaching tab activation events to element', $module);
113
119
  $module
@@ -374,7 +380,7 @@ $.fn.tab = function(parameters) {
374
380
  else if(tabPath.search('/') == -1 && tabPath !== '') {
375
381
  // look for in page anchor
376
382
  $anchor = $('#' + tabPath + ', a[name="' + tabPath + '"]');
377
- currentPath = $anchor.closest('[data-tab]').data('tab');
383
+ currentPath = $anchor.closest('[data-tab]').data(metadata.tab);
378
384
  $tab = module.get.tabElement(currentPath);
379
385
  // if anchor exists use parent tab
380
386
  if($anchor && $anchor.length > 0 && currentPath) {
@@ -423,13 +429,21 @@ $.fn.tab = function(parameters) {
423
429
  ? evaluateScripts
424
430
  : settings.evaluateScripts
425
431
  ;
426
- if(evaluateScripts) {
427
- module.debug('Updating HTML and evaluating inline scripts', tabPath, html);
428
- $tab.html(html);
432
+ if(typeof settings.cacheType == 'string' && settings.cacheType.toLowerCase() == 'dom' && typeof html !== 'string') {
433
+ $tab
434
+ .empty()
435
+ .append($(html).clone(true))
436
+ ;
429
437
  }
430
438
  else {
431
- module.debug('Updating HTML', tabPath, html);
432
- tab.innerHTML = html;
439
+ if(evaluateScripts) {
440
+ module.debug('Updating HTML and evaluating inline scripts', tabPath, html);
441
+ $tab.html(html);
442
+ }
443
+ else {
444
+ module.debug('Updating HTML', tabPath, html);
445
+ tab.innerHTML = html;
446
+ }
433
447
  }
434
448
  }
435
449
  },
@@ -440,11 +454,17 @@ $.fn.tab = function(parameters) {
440
454
  var
441
455
  $tab = module.get.tabElement(tabPath),
442
456
  apiSettings = {
443
- dataType : 'html',
444
- on : 'now',
445
- cache : 'local',
457
+ dataType : 'html',
458
+ encodeParameters : false,
459
+ on : 'now',
460
+ cache : settings.alwaysRefresh,
461
+ headers : {
462
+ 'X-Remote': true
463
+ },
446
464
  onSuccess : function(response) {
447
- module.cache.add(fullTabPath, response);
465
+ if(settings.cacheType == 'response') {
466
+ module.cache.add(fullTabPath, response);
467
+ }
448
468
  module.update.content(tabPath, response);
449
469
  if(tabPath == activeTabPath) {
450
470
  module.debug('Content loaded', tabPath);
@@ -455,6 +475,19 @@ $.fn.tab = function(parameters) {
455
475
  }
456
476
  settings.onFirstLoad.call($tab[0], tabPath, parameterArray, historyEvent);
457
477
  settings.onLoad.call($tab[0], tabPath, parameterArray, historyEvent);
478
+
479
+ if(typeof settings.cacheType == 'string' && settings.cacheType.toLowerCase() == 'dom' && $tab.children().length > 0) {
480
+ setTimeout(function() {
481
+ var
482
+ $clone = $tab.children().clone(true)
483
+ ;
484
+ $clone = $clone.not('script');
485
+ module.cache.add(fullTabPath, $clone);
486
+ }, 0);
487
+ }
488
+ else {
489
+ module.cache.add(fullTabPath, $tab.html());
490
+ }
458
491
  },
459
492
  urlData: {
460
493
  tab: fullTabPath
@@ -486,12 +519,9 @@ $.fn.tab = function(parameters) {
486
519
  module.debug('Content is already loading', fullTabPath);
487
520
  }
488
521
  else if($.api !== undefined) {
489
- requestSettings = $.extend(true, {
490
- headers: {
491
- 'X-Remote': true
492
- }
493
- }, settings.apiSettings, apiSettings);
522
+ requestSettings = $.extend(true, {}, settings.apiSettings, apiSettings);
494
523
  module.debug('Retrieving remote content', fullTabPath, requestSettings);
524
+ module.set.loading(tabPath);
495
525
  $tab.api(requestSettings);
496
526
  }
497
527
  else {
@@ -507,15 +537,19 @@ $.fn.tab = function(parameters) {
507
537
  },
508
538
  tab: function(tabPath) {
509
539
  var
510
- $tab = module.get.tabElement(tabPath),
511
- isActive = $tab.hasClass(className.active)
540
+ $tab = module.get.tabElement(tabPath),
541
+ $deactiveTabs = (settings.deactivate == 'siblings')
542
+ ? $tab.siblings($tabs)
543
+ : $tabs.not($tab),
544
+ isActive = $tab.hasClass(className.active)
512
545
  ;
513
546
  module.verbose('Showing tab content for', $tab);
514
547
  if(!isActive) {
515
548
  $tab
516
549
  .addClass(className.active)
517
- .siblings($tabs)
518
- .removeClass(className.active + ' ' + className.loading)
550
+ ;
551
+ $deactiveTabs
552
+ .removeClass(className.active + ' ' + className.loading)
519
553
  ;
520
554
  if($tab.length > 0) {
521
555
  settings.onVisible.call($tab[0], tabPath);
@@ -524,15 +558,19 @@ $.fn.tab = function(parameters) {
524
558
  },
525
559
  navigation: function(tabPath) {
526
560
  var
527
- $navigation = module.get.navElement(tabPath),
561
+ $navigation = module.get.navElement(tabPath),
562
+ $deactiveNavigation = (settings.deactivate == 'siblings')
563
+ ? $navigation.siblings($allModules)
564
+ : $allModules.not($navigation),
528
565
  isActive = $navigation.hasClass(className.active)
529
566
  ;
530
567
  module.verbose('Activating tab navigation for', $navigation, tabPath);
531
568
  if(!isActive) {
532
569
  $navigation
533
570
  .addClass(className.active)
534
- .siblings($allModules)
535
- .removeClass(className.active + ' ' + className.loading)
571
+ ;
572
+ $deactiveNavigation
573
+ .removeClass(className.active + ' ' + className.loading)
536
574
  ;
537
575
  }
538
576
  }
@@ -608,8 +646,8 @@ $.fn.tab = function(parameters) {
608
646
  tabPath = tabPath || activeTabPath;
609
647
  tabPathArray = module.utilities.pathToArray(tabPath);
610
648
  lastTab = module.utilities.last(tabPathArray);
611
- $fullPathTab = $tabs.filter('[data-' + metadata.tab + '="' + lastTab + '"]');
612
- $simplePathTab = $tabs.filter('[data-' + metadata.tab + '="' + tabPath + '"]');
649
+ $fullPathTab = $tabs.filter('[data-' + metadata.tab + '="' + tabPath + '"]');
650
+ $simplePathTab = $tabs.filter('[data-' + metadata.tab + '="' + lastTab + '"]');
613
651
  return ($fullPathTab.length > 0)
614
652
  ? $fullPathTab
615
653
  : $simplePathTab
@@ -655,7 +693,12 @@ $.fn.tab = function(parameters) {
655
693
  $.extend(true, settings, name);
656
694
  }
657
695
  else if(value !== undefined) {
658
- settings[name] = value;
696
+ if($.isPlainObject(settings[name])) {
697
+ $.extend(true, settings[name], value);
698
+ }
699
+ else {
700
+ settings[name] = value;
701
+ }
659
702
  }
660
703
  else {
661
704
  return settings[name];
@@ -673,7 +716,7 @@ $.fn.tab = function(parameters) {
673
716
  }
674
717
  },
675
718
  debug: function() {
676
- if(settings.debug) {
719
+ if(!settings.silent && settings.debug) {
677
720
  if(settings.performance) {
678
721
  module.performance.log(arguments);
679
722
  }
@@ -684,7 +727,7 @@ $.fn.tab = function(parameters) {
684
727
  }
685
728
  },
686
729
  verbose: function() {
687
- if(settings.verbose && settings.debug) {
730
+ if(!settings.silent && settings.verbose && settings.debug) {
688
731
  if(settings.performance) {
689
732
  module.performance.log(arguments);
690
733
  }
@@ -695,8 +738,10 @@ $.fn.tab = function(parameters) {
695
738
  }
696
739
  },
697
740
  error: function() {
698
- module.error = Function.prototype.bind.call(console.error, console, settings.name + ':');
699
- module.error.apply(console, arguments);
741
+ if(!settings.silent) {
742
+ module.error = Function.prototype.bind.call(console.error, console, settings.name + ':');
743
+ module.error.apply(console, arguments);
744
+ }
700
745
  },
701
746
  performance: {
702
747
  log: function(message) {
@@ -835,32 +880,36 @@ $.fn.tab.settings = {
835
880
  name : 'Tab',
836
881
  namespace : 'tab',
837
882
 
883
+ silent : false,
838
884
  debug : false,
839
885
  verbose : false,
840
886
  performance : true,
841
887
 
842
- auto : false, // uses pjax style endpoints fetching content from same url with remote-content headers
843
- history : false, // use browser history
844
- historyType : 'hash', // #/ or html5 state
845
- path : false, // base path of url
888
+ auto : false, // uses pjax style endpoints fetching content from same url with remote-content headers
889
+ history : false, // use browser history
890
+ historyType : 'hash', // #/ or html5 state
891
+ path : false, // base path of url
892
+
893
+ context : false, // specify a context that tabs must appear inside
894
+ childrenOnly : false, // use only tabs that are children of context
895
+ maxDepth : 25, // max depth a tab can be nested
846
896
 
847
- context : false, // specify a context that tabs must appear inside
848
- childrenOnly : false, // use only tabs that are children of context
849
- maxDepth : 25, // max depth a tab can be nested
897
+ deactivate : 'siblings', // whether tabs should deactivate sibling menu elements or all elements initialized together
850
898
 
851
- alwaysRefresh : false, // load tab content new every tab click
852
- cache : true, // cache the content requests to pull locally
853
- ignoreFirstLoad : false, // don't load remote content on first load
899
+ alwaysRefresh : false, // load tab content new every tab click
900
+ cache : true, // cache the content requests to pull locally
901
+ cacheType : 'response', // Whether to cache exact response, or to html cache contents after scripts execute
902
+ ignoreFirstLoad : false, // don't load remote content on first load
854
903
 
855
- apiSettings : false, // settings for api call
856
- evaluateScripts : 'once', // whether inline scripts should be parsed (true/false/once). Once will not re-evaluate on cached content
904
+ apiSettings : false, // settings for api call
905
+ evaluateScripts : 'once', // whether inline scripts should be parsed (true/false/once). Once will not re-evaluate on cached content
857
906
 
858
907
  onFirstLoad : function(tabPath, parameterArray, historyEvent) {}, // called first time loaded
859
908
  onLoad : function(tabPath, parameterArray, historyEvent) {}, // called on every load
860
909
  onVisible : function(tabPath, parameterArray, historyEvent) {}, // called every time tab visible
861
910
  onRequest : function(tabPath, parameterArray, historyEvent) {}, // called ever time a tab beings loading remote content
862
911
 
863
- templates : {
912
+ templates : {
864
913
  determineTitle: function(tabArray) {} // returns page title for path
865
914
  },
866
915
 
@@ -894,4 +943,4 @@ $.fn.tab.settings = {
894
943
 
895
944
  };
896
945
 
897
- })( jQuery, window , document );
946
+ })( jQuery, window, document );
@@ -1,9 +1,8 @@
1
1
  /*!
2
- * # Semantic UI 2.0.0 - Tab
2
+ * # Semantic UI 2.2.6 - Tab
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
6
- * Copyright 2015 Contributors
7
6
  * Released under the MIT license
8
7
  * http://opensource.org/licenses/MIT
9
8
  *
@@ -1,11 +1,10 @@
1
1
  /*!
2
- * # Semantic UI 2.0.0 - Tab
2
+ * # Semantic UI 2.2.6 - Tab
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
6
- * Copyright 2015 Contributors
7
6
  * Released under the MIT license
8
7
  * http://opensource.org/licenses/MIT
9
8
  *
10
9
  */
11
- !function(e,t,a,n){"use strict";e.fn.tab=function(i){var o,r=e(e.isFunction(this)?t:this),s=r.selector||"",c=(new Date).getTime(),l=[],d=arguments[0],u="string"==typeof d,b=[].slice.call(arguments,1),g=!1;return r.each(function(){var f,h,p,m,v,y,T=e.isPlainObject(i)?e.extend(!0,{},e.fn.tab.settings,i):e.extend({},e.fn.tab.settings),L=T.className,x=T.metadata,A=T.selector,P=T.error,C="."+T.namespace,F="module-"+T.namespace,S=e(this),E={},j=!0,k=0,I=this,w=S.data(F);v={initialize:function(){v.debug("Initializing tab menu item",S),v.fix.callbacks(),v.determineTabs(),v.debug("Determining tabs",T.context,h),T.auto&&v.set.auto(),v.bind.events(),T.history&&!g&&(v.initializeHistory(),g=!0),v.instantiate()},instantiate:function(){v.verbose("Storing instance of module",v),w=v,S.data(F,v)},destroy:function(){v.debug("Destroying tabs",S),S.removeData(F).off(C)},bind:{events:function(){e.isWindow(I)||(v.debug("Attaching tab activation events to element",S),S.on("click"+C,v.event.click))}},determineTabs:function(){var t;"parent"===T.context?(S.closest(A.ui).length>0?(t=S.closest(A.ui),v.verbose("Using closest UI element as parent",t)):t=S,f=t.parent(),v.verbose("Determined parent element for creating context",f)):T.context?(f=e(T.context),v.verbose("Using selector for tab context",T.context,f)):f=e("body"),T.childrenOnly?(h=f.children(A.tabs),v.debug("Searching tab context children for tabs",f,h)):(h=f.find(A.tabs),v.debug("Searching tab context for tabs",f,h))},fix:{callbacks:function(){e.isPlainObject(i)&&(i.onTabLoad||i.onTabInit)&&(i.onTabLoad&&(i.onLoad=i.onTabLoad,delete i.onTabLoad,v.error(P.legacyLoad,i.onLoad)),i.onTabInit&&(i.onFirstLoad=i.onTabInit,delete i.onTabInit,v.error(P.legacyInit,i.onFirstLoad)),T=e.extend(!0,{},e.fn.tab.settings,i))}},initializeHistory:function(){if(v.debug("Initializing page state"),e.address===n)return v.error(P.state),!1;if("state"==T.historyType){if(v.debug("Using HTML5 to manage state"),T.path===!1)return v.error(P.path),!1;e.address.history(!0).state(T.path)}e.address.bind("change",v.event.history.change)},event:{click:function(t){var a=e(this).data(x.tab);a!==n?(T.history?(v.verbose("Updating page state",t),e.address.value(a)):(v.verbose("Changing tab",t),v.changeTab(a)),t.preventDefault()):v.debug("No tab specified")},history:{change:function(t){var a=t.pathNames.join("/")||v.get.initialPath(),i=T.templates.determineTitle(a)||!1;v.performance.display(),v.debug("History change event",a,t),y=t,a!==n&&v.changeTab(a),i&&e.address.title(i)}}},refresh:function(){p&&(v.debug("Refreshing tab",p),v.changeTab(p))},cache:{read:function(e){return e!==n?E[e]:!1},add:function(e,t){e=e||p,v.debug("Adding cached content for",e),E[e]=t},remove:function(e){e=e||p,v.debug("Removing cached content for",e),delete E[e]}},set:{auto:function(){var t="string"==typeof T.path?T.path.replace(/\/$/,"")+"/{$tab}":"/{$tab}";v.verbose("Setting up automatic tab retrieval from server",t),e.isPlainObject(T.apiSettings)?T.apiSettings.url=t:T.apiSettings={url:t}},loading:function(e){var t=v.get.tabElement(e),a=t.hasClass(L.loading);a||(v.verbose("Setting loading state for",t),t.addClass(L.loading).siblings(h).removeClass(L.active+" "+L.loading),t.length>0&&T.onRequest.call(t[0],e))},state:function(t){e.address.value(t)}},changeTab:function(a){var n=t.history&&t.history.pushState,i=n&&T.ignoreFirstLoad&&j,o=T.auto||e.isPlainObject(T.apiSettings),r=o&&!i?v.utilities.pathToArray(a):v.get.defaultPathArray(a);a=v.utilities.arrayToPath(r),e.each(r,function(t,n){var s,c,l,d,u=r.slice(0,t+1),b=v.utilities.arrayToPath(u),g=v.is.tab(b),h=t+1==r.length,x=v.get.tabElement(b);if(v.verbose("Looking for tab",n),g){if(v.verbose("Tab was found",n),p=b,m=v.utilities.filterArray(r,u),h?d=!0:(c=r.slice(0,t+2),l=v.utilities.arrayToPath(c),d=!v.is.tab(l),d&&v.verbose("Tab parameters found",c)),d&&o)return i?(v.debug("Ignoring remote content on first tab load",b),j=!1,v.cache.add(a,x.html()),v.activate.all(b),T.onFirstLoad.call(x[0],b,m,y),T.onLoad.call(x[0],b,m,y)):(v.activate.navigation(b),v.fetch.content(b,a)),!1;v.debug("Opened local tab",b),v.activate.all(b),v.cache.read(b)||(v.cache.add(b,!0),v.debug("First time tab loaded calling tab init"),T.onFirstLoad.call(x[0],b,m,y)),T.onLoad.call(x[0],b,m,y)}else{if(-1!=a.search("/")||""===a)return v.error(P.missingTab,S,f,b),!1;if(s=e("#"+a+', a[name="'+a+'"]'),b=s.closest("[data-tab]").data("tab"),x=v.get.tabElement(b),s&&s.length>0&&b)return v.debug("Anchor link used, opening parent tab",x,s),x.hasClass(L.active)||setTimeout(function(){v.scrollTo(s)},0),v.activate.all(b),v.cache.read(b)||(v.cache.add(b,!0),v.debug("First time tab loaded calling tab init"),T.onFirstLoad.call(x[0],b,m,y)),T.onLoad.call(x[0],b,m,y),!1}})},scrollTo:function(t){var n=t&&t.length>0?t.offset().top:!1;n!==!1&&(v.debug("Forcing scroll to an in-page link in a hidden tab",n,t),e(a).scrollTop(n))},update:{content:function(e,t,a){var i=v.get.tabElement(e),o=i[0];a=a!==n?a:T.evaluateScripts,a?(v.debug("Updating HTML and evaluating inline scripts",e,t),i.html(t)):(v.debug("Updating HTML",e,t),o.innerHTML=t)}},fetch:{content:function(t,a){var i,o,r=v.get.tabElement(t),s={dataType:"html",on:"now",cache:"local",onSuccess:function(e){v.cache.add(a,e),v.update.content(t,e),t==p?(v.debug("Content loaded",t),v.activate.tab(t)):v.debug("Content loaded in background",t),T.onFirstLoad.call(r[0],t,m,y),T.onLoad.call(r[0],t,m,y)},urlData:{tab:a}},c=r.api("get request")||!1,l=c&&"pending"===c.state();a=a||t,o=v.cache.read(a),T.cache&&o?(v.activate.tab(t),v.debug("Adding cached content",a),"once"==T.evaluateScripts?v.update.content(t,o,!1):v.update.content(t,o),T.onLoad.call(r[0],t,m,y)):l?(v.set.loading(t),v.debug("Content is already loading",a)):e.api!==n?(i=e.extend(!0,{headers:{"X-Remote":!0}},T.apiSettings,s),v.debug("Retrieving remote content",a,i),r.api(i)):v.error(P.api)}},activate:{all:function(e){v.activate.tab(e),v.activate.navigation(e)},tab:function(e){var t=v.get.tabElement(e),a=t.hasClass(L.active);v.verbose("Showing tab content for",t),a||(t.addClass(L.active).siblings(h).removeClass(L.active+" "+L.loading),t.length>0&&T.onVisible.call(t[0],e))},navigation:function(e){var t=v.get.navElement(e),a=t.hasClass(L.active);v.verbose("Activating tab navigation for",t,e),a||t.addClass(L.active).siblings(r).removeClass(L.active+" "+L.loading)}},deactivate:{all:function(){v.deactivate.navigation(),v.deactivate.tabs()},navigation:function(){r.removeClass(L.active)},tabs:function(){h.removeClass(L.active+" "+L.loading)}},is:{tab:function(e){return e!==n?v.get.tabElement(e).length>0:!1}},get:{initialPath:function(){return r.eq(0).data(x.tab)||h.eq(0).data(x.tab)},path:function(){return e.address.value()},defaultPathArray:function(e){return v.utilities.pathToArray(v.get.defaultPath(e))},defaultPath:function(e){var t=r.filter("[data-"+x.tab+'^="'+e+'/"]').eq(0),a=t.data(x.tab)||!1;if(a){if(v.debug("Found default tab",a),k<T.maxDepth)return k++,v.get.defaultPath(a);v.error(P.recursion)}else v.debug("No default tabs found for",e,h);return k=0,e},navElement:function(e){return e=e||p,r.filter("[data-"+x.tab+'="'+e+'"]')},tabElement:function(e){var t,a,n,i;return e=e||p,n=v.utilities.pathToArray(e),i=v.utilities.last(n),t=h.filter("[data-"+x.tab+'="'+i+'"]'),a=h.filter("[data-"+x.tab+'="'+e+'"]'),t.length>0?t:a},tab:function(){return p}},utilities:{filterArray:function(t,a){return e.grep(t,function(t){return-1==e.inArray(t,a)})},last:function(t){return e.isArray(t)?t[t.length-1]:!1},pathToArray:function(e){return e===n&&(e=p),"string"==typeof e?e.split("/"):[e]},arrayToPath:function(t){return e.isArray(t)?t.join("/"):!1}},setting:function(t,a){if(v.debug("Changing setting",t,a),e.isPlainObject(t))e.extend(!0,T,t);else{if(a===n)return T[t];T[t]=a}},internal:function(t,a){if(e.isPlainObject(t))e.extend(!0,v,t);else{if(a===n)return v[t];v[t]=a}},debug:function(){T.debug&&(T.performance?v.performance.log(arguments):(v.debug=Function.prototype.bind.call(console.info,console,T.name+":"),v.debug.apply(console,arguments)))},verbose:function(){T.verbose&&T.debug&&(T.performance?v.performance.log(arguments):(v.verbose=Function.prototype.bind.call(console.info,console,T.name+":"),v.verbose.apply(console,arguments)))},error:function(){v.error=Function.prototype.bind.call(console.error,console,T.name+":"),v.error.apply(console,arguments)},performance:{log:function(e){var t,a,n;T.performance&&(t=(new Date).getTime(),n=c||t,a=t-n,c=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:I,"Execution Time":a})),clearTimeout(v.performance.timer),v.performance.timer=setTimeout(v.performance.display,500)},display:function(){var t=T.name+":",a=0;c=!1,clearTimeout(v.performance.timer),e.each(l,function(e,t){a+=t["Execution Time"]}),t+=" "+a+"ms",s&&(t+=" '"+s+"'"),(console.group!==n||console.table!==n)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),l=[]}},invoke:function(t,a,i){var r,s,c,l=w;return a=a||b,i=I||i,"string"==typeof t&&l!==n&&(t=t.split(/[\. ]/),r=t.length-1,e.each(t,function(a,i){var o=a!=r?i+t[a+1].charAt(0).toUpperCase()+t[a+1].slice(1):t;if(e.isPlainObject(l[o])&&a!=r)l=l[o];else{if(l[o]!==n)return s=l[o],!1;if(!e.isPlainObject(l[i])||a==r)return l[i]!==n?(s=l[i],!1):(v.error(P.method,t),!1);l=l[i]}})),e.isFunction(s)?c=s.apply(i,a):s!==n&&(c=s),e.isArray(o)?o.push(c):o!==n?o=[o,c]:c!==n&&(o=c),s}},u?(w===n&&v.initialize(),v.invoke(d)):(w!==n&&w.invoke("destroy"),v.initialize())}),o!==n?o:this},e.tab=function(){e(t).tab.apply(this,arguments)},e.fn.tab.settings={name:"Tab",namespace:"tab",debug:!1,verbose:!1,performance:!0,auto:!1,history:!1,historyType:"hash",path:!1,context:!1,childrenOnly:!1,maxDepth:25,alwaysRefresh:!1,cache:!0,ignoreFirstLoad:!1,apiSettings:!1,evaluateScripts:"once",onFirstLoad:function(e,t,a){},onLoad:function(e,t,a){},onVisible:function(e,t,a){},onRequest:function(e,t,a){},templates:{determineTitle:function(e){}},error:{api:"You attempted to load content without API module",method:"The method you called is not defined",missingTab:"Activated tab cannot be found. Tabs are case-sensitive.",noContent:"The tab you specified is missing a content url.",path:"History enabled, but no path was specified",recursion:"Max recursive depth reached",legacyInit:"onTabInit has been renamed to onFirstLoad in 2.0, please adjust your code.",legacyLoad:"onTabLoad has been renamed to onLoad in 2.0. Please adjust your code",state:"History requires Asual's Address library <https://github.com/asual/jquery-address>"},metadata:{tab:"tab",loaded:"loaded",promise:"promise"},className:{loading:"loading",active:"active"},selector:{tabs:".ui.tab",ui:".ui"}}}(jQuery,window,document);
10
+ !function(e,t,a,n){"use strict";t="undefined"!=typeof t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.tab=function(i){var o,r=e(e.isFunction(this)?t:this),s=r.selector||"",c=(new Date).getTime(),l=[],d=arguments[0],u="string"==typeof d,b=[].slice.call(arguments,1),g=!1;return r.each(function(){var f,h,p,m,v,y,T=e.isPlainObject(i)?e.extend(!0,{},e.fn.tab.settings,i):e.extend({},e.fn.tab.settings),L=T.className,x=T.metadata,A=T.selector,P=T.error,C="."+T.namespace,F="module-"+T.namespace,S=e(this),j={},E=!0,w=0,k=this,I=S.data(F);v={initialize:function(){v.debug("Initializing tab menu item",S),v.fix.callbacks(),v.determineTabs(),v.debug("Determining tabs",T.context,h),T.auto&&v.set.auto(),v.bind.events(),T.history&&!g&&(v.initializeHistory(),g=!0),v.instantiate()},instantiate:function(){v.verbose("Storing instance of module",v),I=v,S.data(F,v)},destroy:function(){v.debug("Destroying tabs",S),S.removeData(F).off(C)},bind:{events:function(){e.isWindow(k)||(v.debug("Attaching tab activation events to element",S),S.on("click"+C,v.event.click))}},determineTabs:function(){var t;"parent"===T.context?(S.closest(A.ui).length>0?(t=S.closest(A.ui),v.verbose("Using closest UI element as parent",t)):t=S,f=t.parent(),v.verbose("Determined parent element for creating context",f)):T.context?(f=e(T.context),v.verbose("Using selector for tab context",T.context,f)):f=e("body"),T.childrenOnly?(h=f.children(A.tabs),v.debug("Searching tab context children for tabs",f,h)):(h=f.find(A.tabs),v.debug("Searching tab context for tabs",f,h))},fix:{callbacks:function(){e.isPlainObject(i)&&(i.onTabLoad||i.onTabInit)&&(i.onTabLoad&&(i.onLoad=i.onTabLoad,delete i.onTabLoad,v.error(P.legacyLoad,i.onLoad)),i.onTabInit&&(i.onFirstLoad=i.onTabInit,delete i.onTabInit,v.error(P.legacyInit,i.onFirstLoad)),T=e.extend(!0,{},e.fn.tab.settings,i))}},initializeHistory:function(){if(v.debug("Initializing page state"),e.address===n)return v.error(P.state),!1;if("state"==T.historyType){if(v.debug("Using HTML5 to manage state"),T.path===!1)return v.error(P.path),!1;e.address.history(!0).state(T.path)}e.address.bind("change",v.event.history.change)},event:{click:function(t){var a=e(this).data(x.tab);a!==n?(T.history?(v.verbose("Updating page state",t),e.address.value(a)):(v.verbose("Changing tab",t),v.changeTab(a)),t.preventDefault()):v.debug("No tab specified")},history:{change:function(t){var a=t.pathNames.join("/")||v.get.initialPath(),i=T.templates.determineTitle(a)||!1;v.performance.display(),v.debug("History change event",a,t),y=t,a!==n&&v.changeTab(a),i&&e.address.title(i)}}},refresh:function(){p&&(v.debug("Refreshing tab",p),v.changeTab(p))},cache:{read:function(e){return e!==n&&j[e]},add:function(e,t){e=e||p,v.debug("Adding cached content for",e),j[e]=t},remove:function(e){e=e||p,v.debug("Removing cached content for",e),delete j[e]}},set:{auto:function(){var t="string"==typeof T.path?T.path.replace(/\/$/,"")+"/{$tab}":"/{$tab}";v.verbose("Setting up automatic tab retrieval from server",t),e.isPlainObject(T.apiSettings)?T.apiSettings.url=t:T.apiSettings={url:t}},loading:function(e){var t=v.get.tabElement(e),a=t.hasClass(L.loading);a||(v.verbose("Setting loading state for",t),t.addClass(L.loading).siblings(h).removeClass(L.active+" "+L.loading),t.length>0&&T.onRequest.call(t[0],e))},state:function(t){e.address.value(t)}},changeTab:function(a){var n=t.history&&t.history.pushState,i=n&&T.ignoreFirstLoad&&E,o=T.auto||e.isPlainObject(T.apiSettings),r=o&&!i?v.utilities.pathToArray(a):v.get.defaultPathArray(a);a=v.utilities.arrayToPath(r),e.each(r,function(t,n){var s,c,l,d,u=r.slice(0,t+1),b=v.utilities.arrayToPath(u),g=v.is.tab(b),h=t+1==r.length,A=v.get.tabElement(b);if(v.verbose("Looking for tab",n),g){if(v.verbose("Tab was found",n),p=b,m=v.utilities.filterArray(r,u),h?d=!0:(c=r.slice(0,t+2),l=v.utilities.arrayToPath(c),d=!v.is.tab(l),d&&v.verbose("Tab parameters found",c)),d&&o)return i?(v.debug("Ignoring remote content on first tab load",b),E=!1,v.cache.add(a,A.html()),v.activate.all(b),T.onFirstLoad.call(A[0],b,m,y),T.onLoad.call(A[0],b,m,y)):(v.activate.navigation(b),v.fetch.content(b,a)),!1;v.debug("Opened local tab",b),v.activate.all(b),v.cache.read(b)||(v.cache.add(b,!0),v.debug("First time tab loaded calling tab init"),T.onFirstLoad.call(A[0],b,m,y)),T.onLoad.call(A[0],b,m,y)}else{if(a.search("/")!=-1||""===a)return v.error(P.missingTab,S,f,b),!1;if(s=e("#"+a+', a[name="'+a+'"]'),b=s.closest("[data-tab]").data(x.tab),A=v.get.tabElement(b),s&&s.length>0&&b)return v.debug("Anchor link used, opening parent tab",A,s),A.hasClass(L.active)||setTimeout(function(){v.scrollTo(s)},0),v.activate.all(b),v.cache.read(b)||(v.cache.add(b,!0),v.debug("First time tab loaded calling tab init"),T.onFirstLoad.call(A[0],b,m,y)),T.onLoad.call(A[0],b,m,y),!1}})},scrollTo:function(t){var n=!!(t&&t.length>0)&&t.offset().top;n!==!1&&(v.debug("Forcing scroll to an in-page link in a hidden tab",n,t),e(a).scrollTop(n))},update:{content:function(t,a,i){var o=v.get.tabElement(t),r=o[0];i=i!==n?i:T.evaluateScripts,"string"==typeof T.cacheType&&"dom"==T.cacheType.toLowerCase()&&"string"!=typeof a?o.empty().append(e(a).clone(!0)):i?(v.debug("Updating HTML and evaluating inline scripts",t,a),o.html(a)):(v.debug("Updating HTML",t,a),r.innerHTML=a)}},fetch:{content:function(t,a){var i,o,r=v.get.tabElement(t),s={dataType:"html",encodeParameters:!1,on:"now",cache:T.alwaysRefresh,headers:{"X-Remote":!0},onSuccess:function(e){"response"==T.cacheType&&v.cache.add(a,e),v.update.content(t,e),t==p?(v.debug("Content loaded",t),v.activate.tab(t)):v.debug("Content loaded in background",t),T.onFirstLoad.call(r[0],t,m,y),T.onLoad.call(r[0],t,m,y),"string"==typeof T.cacheType&&"dom"==T.cacheType.toLowerCase()&&r.children().length>0?setTimeout(function(){var e=r.children().clone(!0);e=e.not("script"),v.cache.add(a,e)},0):v.cache.add(a,r.html())},urlData:{tab:a}},c=r.api("get request")||!1,l=c&&"pending"===c.state();a=a||t,o=v.cache.read(a),T.cache&&o?(v.activate.tab(t),v.debug("Adding cached content",a),"once"==T.evaluateScripts?v.update.content(t,o,!1):v.update.content(t,o),T.onLoad.call(r[0],t,m,y)):l?(v.set.loading(t),v.debug("Content is already loading",a)):e.api!==n?(i=e.extend(!0,{},T.apiSettings,s),v.debug("Retrieving remote content",a,i),v.set.loading(t),r.api(i)):v.error(P.api)}},activate:{all:function(e){v.activate.tab(e),v.activate.navigation(e)},tab:function(e){var t=v.get.tabElement(e),a="siblings"==T.deactivate?t.siblings(h):h.not(t),n=t.hasClass(L.active);v.verbose("Showing tab content for",t),n||(t.addClass(L.active),a.removeClass(L.active+" "+L.loading),t.length>0&&T.onVisible.call(t[0],e))},navigation:function(e){var t=v.get.navElement(e),a="siblings"==T.deactivate?t.siblings(r):r.not(t),n=t.hasClass(L.active);v.verbose("Activating tab navigation for",t,e),n||(t.addClass(L.active),a.removeClass(L.active+" "+L.loading))}},deactivate:{all:function(){v.deactivate.navigation(),v.deactivate.tabs()},navigation:function(){r.removeClass(L.active)},tabs:function(){h.removeClass(L.active+" "+L.loading)}},is:{tab:function(e){return e!==n&&v.get.tabElement(e).length>0}},get:{initialPath:function(){return r.eq(0).data(x.tab)||h.eq(0).data(x.tab)},path:function(){return e.address.value()},defaultPathArray:function(e){return v.utilities.pathToArray(v.get.defaultPath(e))},defaultPath:function(e){var t=r.filter("[data-"+x.tab+'^="'+e+'/"]').eq(0),a=t.data(x.tab)||!1;if(a){if(v.debug("Found default tab",a),w<T.maxDepth)return w++,v.get.defaultPath(a);v.error(P.recursion)}else v.debug("No default tabs found for",e,h);return w=0,e},navElement:function(e){return e=e||p,r.filter("[data-"+x.tab+'="'+e+'"]')},tabElement:function(e){var t,a,n,i;return e=e||p,n=v.utilities.pathToArray(e),i=v.utilities.last(n),t=h.filter("[data-"+x.tab+'="'+e+'"]'),a=h.filter("[data-"+x.tab+'="'+i+'"]'),t.length>0?t:a},tab:function(){return p}},utilities:{filterArray:function(t,a){return e.grep(t,function(t){return e.inArray(t,a)==-1})},last:function(t){return!!e.isArray(t)&&t[t.length-1]},pathToArray:function(e){return e===n&&(e=p),"string"==typeof e?e.split("/"):[e]},arrayToPath:function(t){return!!e.isArray(t)&&t.join("/")}},setting:function(t,a){if(v.debug("Changing setting",t,a),e.isPlainObject(t))e.extend(!0,T,t);else{if(a===n)return T[t];e.isPlainObject(T[t])?e.extend(!0,T[t],a):T[t]=a}},internal:function(t,a){if(e.isPlainObject(t))e.extend(!0,v,t);else{if(a===n)return v[t];v[t]=a}},debug:function(){!T.silent&&T.debug&&(T.performance?v.performance.log(arguments):(v.debug=Function.prototype.bind.call(console.info,console,T.name+":"),v.debug.apply(console,arguments)))},verbose:function(){!T.silent&&T.verbose&&T.debug&&(T.performance?v.performance.log(arguments):(v.verbose=Function.prototype.bind.call(console.info,console,T.name+":"),v.verbose.apply(console,arguments)))},error:function(){T.silent||(v.error=Function.prototype.bind.call(console.error,console,T.name+":"),v.error.apply(console,arguments))},performance:{log:function(e){var t,a,n;T.performance&&(t=(new Date).getTime(),n=c||t,a=t-n,c=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:k,"Execution Time":a})),clearTimeout(v.performance.timer),v.performance.timer=setTimeout(v.performance.display,500)},display:function(){var t=T.name+":",a=0;c=!1,clearTimeout(v.performance.timer),e.each(l,function(e,t){a+=t["Execution Time"]}),t+=" "+a+"ms",s&&(t+=" '"+s+"'"),(console.group!==n||console.table!==n)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),l=[]}},invoke:function(t,a,i){var r,s,c,l=I;return a=a||b,i=k||i,"string"==typeof t&&l!==n&&(t=t.split(/[\. ]/),r=t.length-1,e.each(t,function(a,i){var o=a!=r?i+t[a+1].charAt(0).toUpperCase()+t[a+1].slice(1):t;if(e.isPlainObject(l[o])&&a!=r)l=l[o];else{if(l[o]!==n)return s=l[o],!1;if(!e.isPlainObject(l[i])||a==r)return l[i]!==n?(s=l[i],!1):(v.error(P.method,t),!1);l=l[i]}})),e.isFunction(s)?c=s.apply(i,a):s!==n&&(c=s),e.isArray(o)?o.push(c):o!==n?o=[o,c]:c!==n&&(o=c),s}},u?(I===n&&v.initialize(),v.invoke(d)):(I!==n&&I.invoke("destroy"),v.initialize())}),o!==n?o:this},e.tab=function(){e(t).tab.apply(this,arguments)},e.fn.tab.settings={name:"Tab",namespace:"tab",silent:!1,debug:!1,verbose:!1,performance:!0,auto:!1,history:!1,historyType:"hash",path:!1,context:!1,childrenOnly:!1,maxDepth:25,deactivate:"siblings",alwaysRefresh:!1,cache:!0,cacheType:"response",ignoreFirstLoad:!1,apiSettings:!1,evaluateScripts:"once",onFirstLoad:function(e,t,a){},onLoad:function(e,t,a){},onVisible:function(e,t,a){},onRequest:function(e,t,a){},templates:{determineTitle:function(e){}},error:{api:"You attempted to load content without API module",method:"The method you called is not defined",missingTab:"Activated tab cannot be found. Tabs are case-sensitive.",noContent:"The tab you specified is missing a content url.",path:"History enabled, but no path was specified",recursion:"Max recursive depth reached",legacyInit:"onTabInit has been renamed to onFirstLoad in 2.0, please adjust your code.",legacyLoad:"onTabLoad has been renamed to onLoad in 2.0. Please adjust your code",state:"History requires Asual's Address library <https://github.com/asual/jquery-address>"},metadata:{tab:"tab",loaded:"loaded",promise:"promise"},className:{loading:"loading",active:"active"},selector:{tabs:".ui.tab",ui:".ui"}}}(jQuery,window,document);
@@ -1,9 +1,8 @@
1
1
  /*!
2
- * # Semantic UI 2.0.0 - Table
2
+ * # Semantic UI 2.2.6 - Table
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
6
- * Copyright 2015 Contributors
7
6
  * Released under the MIT license
8
7
  * http://opensource.org/licenses/MIT
9
8
  *
@@ -18,7 +17,7 @@
18
17
  /* Prototype */
19
18
  .ui.table {
20
19
  width: 100%;
21
- background: #ffffff;
20
+ background: #FFFFFF;
22
21
  margin: 1em 0em;
23
22
  border: 1px solid rgba(34, 36, 38, 0.15);
24
23
  box-shadow: none;
@@ -45,7 +44,7 @@
45
44
  .ui.table th,
46
45
  .ui.table td {
47
46
  -webkit-transition: background 0.1s ease, color 0.1s ease;
48
- transition: background 0.1s ease, color 0.1s ease;
47
+ transition: background 0.1s ease, color 0.1s ease;
49
48
  }
50
49
 
51
50
  /* Headers */
@@ -54,10 +53,10 @@
54
53
  }
55
54
  .ui.table thead th {
56
55
  cursor: auto;
57
- background: #f9fafb;
56
+ background: #F9FAFB;
58
57
  text-align: inherit;
59
58
  color: rgba(0, 0, 0, 0.87);
60
- padding: 0.92857143em 0.71428571em;
59
+ padding: 0.92857143em 0.78571429em;
61
60
  vertical-align: inherit;
62
61
  font-style: none;
63
62
  font-weight: bold;
@@ -85,10 +84,10 @@
85
84
  .ui.table tfoot th {
86
85
  cursor: auto;
87
86
  border-top: 1px solid rgba(34, 36, 38, 0.15);
88
- background: #f9fafb;
87
+ background: #F9FAFB;
89
88
  text-align: inherit;
90
89
  color: rgba(0, 0, 0, 0.87);
91
- padding: 0.71428571em 0.71428571em;
90
+ padding: 0.78571429em 0.78571429em;
92
91
  vertical-align: middle;
93
92
  font-style: normal;
94
93
  font-weight: normal;
@@ -117,7 +116,7 @@
117
116
 
118
117
  /* Table Cells */
119
118
  .ui.table td {
120
- padding: 0.71428571em 0.71428571em;
119
+ padding: 0.78571429em 0.78571429em;
121
120
  text-align: inherit;
122
121
  }
123
122
 
@@ -238,29 +237,36 @@
238
237
  background: transparent;
239
238
  font-weight: normal;
240
239
  color: rgba(0, 0, 0, 0.4);
241
- box-shadow: -1px -1px 0px 1px #ffffff;
240
+ box-shadow: -1px -1px 0px 1px #FFFFFF;
242
241
  }
243
242
  .ui.definition.table tfoot:not(.full-width) th:first-child {
244
243
  pointer-events: none;
245
244
  background: transparent;
246
245
  font-weight: rgba(0, 0, 0, 0.4);
247
246
  color: normal;
248
- box-shadow: 1px 1px 0px 1px #ffffff;
247
+ box-shadow: 1px 1px 0px 1px #FFFFFF;
249
248
  }
250
249
 
251
250
  /* Remove Border */
252
251
  .ui.celled.definition.table thead:not(.full-width) th:first-child {
253
- box-shadow: 0px -1px 0px 1px #ffffff;
252
+ box-shadow: 0px -1px 0px 1px #FFFFFF;
254
253
  }
255
254
  .ui.celled.definition.table tfoot:not(.full-width) th:first-child {
256
- box-shadow: 0px 1px 0px 1px #ffffff;
255
+ box-shadow: 0px 1px 0px 1px #FFFFFF;
257
256
  }
258
257
 
259
258
  /* Highlight Defining Column */
260
- .ui.definition.table tr td:first-child {
259
+ .ui.definition.table tr td:first-child:not(.ignored),
260
+ .ui.definition.table tr td.definition {
261
261
  background: rgba(0, 0, 0, 0.03);
262
262
  font-weight: bold;
263
263
  color: rgba(0, 0, 0, 0.95);
264
+ text-transform: '';
265
+ box-shadow: '';
266
+ text-align: '';
267
+ font-size: 1em;
268
+ padding-left: '';
269
+ padding-right: '';
264
270
  }
265
271
 
266
272
  /* Fix 2nd Column */
@@ -286,12 +292,12 @@
286
292
 
287
293
  .ui.table tr.positive,
288
294
  .ui.table td.positive {
289
- box-shadow: 0px 0px 0px #a3c293 inset;
295
+ box-shadow: 0px 0px 0px #A3C293 inset;
290
296
  }
291
297
  .ui.table tr.positive,
292
298
  .ui.table td.positive {
293
- background: #fcfff5 !important;
294
- color: #2c662d !important;
299
+ background: #FCFFF5 !important;
300
+ color: #2C662D !important;
295
301
  }
296
302
 
297
303
  /*--------------
@@ -300,12 +306,12 @@
300
306
 
301
307
  .ui.table tr.negative,
302
308
  .ui.table td.negative {
303
- box-shadow: 0px 0px 0px #e0b4b4 inset;
309
+ box-shadow: 0px 0px 0px #E0B4B4 inset;
304
310
  }
305
311
  .ui.table tr.negative,
306
312
  .ui.table td.negative {
307
- background: #fff6f6 !important;
308
- color: #9f3a38 !important;
313
+ background: #FFF6F6 !important;
314
+ color: #9F3A38 !important;
309
315
  }
310
316
 
311
317
  /*--------------
@@ -314,12 +320,12 @@
314
320
 
315
321
  .ui.table tr.error,
316
322
  .ui.table td.error {
317
- box-shadow: 0px 0px 0px #e0b4b4 inset;
323
+ box-shadow: 0px 0px 0px #E0B4B4 inset;
318
324
  }
319
325
  .ui.table tr.error,
320
326
  .ui.table td.error {
321
- background: #fff6f6 !important;
322
- color: #9f3a38 !important;
327
+ background: #FFF6F6 !important;
328
+ color: #9F3A38 !important;
323
329
  }
324
330
 
325
331
  /*--------------
@@ -328,12 +334,12 @@
328
334
 
329
335
  .ui.table tr.warning,
330
336
  .ui.table td.warning {
331
- box-shadow: 0px 0px 0px #c9ba9b inset;
337
+ box-shadow: 0px 0px 0px #C9BA9B inset;
332
338
  }
333
339
  .ui.table tr.warning,
334
340
  .ui.table td.warning {
335
- background: #fffaf3 !important;
336
- color: #573a08 !important;
341
+ background: #FFFAF3 !important;
342
+ color: #573A08 !important;
337
343
  }
338
344
 
339
345
  /*--------------
@@ -346,7 +352,7 @@
346
352
  }
347
353
  .ui.table tr.active,
348
354
  .ui.table td.active {
349
- background: #e0e0e0 !important;
355
+ background: #E0E0E0 !important;
350
356
  color: rgba(0, 0, 0, 0.87) !important;
351
357
  }
352
358
 
@@ -454,60 +460,100 @@
454
460
  }
455
461
 
456
462
  /*--------------
457
- Hoverable
463
+ Fixed
458
464
  ---------------*/
459
465
 
460
- .ui.selectable.table tbody tr:hover {
466
+ .ui.fixed.table {
467
+ table-layout: fixed;
468
+ }
469
+ .ui.fixed.table th,
470
+ .ui.fixed.table td {
471
+ overflow: hidden;
472
+ text-overflow: ellipsis;
473
+ }
474
+
475
+ /*--------------
476
+ Selectable
477
+ ---------------*/
478
+
479
+ .ui.selectable.table tbody tr:hover,
480
+ .ui.table tbody tr td.selectable:hover {
461
481
  background: rgba(0, 0, 0, 0.05) !important;
462
482
  color: rgba(0, 0, 0, 0.95) !important;
463
483
  }
464
- .ui.selectable.inverted.table tbody tr:hover {
484
+ .ui.selectable.inverted.table tbody tr:hover,
485
+ .ui.inverted.table tbody tr td.selectable:hover {
465
486
  background: rgba(255, 255, 255, 0.08) !important;
466
487
  color: #ffffff !important;
467
488
  }
468
489
 
490
+ /* Selectable Cell Link */
491
+ .ui.table tbody tr td.selectable {
492
+ padding: 0em;
493
+ }
494
+ .ui.table tbody tr td.selectable > a:not(.ui) {
495
+ display: block;
496
+ color: inherit;
497
+ padding: 0.78571429em 0.78571429em;
498
+ }
499
+
469
500
  /* Other States */
470
501
  .ui.selectable.table tr.error:hover,
502
+ .ui.table tr td.selectable.error:hover,
471
503
  .ui.selectable.table tr:hover td.error {
472
504
  background: #ffe7e7 !important;
473
505
  color: #943634 !important;
474
506
  }
475
507
  .ui.selectable.table tr.warning:hover,
508
+ .ui.table tr td.selectable.warning:hover,
476
509
  .ui.selectable.table tr:hover td.warning {
477
510
  background: #fff4e4 !important;
478
511
  color: #493107 !important;
479
512
  }
480
513
  .ui.selectable.table tr.active:hover,
514
+ .ui.table tr td.selectable.active:hover,
481
515
  .ui.selectable.table tr:hover td.active {
482
- background: #e0e0e0 !important;
516
+ background: #E0E0E0 !important;
483
517
  color: rgba(0, 0, 0, 0.87) !important;
484
518
  }
485
519
  .ui.selectable.table tr.positive:hover,
520
+ .ui.table tr td.selectable.positive:hover,
486
521
  .ui.selectable.table tr:hover td.positive {
487
522
  background: #f7ffe6 !important;
488
523
  color: #275b28 !important;
489
524
  }
490
525
  .ui.selectable.table tr.negative:hover,
526
+ .ui.table tr td.selectable.negative:hover,
491
527
  .ui.selectable.table tr:hover td.negative {
492
528
  background: #ffe7e7 !important;
493
529
  color: #943634 !important;
494
530
  }
495
531
 
496
- /*--------------
497
- Attached
498
- ---------------*/
532
+ /*-------------------
533
+ Attached
534
+ --------------------*/
499
535
 
500
536
 
501
- /* All */
537
+ /* Middle */
502
538
  .ui.attached.table {
503
- width: calc(100% + 2px );
504
- margin: 0em -1px;
539
+ top: 0px;
540
+ bottom: 0px;
505
541
  border-radius: 0px;
542
+ margin: 0em -1px;
543
+ width: calc(100% + 2px );
544
+ max-width: calc(100% + 2px );
506
545
  box-shadow: none;
546
+ border: 1px solid #D4D4D5;
547
+ }
548
+ .ui.attached + .ui.attached.table:not(.top) {
549
+ border-top: none;
507
550
  }
508
551
 
509
552
  /* Top */
510
553
  .ui[class*="top attached"].table {
554
+ bottom: 0px;
555
+ margin-bottom: 0em;
556
+ top: 0px;
511
557
  margin-top: 1em;
512
558
  border-radius: 0.28571429rem 0.28571429rem 0em 0em;
513
559
  }
@@ -516,12 +562,15 @@
516
562
  }
517
563
 
518
564
  /* Bottom */
519
- .ui.table[class*="bottom attached"] {
565
+ .ui[class*="bottom attached"].table {
566
+ bottom: 0px;
520
567
  margin-top: 0em;
568
+ top: 0px;
521
569
  margin-bottom: 1em;
570
+ box-shadow: none, none;
522
571
  border-radius: 0em 0em 0.28571429rem 0.28571429rem;
523
572
  }
524
- .ui.table[class*="bottom attached"]:last-child {
573
+ .ui[class*="bottom attached"].table:last-child {
525
574
  margin-bottom: 0em;
526
575
  }
527
576
 
@@ -542,10 +591,20 @@
542
591
  background-color: rgba(255, 255, 255, 0.05);
543
592
  }
544
593
 
594
+ /* Allow striped active hover */
595
+ .ui.striped.selectable.selectable.selectable.table tbody tr.active:hover {
596
+ background: #EFEFEF !important;
597
+ color: rgba(0, 0, 0, 0.95) !important;
598
+ }
599
+
545
600
  /*--------------
546
601
  Single Line
547
602
  ---------------*/
548
603
 
604
+ .ui.table[class*="single line"],
605
+ .ui.table [class*="single line"] {
606
+ white-space: nowrap;
607
+ }
549
608
  .ui.table[class*="single line"],
550
609
  .ui.table [class*="single line"] {
551
610
  white-space: nowrap;
@@ -558,101 +617,101 @@
558
617
 
559
618
  /* Red */
560
619
  .ui.red.table {
561
- border-top: 0.2em solid #db2828;
620
+ border-top: 0.2em solid #DB2828;
562
621
  }
563
622
  .ui.inverted.red.table {
564
- background-color: #db2828 !important;
565
- color: #ffffff !important;
623
+ background-color: #DB2828 !important;
624
+ color: #FFFFFF !important;
566
625
  }
567
626
 
568
627
  /* Orange */
569
628
  .ui.orange.table {
570
- border-top: 0.2em solid #f2711c;
629
+ border-top: 0.2em solid #F2711C;
571
630
  }
572
631
  .ui.inverted.orange.table {
573
- background-color: #f2711c !important;
574
- color: #ffffff !important;
632
+ background-color: #F2711C !important;
633
+ color: #FFFFFF !important;
575
634
  }
576
635
 
577
636
  /* Yellow */
578
637
  .ui.yellow.table {
579
- border-top: 0.2em solid #fbbd08;
638
+ border-top: 0.2em solid #FBBD08;
580
639
  }
581
640
  .ui.inverted.yellow.table {
582
- background-color: #fbbd08 !important;
583
- color: #ffffff !important;
641
+ background-color: #FBBD08 !important;
642
+ color: #FFFFFF !important;
584
643
  }
585
644
 
586
645
  /* Olive */
587
646
  .ui.olive.table {
588
- border-top: 0.2em solid #b5cc18;
647
+ border-top: 0.2em solid #B5CC18;
589
648
  }
590
649
  .ui.inverted.olive.table {
591
- background-color: #b5cc18 !important;
592
- color: #ffffff !important;
650
+ background-color: #B5CC18 !important;
651
+ color: #FFFFFF !important;
593
652
  }
594
653
 
595
654
  /* Green */
596
655
  .ui.green.table {
597
- border-top: 0.2em solid #21ba45;
656
+ border-top: 0.2em solid #21BA45;
598
657
  }
599
658
  .ui.inverted.green.table {
600
- background-color: #21ba45 !important;
601
- color: #ffffff !important;
659
+ background-color: #21BA45 !important;
660
+ color: #FFFFFF !important;
602
661
  }
603
662
 
604
663
  /* Teal */
605
664
  .ui.teal.table {
606
- border-top: 0.2em solid #00b5ad;
665
+ border-top: 0.2em solid #00B5AD;
607
666
  }
608
667
  .ui.inverted.teal.table {
609
- background-color: #00b5ad !important;
610
- color: #ffffff !important;
668
+ background-color: #00B5AD !important;
669
+ color: #FFFFFF !important;
611
670
  }
612
671
 
613
672
  /* Blue */
614
673
  .ui.blue.table {
615
- border-top: 0.2em solid #2185d0;
674
+ border-top: 0.2em solid #2185D0;
616
675
  }
617
676
  .ui.inverted.blue.table {
618
- background-color: #2185d0 !important;
619
- color: #ffffff !important;
677
+ background-color: #2185D0 !important;
678
+ color: #FFFFFF !important;
620
679
  }
621
680
 
622
681
  /* Violet */
623
682
  .ui.violet.table {
624
- border-top: 0.2em solid #6435c9;
683
+ border-top: 0.2em solid #6435C9;
625
684
  }
626
685
  .ui.inverted.violet.table {
627
- background-color: #6435c9 !important;
628
- color: #ffffff !important;
686
+ background-color: #6435C9 !important;
687
+ color: #FFFFFF !important;
629
688
  }
630
689
 
631
690
  /* Purple */
632
691
  .ui.purple.table {
633
- border-top: 0.2em solid #a333c8;
692
+ border-top: 0.2em solid #A333C8;
634
693
  }
635
694
  .ui.inverted.purple.table {
636
- background-color: #a333c8 !important;
637
- color: #ffffff !important;
695
+ background-color: #A333C8 !important;
696
+ color: #FFFFFF !important;
638
697
  }
639
698
 
640
699
  /* Pink */
641
700
  .ui.pink.table {
642
- border-top: 0.2em solid #e03997;
701
+ border-top: 0.2em solid #E03997;
643
702
  }
644
703
  .ui.inverted.pink.table {
645
- background-color: #e03997 !important;
646
- color: #ffffff !important;
704
+ background-color: #E03997 !important;
705
+ color: #FFFFFF !important;
647
706
  }
648
707
 
649
708
  /* Brown */
650
709
  .ui.brown.table {
651
- border-top: 0.2em solid #a5673f;
710
+ border-top: 0.2em solid #A5673F;
652
711
  }
653
712
  .ui.inverted.brown.table {
654
- background-color: #a5673f !important;
655
- color: #ffffff !important;
713
+ background-color: #A5673F !important;
714
+ color: #FFFFFF !important;
656
715
  }
657
716
 
658
717
  /* Grey */
@@ -661,16 +720,16 @@
661
720
  }
662
721
  .ui.inverted.grey.table {
663
722
  background-color: #767676 !important;
664
- color: #ffffff !important;
723
+ color: #FFFFFF !important;
665
724
  }
666
725
 
667
726
  /* Black */
668
727
  .ui.black.table {
669
- border-top: 0.2em solid #1b1c1d;
728
+ border-top: 0.2em solid #1B1C1D;
670
729
  }
671
730
  .ui.inverted.black.table {
672
- background-color: #1b1c1d !important;
673
- color: #ffffff !important;
731
+ background-color: #1B1C1D !important;
732
+ color: #FFFFFF !important;
674
733
  }
675
734
 
676
735
  /*--------------
@@ -904,7 +963,7 @@
904
963
  /* Definition */
905
964
  .ui.inverted.definition.table tfoot:not(.full-width) th:first-child,
906
965
  .ui.inverted.definition.table thead:not(.full-width) th:first-child {
907
- background: #ffffff;
966
+ background: #FFFFFF;
908
967
  }
909
968
  .ui.inverted.definition.table tr td:first-child {
910
969
  background: rgba(255, 255, 255, 0.02);