assets-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (322) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.ruby-gemset +1 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +65 -0
  8. data/Rakefile +2 -0
  9. data/assets-rails.gemspec +25 -0
  10. data/lib/assets-rails.rb +7 -0
  11. data/lib/assets-rails/engine.rb +9 -0
  12. data/lib/assets-rails/version.rb +5 -0
  13. data/vendor/assets/fonts/bootstrap/v3.2.0/glyphicons-halflings-regular.eot +0 -0
  14. data/vendor/assets/fonts/bootstrap/v3.2.0/glyphicons-halflings-regular.svg +229 -0
  15. data/vendor/assets/fonts/bootstrap/v3.2.0/glyphicons-halflings-regular.ttf +0 -0
  16. data/vendor/assets/fonts/bootstrap/v3.2.0/glyphicons-halflings-regular.woff +0 -0
  17. data/vendor/assets/fonts/bootstrap/v3.3.0/glyphicons-halflings-regular.eot +0 -0
  18. data/vendor/assets/fonts/bootstrap/v3.3.0/glyphicons-halflings-regular.svg +229 -0
  19. data/vendor/assets/fonts/bootstrap/v3.3.0/glyphicons-halflings-regular.ttf +0 -0
  20. data/vendor/assets/fonts/bootstrap/v3.3.0/glyphicons-halflings-regular.woff +0 -0
  21. data/vendor/assets/fonts/font-awesome/v4.2.0/FontAwesome.otf +0 -0
  22. data/vendor/assets/fonts/font-awesome/v4.2.0/fontawesome-webfont.eot +0 -0
  23. data/vendor/assets/fonts/font-awesome/v4.2.0/fontawesome-webfont.svg +520 -0
  24. data/vendor/assets/fonts/font-awesome/v4.2.0/fontawesome-webfont.ttf +0 -0
  25. data/vendor/assets/fonts/font-awesome/v4.2.0/fontawesome-webfont.woff +0 -0
  26. data/vendor/assets/fonts/jquery.flexslider/flexslider-icon.eot +0 -0
  27. data/vendor/assets/fonts/jquery.flexslider/flexslider-icon.svg +19 -0
  28. data/vendor/assets/fonts/jquery.flexslider/flexslider-icon.ttf +0 -0
  29. data/vendor/assets/fonts/jquery.flexslider/flexslider-icon.woff +0 -0
  30. data/vendor/assets/images/fancybox/blank.gif +0 -0
  31. data/vendor/assets/images/fancybox/fancybox_buttons.png +0 -0
  32. data/vendor/assets/images/fancybox/fancybox_loading.gif +0 -0
  33. data/vendor/assets/images/fancybox/fancybox_loading@2x.gif +0 -0
  34. data/vendor/assets/images/fancybox/fancybox_overlay.png +0 -0
  35. data/vendor/assets/images/fancybox/fancybox_sprite.png +0 -0
  36. data/vendor/assets/images/fancybox/fancybox_sprite@2x.png +0 -0
  37. data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/border.png +0 -0
  38. data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/controls.png +0 -0
  39. data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/loading.gif +0 -0
  40. data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/loading_background.png +0 -0
  41. data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/overlay.png +0 -0
  42. data/vendor/assets/images/jquery.colorbox/v1.5.14/example2/controls.png +0 -0
  43. data/vendor/assets/images/jquery.colorbox/v1.5.14/example2/loading.gif +0 -0
  44. data/vendor/assets/images/jquery.colorbox/v1.5.14/example3/controls.png +0 -0
  45. data/vendor/assets/images/jquery.colorbox/v1.5.14/example3/loading.gif +0 -0
  46. data/vendor/assets/images/jquery.colorbox/v1.5.14/example4/border1.png +0 -0
  47. data/vendor/assets/images/jquery.colorbox/v1.5.14/example4/border2.png +0 -0
  48. data/vendor/assets/images/jquery.colorbox/v1.5.14/example4/loading.gif +0 -0
  49. data/vendor/assets/images/jquery.colorbox/v1.5.14/example5/border.png +0 -0
  50. data/vendor/assets/images/jquery.colorbox/v1.5.14/example5/controls.png +0 -0
  51. data/vendor/assets/images/jquery.colorbox/v1.5.14/example5/loading.gif +0 -0
  52. data/vendor/assets/images/jquery.colorbox/v1.5.14/example5/loading_background.png +0 -0
  53. data/vendor/assets/images/jquery.flexslider/bg_play_pause.png +0 -0
  54. data/vendor/assets/images/jquery.owlcarousel/AjaxLoader.gif +0 -0
  55. data/vendor/assets/images/jquery.owlcarousel/grabbing.png +0 -0
  56. data/vendor/assets/images/zebra_datepicker/calendar-disabled.png +0 -0
  57. data/vendor/assets/images/zebra_datepicker/calendar.png +0 -0
  58. data/vendor/assets/images/zebra_datepicker/metallic/default-date.png +0 -0
  59. data/vendor/assets/images/zebra_datepicker/metallic/disabled-date.png +0 -0
  60. data/vendor/assets/images/zebra_datepicker/metallic/header.png +0 -0
  61. data/vendor/assets/images/zebra_datepicker/metallic/selected-date.png +0 -0
  62. data/vendor/assets/javascripts/bootstrap/v3.2.0.js +12 -0
  63. data/vendor/assets/javascripts/bootstrap/v3.2.0/affix.js +142 -0
  64. data/vendor/assets/javascripts/bootstrap/v3.2.0/alert.js +92 -0
  65. data/vendor/assets/javascripts/bootstrap/v3.2.0/button.js +110 -0
  66. data/vendor/assets/javascripts/bootstrap/v3.2.0/carousel.js +223 -0
  67. data/vendor/assets/javascripts/bootstrap/v3.2.0/collapse.js +170 -0
  68. data/vendor/assets/javascripts/bootstrap/v3.2.0/dropdown.js +151 -0
  69. data/vendor/assets/javascripts/bootstrap/v3.2.0/modal.js +280 -0
  70. data/vendor/assets/javascripts/bootstrap/v3.2.0/popover.js +113 -0
  71. data/vendor/assets/javascripts/bootstrap/v3.2.0/scrollspy.js +170 -0
  72. data/vendor/assets/javascripts/bootstrap/v3.2.0/tab.js +128 -0
  73. data/vendor/assets/javascripts/bootstrap/v3.2.0/tooltip.js +457 -0
  74. data/vendor/assets/javascripts/bootstrap/v3.2.0/transition.js +59 -0
  75. data/vendor/assets/javascripts/bootstrap/v3.3.0/affix.js +162 -0
  76. data/vendor/assets/javascripts/bootstrap/v3.3.0/alert.js +94 -0
  77. data/vendor/assets/javascripts/bootstrap/v3.3.0/button.js +116 -0
  78. data/vendor/assets/javascripts/bootstrap/v3.3.0/carousel.js +239 -0
  79. data/vendor/assets/javascripts/bootstrap/v3.3.0/collapse.js +211 -0
  80. data/vendor/assets/javascripts/bootstrap/v3.3.0/dropdown.js +161 -0
  81. data/vendor/assets/javascripts/bootstrap/v3.3.0/modal.js +281 -0
  82. data/vendor/assets/javascripts/bootstrap/v3.3.0/popover.js +119 -0
  83. data/vendor/assets/javascripts/bootstrap/v3.3.0/scrollspy.js +175 -0
  84. data/vendor/assets/javascripts/bootstrap/v3.3.0/tab.js +153 -0
  85. data/vendor/assets/javascripts/bootstrap/v3.3.0/tooltip.js +478 -0
  86. data/vendor/assets/javascripts/bootstrap/v3.3.0/transition.js +59 -0
  87. data/vendor/assets/javascripts/draggabilly/v1.1.1.js +2 -0
  88. data/vendor/assets/javascripts/draggabilly/v1.1.1/draggabilly.js +615 -0
  89. data/vendor/assets/javascripts/imagesloaded/v3.1.8.js +2 -0
  90. data/vendor/assets/javascripts/imagesloaded/v3.1.8/imagesloaded.js +335 -0
  91. data/vendor/assets/javascripts/isotope/v2.0.1.js +1 -0
  92. data/vendor/assets/javascripts/isotope/v2.0.1/isotope.js +628 -0
  93. data/vendor/assets/javascripts/jquery.collageplus/v0.3.3.js +2 -0
  94. data/vendor/assets/javascripts/jquery.collageplus/v0.3.3/jquery.collagecaption.js +143 -0
  95. data/vendor/assets/javascripts/jquery.collageplus/v0.3.3/jquery.collageplus.js +401 -0
  96. data/vendor/assets/javascripts/jquery.collageplus/v0.3.3/remove_whitespace.js +13 -0
  97. data/vendor/assets/javascripts/jquery.colorbox/v1.5.14.js +2 -0
  98. data/vendor/assets/javascripts/jquery.colorbox/v1.5.14/jquery.colorbox.js +1090 -0
  99. data/vendor/assets/javascripts/jquery.expander/v1.4.12.js +1 -0
  100. data/vendor/assets/javascripts/jquery.expander/v1.4.12/jquery.expander.js +453 -0
  101. data/vendor/assets/javascripts/jquery.fakecrop.js +1 -0
  102. data/vendor/assets/javascripts/jquery.fakecrop/jquery.fakecrop.js +153 -0
  103. data/vendor/assets/javascripts/jquery.fancybox/v2.1.5.js +4 -0
  104. data/vendor/assets/javascripts/jquery.fancybox/v2.1.5/jquery.fancybox-buttons.js +122 -0
  105. data/vendor/assets/javascripts/jquery.fancybox/v2.1.5/jquery.fancybox-media.js +199 -0
  106. data/vendor/assets/javascripts/jquery.fancybox/v2.1.5/jquery.fancybox-thumbs.js +162 -0
  107. data/vendor/assets/javascripts/jquery.fancybox/v2.1.5/jquery.fancybox.js +2020 -0
  108. data/vendor/assets/javascripts/jquery.flexslider/v2.2.2.js +1 -0
  109. data/vendor/assets/javascripts/jquery.flexslider/v2.2.2/jquery.flexslider.js +1157 -0
  110. data/vendor/assets/javascripts/jquery.infinitescroll/v2.0.2.js +2 -0
  111. data/vendor/assets/javascripts/jquery.infinitescroll/v2.0.2/jquery.infinitescroll.js +821 -0
  112. data/vendor/assets/javascripts/jquery.nivo.slider/v3.2.js +2 -0
  113. data/vendor/assets/javascripts/jquery.nivo.slider/v3.2/jquery.nivo.slider.js +662 -0
  114. data/vendor/assets/javascripts/jquery.owlcarousel/v1.3.3.js +2 -0
  115. data/vendor/assets/javascripts/jquery.owlcarousel/v1.3.3/jquery.owlcarousel.js +1517 -0
  116. data/vendor/assets/javascripts/jquery.pageless.js +2 -0
  117. data/vendor/assets/javascripts/jquery.pageless/jquery.pageless.js +251 -0
  118. data/vendor/assets/javascripts/jquery.render/v1.1.0.js +2 -0
  119. data/vendor/assets/javascripts/jquery.render/v1.1.0/jquery.render.js +56 -0
  120. data/vendor/assets/javascripts/jquery.scrollto/v1.4.13.js +2 -0
  121. data/vendor/assets/javascripts/jquery.scrollto/v1.4.13/jquery.scrollto.js +187 -0
  122. data/vendor/assets/javascripts/jquery.timeago/v1.4.1.js +1 -0
  123. data/vendor/assets/javascripts/jquery.timeago/v1.4.1/jquery.timeago.js +214 -0
  124. data/vendor/assets/javascripts/jquery.turbolinks/v2.1.0.js +1 -0
  125. data/vendor/assets/javascripts/jquery.turbolinks/v2.1.0/jquery.turbolinks.js +49 -0
  126. data/vendor/assets/javascripts/jquery/v1.11.1.js +1 -0
  127. data/vendor/assets/javascripts/jquery/v1.11.1/jquery.js +10308 -0
  128. data/vendor/assets/javascripts/jquery/v2.1.1.js +1 -0
  129. data/vendor/assets/javascripts/jquery/v2.1.1/jquery.js +9190 -0
  130. data/vendor/assets/javascripts/masonry/v3.1.5.js +2 -0
  131. data/vendor/assets/javascripts/masonry/v3.1.5/masonry.js +205 -0
  132. data/vendor/assets/javascripts/nprogress/v0.1.6.js +2 -0
  133. data/vendor/assets/javascripts/nprogress/v0.1.6/nprogress-ajax.js +4 -0
  134. data/vendor/assets/javascripts/nprogress/v0.1.6/nprogress-turbolinks.js +5 -0
  135. data/vendor/assets/javascripts/nprogress/v0.1.6/nprogress.js +475 -0
  136. data/vendor/assets/javascripts/responsiveCarousel/v1.2.0.js +2 -0
  137. data/vendor/assets/javascripts/responsiveCarousel/v1.2.0/responsiveCarousel.js +410 -0
  138. data/vendor/assets/javascripts/responsiveslides/v1.54.js +2 -0
  139. data/vendor/assets/javascripts/responsiveslides/v1.54/responsiveslides.js +391 -0
  140. data/vendor/assets/javascripts/zebra_datepicker/v1.8.9.js +2 -0
  141. data/vendor/assets/javascripts/zebra_datepicker/v1.8.9/zebra_datepicker.js +2965 -0
  142. data/vendor/assets/stylesheets/bootstrap/_v3.2.0.scss +52 -0
  143. data/vendor/assets/stylesheets/bootstrap/_v3.3.0.scss +52 -0
  144. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_alerts.scss +68 -0
  145. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_badges.scss +57 -0
  146. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_bootstrap-sprockets.scss +7 -0
  147. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_breadcrumbs.scss +26 -0
  148. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_button-groups.scss +240 -0
  149. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_buttons.scss +157 -0
  150. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_carousel.scss +243 -0
  151. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_close.scss +35 -0
  152. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_code.scss +68 -0
  153. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_component-animations.scss +35 -0
  154. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_dropdowns.scss +215 -0
  155. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_forms.scss +538 -0
  156. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_glyphicons.scss +237 -0
  157. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_grid.scss +84 -0
  158. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_input-groups.scss +166 -0
  159. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_jumbotron.scss +48 -0
  160. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_labels.scss +66 -0
  161. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_list-group.scss +131 -0
  162. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_media.scss +56 -0
  163. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_mixins.scss +39 -0
  164. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_modals.scss +150 -0
  165. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_navbar.scss +659 -0
  166. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_navs.scss +242 -0
  167. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_normalize.scss +425 -0
  168. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_pager.scss +55 -0
  169. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_pagination.scss +88 -0
  170. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_panels.scss +243 -0
  171. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_popovers.scss +133 -0
  172. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_print.scss +101 -0
  173. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_progress-bars.scss +105 -0
  174. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_responsive-embed.scss +34 -0
  175. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_responsive-utilities.scss +174 -0
  176. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_scaffolding.scss +150 -0
  177. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_tables.scss +233 -0
  178. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_theme.scss +258 -0
  179. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_thumbnails.scss +38 -0
  180. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_tooltip.scss +95 -0
  181. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_type.scss +304 -0
  182. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_utilities.scss +57 -0
  183. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_variables.scss +854 -0
  184. data/vendor/assets/stylesheets/bootstrap/v3.2.0/_wells.scss +29 -0
  185. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_alerts.scss +14 -0
  186. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_background-variant.scss +11 -0
  187. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_border-radius.scss +18 -0
  188. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_buttons.scss +50 -0
  189. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_center-block.scss +7 -0
  190. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_clearfix.scss +22 -0
  191. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_forms.scss +84 -0
  192. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_gradients.scss +58 -0
  193. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_grid-framework.scss +81 -0
  194. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_grid.scss +122 -0
  195. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_hide-text.scss +21 -0
  196. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_image.scss +34 -0
  197. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_labels.scss +12 -0
  198. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_list-group.scss +31 -0
  199. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_nav-divider.scss +10 -0
  200. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_nav-vertical-align.scss +9 -0
  201. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_opacity.scss +8 -0
  202. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_pagination.scss +23 -0
  203. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_panels.scss +24 -0
  204. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_progress-bar.scss +10 -0
  205. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_reset-filter.scss +8 -0
  206. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_resize.scss +6 -0
  207. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_responsive-visibility.scss +21 -0
  208. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_size.scss +10 -0
  209. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_tab-focus.scss +9 -0
  210. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_table-row.scss +28 -0
  211. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_text-emphasis.scss +11 -0
  212. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_text-overflow.scss +8 -0
  213. data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_vendor-prefixes.scss +219 -0
  214. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_alerts.scss +68 -0
  215. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_badges.scss +57 -0
  216. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_bootstrap-sprockets.scss +7 -0
  217. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_breadcrumbs.scss +26 -0
  218. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_button-groups.scss +247 -0
  219. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_buttons.scss +160 -0
  220. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_carousel.scss +267 -0
  221. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_close.scss +35 -0
  222. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_code.scss +69 -0
  223. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_component-animations.scss +38 -0
  224. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_dropdowns.scss +213 -0
  225. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_forms.scss +561 -0
  226. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_glyphicons.scss +234 -0
  227. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_grid.scss +84 -0
  228. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_input-groups.scss +166 -0
  229. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_jumbotron.scss +48 -0
  230. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_labels.scss +66 -0
  231. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_list-group.scss +132 -0
  232. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_media.scss +47 -0
  233. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_mixins.scss +39 -0
  234. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_modals.scss +149 -0
  235. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_navbar.scss +661 -0
  236. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_navs.scss +244 -0
  237. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_normalize.scss +427 -0
  238. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_pager.scss +54 -0
  239. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_pagination.scss +88 -0
  240. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_panels.scss +261 -0
  241. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_popovers.scss +134 -0
  242. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_print.scss +107 -0
  243. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_progress-bars.scss +87 -0
  244. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_responsive-embed.scss +35 -0
  245. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_responsive-utilities.scss +174 -0
  246. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_scaffolding.scss +150 -0
  247. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_tables.scss +234 -0
  248. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_theme.scss +260 -0
  249. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_thumbnails.scss +38 -0
  250. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_tooltip.scss +95 -0
  251. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_type.scss +298 -0
  252. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_utilities.scss +56 -0
  253. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_variables.scss +864 -0
  254. data/vendor/assets/stylesheets/bootstrap/v3.3.0/_wells.scss +29 -0
  255. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_alerts.scss +14 -0
  256. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_background-variant.scss +11 -0
  257. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_border-radius.scss +18 -0
  258. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_buttons.scss +52 -0
  259. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_center-block.scss +7 -0
  260. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_clearfix.scss +22 -0
  261. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_forms.scss +88 -0
  262. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_gradients.scss +58 -0
  263. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_grid-framework.scss +81 -0
  264. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_grid.scss +122 -0
  265. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_hide-text.scss +21 -0
  266. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_image.scss +33 -0
  267. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_labels.scss +12 -0
  268. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_list-group.scss +31 -0
  269. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_nav-divider.scss +10 -0
  270. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_nav-vertical-align.scss +9 -0
  271. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_opacity.scss +8 -0
  272. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_pagination.scss +23 -0
  273. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_panels.scss +24 -0
  274. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_progress-bar.scss +10 -0
  275. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_reset-filter.scss +8 -0
  276. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_resize.scss +6 -0
  277. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_responsive-visibility.scss +21 -0
  278. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_size.scss +10 -0
  279. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_tab-focus.scss +9 -0
  280. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_table-row.scss +28 -0
  281. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_text-emphasis.scss +11 -0
  282. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_text-overflow.scss +8 -0
  283. data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_vendor-prefixes.scss +222 -0
  284. data/vendor/assets/stylesheets/font-awesome/v4.2.0.css +3 -0
  285. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_bordered-pulled.scss +16 -0
  286. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_core.scss +11 -0
  287. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_extras.scss +44 -0
  288. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_fixed-width.scss +6 -0
  289. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_icons.scss +552 -0
  290. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_larger.scss +13 -0
  291. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_list.scss +19 -0
  292. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_mixins.scss +25 -0
  293. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_path.scss +14 -0
  294. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_rotated-flipped.scss +20 -0
  295. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_spinning.scss +29 -0
  296. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_stacked.scss +20 -0
  297. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_variables.scss +561 -0
  298. data/vendor/assets/stylesheets/font-awesome/v4.2.0/font-awesome.scss +17 -0
  299. data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example1.css.scss +70 -0
  300. data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example2.css.scss +50 -0
  301. data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example3.css.scss +45 -0
  302. data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example4.css.scss +66 -0
  303. data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example5.css.scss +58 -0
  304. data/vendor/assets/stylesheets/jquery.fancybox/v2.1.5.css +5 -0
  305. data/vendor/assets/stylesheets/jquery.fancybox/v2.1.5/jquery.fancybox-buttons.css.erb +97 -0
  306. data/vendor/assets/stylesheets/jquery.fancybox/v2.1.5/jquery.fancybox-thumbs.css +55 -0
  307. data/vendor/assets/stylesheets/jquery.fancybox/v2.1.5/jquery.fancybox.css.erb +274 -0
  308. data/vendor/assets/stylesheets/jquery.flexslider/v2.2.2.css +3 -0
  309. data/vendor/assets/stylesheets/jquery.flexslider/v2.2.2/jquery.flexslider.scss +96 -0
  310. data/vendor/assets/stylesheets/jquery.nivo.slider/v3.2.css +3 -0
  311. data/vendor/assets/stylesheets/jquery.nivo.slider/v3.2/jquery.nivo.slider.css +113 -0
  312. data/vendor/assets/stylesheets/jquery.owlcarousel/v1.3.3/jquery.owlcarousel.scss +71 -0
  313. data/vendor/assets/stylesheets/jquery.owlcarousel/v1.3.3/theme.scss +79 -0
  314. data/vendor/assets/stylesheets/jquery.owlcarousel/v1.3.3/transitions.scss +163 -0
  315. data/vendor/assets/stylesheets/nprogress/v0.1.6/nprogress-bootstrap.css +4 -0
  316. data/vendor/assets/stylesheets/nprogress/v0.1.6/nprogress.css.scss +77 -0
  317. data/vendor/assets/stylesheets/responsiveslides/v1.54.css +3 -0
  318. data/vendor/assets/stylesheets/responsiveslides/v1.54/responsiveslides.css +33 -0
  319. data/vendor/assets/stylesheets/zebra_datepicker/v1.8.9/bootstrap.scss +95 -0
  320. data/vendor/assets/stylesheets/zebra_datepicker/v1.8.9/default.scss +102 -0
  321. data/vendor/assets/stylesheets/zebra_datepicker/v1.8.9/metallic.scss +106 -0
  322. metadata +407 -0
@@ -0,0 +1,2 @@
1
+ // https://github.com/basilio/responsiveCarousel
2
+ //= require responsiveCarousel/v1.2.0/responsiveCarousel.js
@@ -0,0 +1,410 @@
1
+ /*! responsiveCarousel.JS - v1.2.0
2
+ * http://basilio.github.com/responsiveCarousel
3
+ *
4
+ * Copyright (c) 2013 Basilio Cáceres <basilio.caceres@gmail.com>;
5
+ * Licensed under the MIT license */
6
+
7
+ ;(function($){
8
+ "use strict";
9
+ $.fn.carousel = function(args){
10
+ var defaults, obj;
11
+ defaults = {
12
+ infinite : true,
13
+ visible : 1,
14
+ speed : 'fast',
15
+ overflow : false,
16
+ autoRotate : false,
17
+ navigation : $(this).data('navigation'),
18
+ itemMinWidth : 0,
19
+ itemEqualHeight : false,
20
+ itemMargin : 0,
21
+ itemClassActive : 'crsl-active',
22
+ imageWideClass : 'wide-image',
23
+ // Use to build grid system - carousel : false
24
+ carousel : true
25
+ };
26
+ return $(this).each( function(){
27
+ // Set Object
28
+ obj = $(this);
29
+
30
+ // Extend
31
+ if( $.isEmptyObject(args) === false )
32
+ $.extend( defaults, args );
33
+ if( $.isEmptyObject( $(obj).data('crsl') ) === false )
34
+ $.extend( defaults, $(obj).data('crsl') );
35
+
36
+
37
+ // Touch detection
38
+ defaults.isTouch = 'ontouchstart' in document.documentElement || navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) ? true : false ;
39
+
40
+ obj.init = function(){
41
+ // Set some default vars
42
+ defaults.total = $(obj).find('.crsl-item').length;
43
+ defaults.itemWidth = $(obj).outerWidth();
44
+ defaults.visibleDefault = defaults.visible;
45
+
46
+ // Touch Defaults
47
+ defaults.swipeDistance = null;
48
+ defaults.swipeMinDistance = 100;
49
+ defaults.startCoords = {};
50
+ defaults.endCoords = {};
51
+
52
+ // .crsl-items
53
+ $(obj).css({ width: '100%' });
54
+ // .crls-item
55
+ $(obj).find('.crsl-item').css({ position: 'relative', float: 'left', overflow: 'hidden', height: 'auto' });
56
+ // .crsl-item > images with full width
57
+ $(obj).find('.'+defaults.imageWideClass).each( function(){
58
+ $(this).css({ display: 'block', width: '100%', height: 'auto' });
59
+ });
60
+ // .crsl-item > iframes (videos)
61
+ $(obj).find('.crsl-item iframe').attr({ width: '100%' });
62
+
63
+
64
+ // Declare the item ative
65
+ if( defaults.carousel )
66
+ $(obj).find('.crsl-item:first-child').addClass(defaults.itemClassActive);
67
+
68
+ // Move last element to begin for infinite carousel
69
+ if( defaults.carousel && defaults.infinite && ( defaults.visible < defaults.total ) )
70
+ $(obj).find('.crsl-item:first-child').before( $('.crsl-item:last-child', obj) );
71
+
72
+ // if defaults.overflow
73
+ if( defaults.overflow === false ){
74
+ $(obj).css({ overflow: 'hidden' });
75
+ } else {
76
+ $('html, body').css({ 'overflow-x': 'hidden' });
77
+ }
78
+
79
+ $(obj).trigger('initCarousel', [defaults, obj]);
80
+
81
+ // Preload if it`s neccesary
82
+ obj.testPreload();
83
+
84
+ // This configure and margins and variables when document is ready,
85
+ // loaded and window is resized
86
+ obj.config();
87
+
88
+ // Init AutoRotate
89
+ obj.initRotate();
90
+
91
+ // Trigger Clicks
92
+ obj.triggerNavs();
93
+
94
+ };
95
+
96
+ obj.testPreload= function(){
97
+ if( $(obj).find('img').length > 0 ){
98
+ var totalImages = $(obj).find('img').length, i = 1;
99
+ $(obj).find('img').each( function(){
100
+ obj.preloadImage(this, i , totalImages);
101
+ i++;
102
+ });
103
+ } else {
104
+ $(obj).trigger('loadedCarousel', [defaults, obj]);
105
+ }
106
+ };
107
+
108
+ obj.preloadImage = function(image, i, totalImages){
109
+ var new_image = new Image(), attributes = {};
110
+ attributes.src = ( $(image).attr('src') !== undefined ? image.src : '' );
111
+ attributes.alt = ( $(image).attr('alt') !== undefined ? image.alt : '' );
112
+ $(new_image).attr( attributes );
113
+ $(new_image).on('load', function(){
114
+ // Trigger first image loaded as init Loading action
115
+ if( i === 1 )
116
+ $(obj).trigger('loadingImagesCarousel', [defaults, obj]);
117
+ // Trigger last image loaded as loaded complete action
118
+ if( i === totalImages )
119
+ $(obj).trigger('loadedImagesCarousel', [defaults, obj]);
120
+ });
121
+ };
122
+
123
+ // Base Configuration:
124
+ obj.config = function(){
125
+ // Width Item
126
+ defaults.itemWidth = Math.floor( ( $(obj).outerWidth() - ( defaults.itemMargin * ( defaults.visibleDefault - 1 ) ) ) / defaults.visibleDefault );
127
+ if( defaults.itemWidth <= defaults.itemMinWidth ){
128
+ defaults.visible = Math.floor( ( $(obj).outerWidth() - ( defaults.itemMargin * ( defaults.visible - 1 ) ) ) / defaults.itemMinWidth ) === 1 ?
129
+ Math.floor( $(obj).outerWidth() / defaults.itemMinWidth ) :
130
+ Math.floor( ( $(obj).outerWidth() - defaults.itemMargin ) / defaults.itemMinWidth );
131
+ defaults.visible = defaults.visible < 1 ? 1 : defaults.visible;
132
+ defaults.itemWidth = defaults.visible === 1 ? Math.floor( $(obj).outerWidth() ) : Math.floor( ( $(obj).outerWidth() - ( defaults.itemMargin * ( defaults.visible - 1 ) ) ) / defaults.visible );
133
+ } else {
134
+ defaults.visible = defaults.visibleDefault;
135
+ }
136
+
137
+ if( defaults.carousel ){
138
+ // Normal use - Global carousel variables
139
+ // Set Variables
140
+ obj.wrapWidth = Math.floor( ( defaults.itemWidth + defaults.itemMargin ) * defaults.total );
141
+ obj.wrapMargin = obj.wrapMarginDefault = defaults.infinite && defaults.visible < defaults.total ? parseInt( ( defaults.itemWidth + defaults.itemMargin ) * -1, 10 ) : 0 ;
142
+ // Move last element to begin for infinite carousel
143
+ if( defaults.infinite && ( defaults.visible < defaults.total ) && ( $(obj).find('.crsl-item.'+defaults.itemClassActive).index() === 0 ) ){
144
+ $(obj).find('.crsl-item:first-child').before( $('.crsl-item:last-child', obj) );
145
+ obj.wrapMargin = obj.wrapMarginDefault = parseInt( ( defaults.itemWidth + defaults.itemMargin ) * -1, 10 );
146
+ }
147
+ // Modify width & margin to .crsl-wrap
148
+ $(obj).find('.crsl-wrap').css({ width: obj.wrapWidth+'px', marginLeft: obj.wrapMargin });
149
+ } else {
150
+ // Excepcional use
151
+ // responsiveCarousel might be use to create grids!
152
+ obj.wrapWidth = $(obj).outerWidth();
153
+ $(obj).find('.crsl-wrap').css({ width: obj.wrapWidth+defaults.itemMargin+'px' });
154
+ $('#'+defaults.navigation).hide();
155
+ }
156
+
157
+ $(obj).find('.crsl-item').css({ width: defaults.itemWidth+'px', marginRight : defaults.itemMargin+'px' });
158
+
159
+ // Equal Height Configuration
160
+ obj.equalHeights();
161
+
162
+ // Condition if total <= visible
163
+ if( defaults.carousel ){
164
+ if( defaults.visible >= defaults.total ){
165
+ defaults.autoRotate = false;
166
+ $('#'+defaults.navigation).hide();
167
+ } else {
168
+ $('#'+defaults.navigation).show();
169
+ }
170
+ }
171
+ };
172
+
173
+ // Equal Heights
174
+ obj.equalHeights = function(){
175
+ if( defaults.itemEqualHeight !== false ){
176
+ var tallest = 0;
177
+ $(obj).find('.crsl-item').each( function(){
178
+ $(this).css({ 'height': 'auto' });
179
+ if ( $(this).outerHeight() > tallest ){ tallest = $(this).outerHeight(); }
180
+ });
181
+ $(obj).find('.crsl-item').css({ height: tallest+'px' });
182
+ }
183
+ return true;
184
+ };
185
+
186
+ obj.initRotate = function(){
187
+ // Set AutoRotate Interval
188
+ if( defaults.autoRotate !== false ){
189
+ obj.rotateTime = window.setInterval( function(){
190
+ obj.rotate();
191
+ }, defaults.autoRotate);
192
+ }
193
+ };
194
+
195
+ obj.triggerNavs = function(){
196
+ // Previous / Next Navigation
197
+ $('#'+defaults.navigation).delegate('.previous, .next', 'click', function(event){
198
+ // Prevent default
199
+ event.preventDefault();
200
+ // Prepare execute
201
+ obj.prepareExecute();
202
+ // Previous & next action
203
+ if( $(this).hasClass('previous') && obj.testPrevious(obj.itemActive) ){
204
+ obj.previous();
205
+ } else if( $(this).hasClass('next') && obj.testNext() ){
206
+ obj.next();
207
+ } else {
208
+ return;
209
+ }
210
+ });
211
+ };
212
+
213
+ // Prepare Execute
214
+ obj.prepareExecute = function(){
215
+ // Stop rotate
216
+ if( defaults.autoRotate ){
217
+ clearInterval(obj.rotateTime);
218
+ }
219
+ // Prevent Animate Event
220
+ obj.preventAnimateEvent();
221
+ // Active
222
+ obj.itemActive = $(obj).find('.crsl-item.'+defaults.itemClassActive);
223
+ return true;
224
+ };
225
+
226
+ obj.preventAnimateEvent = function(){
227
+ if( $(obj).find('.crsl-wrap:animated').length > 0 ){
228
+ return false;
229
+ }
230
+ };
231
+
232
+ // Rotate Action
233
+ obj.rotate = function(){
234
+ // Prevent Animate Event
235
+ obj.preventAnimateEvent();
236
+ // Active
237
+ obj.itemActive = $(obj).find('.crsl-item.'+defaults.itemClassActive);
238
+ obj.next();
239
+ return true;
240
+ };
241
+
242
+ obj.testPrevious = function(active){
243
+ return $('.crsl-wrap', obj).find('.crsl-item').index(active) > 0;
244
+ };
245
+ obj.testNext = function(){
246
+ return ( !defaults.infinite &&
247
+ obj.wrapWidth >= (
248
+ ( ( defaults.itemWidth + defaults.itemMargin ) * ( defaults.visible + 1 ) ) - obj.wrapMargin
249
+ )
250
+ ) || defaults.infinite;
251
+ };
252
+
253
+ // Previous Animate
254
+ obj.previous = function(){
255
+ obj.wrapMargin = defaults.infinite ? obj.wrapMarginDefault + $(obj.itemActive).outerWidth(true) : obj.wrapMargin + $(obj.itemActive).outerWidth(true);
256
+ var prevItemIndex = $(obj.itemActive).index();
257
+ var newItemActive = $(obj.itemActive).prev('.crsl-item');
258
+ var action = 'previous';
259
+ // Trigger Begin Carousel Move
260
+ $(obj).trigger('beginCarousel', [defaults, obj, action]);
261
+ // Animate
262
+ $(obj).
263
+ find('.crsl-wrap').
264
+ animate({ marginLeft: obj.wrapMargin+'px' }, defaults.speed, function(){
265
+ // Active
266
+ $(obj.itemActive).removeClass(defaults.itemClassActive);
267
+ $(newItemActive).addClass(defaults.itemClassActive);
268
+ if( defaults.infinite ){
269
+ $(this).css({ marginLeft: obj.wrapMarginDefault }).find('.crsl-item:first-child').before( $('.crsl-item:last-child', obj) );
270
+ } else {
271
+ if( obj.testPrevious(newItemActive) === false )
272
+ $( '#'+defaults.navigation ).find('.previous').addClass('previous-inactive');
273
+ if( obj.testNext() )
274
+ $( '#'+defaults.navigation ).find('.next').removeClass('next-inactive');
275
+ }
276
+ // Trigger Carousel Exec
277
+ $(this).trigger('endCarousel', [defaults, obj, action]);
278
+ });
279
+ };
280
+
281
+ // Next Animate
282
+ obj.next = function(){
283
+ obj.wrapMargin = defaults.infinite ? obj.wrapMarginDefault - $(obj.itemActive).outerWidth(true) : obj.wrapMargin - $(obj.itemActive).outerWidth(true);
284
+ var nextItemIndex = $(obj.itemActive).index();
285
+ var newItemActive = $(obj.itemActive).next('.crsl-item');
286
+ var action = 'next';
287
+ // Trigger Begin Carousel Move
288
+ $(obj).trigger('beginCarousel', [defaults, obj, action]);
289
+ // Animate
290
+ $(obj).
291
+ find('.crsl-wrap').
292
+ animate({ marginLeft: obj.wrapMargin+'px' }, defaults.speed, function(){
293
+ // Active
294
+ $(obj.itemActive).removeClass(defaults.itemClassActive);
295
+ $(newItemActive).addClass(defaults.itemClassActive);
296
+ if( defaults.infinite ){
297
+ $(this).css({ marginLeft: obj.wrapMarginDefault }).find('.crsl-item:last-child').after( $('.crsl-item:first-child', obj) );
298
+ } else {
299
+ if( obj.testPrevious(newItemActive) )
300
+ $( '#'+defaults.navigation ).find('.previous').removeClass('previous-inactive');
301
+ if( obj.testNext() === false )
302
+ $( '#'+defaults.navigation ).find('.next').addClass('next-inactive');
303
+ }
304
+ // Trigger Carousel Exec
305
+ $(this).trigger('endCarousel', [defaults, obj, action]);
306
+ });
307
+ };
308
+
309
+ var mouseHover = false, current;
310
+ $(window).on('mouseleave', function(event){
311
+ // Detect current
312
+ if (event.target) current = event.target;
313
+ else if (event.srcElement) current = event.srcElement;
314
+ // Detect mouseover
315
+ if( ( $(obj).attr('id') && $(current).parents('.crsl-items').attr('id') === $(obj).attr('id') ) || ( $(current).parents('.crsl-items').data('navigation') === $(obj).data('navigation') ) ){
316
+ mouseHover = true;
317
+ } else {
318
+ mouseHover = false;
319
+ }
320
+ // False
321
+ return false;
322
+ });
323
+
324
+ $(window).on('keydown', function(event){
325
+ if( mouseHover === true ){
326
+ // Previous & next action
327
+ if( event.keyCode === 37 ){
328
+ // Prepare execute
329
+ obj.prepareExecute();
330
+ // Previous
331
+ obj.previous();
332
+ } else if( event.keyCode === 39 ){
333
+ // Prepare execute
334
+ obj.prepareExecute();
335
+ // Next
336
+ obj.next();
337
+ }
338
+ }
339
+ return;
340
+ });
341
+
342
+ if( defaults.isTouch ){
343
+ $(obj).on('touchstart', function(e){
344
+ $(obj).addClass('touching');
345
+ defaults.startCoords.pageX = defaults.endCoords.pageX = e.originalEvent.targetTouches[0].pageX;
346
+ defaults.startCoords.pageY = defaults.endCoords.pageY = e.originalEvent.targetTouches[0].pageY;
347
+ $('.touching').on('touchmove',function(e){
348
+ defaults.endCoords.pageX = e.originalEvent.targetTouches[0].pageX;
349
+ defaults.endCoords.pageY = e.originalEvent.targetTouches[0].pageY;
350
+ if( Math.abs( parseInt( defaults.endCoords.pageX-defaults.startCoords.pageX, 10 ) ) > Math.abs( parseInt( defaults.endCoords.pageY-defaults.startCoords.pageY, 10 ) ) ){
351
+ e.preventDefault();
352
+ e.stopPropagation();
353
+ }
354
+ });
355
+ }).on('touchend', function(e){
356
+ e.preventDefault();
357
+ e.stopPropagation();
358
+ defaults.swipeDistance = defaults.endCoords.pageX - defaults.startCoords.pageX;
359
+ if( defaults.swipeDistance >= defaults.swipeMinDistance ){
360
+ obj.prepareExecute();
361
+ // swipeLeft
362
+ obj.previous();
363
+ } else if( defaults.swipeDistance <= - defaults.swipeMinDistance ){
364
+ obj.prepareExecute();
365
+ // swipeRight
366
+ obj.next();
367
+ }
368
+ $('.touching').off('touchmove').removeClass('touching');
369
+ });
370
+ }
371
+
372
+ $(obj).on('loadedCarousel loadedImagesCarousel', function(){
373
+ // Trigger window onload EqualHeights
374
+ obj.equalHeights();
375
+ });
376
+
377
+ // Create method to resize element
378
+ $(window).on('carouselResizeEnd', function(){
379
+ // This configure and margins and variables when document is ready,
380
+ // loaded and window is resized
381
+ if( defaults.itemWidth !== $(obj).outerWidth() )
382
+ obj.config();
383
+
384
+ });
385
+
386
+ // Carousel General Detection
387
+ $(window).ready( function(){
388
+ // Trigger Prepare Event Carousel
389
+ $(obj).trigger('prepareCarousel', [defaults, obj]);
390
+ // Init some defaults styles
391
+ obj.init();
392
+ // ResizeEnd event
393
+ $(window).on('resize', function(){
394
+ if( this.carouselResizeTo ) clearTimeout(this.carouselResizeTo);
395
+ this.carouselResizeTo = setTimeout(function(){
396
+ $(this).trigger('carouselResizeEnd');
397
+ }, 10);
398
+ });
399
+ });
400
+
401
+ $(window).load( function(){
402
+ // Preload if it`s neccesary
403
+ obj.testPreload();
404
+ // This configure and margins and variables when document is ready,
405
+ // loaded and window is resized
406
+ obj.config();
407
+ });
408
+ });
409
+ };
410
+ })(jQuery);
@@ -0,0 +1,2 @@
1
+ // https://github.com/viljamis/ResponsiveSlides.js
2
+ //= require responsiveslides/v1.54/responsiveslides.js
@@ -0,0 +1,391 @@
1
+ /*! ResponsiveSlides.js v1.54
2
+ * http://responsiveslides.com
3
+ * http://viljamis.com
4
+ *
5
+ * Copyright (c) 2011-2012 @viljamis
6
+ * Available under the MIT license
7
+ */
8
+
9
+ /*jslint browser: true, sloppy: true, vars: true, plusplus: true, indent: 2 */
10
+
11
+ (function ($, window, i) {
12
+ $.fn.responsiveSlides = function (options) {
13
+
14
+ // Default settings
15
+ var settings = $.extend({
16
+ "auto": true, // Boolean: Animate automatically, true or false
17
+ "speed": 500, // Integer: Speed of the transition, in milliseconds
18
+ "timeout": 4000, // Integer: Time between slide transitions, in milliseconds
19
+ "pager": false, // Boolean: Show pager, true or false
20
+ "nav": false, // Boolean: Show navigation, true or false
21
+ "random": false, // Boolean: Randomize the order of the slides, true or false
22
+ "pause": false, // Boolean: Pause on hover, true or false
23
+ "pauseControls": true, // Boolean: Pause when hovering controls, true or false
24
+ "prevText": "Previous", // String: Text for the "previous" button
25
+ "nextText": "Next", // String: Text for the "next" button
26
+ "maxwidth": "", // Integer: Max-width of the slideshow, in pixels
27
+ "navContainer": "", // Selector: Where auto generated controls should be appended to, default is after the <ul>
28
+ "manualControls": "", // Selector: Declare custom pager navigation
29
+ "namespace": "rslides", // String: change the default namespace used
30
+ "before": $.noop, // Function: Before callback
31
+ "after": $.noop // Function: After callback
32
+ }, options);
33
+
34
+ return this.each(function () {
35
+
36
+ // Index for namespacing
37
+ i++;
38
+
39
+ var $this = $(this),
40
+
41
+ // Local variables
42
+ vendor,
43
+ selectTab,
44
+ startCycle,
45
+ restartCycle,
46
+ rotate,
47
+ $tabs,
48
+
49
+ // Helpers
50
+ index = 0,
51
+ $slide = $this.children(),
52
+ length = $slide.size(),
53
+ fadeTime = parseFloat(settings.speed),
54
+ waitTime = parseFloat(settings.timeout),
55
+ maxw = parseFloat(settings.maxwidth),
56
+
57
+ // Namespacing
58
+ namespace = settings.namespace,
59
+ namespaceIdx = namespace + i,
60
+
61
+ // Classes
62
+ navClass = namespace + "_nav " + namespaceIdx + "_nav",
63
+ activeClass = namespace + "_here",
64
+ visibleClass = namespaceIdx + "_on",
65
+ slideClassPrefix = namespaceIdx + "_s",
66
+
67
+ // Pager
68
+ $pager = $("<ul class='" + namespace + "_tabs " + namespaceIdx + "_tabs' />"),
69
+
70
+ // Styles for visible and hidden slides
71
+ visible = {"float": "left", "position": "relative", "opacity": 1, "zIndex": 2},
72
+ hidden = {"float": "none", "position": "absolute", "opacity": 0, "zIndex": 1},
73
+
74
+ // Detect transition support
75
+ supportsTransitions = (function () {
76
+ var docBody = document.body || document.documentElement;
77
+ var styles = docBody.style;
78
+ var prop = "transition";
79
+ if (typeof styles[prop] === "string") {
80
+ return true;
81
+ }
82
+ // Tests for vendor specific prop
83
+ vendor = ["Moz", "Webkit", "Khtml", "O", "ms"];
84
+ prop = prop.charAt(0).toUpperCase() + prop.substr(1);
85
+ var i;
86
+ for (i = 0; i < vendor.length; i++) {
87
+ if (typeof styles[vendor[i] + prop] === "string") {
88
+ return true;
89
+ }
90
+ }
91
+ return false;
92
+ })(),
93
+
94
+ // Fading animation
95
+ slideTo = function (idx) {
96
+ settings.before(idx);
97
+ // If CSS3 transitions are supported
98
+ if (supportsTransitions) {
99
+ $slide
100
+ .removeClass(visibleClass)
101
+ .css(hidden)
102
+ .eq(idx)
103
+ .addClass(visibleClass)
104
+ .css(visible);
105
+ index = idx;
106
+ setTimeout(function () {
107
+ settings.after(idx);
108
+ }, fadeTime);
109
+ // If not, use jQuery fallback
110
+ } else {
111
+ $slide
112
+ .stop()
113
+ .fadeOut(fadeTime, function () {
114
+ $(this)
115
+ .removeClass(visibleClass)
116
+ .css(hidden)
117
+ .css("opacity", 1);
118
+ })
119
+ .eq(idx)
120
+ .fadeIn(fadeTime, function () {
121
+ $(this)
122
+ .addClass(visibleClass)
123
+ .css(visible);
124
+ settings.after(idx);
125
+ index = idx;
126
+ });
127
+ }
128
+ };
129
+
130
+ // Random order
131
+ if (settings.random) {
132
+ $slide.sort(function () {
133
+ return (Math.round(Math.random()) - 0.5);
134
+ });
135
+ $this
136
+ .empty()
137
+ .append($slide);
138
+ }
139
+
140
+ // Add ID's to each slide
141
+ $slide.each(function (i) {
142
+ this.id = slideClassPrefix + i;
143
+ });
144
+
145
+ // Add max-width and classes
146
+ $this.addClass(namespace + " " + namespaceIdx);
147
+ if (options && options.maxwidth) {
148
+ $this.css("max-width", maxw);
149
+ }
150
+
151
+ // Hide all slides, then show first one
152
+ $slide
153
+ .hide()
154
+ .css(hidden)
155
+ .eq(0)
156
+ .addClass(visibleClass)
157
+ .css(visible)
158
+ .show();
159
+
160
+ // CSS transitions
161
+ if (supportsTransitions) {
162
+ $slide
163
+ .show()
164
+ .css({
165
+ // -ms prefix isn't needed as IE10 uses prefix free version
166
+ "-webkit-transition": "opacity " + fadeTime + "ms ease-in-out",
167
+ "-moz-transition": "opacity " + fadeTime + "ms ease-in-out",
168
+ "-o-transition": "opacity " + fadeTime + "ms ease-in-out",
169
+ "transition": "opacity " + fadeTime + "ms ease-in-out"
170
+ });
171
+ }
172
+
173
+ // Only run if there's more than one slide
174
+ if ($slide.size() > 1) {
175
+
176
+ // Make sure the timeout is at least 100ms longer than the fade
177
+ if (waitTime < fadeTime + 100) {
178
+ return;
179
+ }
180
+
181
+ // Pager
182
+ if (settings.pager && !settings.manualControls) {
183
+ var tabMarkup = [];
184
+ $slide.each(function (i) {
185
+ var n = i + 1;
186
+ tabMarkup +=
187
+ "<li>" +
188
+ "<a href='#' class='" + slideClassPrefix + n + "'>" + n + "</a>" +
189
+ "</li>";
190
+ });
191
+ $pager.append(tabMarkup);
192
+
193
+ // Inject pager
194
+ if (options.navContainer) {
195
+ $(settings.navContainer).append($pager);
196
+ } else {
197
+ $this.after($pager);
198
+ }
199
+ }
200
+
201
+ // Manual pager controls
202
+ if (settings.manualControls) {
203
+ $pager = $(settings.manualControls);
204
+ $pager.addClass(namespace + "_tabs " + namespaceIdx + "_tabs");
205
+ }
206
+
207
+ // Add pager slide class prefixes
208
+ if (settings.pager || settings.manualControls) {
209
+ $pager.find('li').each(function (i) {
210
+ $(this).addClass(slideClassPrefix + (i + 1));
211
+ });
212
+ }
213
+
214
+ // If we have a pager, we need to set up the selectTab function
215
+ if (settings.pager || settings.manualControls) {
216
+ $tabs = $pager.find('a');
217
+
218
+ // Select pager item
219
+ selectTab = function (idx) {
220
+ $tabs
221
+ .closest("li")
222
+ .removeClass(activeClass)
223
+ .eq(idx)
224
+ .addClass(activeClass);
225
+ };
226
+ }
227
+
228
+ // Auto cycle
229
+ if (settings.auto) {
230
+
231
+ startCycle = function () {
232
+ rotate = setInterval(function () {
233
+
234
+ // Clear the event queue
235
+ $slide.stop(true, true);
236
+
237
+ var idx = index + 1 < length ? index + 1 : 0;
238
+
239
+ // Remove active state and set new if pager is set
240
+ if (settings.pager || settings.manualControls) {
241
+ selectTab(idx);
242
+ }
243
+
244
+ slideTo(idx);
245
+ }, waitTime);
246
+ };
247
+
248
+ // Init cycle
249
+ startCycle();
250
+ }
251
+
252
+ // Restarting cycle
253
+ restartCycle = function () {
254
+ if (settings.auto) {
255
+ // Stop
256
+ clearInterval(rotate);
257
+ // Restart
258
+ startCycle();
259
+ }
260
+ };
261
+
262
+ // Pause on hover
263
+ if (settings.pause) {
264
+ $this.hover(function () {
265
+ clearInterval(rotate);
266
+ }, function () {
267
+ restartCycle();
268
+ });
269
+ }
270
+
271
+ // Pager click event handler
272
+ if (settings.pager || settings.manualControls) {
273
+ $tabs.bind("click", function (e) {
274
+ e.preventDefault();
275
+
276
+ if (!settings.pauseControls) {
277
+ restartCycle();
278
+ }
279
+
280
+ // Get index of clicked tab
281
+ var idx = $tabs.index(this);
282
+
283
+ // Break if element is already active or currently animated
284
+ if (index === idx || $("." + visibleClass).queue('fx').length) {
285
+ return;
286
+ }
287
+
288
+ // Remove active state from old tab and set new one
289
+ selectTab(idx);
290
+
291
+ // Do the animation
292
+ slideTo(idx);
293
+ })
294
+ .eq(0)
295
+ .closest("li")
296
+ .addClass(activeClass);
297
+
298
+ // Pause when hovering pager
299
+ if (settings.pauseControls) {
300
+ $tabs.hover(function () {
301
+ clearInterval(rotate);
302
+ }, function () {
303
+ restartCycle();
304
+ });
305
+ }
306
+ }
307
+
308
+ // Navigation
309
+ if (settings.nav) {
310
+ var navMarkup =
311
+ "<a href='#' class='" + navClass + " prev'>" + settings.prevText + "</a>" +
312
+ "<a href='#' class='" + navClass + " next'>" + settings.nextText + "</a>";
313
+
314
+ // Inject navigation
315
+ if (options.navContainer) {
316
+ $(settings.navContainer).append(navMarkup);
317
+ } else {
318
+ $this.after(navMarkup);
319
+ }
320
+
321
+ var $trigger = $("." + namespaceIdx + "_nav"),
322
+ $prev = $trigger.filter(".prev");
323
+
324
+ // Click event handler
325
+ $trigger.bind("click", function (e) {
326
+ e.preventDefault();
327
+
328
+ var $visibleClass = $("." + visibleClass);
329
+
330
+ // Prevent clicking if currently animated
331
+ if ($visibleClass.queue('fx').length) {
332
+ return;
333
+ }
334
+
335
+ // Adds active class during slide animation
336
+ // $(this)
337
+ // .addClass(namespace + "_active")
338
+ // .delay(fadeTime)
339
+ // .queue(function (next) {
340
+ // $(this).removeClass(namespace + "_active");
341
+ // next();
342
+ // });
343
+
344
+ // Determine where to slide
345
+ var idx = $slide.index($visibleClass),
346
+ prevIdx = idx - 1,
347
+ nextIdx = idx + 1 < length ? index + 1 : 0;
348
+
349
+ // Go to slide
350
+ slideTo($(this)[0] === $prev[0] ? prevIdx : nextIdx);
351
+ if (settings.pager || settings.manualControls) {
352
+ selectTab($(this)[0] === $prev[0] ? prevIdx : nextIdx);
353
+ }
354
+
355
+ if (!settings.pauseControls) {
356
+ restartCycle();
357
+ }
358
+ });
359
+
360
+ // Pause when hovering navigation
361
+ if (settings.pauseControls) {
362
+ $trigger.hover(function () {
363
+ clearInterval(rotate);
364
+ }, function () {
365
+ restartCycle();
366
+ });
367
+ }
368
+ }
369
+
370
+ }
371
+
372
+ // Max-width fallback
373
+ if (typeof document.body.style.maxWidth === "undefined" && options.maxwidth) {
374
+ var widthSupport = function () {
375
+ $this.css("width", "100%");
376
+ if ($this.width() > maxw) {
377
+ $this.css("width", maxw);
378
+ }
379
+ };
380
+
381
+ // Init fallback
382
+ widthSupport();
383
+ $(window).bind("resize", function () {
384
+ widthSupport();
385
+ });
386
+ }
387
+
388
+ });
389
+
390
+ };
391
+ })(jQuery, this, 0);