integral 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (761) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +105 -0
  4. data/Rakefile +22 -0
  5. data/app/assets/images/integral/backend/data-unavailable.png +0 -0
  6. data/app/assets/images/integral/backend/logo.png +0 -0
  7. data/app/assets/images/integral/defaults/no_image_available.jpg +0 -0
  8. data/app/assets/images/integral/defaults/user_avatar.jpg +0 -0
  9. data/app/assets/images/integral/image-not-set.png +0 -0
  10. data/app/assets/images/integral/posts-hero-banner.jpg +0 -0
  11. data/app/assets/javascripts/ckeditor/loader.js.erb +6 -0
  12. data/app/assets/javascripts/ckeditor/my_config.js.erb +154 -0
  13. data/app/assets/javascripts/ckeditor/my_contents.sass +22 -0
  14. data/app/assets/javascripts/ckeditor/my_javascript.js +12 -0
  15. data/app/assets/javascripts/ckeditor/my_styles.js +5 -0
  16. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/az.js +8 -0
  17. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/bg.js +8 -0
  18. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ca.js +8 -0
  19. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/cs.js +8 -0
  20. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/da.js +8 -0
  21. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/de-ch.js +8 -0
  22. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/de.js +8 -0
  23. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/el.js +8 -0
  24. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/en-au.js +8 -0
  25. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/en.js +8 -0
  26. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/eo.js +8 -0
  27. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/es-mx.js +8 -0
  28. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/es.js +8 -0
  29. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/eu.js +8 -0
  30. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/fr.js +8 -0
  31. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/gl.js +8 -0
  32. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/hr.js +8 -0
  33. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/hu.js +8 -0
  34. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/it.js +8 -0
  35. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ja.js +8 -0
  36. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/km.js +8 -0
  37. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ko.js +8 -0
  38. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ku.js +8 -0
  39. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/mk.js +8 -0
  40. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/nb.js +8 -0
  41. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/nl.js +8 -0
  42. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/oc.js +8 -0
  43. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/pl.js +8 -0
  44. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/pt-br.js +8 -0
  45. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/pt.js +8 -0
  46. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ro.js +8 -0
  47. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ru.js +8 -0
  48. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/sk.js +8 -0
  49. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/sq.js +8 -0
  50. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/sv.js +8 -0
  51. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/tr.js +8 -0
  52. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ug.js +8 -0
  53. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/uk.js +8 -0
  54. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/vi.js +8 -0
  55. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/zh-cn.js +8 -0
  56. data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/zh.js +8 -0
  57. data/app/assets/javascripts/ckeditor/plugins/autoembed/plugin.js +218 -0
  58. data/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js +232 -0
  59. data/app/assets/javascripts/ckeditor/plugins/autogrow/samples/autogrow.html +102 -0
  60. data/app/assets/javascripts/ckeditor/plugins/autolink/plugin.js +69 -0
  61. data/app/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.min.css +1 -0
  62. data/app/assets/javascripts/ckeditor/plugins/codemirror/icons/autocomplete.png +0 -0
  63. data/app/assets/javascripts/ckeditor/plugins/codemirror/icons/autoformat.png +0 -0
  64. data/app/assets/javascripts/ckeditor/plugins/codemirror/icons/commentselectedrange.png +0 -0
  65. data/app/assets/javascripts/ckeditor/plugins/codemirror/icons/searchcode.png +0 -0
  66. data/app/assets/javascripts/ckeditor/plugins/codemirror/icons/uncommentselectedrange.png +0 -0
  67. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/beautify.min.js +2 -0
  68. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.min.js +2 -0
  69. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.search.min.js +1 -0
  70. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.min.js +6 -0
  71. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.bbcode.min.js +1 -0
  72. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.bbcodemixed.min.js +1 -0
  73. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.htmlmixed.min.js +2 -0
  74. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.javascript.min.js +1 -0
  75. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.php.min.js +3 -0
  76. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.twig.min.js +1 -0
  77. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/af.js +12 -0
  78. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ar.js +12 -0
  79. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bg.js +12 -0
  80. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bn.js +12 -0
  81. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bs.js +12 -0
  82. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ca.js +12 -0
  83. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/cs.js +12 -0
  84. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/cy.js +12 -0
  85. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/da.js +12 -0
  86. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/de.js +12 -0
  87. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/el.js +12 -0
  88. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-au.js +12 -0
  89. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-ca.js +12 -0
  90. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-gb.js +12 -0
  91. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en.js +12 -0
  92. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/eo.js +12 -0
  93. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/es.js +12 -0
  94. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/et.js +12 -0
  95. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/eu.js +12 -0
  96. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fa.js +12 -0
  97. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fi.js +12 -0
  98. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fo.js +12 -0
  99. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fr-ca.js +12 -0
  100. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fr.js +12 -0
  101. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/gl.js +12 -0
  102. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/gu.js +12 -0
  103. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/he.js +12 -0
  104. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hi.js +12 -0
  105. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hr.js +12 -0
  106. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hu.js +12 -0
  107. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/is.js +12 -0
  108. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/it.js +12 -0
  109. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ja.js +12 -0
  110. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ka.js +12 -0
  111. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/km.js +12 -0
  112. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ko.js +12 -0
  113. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ku.js +12 -0
  114. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/lt.js +12 -0
  115. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/lv.js +12 -0
  116. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/mk.js +12 -0
  117. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/mn.js +12 -0
  118. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ms.js +12 -0
  119. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/nb.js +12 -0
  120. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/nl.js +12 -0
  121. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/no.js +12 -0
  122. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pl.js +12 -0
  123. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pt-br.js +12 -0
  124. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pt.js +12 -0
  125. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ro.js +12 -0
  126. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ru.js +12 -0
  127. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sk.js +12 -0
  128. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sl.js +12 -0
  129. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sr-latn.js +12 -0
  130. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sr.js +12 -0
  131. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sv.js +12 -0
  132. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/th.js +12 -0
  133. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/tr.js +12 -0
  134. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ug.js +12 -0
  135. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/uk.js +12 -0
  136. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/vi.js +12 -0
  137. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/zh-cn.js +12 -0
  138. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/zh.js +12 -0
  139. data/app/assets/javascripts/ckeditor/plugins/codemirror/plugin.js +1311 -0
  140. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/3024-day.css +41 -0
  141. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/3024-night.css +39 -0
  142. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/abcdef.css +32 -0
  143. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/ambiance-mobile.css +5 -0
  144. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/ambiance.css +74 -0
  145. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/base16-dark.css +38 -0
  146. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/base16-light.css +38 -0
  147. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/bespin.css +34 -0
  148. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/blackboard.css +32 -0
  149. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/cobalt.css +25 -0
  150. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/colorforth.css +33 -0
  151. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/dracula.css +40 -0
  152. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/duotone-dark.css +35 -0
  153. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/duotone-light.css +36 -0
  154. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/eclipse.css +23 -0
  155. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/elegant.css +13 -0
  156. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/erlang-dark.css +34 -0
  157. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/hopscotch.css +34 -0
  158. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/icecoder.css +43 -0
  159. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/isotope.css +34 -0
  160. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/lesser-dark.css +47 -0
  161. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/liquibyte.css +95 -0
  162. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/material.css +53 -0
  163. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/mbo.css +37 -0
  164. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/mdn-like.css +46 -0
  165. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/midnight.css +43 -0
  166. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/monokai.css +36 -0
  167. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/neat.css +12 -0
  168. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/neo.css +43 -0
  169. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/night.css +27 -0
  170. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/panda-syntax.css +85 -0
  171. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/paraiso-dark.css +38 -0
  172. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/paraiso-light.css +38 -0
  173. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/pastel-on-dark.css +52 -0
  174. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/railscasts.css +34 -0
  175. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/rubyblue.css +25 -0
  176. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/seti.css +44 -0
  177. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/solarized.css +168 -0
  178. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/the-matrix.css +30 -0
  179. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/tomorrow-night-bright.css +35 -0
  180. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/tomorrow-night-eighties.css +38 -0
  181. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/ttcn.css +64 -0
  182. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/twilight.css +32 -0
  183. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/vibrant-ink.css +34 -0
  184. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/xq-dark.css +53 -0
  185. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/xq-light.css +43 -0
  186. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/yeti.css +44 -0
  187. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/zenburn.css +37 -0
  188. data/app/assets/javascripts/ckeditor/plugins/embed/icons/embed.png +0 -0
  189. data/app/assets/javascripts/ckeditor/plugins/embed/icons/hidpi/embed.png +0 -0
  190. data/app/assets/javascripts/ckeditor/plugins/embed/plugin.js +105 -0
  191. data/app/assets/javascripts/ckeditor/plugins/embedbase/dialogs/embedbase.js +99 -0
  192. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/az.js +15 -0
  193. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/bg.js +15 -0
  194. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ca.js +15 -0
  195. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/cs.js +15 -0
  196. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/da.js +15 -0
  197. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/de-ch.js +15 -0
  198. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/de.js +15 -0
  199. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/en-au.js +15 -0
  200. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/en.js +15 -0
  201. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/eo.js +15 -0
  202. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/es-mx.js +15 -0
  203. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/es.js +15 -0
  204. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/eu.js +15 -0
  205. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/fr.js +15 -0
  206. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/gl.js +15 -0
  207. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/hr.js +15 -0
  208. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/hu.js +15 -0
  209. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/id.js +15 -0
  210. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/it.js +15 -0
  211. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ja.js +15 -0
  212. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ko.js +15 -0
  213. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ku.js +15 -0
  214. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/nb.js +15 -0
  215. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/nl.js +15 -0
  216. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/oc.js +15 -0
  217. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/pl.js +15 -0
  218. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/pt-br.js +15 -0
  219. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/pt.js +15 -0
  220. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ro.js +15 -0
  221. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ru.js +15 -0
  222. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/sk.js +15 -0
  223. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/sq.js +15 -0
  224. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/sv.js +15 -0
  225. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/tr.js +15 -0
  226. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ug.js +15 -0
  227. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/uk.js +15 -0
  228. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/zh-cn.js +15 -0
  229. data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/zh.js +15 -0
  230. data/app/assets/javascripts/ckeditor/plugins/embedbase/plugin.js +652 -0
  231. data/app/assets/javascripts/ckeditor/plugins/embedjs/plugin.js +110 -0
  232. data/app/assets/javascripts/ckeditor/plugins/lineutils/dev/dnd.html +172 -0
  233. data/app/assets/javascripts/ckeditor/plugins/lineutils/dev/magicfinger.html +285 -0
  234. data/app/assets/javascripts/ckeditor/plugins/lineutils/plugin.js +1018 -0
  235. data/app/assets/javascripts/ckeditor/plugins/notification/lang/cs.js +7 -0
  236. data/app/assets/javascripts/ckeditor/plugins/notification/lang/da.js +7 -0
  237. data/app/assets/javascripts/ckeditor/plugins/notification/lang/de-ch.js +7 -0
  238. data/app/assets/javascripts/ckeditor/plugins/notification/lang/de.js +7 -0
  239. data/app/assets/javascripts/ckeditor/plugins/notification/lang/en.js +7 -0
  240. data/app/assets/javascripts/ckeditor/plugins/notification/lang/eo.js +7 -0
  241. data/app/assets/javascripts/ckeditor/plugins/notification/lang/eu.js +7 -0
  242. data/app/assets/javascripts/ckeditor/plugins/notification/lang/fr.js +7 -0
  243. data/app/assets/javascripts/ckeditor/plugins/notification/lang/gl.js +7 -0
  244. data/app/assets/javascripts/ckeditor/plugins/notification/lang/id.js +7 -0
  245. data/app/assets/javascripts/ckeditor/plugins/notification/lang/it.js +7 -0
  246. data/app/assets/javascripts/ckeditor/plugins/notification/lang/km.js +7 -0
  247. data/app/assets/javascripts/ckeditor/plugins/notification/lang/ko.js +7 -0
  248. data/app/assets/javascripts/ckeditor/plugins/notification/lang/ku.js +7 -0
  249. data/app/assets/javascripts/ckeditor/plugins/notification/lang/nb.js +7 -0
  250. data/app/assets/javascripts/ckeditor/plugins/notification/lang/nl.js +7 -0
  251. data/app/assets/javascripts/ckeditor/plugins/notification/lang/pl.js +7 -0
  252. data/app/assets/javascripts/ckeditor/plugins/notification/lang/pt-br.js +7 -0
  253. data/app/assets/javascripts/ckeditor/plugins/notification/lang/pt.js +7 -0
  254. data/app/assets/javascripts/ckeditor/plugins/notification/lang/ru.js +7 -0
  255. data/app/assets/javascripts/ckeditor/plugins/notification/lang/sv.js +7 -0
  256. data/app/assets/javascripts/ckeditor/plugins/notification/lang/tr.js +7 -0
  257. data/app/assets/javascripts/ckeditor/plugins/notification/lang/ug.js +7 -0
  258. data/app/assets/javascripts/ckeditor/plugins/notification/lang/uk.js +7 -0
  259. data/app/assets/javascripts/ckeditor/plugins/notification/lang/zh-cn.js +7 -0
  260. data/app/assets/javascripts/ckeditor/plugins/notification/lang/zh.js +7 -0
  261. data/app/assets/javascripts/ckeditor/plugins/notification/plugin.js +923 -0
  262. data/app/assets/javascripts/ckeditor/plugins/notificationaggregator/plugin.js +548 -0
  263. data/app/assets/javascripts/ckeditor/plugins/placeholder/dev/placeholder.html +60 -0
  264. data/app/assets/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +49 -0
  265. data/app/assets/javascripts/ckeditor/plugins/placeholder/icons/hidpi/placeholder.png +0 -0
  266. data/app/assets/javascripts/ckeditor/plugins/placeholder/icons/placeholder.png +0 -0
  267. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/af.js +12 -0
  268. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ar.js +12 -0
  269. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/az.js +12 -0
  270. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/bg.js +12 -0
  271. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ca.js +12 -0
  272. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/cs.js +12 -0
  273. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/cy.js +12 -0
  274. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/da.js +12 -0
  275. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/de-ch.js +12 -0
  276. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/de.js +12 -0
  277. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/el.js +12 -0
  278. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/en-gb.js +12 -0
  279. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/en.js +12 -0
  280. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/eo.js +12 -0
  281. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/es-mx.js +12 -0
  282. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/es.js +12 -0
  283. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/et.js +12 -0
  284. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/eu.js +12 -0
  285. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fa.js +12 -0
  286. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fi.js +12 -0
  287. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fr-ca.js +12 -0
  288. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fr.js +12 -0
  289. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/gl.js +12 -0
  290. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/he.js +12 -0
  291. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/hr.js +12 -0
  292. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/hu.js +12 -0
  293. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/id.js +12 -0
  294. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/it.js +12 -0
  295. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ja.js +12 -0
  296. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/km.js +12 -0
  297. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ko.js +12 -0
  298. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ku.js +12 -0
  299. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/lv.js +12 -0
  300. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/nb.js +12 -0
  301. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/nl.js +12 -0
  302. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/no.js +12 -0
  303. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/oc.js +12 -0
  304. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/pl.js +12 -0
  305. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/pt-br.js +12 -0
  306. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/pt.js +12 -0
  307. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ru.js +12 -0
  308. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/si.js +12 -0
  309. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/sk.js +12 -0
  310. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/sl.js +12 -0
  311. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/sq.js +12 -0
  312. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/sv.js +12 -0
  313. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/th.js +12 -0
  314. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/tr.js +12 -0
  315. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/tt.js +12 -0
  316. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ug.js +12 -0
  317. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/uk.js +12 -0
  318. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/vi.js +12 -0
  319. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/zh-cn.js +12 -0
  320. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/zh.js +12 -0
  321. data/app/assets/javascripts/ckeditor/plugins/placeholder/plugin.js +99 -0
  322. data/app/assets/javascripts/ckeditor/plugins/placeholder/samples/placeholder.html +75 -0
  323. data/app/assets/javascripts/ckeditor/plugins/strinsert/README.md +76 -0
  324. data/app/assets/javascripts/ckeditor/plugins/strinsert/bower.json +16 -0
  325. data/app/assets/javascripts/ckeditor/plugins/strinsert/plugin.js +107 -0
  326. data/app/assets/javascripts/ckeditor/plugins/widget/dev/assets/contents.css +23 -0
  327. data/app/assets/javascripts/ckeditor/plugins/widget/dev/assets/sample.jpg +0 -0
  328. data/app/assets/javascripts/ckeditor/plugins/widget/dev/assets/simplebox/contents.css +36 -0
  329. data/app/assets/javascripts/ckeditor/plugins/widget/dev/assets/simplebox/dialogs/simplebox.js +51 -0
  330. data/app/assets/javascripts/ckeditor/plugins/widget/dev/assets/simplebox/icons/simplebox.png +0 -0
  331. data/app/assets/javascripts/ckeditor/plugins/widget/dev/assets/simplebox/plugin.js +114 -0
  332. data/app/assets/javascripts/ckeditor/plugins/widget/dev/console.js +131 -0
  333. data/app/assets/javascripts/ckeditor/plugins/widget/dev/nestedwidgets.html +134 -0
  334. data/app/assets/javascripts/ckeditor/plugins/widget/dev/widgetstyles.html +144 -0
  335. data/app/assets/javascripts/ckeditor/plugins/widget/images/handle.png +0 -0
  336. data/app/assets/javascripts/ckeditor/plugins/widget/lang/af.js +8 -0
  337. data/app/assets/javascripts/ckeditor/plugins/widget/lang/ar.js +8 -0
  338. data/app/assets/javascripts/ckeditor/plugins/widget/lang/az.js +8 -0
  339. data/app/assets/javascripts/ckeditor/plugins/widget/lang/bg.js +8 -0
  340. data/app/assets/javascripts/ckeditor/plugins/widget/lang/ca.js +8 -0
  341. data/app/assets/javascripts/ckeditor/plugins/widget/lang/cs.js +8 -0
  342. data/app/assets/javascripts/ckeditor/plugins/widget/lang/cy.js +8 -0
  343. data/app/assets/javascripts/ckeditor/plugins/widget/lang/da.js +8 -0
  344. data/app/assets/javascripts/ckeditor/plugins/widget/lang/de-ch.js +8 -0
  345. data/app/assets/javascripts/ckeditor/plugins/widget/lang/de.js +8 -0
  346. data/app/assets/javascripts/ckeditor/plugins/widget/lang/el.js +8 -0
  347. data/app/assets/javascripts/ckeditor/plugins/widget/lang/en-gb.js +8 -0
  348. data/app/assets/javascripts/ckeditor/plugins/widget/lang/en.js +8 -0
  349. data/app/assets/javascripts/ckeditor/plugins/widget/lang/eo.js +8 -0
  350. data/app/assets/javascripts/ckeditor/plugins/widget/lang/es-mx.js +8 -0
  351. data/app/assets/javascripts/ckeditor/plugins/widget/lang/es.js +8 -0
  352. data/app/assets/javascripts/ckeditor/plugins/widget/lang/eu.js +8 -0
  353. data/app/assets/javascripts/ckeditor/plugins/widget/lang/fa.js +8 -0
  354. data/app/assets/javascripts/ckeditor/plugins/widget/lang/fi.js +8 -0
  355. data/app/assets/javascripts/ckeditor/plugins/widget/lang/fr.js +8 -0
  356. data/app/assets/javascripts/ckeditor/plugins/widget/lang/gl.js +8 -0
  357. data/app/assets/javascripts/ckeditor/plugins/widget/lang/he.js +8 -0
  358. data/app/assets/javascripts/ckeditor/plugins/widget/lang/hr.js +8 -0
  359. data/app/assets/javascripts/ckeditor/plugins/widget/lang/hu.js +8 -0
  360. data/app/assets/javascripts/ckeditor/plugins/widget/lang/id.js +8 -0
  361. data/app/assets/javascripts/ckeditor/plugins/widget/lang/it.js +8 -0
  362. data/app/assets/javascripts/ckeditor/plugins/widget/lang/ja.js +8 -0
  363. data/app/assets/javascripts/ckeditor/plugins/widget/lang/km.js +8 -0
  364. data/app/assets/javascripts/ckeditor/plugins/widget/lang/ko.js +8 -0
  365. data/app/assets/javascripts/ckeditor/plugins/widget/lang/ku.js +8 -0
  366. data/app/assets/javascripts/ckeditor/plugins/widget/lang/lv.js +8 -0
  367. data/app/assets/javascripts/ckeditor/plugins/widget/lang/nb.js +8 -0
  368. data/app/assets/javascripts/ckeditor/plugins/widget/lang/nl.js +8 -0
  369. data/app/assets/javascripts/ckeditor/plugins/widget/lang/no.js +8 -0
  370. data/app/assets/javascripts/ckeditor/plugins/widget/lang/oc.js +8 -0
  371. data/app/assets/javascripts/ckeditor/plugins/widget/lang/pl.js +8 -0
  372. data/app/assets/javascripts/ckeditor/plugins/widget/lang/pt-br.js +8 -0
  373. data/app/assets/javascripts/ckeditor/plugins/widget/lang/pt.js +8 -0
  374. data/app/assets/javascripts/ckeditor/plugins/widget/lang/ru.js +8 -0
  375. data/app/assets/javascripts/ckeditor/plugins/widget/lang/sk.js +8 -0
  376. data/app/assets/javascripts/ckeditor/plugins/widget/lang/sl.js +8 -0
  377. data/app/assets/javascripts/ckeditor/plugins/widget/lang/sq.js +8 -0
  378. data/app/assets/javascripts/ckeditor/plugins/widget/lang/sv.js +8 -0
  379. data/app/assets/javascripts/ckeditor/plugins/widget/lang/tr.js +8 -0
  380. data/app/assets/javascripts/ckeditor/plugins/widget/lang/tt.js +8 -0
  381. data/app/assets/javascripts/ckeditor/plugins/widget/lang/ug.js +8 -0
  382. data/app/assets/javascripts/ckeditor/plugins/widget/lang/uk.js +8 -0
  383. data/app/assets/javascripts/ckeditor/plugins/widget/lang/vi.js +8 -0
  384. data/app/assets/javascripts/ckeditor/plugins/widget/lang/zh-cn.js +8 -0
  385. data/app/assets/javascripts/ckeditor/plugins/widget/lang/zh.js +8 -0
  386. data/app/assets/javascripts/ckeditor/plugins/widget/plugin.js +4147 -0
  387. data/app/assets/javascripts/ckeditor/plugins/widgetselection/plugin.js +366 -0
  388. data/app/assets/javascripts/ckeditor/plugins/wordcount/css/wordcount.css +3 -0
  389. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/ar.js +11 -0
  390. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/ca.js +13 -0
  391. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/da.js +13 -0
  392. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/de.js +13 -0
  393. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/el.js +13 -0
  394. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/en.js +13 -0
  395. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/es.js +13 -0
  396. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/fi.js +14 -0
  397. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/fr.js +11 -0
  398. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/he.js +13 -0
  399. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/hr.js +13 -0
  400. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/it.js +14 -0
  401. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/ja.js +14 -0
  402. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/jp.js +13 -0
  403. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/nl.js +13 -0
  404. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/no.js +10 -0
  405. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/pl.js +13 -0
  406. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/pt-br.js +13 -0
  407. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/pt.js +9 -0
  408. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/ru.js +13 -0
  409. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/sv.js +13 -0
  410. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/tr.js +13 -0
  411. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/zh-cn.js +13 -0
  412. data/app/assets/javascripts/ckeditor/plugins/wordcount/plugin.js +407 -0
  413. data/app/assets/javascripts/ckeditor/plugins/wordcount/samples/wordcount.html +61 -0
  414. data/app/assets/javascripts/ckeditor/plugins/wordcount/samples/wordcountWithMaxCount.html +110 -0
  415. data/app/assets/javascripts/integral/backend.js +268 -0
  416. data/app/assets/javascripts/integral/backend/extensions.js +1 -0
  417. data/app/assets/javascripts/integral/backend/support/Chart.bundle.min.js +10 -0
  418. data/app/assets/javascripts/integral/frontend.js +60 -0
  419. data/app/assets/javascripts/integral/support/character_counter.js +67 -0
  420. data/app/assets/javascripts/integral/support/chart_manager.coffee +145 -0
  421. data/app/assets/javascripts/integral/support/click_to_copy.coffee +28 -0
  422. data/app/assets/javascripts/integral/support/confirm_modal.coffee +58 -0
  423. data/app/assets/javascripts/integral/support/date_picker.coffee +83 -0
  424. data/app/assets/javascripts/integral/support/date_picker/picker.date.js +1435 -0
  425. data/app/assets/javascripts/integral/support/date_picker/picker.js +1132 -0
  426. data/app/assets/javascripts/integral/support/gallery.coffee +82 -0
  427. data/app/assets/javascripts/integral/support/google_analytics.coffee +23 -0
  428. data/app/assets/javascripts/integral/support/grid.coffee +92 -0
  429. data/app/assets/javascripts/integral/support/header_anchors.coffee +22 -0
  430. data/app/assets/javascripts/integral/support/image-preview.coffee +14 -0
  431. data/app/assets/javascripts/integral/support/image_selector.coffee +43 -0
  432. data/app/assets/javascripts/integral/support/image_uploader.coffee +59 -0
  433. data/app/assets/javascripts/integral/support/lib/html.sortable.js +691 -0
  434. data/app/assets/javascripts/integral/support/lib/jquery.are-you-sure.js +231 -0
  435. data/app/assets/javascripts/integral/support/lib/jquery_form.js +11 -0
  436. data/app/assets/javascripts/integral/support/lib/js.cookie.js +165 -0
  437. data/app/assets/javascripts/integral/support/lib/materialize-tags.js +758 -0
  438. data/app/assets/javascripts/integral/support/lib/materialize.clockpicker.js +699 -0
  439. data/app/assets/javascripts/integral/support/lib/swiper.js +7719 -0
  440. data/app/assets/javascripts/integral/support/lib/typeahead.js +2451 -0
  441. data/app/assets/javascripts/integral/support/lib/underscore.js +6 -0
  442. data/app/assets/javascripts/integral/support/list.coffee +71 -0
  443. data/app/assets/javascripts/integral/support/list_item.coffee +249 -0
  444. data/app/assets/javascripts/integral/support/notification_manager.coffee +17 -0
  445. data/app/assets/javascripts/integral/support/record_selector.coffee +161 -0
  446. data/app/assets/javascripts/integral/support/remote_form.coffee +87 -0
  447. data/app/assets/javascripts/integral/support/responsive_swiper.coffee +26 -0
  448. data/app/assets/javascripts/integral/support/scroll_to_top.coffee +17 -0
  449. data/app/assets/javascripts/integral/support/slug_generator.coffee +49 -0
  450. data/app/assets/stylesheets/errors.css +1834 -0
  451. data/app/assets/stylesheets/integral/backend.sass +66 -0
  452. data/app/assets/stylesheets/integral/backend/_foundation_settings.scss +867 -0
  453. data/app/assets/stylesheets/integral/backend/dashboard-layout.scss +491 -0
  454. data/app/assets/stylesheets/integral/backend/devise.sass +40 -0
  455. data/app/assets/stylesheets/integral/backend/foundation_and_overrides.scss +56 -0
  456. data/app/assets/stylesheets/integral/backend/materialize-tags.sass +70 -0
  457. data/app/assets/stylesheets/integral/backend/notifications.sass +43 -0
  458. data/app/assets/stylesheets/integral/backend/overrides.sass +1 -0
  459. data/app/assets/stylesheets/integral/backend/shared.sass +770 -0
  460. data/app/assets/stylesheets/integral/emails.scss +19 -0
  461. data/app/assets/stylesheets/integral/emails/colors.sass +3 -0
  462. data/app/assets/stylesheets/integral/frontend.sass +26 -0
  463. data/app/assets/stylesheets/integral/frontend/_foundation_settings.scss +863 -0
  464. data/app/assets/stylesheets/integral/frontend/blog.sass +263 -0
  465. data/app/assets/stylesheets/integral/frontend/demo.sass +158 -0
  466. data/app/assets/stylesheets/integral/frontend/foundation_and_overrides.scss +56 -0
  467. data/app/assets/stylesheets/integral/frontend/layout.sass +66 -0
  468. data/app/assets/stylesheets/integral/frontend/overrides.sass +1 -0
  469. data/app/assets/stylesheets/integral/frontend/share_modal.sass +25 -0
  470. data/app/assets/stylesheets/integral/frontend/shared.sass +73 -0
  471. data/app/assets/stylesheets/integral/support/date-picker.scss +16 -0
  472. data/app/assets/stylesheets/integral/support/date_picker/_default.date.scss +452 -0
  473. data/app/assets/stylesheets/integral/support/date_picker/_default.scss +201 -0
  474. data/app/assets/stylesheets/integral/support/date_picker/_default.time.scss +125 -0
  475. data/app/assets/stylesheets/integral/support/date_picker/materialize_clockpicker.sass +220 -0
  476. data/app/assets/stylesheets/integral/support/gallery.sass +54 -0
  477. data/app/assets/stylesheets/integral/support/media-query-indicator.sass +25 -0
  478. data/app/assets/stylesheets/integral/support/mixins.sass +29 -0
  479. data/app/assets/stylesheets/integral/support/scroll-to-top.sass +19 -0
  480. data/app/assets/stylesheets/integral/support/swiper.css +618 -0
  481. data/app/assets/stylesheets/integral/wysiwyg.sass +13 -0
  482. data/app/controllers/integral/application_controller.rb +130 -0
  483. data/app/controllers/integral/backend/activities_controller.rb +55 -0
  484. data/app/controllers/integral/backend/base_controller.rb +123 -0
  485. data/app/controllers/integral/backend/images_controller.rb +120 -0
  486. data/app/controllers/integral/backend/lists_controller.rb +138 -0
  487. data/app/controllers/integral/backend/pages_controller.rb +142 -0
  488. data/app/controllers/integral/backend/posts_controller.rb +132 -0
  489. data/app/controllers/integral/backend/settings_controller.rb +53 -0
  490. data/app/controllers/integral/backend/static_pages_controller.rb +10 -0
  491. data/app/controllers/integral/backend/users_controller.rb +130 -0
  492. data/app/controllers/integral/blog_controller.rb +19 -0
  493. data/app/controllers/integral/contact_controller.rb +36 -0
  494. data/app/controllers/integral/pages_controller.rb +45 -0
  495. data/app/controllers/integral/posts_controller.rb +71 -0
  496. data/app/controllers/integral/tags_controller.rb +38 -0
  497. data/app/decorators/integral/image_decorator.rb +16 -0
  498. data/app/decorators/integral/list_decorator.rb +21 -0
  499. data/app/decorators/integral/page_decorator.rb +26 -0
  500. data/app/decorators/integral/post_decorator.rb +63 -0
  501. data/app/decorators/integral/user_decorator.rb +21 -0
  502. data/app/decorators/integral/version_decorator.rb +57 -0
  503. data/app/helpers/integral/application_helper.rb +52 -0
  504. data/app/helpers/integral/backend/base_helper.rb +72 -0
  505. data/app/helpers/integral/blog_helper.rb +26 -0
  506. data/app/helpers/integral/gallery_helper.rb +36 -0
  507. data/app/helpers/integral/mail_helper.rb +16 -0
  508. data/app/helpers/integral/social_helper.rb +123 -0
  509. data/app/helpers/integral/support_helper.rb +60 -0
  510. data/app/jobs/integral/application_job.rb +10 -0
  511. data/app/jobs/integral/newsletter_signup_job.rb +28 -0
  512. data/app/mailers/integral/contact_mailer.rb +56 -0
  513. data/app/models/ckeditor/asset.rb +8 -0
  514. data/app/models/ckeditor/attachment_file.rb +9 -0
  515. data/app/models/ckeditor/picture.rb +21 -0
  516. data/app/models/integral/application_record.rb +6 -0
  517. data/app/models/integral/basic.rb +11 -0
  518. data/app/models/integral/enquiry.rb +46 -0
  519. data/app/models/integral/image.rb +67 -0
  520. data/app/models/integral/image_version.rb +8 -0
  521. data/app/models/integral/link.rb +11 -0
  522. data/app/models/integral/list.rb +69 -0
  523. data/app/models/integral/list_item.rb +89 -0
  524. data/app/models/integral/list_version.rb +8 -0
  525. data/app/models/integral/newsletter_signup.rb +22 -0
  526. data/app/models/integral/object.rb +30 -0
  527. data/app/models/integral/page.rb +153 -0
  528. data/app/models/integral/page_version.rb +8 -0
  529. data/app/models/integral/post.rb +149 -0
  530. data/app/models/integral/post_version.rb +8 -0
  531. data/app/models/integral/post_viewing.rb +19 -0
  532. data/app/models/integral/role.rb +14 -0
  533. data/app/models/integral/role_assignment.rb +7 -0
  534. data/app/models/integral/settings.rb +5 -0
  535. data/app/models/integral/user.rb +59 -0
  536. data/app/models/integral/user_version.rb +8 -0
  537. data/app/models/integral/version.rb +31 -0
  538. data/app/models/paper_trail/version.rb +9 -0
  539. data/app/policies/integral/base_policy.rb +50 -0
  540. data/app/policies/integral/image_policy.rb +14 -0
  541. data/app/policies/integral/list_policy.rb +9 -0
  542. data/app/policies/integral/page_policy.rb +45 -0
  543. data/app/policies/integral/post_policy.rb +9 -0
  544. data/app/policies/integral/settings_policy.rb +17 -0
  545. data/app/policies/integral/user_policy.rb +17 -0
  546. data/app/policies/integral/version_policy.rb +19 -0
  547. data/app/uploaders/ckeditor_attachment_file_uploader.rb +34 -0
  548. data/app/uploaders/ckeditor_picture_uploader.rb +55 -0
  549. data/app/uploaders/integral/avatar_uploader.rb +9 -0
  550. data/app/uploaders/integral/image_uploader.rb +114 -0
  551. data/app/views/devise/invitations/edit.haml +17 -0
  552. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  553. data/app/views/devise/mailer/invitation_instructions.html.erb +13 -0
  554. data/app/views/devise/mailer/invitation_instructions.text.erb +12 -0
  555. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  556. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  557. data/app/views/devise/passwords/edit.haml +17 -0
  558. data/app/views/devise/passwords/new.haml +12 -0
  559. data/app/views/devise/sessions/new.haml +18 -0
  560. data/app/views/devise/shared/_links.html.erb +25 -0
  561. data/app/views/integral/backend/activities/_grid.haml +23 -0
  562. data/app/views/integral/backend/activities/index.haml +15 -0
  563. data/app/views/integral/backend/activities/shared/_grid.haml +20 -0
  564. data/app/views/integral/backend/activities/shared/_listing.haml +14 -0
  565. data/app/views/integral/backend/activities/shared/_log.haml +56 -0
  566. data/app/views/integral/backend/activities/show.haml +18 -0
  567. data/app/views/integral/backend/images/_create_modal.haml +17 -0
  568. data/app/views/integral/backend/images/_form.haml +41 -0
  569. data/app/views/integral/backend/images/_grid.haml +16 -0
  570. data/app/views/integral/backend/images/edit.haml +3 -0
  571. data/app/views/integral/backend/images/index.haml +18 -0
  572. data/app/views/integral/backend/images/new.haml +1 -0
  573. data/app/views/integral/backend/lists/_child_fields.haml +26 -0
  574. data/app/views/integral/backend/lists/_form.haml +25 -0
  575. data/app/views/integral/backend/lists/_grid.haml +16 -0
  576. data/app/views/integral/backend/lists/_item_container.haml +26 -0
  577. data/app/views/integral/backend/lists/_item_modal.haml +46 -0
  578. data/app/views/integral/backend/lists/_list_item_fields.haml +26 -0
  579. data/app/views/integral/backend/lists/_manager.haml +14 -0
  580. data/app/views/integral/backend/lists/edit.haml +2 -0
  581. data/app/views/integral/backend/lists/index.haml +18 -0
  582. data/app/views/integral/backend/lists/new.haml +1 -0
  583. data/app/views/integral/backend/lists/show.haml +26 -0
  584. data/app/views/integral/backend/pages/_form.haml +52 -0
  585. data/app/views/integral/backend/pages/_grid.haml +21 -0
  586. data/app/views/integral/backend/pages/activities.haml +2 -0
  587. data/app/views/integral/backend/pages/activity.haml +1 -0
  588. data/app/views/integral/backend/pages/edit.html.haml +15 -0
  589. data/app/views/integral/backend/pages/index.haml +22 -0
  590. data/app/views/integral/backend/pages/new.haml +2 -0
  591. data/app/views/integral/backend/posts/_form.haml +57 -0
  592. data/app/views/integral/backend/posts/_grid.haml +25 -0
  593. data/app/views/integral/backend/posts/activities.haml +3 -0
  594. data/app/views/integral/backend/posts/activity.haml +1 -0
  595. data/app/views/integral/backend/posts/edit.haml +16 -0
  596. data/app/views/integral/backend/posts/index.haml +20 -0
  597. data/app/views/integral/backend/posts/new.haml +2 -0
  598. data/app/views/integral/backend/settings/_input.haml +4 -0
  599. data/app/views/integral/backend/settings/_section.haml +11 -0
  600. data/app/views/integral/backend/settings/index.haml +10 -0
  601. data/app/views/integral/backend/settings/sections/_general.haml +12 -0
  602. data/app/views/integral/backend/settings/sections/_lists.haml +4 -0
  603. data/app/views/integral/backend/settings/sections/_seo.haml +8 -0
  604. data/app/views/integral/backend/settings/sections/_social.haml +16 -0
  605. data/app/views/integral/backend/shared/_breadcrumbs.haml +9 -0
  606. data/app/views/integral/backend/shared/_empty_grid.haml +7 -0
  607. data/app/views/integral/backend/shared/_grid.haml +18 -0
  608. data/app/views/integral/backend/shared/_image_preview.haml +23 -0
  609. data/app/views/integral/backend/shared/_image_selector.haml +4 -0
  610. data/app/views/integral/backend/shared/_pagination.haml +1 -0
  611. data/app/views/integral/backend/shared/cards/_at_a_glance.haml +5 -0
  612. data/app/views/integral/backend/shared/cards/_welcome.haml +29 -0
  613. data/app/views/integral/backend/shared/graphs/_donut.haml +5 -0
  614. data/app/views/integral/backend/shared/graphs/_line.haml +5 -0
  615. data/app/views/integral/backend/shared/graphs/_no_data_available.haml +2 -0
  616. data/app/views/integral/backend/shared/record_selector/_collection.haml +13 -0
  617. data/app/views/integral/backend/shared/record_selector/_modal.haml +42 -0
  618. data/app/views/integral/backend/shared/record_selector/_record.haml +6 -0
  619. data/app/views/integral/backend/static_pages/_card.haml +24 -0
  620. data/app/views/integral/backend/static_pages/dashboard.haml +20 -0
  621. data/app/views/integral/backend/users/_form.haml +58 -0
  622. data/app/views/integral/backend/users/_grid.haml +19 -0
  623. data/app/views/integral/backend/users/edit.haml +3 -0
  624. data/app/views/integral/backend/users/index.haml +18 -0
  625. data/app/views/integral/backend/users/new.haml +2 -0
  626. data/app/views/integral/backend/users/show.haml +36 -0
  627. data/app/views/integral/contact_mailer/auto_reply.html.haml +16 -0
  628. data/app/views/integral/contact_mailer/auto_reply.text.erb +15 -0
  629. data/app/views/integral/contact_mailer/forward_enquiry.haml +12 -0
  630. data/app/views/integral/contact_mailer/forward_enquiry.text.erb +9 -0
  631. data/app/views/integral/pages/_demo.haml +188 -0
  632. data/app/views/integral/pages/templates/default.haml +6 -0
  633. data/app/views/integral/posts/_item.haml +16 -0
  634. data/app/views/integral/posts/index.haml +6 -0
  635. data/app/views/integral/posts/templates/default.haml +38 -0
  636. data/app/views/integral/shared/_blog_layout.haml +15 -0
  637. data/app/views/integral/shared/_blog_sidebar.haml +49 -0
  638. data/app/views/integral/shared/_breadcrumbs.haml +5 -0
  639. data/app/views/integral/shared/_media_query_indicator.haml +2 -0
  640. data/app/views/integral/shared/_scroll_to_top.haml +3 -0
  641. data/app/views/integral/shared/_share_modal.haml +20 -0
  642. data/app/views/integral/shared/_social_list_items.haml +41 -0
  643. data/app/views/integral/shared/_swiper_layout.haml +20 -0
  644. data/app/views/integral/shared/gallery/_placeholder.haml +7 -0
  645. data/app/views/integral/shared/gallery/_slide.haml +5 -0
  646. data/app/views/integral/shared/gallery/_thumb_slide.haml +2 -0
  647. data/app/views/integral/shared/gallery/gallery.haml +7 -0
  648. data/app/views/integral/tags/index.haml +6 -0
  649. data/app/views/integral/tags/show.haml +6 -0
  650. data/app/views/layouts/error.haml +12 -0
  651. data/app/views/layouts/integral/backend.html.haml +93 -0
  652. data/app/views/layouts/integral/backend/_create_dropdown.haml +30 -0
  653. data/app/views/layouts/integral/backend/_head.html.haml +17 -0
  654. data/app/views/layouts/integral/backend/_main_menu_items.haml +91 -0
  655. data/app/views/layouts/integral/frontend.html.haml +36 -0
  656. data/app/views/layouts/integral/frontend/_admin_bar.haml +25 -0
  657. data/app/views/layouts/integral/frontend/_footer.haml +23 -0
  658. data/app/views/layouts/integral/frontend/_header.haml +12 -0
  659. data/app/views/layouts/integral/login.haml +8 -0
  660. data/app/views/layouts/integral/mailer.html.inky-haml +17 -0
  661. data/app/views/layouts/integral/mailer/_footer.html.inky-haml +11 -0
  662. data/app/views/layouts/integral/mailer/_header.html.inky-haml +7 -0
  663. data/config/initializers/acts_as_taggable_on.rb +6 -0
  664. data/config/initializers/ckeditor.rb +51 -0
  665. data/config/initializers/client_side_validations.rb +20 -0
  666. data/config/initializers/compression.rb +46 -0
  667. data/config/initializers/devise.rb +308 -0
  668. data/config/initializers/extensions/ckeditor.rb +31 -0
  669. data/config/initializers/friendly_id.rb +88 -0
  670. data/config/initializers/gaffe.rb +3 -0
  671. data/config/initializers/simple_form.rb +169 -0
  672. data/config/initializers/simple_form/length_component.rb +36 -0
  673. data/config/locales/devise.en.yml +60 -0
  674. data/config/locales/devise_invitable.en.yml +31 -0
  675. data/config/locales/en.yml +477 -0
  676. data/config/locales/simple_form.en.yml +31 -0
  677. data/config/routes.rb +3 -0
  678. data/db/migrate/20160129021044_devise_create_integral_users.rb +42 -0
  679. data/db/migrate/20160130051535_add_name_and_avatar_to_users.rb +6 -0
  680. data/db/migrate/20160201003936_add_roles.rb +13 -0
  681. data/db/migrate/20160302071241_create_integral_images.rb +13 -0
  682. data/db/migrate/20160311092506_create_ckeditor_assets.rb +26 -0
  683. data/db/migrate/20160318004136_create_integral_pages.rb +12 -0
  684. data/db/migrate/20160513033619_create_integral_posts.rb +12 -0
  685. data/db/migrate/20160514063048_add_slug_column_to_post.rb +6 -0
  686. data/db/migrate/20160516084702_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb +31 -0
  687. data/db/migrate/20160516084703_add_missing_unique_indices.acts_as_taggable_on_engine.rb +20 -0
  688. data/db/migrate/20160516084704_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb +15 -0
  689. data/db/migrate/20160516084705_add_missing_taggable_index.acts_as_taggable_on_engine.rb +10 -0
  690. data/db/migrate/20160516084706_change_collation_for_tag_names.acts_as_taggable_on_engine.rb +10 -0
  691. data/db/migrate/20160519005736_add_image_to_posts.rb +5 -0
  692. data/db/migrate/20160519053329_create_friendly_id_slugs.rb +15 -0
  693. data/db/migrate/20160610021858_add_view_count_to_posts.rb +5 -0
  694. data/db/migrate/20160613035508_add_drafting_to_posts.rb +6 -0
  695. data/db/migrate/20160628050006_create_integral_post_viewings.rb +10 -0
  696. data/db/migrate/20160718011218_add_locale_to_integral_users.rb +5 -0
  697. data/db/migrate/20160722100113_devise_invitable_add_to_integral_users.rb +23 -0
  698. data/db/migrate/20160809115906_add_drafting_to_pages.rb +5 -0
  699. data/db/migrate/20160909124940_add_deleted_at_to_objects.rb +15 -0
  700. data/db/migrate/20161014175823_create_lists.rb +31 -0
  701. data/db/migrate/20161102094859_create_settings.rb +18 -0
  702. data/db/migrate/20170215012231_add_templates_to_pages.rb +5 -0
  703. data/db/migrate/20170425091312_add_image_processing_fields.rb +7 -0
  704. data/db/migrate/20170516033523_add_timestamps_to_lists.rb +6 -0
  705. data/db/migrate/20170608131624_add_file_size_to_images.rb +5 -0
  706. data/db/migrate/20170801182434_add_parent_to_pages.rb +5 -0
  707. data/db/migrate/20170922201940_add_image_id_to_posts.rb +9 -0
  708. data/db/migrate/20171008193414_create_post_versions.rb +21 -0
  709. data/db/migrate/20171030215146_create_page_versions.rb +20 -0
  710. data/db/migrate/20171030215154_create_user_versions.rb +20 -0
  711. data/db/migrate/20171030215202_create_list_versions.rb +20 -0
  712. data/db/migrate/20171123155010_create_integral_enquiries.rb +13 -0
  713. data/db/migrate/20171127141132_add_deleted_at_to_lists.rb +6 -0
  714. data/db/migrate/20171230213848_add_image_to_pages.rb +6 -0
  715. data/db/migrate/20180202010010_add_lock_version_to_integral_objects.rb +9 -0
  716. data/db/migrate/20180202010020_create_image_versions.rb +20 -0
  717. data/db/migrate/20180207174914_add_fields_to_lists.rb +7 -0
  718. data/db/migrate/20180223232512_create_integral_newsletter_signups.rb +11 -0
  719. data/db/migrate/20180306204912_add_admin_to_integral_users.rb +5 -0
  720. data/db/migrate/20180326224500_add_processed_to_enquiries_and_newsletters.rb +6 -0
  721. data/db/migrate/20180509101917_add_context_to_enquiries.rb +6 -0
  722. data/db/migrate/20180920030236_update_posts_and_pages_null.rb +6 -0
  723. data/db/migrate/20181011234446_add_preview_image_to_posts.rb +6 -0
  724. data/db/seeds.rb +53 -0
  725. data/lib/generators/integral/install_generator.rb +19 -0
  726. data/lib/generators/templates/app.yml +24 -0
  727. data/lib/generators/templates/carrierwave.rb +35 -0
  728. data/lib/generators/templates/carrierwave_backgrounder.rb +11 -0
  729. data/lib/generators/templates/integral.rb +129 -0
  730. data/lib/generators/templates/sitemap.rb +41 -0
  731. data/lib/integral.rb +155 -0
  732. data/lib/integral/acts_as_listable.rb +45 -0
  733. data/lib/integral/button_link_renderer.rb +54 -0
  734. data/lib/integral/chart_renderer/base.rb +80 -0
  735. data/lib/integral/chart_renderer/donut.rb +21 -0
  736. data/lib/integral/chart_renderer/line.rb +24 -0
  737. data/lib/integral/content_renderer.rb +78 -0
  738. data/lib/integral/engine.rb +124 -0
  739. data/lib/integral/foundation_builder.rb +33 -0
  740. data/lib/integral/google_tag_manager.rb +33 -0
  741. data/lib/integral/grids/activities_grid.rb +37 -0
  742. data/lib/integral/grids/images_grid.rb +21 -0
  743. data/lib/integral/grids/lists_grid.rb +21 -0
  744. data/lib/integral/grids/pages_grid.rb +27 -0
  745. data/lib/integral/grids/posts_grid.rb +32 -0
  746. data/lib/integral/grids/users_grid.rb +22 -0
  747. data/lib/integral/list_item_renderer.rb +204 -0
  748. data/lib/integral/list_renderer.rb +91 -0
  749. data/lib/integral/middleware/page_router.rb +84 -0
  750. data/lib/integral/partial_list_item_renderer.rb +40 -0
  751. data/lib/integral/router.rb +106 -0
  752. data/lib/integral/slack_bot.rb +45 -0
  753. data/lib/integral/swiper_list_renderer.rb +30 -0
  754. data/lib/integral/version.rb +5 -0
  755. data/lib/integral/widgets/recent_posts.rb +41 -0
  756. data/lib/integral/widgets/swiper_list.rb +40 -0
  757. data/lib/tasks/integral_tasks.rake +57 -0
  758. data/lib/templates/erb/scaffold/_form.html.erb +13 -0
  759. data/spec/factories.rb +114 -0
  760. data/spec/support/image.jpg +0 -0
  761. metadata +1734 -0
@@ -0,0 +1,87 @@
1
+ # Handles interaction with remote forms
2
+ class this.RemoteForm
3
+ # Initiate a RemoteForm object with a jquery selector to one or more forms
4
+ #
5
+ # @usage new RemoteForm($('form'))
6
+ constructor: (forms, opts={}) ->
7
+ # 'forms' refers to one or more jquery objects whose target is a 'form' tag
8
+ @forms = forms
9
+ # @opts = @_mergeDefaultOpts(opts)
10
+ @_setupEvents()
11
+
12
+ # Create listeners and handlers for form events
13
+ _setupEvents: =>
14
+ # Handle form start
15
+ @forms.on "ajax:beforeSend", (event, data, status, xhr) =>
16
+ @_handleBeforeSend(event, data)
17
+
18
+ # Handle form success
19
+ @forms.on "ajax:success", (event, data, status, xhr) =>
20
+ @_handleSuccess(event, data)
21
+
22
+ # Handle form error
23
+ @forms.on "ajax:error", (event, data, status, xhr) =>
24
+ @_handleError(event, data)
25
+
26
+ # Handle form complete
27
+ @forms.on "ajax:complete", (event, data, status, xhr) =>
28
+ @_handleComplete(event, data)
29
+
30
+ # What happens before AJAX request is sent
31
+ _handleBeforeSend: (event, data) =>
32
+ @_setDisabledElements(event.currentTarget)
33
+
34
+ # What happens after AJAX request is complete
35
+ _handleComplete: (event, data) =>
36
+ @_setDisabledElements(event.currentTarget, false)
37
+ $(event.currentTarget).resetClientSideValidations()
38
+
39
+ # What happens after AJAX request is complete with an error
40
+ _handleError: (event, data) =>
41
+ formDataError = $(event.currentTarget).data('remote-form-failure-message')
42
+ return @errorMessage(I18n.t('integral.remote_form.error')) if data.status == 500
43
+ return @errorMessage(data.responseJSON.message) if data.responseJSON != undefined && data.responseJSON.message != undefined
44
+ return @errorMessage(formDataError) if formDataError
45
+ @errorMessage(I18n.t('integral.remote_form.error'))
46
+
47
+ # What happens after AJAX request is complete successfully
48
+ _handleSuccess: (event, data) =>
49
+ target = $(event.currentTarget)
50
+ formDataSuccessMessage = target.data('remote-form-success-message')
51
+ data = {} if data == undefined
52
+
53
+ @broadcastEvent(target)
54
+
55
+ # Reset form
56
+ target[0].reset()
57
+
58
+ return Turbolinks.visit(data.redirect_url) if data.redirect_url
59
+ return @successMessage(data.message) if data.message
60
+ return @successMessage(formDataSuccessMessage) if formDataSuccessMessage
61
+ @successMessage(I18n.t('integral.remote_form.success'))
62
+
63
+ # Loops over all elements within a target and toggles the disabled attribute
64
+ _setDisabledElements: (target, disabled=true) =>
65
+ for element in target
66
+ element.disabled = disabled
67
+
68
+ errorMessage: (message) =>
69
+ toastr["error"](message)
70
+
71
+ successMessage: (message) =>
72
+ toastr["success"](message)
73
+
74
+ # Broadcast a GTM event if one is supplied
75
+ broadcastEvent: (target) =>
76
+ event = target.data('remote-form-event')
77
+
78
+ # Broadcast Google Event
79
+ if event != ''
80
+ window.dataLayer = window.dataLayer || []
81
+ window.dataLayer.push
82
+ 'event' : event
83
+
84
+
85
+ # _mergeDefaultOpts: (opts) =>
86
+ # # Some fancy reverse merge goes here
87
+ # options =
@@ -0,0 +1,26 @@
1
+ class this.ResponsiveSwiper
2
+ @init: ->
3
+ for element in $('[data-responsive-swiper]')
4
+ new ResponsiveSwiper($(element))
5
+
6
+
7
+ constructor: (element) ->
8
+ @_createSwiper(element).insertAfter(element)
9
+
10
+ _createSwiper: (element) ->
11
+ swiperClasses = element.data('responsive-swiper-container-classes')
12
+ swiper = $("<div class='#{swiperClasses}'><div class='swiper-container'>
13
+ <div class='swiper-wrapper'></div>
14
+ <div class='swiper-button-prev'></div>
15
+ <div class='swiper-button-next'></div>
16
+ <div class='swiper-pagination'></div></div><div>")
17
+ swiperWrapper = swiper.find('.swiper-wrapper')
18
+ slideContainer = "<div class='swiper-slide'></div>"
19
+
20
+ for slide in element.find('[data-responsive-swiper-slide]')
21
+ slideContainer = $("<div class='swiper-slide'></div>")
22
+ slide = $(slide)
23
+
24
+ swiperWrapper.append(slideContainer.append(slide.clone()))
25
+
26
+ swiper
@@ -0,0 +1,17 @@
1
+ # Handles interaction with scrollToTop widget.
2
+ # Shows widget when user begins to scroll and scrolls user to the top of the page
3
+ # when widget is clicked.
4
+ class this.ScrollToTop
5
+ @init: ->
6
+ scrollToTop = $('#toTop')
7
+ scrollWindow = $(window)
8
+
9
+ scrollWindow.scroll =>
10
+ if scrollWindow.scrollTop() > 10
11
+ scrollToTop.fadeIn()
12
+ else
13
+ scrollToTop.fadeOut()
14
+
15
+ scrollToTop.on 'click', =>
16
+ $("html, body").animate({ scrollTop: 0 }, 600)
17
+ return false
@@ -0,0 +1,49 @@
1
+ # Handles slug generation
2
+ # https://trafficgenerationcafe.com/what-is-slug/
3
+ #
4
+ # @usage Give an the output data-slugify attribute, setting the value as the selector to the input field
5
+ # <input type='text' data-slugify='#input-field' />
6
+ class this.SlugGenerator
7
+ # Checks for any slugs on the page and initializes SlugGenerator
8
+ @check_for_slugs: ->
9
+ for slug in $('[data-slugify]')
10
+ slug = $(slug)
11
+ sluggable = $(slug.data('slugify'))
12
+ new SlugGenerator(sluggable, slug) if sluggable.length != 0
13
+
14
+ # Slugs given strings
15
+ #
16
+ # @param sluggable [String] string to turn into a valid slug
17
+ # @return [String] valid slug
18
+ @slugify: (sluggable) ->
19
+ sluggable.toString().toLowerCase()
20
+ .replace(/\s+/g, '-') # Replace spaces with -
21
+ .replace(/[^\u0100-\uFFFF\w\-]/g,'-') # Remove all non-word chars ( fix for UTF-8 chars )
22
+ .replace(/\-\-+/g, '-') # Replace multiple - with single -
23
+ .replace(/^-+/, '') # Trim - from start of text
24
+ .replace(/-+$/, '')
25
+
26
+ # Generates slugs from a given inputField value and sends the slug to outputField.
27
+ # Also monitors outputField to make sure if the slug is editted to is still a valid slug
28
+ #
29
+ # @param inputField [$Object] field to generate the slug from
30
+ # @param outputField [$Object] field to send the generated slug to
31
+ constructor: (inputField, outputField) ->
32
+ @inputField = inputField
33
+ @outputField = outputField
34
+
35
+ @setupEvents()
36
+
37
+ # Sets event listeners on slug fields
38
+ setupEvents: =>
39
+ @inputField.change =>
40
+ if @outputField.val() == ''
41
+ @setSlug(@inputField.val())
42
+
43
+ @outputField.change =>
44
+ @setSlug(@outputField.val())
45
+
46
+ # Sets event listeners on slug fields
47
+ setSlug: (sluggable) =>
48
+ @outputField.val(SlugGenerator.slugify(sluggable))
49
+
@@ -0,0 +1,1834 @@
1
+ /**
2
+ * Foundation for Sites by ZURB
3
+ * Version 6.2.3
4
+ * foundation.zurb.com
5
+ * Licensed under MIT Open Source
6
+ */
7
+ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
8
+ /**
9
+ * 1. Set default font family to sans-serif.
10
+ * 2. Prevent iOS and IE text size adjust after device orientation change,
11
+ * without disabling user zoom.
12
+ */
13
+ html {
14
+ font-family: sans-serif;
15
+ /* 1 */
16
+ -ms-text-size-adjust: 100%;
17
+ /* 2 */
18
+ -webkit-text-size-adjust: 100%;
19
+ /* 2 */ }
20
+
21
+ /**
22
+ * Remove default margin.
23
+ */
24
+ body {
25
+ margin: 0; }
26
+
27
+ /* HTML5 display definitions
28
+ ========================================================================== */
29
+ /**
30
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
31
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
32
+ * and Firefox.
33
+ * Correct `block` display not defined for `main` in IE 11.
34
+ */
35
+ article,
36
+ aside,
37
+ details,
38
+ figcaption,
39
+ figure,
40
+ footer,
41
+ header,
42
+ hgroup,
43
+ main,
44
+ menu,
45
+ nav,
46
+ section,
47
+ summary {
48
+ display: block; }
49
+
50
+ /**
51
+ * 1. Correct `inline-block` display not defined in IE 8/9.
52
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
53
+ */
54
+ audio,
55
+ canvas,
56
+ progress,
57
+ video {
58
+ display: inline-block;
59
+ /* 1 */
60
+ vertical-align: baseline;
61
+ /* 2 */ }
62
+
63
+ /**
64
+ * Prevent modern browsers from displaying `audio` without controls.
65
+ * Remove excess height in iOS 5 devices.
66
+ */
67
+ audio:not([controls]) {
68
+ display: none;
69
+ height: 0; }
70
+
71
+ /**
72
+ * Address `[hidden]` styling not present in IE 8/9/10.
73
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
74
+ */
75
+ [hidden],
76
+ template {
77
+ display: none; }
78
+
79
+ /* Links
80
+ ========================================================================== */
81
+ /**
82
+ * Remove the gray background color from active links in IE 10.
83
+ */
84
+ a {
85
+ background-color: transparent; }
86
+
87
+ /**
88
+ * Improve readability of focused elements when they are also in an
89
+ * active/hover state.
90
+ */
91
+ a:active,
92
+ a:hover {
93
+ outline: 0; }
94
+
95
+ /* Text-level semantics
96
+ ========================================================================== */
97
+ /**
98
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
99
+ */
100
+ abbr[title] {
101
+ border-bottom: 1px dotted; }
102
+
103
+ /**
104
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
105
+ */
106
+ b,
107
+ strong {
108
+ font-weight: bold; }
109
+
110
+ /**
111
+ * Address styling not present in Safari and Chrome.
112
+ */
113
+ dfn {
114
+ font-style: italic; }
115
+
116
+ /**
117
+ * Address variable `h1` font-size and margin within `section` and `article`
118
+ * contexts in Firefox 4+, Safari, and Chrome.
119
+ */
120
+ h1 {
121
+ font-size: 2em;
122
+ margin: 0.67em 0; }
123
+
124
+ /**
125
+ * Address styling not present in IE 8/9.
126
+ */
127
+ mark {
128
+ background: #ff0;
129
+ color: #000; }
130
+
131
+ /**
132
+ * Address inconsistent and variable font size in all browsers.
133
+ */
134
+ small {
135
+ font-size: 80%; }
136
+
137
+ /**
138
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
139
+ */
140
+ sub,
141
+ sup {
142
+ font-size: 75%;
143
+ line-height: 0;
144
+ position: relative;
145
+ vertical-align: baseline; }
146
+
147
+ sup {
148
+ top: -0.5em; }
149
+
150
+ sub {
151
+ bottom: -0.25em; }
152
+
153
+ /* Embedded content
154
+ ========================================================================== */
155
+ /**
156
+ * Remove border when inside `a` element in IE 8/9/10.
157
+ */
158
+ img {
159
+ border: 0; }
160
+
161
+ /**
162
+ * Correct overflow not hidden in IE 9/10/11.
163
+ */
164
+ svg:not(:root) {
165
+ overflow: hidden; }
166
+
167
+ /* Grouping content
168
+ ========================================================================== */
169
+ /**
170
+ * Address margin not present in IE 8/9 and Safari.
171
+ */
172
+ figure {
173
+ margin: 1em 40px; }
174
+
175
+ /**
176
+ * Address differences between Firefox and other browsers.
177
+ */
178
+ hr {
179
+ box-sizing: content-box;
180
+ height: 0; }
181
+
182
+ /**
183
+ * Contain overflow in all browsers.
184
+ */
185
+ pre {
186
+ overflow: auto; }
187
+
188
+ /**
189
+ * Address odd `em`-unit font size rendering in all browsers.
190
+ */
191
+ code,
192
+ kbd,
193
+ pre,
194
+ samp {
195
+ font-family: monospace, monospace;
196
+ font-size: 1em; }
197
+
198
+ /* Forms
199
+ ========================================================================== */
200
+ /**
201
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
202
+ * styling of `select`, unless a `border` property is set.
203
+ */
204
+ /**
205
+ * 1. Correct color not being inherited.
206
+ * Known issue: affects color of disabled elements.
207
+ * 2. Correct font properties not being inherited.
208
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
209
+ */
210
+ button,
211
+ input,
212
+ optgroup,
213
+ select,
214
+ textarea {
215
+ color: inherit;
216
+ /* 1 */
217
+ font: inherit;
218
+ /* 2 */
219
+ margin: 0;
220
+ /* 3 */ }
221
+
222
+ /**
223
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
224
+ */
225
+ button {
226
+ overflow: visible; }
227
+
228
+ /**
229
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
230
+ * All other form control elements do not inherit `text-transform` values.
231
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
232
+ * Correct `select` style inheritance in Firefox.
233
+ */
234
+ button,
235
+ select {
236
+ text-transform: none; }
237
+
238
+ /**
239
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
240
+ * and `video` controls.
241
+ * 2. Correct inability to style clickable `input` types in iOS.
242
+ * 3. Improve usability and consistency of cursor style between image-type
243
+ * `input` and others.
244
+ */
245
+ button,
246
+ html input[type="button"],
247
+ input[type="reset"],
248
+ input[type="submit"] {
249
+ -webkit-appearance: button;
250
+ /* 2 */
251
+ cursor: pointer;
252
+ /* 3 */ }
253
+
254
+ /**
255
+ * Re-set default cursor for disabled elements.
256
+ */
257
+ button[disabled],
258
+ html input[disabled] {
259
+ cursor: not-allowed; }
260
+
261
+ /**
262
+ * Remove inner padding and border in Firefox 4+.
263
+ */
264
+ button::-moz-focus-inner,
265
+ input::-moz-focus-inner {
266
+ border: 0;
267
+ padding: 0; }
268
+
269
+ /**
270
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
271
+ * the UA stylesheet.
272
+ */
273
+ input {
274
+ line-height: normal; }
275
+
276
+ /**
277
+ * It's recommended that you don't attempt to style these elements.
278
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
279
+ *
280
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
281
+ * 2. Remove excess padding in IE 8/9/10.
282
+ */
283
+ input[type="checkbox"],
284
+ input[type="radio"] {
285
+ box-sizing: border-box;
286
+ /* 1 */
287
+ padding: 0;
288
+ /* 2 */ }
289
+
290
+ /**
291
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
292
+ * `font-size` values of the `input`, it causes the cursor style of the
293
+ * decrement button to change from `default` to `text`.
294
+ */
295
+ input[type="number"]::-webkit-inner-spin-button,
296
+ input[type="number"]::-webkit-outer-spin-button {
297
+ height: auto; }
298
+
299
+ /**
300
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
301
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
302
+ */
303
+ input[type="search"] {
304
+ -webkit-appearance: textfield;
305
+ /* 1 */
306
+ box-sizing: content-box;
307
+ /* 2 */ }
308
+
309
+ /**
310
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
311
+ * Safari (but not Chrome) clips the cancel button when the search input has
312
+ * padding (and `textfield` appearance).
313
+ */
314
+ input[type="search"]::-webkit-search-cancel-button,
315
+ input[type="search"]::-webkit-search-decoration {
316
+ -webkit-appearance: none; }
317
+
318
+ /**
319
+ * Define consistent border, margin, and padding.
320
+ * [NOTE] We don't enable this ruleset in Foundation, because we want the <fieldset> element to have plain styling.
321
+ */
322
+ /* fieldset {
323
+ border: 1px solid #c0c0c0;
324
+ margin: 0 2px;
325
+ padding: 0.35em 0.625em 0.75em;
326
+ } */
327
+ /**
328
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
329
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
330
+ */
331
+ legend {
332
+ border: 0;
333
+ /* 1 */
334
+ padding: 0;
335
+ /* 2 */ }
336
+
337
+ /**
338
+ * Remove default vertical scrollbar in IE 8/9/10/11.
339
+ */
340
+ textarea {
341
+ overflow: auto; }
342
+
343
+ /**
344
+ * Don't inherit the `font-weight` (applied by a rule above).
345
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
346
+ */
347
+ optgroup {
348
+ font-weight: bold; }
349
+
350
+ /* Tables
351
+ ========================================================================== */
352
+ /**
353
+ * Remove most spacing between table cells.
354
+ */
355
+ table {
356
+ border-collapse: collapse;
357
+ border-spacing: 0; }
358
+
359
+ td,
360
+ th {
361
+ padding: 0; }
362
+
363
+ .foundation-mq {
364
+ font-family: "small=0em&medium=40em&large=64em&xlarge=75em&xxlarge=90em"; }
365
+
366
+ html {
367
+ font-size: 100%;
368
+ box-sizing: border-box; }
369
+
370
+ *,
371
+ *::before,
372
+ *::after {
373
+ box-sizing: inherit; }
374
+
375
+ body {
376
+ padding: 0;
377
+ margin: 0;
378
+ font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
379
+ font-weight: normal;
380
+ line-height: 1.5;
381
+ color: #0a0a0a;
382
+ background: #fefefe;
383
+ -webkit-font-smoothing: antialiased;
384
+ -moz-osx-font-smoothing: grayscale; }
385
+
386
+ img {
387
+ max-width: 100%;
388
+ height: auto;
389
+ -ms-interpolation-mode: bicubic;
390
+ display: inline-block;
391
+ vertical-align: middle; }
392
+
393
+ textarea {
394
+ height: auto;
395
+ min-height: 50px;
396
+ border-radius: 3px; }
397
+
398
+ select {
399
+ width: 100%;
400
+ border-radius: 3px; }
401
+
402
+ #map_canvas img,
403
+ #map_canvas embed,
404
+ #map_canvas object,
405
+ .map_canvas img,
406
+ .map_canvas embed,
407
+ .map_canvas object,
408
+ .mqa-display img,
409
+ .mqa-display embed,
410
+ .mqa-display object {
411
+ max-width: none !important; }
412
+
413
+ button {
414
+ -webkit-appearance: none;
415
+ -moz-appearance: none;
416
+ background: transparent;
417
+ padding: 0;
418
+ border: 0;
419
+ border-radius: 3px;
420
+ line-height: 1; }
421
+ [data-whatinput='mouse'] button {
422
+ outline: 0; }
423
+
424
+ .is-visible {
425
+ display: block !important; }
426
+
427
+ .is-hidden {
428
+ display: none !important; }
429
+
430
+ .row {
431
+ max-width: 62.5rem;
432
+ margin-left: auto;
433
+ margin-right: auto; }
434
+ .row::before, .row::after {
435
+ content: ' ';
436
+ display: table; }
437
+ .row::after {
438
+ clear: both; }
439
+ .row.collapse > .column, .row.collapse > .columns {
440
+ padding-left: 0;
441
+ padding-right: 0; }
442
+ .row .row {
443
+ max-width: none;
444
+ margin-left: -0.9375rem;
445
+ margin-right: -0.9375rem; }
446
+ .row .row.collapse {
447
+ margin-left: 0;
448
+ margin-right: 0; }
449
+ .row.expanded {
450
+ max-width: none; }
451
+ .row.expanded .row {
452
+ margin-left: auto;
453
+ margin-right: auto; }
454
+
455
+ .column, .columns {
456
+ width: 100%;
457
+ float: left;
458
+ padding-left: 0.9375rem;
459
+ padding-right: 0.9375rem; }
460
+ .column:last-child:not(:first-child), .columns:last-child:not(:first-child) {
461
+ float: right; }
462
+ .column.end:last-child:last-child, .end.columns:last-child:last-child {
463
+ float: left; }
464
+
465
+ .column.row.row, .row.row.columns {
466
+ float: none; }
467
+ .row .column.row.row, .row .row.row.columns {
468
+ padding-left: 0;
469
+ padding-right: 0;
470
+ margin-left: 0;
471
+ margin-right: 0; }
472
+
473
+ .small-1 {
474
+ width: 8.33333%; }
475
+
476
+ .small-push-1 {
477
+ position: relative;
478
+ left: 8.33333%; }
479
+
480
+ .small-pull-1 {
481
+ position: relative;
482
+ left: -8.33333%; }
483
+
484
+ .small-offset-0 {
485
+ margin-left: 0%; }
486
+
487
+ .small-2 {
488
+ width: 16.66667%; }
489
+
490
+ .small-push-2 {
491
+ position: relative;
492
+ left: 16.66667%; }
493
+
494
+ .small-pull-2 {
495
+ position: relative;
496
+ left: -16.66667%; }
497
+
498
+ .small-offset-1 {
499
+ margin-left: 8.33333%; }
500
+
501
+ .small-3 {
502
+ width: 25%; }
503
+
504
+ .small-push-3 {
505
+ position: relative;
506
+ left: 25%; }
507
+
508
+ .small-pull-3 {
509
+ position: relative;
510
+ left: -25%; }
511
+
512
+ .small-offset-2 {
513
+ margin-left: 16.66667%; }
514
+
515
+ .small-4 {
516
+ width: 33.33333%; }
517
+
518
+ .small-push-4 {
519
+ position: relative;
520
+ left: 33.33333%; }
521
+
522
+ .small-pull-4 {
523
+ position: relative;
524
+ left: -33.33333%; }
525
+
526
+ .small-offset-3 {
527
+ margin-left: 25%; }
528
+
529
+ .small-5 {
530
+ width: 41.66667%; }
531
+
532
+ .small-push-5 {
533
+ position: relative;
534
+ left: 41.66667%; }
535
+
536
+ .small-pull-5 {
537
+ position: relative;
538
+ left: -41.66667%; }
539
+
540
+ .small-offset-4 {
541
+ margin-left: 33.33333%; }
542
+
543
+ .small-6 {
544
+ width: 50%; }
545
+
546
+ .small-push-6 {
547
+ position: relative;
548
+ left: 50%; }
549
+
550
+ .small-pull-6 {
551
+ position: relative;
552
+ left: -50%; }
553
+
554
+ .small-offset-5 {
555
+ margin-left: 41.66667%; }
556
+
557
+ .small-7 {
558
+ width: 58.33333%; }
559
+
560
+ .small-push-7 {
561
+ position: relative;
562
+ left: 58.33333%; }
563
+
564
+ .small-pull-7 {
565
+ position: relative;
566
+ left: -58.33333%; }
567
+
568
+ .small-offset-6 {
569
+ margin-left: 50%; }
570
+
571
+ .small-8 {
572
+ width: 66.66667%; }
573
+
574
+ .small-push-8 {
575
+ position: relative;
576
+ left: 66.66667%; }
577
+
578
+ .small-pull-8 {
579
+ position: relative;
580
+ left: -66.66667%; }
581
+
582
+ .small-offset-7 {
583
+ margin-left: 58.33333%; }
584
+
585
+ .small-9 {
586
+ width: 75%; }
587
+
588
+ .small-push-9 {
589
+ position: relative;
590
+ left: 75%; }
591
+
592
+ .small-pull-9 {
593
+ position: relative;
594
+ left: -75%; }
595
+
596
+ .small-offset-8 {
597
+ margin-left: 66.66667%; }
598
+
599
+ .small-10 {
600
+ width: 83.33333%; }
601
+
602
+ .small-push-10 {
603
+ position: relative;
604
+ left: 83.33333%; }
605
+
606
+ .small-pull-10 {
607
+ position: relative;
608
+ left: -83.33333%; }
609
+
610
+ .small-offset-9 {
611
+ margin-left: 75%; }
612
+
613
+ .small-11 {
614
+ width: 91.66667%; }
615
+
616
+ .small-push-11 {
617
+ position: relative;
618
+ left: 91.66667%; }
619
+
620
+ .small-pull-11 {
621
+ position: relative;
622
+ left: -91.66667%; }
623
+
624
+ .small-offset-10 {
625
+ margin-left: 83.33333%; }
626
+
627
+ .small-12 {
628
+ width: 100%; }
629
+
630
+ .small-offset-11 {
631
+ margin-left: 91.66667%; }
632
+
633
+ .small-up-1 > .column, .small-up-1 > .columns {
634
+ width: 100%;
635
+ float: left; }
636
+ .small-up-1 > .column:nth-of-type(1n), .small-up-1 > .columns:nth-of-type(1n) {
637
+ clear: none; }
638
+ .small-up-1 > .column:nth-of-type(1n+1), .small-up-1 > .columns:nth-of-type(1n+1) {
639
+ clear: both; }
640
+ .small-up-1 > .column:last-child, .small-up-1 > .columns:last-child {
641
+ float: left; }
642
+
643
+ .small-up-2 > .column, .small-up-2 > .columns {
644
+ width: 50%;
645
+ float: left; }
646
+ .small-up-2 > .column:nth-of-type(1n), .small-up-2 > .columns:nth-of-type(1n) {
647
+ clear: none; }
648
+ .small-up-2 > .column:nth-of-type(2n+1), .small-up-2 > .columns:nth-of-type(2n+1) {
649
+ clear: both; }
650
+ .small-up-2 > .column:last-child, .small-up-2 > .columns:last-child {
651
+ float: left; }
652
+
653
+ .small-up-3 > .column, .small-up-3 > .columns {
654
+ width: 33.33333%;
655
+ float: left; }
656
+ .small-up-3 > .column:nth-of-type(1n), .small-up-3 > .columns:nth-of-type(1n) {
657
+ clear: none; }
658
+ .small-up-3 > .column:nth-of-type(3n+1), .small-up-3 > .columns:nth-of-type(3n+1) {
659
+ clear: both; }
660
+ .small-up-3 > .column:last-child, .small-up-3 > .columns:last-child {
661
+ float: left; }
662
+
663
+ .small-up-4 > .column, .small-up-4 > .columns {
664
+ width: 25%;
665
+ float: left; }
666
+ .small-up-4 > .column:nth-of-type(1n), .small-up-4 > .columns:nth-of-type(1n) {
667
+ clear: none; }
668
+ .small-up-4 > .column:nth-of-type(4n+1), .small-up-4 > .columns:nth-of-type(4n+1) {
669
+ clear: both; }
670
+ .small-up-4 > .column:last-child, .small-up-4 > .columns:last-child {
671
+ float: left; }
672
+
673
+ .small-up-5 > .column, .small-up-5 > .columns {
674
+ width: 20%;
675
+ float: left; }
676
+ .small-up-5 > .column:nth-of-type(1n), .small-up-5 > .columns:nth-of-type(1n) {
677
+ clear: none; }
678
+ .small-up-5 > .column:nth-of-type(5n+1), .small-up-5 > .columns:nth-of-type(5n+1) {
679
+ clear: both; }
680
+ .small-up-5 > .column:last-child, .small-up-5 > .columns:last-child {
681
+ float: left; }
682
+
683
+ .small-up-6 > .column, .small-up-6 > .columns {
684
+ width: 16.66667%;
685
+ float: left; }
686
+ .small-up-6 > .column:nth-of-type(1n), .small-up-6 > .columns:nth-of-type(1n) {
687
+ clear: none; }
688
+ .small-up-6 > .column:nth-of-type(6n+1), .small-up-6 > .columns:nth-of-type(6n+1) {
689
+ clear: both; }
690
+ .small-up-6 > .column:last-child, .small-up-6 > .columns:last-child {
691
+ float: left; }
692
+
693
+ .small-up-7 > .column, .small-up-7 > .columns {
694
+ width: 14.28571%;
695
+ float: left; }
696
+ .small-up-7 > .column:nth-of-type(1n), .small-up-7 > .columns:nth-of-type(1n) {
697
+ clear: none; }
698
+ .small-up-7 > .column:nth-of-type(7n+1), .small-up-7 > .columns:nth-of-type(7n+1) {
699
+ clear: both; }
700
+ .small-up-7 > .column:last-child, .small-up-7 > .columns:last-child {
701
+ float: left; }
702
+
703
+ .small-up-8 > .column, .small-up-8 > .columns {
704
+ width: 12.5%;
705
+ float: left; }
706
+ .small-up-8 > .column:nth-of-type(1n), .small-up-8 > .columns:nth-of-type(1n) {
707
+ clear: none; }
708
+ .small-up-8 > .column:nth-of-type(8n+1), .small-up-8 > .columns:nth-of-type(8n+1) {
709
+ clear: both; }
710
+ .small-up-8 > .column:last-child, .small-up-8 > .columns:last-child {
711
+ float: left; }
712
+
713
+ .small-collapse > .column, .small-collapse > .columns {
714
+ padding-left: 0;
715
+ padding-right: 0; }
716
+
717
+ .small-collapse .row,
718
+ .expanded.row .small-collapse.row {
719
+ margin-left: 0;
720
+ margin-right: 0; }
721
+
722
+ .small-uncollapse > .column, .small-uncollapse > .columns {
723
+ padding-left: 0.9375rem;
724
+ padding-right: 0.9375rem; }
725
+
726
+ .small-centered {
727
+ float: none;
728
+ margin-left: auto;
729
+ margin-right: auto; }
730
+
731
+ .small-uncentered,
732
+ .small-push-0,
733
+ .small-pull-0 {
734
+ position: static;
735
+ margin-left: 0;
736
+ margin-right: 0;
737
+ float: left; }
738
+
739
+ @media screen and (min-width: 40em) {
740
+ .medium-1 {
741
+ width: 8.33333%; }
742
+ .medium-push-1 {
743
+ position: relative;
744
+ left: 8.33333%; }
745
+ .medium-pull-1 {
746
+ position: relative;
747
+ left: -8.33333%; }
748
+ .medium-offset-0 {
749
+ margin-left: 0%; }
750
+ .medium-2 {
751
+ width: 16.66667%; }
752
+ .medium-push-2 {
753
+ position: relative;
754
+ left: 16.66667%; }
755
+ .medium-pull-2 {
756
+ position: relative;
757
+ left: -16.66667%; }
758
+ .medium-offset-1 {
759
+ margin-left: 8.33333%; }
760
+ .medium-3 {
761
+ width: 25%; }
762
+ .medium-push-3 {
763
+ position: relative;
764
+ left: 25%; }
765
+ .medium-pull-3 {
766
+ position: relative;
767
+ left: -25%; }
768
+ .medium-offset-2 {
769
+ margin-left: 16.66667%; }
770
+ .medium-4 {
771
+ width: 33.33333%; }
772
+ .medium-push-4 {
773
+ position: relative;
774
+ left: 33.33333%; }
775
+ .medium-pull-4 {
776
+ position: relative;
777
+ left: -33.33333%; }
778
+ .medium-offset-3 {
779
+ margin-left: 25%; }
780
+ .medium-5 {
781
+ width: 41.66667%; }
782
+ .medium-push-5 {
783
+ position: relative;
784
+ left: 41.66667%; }
785
+ .medium-pull-5 {
786
+ position: relative;
787
+ left: -41.66667%; }
788
+ .medium-offset-4 {
789
+ margin-left: 33.33333%; }
790
+ .medium-6 {
791
+ width: 50%; }
792
+ .medium-push-6 {
793
+ position: relative;
794
+ left: 50%; }
795
+ .medium-pull-6 {
796
+ position: relative;
797
+ left: -50%; }
798
+ .medium-offset-5 {
799
+ margin-left: 41.66667%; }
800
+ .medium-7 {
801
+ width: 58.33333%; }
802
+ .medium-push-7 {
803
+ position: relative;
804
+ left: 58.33333%; }
805
+ .medium-pull-7 {
806
+ position: relative;
807
+ left: -58.33333%; }
808
+ .medium-offset-6 {
809
+ margin-left: 50%; }
810
+ .medium-8 {
811
+ width: 66.66667%; }
812
+ .medium-push-8 {
813
+ position: relative;
814
+ left: 66.66667%; }
815
+ .medium-pull-8 {
816
+ position: relative;
817
+ left: -66.66667%; }
818
+ .medium-offset-7 {
819
+ margin-left: 58.33333%; }
820
+ .medium-9 {
821
+ width: 75%; }
822
+ .medium-push-9 {
823
+ position: relative;
824
+ left: 75%; }
825
+ .medium-pull-9 {
826
+ position: relative;
827
+ left: -75%; }
828
+ .medium-offset-8 {
829
+ margin-left: 66.66667%; }
830
+ .medium-10 {
831
+ width: 83.33333%; }
832
+ .medium-push-10 {
833
+ position: relative;
834
+ left: 83.33333%; }
835
+ .medium-pull-10 {
836
+ position: relative;
837
+ left: -83.33333%; }
838
+ .medium-offset-9 {
839
+ margin-left: 75%; }
840
+ .medium-11 {
841
+ width: 91.66667%; }
842
+ .medium-push-11 {
843
+ position: relative;
844
+ left: 91.66667%; }
845
+ .medium-pull-11 {
846
+ position: relative;
847
+ left: -91.66667%; }
848
+ .medium-offset-10 {
849
+ margin-left: 83.33333%; }
850
+ .medium-12 {
851
+ width: 100%; }
852
+ .medium-offset-11 {
853
+ margin-left: 91.66667%; }
854
+ .medium-up-1 > .column, .medium-up-1 > .columns {
855
+ width: 100%;
856
+ float: left; }
857
+ .medium-up-1 > .column:nth-of-type(1n), .medium-up-1 > .columns:nth-of-type(1n) {
858
+ clear: none; }
859
+ .medium-up-1 > .column:nth-of-type(1n+1), .medium-up-1 > .columns:nth-of-type(1n+1) {
860
+ clear: both; }
861
+ .medium-up-1 > .column:last-child, .medium-up-1 > .columns:last-child {
862
+ float: left; }
863
+ .medium-up-2 > .column, .medium-up-2 > .columns {
864
+ width: 50%;
865
+ float: left; }
866
+ .medium-up-2 > .column:nth-of-type(1n), .medium-up-2 > .columns:nth-of-type(1n) {
867
+ clear: none; }
868
+ .medium-up-2 > .column:nth-of-type(2n+1), .medium-up-2 > .columns:nth-of-type(2n+1) {
869
+ clear: both; }
870
+ .medium-up-2 > .column:last-child, .medium-up-2 > .columns:last-child {
871
+ float: left; }
872
+ .medium-up-3 > .column, .medium-up-3 > .columns {
873
+ width: 33.33333%;
874
+ float: left; }
875
+ .medium-up-3 > .column:nth-of-type(1n), .medium-up-3 > .columns:nth-of-type(1n) {
876
+ clear: none; }
877
+ .medium-up-3 > .column:nth-of-type(3n+1), .medium-up-3 > .columns:nth-of-type(3n+1) {
878
+ clear: both; }
879
+ .medium-up-3 > .column:last-child, .medium-up-3 > .columns:last-child {
880
+ float: left; }
881
+ .medium-up-4 > .column, .medium-up-4 > .columns {
882
+ width: 25%;
883
+ float: left; }
884
+ .medium-up-4 > .column:nth-of-type(1n), .medium-up-4 > .columns:nth-of-type(1n) {
885
+ clear: none; }
886
+ .medium-up-4 > .column:nth-of-type(4n+1), .medium-up-4 > .columns:nth-of-type(4n+1) {
887
+ clear: both; }
888
+ .medium-up-4 > .column:last-child, .medium-up-4 > .columns:last-child {
889
+ float: left; }
890
+ .medium-up-5 > .column, .medium-up-5 > .columns {
891
+ width: 20%;
892
+ float: left; }
893
+ .medium-up-5 > .column:nth-of-type(1n), .medium-up-5 > .columns:nth-of-type(1n) {
894
+ clear: none; }
895
+ .medium-up-5 > .column:nth-of-type(5n+1), .medium-up-5 > .columns:nth-of-type(5n+1) {
896
+ clear: both; }
897
+ .medium-up-5 > .column:last-child, .medium-up-5 > .columns:last-child {
898
+ float: left; }
899
+ .medium-up-6 > .column, .medium-up-6 > .columns {
900
+ width: 16.66667%;
901
+ float: left; }
902
+ .medium-up-6 > .column:nth-of-type(1n), .medium-up-6 > .columns:nth-of-type(1n) {
903
+ clear: none; }
904
+ .medium-up-6 > .column:nth-of-type(6n+1), .medium-up-6 > .columns:nth-of-type(6n+1) {
905
+ clear: both; }
906
+ .medium-up-6 > .column:last-child, .medium-up-6 > .columns:last-child {
907
+ float: left; }
908
+ .medium-up-7 > .column, .medium-up-7 > .columns {
909
+ width: 14.28571%;
910
+ float: left; }
911
+ .medium-up-7 > .column:nth-of-type(1n), .medium-up-7 > .columns:nth-of-type(1n) {
912
+ clear: none; }
913
+ .medium-up-7 > .column:nth-of-type(7n+1), .medium-up-7 > .columns:nth-of-type(7n+1) {
914
+ clear: both; }
915
+ .medium-up-7 > .column:last-child, .medium-up-7 > .columns:last-child {
916
+ float: left; }
917
+ .medium-up-8 > .column, .medium-up-8 > .columns {
918
+ width: 12.5%;
919
+ float: left; }
920
+ .medium-up-8 > .column:nth-of-type(1n), .medium-up-8 > .columns:nth-of-type(1n) {
921
+ clear: none; }
922
+ .medium-up-8 > .column:nth-of-type(8n+1), .medium-up-8 > .columns:nth-of-type(8n+1) {
923
+ clear: both; }
924
+ .medium-up-8 > .column:last-child, .medium-up-8 > .columns:last-child {
925
+ float: left; }
926
+ .medium-collapse > .column, .medium-collapse > .columns {
927
+ padding-left: 0;
928
+ padding-right: 0; }
929
+ .medium-collapse .row,
930
+ .expanded.row .medium-collapse.row {
931
+ margin-left: 0;
932
+ margin-right: 0; }
933
+ .medium-uncollapse > .column, .medium-uncollapse > .columns {
934
+ padding-left: 0.9375rem;
935
+ padding-right: 0.9375rem; }
936
+ .medium-centered {
937
+ float: none;
938
+ margin-left: auto;
939
+ margin-right: auto; }
940
+ .medium-uncentered,
941
+ .medium-push-0,
942
+ .medium-pull-0 {
943
+ position: static;
944
+ margin-left: 0;
945
+ margin-right: 0;
946
+ float: left; } }
947
+
948
+ @media screen and (min-width: 64em) {
949
+ .large-1 {
950
+ width: 8.33333%; }
951
+ .large-push-1 {
952
+ position: relative;
953
+ left: 8.33333%; }
954
+ .large-pull-1 {
955
+ position: relative;
956
+ left: -8.33333%; }
957
+ .large-offset-0 {
958
+ margin-left: 0%; }
959
+ .large-2 {
960
+ width: 16.66667%; }
961
+ .large-push-2 {
962
+ position: relative;
963
+ left: 16.66667%; }
964
+ .large-pull-2 {
965
+ position: relative;
966
+ left: -16.66667%; }
967
+ .large-offset-1 {
968
+ margin-left: 8.33333%; }
969
+ .large-3 {
970
+ width: 25%; }
971
+ .large-push-3 {
972
+ position: relative;
973
+ left: 25%; }
974
+ .large-pull-3 {
975
+ position: relative;
976
+ left: -25%; }
977
+ .large-offset-2 {
978
+ margin-left: 16.66667%; }
979
+ .large-4 {
980
+ width: 33.33333%; }
981
+ .large-push-4 {
982
+ position: relative;
983
+ left: 33.33333%; }
984
+ .large-pull-4 {
985
+ position: relative;
986
+ left: -33.33333%; }
987
+ .large-offset-3 {
988
+ margin-left: 25%; }
989
+ .large-5 {
990
+ width: 41.66667%; }
991
+ .large-push-5 {
992
+ position: relative;
993
+ left: 41.66667%; }
994
+ .large-pull-5 {
995
+ position: relative;
996
+ left: -41.66667%; }
997
+ .large-offset-4 {
998
+ margin-left: 33.33333%; }
999
+ .large-6 {
1000
+ width: 50%; }
1001
+ .large-push-6 {
1002
+ position: relative;
1003
+ left: 50%; }
1004
+ .large-pull-6 {
1005
+ position: relative;
1006
+ left: -50%; }
1007
+ .large-offset-5 {
1008
+ margin-left: 41.66667%; }
1009
+ .large-7 {
1010
+ width: 58.33333%; }
1011
+ .large-push-7 {
1012
+ position: relative;
1013
+ left: 58.33333%; }
1014
+ .large-pull-7 {
1015
+ position: relative;
1016
+ left: -58.33333%; }
1017
+ .large-offset-6 {
1018
+ margin-left: 50%; }
1019
+ .large-8 {
1020
+ width: 66.66667%; }
1021
+ .large-push-8 {
1022
+ position: relative;
1023
+ left: 66.66667%; }
1024
+ .large-pull-8 {
1025
+ position: relative;
1026
+ left: -66.66667%; }
1027
+ .large-offset-7 {
1028
+ margin-left: 58.33333%; }
1029
+ .large-9 {
1030
+ width: 75%; }
1031
+ .large-push-9 {
1032
+ position: relative;
1033
+ left: 75%; }
1034
+ .large-pull-9 {
1035
+ position: relative;
1036
+ left: -75%; }
1037
+ .large-offset-8 {
1038
+ margin-left: 66.66667%; }
1039
+ .large-10 {
1040
+ width: 83.33333%; }
1041
+ .large-push-10 {
1042
+ position: relative;
1043
+ left: 83.33333%; }
1044
+ .large-pull-10 {
1045
+ position: relative;
1046
+ left: -83.33333%; }
1047
+ .large-offset-9 {
1048
+ margin-left: 75%; }
1049
+ .large-11 {
1050
+ width: 91.66667%; }
1051
+ .large-push-11 {
1052
+ position: relative;
1053
+ left: 91.66667%; }
1054
+ .large-pull-11 {
1055
+ position: relative;
1056
+ left: -91.66667%; }
1057
+ .large-offset-10 {
1058
+ margin-left: 83.33333%; }
1059
+ .large-12 {
1060
+ width: 100%; }
1061
+ .large-offset-11 {
1062
+ margin-left: 91.66667%; }
1063
+ .large-up-1 > .column, .large-up-1 > .columns {
1064
+ width: 100%;
1065
+ float: left; }
1066
+ .large-up-1 > .column:nth-of-type(1n), .large-up-1 > .columns:nth-of-type(1n) {
1067
+ clear: none; }
1068
+ .large-up-1 > .column:nth-of-type(1n+1), .large-up-1 > .columns:nth-of-type(1n+1) {
1069
+ clear: both; }
1070
+ .large-up-1 > .column:last-child, .large-up-1 > .columns:last-child {
1071
+ float: left; }
1072
+ .large-up-2 > .column, .large-up-2 > .columns {
1073
+ width: 50%;
1074
+ float: left; }
1075
+ .large-up-2 > .column:nth-of-type(1n), .large-up-2 > .columns:nth-of-type(1n) {
1076
+ clear: none; }
1077
+ .large-up-2 > .column:nth-of-type(2n+1), .large-up-2 > .columns:nth-of-type(2n+1) {
1078
+ clear: both; }
1079
+ .large-up-2 > .column:last-child, .large-up-2 > .columns:last-child {
1080
+ float: left; }
1081
+ .large-up-3 > .column, .large-up-3 > .columns {
1082
+ width: 33.33333%;
1083
+ float: left; }
1084
+ .large-up-3 > .column:nth-of-type(1n), .large-up-3 > .columns:nth-of-type(1n) {
1085
+ clear: none; }
1086
+ .large-up-3 > .column:nth-of-type(3n+1), .large-up-3 > .columns:nth-of-type(3n+1) {
1087
+ clear: both; }
1088
+ .large-up-3 > .column:last-child, .large-up-3 > .columns:last-child {
1089
+ float: left; }
1090
+ .large-up-4 > .column, .large-up-4 > .columns {
1091
+ width: 25%;
1092
+ float: left; }
1093
+ .large-up-4 > .column:nth-of-type(1n), .large-up-4 > .columns:nth-of-type(1n) {
1094
+ clear: none; }
1095
+ .large-up-4 > .column:nth-of-type(4n+1), .large-up-4 > .columns:nth-of-type(4n+1) {
1096
+ clear: both; }
1097
+ .large-up-4 > .column:last-child, .large-up-4 > .columns:last-child {
1098
+ float: left; }
1099
+ .large-up-5 > .column, .large-up-5 > .columns {
1100
+ width: 20%;
1101
+ float: left; }
1102
+ .large-up-5 > .column:nth-of-type(1n), .large-up-5 > .columns:nth-of-type(1n) {
1103
+ clear: none; }
1104
+ .large-up-5 > .column:nth-of-type(5n+1), .large-up-5 > .columns:nth-of-type(5n+1) {
1105
+ clear: both; }
1106
+ .large-up-5 > .column:last-child, .large-up-5 > .columns:last-child {
1107
+ float: left; }
1108
+ .large-up-6 > .column, .large-up-6 > .columns {
1109
+ width: 16.66667%;
1110
+ float: left; }
1111
+ .large-up-6 > .column:nth-of-type(1n), .large-up-6 > .columns:nth-of-type(1n) {
1112
+ clear: none; }
1113
+ .large-up-6 > .column:nth-of-type(6n+1), .large-up-6 > .columns:nth-of-type(6n+1) {
1114
+ clear: both; }
1115
+ .large-up-6 > .column:last-child, .large-up-6 > .columns:last-child {
1116
+ float: left; }
1117
+ .large-up-7 > .column, .large-up-7 > .columns {
1118
+ width: 14.28571%;
1119
+ float: left; }
1120
+ .large-up-7 > .column:nth-of-type(1n), .large-up-7 > .columns:nth-of-type(1n) {
1121
+ clear: none; }
1122
+ .large-up-7 > .column:nth-of-type(7n+1), .large-up-7 > .columns:nth-of-type(7n+1) {
1123
+ clear: both; }
1124
+ .large-up-7 > .column:last-child, .large-up-7 > .columns:last-child {
1125
+ float: left; }
1126
+ .large-up-8 > .column, .large-up-8 > .columns {
1127
+ width: 12.5%;
1128
+ float: left; }
1129
+ .large-up-8 > .column:nth-of-type(1n), .large-up-8 > .columns:nth-of-type(1n) {
1130
+ clear: none; }
1131
+ .large-up-8 > .column:nth-of-type(8n+1), .large-up-8 > .columns:nth-of-type(8n+1) {
1132
+ clear: both; }
1133
+ .large-up-8 > .column:last-child, .large-up-8 > .columns:last-child {
1134
+ float: left; }
1135
+ .large-collapse > .column, .large-collapse > .columns {
1136
+ padding-left: 0;
1137
+ padding-right: 0; }
1138
+ .large-collapse .row,
1139
+ .expanded.row .large-collapse.row {
1140
+ margin-left: 0;
1141
+ margin-right: 0; }
1142
+ .large-uncollapse > .column, .large-uncollapse > .columns {
1143
+ padding-left: 0.9375rem;
1144
+ padding-right: 0.9375rem; }
1145
+ .large-centered {
1146
+ float: none;
1147
+ margin-left: auto;
1148
+ margin-right: auto; }
1149
+ .large-uncentered,
1150
+ .large-push-0,
1151
+ .large-pull-0 {
1152
+ position: static;
1153
+ margin-left: 0;
1154
+ margin-right: 0;
1155
+ float: left; } }
1156
+
1157
+ .slide-in-down.mui-enter {
1158
+ transition-duration: 500ms;
1159
+ transition-timing-function: linear;
1160
+ -webkit-transform: translateY(-100%);
1161
+ -ms-transform: translateY(-100%);
1162
+ transform: translateY(-100%);
1163
+ transition-property: -webkit-transform, opacity;
1164
+ transition-property: transform, opacity;
1165
+ -webkit-backface-visibility: hidden;
1166
+ backface-visibility: hidden; }
1167
+
1168
+ .slide-in-down.mui-enter.mui-enter-active {
1169
+ -webkit-transform: translateY(0);
1170
+ -ms-transform: translateY(0);
1171
+ transform: translateY(0); }
1172
+
1173
+ .slide-in-left.mui-enter {
1174
+ transition-duration: 500ms;
1175
+ transition-timing-function: linear;
1176
+ -webkit-transform: translateX(-100%);
1177
+ -ms-transform: translateX(-100%);
1178
+ transform: translateX(-100%);
1179
+ transition-property: -webkit-transform, opacity;
1180
+ transition-property: transform, opacity;
1181
+ -webkit-backface-visibility: hidden;
1182
+ backface-visibility: hidden; }
1183
+
1184
+ .slide-in-left.mui-enter.mui-enter-active {
1185
+ -webkit-transform: translateX(0);
1186
+ -ms-transform: translateX(0);
1187
+ transform: translateX(0); }
1188
+
1189
+ .slide-in-up.mui-enter {
1190
+ transition-duration: 500ms;
1191
+ transition-timing-function: linear;
1192
+ -webkit-transform: translateY(100%);
1193
+ -ms-transform: translateY(100%);
1194
+ transform: translateY(100%);
1195
+ transition-property: -webkit-transform, opacity;
1196
+ transition-property: transform, opacity;
1197
+ -webkit-backface-visibility: hidden;
1198
+ backface-visibility: hidden; }
1199
+
1200
+ .slide-in-up.mui-enter.mui-enter-active {
1201
+ -webkit-transform: translateY(0);
1202
+ -ms-transform: translateY(0);
1203
+ transform: translateY(0); }
1204
+
1205
+ .slide-in-right.mui-enter {
1206
+ transition-duration: 500ms;
1207
+ transition-timing-function: linear;
1208
+ -webkit-transform: translateX(100%);
1209
+ -ms-transform: translateX(100%);
1210
+ transform: translateX(100%);
1211
+ transition-property: -webkit-transform, opacity;
1212
+ transition-property: transform, opacity;
1213
+ -webkit-backface-visibility: hidden;
1214
+ backface-visibility: hidden; }
1215
+
1216
+ .slide-in-right.mui-enter.mui-enter-active {
1217
+ -webkit-transform: translateX(0);
1218
+ -ms-transform: translateX(0);
1219
+ transform: translateX(0); }
1220
+
1221
+ .slide-out-down.mui-leave {
1222
+ transition-duration: 500ms;
1223
+ transition-timing-function: linear;
1224
+ -webkit-transform: translateY(0);
1225
+ -ms-transform: translateY(0);
1226
+ transform: translateY(0);
1227
+ transition-property: -webkit-transform, opacity;
1228
+ transition-property: transform, opacity;
1229
+ -webkit-backface-visibility: hidden;
1230
+ backface-visibility: hidden; }
1231
+
1232
+ .slide-out-down.mui-leave.mui-leave-active {
1233
+ -webkit-transform: translateY(100%);
1234
+ -ms-transform: translateY(100%);
1235
+ transform: translateY(100%); }
1236
+
1237
+ .slide-out-right.mui-leave {
1238
+ transition-duration: 500ms;
1239
+ transition-timing-function: linear;
1240
+ -webkit-transform: translateX(0);
1241
+ -ms-transform: translateX(0);
1242
+ transform: translateX(0);
1243
+ transition-property: -webkit-transform, opacity;
1244
+ transition-property: transform, opacity;
1245
+ -webkit-backface-visibility: hidden;
1246
+ backface-visibility: hidden; }
1247
+
1248
+ .slide-out-right.mui-leave.mui-leave-active {
1249
+ -webkit-transform: translateX(100%);
1250
+ -ms-transform: translateX(100%);
1251
+ transform: translateX(100%); }
1252
+
1253
+ .slide-out-up.mui-leave {
1254
+ transition-duration: 500ms;
1255
+ transition-timing-function: linear;
1256
+ -webkit-transform: translateY(0);
1257
+ -ms-transform: translateY(0);
1258
+ transform: translateY(0);
1259
+ transition-property: -webkit-transform, opacity;
1260
+ transition-property: transform, opacity;
1261
+ -webkit-backface-visibility: hidden;
1262
+ backface-visibility: hidden; }
1263
+
1264
+ .slide-out-up.mui-leave.mui-leave-active {
1265
+ -webkit-transform: translateY(-100%);
1266
+ -ms-transform: translateY(-100%);
1267
+ transform: translateY(-100%); }
1268
+
1269
+ .slide-out-left.mui-leave {
1270
+ transition-duration: 500ms;
1271
+ transition-timing-function: linear;
1272
+ -webkit-transform: translateX(0);
1273
+ -ms-transform: translateX(0);
1274
+ transform: translateX(0);
1275
+ transition-property: -webkit-transform, opacity;
1276
+ transition-property: transform, opacity;
1277
+ -webkit-backface-visibility: hidden;
1278
+ backface-visibility: hidden; }
1279
+
1280
+ .slide-out-left.mui-leave.mui-leave-active {
1281
+ -webkit-transform: translateX(-100%);
1282
+ -ms-transform: translateX(-100%);
1283
+ transform: translateX(-100%); }
1284
+
1285
+ .fade-in.mui-enter {
1286
+ transition-duration: 500ms;
1287
+ transition-timing-function: linear;
1288
+ opacity: 0;
1289
+ transition-property: opacity; }
1290
+
1291
+ .fade-in.mui-enter.mui-enter-active {
1292
+ opacity: 1; }
1293
+
1294
+ .fade-out.mui-leave {
1295
+ transition-duration: 500ms;
1296
+ transition-timing-function: linear;
1297
+ opacity: 1;
1298
+ transition-property: opacity; }
1299
+
1300
+ .fade-out.mui-leave.mui-leave-active {
1301
+ opacity: 0; }
1302
+
1303
+ .hinge-in-from-top.mui-enter {
1304
+ transition-duration: 500ms;
1305
+ transition-timing-function: linear;
1306
+ -webkit-transform: perspective(2000px) rotateX(-90deg);
1307
+ transform: perspective(2000px) rotateX(-90deg);
1308
+ -webkit-transform-origin: top;
1309
+ -ms-transform-origin: top;
1310
+ transform-origin: top;
1311
+ transition-property: -webkit-transform, opacity;
1312
+ transition-property: transform, opacity;
1313
+ opacity: 0; }
1314
+
1315
+ .hinge-in-from-top.mui-enter.mui-enter-active {
1316
+ -webkit-transform: perspective(2000px) rotate(0deg);
1317
+ transform: perspective(2000px) rotate(0deg);
1318
+ opacity: 1; }
1319
+
1320
+ .hinge-in-from-right.mui-enter {
1321
+ transition-duration: 500ms;
1322
+ transition-timing-function: linear;
1323
+ -webkit-transform: perspective(2000px) rotateY(-90deg);
1324
+ transform: perspective(2000px) rotateY(-90deg);
1325
+ -webkit-transform-origin: right;
1326
+ -ms-transform-origin: right;
1327
+ transform-origin: right;
1328
+ transition-property: -webkit-transform, opacity;
1329
+ transition-property: transform, opacity;
1330
+ opacity: 0; }
1331
+
1332
+ .hinge-in-from-right.mui-enter.mui-enter-active {
1333
+ -webkit-transform: perspective(2000px) rotate(0deg);
1334
+ transform: perspective(2000px) rotate(0deg);
1335
+ opacity: 1; }
1336
+
1337
+ .hinge-in-from-bottom.mui-enter {
1338
+ transition-duration: 500ms;
1339
+ transition-timing-function: linear;
1340
+ -webkit-transform: perspective(2000px) rotateX(90deg);
1341
+ transform: perspective(2000px) rotateX(90deg);
1342
+ -webkit-transform-origin: bottom;
1343
+ -ms-transform-origin: bottom;
1344
+ transform-origin: bottom;
1345
+ transition-property: -webkit-transform, opacity;
1346
+ transition-property: transform, opacity;
1347
+ opacity: 0; }
1348
+
1349
+ .hinge-in-from-bottom.mui-enter.mui-enter-active {
1350
+ -webkit-transform: perspective(2000px) rotate(0deg);
1351
+ transform: perspective(2000px) rotate(0deg);
1352
+ opacity: 1; }
1353
+
1354
+ .hinge-in-from-left.mui-enter {
1355
+ transition-duration: 500ms;
1356
+ transition-timing-function: linear;
1357
+ -webkit-transform: perspective(2000px) rotateY(90deg);
1358
+ transform: perspective(2000px) rotateY(90deg);
1359
+ -webkit-transform-origin: left;
1360
+ -ms-transform-origin: left;
1361
+ transform-origin: left;
1362
+ transition-property: -webkit-transform, opacity;
1363
+ transition-property: transform, opacity;
1364
+ opacity: 0; }
1365
+
1366
+ .hinge-in-from-left.mui-enter.mui-enter-active {
1367
+ -webkit-transform: perspective(2000px) rotate(0deg);
1368
+ transform: perspective(2000px) rotate(0deg);
1369
+ opacity: 1; }
1370
+
1371
+ .hinge-in-from-middle-x.mui-enter {
1372
+ transition-duration: 500ms;
1373
+ transition-timing-function: linear;
1374
+ -webkit-transform: perspective(2000px) rotateX(-90deg);
1375
+ transform: perspective(2000px) rotateX(-90deg);
1376
+ -webkit-transform-origin: center;
1377
+ -ms-transform-origin: center;
1378
+ transform-origin: center;
1379
+ transition-property: -webkit-transform, opacity;
1380
+ transition-property: transform, opacity;
1381
+ opacity: 0; }
1382
+
1383
+ .hinge-in-from-middle-x.mui-enter.mui-enter-active {
1384
+ -webkit-transform: perspective(2000px) rotate(0deg);
1385
+ transform: perspective(2000px) rotate(0deg);
1386
+ opacity: 1; }
1387
+
1388
+ .hinge-in-from-middle-y.mui-enter {
1389
+ transition-duration: 500ms;
1390
+ transition-timing-function: linear;
1391
+ -webkit-transform: perspective(2000px) rotateY(-90deg);
1392
+ transform: perspective(2000px) rotateY(-90deg);
1393
+ -webkit-transform-origin: center;
1394
+ -ms-transform-origin: center;
1395
+ transform-origin: center;
1396
+ transition-property: -webkit-transform, opacity;
1397
+ transition-property: transform, opacity;
1398
+ opacity: 0; }
1399
+
1400
+ .hinge-in-from-middle-y.mui-enter.mui-enter-active {
1401
+ -webkit-transform: perspective(2000px) rotate(0deg);
1402
+ transform: perspective(2000px) rotate(0deg);
1403
+ opacity: 1; }
1404
+
1405
+ .hinge-out-from-top.mui-leave {
1406
+ transition-duration: 500ms;
1407
+ transition-timing-function: linear;
1408
+ -webkit-transform: perspective(2000px) rotate(0deg);
1409
+ transform: perspective(2000px) rotate(0deg);
1410
+ -webkit-transform-origin: top;
1411
+ -ms-transform-origin: top;
1412
+ transform-origin: top;
1413
+ transition-property: -webkit-transform, opacity;
1414
+ transition-property: transform, opacity;
1415
+ opacity: 1; }
1416
+
1417
+ .hinge-out-from-top.mui-leave.mui-leave-active {
1418
+ -webkit-transform: perspective(2000px) rotateX(-90deg);
1419
+ transform: perspective(2000px) rotateX(-90deg);
1420
+ opacity: 0; }
1421
+
1422
+ .hinge-out-from-right.mui-leave {
1423
+ transition-duration: 500ms;
1424
+ transition-timing-function: linear;
1425
+ -webkit-transform: perspective(2000px) rotate(0deg);
1426
+ transform: perspective(2000px) rotate(0deg);
1427
+ -webkit-transform-origin: right;
1428
+ -ms-transform-origin: right;
1429
+ transform-origin: right;
1430
+ transition-property: -webkit-transform, opacity;
1431
+ transition-property: transform, opacity;
1432
+ opacity: 1; }
1433
+
1434
+ .hinge-out-from-right.mui-leave.mui-leave-active {
1435
+ -webkit-transform: perspective(2000px) rotateY(-90deg);
1436
+ transform: perspective(2000px) rotateY(-90deg);
1437
+ opacity: 0; }
1438
+
1439
+ .hinge-out-from-bottom.mui-leave {
1440
+ transition-duration: 500ms;
1441
+ transition-timing-function: linear;
1442
+ -webkit-transform: perspective(2000px) rotate(0deg);
1443
+ transform: perspective(2000px) rotate(0deg);
1444
+ -webkit-transform-origin: bottom;
1445
+ -ms-transform-origin: bottom;
1446
+ transform-origin: bottom;
1447
+ transition-property: -webkit-transform, opacity;
1448
+ transition-property: transform, opacity;
1449
+ opacity: 1; }
1450
+
1451
+ .hinge-out-from-bottom.mui-leave.mui-leave-active {
1452
+ -webkit-transform: perspective(2000px) rotateX(90deg);
1453
+ transform: perspective(2000px) rotateX(90deg);
1454
+ opacity: 0; }
1455
+
1456
+ .hinge-out-from-left.mui-leave {
1457
+ transition-duration: 500ms;
1458
+ transition-timing-function: linear;
1459
+ -webkit-transform: perspective(2000px) rotate(0deg);
1460
+ transform: perspective(2000px) rotate(0deg);
1461
+ -webkit-transform-origin: left;
1462
+ -ms-transform-origin: left;
1463
+ transform-origin: left;
1464
+ transition-property: -webkit-transform, opacity;
1465
+ transition-property: transform, opacity;
1466
+ opacity: 1; }
1467
+
1468
+ .hinge-out-from-left.mui-leave.mui-leave-active {
1469
+ -webkit-transform: perspective(2000px) rotateY(90deg);
1470
+ transform: perspective(2000px) rotateY(90deg);
1471
+ opacity: 0; }
1472
+
1473
+ .hinge-out-from-middle-x.mui-leave {
1474
+ transition-duration: 500ms;
1475
+ transition-timing-function: linear;
1476
+ -webkit-transform: perspective(2000px) rotate(0deg);
1477
+ transform: perspective(2000px) rotate(0deg);
1478
+ -webkit-transform-origin: center;
1479
+ -ms-transform-origin: center;
1480
+ transform-origin: center;
1481
+ transition-property: -webkit-transform, opacity;
1482
+ transition-property: transform, opacity;
1483
+ opacity: 1; }
1484
+
1485
+ .hinge-out-from-middle-x.mui-leave.mui-leave-active {
1486
+ -webkit-transform: perspective(2000px) rotateX(-90deg);
1487
+ transform: perspective(2000px) rotateX(-90deg);
1488
+ opacity: 0; }
1489
+
1490
+ .hinge-out-from-middle-y.mui-leave {
1491
+ transition-duration: 500ms;
1492
+ transition-timing-function: linear;
1493
+ -webkit-transform: perspective(2000px) rotate(0deg);
1494
+ transform: perspective(2000px) rotate(0deg);
1495
+ -webkit-transform-origin: center;
1496
+ -ms-transform-origin: center;
1497
+ transform-origin: center;
1498
+ transition-property: -webkit-transform, opacity;
1499
+ transition-property: transform, opacity;
1500
+ opacity: 1; }
1501
+
1502
+ .hinge-out-from-middle-y.mui-leave.mui-leave-active {
1503
+ -webkit-transform: perspective(2000px) rotateY(-90deg);
1504
+ transform: perspective(2000px) rotateY(-90deg);
1505
+ opacity: 0; }
1506
+
1507
+ .scale-in-up.mui-enter {
1508
+ transition-duration: 500ms;
1509
+ transition-timing-function: linear;
1510
+ -webkit-transform: scale(0.5);
1511
+ -ms-transform: scale(0.5);
1512
+ transform: scale(0.5);
1513
+ transition-property: -webkit-transform, opacity;
1514
+ transition-property: transform, opacity;
1515
+ opacity: 0; }
1516
+
1517
+ .scale-in-up.mui-enter.mui-enter-active {
1518
+ -webkit-transform: scale(1);
1519
+ -ms-transform: scale(1);
1520
+ transform: scale(1);
1521
+ opacity: 1; }
1522
+
1523
+ .scale-in-down.mui-enter {
1524
+ transition-duration: 500ms;
1525
+ transition-timing-function: linear;
1526
+ -webkit-transform: scale(1.5);
1527
+ -ms-transform: scale(1.5);
1528
+ transform: scale(1.5);
1529
+ transition-property: -webkit-transform, opacity;
1530
+ transition-property: transform, opacity;
1531
+ opacity: 0; }
1532
+
1533
+ .scale-in-down.mui-enter.mui-enter-active {
1534
+ -webkit-transform: scale(1);
1535
+ -ms-transform: scale(1);
1536
+ transform: scale(1);
1537
+ opacity: 1; }
1538
+
1539
+ .scale-out-up.mui-leave {
1540
+ transition-duration: 500ms;
1541
+ transition-timing-function: linear;
1542
+ -webkit-transform: scale(1);
1543
+ -ms-transform: scale(1);
1544
+ transform: scale(1);
1545
+ transition-property: -webkit-transform, opacity;
1546
+ transition-property: transform, opacity;
1547
+ opacity: 1; }
1548
+
1549
+ .scale-out-up.mui-leave.mui-leave-active {
1550
+ -webkit-transform: scale(1.5);
1551
+ -ms-transform: scale(1.5);
1552
+ transform: scale(1.5);
1553
+ opacity: 0; }
1554
+
1555
+ .scale-out-down.mui-leave {
1556
+ transition-duration: 500ms;
1557
+ transition-timing-function: linear;
1558
+ -webkit-transform: scale(1);
1559
+ -ms-transform: scale(1);
1560
+ transform: scale(1);
1561
+ transition-property: -webkit-transform, opacity;
1562
+ transition-property: transform, opacity;
1563
+ opacity: 1; }
1564
+
1565
+ .scale-out-down.mui-leave.mui-leave-active {
1566
+ -webkit-transform: scale(0.5);
1567
+ -ms-transform: scale(0.5);
1568
+ transform: scale(0.5);
1569
+ opacity: 0; }
1570
+
1571
+ .spin-in.mui-enter {
1572
+ transition-duration: 500ms;
1573
+ transition-timing-function: linear;
1574
+ -webkit-transform: rotate(-0.75turn);
1575
+ -ms-transform: rotate(-0.75turn);
1576
+ transform: rotate(-0.75turn);
1577
+ transition-property: -webkit-transform, opacity;
1578
+ transition-property: transform, opacity;
1579
+ opacity: 0; }
1580
+
1581
+ .spin-in.mui-enter.mui-enter-active {
1582
+ -webkit-transform: rotate(0);
1583
+ -ms-transform: rotate(0);
1584
+ transform: rotate(0);
1585
+ opacity: 1; }
1586
+
1587
+ .spin-out.mui-leave {
1588
+ transition-duration: 500ms;
1589
+ transition-timing-function: linear;
1590
+ -webkit-transform: rotate(0);
1591
+ -ms-transform: rotate(0);
1592
+ transform: rotate(0);
1593
+ transition-property: -webkit-transform, opacity;
1594
+ transition-property: transform, opacity;
1595
+ opacity: 1; }
1596
+
1597
+ .spin-out.mui-leave.mui-leave-active {
1598
+ -webkit-transform: rotate(0.75turn);
1599
+ -ms-transform: rotate(0.75turn);
1600
+ transform: rotate(0.75turn);
1601
+ opacity: 0; }
1602
+
1603
+ .spin-in-ccw.mui-enter {
1604
+ transition-duration: 500ms;
1605
+ transition-timing-function: linear;
1606
+ -webkit-transform: rotate(0.75turn);
1607
+ -ms-transform: rotate(0.75turn);
1608
+ transform: rotate(0.75turn);
1609
+ transition-property: -webkit-transform, opacity;
1610
+ transition-property: transform, opacity;
1611
+ opacity: 0; }
1612
+
1613
+ .spin-in-ccw.mui-enter.mui-enter-active {
1614
+ -webkit-transform: rotate(0);
1615
+ -ms-transform: rotate(0);
1616
+ transform: rotate(0);
1617
+ opacity: 1; }
1618
+
1619
+ .spin-out-ccw.mui-leave {
1620
+ transition-duration: 500ms;
1621
+ transition-timing-function: linear;
1622
+ -webkit-transform: rotate(0);
1623
+ -ms-transform: rotate(0);
1624
+ transform: rotate(0);
1625
+ transition-property: -webkit-transform, opacity;
1626
+ transition-property: transform, opacity;
1627
+ opacity: 1; }
1628
+
1629
+ .spin-out-ccw.mui-leave.mui-leave-active {
1630
+ -webkit-transform: rotate(-0.75turn);
1631
+ -ms-transform: rotate(-0.75turn);
1632
+ transform: rotate(-0.75turn);
1633
+ opacity: 0; }
1634
+
1635
+ .slow {
1636
+ transition-duration: 750ms !important; }
1637
+
1638
+ .fast {
1639
+ transition-duration: 250ms !important; }
1640
+
1641
+ .linear {
1642
+ transition-timing-function: linear !important; }
1643
+
1644
+ .ease {
1645
+ transition-timing-function: ease !important; }
1646
+
1647
+ .ease-in {
1648
+ transition-timing-function: ease-in !important; }
1649
+
1650
+ .ease-out {
1651
+ transition-timing-function: ease-out !important; }
1652
+
1653
+ .ease-in-out {
1654
+ transition-timing-function: ease-in-out !important; }
1655
+
1656
+ .bounce-in {
1657
+ transition-timing-function: cubic-bezier(0.485, 0.155, 0.24, 1.245) !important; }
1658
+
1659
+ .bounce-out {
1660
+ transition-timing-function: cubic-bezier(0.485, 0.155, 0.515, 0.845) !important; }
1661
+
1662
+ .bounce-in-out {
1663
+ transition-timing-function: cubic-bezier(0.76, -0.245, 0.24, 1.245) !important; }
1664
+
1665
+ .short-delay {
1666
+ transition-delay: 300ms !important; }
1667
+
1668
+ .long-delay {
1669
+ transition-delay: 700ms !important; }
1670
+
1671
+ .shake {
1672
+ -webkit-animation-name: shake-7;
1673
+ animation-name: shake-7; }
1674
+
1675
+ @-webkit-keyframes shake-7 {
1676
+ 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90% {
1677
+ -webkit-transform: translateX(7%);
1678
+ transform: translateX(7%); }
1679
+ 5%, 15%, 25%, 35%, 45%, 55%, 65%, 75%, 85%, 95% {
1680
+ -webkit-transform: translateX(-7%);
1681
+ transform: translateX(-7%); } }
1682
+
1683
+ @keyframes shake-7 {
1684
+ 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90% {
1685
+ -webkit-transform: translateX(7%);
1686
+ transform: translateX(7%); }
1687
+ 5%, 15%, 25%, 35%, 45%, 55%, 65%, 75%, 85%, 95% {
1688
+ -webkit-transform: translateX(-7%);
1689
+ transform: translateX(-7%); } }
1690
+
1691
+ .spin-cw {
1692
+ -webkit-animation-name: spin-cw-1turn;
1693
+ animation-name: spin-cw-1turn; }
1694
+
1695
+ @-webkit-keyframes spin-cw-1turn {
1696
+ 0% {
1697
+ -webkit-transform: rotate(-1turn);
1698
+ transform: rotate(-1turn); }
1699
+ 100% {
1700
+ -webkit-transform: rotate(0);
1701
+ transform: rotate(0); } }
1702
+
1703
+ @keyframes spin-cw-1turn {
1704
+ 0% {
1705
+ -webkit-transform: rotate(-1turn);
1706
+ transform: rotate(-1turn); }
1707
+ 100% {
1708
+ -webkit-transform: rotate(0);
1709
+ transform: rotate(0); } }
1710
+
1711
+ .spin-ccw {
1712
+ -webkit-animation-name: spin-cw-1turn;
1713
+ animation-name: spin-cw-1turn; }
1714
+
1715
+ @keyframes spin-cw-1turn {
1716
+ 0% {
1717
+ -webkit-transform: rotate(0);
1718
+ transform: rotate(0); }
1719
+ 100% {
1720
+ -webkit-transform: rotate(1turn);
1721
+ transform: rotate(1turn); } }
1722
+
1723
+ .wiggle {
1724
+ -webkit-animation-name: wiggle-7deg;
1725
+ animation-name: wiggle-7deg; }
1726
+
1727
+ @-webkit-keyframes wiggle-7deg {
1728
+ 40%, 50%, 60% {
1729
+ -webkit-transform: rotate(7deg);
1730
+ transform: rotate(7deg); }
1731
+ 35%, 45%, 55%, 65% {
1732
+ -webkit-transform: rotate(-7deg);
1733
+ transform: rotate(-7deg); }
1734
+ 0%, 30%, 70%, 100% {
1735
+ -webkit-transform: rotate(0);
1736
+ transform: rotate(0); } }
1737
+
1738
+ @keyframes wiggle-7deg {
1739
+ 40%, 50%, 60% {
1740
+ -webkit-transform: rotate(7deg);
1741
+ transform: rotate(7deg); }
1742
+ 35%, 45%, 55%, 65% {
1743
+ -webkit-transform: rotate(-7deg);
1744
+ transform: rotate(-7deg); }
1745
+ 0%, 30%, 70%, 100% {
1746
+ -webkit-transform: rotate(0);
1747
+ transform: rotate(0); } }
1748
+
1749
+ .shake,
1750
+ .spin-cw,
1751
+ .spin-ccw,
1752
+ .wiggle {
1753
+ -webkit-animation-duration: 500ms;
1754
+ animation-duration: 500ms; }
1755
+
1756
+ .infinite {
1757
+ -webkit-animation-iteration-count: infinite;
1758
+ animation-iteration-count: infinite; }
1759
+
1760
+ .slow {
1761
+ -webkit-animation-duration: 750ms !important;
1762
+ animation-duration: 750ms !important; }
1763
+
1764
+ .fast {
1765
+ -webkit-animation-duration: 250ms !important;
1766
+ animation-duration: 250ms !important; }
1767
+
1768
+ .linear {
1769
+ -webkit-animation-timing-function: linear !important;
1770
+ animation-timing-function: linear !important; }
1771
+
1772
+ .ease {
1773
+ -webkit-animation-timing-function: ease !important;
1774
+ animation-timing-function: ease !important; }
1775
+
1776
+ .ease-in {
1777
+ -webkit-animation-timing-function: ease-in !important;
1778
+ animation-timing-function: ease-in !important; }
1779
+
1780
+ .ease-out {
1781
+ -webkit-animation-timing-function: ease-out !important;
1782
+ animation-timing-function: ease-out !important; }
1783
+
1784
+ .ease-in-out {
1785
+ -webkit-animation-timing-function: ease-in-out !important;
1786
+ animation-timing-function: ease-in-out !important; }
1787
+
1788
+ .bounce-in {
1789
+ -webkit-animation-timing-function: cubic-bezier(0.485, 0.155, 0.24, 1.245) !important;
1790
+ animation-timing-function: cubic-bezier(0.485, 0.155, 0.24, 1.245) !important; }
1791
+
1792
+ .bounce-out {
1793
+ -webkit-animation-timing-function: cubic-bezier(0.485, 0.155, 0.515, 0.845) !important;
1794
+ animation-timing-function: cubic-bezier(0.485, 0.155, 0.515, 0.845) !important; }
1795
+
1796
+ .bounce-in-out {
1797
+ -webkit-animation-timing-function: cubic-bezier(0.76, -0.245, 0.24, 1.245) !important;
1798
+ animation-timing-function: cubic-bezier(0.76, -0.245, 0.24, 1.245) !important; }
1799
+
1800
+ .short-delay {
1801
+ -webkit-animation-delay: 300ms !important;
1802
+ animation-delay: 300ms !important; }
1803
+
1804
+ .long-delay {
1805
+ -webkit-animation-delay: 700ms !important;
1806
+ animation-delay: 700ms !important; }
1807
+
1808
+ body {
1809
+ background-color: #f2f2f2;
1810
+ }
1811
+
1812
+ .container {
1813
+ margin-top: 5%;
1814
+ max-width: 700px;
1815
+ padding: 30px;
1816
+ background: #fff;
1817
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
1818
+ border-radius: 3px;
1819
+ border-top: 3px solid #b00f08;
1820
+ font-weight: bold;
1821
+ text-align: center;
1822
+ color: #393939;
1823
+ }
1824
+
1825
+ p {
1826
+ font-size: 2em;
1827
+ margin: 0;
1828
+ margin-bottom: 15px;
1829
+ color: #b00f08;
1830
+ }
1831
+ a {
1832
+ color: #666;
1833
+ }
1834
+