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,365 @@
1
+ /********************************************
2
+ * REVOLUTION 5.4.6.5 EXTENSION - CAROUSEL
3
+ * @version: 1.2.1 (18.11.2016)
4
+ * @requires jquery.themepunch.revolution.js
5
+ * @author ThemePunch
6
+ *********************************************/
7
+ (function($) {
8
+ "use strict";
9
+ var _R = jQuery.fn.revolution,
10
+ extension = { alias:"Carousel Min JS",
11
+ name:"revolution.extensions.carousel.min.js",
12
+ min_core: "5.3.0",
13
+ version:"1.2.1"
14
+ };
15
+
16
+ ///////////////////////////////////////////
17
+ // EXTENDED FUNCTIONS AVAILABLE GLOBAL //
18
+ ///////////////////////////////////////////
19
+ jQuery.extend(true,_R, {
20
+
21
+ // CALCULATE CAROUSEL POSITIONS
22
+ prepareCarousel : function(opt,a,direction,speed) {
23
+
24
+ if (_R.compare_version(extension).check==="stop") return false;
25
+
26
+ direction = opt.carousel.lastdirection = dircheck(direction,opt.carousel.lastdirection);
27
+
28
+ setCarouselDefaults(opt);
29
+
30
+ opt.carousel.slide_offset_target = getActiveCarouselOffset(opt);
31
+
32
+ if (speed!==undefined) {
33
+ animateCarousel(opt,direction,false,0);
34
+ } else {
35
+ if (a==undefined)
36
+ _R.carouselToEvalPosition(opt,direction);
37
+ else
38
+ animateCarousel(opt,direction,false);
39
+ }
40
+
41
+ },
42
+
43
+ // MOVE FORWARDS/BACKWARDS DEPENDING ON THE OFFSET TO GET CAROUSEL IN EVAL POSITION AGAIN
44
+ carouselToEvalPosition : function(opt,direction) {
45
+
46
+ var _ = opt.carousel;
47
+ direction = _.lastdirection = dircheck(direction,_.lastdirection);
48
+
49
+ var bb = _.horizontal_align==="center" ? ((_.wrapwidth/2-_.slide_width/2) - _.slide_globaloffset) / _.slide_width : (0 - _.slide_globaloffset) / _.slide_width,
50
+ fi = _R.simp(bb,opt.slideamount,false);
51
+
52
+ var cm = fi - Math.floor(fi),
53
+ calc = 0,
54
+ mc = -1 * (Math.ceil(fi) - fi),
55
+ mf = -1 * (Math.floor(fi) - fi);
56
+
57
+ calc = cm>=0.3 && direction==="left" || cm>=0.7 && direction==="right" ? mc : cm<0.3 && direction==="left" || cm<0.7 && direction==="right" ? mf : calc;
58
+ calc = _.infinity==="off" ? fi<0 ? fi : bb>opt.slideamount-1 ? bb-(opt.slideamount-1) : calc : calc;
59
+
60
+ _.slide_offset_target = calc * _.slide_width;
61
+ // LONGER "SMASH" +/- 1 to Calc
62
+
63
+ if (Math.abs(_.slide_offset_target) !==0)
64
+ animateCarousel(opt,direction,true);
65
+ else {
66
+ _R.organiseCarousel(opt,direction);
67
+ }
68
+ },
69
+
70
+ // ORGANISE THE CAROUSEL ELEMENTS IN POSITION AND TRANSFORMS
71
+ organiseCarousel : function(opt,direction,setmaind,unli) {
72
+
73
+ direction = direction === undefined || direction=="down" || direction=="up" || direction===null || jQuery.isEmptyObject(direction) ? "left" : direction;
74
+ var _ = opt.carousel,
75
+ slidepositions = new Array(),
76
+ len = _.slides.length,
77
+ leftlimit = _.horizontal_align ==="right" ? opt.width : 0;
78
+
79
+
80
+ for (var i=0;i<len;i++) {
81
+ var pos = (i * _.slide_width) + _.slide_offset;
82
+ if (_.infinity==="on") {
83
+ pos = pos>_.wrapwidth-_.inneroffset && direction=="right" ? _.slide_offset - ((_.slides.length-i)*_.slide_width) : pos;
84
+ pos = pos<0-_.inneroffset-_.slide_width && direction=="left" ? pos + _.maxwidth : pos;
85
+ }
86
+ slidepositions[i] = pos;
87
+ }
88
+ var maxd = 999;
89
+
90
+ // SECOND RUN FOR NEGATIVE ADJUSTMENETS
91
+ if (_.slides)
92
+ jQuery.each(_.slides,function(i,slide) {
93
+ var pos = slidepositions[i];
94
+ if (_.infinity==="on") {
95
+
96
+ pos = pos>_.wrapwidth-_.inneroffset && direction==="left" ? slidepositions[0] - ((len-i)*_.slide_width) : pos;
97
+ pos = pos<0-_.inneroffset-_.slide_width ? direction=="left" ? pos + _.maxwidth : direction==="right" ? slidepositions[len-1] + ((i+1)*_.slide_width) : pos : pos;
98
+ }
99
+
100
+ var tr= new Object();
101
+
102
+ tr.left = pos + _.inneroffset;
103
+
104
+ // CHCECK DISTANCES FROM THE CURRENT FAKE FOCUS POSITION
105
+ var d = _.horizontal_align==="center" ? (Math.abs(_.wrapwidth/2) - (tr.left+_.slide_width/2))/_.slide_width : (_.inneroffset - tr.left)/_.slide_width,
106
+ offsdir = d<0 ? -1:1,
107
+ ha = _.horizontal_align==="center" ? 2 : 1;
108
+
109
+
110
+ if ((setmaind && Math.abs(d)<maxd) || d===0) {
111
+ maxd = Math.abs(d);
112
+ _.focused = i;
113
+ }
114
+
115
+ tr.width =_.slide_width;
116
+ tr.x = 0;
117
+ tr.transformPerspective = 1200;
118
+ tr.transformOrigin = "50% "+_.vertical_align;
119
+
120
+ // SET VISIBILITY OF ELEMENT
121
+ if (_.fadeout==="on")
122
+ if (_.vary_fade==="on")
123
+ tr.autoAlpha = 1-Math.abs(((1/Math.ceil(_.maxVisibleItems/ha))*d))
124
+ else
125
+ switch(_.horizontal_align) {
126
+ case "center":
127
+ tr.autoAlpha = Math.abs(d)<Math.ceil((_.maxVisibleItems/ha)-1) ? 1 : 1-(Math.abs(d)-Math.floor(Math.abs(d)));
128
+ break;
129
+ case "left":
130
+ tr.autoAlpha = d<1 && d>0 ? 1-d : Math.abs(d)>_.maxVisibleItems-1 ? 1- (Math.abs(d)-(_.maxVisibleItems-1)) : 1;
131
+ break;
132
+ case "right":
133
+ tr.autoAlpha = d>-1 && d<0 ? 1-Math.abs(d) : d>_.maxVisibleItems-1 ? 1- (Math.abs(d)-(_.maxVisibleItems-1)) : 1;
134
+ break;
135
+ }
136
+ else
137
+ tr.autoAlpha = Math.abs(d)<Math.ceil((_.maxVisibleItems/ha)) ? 1 : 0;
138
+
139
+
140
+
141
+ // SET SCALE DOWNS
142
+ if (_.minScale!==undefined && _.minScale >0) {
143
+ if (_.vary_scale==="on") {
144
+ tr.scale = 1- Math.abs(((_.minScale/100/Math.ceil(_.maxVisibleItems/ha))*d));
145
+ var sx = (_.slide_width - (_.slide_width*tr.scale)) *Math.abs(d);
146
+ } else {
147
+ tr.scale = d>=1 || d<=-1 ? 1 - _.minScale/100 : (100-( _.minScale*Math.abs(d)))/100;
148
+ var sx=(_.slide_width - (_.slide_width*(1 - _.minScale/100)))*Math.abs(d);
149
+ }
150
+ }
151
+
152
+ // ROTATION FUNCTIONS
153
+ if (_.maxRotation!==undefined && Math.abs(_.maxRotation)!=0) {
154
+ if (_.vary_rotation ==="on") {
155
+ tr.rotationY = Math.abs(_.maxRotation) - Math.abs((1-Math.abs(((1/Math.ceil(_.maxVisibleItems/ha))*d))) * _.maxRotation);
156
+ tr.autoAlpha = Math.abs(tr.rotationY)>90 ? 0 : tr.autoAlpha;
157
+ } else {
158
+ tr.rotationY = d>=1 || d<=-1 ? _.maxRotation : Math.abs(d)*_.maxRotation;
159
+ }
160
+ tr.rotationY = d<0 ? tr.rotationY*-1 : tr.rotationY;
161
+ }
162
+
163
+ // SET SPACES BETWEEN ELEMENTS
164
+ tr.x = (-1*_.space) * d;
165
+
166
+ tr.left = Math.floor(tr.left);
167
+ tr.x = Math.floor(tr.x);
168
+
169
+ // ADD EXTRA SPACE ADJUSTEMENT IF COVER MODE IS SELECTED
170
+ tr.scale !== undefined ? d<0 ? tr.x-sx :tr.x+sx : tr.x;
171
+
172
+ // ZINDEX ADJUSTEMENT
173
+ tr.zIndex = Math.round(100-Math.abs(d*5));
174
+
175
+ // TRANSFORM STYLE
176
+ tr.transformStyle = opt.parallax.type!="3D" && opt.parallax.type!="3d" ? "flat" : "preserve-3d";
177
+
178
+
179
+
180
+ // ADJUST TRANSFORMATION OF SLIDE
181
+ punchgs.TweenLite.set(slide,tr);
182
+ });
183
+
184
+ if (unli) {
185
+ opt.c.find('.next-revslide').removeClass("next-revslide");
186
+ jQuery(_.slides[_.focused]).addClass("next-revslide");
187
+ opt.c.trigger("revolution.nextslide.waiting");
188
+ }
189
+
190
+ var ll = _.wrapwidth/2 - _.slide_offset ,
191
+ rl = _.maxwidth+_.slide_offset-_.wrapwidth/2;
192
+ }
193
+
194
+ });
195
+
196
+ /**************************************************
197
+ - CAROUSEL FUNCTIONS -
198
+ ***************************************************/
199
+
200
+ var defineCarouselElements = function(opt) {
201
+ var _ = opt.carousel;
202
+
203
+ _.infbackup = _.infinity;
204
+ _.maxVisiblebackup = _.maxVisibleItems;
205
+ // SET DEFAULT OFFSETS TO 0
206
+ _.slide_globaloffset = "none";
207
+ _.slide_offset = 0;
208
+ // SET UL REFERENCE
209
+ _.wrap = opt.c.find('.tp-carousel-wrapper');
210
+ // COLLECT SLIDES
211
+ _.slides = opt.c.find('.tp-revslider-slidesli');
212
+
213
+ // SET PERSPECTIVE IF ROTATION IS ADDED
214
+ if (_.maxRotation!==0)
215
+ if (opt.parallax.type!="3D" && opt.parallax.type!="3d")
216
+ punchgs.TweenLite.set(_.wrap,{perspective:1200,transformStyle:"flat"});
217
+ else
218
+ punchgs.TweenLite.set(_.wrap,{perspective:1600,transformStyle:"preserve-3d"});
219
+
220
+ if (_.border_radius!==undefined && parseInt(_.border_radius,0) >0) {
221
+ punchgs.TweenLite.set(opt.c.find('.tp-revslider-slidesli'),{borderRadius:_.border_radius});
222
+ }
223
+ }
224
+
225
+ var setCarouselDefaults = function(opt) {
226
+
227
+ if (opt.bw===undefined) _R.setSize(opt);
228
+ var _=opt.carousel,
229
+ loff = _R.getHorizontalOffset(opt.c,"left"),
230
+ roff = _R.getHorizontalOffset(opt.c,"right");
231
+
232
+ // IF NO DEFAULTS HAS BEEN DEFINED YET
233
+ if (_.wrap===undefined) defineCarouselElements(opt);
234
+ // DEFAULT LI WIDTH SHOULD HAVE THE SAME WIDTH OF TH OPT WIDTH
235
+ _.slide_width = _.stretch!=="on" ? opt.gridwidth[opt.curWinRange]*opt.bw : opt.c.width();
236
+
237
+ // CALCULATE CAROUSEL WIDTH
238
+ _.maxwidth = opt.slideamount*_.slide_width;
239
+ if (_.maxVisiblebackup>_.slides.length+1)
240
+ _.maxVisibleItems = _.slides.length+2;
241
+
242
+ // SET MAXIMUM CAROUSEL WARPPER WIDTH (SHOULD BE AN ODD NUMBER)
243
+ _.wrapwidth = (_.maxVisibleItems * _.slide_width) + ((_.maxVisibleItems - 1) * _.space);
244
+ _.wrapwidth = opt.sliderLayout!="auto" ?
245
+ _.wrapwidth>opt.c.closest('.tp-simpleresponsive').width() ? opt.c.closest('.tp-simpleresponsive').width() : _.wrapwidth :
246
+ _.wrapwidth>opt.ul.width() ? opt.ul.width() : _.wrapwidth;
247
+
248
+
249
+ // INFINITY MODIFICATIONS
250
+ _.infinity = _.wrapwidth >=_.maxwidth ? "off" : _.infbackup;
251
+
252
+
253
+ // SET POSITION OF WRAP CONTAINER
254
+ _.wrapoffset = _.horizontal_align==="center" ? (opt.c.width()-roff - loff - _.wrapwidth)/2 : 0;
255
+ _.wrapoffset = opt.sliderLayout!="auto" && opt.outernav ? 0 : _.wrapoffset < loff ? loff : _.wrapoffset;
256
+
257
+ var ovf = "hidden";
258
+ if ((opt.parallax.type=="3D" || opt.parallax.type=="3d"))
259
+ ovf = "visible";
260
+
261
+
262
+
263
+ if (_.horizontal_align==="right")
264
+ punchgs.TweenLite.set(_.wrap,{left:"auto",right:_.wrapoffset+"px", width:_.wrapwidth, overflow:ovf});
265
+ else
266
+ punchgs.TweenLite.set(_.wrap,{right:"auto",left:_.wrapoffset+"px", width:_.wrapwidth, overflow:ovf});
267
+
268
+
269
+
270
+ // INNER OFFSET FOR RTL
271
+ _.inneroffset = _.horizontal_align==="right" ? _.wrapwidth - _.slide_width : 0;
272
+
273
+ // THE REAL OFFSET OF THE WRAPPER
274
+ _.realoffset = (Math.abs(_.wrap.position().left)); // + opt.c.width()/2);
275
+
276
+ // THE SCREEN WIDTH/2
277
+ _.windhalf = jQuery(window).width()/2;
278
+
279
+
280
+
281
+ }
282
+
283
+
284
+ // DIRECTION CHECK
285
+ var dircheck = function(d,b) {
286
+ return d===null || jQuery.isEmptyObject(d) ? b : d === undefined ? "right" : d;;
287
+ }
288
+
289
+ // ANIMATE THE CAROUSEL WITH OFFSETS
290
+ var animateCarousel = function(opt,direction,nsae,speed) {
291
+
292
+ var _ = opt.carousel;
293
+ direction = _.lastdirection = dircheck(direction,_.lastdirection);
294
+
295
+ var animobj = new Object(),
296
+ _ease = nsae ? punchgs.Power2.easeOut : _.easing;
297
+
298
+ animobj.from = 0;
299
+ animobj.to = _.slide_offset_target;
300
+ speed = speed===undefined ? _.speed/1000 : speed;
301
+ speed = nsae ? 0.4 : speed;
302
+
303
+
304
+ if (_.positionanim!==undefined)
305
+ _.positionanim.pause();
306
+ _.positionanim = punchgs.TweenLite.to(animobj,speed,{from:animobj.to,
307
+ onUpdate:function() {
308
+ _.slide_offset = _.slide_globaloffset + animobj.from;
309
+ _.slide_offset = _R.simp(_.slide_offset , _.maxwidth);
310
+ _R.organiseCarousel(opt,direction,false,false);
311
+ },
312
+ onComplete:function() {
313
+
314
+ _.slide_globaloffset = _.infinity==="off" ? _.slide_globaloffset + _.slide_offset_target : _R.simp(_.slide_globaloffset + _.slide_offset_target, _.maxwidth);
315
+ _.slide_offset = _R.simp(_.slide_offset , _.maxwidth);
316
+
317
+ _R.organiseCarousel(opt,direction,false,true);
318
+ var li = jQuery(opt.li[_.focused]);
319
+ opt.c.find('.next-revslide').removeClass("next-revslide");
320
+ if (nsae) _R.callingNewSlide(opt.c,li.data('index'));
321
+ }, ease:_ease});
322
+ }
323
+
324
+
325
+ var breduc = function(a,m) {
326
+ return Math.abs(a)>Math.abs(m) ? a>0 ? a - Math.abs(Math.floor(a/(m))*(m)) : a + Math.abs(Math.floor(a/(m))*(m)) : a;
327
+ }
328
+
329
+ // CAROUSEL INFINITY MODE, DOWN OR UP ANIMATION
330
+ var getBestDirection = function(a,b,max) {
331
+ var dira = b-a,max,
332
+ dirb = (b-max) - a,max;
333
+ dira = breduc(dira,max);
334
+ dirb = breduc(dirb,max);
335
+ return Math.abs(dira)>Math.abs(dirb) ? dirb : dira;
336
+ }
337
+
338
+ // GET OFFSETS BEFORE ANIMATION
339
+ var getActiveCarouselOffset = function(opt) {
340
+ var ret = 0,
341
+ _ = opt.carousel;
342
+
343
+ if (_.positionanim!==undefined) _.positionanim.kill();
344
+
345
+ if (_.slide_globaloffset=="none")
346
+ _.slide_globaloffset = ret = _.horizontal_align==="center" ? (_.wrapwidth/2-_.slide_width/2) : 0;
347
+
348
+ else {
349
+
350
+ _.slide_globaloffset = _.slide_offset;
351
+ _.slide_offset = 0;
352
+ var ci = opt.c.find('.processing-revslide').index(),
353
+ fi = _.horizontal_align==="center" ? ((_.wrapwidth/2-_.slide_width/2) - _.slide_globaloffset) / _.slide_width : (0 - _.slide_globaloffset) / _.slide_width;
354
+
355
+ fi = _R.simp(fi,opt.slideamount,false);
356
+ ci = ci>=0 ? ci : opt.c.find('.active-revslide').index();
357
+ ci = ci>=0 ? ci : 0;
358
+
359
+ ret = _.infinity==="off" ? fi-ci : -getBestDirection(fi,ci,opt.slideamount);
360
+ ret = ret * _.slide_width;
361
+ }
362
+ return ret;
363
+ }
364
+
365
+ })(jQuery);
@@ -0,0 +1,199 @@
1
+ /********************************************
2
+ * REVOLUTION 5.4.6.5 EXTENSION - KEN BURN
3
+ * @version: 1.3.1 (15.05.2017)
4
+ * @requires jquery.themepunch.revolution.js
5
+ * @author ThemePunch
6
+ *********************************************/
7
+ (function($) {
8
+ "use strict";
9
+ var _R = jQuery.fn.revolution,
10
+ extension = { alias:"KenBurns Min JS",
11
+ name:"revolution.extensions.kenburn.min.js",
12
+ min_core: "5.4",
13
+ version:"1.3.1"
14
+ };
15
+
16
+ ///////////////////////////////////////////
17
+ // EXTENDED FUNCTIONS AVAILABLE GLOBAL //
18
+ ///////////////////////////////////////////
19
+ jQuery.extend(true,_R, {
20
+
21
+ stopKenBurn : function(l) {
22
+ if (_R.compare_version(extension).check==="stop") return false;
23
+
24
+ if (l.data('kbtl')!=undefined)
25
+ l.data('kbtl').pause();
26
+ },
27
+
28
+ startKenBurn : function(l,opt,prgs) {
29
+
30
+ if (_R.compare_version(extension).check==="stop") return false;
31
+
32
+ var d = l.data(),
33
+ i = l.find('.defaultimg'),
34
+ s = i.data('lazyload') || i.data('src'),
35
+ i_a = d.owidth / d.oheight,
36
+ cw = opt.sliderType==="carousel" ? opt.carousel.slide_width : opt.ul.width(),
37
+ ch = opt.ul.height(),
38
+ c_a = cw / ch;
39
+
40
+
41
+ if (l.data('kbtl'))
42
+ l.data('kbtl').kill();
43
+
44
+
45
+ prgs = prgs || 0;
46
+
47
+
48
+ // NO KEN BURN IMAGE EXIST YET
49
+ if (l.find('.tp-kbimg').length==0) {
50
+ var mediafilter = i.data('mediafilter');
51
+ mediafilter = mediafilter === undefined ? "" : mediafilter;
52
+ l.append('<div class="tp-kbimg-wrap '+mediafilter+'" style="z-index:2;width:100%;height:100%;top:0px;left:0px;position:absolute;"><img class="tp-kbimg" src="'+s+'" style="position:absolute;" width="'+d.owidth+'" height="'+d.oheight+'"></div>');
53
+ l.data('kenburn',l.find('.tp-kbimg'));
54
+ }
55
+
56
+ var getKBSides = function(w,h,f,cw,ch,ho,vo) {
57
+ var tw = w * f,
58
+ th = h * f,
59
+ hd = Math.abs(cw-tw),
60
+ vd = Math.abs(ch-th),
61
+ s = new Object();
62
+ s.l = (0-ho)*hd;
63
+ s.r = s.l + tw;
64
+ s.t = (0-vo)*vd;
65
+ s.b = s.t + th;
66
+ s.h = ho;
67
+ s.v = vo;
68
+ return s;
69
+ },
70
+
71
+ getKBCorners = function(d,cw,ch,ofs,o) {
72
+
73
+ var p = d.bgposition.split(" ") || "center center",
74
+ ho = p[0] == "center" ? "50%" : p[0] == "left" || p [1] == "left" ? "0%" : p[0]=="right" || p[1] =="right" ? "100%" : p[0],
75
+ vo = p[1] == "center" ? "50%" : p[0] == "top" || p [1] == "top" ? "0%" : p[0]=="bottom" || p[1] =="bottom" ? "100%" : p[1];
76
+
77
+ ho = parseInt(ho,0)/100 || 0;
78
+ vo = parseInt(vo,0)/100 || 0;
79
+
80
+
81
+ var sides = new Object();
82
+
83
+
84
+ sides.start = getKBSides(o.start.width,o.start.height,o.start.scale,cw,ch,ho,vo);
85
+ sides.end = getKBSides(o.start.width,o.start.height,o.end.scale,cw,ch,ho,vo);
86
+
87
+ return sides;
88
+ },
89
+
90
+ kcalcL = function(cw,ch,d) {
91
+ var f=d.scalestart/100,
92
+ fe=d.scaleend/100,
93
+ ofs = d.offsetstart != undefined ? d.offsetstart.split(" ") || [0,0] : [0,0],
94
+ ofe = d.offsetend != undefined ? d.offsetend.split(" ") || [0,0] : [0,0];
95
+ d.bgposition = d.bgposition == "center center" ? "50% 50%" : d.bgposition;
96
+
97
+
98
+ var o = new Object(),
99
+ sw = cw*f,
100
+ sh = sw/d.owidth * d.oheight,
101
+ ew = cw*fe,
102
+ eh = ew/d.owidth * d.oheight;
103
+
104
+
105
+
106
+ o.start = new Object();
107
+ o.starto = new Object();
108
+ o.end = new Object();
109
+ o.endo = new Object();
110
+
111
+ o.start.width = cw;
112
+ o.start.height = o.start.width / d.owidth * d.oheight;
113
+
114
+ if (o.start.height<ch) {
115
+ var newf = ch / o.start.height;
116
+ o.start.height = ch;
117
+ o.start.width = o.start.width*newf;
118
+ }
119
+ o.start.transformOrigin = d.bgposition;
120
+ o.start.scale = f;
121
+ o.end.scale = fe;
122
+
123
+ d.rotatestart = d.rotatestart===0 ? 0.01 : d.rotatestart;
124
+ o.start.rotation = d.rotatestart+"deg";
125
+ o.end.rotation = d.rotateend+"deg";
126
+
127
+ // MAKE SURE THAT OFFSETS ARE NOT TOO HIGH
128
+ var c = getKBCorners(d,cw,ch,ofs,o);
129
+
130
+
131
+ ofs[0] = parseFloat(ofs[0]) + c.start.l;
132
+ ofe[0] = parseFloat(ofe[0]) + c.end.l;
133
+
134
+ ofs[1] = parseFloat(ofs[1]) + c.start.t;
135
+ ofe[1] = parseFloat(ofe[1]) + c.end.t;
136
+
137
+ var iws = c.start.r - c.start.l,
138
+ ihs = c.start.b - c.start.t,
139
+ iwe = c.end.r - c.end.l,
140
+ ihe = c.end.b - c.end.t;
141
+
142
+ ofs[0] = ofs[0]>0 ? 0 : iws + ofs[0] < cw ? cw-iws : ofs[0];
143
+ ofe[0] = ofe[0]>0 ? 0 : iwe + ofe[0] < cw ? cw-iwe : ofe[0];
144
+
145
+ ofs[1] = ofs[1]>0 ? 0 : ihs + ofs[1] < ch ? ch-ihs : ofs[1];
146
+ ofe[1] = ofe[1]>0 ? 0 : ihe + ofe[1] < ch ? ch-ihe : ofe[1];
147
+
148
+
149
+
150
+ o.starto.x = ofs[0]+"px";
151
+ o.starto.y = ofs[1]+"px";
152
+ o.endo.x = ofe[0]+"px";
153
+ o.endo.y = ofe[1]+"px";
154
+ o.end.ease = o.endo.ease = d.ease;
155
+ o.end.force3D = o.endo.force3D = true;
156
+ return o;
157
+ };
158
+
159
+ if (l.data('kbtl')!=undefined) {
160
+ l.data('kbtl').kill();
161
+ l.removeData('kbtl');
162
+ }
163
+
164
+ var k = l.data('kenburn'),
165
+ kw = k.parent(),
166
+ anim = kcalcL(cw,ch,d),
167
+ kbtl = new punchgs.TimelineLite();
168
+
169
+
170
+ kbtl.pause();
171
+
172
+
173
+
174
+ anim.start.transformOrigin = "0% 0%";
175
+ anim.starto.transformOrigin = "0% 0%";
176
+
177
+ kbtl.add(punchgs.TweenLite.fromTo(k,d.duration/1000,anim.start,anim.end),0);
178
+ kbtl.add(punchgs.TweenLite.fromTo(kw,d.duration/1000,anim.starto,anim.endo),0);
179
+
180
+ // ADD BLUR EFFECT ON THE ELEMENTS
181
+ if (d.blurstart!==undefined && d.blurend!==undefined && (d.blurstart!==0 || d.blurend!==0)) {
182
+ var blurElement = {a:d.blurstart},
183
+ blurElementEnd = {a:d.blurend, ease:anim.endo.ease},
184
+ blurAnimation = new punchgs.TweenLite(blurElement, d.duration/1000, blurElementEnd);
185
+
186
+ blurAnimation.eventCallback("onUpdate", function(kw) {
187
+ punchgs.TweenLite.set(kw,{filter:'blur('+blurElement.a+'px)',webkitFilter:'blur('+blurElement.a+'px)'});
188
+ },[kw]);
189
+ kbtl.add(blurAnimation,0);
190
+ }
191
+
192
+ kbtl.progress(prgs);
193
+ kbtl.play();
194
+
195
+ l.data('kbtl',kbtl);
196
+ }
197
+ });
198
+
199
+ })(jQuery);