action_ui 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (386) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +36 -0
  3. data/lib/cre_pro-rails.rb +8 -0
  4. data/lib/cre_pro/rails.rb +7 -0
  5. data/lib/cre_pro/rails/version.rb +5 -0
  6. data/vendor/assets/javascripts/gp/gp.js +292 -0
  7. data/vendor/assets/javascripts/ld/bootstrap-checkbox-radio-switch-tags.js +869 -0
  8. data/vendor/assets/javascripts/ld/bootstrap-datetimepicker.js +2573 -0
  9. data/vendor/assets/javascripts/ld/bootstrap-notify.js +379 -0
  10. data/vendor/assets/javascripts/ld/bootstrap-selectpicker.js +1711 -0
  11. data/vendor/assets/javascripts/ld/bootstrap-table.js +2484 -0
  12. data/vendor/assets/javascripts/ld/chartist.min.js +8 -0
  13. data/vendor/assets/javascripts/ld/demo.js +731 -0
  14. data/vendor/assets/javascripts/ld/fullcalendar.min.js +9 -0
  15. data/vendor/assets/javascripts/ld/jquery-jvectormap.js +3381 -0
  16. data/vendor/assets/javascripts/ld/jquery-ui.min.js +24 -0
  17. data/vendor/assets/javascripts/ld/jquery.bootstrap.wizard.min.js +22 -0
  18. data/vendor/assets/javascripts/ld/jquery.datatables.js +15498 -0
  19. data/vendor/assets/javascripts/ld/jquery.min.js +5 -0
  20. data/vendor/assets/javascripts/ld/jquery.validate.min.js +4 -0
  21. data/vendor/assets/javascripts/ld/ld.js +422 -0
  22. data/vendor/assets/javascripts/ld/moment.min.js +7 -0
  23. data/vendor/assets/javascripts/ld/sweetalert2.js +877 -0
  24. data/vendor/assets/javascripts/mk/bootstrap-datepicker.js +474 -0
  25. data/vendor/assets/javascripts/mk/bootstrap.min.js +7 -0
  26. data/vendor/assets/javascripts/mk/jasny-bootstrap.min.js +6 -0
  27. data/vendor/assets/javascripts/mk/jquery.dropdown.js +378 -0
  28. data/vendor/assets/javascripts/mk/jquery.flexisel.js +342 -0
  29. data/vendor/assets/javascripts/mk/jquery.min.js +3 -0
  30. data/vendor/assets/javascripts/mk/jquery.tagsinput.js +355 -0
  31. data/vendor/assets/javascripts/mk/mk.js +191 -0
  32. data/vendor/assets/javascripts/mk/mk.min.js +1 -0
  33. data/vendor/assets/javascripts/mk/nouislider.min.js +31 -0
  34. data/vendor/assets/javascripts/pd/bootstrap-checkbox-radio-switch-tags.js +869 -0
  35. data/vendor/assets/javascripts/pd/bootstrap-datetimepicker.js +2576 -0
  36. data/vendor/assets/javascripts/pd/bootstrap-notify.js +379 -0
  37. data/vendor/assets/javascripts/pd/bootstrap-selectpicker.js +1711 -0
  38. data/vendor/assets/javascripts/pd/bootstrap-table.js +2484 -0
  39. data/vendor/assets/javascripts/pd/bootstrap.min.js +12 -0
  40. data/vendor/assets/javascripts/pd/chartist.min.js +9 -0
  41. data/vendor/assets/javascripts/pd/demo.js +911 -0
  42. data/vendor/assets/javascripts/pd/fullcalendar.min.js +9 -0
  43. data/vendor/assets/javascripts/pd/jquery-1.10.2.js +9789 -0
  44. data/vendor/assets/javascripts/pd/jquery-1.10.2.min.js +3 -0
  45. data/vendor/assets/javascripts/pd/jquery-jvectormap.js +3381 -0
  46. data/vendor/assets/javascripts/pd/jquery-ui.min.js +24 -0
  47. data/vendor/assets/javascripts/pd/jquery.bootstrap.wizard.min.js +22 -0
  48. data/vendor/assets/javascripts/pd/jquery.datatables.js +15498 -0
  49. data/vendor/assets/javascripts/pd/jquery.easypiechart.min.js +9 -0
  50. data/vendor/assets/javascripts/pd/jquery.min.js +5 -0
  51. data/vendor/assets/javascripts/pd/jquery.tagsinput.js +355 -0
  52. data/vendor/assets/javascripts/pd/jquery.validate.min.js +4 -0
  53. data/vendor/assets/javascripts/pd/moment.min.js +7 -0
  54. data/vendor/assets/javascripts/pd/pd.js +335 -0
  55. data/vendor/assets/javascripts/pd/sweetalert2.js +877 -0
  56. data/vendor/assets/javascripts/pk/bootstrap-datepicker.js +492 -0
  57. data/vendor/assets/javascripts/pk/bootstrap-select.js +1711 -0
  58. data/vendor/assets/javascripts/pk/chartist.min.js +8 -0
  59. data/vendor/assets/javascripts/pk/ct-pk-bootstrapswitch.js +249 -0
  60. data/vendor/assets/javascripts/pk/ct-pk-checkbox.js +109 -0
  61. data/vendor/assets/javascripts/pk/ct-pk-radio.js +140 -0
  62. data/vendor/assets/javascripts/pk/ct-pk.js +305 -0
  63. data/vendor/assets/javascripts/pk/demo.js +289 -0
  64. data/vendor/assets/javascripts/pk/jasny-bootstrap.min.js +6 -0
  65. data/vendor/assets/javascripts/pk/jquery-1.10.2.js +9789 -0
  66. data/vendor/assets/javascripts/pk/jquery-ui-1.10.4.custom.min.js +6 -0
  67. data/vendor/assets/javascripts/pk/jquery.tagsinput.js +355 -0
  68. data/vendor/assets/javascripts/pk/photo_swipe/init-gallery.js +205 -0
  69. data/vendor/assets/javascripts/pk/photo_swipe/photoswipe-ui-default.min.js +4 -0
  70. data/vendor/assets/javascripts/pk/photo_swipe/photoswipe.min.js +4 -0
  71. data/vendor/assets/javascripts/pk/presentation-page/atv-img-min.js +233 -0
  72. data/vendor/assets/javascripts/pk/presentation-page/jquery.sharrre.js +585 -0
  73. data/vendor/assets/javascripts/sd/bootstrap-datepicker.js +492 -0
  74. data/vendor/assets/javascripts/sd/bootstrap-select.js +1711 -0
  75. data/vendor/assets/javascripts/sd/chartist.min.js +8 -0
  76. data/vendor/assets/javascripts/sd/demo.js +227 -0
  77. data/vendor/assets/javascripts/sd/jquery-ui.custom.min.js +7 -0
  78. data/vendor/assets/javascripts/sd/jquery.flexisel.js +342 -0
  79. data/vendor/assets/javascripts/sd/jquery.js +9789 -0
  80. data/vendor/assets/javascripts/sd/jquery.tagsinput.js +355 -0
  81. data/vendor/assets/javascripts/sd/retina.min.js +10 -0
  82. data/vendor/assets/javascripts/sd/sd-bootstrapswitch.js +249 -0
  83. data/vendor/assets/javascripts/sd/sd-checkbox.js +109 -0
  84. data/vendor/assets/javascripts/sd/sd-morphing.js +89 -0
  85. data/vendor/assets/javascripts/sd/sd-radio.js +140 -0
  86. data/vendor/assets/javascripts/sd/sd.js +398 -0
  87. data/vendor/assets/stylesheets/gp/components/_buttons.scss +121 -0
  88. data/vendor/assets/stylesheets/gp/components/_cards.scss +271 -0
  89. data/vendor/assets/stylesheets/gp/components/_carousel.scss +15 -0
  90. data/vendor/assets/stylesheets/gp/components/_clients.scss +172 -0
  91. data/vendor/assets/stylesheets/gp/components/_closure.scss +19 -0
  92. data/vendor/assets/stylesheets/gp/components/_contact.scss +93 -0
  93. data/vendor/assets/stylesheets/gp/components/_dropdown.scss +173 -0
  94. data/vendor/assets/stylesheets/gp/components/_example-pages.scss +524 -0
  95. data/vendor/assets/stylesheets/gp/components/_footers.scss +191 -0
  96. data/vendor/assets/stylesheets/gp/components/_headers.scss +72 -0
  97. data/vendor/assets/stylesheets/gp/components/_inputs.scss +145 -0
  98. data/vendor/assets/stylesheets/gp/components/_labels.scss +15 -0
  99. data/vendor/assets/stylesheets/gp/components/_misc.scss +332 -0
  100. data/vendor/assets/stylesheets/gp/components/_mixins.scss +11 -0
  101. data/vendor/assets/stylesheets/gp/components/_navbars.scss +252 -0
  102. data/vendor/assets/stylesheets/gp/components/_numbers.scss +61 -0
  103. data/vendor/assets/stylesheets/gp/components/_projects.scss +279 -0
  104. data/vendor/assets/stylesheets/gp/components/_responsive.scss +950 -0
  105. data/vendor/assets/stylesheets/gp/components/_sections.scss +328 -0
  106. data/vendor/assets/stylesheets/gp/components/_social-buttons.scss +30 -0
  107. data/vendor/assets/stylesheets/gp/components/_team.scss +182 -0
  108. data/vendor/assets/stylesheets/gp/components/_theme.scss +22 -0
  109. data/vendor/assets/stylesheets/gp/components/_typography.scss +252 -0
  110. data/vendor/assets/stylesheets/gp/components/_variables.scss +267 -0
  111. data/vendor/assets/stylesheets/gp/components/mixins/_buttons.scss +61 -0
  112. data/vendor/assets/stylesheets/gp/components/mixins/_cards.scss +8 -0
  113. data/vendor/assets/stylesheets/gp/components/mixins/_inputs.scss +17 -0
  114. data/vendor/assets/stylesheets/gp/components/mixins/_navbars.scss +11 -0
  115. data/vendor/assets/stylesheets/gp/components/mixins/_transparency.scss +20 -0
  116. data/vendor/assets/stylesheets/gp/components/mixins/_vendor-prefixes.scss +284 -0
  117. data/vendor/assets/stylesheets/gp/gp.scss +30 -0
  118. data/vendor/assets/stylesheets/ld/ld.scss +53 -0
  119. data/vendor/assets/stylesheets/ld/ld/_alerts.scss +82 -0
  120. data/vendor/assets/stylesheets/ld/ld/_buttons.scss +123 -0
  121. data/vendor/assets/stylesheets/ld/ld/_cards.scss +315 -0
  122. data/vendor/assets/stylesheets/ld/ld/_carousel.scss +15 -0
  123. data/vendor/assets/stylesheets/ld/ld/_checkbox-radio-switch.scss +253 -0
  124. data/vendor/assets/stylesheets/ld/ld/_collapse.scss +49 -0
  125. data/vendor/assets/stylesheets/ld/ld/_dropdown.scss +176 -0
  126. data/vendor/assets/stylesheets/ld/ld/_footers.scss +155 -0
  127. data/vendor/assets/stylesheets/ld/ld/_forms.scss +41 -0
  128. data/vendor/assets/stylesheets/ld/ld/_inputs.scss +170 -0
  129. data/vendor/assets/stylesheets/ld/ld/_labels.scss +54 -0
  130. data/vendor/assets/stylesheets/ld/ld/_media.scss +80 -0
  131. data/vendor/assets/stylesheets/ld/ld/_misc.scss +87 -0
  132. data/vendor/assets/stylesheets/ld/ld/_mixins.scss +22 -0
  133. data/vendor/assets/stylesheets/ld/ld/_modal.scss +79 -0
  134. data/vendor/assets/stylesheets/ld/ld/_navbars.scss +362 -0
  135. data/vendor/assets/stylesheets/ld/ld/_pages.scss +215 -0
  136. data/vendor/assets/stylesheets/ld/ld/_progress-bars.scss +26 -0
  137. data/vendor/assets/stylesheets/ld/ld/_responsive.scss +647 -0
  138. data/vendor/assets/stylesheets/ld/ld/_sidebar-and-main-panel.scss +576 -0
  139. data/vendor/assets/stylesheets/ld/ld/_sliders.scss +219 -0
  140. data/vendor/assets/stylesheets/ld/ld/_social-buttons.scss +77 -0
  141. data/vendor/assets/stylesheets/ld/ld/_tables.scss +120 -0
  142. data/vendor/assets/stylesheets/ld/ld/_tabs-navs-pagination.scss +302 -0
  143. data/vendor/assets/stylesheets/ld/ld/_tags.scss +123 -0
  144. data/vendor/assets/stylesheets/ld/ld/_tooltips-and-popovers.scss +156 -0
  145. data/vendor/assets/stylesheets/ld/ld/_typography.scss +93 -0
  146. data/vendor/assets/stylesheets/ld/ld/_variables.scss +319 -0
  147. data/vendor/assets/stylesheets/ld/ld/mixins/_buttons.scss +74 -0
  148. data/vendor/assets/stylesheets/ld/ld/mixins/_cards.scss +8 -0
  149. data/vendor/assets/stylesheets/ld/ld/mixins/_chartist.scss +85 -0
  150. data/vendor/assets/stylesheets/ld/ld/mixins/_icons.scss +13 -0
  151. data/vendor/assets/stylesheets/ld/ld/mixins/_inputs.scss +17 -0
  152. data/vendor/assets/stylesheets/ld/ld/mixins/_labels.scss +21 -0
  153. data/vendor/assets/stylesheets/ld/ld/mixins/_morphing-buttons.scss +34 -0
  154. data/vendor/assets/stylesheets/ld/ld/mixins/_navbars.scss +11 -0
  155. data/vendor/assets/stylesheets/ld/ld/mixins/_social-buttons.scss +43 -0
  156. data/vendor/assets/stylesheets/ld/ld/mixins/_table-row.scss +22 -0
  157. data/vendor/assets/stylesheets/ld/ld/mixins/_tabs.scss +4 -0
  158. data/vendor/assets/stylesheets/ld/ld/mixins/_transparency.scss +20 -0
  159. data/vendor/assets/stylesheets/ld/ld/mixins/_vendor-prefixes.scss +197 -0
  160. data/vendor/assets/stylesheets/ld/ld/plugins/_animate.scss +188 -0
  161. data/vendor/assets/stylesheets/ld/ld/plugins/_bootstrap-select.scss +308 -0
  162. data/vendor/assets/stylesheets/ld/ld/plugins/_bootstrap-table.scss +328 -0
  163. data/vendor/assets/stylesheets/ld/ld/plugins/_chartist.scss +247 -0
  164. data/vendor/assets/stylesheets/ld/ld/plugins/_datatables.net.scss +513 -0
  165. data/vendor/assets/stylesheets/ld/ld/plugins/_datetime-picker.scss +440 -0
  166. data/vendor/assets/stylesheets/ld/ld/plugins/_fullcalendar.scss +1114 -0
  167. data/vendor/assets/stylesheets/ld/ld/plugins/_jquery.jvectormap.scss +135 -0
  168. data/vendor/assets/stylesheets/ld/ld/plugins/_perfect-scrollbar.scss +111 -0
  169. data/vendor/assets/stylesheets/ld/ld/plugins/_sweetalert2.scss +531 -0
  170. data/vendor/assets/stylesheets/mk/mk.scss +50 -0
  171. data/vendor/assets/stylesheets/mk/mk/_alerts.scss +41 -0
  172. data/vendor/assets/stylesheets/mk/mk/_buttons.scss +283 -0
  173. data/vendor/assets/stylesheets/mk/mk/_cards.scss +576 -0
  174. data/vendor/assets/stylesheets/mk/mk/_carousel.scss +86 -0
  175. data/vendor/assets/stylesheets/mk/mk/_checkboxes.scss +195 -0
  176. data/vendor/assets/stylesheets/mk/mk/_colors.scss +326 -0
  177. data/vendor/assets/stylesheets/mk/mk/_dialogs.scss +99 -0
  178. data/vendor/assets/stylesheets/mk/mk/_dividers.scss +73 -0
  179. data/vendor/assets/stylesheets/mk/mk/_dropdown.scss +86 -0
  180. data/vendor/assets/stylesheets/mk/mk/_example-pages.scss +775 -0
  181. data/vendor/assets/stylesheets/mk/mk/_fileupload.scss +115 -0
  182. data/vendor/assets/stylesheets/mk/mk/_flexisel.scss +54 -0
  183. data/vendor/assets/stylesheets/mk/mk/_form.scss +58 -0
  184. data/vendor/assets/stylesheets/mk/mk/_images.scss +6 -0
  185. data/vendor/assets/stylesheets/mk/mk/_import-bs-less.scss +4 -0
  186. data/vendor/assets/stylesheets/mk/mk/_import-bs-sass.scss +2 -0
  187. data/vendor/assets/stylesheets/mk/mk/_info-areas.scss +57 -0
  188. data/vendor/assets/stylesheets/mk/mk/_inputs-size.scss +223 -0
  189. data/vendor/assets/stylesheets/mk/mk/_inputs.scss +394 -0
  190. data/vendor/assets/stylesheets/mk/mk/_labels.scss +10 -0
  191. data/vendor/assets/stylesheets/mk/mk/_lists.scss +104 -0
  192. data/vendor/assets/stylesheets/mk/mk/_media.scss +47 -0
  193. data/vendor/assets/stylesheets/mk/mk/_misc.scss +94 -0
  194. data/vendor/assets/stylesheets/mk/mk/_mixins.scss +413 -0
  195. data/vendor/assets/stylesheets/mk/mk/_navbar.scss +311 -0
  196. data/vendor/assets/stylesheets/mk/mk/_pagination.scss +91 -0
  197. data/vendor/assets/stylesheets/mk/mk/_panels.scss +47 -0
  198. data/vendor/assets/stylesheets/mk/mk/_pills.scss +128 -0
  199. data/vendor/assets/stylesheets/mk/mk/_popups.scss +77 -0
  200. data/vendor/assets/stylesheets/mk/mk/_progress.scss +33 -0
  201. data/vendor/assets/stylesheets/mk/mk/_radios.scss +114 -0
  202. data/vendor/assets/stylesheets/mk/mk/_responsive.scss +115 -0
  203. data/vendor/assets/stylesheets/mk/mk/_ripples.scss +40 -0
  204. data/vendor/assets/stylesheets/mk/mk/_sections.scss +131 -0
  205. data/vendor/assets/stylesheets/mk/mk/_select.scss +108 -0
  206. data/vendor/assets/stylesheets/mk/mk/_shadows.scss +138 -0
  207. data/vendor/assets/stylesheets/mk/mk/_tables.scss +104 -0
  208. data/vendor/assets/stylesheets/mk/mk/_tabs.scss +53 -0
  209. data/vendor/assets/stylesheets/mk/mk/_tags.scss +97 -0
  210. data/vendor/assets/stylesheets/mk/mk/_togglebutton.scss +87 -0
  211. data/vendor/assets/stylesheets/mk/mk/_typography.scss +75 -0
  212. data/vendor/assets/stylesheets/mk/mk/_variables.scss +224 -0
  213. data/vendor/assets/stylesheets/mk/mk/_variables_bootstrap.scss +883 -0
  214. data/vendor/assets/stylesheets/mk/mk/_welljumbo.scss +28 -0
  215. data/vendor/assets/stylesheets/mk/mk/plugins/_plugin-datepicker.scss +204 -0
  216. data/vendor/assets/stylesheets/mk/mk/plugins/_plugin-nouislider.scss +161 -0
  217. data/vendor/assets/stylesheets/mk/mk/plugins/_plugin-selectize.scss +93 -0
  218. data/vendor/assets/stylesheets/mk/mk/plugins/_plugin-snackbarjs.scss +34 -0
  219. data/vendor/assets/stylesheets/mk/mk/sections/_blogs.scss +17 -0
  220. data/vendor/assets/stylesheets/mk/mk/sections/_contactus.scss +51 -0
  221. data/vendor/assets/stylesheets/mk/mk/sections/_features.scss +92 -0
  222. data/vendor/assets/stylesheets/mk/mk/sections/_footers.scss +163 -0
  223. data/vendor/assets/stylesheets/mk/mk/sections/_headers.scss +125 -0
  224. data/vendor/assets/stylesheets/mk/mk/sections/_pricing.scss +40 -0
  225. data/vendor/assets/stylesheets/mk/mk/sections/_projects.scss +75 -0
  226. data/vendor/assets/stylesheets/mk/mk/sections/_social-subscribe-lines.scss +71 -0
  227. data/vendor/assets/stylesheets/mk/mk/sections/_team.scss +53 -0
  228. data/vendor/assets/stylesheets/mk/mk/sections/_testimonials.scss +5 -0
  229. data/vendor/assets/stylesheets/pd/pd.scss +51 -0
  230. data/vendor/assets/stylesheets/pd/pd/_alerts.scss +60 -0
  231. data/vendor/assets/stylesheets/pd/pd/_animated-buttons.scss +61 -0
  232. data/vendor/assets/stylesheets/pd/pd/_buttons.scss +173 -0
  233. data/vendor/assets/stylesheets/pd/pd/_cards.scss +546 -0
  234. data/vendor/assets/stylesheets/pd/pd/_carousel.scss +15 -0
  235. data/vendor/assets/stylesheets/pd/pd/_chat-message.scss +206 -0
  236. data/vendor/assets/stylesheets/pd/pd/_checkbox-radio.scss +126 -0
  237. data/vendor/assets/stylesheets/pd/pd/_circlechart.scss +18 -0
  238. data/vendor/assets/stylesheets/pd/pd/_collapse.scss +40 -0
  239. data/vendor/assets/stylesheets/pd/pd/_dropdown.scss +413 -0
  240. data/vendor/assets/stylesheets/pd/pd/_footers.scss +87 -0
  241. data/vendor/assets/stylesheets/pd/pd/_forms.scss +43 -0
  242. data/vendor/assets/stylesheets/pd/pd/_inputs.scss +190 -0
  243. data/vendor/assets/stylesheets/pd/pd/_labels.scss +29 -0
  244. data/vendor/assets/stylesheets/pd/pd/_media.scss +80 -0
  245. data/vendor/assets/stylesheets/pd/pd/_misc.scss +104 -0
  246. data/vendor/assets/stylesheets/pd/pd/_mixins.scss +17 -0
  247. data/vendor/assets/stylesheets/pd/pd/_modal.scss +79 -0
  248. data/vendor/assets/stylesheets/pd/pd/_navbars.scss +289 -0
  249. data/vendor/assets/stylesheets/pd/pd/_pages.scss +196 -0
  250. data/vendor/assets/stylesheets/pd/pd/_progress-bars.scss +27 -0
  251. data/vendor/assets/stylesheets/pd/pd/_responsive.scss +666 -0
  252. data/vendor/assets/stylesheets/pd/pd/_sidebar-and-main-panel.scss +514 -0
  253. data/vendor/assets/stylesheets/pd/pd/_sliders.scss +222 -0
  254. data/vendor/assets/stylesheets/pd/pd/_social.scss +130 -0
  255. data/vendor/assets/stylesheets/pd/pd/_switch.scss +145 -0
  256. data/vendor/assets/stylesheets/pd/pd/_tables.scss +194 -0
  257. data/vendor/assets/stylesheets/pd/pd/_tabs-navs-pagination.scss +341 -0
  258. data/vendor/assets/stylesheets/pd/pd/_tags.scss +104 -0
  259. data/vendor/assets/stylesheets/pd/pd/_timeline.scss +178 -0
  260. data/vendor/assets/stylesheets/pd/pd/_tooltips-and-popovers.scss +156 -0
  261. data/vendor/assets/stylesheets/pd/pd/_typography.scss +117 -0
  262. data/vendor/assets/stylesheets/pd/pd/_variables.scss +367 -0
  263. data/vendor/assets/stylesheets/pd/pd/mixins/_alerts.scss +13 -0
  264. data/vendor/assets/stylesheets/pd/pd/mixins/_buttons.scss +89 -0
  265. data/vendor/assets/stylesheets/pd/pd/mixins/_cards.scss +7 -0
  266. data/vendor/assets/stylesheets/pd/pd/mixins/_chartist.scss +104 -0
  267. data/vendor/assets/stylesheets/pd/pd/mixins/_icons.scss +13 -0
  268. data/vendor/assets/stylesheets/pd/pd/mixins/_inputs.scss +17 -0
  269. data/vendor/assets/stylesheets/pd/pd/mixins/_labels.scss +10 -0
  270. data/vendor/assets/stylesheets/pd/pd/mixins/_navbars.scss +11 -0
  271. data/vendor/assets/stylesheets/pd/pd/mixins/_sidebar.scss +54 -0
  272. data/vendor/assets/stylesheets/pd/pd/mixins/_social.scss +68 -0
  273. data/vendor/assets/stylesheets/pd/pd/mixins/_table-row.scss +22 -0
  274. data/vendor/assets/stylesheets/pd/pd/mixins/_tabs.scss +4 -0
  275. data/vendor/assets/stylesheets/pd/pd/mixins/_transparency.scss +20 -0
  276. data/vendor/assets/stylesheets/pd/pd/mixins/_vendor-prefixes.scss +254 -0
  277. data/vendor/assets/stylesheets/pd/pd/plugins/_animate.scss +189 -0
  278. data/vendor/assets/stylesheets/pd/pd/plugins/_bootstrap-select.scss +313 -0
  279. data/vendor/assets/stylesheets/pd/pd/plugins/_bootstrap-table.scss +375 -0
  280. data/vendor/assets/stylesheets/pd/pd/plugins/_chartist.scss +246 -0
  281. data/vendor/assets/stylesheets/pd/pd/plugins/_datatables.net.scss +504 -0
  282. data/vendor/assets/stylesheets/pd/pd/plugins/_datetime-picker.scss +418 -0
  283. data/vendor/assets/stylesheets/pd/pd/plugins/_fullcalendar.scss +1124 -0
  284. data/vendor/assets/stylesheets/pd/pd/plugins/_jquery.jvectormap.scss +135 -0
  285. data/vendor/assets/stylesheets/pd/pd/plugins/_perfect-scrollbar.scss +112 -0
  286. data/vendor/assets/stylesheets/pd/pd/plugins/_sweetalert2.scss +531 -0
  287. data/vendor/assets/stylesheets/pk/ct-pk.scss +64 -0
  288. data/vendor/assets/stylesheets/pk/ct-pk/_alerts.scss +69 -0
  289. data/vendor/assets/stylesheets/pk/ct-pk/_animated-buttons.scss +63 -0
  290. data/vendor/assets/stylesheets/pk/ct-pk/_bootstrap-select.scss +320 -0
  291. data/vendor/assets/stylesheets/pk/ct-pk/_buttons.scss +161 -0
  292. data/vendor/assets/stylesheets/pk/ct-pk/_cards.scss +570 -0
  293. data/vendor/assets/stylesheets/pk/ct-pk/_carousel.scss +59 -0
  294. data/vendor/assets/stylesheets/pk/ct-pk/_chartist.scss +354 -0
  295. data/vendor/assets/stylesheets/pk/ct-pk/_checkbox-radio.scss +129 -0
  296. data/vendor/assets/stylesheets/pk/ct-pk/_collapse.scss +40 -0
  297. data/vendor/assets/stylesheets/pk/ct-pk/_datepicker.scss +198 -0
  298. data/vendor/assets/stylesheets/pk/ct-pk/_dropdown.scss +291 -0
  299. data/vendor/assets/stylesheets/pk/ct-pk/_fileupload.scss +112 -0
  300. data/vendor/assets/stylesheets/pk/ct-pk/_footers.scss +193 -0
  301. data/vendor/assets/stylesheets/pk/ct-pk/_headers.scss +85 -0
  302. data/vendor/assets/stylesheets/pk/ct-pk/_images.scss +28 -0
  303. data/vendor/assets/stylesheets/pk/ct-pk/_info-areas.scss +62 -0
  304. data/vendor/assets/stylesheets/pk/ct-pk/_inputs.scss +171 -0
  305. data/vendor/assets/stylesheets/pk/ct-pk/_labels.scss +29 -0
  306. data/vendor/assets/stylesheets/pk/ct-pk/_media.scss +82 -0
  307. data/vendor/assets/stylesheets/pk/ct-pk/_misc.scss +124 -0
  308. data/vendor/assets/stylesheets/pk/ct-pk/_mixins.scss +16 -0
  309. data/vendor/assets/stylesheets/pk/ct-pk/_modal.scss +91 -0
  310. data/vendor/assets/stylesheets/pk/ct-pk/_navbars.scss +285 -0
  311. data/vendor/assets/stylesheets/pk/ct-pk/_preloaders.scss +282 -0
  312. data/vendor/assets/stylesheets/pk/ct-pk/_progress-bars.scss +27 -0
  313. data/vendor/assets/stylesheets/pk/ct-pk/_responsive.scss +411 -0
  314. data/vendor/assets/stylesheets/pk/ct-pk/_sections.scss +45 -0
  315. data/vendor/assets/stylesheets/pk/ct-pk/_sidebar.scss +206 -0
  316. data/vendor/assets/stylesheets/pk/ct-pk/_sliders.scss +222 -0
  317. data/vendor/assets/stylesheets/pk/ct-pk/_social.scss +130 -0
  318. data/vendor/assets/stylesheets/pk/ct-pk/_switch.scss +145 -0
  319. data/vendor/assets/stylesheets/pk/ct-pk/_tables.scss +135 -0
  320. data/vendor/assets/stylesheets/pk/ct-pk/_tabs-navs-pagination.scss +311 -0
  321. data/vendor/assets/stylesheets/pk/ct-pk/_tags.scss +108 -0
  322. data/vendor/assets/stylesheets/pk/ct-pk/_tooltips-and-popovers.scss +188 -0
  323. data/vendor/assets/stylesheets/pk/ct-pk/_typography.scss +106 -0
  324. data/vendor/assets/stylesheets/pk/ct-pk/_variables.scss +301 -0
  325. data/vendor/assets/stylesheets/pk/ct-pk/mixins/_alerts.scss +11 -0
  326. data/vendor/assets/stylesheets/pk/ct-pk/mixins/_buttons.scss +104 -0
  327. data/vendor/assets/stylesheets/pk/ct-pk/mixins/_inputs.scss +17 -0
  328. data/vendor/assets/stylesheets/pk/ct-pk/mixins/_labels.scss +10 -0
  329. data/vendor/assets/stylesheets/pk/ct-pk/mixins/_navbars.scss +11 -0
  330. data/vendor/assets/stylesheets/pk/ct-pk/mixins/_popovers.scss +21 -0
  331. data/vendor/assets/stylesheets/pk/ct-pk/mixins/_social.scss +68 -0
  332. data/vendor/assets/stylesheets/pk/ct-pk/mixins/_tabs.scss +4 -0
  333. data/vendor/assets/stylesheets/pk/ct-pk/mixins/_transparency.scss +17 -0
  334. data/vendor/assets/stylesheets/pk/ct-pk/mixins/_vendor-prefixes.scss +233 -0
  335. data/vendor/assets/stylesheets/pk/ct-pk/plugins/photo-swipe/_default-skin.scss +592 -0
  336. data/vendor/assets/stylesheets/pk/ct-pk/plugins/photo-swipe/_gallery.scss +27 -0
  337. data/vendor/assets/stylesheets/pk/ct-pk/plugins/photo-swipe/_main-settings.scss +11 -0
  338. data/vendor/assets/stylesheets/pk/ct-pk/plugins/photo-swipe/_main.scss +213 -0
  339. data/vendor/assets/stylesheets/pk/examples.scss +1083 -0
  340. data/vendor/assets/stylesheets/sd/examples.scss +403 -0
  341. data/vendor/assets/stylesheets/sd/sd.scss +41 -0
  342. data/vendor/assets/stylesheets/sd/sd/_alerts.scss +37 -0
  343. data/vendor/assets/stylesheets/sd/sd/_bootstrap-select.scss +307 -0
  344. data/vendor/assets/stylesheets/sd/sd/_buttons.scss +108 -0
  345. data/vendor/assets/stylesheets/sd/sd/_cards.scss +462 -0
  346. data/vendor/assets/stylesheets/sd/sd/_carousel.scss +15 -0
  347. data/vendor/assets/stylesheets/sd/sd/_chartist.scss +335 -0
  348. data/vendor/assets/stylesheets/sd/sd/_checkbox-radio-switch.scss +246 -0
  349. data/vendor/assets/stylesheets/sd/sd/_collapse.scss +33 -0
  350. data/vendor/assets/stylesheets/sd/sd/_datepicker.scss +199 -0
  351. data/vendor/assets/stylesheets/sd/sd/_dropdown.scss +98 -0
  352. data/vendor/assets/stylesheets/sd/sd/_flexisel.scss +53 -0
  353. data/vendor/assets/stylesheets/sd/sd/_footers.scss +216 -0
  354. data/vendor/assets/stylesheets/sd/sd/_icons.scss +127 -0
  355. data/vendor/assets/stylesheets/sd/sd/_inputs.scss +141 -0
  356. data/vendor/assets/stylesheets/sd/sd/_labels.scss +54 -0
  357. data/vendor/assets/stylesheets/sd/sd/_media.scss +80 -0
  358. data/vendor/assets/stylesheets/sd/sd/_misc.scss +115 -0
  359. data/vendor/assets/stylesheets/sd/sd/_mixins.scss +20 -0
  360. data/vendor/assets/stylesheets/sd/sd/_modal.scss +79 -0
  361. data/vendor/assets/stylesheets/sd/sd/_morphing-buttons.scss +161 -0
  362. data/vendor/assets/stylesheets/sd/sd/_navbars.scss +293 -0
  363. data/vendor/assets/stylesheets/sd/sd/_progress-bars.scss +9 -0
  364. data/vendor/assets/stylesheets/sd/sd/_responsive.scss +302 -0
  365. data/vendor/assets/stylesheets/sd/sd/_sections.scss +12 -0
  366. data/vendor/assets/stylesheets/sd/sd/_sidebar-menu.scss +232 -0
  367. data/vendor/assets/stylesheets/sd/sd/_sliders.scss +218 -0
  368. data/vendor/assets/stylesheets/sd/sd/_social-buttons.scss +76 -0
  369. data/vendor/assets/stylesheets/sd/sd/_tables.scss +110 -0
  370. data/vendor/assets/stylesheets/sd/sd/_tabs-navs-pagination.scss +217 -0
  371. data/vendor/assets/stylesheets/sd/sd/_tags.scss +220 -0
  372. data/vendor/assets/stylesheets/sd/sd/_tooltips-and-popovers.scss +156 -0
  373. data/vendor/assets/stylesheets/sd/sd/_typography.scss +73 -0
  374. data/vendor/assets/stylesheets/sd/sd/_variables.scss +249 -0
  375. data/vendor/assets/stylesheets/sd/sd/mixins/_buttons.scss +76 -0
  376. data/vendor/assets/stylesheets/sd/sd/mixins/_cards.scss +8 -0
  377. data/vendor/assets/stylesheets/sd/sd/mixins/_icons.scss +13 -0
  378. data/vendor/assets/stylesheets/sd/sd/mixins/_inputs.scss +17 -0
  379. data/vendor/assets/stylesheets/sd/sd/mixins/_labels.scss +21 -0
  380. data/vendor/assets/stylesheets/sd/sd/mixins/_morphing-buttons.scss +34 -0
  381. data/vendor/assets/stylesheets/sd/sd/mixins/_navbars.scss +11 -0
  382. data/vendor/assets/stylesheets/sd/sd/mixins/_social-buttons.scss +43 -0
  383. data/vendor/assets/stylesheets/sd/sd/mixins/_tabs.scss +4 -0
  384. data/vendor/assets/stylesheets/sd/sd/mixins/_transparency.scss +20 -0
  385. data/vendor/assets/stylesheets/sd/sd/mixins/_vendor-prefixes.scss +177 -0
  386. metadata +484 -0
@@ -0,0 +1,305 @@
1
+ var searchVisible = 0;
2
+ var transparent = true;
3
+
4
+ var transparentDemo = true;
5
+ var fixedTop = false;
6
+
7
+ var navbar_initialized = false;
8
+
9
+ $(document).ready(function(){
10
+ window_width = $(window).width();
11
+
12
+ burger_menu = $('nav[role="navigation-demo"]').hasClass('navbar-burger') ? true : false;
13
+
14
+ // Init navigation toggle for small screens
15
+ if(window_width < 768 || burger_menu){
16
+ ct_paper.initRightMenu();
17
+ }
18
+
19
+ // Limit number of characters in limited textarea
20
+ $('.textarea-limited').keyup(function () {
21
+ var max = $(this).data('limit');
22
+ var len = $(this).val().length;
23
+ if (len >= max) {
24
+ $('#textarea-limited-message').text(' you have reached the limit');
25
+ } else {
26
+ var char = max - len;
27
+ $('#textarea-limited-message').text(char + ' characters left');
28
+ }
29
+ });
30
+
31
+ // Activate the tooltips
32
+ $('[rel="tooltip"]').tooltip({
33
+ container: 'body',
34
+ selector: 'body'
35
+ });
36
+
37
+ $('.btn-tooltip').tooltip();
38
+ $('.label-tooltip').tooltip();
39
+
40
+ // Activate the switches with icons
41
+ if($('.switch').length != 0){
42
+ $('.switch')['bootstrapSwitch']();
43
+ }
44
+ // Activate regular switches
45
+ if($("[data-toggle='switch']").length != 0){
46
+ $("[data-toggle='switch']").wrap('<div class="switch" />').parent().bootstrapSwitch();
47
+ }
48
+
49
+ // Activate bootstrap-select
50
+ if($(".selectpicker").length != 0){
51
+ $(".selectpicker").selectpicker();
52
+ }
53
+
54
+ if($(".tagsinput").length != 0){
55
+ $(".tagsinput").tagsInput();
56
+ }
57
+
58
+ if($('.datepicker').length != 0){
59
+ $('.datepicker').datepicker({
60
+ weekStart:1,
61
+ color: '{color}'
62
+ });
63
+ }
64
+
65
+ // Carousel
66
+ $('.carousel').carousel({
67
+ // interval: 4000
68
+ });
69
+
70
+ $('.form-control').on("focus", function(){
71
+ $(this).parent('.input-group').addClass("input-group-focus");
72
+ }).on("blur", function(){
73
+ $(this).parent(".input-group").removeClass("input-group-focus");
74
+ });
75
+
76
+ // Make the images from the card fill the hole space
77
+ ct_paper.fitBackgroundForCards();
78
+
79
+ // Init icon search action for the navbar
80
+ ct_paper.initNavbarSearch();
81
+
82
+ // Init popovers
83
+ ct_paper.initPopovers();
84
+
85
+ // Init Sliders
86
+ ct_paper.initSliders();
87
+
88
+ // Init Video Background
89
+ ct_paper.initVideoBackground();
90
+
91
+ $('.dropdown-sharing .switch').click(function (e) {
92
+ // custom handling here
93
+ e.stopPropagation();
94
+ });
95
+ });
96
+
97
+ // activate collapse right menu when the windows is resized
98
+ $(window).resize(function(){
99
+ if($(window).width() < 768){
100
+ ct_paper.initRightMenu();
101
+ }
102
+ if($(window).width() >= 768 && !burger_menu){
103
+ $('nav[role="navigation-demo"]').removeClass('navbar-burger');
104
+ ct_paper.misc.navbar_menu_visible = 0;
105
+ navbar_initialized = false;
106
+ $('html').removeClass('nav-open');
107
+ }
108
+ });
109
+
110
+ ct_paper = {
111
+ misc:{
112
+ navbar_menu_visible: 0
113
+ },
114
+ initRightMenu: function(){
115
+ if(!navbar_initialized){
116
+ $nav = $('nav[role="navigation-demo"]');
117
+ $nav.addClass('navbar-burger');
118
+
119
+ $navbar = $nav.find('.navbar-collapse').first().clone(true);
120
+
121
+ ul_content = '';
122
+
123
+ $navbar.children('ul').each(function(){
124
+ content_buff = $(this).html();
125
+ ul_content = ul_content + content_buff;
126
+ });
127
+
128
+ ul_content = '<ul class="nav navbar-nav">' + ul_content + '</ul>';
129
+ $navbar.html(ul_content);
130
+
131
+ $('body').append($navbar);
132
+
133
+ background_image = $navbar.data('nav-image');
134
+ if(background_image != undefined){
135
+ $navbar.css('background',"url('" + background_image + "')")
136
+ .removeAttr('data-nav-image')
137
+ .css('background-size',"cover")
138
+ .addClass('has-image');
139
+ }
140
+
141
+ $toggle = $('.navbar-toggle');
142
+
143
+ $navbar.find('a, button').removeClass('btn btn-round btn-default btn-simple btn-neutral btn-fill btn-info btn-primary btn-success btn-danger btn-warning');
144
+ $navbar.find('button').addClass('btn-simple btn-block');
145
+
146
+ $toggle.click(function (){
147
+
148
+ if(ct_paper.misc.navbar_menu_visible == 1) {
149
+ $('html').removeClass('nav-open');
150
+ ct_paper.misc.navbar_menu_visible = 0;
151
+ $('#bodyClick').remove();
152
+ setTimeout(function(){
153
+ $toggle.removeClass('toggled');
154
+ }, 550);
155
+
156
+ } else {
157
+ setTimeout(function(){
158
+ $toggle.addClass('toggled');
159
+ }, 580);
160
+
161
+ div = '<div id="bodyClick"></div>';
162
+ $(div).appendTo("body").click(function() {
163
+ $('html').removeClass('nav-open');
164
+ ct_paper.misc.navbar_menu_visible = 0;
165
+ $('#bodyClick').remove();
166
+ setTimeout(function(){
167
+ $toggle.removeClass('toggled');
168
+ }, 550);
169
+ });
170
+
171
+ $('html').addClass('nav-open');
172
+ ct_paper.misc.navbar_menu_visible = 1;
173
+
174
+ }
175
+ });
176
+ navbar_initialized = true;
177
+ }
178
+
179
+ },
180
+
181
+ fitBackgroundForCards: function(){
182
+ $('.card').each(function(){
183
+ if(!$(this).hasClass('card-product') && !$(this).hasClass('card-user')){
184
+ image = $(this).find('.image img');
185
+
186
+ image.hide();
187
+ image_src = image.attr('src');
188
+
189
+ $(this).find('.image').css({
190
+ "background-image": "url('" + image_src + "')",
191
+ "background-position": "center center",
192
+ "background-size": "cover"
193
+ });
194
+ }
195
+ });
196
+ },
197
+ initPopovers: function(){
198
+ if($('[data-toggle="popover"]').length != 0){
199
+ $('body').append('<div class="popover-filter"></div>');
200
+
201
+ // Activate Popovers
202
+ $('[data-toggle="popover"]').popover().on('show.bs.popover', function () {
203
+ $('.popover-filter').click(function(){
204
+ $(this).removeClass('in');
205
+ $('[data-toggle="popover"]').popover('hide');
206
+ });
207
+ $('.popover-filter').addClass('in');
208
+
209
+ }).on('hide.bs.popover', function(){
210
+ $('.popover-filter').removeClass('in');
211
+ });
212
+
213
+ }
214
+ },
215
+
216
+ initSliders: function(){
217
+ // Sliders for demo purpose in refine cards section
218
+ if($('#slider-range').length != 0){
219
+ $( "#slider-range" ).slider({
220
+ range: true,
221
+ min: 0,
222
+ max: 500,
223
+ values: [ 75, 300 ],
224
+ });
225
+ }
226
+ if($('#refine-price-range').length != 0){
227
+ $( "#refine-price-range" ).slider({
228
+ range: true,
229
+ min: 0,
230
+ max: 999,
231
+ values: [ 100, 850 ],
232
+ slide: function( event, ui ) {
233
+ min_price = ui.values[0];
234
+ max_price = ui.values[1];
235
+ $(this).siblings('.price-left').html('&euro; ' + min_price);
236
+ $(this).siblings('.price-right').html('&euro; ' + max_price)
237
+ }
238
+ });
239
+ }
240
+ if($('#slider-default').length != 0 || $('#slider-default2').length != 0){
241
+ $( "#slider-default, #slider-default2" ).slider({
242
+ value: 70,
243
+ orientation: "horizontal",
244
+ range: "min",
245
+ animate: true
246
+ });
247
+ }
248
+ },
249
+
250
+ initVideoBackground: function(){
251
+ $('[data-toggle="video"]').click(function(){
252
+ id_video = $(this).data('video');
253
+ video = $('#' + id_video).get(0);
254
+
255
+ parent = $(this).parent('div').parent('div');
256
+
257
+ if(video.paused){
258
+ video.play();
259
+ $(this).html('<i class="fa fa-pause"></i> Pause Video');
260
+ parent.addClass('state-play');
261
+ } else {
262
+ video.pause();
263
+ $(this).html('<i class="fa fa-play"></i> Play Video');
264
+ parent.removeClass('state-play');
265
+ }
266
+ });
267
+ },
268
+
269
+ initNavbarSearch: function(){
270
+ $('[data-toggle="search"]').click(function(){
271
+ if(searchVisible == 0){
272
+ searchVisible = 1;
273
+ $(this).parent().addClass('active');
274
+ $('.navbar-search-form').fadeIn(function(){
275
+ $('.navbar-search-form input').focus();
276
+ });
277
+ } else {
278
+ searchVisible = 0;
279
+ $(this).parent().removeClass('active');
280
+ $(this).blur();
281
+ $('.navbar-search-form').fadeOut(function(){
282
+ $('.navbar-search-form input').blur();
283
+ });
284
+ }
285
+ });
286
+ }
287
+ }
288
+
289
+ // Returns a function, that, as long as it continues to be invoked, will not
290
+ // be triggered. The function will be called after it stops being called for
291
+ // N milliseconds. If `immediate` is passed, trigger the function on the
292
+ // leading edge, instead of the trailing.
293
+
294
+ function debounce(func, wait, immediate) {
295
+ var timeout;
296
+ return function() {
297
+ var context = this, args = arguments;
298
+ clearTimeout(timeout);
299
+ timeout = setTimeout(function() {
300
+ timeout = null;
301
+ if (!immediate) func.apply(context, args);
302
+ }, wait);
303
+ if (immediate && !timeout) func.apply(context, args);
304
+ };
305
+ };
@@ -0,0 +1,289 @@
1
+ demo = {
2
+ initDemoChartist: function(){
3
+ var dataPerformance = {
4
+ labels: ['9pm', '2am', '8am', '2pm', '8pm', '11pm', '4am'],
5
+ series: [
6
+ [1, 6, 8, 7, 4, 7, 8, 12, 16, 17, 14, 13]
7
+ ]
8
+ };
9
+
10
+ var optionsPerformance = {
11
+ showPoint: false,
12
+ lineSmooth: true,
13
+ axisX: {
14
+ showGrid: false,
15
+ showLabel: true
16
+ },
17
+ axisY: {
18
+ offset: 40,
19
+ },
20
+ low: 0,
21
+ high: 16
22
+ };
23
+
24
+ Chartist.Line('#chartPerformance', dataPerformance, optionsPerformance);
25
+
26
+ var dataStock = {
27
+ labels: ['\'07','\'08','\'09', '\'10', '\'11', '\'12', '\'13', '\'14', '\'15'],
28
+ series: [
29
+ [22.20, 34.90, 42.28, 51.93, 62.21, 80.23, 62.21, 78.83, 82.12, 102.50, 107.23]
30
+ ]
31
+ };
32
+
33
+ var optionsStock = {
34
+ lineSmooth: false,
35
+ axisY: {
36
+ offset: 40,
37
+ labelInterpolationFnc: function(value) {
38
+ return '$' + value;
39
+ }
40
+
41
+ },
42
+ low: 10,
43
+ high: 110,
44
+ classNames: {
45
+ point: 'ct-point ct-green',
46
+ line: 'ct-line ct-green'
47
+ }
48
+ };
49
+
50
+ var $chart = $('#chartStock');
51
+
52
+ Chartist.Line('#chartStock', dataStock, optionsStock);
53
+
54
+ var dataSales = {
55
+ labels: ['\'06','\'07','\'08','\'09', '\'10', '\'11', '\'12', '\'13', '\'14','\'15'],
56
+ series: [
57
+ [287, 385, 490, 492, 554, 586, 698, 695, 752, 788, 846, 944],
58
+ [67, 152, 143, 240, 287, 335, 435, 437, 539, 542, 544, 647],
59
+ [23, 113, 67, 108, 190, 239, 307, 308, 439, 410, 410, 509]
60
+ ]
61
+ };
62
+
63
+ var optionsSales = {
64
+ lineSmooth: false,
65
+ axisY: {
66
+ offset: 40
67
+ },
68
+ low: 0,
69
+ high: 1000
70
+ };
71
+
72
+ Chartist.Line('#chartSales', dataSales, optionsSales);
73
+
74
+ var data = {
75
+ labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
76
+ series: [
77
+ [542, 443, 320, 780, 553, 453, 326, 434, 568, 610, 756, 895],
78
+ [412, 243, 280, 580, 453, 353, 300, 364, 368, 410, 636, 695]
79
+ ]
80
+ };
81
+
82
+ var options = {
83
+ seriesBarDistance: 10,
84
+ axisX: {
85
+ showGrid: false
86
+ }
87
+ };
88
+
89
+ var responsiveOptions = [
90
+ ['screen and (max-width: 640px)', {
91
+ seriesBarDistance: 5,
92
+ axisX: {
93
+ labelInterpolationFnc: function (value) {
94
+ return value[0];
95
+ }
96
+ }
97
+ }]
98
+ ];
99
+
100
+ Chartist.Bar('#chartActivity', data, options, responsiveOptions);
101
+
102
+ var dataViews = {
103
+ labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
104
+ series: [
105
+ [542, 443, 320, 780, 553, 453, 326, 434, 568, 610, 756, 895]
106
+ ]
107
+ };
108
+
109
+ var optionsViews = {
110
+ seriesBarDistance: 10,
111
+ classNames: {
112
+ bar: 'ct-bar ct-azure'
113
+ },
114
+ axisX: {
115
+ showGrid: false
116
+ }
117
+ };
118
+
119
+ var responsiveOptionsViews = [
120
+ ['screen and (max-width: 640px)', {
121
+ seriesBarDistance: 5,
122
+ axisX: {
123
+ labelInterpolationFnc: function (value) {
124
+ return value[0];
125
+ }
126
+ }
127
+ }]
128
+ ];
129
+
130
+ Chartist.Bar('#chartViews', dataViews, optionsViews, responsiveOptionsViews);
131
+
132
+ var dataPreferences = {
133
+ series: [
134
+ [25, 30, 20, 25]
135
+ ]
136
+ };
137
+
138
+ var optionsPreferences = {
139
+ donut: true,
140
+ donutWidth: 40,
141
+ startAngle: 0,
142
+ total: 100,
143
+ showLabel: false,
144
+ axisX: {
145
+ showGrid: false
146
+ }
147
+ };
148
+
149
+ //Chartist.Pie('#chartPreferences', dataPreferences, optionsPreferences);
150
+
151
+ Chartist.Pie('#chartPreferences', {
152
+ labels: ['46%','28%','15%','11%'],
153
+ series: [46, 28, 15, 11]
154
+ });
155
+
156
+ },
157
+
158
+ initContactUsMap: function(){
159
+
160
+ var myLatlng = new google.maps.LatLng(44.433530, 26.093928);
161
+ var mapOptions = {
162
+ zoom: 14,
163
+ center: myLatlng,
164
+ styles: [{"featureType":"water","elementType":"geometry","stylers":[{"color":"#e9e9e9"},{"lightness":17}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":20}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#ffffff"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#ffffff"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":16}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":21}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#dedede"},{"lightness":21}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#ffffff"},{"lightness":16}]},{"elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#333333"},{"lightness":40}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#f2f2f2"},{"lightness":19}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#fefefe"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#fefefe"},{"lightness":17},{"weight":1.2}]}],
165
+ scrollwheel: false, //we disable de scroll over the map, it is a really annoing when you scroll through page
166
+ }
167
+
168
+ var map = new google.maps.Map(document.getElementById("contactUsMap"), mapOptions);
169
+
170
+ var marker = new google.maps.Marker({
171
+ position: myLatlng,
172
+ title:"Petolas Office"
173
+ });
174
+
175
+ // To add the marker to the map, call setMap();
176
+ marker.setMap(map);
177
+
178
+ },
179
+
180
+ checkScrollForPresentationPage: debounce(function() {
181
+ no_of_elements = 0;
182
+
183
+ $elem = $('.components-container');
184
+
185
+ if(demo.isElementInViewport($elem)){
186
+ var parent_top = $elem.offset().top;
187
+ var window_bottom = $(window).scrollTop() + 1000;
188
+ var $card = $('.card-moving-1');
189
+ var $card2 = $('.card-moving-2');
190
+
191
+ oVal = -((window_bottom - parent_top - 800) / 6);
192
+ oVal2 = -((window_bottom - parent_top - 800) / 4);
193
+
194
+ $card.css('transform','translate3d(0px, ' + oVal + 'px, 0px)');
195
+ $card2.css('transform','translate3d(0px, ' + oVal2 + 'px, 0px)');
196
+
197
+ }
198
+
199
+ $img = $('.image-background');
200
+
201
+ if(demo.isElementInViewport($img)){
202
+
203
+ var parent_top = $img.offset().top;
204
+ var window_bottom = $(window).scrollTop();
205
+ var $image = $img.children('img');
206
+
207
+ oVal = ((window_bottom - parent_top) / 3);
208
+ $image.css('transform','translate3d(0px, ' + oVal + 'px, 0px)');
209
+ }
210
+
211
+ }, 12),
212
+
213
+ isElementInViewport: function(elem){
214
+ var $elem = $(elem);
215
+
216
+ // Get the scroll position of the page.
217
+ var scrollElem = ((navigator.userAgent.toLowerCase().indexOf('webkit') != -1) ? 'body' : 'html');
218
+ var viewportTop = $(scrollElem).scrollTop();
219
+ var viewportBottom = viewportTop + $(window).height();
220
+
221
+ // Get the position of the element on the page.
222
+ var elemTop = Math.round( $elem.offset().top );
223
+ var elemBottom = elemTop + $elem.height();
224
+
225
+ return ((elemTop < viewportBottom) && (elemBottom > viewportTop));
226
+ },
227
+
228
+ initSharingButtons: function(){
229
+ $('#twitter').sharrre({
230
+ share: {
231
+ twitter: true
232
+ },
233
+ enableHover: false,
234
+ enableTracking: true,
235
+ enableCounter: false,
236
+ buttons: { twitter: {via: 'XPTOlas'}},
237
+ click: function(api, options){
238
+ api.simulateClick();
239
+ api.openPopup('twitter');
240
+ },
241
+ template: '<i class="fa fa-twitter"></i> Twitter',
242
+ url: 'http://google.com'
243
+ });
244
+
245
+ $('#facebook').sharrre({
246
+ share: {
247
+ facebook: true
248
+ },
249
+ enableHover: false,
250
+ enableTracking: true,
251
+ enableCounter: false,
252
+ click: function(api, options){
253
+ api.simulateClick();
254
+ api.openPopup('facebook');
255
+ },
256
+ template: '<i class="fa fa-facebook-square"></i> Facebook',
257
+ url: 'http://google.com'
258
+ });
259
+
260
+ $('#google').sharrre({
261
+ share: {
262
+ googlePlus: true
263
+ },
264
+ enableCounter: false,
265
+ enableHover: false,
266
+ enableTracking: true,
267
+ click: function(api, options){
268
+ api.simulateClick();
269
+ api.openPopup('googlePlus');
270
+ },
271
+ template: '<i class="fa fa-google-plus"></i> Google',
272
+ url: 'http://google.com'
273
+ });
274
+ }
275
+ }
276
+
277
+ $('a[data-scroll="true"]').click(function(e){
278
+ var scroll_target = $(this).data('id');
279
+ var scroll_trigger = $(this).data('scroll');
280
+
281
+ if(scroll_trigger == true && scroll_target !== undefined){
282
+ e.preventDefault();
283
+
284
+ $('html, body').animate({
285
+ scrollTop: $(scroll_target).offset().top - 50
286
+ }, 1000);
287
+ }
288
+
289
+ });