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,289 @@
1
+ var mapStyles = [{featureType:'water',elementType:'all',stylers:[{hue:'#d7ebef'},{saturation:-5},{lightness:54},{visibility:'on'}]},{featureType:'landscape',elementType:'all',stylers:[{hue:'#eceae6'},{saturation:-49},{lightness:22},{visibility:'on'}]},{featureType:'poi.park',elementType:'all',stylers:[{hue:'#dddbd7'},{saturation:-81},{lightness:34},{visibility:'on'}]},{featureType:'poi.medical',elementType:'all',stylers:[{hue:'#dddbd7'},{saturation:-80},{lightness:-2},{visibility:'on'}]},{featureType:'poi.school',elementType:'all',stylers:[{hue:'#c8c6c3'},{saturation:-91},{lightness:-7},{visibility:'on'}]},{featureType:'landscape.natural',elementType:'all',stylers:[{hue:'#c8c6c3'},{saturation:-71},{lightness:-18},{visibility:'on'}]},{featureType:'road.highway',elementType:'all',stylers:[{hue:'#dddbd7'},{saturation:-92},{lightness:60},{visibility:'on'}]},{featureType:'poi',elementType:'all',stylers:[{hue:'#dddbd7'},{saturation:-81},{lightness:34},{visibility:'on'}]},{featureType:'road.arterial',elementType:'all',stylers:[{hue:'#dddbd7'},{saturation:-92},{lightness:37},{visibility:'on'}]},{featureType:'transit',elementType:'geometry',stylers:[{hue:'#c8c6c3'},{saturation:4},{lightness:10},{visibility:'on'}]}];
2
+
3
+ $.ajaxSetup({
4
+ cache: true
5
+ });
6
+
7
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8
+ // Google Map - Homepage
9
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
10
+
11
+ function createHomepageGoogleMap(_latitude,_longitude){
12
+ setMapHeight();
13
+ if( document.getElementById('map') != null ){
14
+ $.getScript("assets/js/locations.js", function(){
15
+ var map = new google.maps.Map(document.getElementById('map'), {
16
+ zoom: 14,
17
+ scrollwheel: false,
18
+ center: new google.maps.LatLng(_latitude, _longitude),
19
+ mapTypeId: google.maps.MapTypeId.ROADMAP,
20
+ styles: mapStyles
21
+ });
22
+ var i;
23
+ var newMarkers = [];
24
+ for (i = 0; i < locations.length; i++) {
25
+ var pictureLabel = document.createElement("img");
26
+ pictureLabel.src = locations[i][7];
27
+ var boxText = document.createElement("div");
28
+ infoboxOptions = {
29
+ content: boxText,
30
+ disableAutoPan: false,
31
+ //maxWidth: 150,
32
+ pixelOffset: new google.maps.Size(-100, 0),
33
+ zIndex: null,
34
+ alignBottom: true,
35
+ boxClass: "infobox-wrapper",
36
+ enableEventPropagation: true,
37
+ closeBoxMargin: "0px 0px -8px 0px",
38
+ closeBoxURL: "assets/img/close-btn.png",
39
+ infoBoxClearance: new google.maps.Size(1, 1)
40
+ };
41
+ var marker = new MarkerWithLabel({
42
+ title: locations[i][0],
43
+ position: new google.maps.LatLng(locations[i][3], locations[i][4]),
44
+ map: map,
45
+ icon: 'assets/img/marker.png',
46
+ labelContent: pictureLabel,
47
+ labelAnchor: new google.maps.Point(50, 0),
48
+ labelClass: "marker-style"
49
+ });
50
+ newMarkers.push(marker);
51
+ boxText.innerHTML =
52
+ '<div class="infobox-inner">' +
53
+ '<a href="' + locations[i][5] + '">' +
54
+ '<div class="infobox-image" style="position: relative">' +
55
+ '<img src="' + locations[i][6] + '">' + '<div><span class="infobox-price">' + locations[i][2] + '</span></div>' +
56
+ '</div>' +
57
+ '</a>' +
58
+ '<div class="infobox-description">' +
59
+ '<div class="infobox-title"><a href="'+ locations[i][5] +'">' + locations[i][0] + '</a></div>' +
60
+ '<div class="infobox-location">' + locations[i][1] + '</div>' +
61
+ '</div>' +
62
+ '</div>';
63
+ //Define the infobox
64
+ newMarkers[i].infobox = new InfoBox(infoboxOptions);
65
+ google.maps.event.addListener(marker, 'click', (function(marker, i) {
66
+ return function() {
67
+ for (h = 0; h < newMarkers.length; h++) {
68
+ newMarkers[h].infobox.close();
69
+ }
70
+ newMarkers[i].infobox.open(map, this);
71
+ }
72
+ })(marker, i));
73
+
74
+ }
75
+ var clusterStyles = [
76
+ {
77
+ url: 'assets/img/cluster.png',
78
+ height: 37,
79
+ width: 37
80
+ }
81
+ ];
82
+ var markerCluster = new MarkerClusterer(map, newMarkers, {styles: clusterStyles, maxZoom: 15});
83
+ $('body').addClass('loaded');
84
+ setTimeout(function() {
85
+ $('body').removeClass('has-fullscreen-map');
86
+ }, 1000);
87
+ $('#map').removeClass('fade-map');
88
+
89
+ // Dynamically show/hide markers --------------------------------------------------------------
90
+
91
+ google.maps.event.addListener(map, 'idle', function() {
92
+
93
+ for (var i=0; i < locations.length; i++) {
94
+ if ( map.getBounds().contains(newMarkers[i].getPosition()) ){
95
+ // newMarkers[i].setVisible(true); // <- Uncomment this line to use dynamic displaying of markers
96
+
97
+ //newMarkers[i].setMap(map);
98
+ //markerCluster.setMap(map);
99
+ } else {
100
+ // newMarkers[i].setVisible(false); // <- Uncomment this line to use dynamic displaying of markers
101
+
102
+ //newMarkers[i].setMap(null);
103
+ //markerCluster.setMap(null);
104
+ }
105
+ }
106
+ });
107
+
108
+ // Function which set marker to the user position
109
+ function success(position) {
110
+ var center = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
111
+ map.panTo(center);
112
+ $('#map').removeClass('fade-map');
113
+ }
114
+
115
+ });
116
+ // Enable Geo Location on button click
117
+ $('.geo-location').on("click", function() {
118
+ if (navigator.geolocation) {
119
+ $('#map').addClass('fade-map');
120
+ navigator.geolocation.getCurrentPosition(success);
121
+ } else {
122
+ error('Geo Location is not supported');
123
+ }
124
+ });
125
+ }
126
+ }
127
+
128
+ // Function which set marker to the user position
129
+ function success(position) {
130
+ createHomepageGoogleMap(position.coords.latitude, position.coords.longitude);
131
+ }
132
+
133
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
134
+ // Google Map - Property Detail
135
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
136
+
137
+ function initMap(propertyId) {
138
+ $.getScript("assets/js/locations.js", function(){
139
+ var subtractPosition = 0;
140
+ var mapWrapper = $('#property-detail-map.float');
141
+
142
+ if (document.documentElement.clientWidth > 1200) {
143
+ subtractPosition = 0.013;
144
+ }
145
+ if (document.documentElement.clientWidth < 1199) {
146
+ subtractPosition = 0.006;
147
+ }
148
+ if (document.documentElement.clientWidth < 979) {
149
+ subtractPosition = 0.001;
150
+ }
151
+ if (document.documentElement.clientWidth < 767) {
152
+ subtractPosition = 0;
153
+ }
154
+
155
+ var mapCenter = new google.maps.LatLng(locations[propertyId][3],locations[propertyId][4]);
156
+
157
+ if ( $("#property-detail-map").hasClass("float") ) {
158
+ mapCenter = new google.maps.LatLng(locations[propertyId][3],locations[propertyId][4] - subtractPosition);
159
+ mapWrapper.css('width', mapWrapper.width() + mapWrapper.offset().left )
160
+ }
161
+
162
+ var mapOptions = {
163
+ zoom: 15,
164
+ center: mapCenter,
165
+ disableDefaultUI: false,
166
+ scrollwheel: false,
167
+ styles: mapStyles
168
+ };
169
+ var mapElement = document.getElementById('property-detail-map');
170
+ var map = new google.maps.Map(mapElement, mapOptions);
171
+
172
+ var pictureLabel = document.createElement("img");
173
+ pictureLabel.src = locations[propertyId][7];
174
+ var markerPosition = new google.maps.LatLng(locations[propertyId][3],locations[propertyId][4]);
175
+ var marker = new MarkerWithLabel({
176
+ position: markerPosition,
177
+ map: map,
178
+ icon: 'assets/img/marker.png',
179
+ labelContent: pictureLabel,
180
+ labelAnchor: new google.maps.Point(50, 0),
181
+ labelClass: "marker-style"
182
+ });
183
+ });
184
+ }
185
+
186
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
187
+ // Google Map - Contact
188
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
189
+
190
+ function contactUsMap(){
191
+ var mapCenter = new google.maps.LatLng(_latitude,_longitude);
192
+ var mapOptions = {
193
+ zoom: 15,
194
+ center: mapCenter,
195
+ disableDefaultUI: false,
196
+ scrollwheel: false,
197
+ styles: mapStyles
198
+ };
199
+ var mapElement = document.getElementById('contact-map');
200
+ var map = new google.maps.Map(mapElement, mapOptions);
201
+
202
+ var marker = new MarkerWithLabel({
203
+ position: mapCenter,
204
+ map: map,
205
+ icon: 'assets/img/marker.png',
206
+ //labelContent: pictureLabel,
207
+ labelAnchor: new google.maps.Point(50, 0),
208
+ labelClass: "marker-style"
209
+ });
210
+ }
211
+
212
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
213
+ // OpenStreetMap - Homepage
214
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
215
+
216
+ function createHomepageOSM(_latitude,_longitude){
217
+ setMapHeight();
218
+ if( document.getElementById('map') != null ){
219
+ $.getScript("assets/js/locations.js", function(){
220
+ var map = L.map('map', {
221
+ center: [_latitude,_longitude],
222
+ zoom: 14,
223
+ scrollWheelZoom: false
224
+ });
225
+ L.tileLayer('http://openmapsurfer.uni-hd.de/tiles/roadsg/x={x}&y={y}&z={z}', {
226
+ //L.tileLayer('http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
227
+ //subdomains: '0123',
228
+ attribution: 'Imagery from <a href="http://giscience.uni-hd.de/">GIScience Research Group @ University of Heidelberg</a> &mdash; Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'
229
+ }).addTo(map);
230
+ var markers = L.markerClusterGroup({
231
+ showCoverageOnHover: false
232
+ });
233
+ for (var i = 0; i < locations.length; i++) {
234
+ var _icon = L.divIcon({
235
+ html: '<img src="' + locations[i][7] +'">',
236
+ iconSize: [40, 48],
237
+ iconAnchor: [20, 48],
238
+ popupAnchor: [0, -48]
239
+ });
240
+ var title = locations[i][0];
241
+ var marker = L.marker(new L.LatLng(locations[i][3],locations[i][4]), {
242
+ title: title,
243
+ icon: _icon
244
+ });
245
+ marker.bindPopup(
246
+ '<div class="property">' +
247
+ '<a href="' + locations[i][5] + '">' +
248
+ '<div class="property-image">' +
249
+ '<img src="' + locations[i][6] + '">' +
250
+ '</div>' +
251
+ '<div class="overlay">' +
252
+ '<div class="info">' +
253
+ '<div class="tag price"> ' + locations[i][2] + '</div>' +
254
+ '<h3>' + locations[i][0] + '</h3>' +
255
+ '<figure>' + locations[i][1] + '</figure>' +
256
+ '</div>' +
257
+ '</div>' +
258
+ '</a>' +
259
+ '</div>'
260
+ );
261
+ markers.addLayer(marker);
262
+ }
263
+
264
+ map.addLayer(markers);
265
+ map.on('locationfound', onLocationFound);
266
+
267
+ function locateUser() {
268
+ $('#map').addClass('fade-map');
269
+ map.locate({setView : true})
270
+ }
271
+
272
+ function onLocationFound(){
273
+ $('#map').removeClass('fade-map');
274
+ }
275
+
276
+ $('.geo-location').on("click", function() {
277
+ locateUser();
278
+ });
279
+
280
+ $('body').addClass('loaded');
281
+ setTimeout(function() {
282
+ $('body').removeClass('has-fullscreen-map');
283
+ }, 1000);
284
+ $('#map').removeClass('fade-map');
285
+ });
286
+
287
+ }
288
+ }
289
+
@@ -0,0 +1,196 @@
1
+ /**
2
+ * draggable - Class allows to make any element draggable
3
+ *
4
+ * Written by
5
+ * Egor Khmelev (hmelyoff@gmail.com)
6
+ *
7
+ * Licensed under the MIT (MIT-LICENSE.txt).
8
+ *
9
+ * @author Egor Khmelev
10
+ * @version 0.1.0-BETA ($Id$)
11
+ *
12
+ **/
13
+
14
+ (function( $ ){
15
+
16
+ function Draggable(){
17
+ this._init.apply( this, arguments );
18
+ };
19
+
20
+ Draggable.prototype.oninit = function(){
21
+
22
+ };
23
+
24
+ Draggable.prototype.events = function(){
25
+
26
+ };
27
+
28
+ Draggable.prototype.onmousedown = function(){
29
+ this.ptr.css({ position: "absolute" });
30
+ };
31
+
32
+ Draggable.prototype.onmousemove = function( evt, x, y ){
33
+ this.ptr.css({ left: x, top: y });
34
+ };
35
+
36
+ Draggable.prototype.onmouseup = function(){
37
+
38
+ };
39
+
40
+ Draggable.prototype.isDefault = {
41
+ drag: false,
42
+ clicked: false,
43
+ toclick: true,
44
+ mouseup: false
45
+ };
46
+
47
+ Draggable.prototype._init = function(){
48
+ if( arguments.length > 0 ){
49
+ this.ptr = $(arguments[0]);
50
+ this.outer = $(".draggable-outer");
51
+
52
+ this.is = {};
53
+ $.extend( this.is, this.isDefault );
54
+
55
+ var _offset = this.ptr.offset();
56
+ this.d = {
57
+ left: _offset.left,
58
+ top: _offset.top,
59
+ width: this.ptr.width(),
60
+ height: this.ptr.height()
61
+ };
62
+
63
+ this.oninit.apply( this, arguments );
64
+
65
+ this._events();
66
+ }
67
+ };
68
+
69
+ Draggable.prototype._getPageCoords = function( event ){
70
+ if( event.targetTouches && event.targetTouches[0] ){
71
+ return { x: event.targetTouches[0].pageX, y: event.targetTouches[0].pageY };
72
+ } else
73
+ return { x: event.pageX, y: event.pageY };
74
+ };
75
+
76
+ Draggable.prototype._bindEvent = function( ptr, eventType, handler ){
77
+ var self = this;
78
+
79
+ if( this.supportTouches_ )
80
+ ptr.get(0).addEventListener( this.events_[ eventType ], handler, false );
81
+
82
+ else
83
+ ptr.bind( this.events_[ eventType ], handler );
84
+ };
85
+
86
+ Draggable.prototype._events = function(){
87
+ var self = this;
88
+
89
+ this.supportTouches_ = 'ontouchend' in document;
90
+ this.events_ = {
91
+ "click": this.supportTouches_ ? "touchstart" : "click",
92
+ "down": this.supportTouches_ ? "touchstart" : "mousedown",
93
+ "move": this.supportTouches_ ? "touchmove" : "mousemove",
94
+ "up" : this.supportTouches_ ? "touchend" : "mouseup"
95
+ };
96
+
97
+ this._bindEvent( $( document ), "move", function( event ){
98
+ if( self.is.drag ){
99
+ event.stopPropagation();
100
+ event.preventDefault();
101
+ self._mousemove( event );
102
+ }
103
+ });
104
+ this._bindEvent( $( document ), "down", function( event ){
105
+ if( self.is.drag ){
106
+ event.stopPropagation();
107
+ event.preventDefault();
108
+ }
109
+ });
110
+ this._bindEvent( $( document ), "up", function( event ){
111
+ self._mouseup( event );
112
+ });
113
+
114
+ this._bindEvent( this.ptr, "down", function( event ){
115
+ self._mousedown( event );
116
+ return false;
117
+ });
118
+ this._bindEvent( this.ptr, "up", function( event ){
119
+ self._mouseup( event );
120
+ });
121
+
122
+ this.ptr.find("a")
123
+ .click(function(){
124
+ self.is.clicked = true;
125
+
126
+ if( !self.is.toclick ){
127
+ self.is.toclick = true;
128
+ return false;
129
+ }
130
+ })
131
+ .mousedown(function( event ){
132
+ self._mousedown( event );
133
+ return false;
134
+ });
135
+
136
+ this.events();
137
+ };
138
+
139
+ Draggable.prototype._mousedown = function( evt ){
140
+ this.is.drag = true;
141
+ this.is.clicked = false;
142
+ this.is.mouseup = false;
143
+
144
+ var _offset = this.ptr.offset();
145
+ var coords = this._getPageCoords( evt );
146
+ this.cx = coords.x - _offset.left;
147
+ this.cy = coords.y - _offset.top;
148
+
149
+ $.extend(this.d, {
150
+ left: _offset.left,
151
+ top: _offset.top,
152
+ width: this.ptr.width(),
153
+ height: this.ptr.height()
154
+ });
155
+
156
+ if( this.outer && this.outer.get(0) ){
157
+ this.outer.css({ height: Math.max(this.outer.height(), $(document.body).height()), overflow: "hidden" });
158
+ }
159
+
160
+ this.onmousedown( evt );
161
+ };
162
+
163
+ Draggable.prototype._mousemove = function( evt ){
164
+ this.is.toclick = false;
165
+ var coords = this._getPageCoords( evt );
166
+ this.onmousemove( evt, coords.x - this.cx, coords.y - this.cy );
167
+ };
168
+
169
+ Draggable.prototype._mouseup = function( evt ){
170
+ var oThis = this;
171
+
172
+ if( this.is.drag ){
173
+ this.is.drag = false;
174
+
175
+ if( this.outer && this.outer.get(0) ){
176
+
177
+ if( $.browser.mozilla ){
178
+ this.outer.css({ overflow: "hidden" });
179
+ } else {
180
+ this.outer.css({ overflow: "visible" });
181
+ }
182
+
183
+ if( $.browser.msie && $.browser.version == '6.0' ){
184
+ this.outer.css({ height: "100%" });
185
+ } else {
186
+ this.outer.css({ height: "auto" });
187
+ }
188
+ }
189
+
190
+ this.onmouseup( evt );
191
+ }
192
+ };
193
+
194
+ window.Draggable = Draggable;
195
+
196
+ })( jQuery );