phcthemes_web_theme_pack 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (250) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +0 -0
  4. data/Rakefile +32 -0
  5. data/app/assets/config/phcthemes_web_theme_pack_manifest.js +3 -0
  6. data/app/assets/javascripts/common/backstretch/jquery.backstretch.js +1602 -0
  7. data/app/assets/javascripts/common/bootstrap-datepicker/bootstrap-datepicker.js +2039 -0
  8. data/app/assets/javascripts/common/bootstrap-markdown/bootstrap-markdown.js +1390 -0
  9. data/app/assets/javascripts/common/bootstrap-select/bootstrap-select.js +3139 -0
  10. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.js +46 -0
  11. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.js.map +1 -0
  12. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.min.js +8 -0
  13. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.js +51 -0
  14. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.js.map +1 -0
  15. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.min.js +8 -0
  16. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.js +46 -0
  17. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.js.map +1 -0
  18. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.min.js +8 -0
  19. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.js +39 -0
  20. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.js.map +1 -0
  21. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.min.js +8 -0
  22. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.js +46 -0
  23. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.js.map +1 -0
  24. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.min.js +8 -0
  25. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.js +46 -0
  26. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.js.map +1 -0
  27. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.min.js +8 -0
  28. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.js +46 -0
  29. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.js.map +1 -0
  30. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.min.js +8 -0
  31. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.js +39 -0
  32. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.js.map +1 -0
  33. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.min.js +8 -0
  34. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.js +39 -0
  35. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.js.map +1 -0
  36. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.min.js +8 -0
  37. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.js +46 -0
  38. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.js.map +1 -0
  39. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.min.js +8 -0
  40. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.js +39 -0
  41. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.js.map +1 -0
  42. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.min.js +8 -0
  43. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.js +39 -0
  44. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.js.map +1 -0
  45. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.min.js +8 -0
  46. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.js +46 -0
  47. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.js.map +1 -0
  48. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.min.js +8 -0
  49. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.js +46 -0
  50. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.js.map +1 -0
  51. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.min.js +8 -0
  52. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.js +46 -0
  53. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.js.map +1 -0
  54. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.min.js +8 -0
  55. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.js +46 -0
  56. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.js.map +1 -0
  57. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.min.js +8 -0
  58. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.js +39 -0
  59. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.js.map +1 -0
  60. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.min.js +8 -0
  61. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.js +41 -0
  62. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.js.map +1 -0
  63. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.min.js +8 -0
  64. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.js +39 -0
  65. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.js.map +1 -0
  66. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.min.js +8 -0
  67. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.js +46 -0
  68. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.js.map +1 -0
  69. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.min.js +8 -0
  70. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.js +46 -0
  71. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.js.map +1 -0
  72. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.min.js +8 -0
  73. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.js +46 -0
  74. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.js.map +1 -0
  75. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.min.js +8 -0
  76. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.js +46 -0
  77. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.js.map +1 -0
  78. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.min.js +8 -0
  79. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.js +46 -0
  80. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.js.map +1 -0
  81. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.min.js +8 -0
  82. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.js +39 -0
  83. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.js.map +1 -0
  84. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.min.js +8 -0
  85. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.js +39 -0
  86. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.js.map +1 -0
  87. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.min.js +8 -0
  88. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.js +39 -0
  89. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.js.map +1 -0
  90. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.min.js +8 -0
  91. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.js +39 -0
  92. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.js.map +1 -0
  93. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.min.js +8 -0
  94. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.js +40 -0
  95. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.js.map +1 -0
  96. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.min.js +8 -0
  97. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.js +40 -0
  98. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.js.map +1 -0
  99. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.min.js +8 -0
  100. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.js +39 -0
  101. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.js.map +1 -0
  102. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.min.js +8 -0
  103. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.js +44 -0
  104. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.js.map +1 -0
  105. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.min.js +8 -0
  106. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.js +46 -0
  107. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.js.map +1 -0
  108. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.min.js +8 -0
  109. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.js +46 -0
  110. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.js.map +1 -0
  111. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.min.js +8 -0
  112. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.js +39 -0
  113. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.js.map +1 -0
  114. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.min.js +8 -0
  115. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.js +46 -0
  116. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.js.map +1 -0
  117. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.min.js +8 -0
  118. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.js +39 -0
  119. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.js.map +1 -0
  120. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.min.js +8 -0
  121. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.js +39 -0
  122. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.js.map +1 -0
  123. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.min.js +8 -0
  124. data/app/assets/javascripts/common/bootstrap/bootstrap.bundle.js +7013 -0
  125. data/app/assets/javascripts/common/custom/custom.js +0 -0
  126. data/app/assets/javascripts/common/daterangepicker/daterangepicker.js +1565 -0
  127. data/app/assets/javascripts/common/flexslider/jquery.flexslider.js +1252 -0
  128. data/app/assets/javascripts/common/greenstock/greensock.js +36 -0
  129. data/app/assets/javascripts/common/icheck/icheck.js +509 -0
  130. data/app/assets/javascripts/common/imagesloaded/imagesloaded.pkgd.js +497 -0
  131. data/app/assets/javascripts/common/isotope/isotope.pkgd.js +3563 -0
  132. data/app/assets/javascripts/common/jquery-countdown/jquery.countdown.js +246 -0
  133. data/app/assets/javascripts/common/jquery-filterizer/jquery.filterizr.min.js +1 -0
  134. data/app/assets/javascripts/common/jquery-placeholder/jquery.placeholder.js +281 -0
  135. data/app/assets/javascripts/common/jquery-validation/jquery.validate.js +1650 -0
  136. data/app/assets/javascripts/common/jqvmap/jquery.vmap.js +1281 -0
  137. data/app/assets/javascripts/common/jqvmap/jquery.vmap.min.js +10 -0
  138. data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.africa.js +2 -0
  139. data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.asia.js +2 -0
  140. data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.australia.js +2 -0
  141. data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.europe.js +2 -0
  142. data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.north-america.js +2 -0
  143. data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.south-america.js +2 -0
  144. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.algeria.js +2 -0
  145. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.argentina.js +1 -0
  146. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.brazil.js +2 -0
  147. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.canada.js +2 -0
  148. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.europe.js +2 -0
  149. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.france.js +1 -0
  150. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.germany.js +2 -0
  151. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.greece.js +1 -0
  152. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.iran.js +6 -0
  153. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.iraq.js +1 -0
  154. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.russia.js +2 -0
  155. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.tunisia.js +2 -0
  156. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.turkey.js +11 -0
  157. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.usa.js +2 -0
  158. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.world.js +2 -0
  159. data/app/assets/javascripts/common/js-cookie/js.cookie.js +165 -0
  160. data/app/assets/javascripts/common/layerslider/layerslider.kreaturamedia.jquery.js +13 -0
  161. data/app/assets/javascripts/common/layerslider/layerslider.origami.js +13 -0
  162. data/app/assets/javascripts/common/layerslider/layerslider.timeline.js +13 -0
  163. data/app/assets/javascripts/common/layerslider/layerslider.transitions.js +13 -0
  164. data/app/assets/javascripts/common/leaflet/leaflet.js +5 -0
  165. data/app/assets/javascripts/common/magnific-popup/jquery.magnific-popup.js +1860 -0
  166. data/app/assets/javascripts/common/mapbox/mapbox.js +51 -0
  167. data/app/assets/javascripts/common/moderizer/modernizr.js +11 -0
  168. data/app/assets/javascripts/common/owl-carousel/owl.carousel.js +3448 -0
  169. data/app/assets/javascripts/common/pace/pace.js +935 -0
  170. data/app/assets/javascripts/common/paroller/jquery.paroller.js +228 -0
  171. data/app/assets/javascripts/common/particlejs/particles.js +1541 -0
  172. data/app/assets/javascripts/common/plyr/plyr.js +9137 -0
  173. data/app/assets/javascripts/common/rangeslider/rangeslider.js +498 -0
  174. data/app/assets/javascripts/common/retina/retina.js +100 -0
  175. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.actions.js +386 -0
  176. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.carousel.js +365 -0
  177. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.kenburn.js +199 -0
  178. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.layeranimation.js +2524 -0
  179. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.migration.js +260 -0
  180. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.navigation.js +1156 -0
  181. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.parallax.js +465 -0
  182. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.slideanims.js +1447 -0
  183. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.video.js +1464 -0
  184. data/app/assets/javascripts/common/rev-slider/jquery.themepunch.revolution.js +3286 -0
  185. data/app/assets/javascripts/common/rev-slider/jquery.themepunch.tools.min.js +8710 -0
  186. data/app/assets/javascripts/common/scrollup/jquery.scrollUp.js +168 -0
  187. data/app/assets/javascripts/common/select2/select2.full.js +6597 -0
  188. data/app/assets/javascripts/common/selectbox/jquery.selectBox.js +1092 -0
  189. data/app/assets/javascripts/common/smooth-scroll/SmoothScroll.js +788 -0
  190. data/app/assets/javascripts/common/spectrum/spectrum.js +2323 -0
  191. data/app/assets/javascripts/common/stepper/jquery.fs.stepper.js +339 -0
  192. data/app/assets/javascripts/common/swiper/swiper.js +8124 -0
  193. data/app/assets/javascripts/common/typed/typed.js +1045 -0
  194. data/app/assets/javascripts/common/visable/jquery.visible.js +68 -0
  195. data/app/assets/javascripts/common/waypoints/jquery.waypoints.js +662 -0
  196. data/app/assets/javascripts/phcthemes_web_theme_pack_appstrap.js +11 -0
  197. data/app/assets/javascripts/phcthemes_web_theme_pack_basic.js +39 -0
  198. data/app/assets/javascripts/phcthemes_web_theme_pack_bold.js +34 -0
  199. data/app/assets/javascripts/phcthemes_web_theme_pack_coloradmin.js +12 -0
  200. data/app/assets/javascripts/phcthemes_web_theme_pack_devine_villas.js +20 -0
  201. data/app/assets/javascripts/phcthemes_web_theme_pack_smarty.js +57 -0
  202. data/app/assets/javascripts/phcthemes_web_theme_pack_xero.js +18 -0
  203. data/app/assets/javascripts/phcthemes_web_theme_pack_zoner.js +24 -0
  204. data/app/assets/javascripts/themes/appstrap/custom/custom.js +0 -0
  205. data/app/assets/javascripts/themes/appstrap/theme/custom-script.js +69 -0
  206. data/app/assets/javascripts/themes/appstrap/theme/script.js +3096 -0
  207. data/app/assets/javascripts/themes/basic/custom/custom.js +0 -0
  208. data/app/assets/javascripts/themes/bold/custom/custom.js +0 -0
  209. data/app/assets/javascripts/themes/coloradmin/custom/custom.js +0 -0
  210. data/app/assets/javascripts/themes/coloradmin/theme/apps.js +236 -0
  211. data/app/assets/javascripts/themes/devine_villas/custom/custom.js +0 -0
  212. data/app/assets/javascripts/themes/devine_villas/theme/dashboard.js +19 -0
  213. data/app/assets/javascripts/themes/devine_villas/theme/main.js +384 -0
  214. data/app/assets/javascripts/themes/devine_villas/theme/map.js +563 -0
  215. data/app/assets/javascripts/themes/devine_villas/theme/searchmap.js +69 -0
  216. data/app/assets/javascripts/themes/smarty/custom/custom.js +0 -0
  217. data/app/assets/javascripts/themes/smarty/theme/scripts.js +4271 -0
  218. data/app/assets/javascripts/themes/xero/custom/custom.js +0 -0
  219. data/app/assets/javascripts/themes/xero/theme/app.js +696 -0
  220. data/app/assets/javascripts/themes/zoner/custom-maps/custom-map.js +289 -0
  221. data/app/assets/javascripts/themes/zoner/custom/custom.js +0 -0
  222. data/app/assets/javascripts/themes/zoner/draggable/draggable.js +196 -0
  223. data/app/assets/javascripts/themes/zoner/jquery-dependclass/dependclass.js +56 -0
  224. data/app/assets/javascripts/themes/zoner/jquery-slider/jquery.slider.js +700 -0
  225. data/app/assets/javascripts/themes/zoner/jquery-vanillabox/jquery.vanillabox.min.js +24 -0
  226. data/app/assets/javascripts/themes/zoner/jshashtable/hashtable.js +402 -0
  227. data/app/assets/javascripts/themes/zoner/numberformatter/numberformatter.js +566 -0
  228. data/app/assets/javascripts/themes/zoner/simple-js-templating/tmpl.js +35 -0
  229. data/app/assets/javascripts/themes/zoner/theme/main.js +667 -0
  230. data/app/assets/stylesheets/common/custom/custom.scss +0 -0
  231. data/app/assets/stylesheets/phcthemes_web_theme_pack_appstrap.scss +28 -0
  232. data/app/assets/stylesheets/phcthemes_web_theme_pack_basic.scss +0 -0
  233. data/app/assets/stylesheets/phcthemes_web_theme_pack_bold.scss +21 -0
  234. data/app/assets/stylesheets/phcthemes_web_theme_pack_coloradmin.scss +22 -0
  235. data/app/assets/stylesheets/phcthemes_web_theme_pack_devine_villas.scss +28 -0
  236. data/app/assets/stylesheets/phcthemes_web_theme_pack_smarty.scss +47 -0
  237. data/app/assets/stylesheets/phcthemes_web_theme_pack_xero.scss +28 -0
  238. data/app/assets/stylesheets/phcthemes_web_theme_pack_zoner.scss +22 -0
  239. data/app/assets/stylesheets/themes/appstrap/custom/custom.scss +0 -0
  240. data/app/assets/stylesheets/themes/bold/custom/custom.scss +0 -0
  241. data/app/assets/stylesheets/themes/coloradmin/custom/custom.scss +0 -0
  242. data/app/assets/stylesheets/themes/devine_villas/custom/custom.scss +0 -0
  243. data/app/assets/stylesheets/themes/smarty/custom/custom.scss +0 -0
  244. data/app/assets/stylesheets/themes/xero/custom/custom.scss +0 -0
  245. data/app/assets/stylesheets/themes/zoner/custom/custom.scss +0 -0
  246. data/lib/phcthemes_web_theme_pack.rb +5 -0
  247. data/lib/phcthemes_web_theme_pack/engine.rb +13 -0
  248. data/lib/phcthemes_web_theme_pack/version.rb +3 -0
  249. data/lib/tasks/phcthemes_web_theme_pack_tasks.rake +4 -0
  250. metadata +375 -0
@@ -0,0 +1,696 @@
1
+ $(function () {
2
+
3
+ "use strict";
4
+
5
+ // On window's load
6
+ $(window).on('load', function () {
7
+ setTimeout(function () {
8
+ $(".page_loader").fadeOut("fast");
9
+ $('link[id="style_sheet"]').attr('href', 'assets/css/skins/default.css');
10
+ }, 1000);
11
+ if ($('body .filter-portfolio').length > 0) {
12
+ $(function () {
13
+ $('.filter-portfolio').filterizr(
14
+ {
15
+ delay: 0
16
+ }
17
+ );
18
+ });
19
+ $('.filteriz-navigation li').on('click', function () {
20
+ $('.filteriz-navigation .filtr').removeClass('active');
21
+ $(this).addClass('active');
22
+ });
23
+ }
24
+ });
25
+
26
+
27
+ // Header shrink while page scroll
28
+ adjustHeader();
29
+ doSticky();
30
+ $(window).on('scroll', function () {
31
+ adjustHeader();
32
+ doSticky();
33
+ });
34
+
35
+ function adjustHeader()
36
+ {
37
+ var windowWidth = $(window).width();
38
+ if(windowWidth > 992) {
39
+ if ($(document).scrollTop() >= 100) {
40
+ if($('.header-shrink').length < 1) {
41
+ $('.sticky-header').addClass('header-shrink');
42
+ }
43
+ if($('.do-sticky').length < 1) {
44
+ $('.logo img').attr('src', 'assets/img/logos/black-logo.png');
45
+ }
46
+ }
47
+ else {
48
+ $('.sticky-header').removeClass('header-shrink');
49
+ if($('.do-sticky').length < 1) {
50
+ $('.logo img').attr('src', 'assets/img/logos/logo.png');
51
+ }
52
+ }
53
+ } else {
54
+ $('.logo img').attr('src', 'assets/img/logos/black-logo.png');
55
+ }
56
+ }
57
+
58
+ function doSticky()
59
+ {
60
+ if ($(document).scrollTop() > 40) {
61
+ $('.do-sticky').addClass('sticky-header');
62
+ //$('.do-sticky').addClass('header-shrink');
63
+ }
64
+ else {
65
+ $('.do-sticky').removeClass('sticky-header');
66
+ //$('.do-sticky').removeClass('header-shrink');
67
+ }
68
+ }
69
+
70
+ // WOW animation library initialization
71
+ var wow = new WOW(
72
+ {
73
+ animateClass: 'animated',
74
+ offset: 100,
75
+ mobile: false
76
+ }
77
+ );
78
+ wow.init();
79
+
80
+ $(".open-offcanvas, .close-offcanvas").on("click", function () {
81
+ return $("body").toggleClass("off-canvas-sidebar-open"), !1
82
+ });
83
+
84
+ $(document).on("click", function (t) {
85
+ var a = $(".off-canvas-sidebar");
86
+ a.is(t.target) || 0 !== a.has(t.target).length || $("body").removeClass("off-canvas-sidebar-open")
87
+ });
88
+
89
+ // Banner slider
90
+ //Function to animate slider captions
91
+ function doAnimations(elems) {
92
+ //Cache the animationend event in a variable
93
+ var animEndEv = 'webkitAnimationEnd animationend';
94
+ elems.each(function () {
95
+ var $this = $(this),
96
+ $animationType = $this.data('animation');
97
+ $this.addClass($animationType).one(animEndEv, function () {
98
+ $this.removeClass($animationType);
99
+ });
100
+ });
101
+ }
102
+
103
+ //Variables on page load
104
+ var $myCarousel = $('#carouselExampleIndicators');
105
+ var $firstAnimatingElems = $myCarousel.find('.item:first').find("[data-animation ^= 'animated']");
106
+ //Initialize carousel
107
+ $myCarousel.carousel();
108
+
109
+ //Animate captions in first slide on page load
110
+ doAnimations($firstAnimatingElems);
111
+ //Pause carousel
112
+ $myCarousel.carousel('pause');
113
+ //Other slides to be animated on carousel slide event
114
+ $myCarousel.on('slide.bs.carousel', function (e) {
115
+ var $animatingElems = $(e.relatedTarget).find("[data-animation ^= 'animated']");
116
+ doAnimations($animatingElems);
117
+ });
118
+ $('#carouselExampleIndicators').carousel({
119
+ interval: 3000,
120
+ pause: "false"
121
+ });
122
+
123
+ // Megamenu activation
124
+ $(".megamenu").on("click", function (e) {
125
+ e.stopPropagation();
126
+ });
127
+
128
+ // DROPDOWN ON HOVER
129
+
130
+ $(".dropdown").on('hover', function () {
131
+ $('.dropdown-menu', this).stop().fadeIn("fast");
132
+ },
133
+ function () {
134
+ $('.dropdown-menu', this).stop().fadeOut("fast");
135
+ });
136
+
137
+
138
+ // Counter Activation
139
+ function isCounterElementVisible($elementToBeChecked)
140
+ {
141
+ var TopView = $(window).scrollTop();
142
+ var BotView = TopView + $(window).height();
143
+ var TopElement = $elementToBeChecked.offset().top;
144
+ var BotElement = TopElement + $elementToBeChecked.height();
145
+ return ((BotElement <= BotView) && (TopElement >= TopView));
146
+ }
147
+ $(window).on('scroll', function () {
148
+ $( ".counter" ).each(function() {
149
+ var isOnView = isCounterElementVisible($(this));
150
+ if(isOnView && !$(this).hasClass('Starting')){
151
+ $(this).addClass('Starting');
152
+ $(this).prop('Counter',0).animate({
153
+ Counter: $(this).text()
154
+ }, {
155
+ duration: 3000,
156
+ easing: 'swing',
157
+ step: function (now) {
158
+ $(this).text(Math.ceil(now));
159
+ }
160
+ });
161
+ }
162
+ });
163
+ });
164
+
165
+ // Dropzone initialization
166
+ Dropzone.autoDiscover = false;
167
+ $(function () {
168
+ $("div#myDropZone").dropzone({
169
+ url: "/file-upload"
170
+ });
171
+ });
172
+
173
+ // Full Page Search Activation
174
+ $(function () {
175
+ $('a[href="#full-page-search"]').on('click', function(event) {
176
+ event.preventDefault();
177
+ $('#full-page-search').addClass('open');
178
+ $('#full-page-search > form > input[type="search"]').focus();
179
+ });
180
+
181
+ $('#full-page-search, #full-page-search button.close').on('click keyup', function(event) {
182
+ if (event.target === this || event.target.className === 'close' || event.keyCode === 27) {
183
+ $(this).removeClass('open');
184
+ }
185
+ });
186
+
187
+ $('form').submit(function(event) {
188
+ event.preventDefault();
189
+ return false;
190
+ })
191
+ });
192
+
193
+
194
+
195
+
196
+ // Page scroller initialization.
197
+ $.scrollUp({
198
+ scrollName: 'page_scroller',
199
+ scrollDistance: 300,
200
+ scrollFrom: 'top',
201
+ scrollSpeed: 500,
202
+ easingType: 'linear',
203
+ animation: 'fade',
204
+ animationSpeed: 200,
205
+ scrollTrigger: false,
206
+ scrollTarget: false,
207
+ scrollText: '<i class="fa fa-chevron-up"></i>',
208
+ scrollTitle: false,
209
+ scrollImg: false,
210
+ activeOverlay: false,
211
+ zIndex: 2147483647
212
+ });
213
+
214
+
215
+ // Magnify activation
216
+ $('.property-magnify-gallery').each(function() {
217
+ $(this).magnificPopup({
218
+ delegate: 'a',
219
+ type: 'image',
220
+ gallery:{enabled:true}
221
+ });
222
+ });
223
+
224
+ // Range sliders activation
225
+ $(".range-slider-ui").each(function () {
226
+ var minRangeValue = $(this).attr('data-min');
227
+ var maxRangeValue = $(this).attr('data-max');
228
+ var minName = $(this).attr('data-min-name');
229
+ var maxName = $(this).attr('data-max-name');
230
+ var unit = $(this).attr('data-unit');
231
+
232
+ $(this).append("" +
233
+ "<span class='min-value'></span> " +
234
+ "<span class='max-value'></span>" +
235
+ "<input class='current-min' type='hidden' name='"+minName+"'>" +
236
+ "<input class='current-max' type='hidden' name='"+maxName+"'>"
237
+ );
238
+ $(this).slider({
239
+ range: true,
240
+ min: minRangeValue,
241
+ max: maxRangeValue,
242
+ values: [minRangeValue, maxRangeValue],
243
+ slide: function (event, ui) {
244
+ event = event;
245
+ var currentMin = parseInt(ui.values[0], 10);
246
+ var currentMax = parseInt(ui.values[1], 10);
247
+ $(this).children(".min-value").text( currentMin + " " + unit);
248
+ $(this).children(".max-value").text(currentMax + " " + unit);
249
+ $(this).children(".current-min").val(currentMin);
250
+ $(this).children(".current-max").val(currentMax);
251
+ }
252
+ });
253
+
254
+ var currentMin = parseInt($(this).slider("values", 0), 10);
255
+ var currentMax = parseInt($(this).slider("values", 1), 10);
256
+ $(this).children(".min-value").text( currentMin + " " + unit);
257
+ $(this).children(".max-value").text(currentMax + " " + unit);
258
+ $(this).children(".current-min").val(currentMin);
259
+ $(this).children(".current-max").val(currentMax);
260
+ });
261
+
262
+ // Select picket activation
263
+ $('select').selectBox(
264
+ {
265
+ mobile: true,
266
+ }
267
+ );
268
+
269
+
270
+ // Dropdown activation
271
+ $('.dropdown-menu a.dropdown-toggle').on('click', function(e) {
272
+ if (!$(this).next().hasClass('show')) {
273
+ $(this).parents('.dropdown-menu').first().find('.show').removeClass("show");
274
+ }
275
+ var $subMenu = $(this).next(".dropdown-menu");
276
+ $subMenu.toggleClass('show');
277
+
278
+
279
+ $(this).parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', function(e) {
280
+ $('.dropdown-submenu .show').removeClass("show");
281
+ });
282
+
283
+ return false;
284
+ });
285
+
286
+
287
+ // Modal activation
288
+ $('.property-video').on('click', function () {
289
+ $('#propertyModal').modal('show');
290
+ });
291
+
292
+
293
+ // Google map activation
294
+ function LoadMap(propertes) {
295
+ var defaultLat = 40.7110411;
296
+ var defaultLng = -74.0110326;
297
+ var mapOptions = {
298
+ center: new google.maps.LatLng(defaultLat, defaultLng),
299
+ zoom: 15,
300
+ scrollwheel: false,
301
+ styles: [
302
+ {
303
+ featureType: "administrative",
304
+ elementType: "labels",
305
+ stylers: [
306
+ {visibility: "off"}
307
+ ]
308
+ },
309
+ {
310
+ featureType: "water",
311
+ elementType: "labels",
312
+ stylers: [
313
+ {visibility: "off"}
314
+ ]
315
+ },
316
+ {
317
+ featureType: 'poi.business',
318
+ stylers: [{visibility: 'off'}]
319
+ },
320
+ {
321
+ featureType: 'transit',
322
+ elementType: 'labels.icon',
323
+ stylers: [{visibility: 'off'}]
324
+ },
325
+ ]
326
+ };
327
+ var map = new google.maps.Map(document.getElementById("contactMap"), mapOptions);
328
+ var infoWindow = new google.maps.InfoWindow();
329
+ var myLatlng = new google.maps.LatLng(40.7110411, -74.0110326);
330
+
331
+ var marker = new google.maps.Marker({
332
+ position: myLatlng,
333
+ map: map
334
+ });
335
+ (function (marker) {
336
+ google.maps.event.addListener(marker, "click", function (e) {
337
+ infoWindow.setContent("" +
338
+ "<div class='map-properties contact-map-content'>" +
339
+ "<div class='map-content'>" +
340
+ "<p class='address'>123 Kathal St. Tampa City </p>" +
341
+ "<ul class='map-properties-list'> " +
342
+ "<li><i class='fa fa-phone'></i> +XXXX XXXX XXX</li> " +
343
+ "<li><i class='fa fa-envelope'></i> info@themevessel.com</li> " +
344
+ "<li><a href='index.html'><i class='fa fa-globe'></i> http://http://themevessel.com</li></a> " +
345
+ "</ul>" +
346
+ "</div>" +
347
+ "</div>");
348
+ infoWindow.open(map, marker);
349
+ });
350
+ })(marker);
351
+ }
352
+
353
+ if($('#contactMap').length){
354
+ LoadMap();
355
+ }
356
+
357
+
358
+ // Countdown activation
359
+ $( function() {
360
+ // Add background image
361
+ //$.backstretch('../img/nature.jpg');
362
+ var endDate = "December 27, 2019 15:03:25";
363
+ $('.countdown.simple').countdown({ date: endDate });
364
+ $('.countdown.styled').countdown({
365
+ date: endDate,
366
+ render: function(data) {
367
+ $(this.el).html("<div>" + this.leadingZeros(data.days, 3) + " <span>Days</span></div><div>" + this.leadingZeros(data.hours, 2) + " <span>Hours</span></div><div>" + this.leadingZeros(data.min, 2) + " <span>Minutes</span></div><div>" + this.leadingZeros(data.sec, 2) + " <span>Seconds</span></div>");
368
+ }
369
+ });
370
+ $('.countdown.callback').countdown({
371
+ date: +(new Date) + 10000,
372
+ render: function(data) {
373
+ $(this.el).text(this.leadingZeros(data.sec, 2) + " sec");
374
+ },
375
+ onEnd: function() {
376
+ $(this.el).addClass('ended');
377
+ }
378
+ }).on("click", function() {
379
+ $(this).removeClass('ended').data('countdown').update(+(new Date) + 10000).start();
380
+ });
381
+
382
+ });
383
+
384
+
385
+ // Multi-item carousel activation
386
+ var itemsMainDiv = ('.multi-carousel');
387
+ var itemsDiv = ('.multi-carousel-inner');
388
+ var itemWidth = "";
389
+
390
+ $('.leftLst, .rightLst').on('click', function () {
391
+ var condition = $(this).hasClass("leftLst");
392
+ if (condition)
393
+ click(0, this);
394
+ else
395
+ click(1, this)
396
+ });
397
+ ResCarouselSize();
398
+
399
+ $(window).on('resize', function () {
400
+ ResCarouselSize();
401
+ resizeModalsContent();
402
+ adjustHeader()
403
+ });
404
+ function ResCarouselSize() {
405
+ var incno = 0;
406
+ var dataItems = ("data-items");
407
+ var itemClass = ('.item');
408
+ var id = 0;
409
+ var btnParentSb = '';
410
+ var itemsSplit = '';
411
+ var sampwidth = $(itemsMainDiv).width();
412
+ var bodyWidth = $('body').width();
413
+ $(itemsDiv).each(function () {
414
+ id = id + 1;
415
+ var itemNumbers = $(this).find(itemClass).length;
416
+ btnParentSb = $(this).parent().attr(dataItems);
417
+ itemsSplit = btnParentSb.split(',');
418
+ $(this).parent().attr("id", "multiCarousel" + id);
419
+
420
+
421
+ if (bodyWidth >= 1200) {
422
+ incno = itemsSplit[3];
423
+ itemWidth = sampwidth / incno;
424
+ }
425
+ else if (bodyWidth >= 992) {
426
+ incno = itemsSplit[2];
427
+ itemWidth = sampwidth / incno;
428
+ }
429
+ else if (bodyWidth >= 768) {
430
+ incno = itemsSplit[1];
431
+ itemWidth = sampwidth / incno;
432
+ }
433
+ else {
434
+ incno = itemsSplit[0];
435
+ itemWidth = sampwidth / incno;
436
+ }
437
+ $(this).css({ 'transform': 'translateX(0px)', 'width': itemWidth * itemNumbers });
438
+ $(this).find(itemClass).each(function () {
439
+ $(this).outerWidth(itemWidth);
440
+ });
441
+
442
+ $(".leftLst").addClass("over");
443
+ $(".rightLst").removeClass("over");
444
+
445
+ });
446
+ }
447
+
448
+ function ResCarousel(e, el, s) {
449
+ var leftBtn = ('.leftLst');
450
+ var rightBtn = ('.rightLst');
451
+ var translateXval = '';
452
+ var divStyle = $(el + ' ' + itemsDiv).css('transform');
453
+ var values = divStyle.match(/-?[\d\.]+/g);
454
+ var xds = Math.abs(values[4]);
455
+ if (e === 0) {
456
+ translateXval = parseInt(xds, 10) - parseInt(itemWidth * s, 10);
457
+ $(el + ' ' + rightBtn).removeClass("over");
458
+
459
+ if (translateXval <= itemWidth / 2) {
460
+ translateXval = 0;
461
+ $(el + ' ' + leftBtn).addClass("over");
462
+ }
463
+ }
464
+ else if (e === 1) {
465
+ var itemsCondition = $(el).find(itemsDiv).width() - $(el).width();
466
+ translateXval = parseInt(xds, 10) + parseInt(itemWidth * s, 10);
467
+ $(el + ' ' + leftBtn).removeClass("over");
468
+
469
+ if (translateXval >= itemsCondition - itemWidth / 2) {
470
+ translateXval = itemsCondition;
471
+ $(el + ' ' + rightBtn).addClass("over");
472
+ }
473
+ }
474
+ $(el + ' ' + itemsDiv).css('transform', 'translateX(' + -translateXval + 'px)');
475
+ }
476
+
477
+ function click(ell, ee) {
478
+ var Parent = "#" + $(ee).parent().attr("id");
479
+ var slide = $(Parent).attr("data-slide");
480
+ ResCarousel(ell, Parent, slide);
481
+ }
482
+
483
+
484
+ resizeModalsContent();
485
+ function resizeModalsContent() {
486
+ var winWidth = $(window).width();
487
+ var videoWidth = 400;
488
+ if(winWidth < 992) {
489
+ videoWidth = 500;
490
+ }
491
+ var ratio = .6665;
492
+ var videoHeight = videoWidth * ratio;
493
+ $('.modalIframe').css('height', videoHeight);
494
+ }
495
+
496
+
497
+ // Typed string activation
498
+ if($('#typed-strings').length > 0){
499
+ var typed = new Typed('#typed', {
500
+ stringsElement: '#typed-strings',
501
+ typeSpeed: 100,
502
+ backSpeed: 0,
503
+ backDelay: 1000,
504
+ startDelay: 1000,
505
+ loop: true
506
+ });
507
+ }
508
+
509
+ if($('#typed-strings2').length > 0){
510
+ var typed = new Typed('#typed2', {
511
+ stringsElement: '#typed-strings2',
512
+ typeSpeed: 100,
513
+ backSpeed: 0,
514
+ backDelay: 1000,
515
+ startDelay: 1000,
516
+ loop: true
517
+ });
518
+ }
519
+
520
+ if($('#typed-strings3').length > 0){
521
+ var typed = new Typed('#typed3', {
522
+ stringsElement: '#typed-strings3',
523
+ typeSpeed: 100,
524
+ backSpeed: 0,
525
+ backDelay: 1000,
526
+ startDelay: 1000,
527
+ loop: true
528
+ });
529
+ }
530
+
531
+
532
+ //Youtube carousel activation
533
+ if($('.player').length > 0){
534
+ $(document).on('ready', function () {
535
+ $(".player").mb_YTPlayer();
536
+ });
537
+ }
538
+
539
+
540
+ /* ---- particles.js config ---- */
541
+ if($('#particles-banner').length > 0){
542
+ loadParticlesBackground();
543
+ }
544
+
545
+ function loadParticlesBackground() {
546
+ particlesJS("particles-banner", {
547
+ "particles": {
548
+ "number": {
549
+ "value": 100,
550
+ "density": {
551
+ "enable": true,
552
+ "value_area":1000
553
+ }
554
+ },
555
+ "color": {
556
+ "value": ["#aa73ff", "#f8c210", "#83d238", "#33b1f8"]
557
+ },
558
+
559
+ "shape": {
560
+ "type": "circle",
561
+ "stroke": {
562
+ "width": 0,
563
+ "color": "#fff"
564
+ },
565
+ "polygon": {
566
+ "nb_sides": 2
567
+ },
568
+ "image": {
569
+ "src": "img/github.svg",
570
+ "width": 100,
571
+ "height": 100
572
+ }
573
+ },
574
+ "opacity": {
575
+ "value": 0.6,
576
+ "random": false,
577
+ "anim": {
578
+ "enable": false,
579
+ "speed": 1,
580
+ "opacity_min": 0.1,
581
+ "sync": false
582
+ }
583
+ },
584
+ "size": {
585
+ "value": 2,
586
+ "random": true,
587
+ "anim": {
588
+ "enable": false,
589
+ "speed": 40,
590
+ "size_min": 0.1,
591
+ "sync": false
592
+ }
593
+ },
594
+ "line_linked": {
595
+ "enable": true,
596
+ "distance": 120,
597
+ "color": "#ffffff",
598
+ "opacity": 0.4,
599
+ "width": 1
600
+ },
601
+ },
602
+ "interactivity": {
603
+ "detect_on": "canvas",
604
+ "events": {
605
+ "onhover": {
606
+ "enable": true,
607
+ "mode": "grab"
608
+ },
609
+ "onclick": {
610
+ "enable": false
611
+ },
612
+ "resize": true
613
+ },
614
+ "modes": {
615
+ "grab": {
616
+ "distance": 140,
617
+ "line_linked": {
618
+ "opacity": 1
619
+ }
620
+ },
621
+ "bubble": {
622
+ "distance": 400,
623
+ "size": 40,
624
+ "duration": 2,
625
+ "opacity": 8,
626
+ "speed": 3
627
+ },
628
+ "repulse": {
629
+ "distance": 200,
630
+ "duration": 0.4
631
+ },
632
+ "push": {
633
+ "particles_nb": 4
634
+ },
635
+ "remove": {
636
+ "particles_nb": 2
637
+ }
638
+ }
639
+ },
640
+ "retina_detect": true
641
+ });
642
+ }
643
+
644
+
645
+ // Switching Color schema
646
+ function populateColorPlates() {
647
+ var plateStings = '<div class="option-panel option-panel-collased">\n' +
648
+ ' <h2>Change Color</h2>\n' +
649
+ ' <div class="color-plate default-plate" data-color="default"></div>\n' +
650
+ ' <div class="color-plate blue-plate" data-color="blue"></div>\n' +
651
+ ' <div class="color-plate yellow-plate" data-color="yellow"></div>\n' +
652
+ ' <div class="color-plate red-plate" data-color="red"></div>\n' +
653
+ ' <div class="color-plate green-light-plate" data-color="green-light"></div>\n' +
654
+ ' <div class="color-plate orange-plate" data-color="orange"></div>\n' +
655
+ ' <div class="color-plate yellow-light-plate" data-color="yellow-light"></div>\n' +
656
+ ' <div class="color-plate green-light-2-plate" data-color="green-light-2"></div>\n' +
657
+ ' <div class="color-plate olive-plate" data-color="olive"></div>\n' +
658
+ ' <div class="color-plate purple-plate" data-color="purple"></div>\n' +
659
+ ' <div class="color-plate blue-light-plate" data-color="blue-light"></div>\n' +
660
+ ' <div class="color-plate brown-plate" data-color="brown"></div>\n' +
661
+ ' <div class="setting-button">\n' +
662
+ ' <i class="fa fa-gear"></i>\n' +
663
+ ' </div>\n' +
664
+ '</div>';
665
+ $('body').append(plateStings);
666
+ }
667
+ $(document).on('click', '.color-plate', function () {
668
+ var name = $(this).attr('data-color');
669
+ $('link[id="style_sheet"]').attr('href', 'assets/css/skins/' + name + '.css');
670
+ });
671
+
672
+ $(document).on('click', '.setting-button', function () {
673
+ $('.option-panel').toggleClass('option-panel-collased');
674
+ });
675
+ });
676
+
677
+
678
+
679
+
680
+
681
+
682
+ // mCustomScrollbar initialization
683
+ (function ($) {
684
+ $(window).on('resize', function () {
685
+ $('#map').css('height', $(this).height() - 110);
686
+ if ($(this).width() > 768) {
687
+ $(".map-content-sidebar").mCustomScrollbar(
688
+ {theme: "minimal-dark"}
689
+ );
690
+ $('.map-content-sidebar').css('height', $(this).height() - 110);
691
+ } else {
692
+ $('.map-content-sidebar').mCustomScrollbar("destroy"); //destroy scrollbar
693
+ $('.map-content-sidebar').css('height', '100%');
694
+ }
695
+ }).trigger("resize");
696
+ })(jQuery);