assets-rails 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +65 -0
- data/Rakefile +2 -0
- data/assets-rails.gemspec +25 -0
- data/lib/assets-rails.rb +7 -0
- data/lib/assets-rails/engine.rb +9 -0
- data/lib/assets-rails/version.rb +5 -0
- data/vendor/assets/fonts/bootstrap/v3.2.0/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/fonts/bootstrap/v3.2.0/glyphicons-halflings-regular.svg +229 -0
- data/vendor/assets/fonts/bootstrap/v3.2.0/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/fonts/bootstrap/v3.2.0/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/fonts/bootstrap/v3.3.0/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/fonts/bootstrap/v3.3.0/glyphicons-halflings-regular.svg +229 -0
- data/vendor/assets/fonts/bootstrap/v3.3.0/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/fonts/bootstrap/v3.3.0/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/fonts/font-awesome/v4.2.0/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/font-awesome/v4.2.0/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/font-awesome/v4.2.0/fontawesome-webfont.svg +520 -0
- data/vendor/assets/fonts/font-awesome/v4.2.0/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/font-awesome/v4.2.0/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/jquery.flexslider/flexslider-icon.eot +0 -0
- data/vendor/assets/fonts/jquery.flexslider/flexslider-icon.svg +19 -0
- data/vendor/assets/fonts/jquery.flexslider/flexslider-icon.ttf +0 -0
- data/vendor/assets/fonts/jquery.flexslider/flexslider-icon.woff +0 -0
- data/vendor/assets/images/fancybox/blank.gif +0 -0
- data/vendor/assets/images/fancybox/fancybox_buttons.png +0 -0
- data/vendor/assets/images/fancybox/fancybox_loading.gif +0 -0
- data/vendor/assets/images/fancybox/fancybox_loading@2x.gif +0 -0
- data/vendor/assets/images/fancybox/fancybox_overlay.png +0 -0
- data/vendor/assets/images/fancybox/fancybox_sprite.png +0 -0
- data/vendor/assets/images/fancybox/fancybox_sprite@2x.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/border.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/controls.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/loading.gif +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/loading_background.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/overlay.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example2/controls.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example2/loading.gif +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example3/controls.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example3/loading.gif +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example4/border1.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example4/border2.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example4/loading.gif +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example5/border.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example5/controls.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example5/loading.gif +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example5/loading_background.png +0 -0
- data/vendor/assets/images/jquery.flexslider/bg_play_pause.png +0 -0
- data/vendor/assets/images/jquery.owlcarousel/AjaxLoader.gif +0 -0
- data/vendor/assets/images/jquery.owlcarousel/grabbing.png +0 -0
- data/vendor/assets/images/zebra_datepicker/calendar-disabled.png +0 -0
- data/vendor/assets/images/zebra_datepicker/calendar.png +0 -0
- data/vendor/assets/images/zebra_datepicker/metallic/default-date.png +0 -0
- data/vendor/assets/images/zebra_datepicker/metallic/disabled-date.png +0 -0
- data/vendor/assets/images/zebra_datepicker/metallic/header.png +0 -0
- data/vendor/assets/images/zebra_datepicker/metallic/selected-date.png +0 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0.js +12 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/affix.js +142 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/alert.js +92 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/button.js +110 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/carousel.js +223 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/collapse.js +170 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/dropdown.js +151 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/modal.js +280 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/popover.js +113 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/scrollspy.js +170 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/tab.js +128 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/tooltip.js +457 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/transition.js +59 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/affix.js +162 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/alert.js +94 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/button.js +116 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/carousel.js +239 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/collapse.js +211 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/dropdown.js +161 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/modal.js +281 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/popover.js +119 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/scrollspy.js +175 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/tab.js +153 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/tooltip.js +478 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/transition.js +59 -0
- data/vendor/assets/javascripts/draggabilly/v1.1.1.js +2 -0
- data/vendor/assets/javascripts/draggabilly/v1.1.1/draggabilly.js +615 -0
- data/vendor/assets/javascripts/imagesloaded/v3.1.8.js +2 -0
- data/vendor/assets/javascripts/imagesloaded/v3.1.8/imagesloaded.js +335 -0
- data/vendor/assets/javascripts/isotope/v2.0.1.js +1 -0
- data/vendor/assets/javascripts/isotope/v2.0.1/isotope.js +628 -0
- data/vendor/assets/javascripts/jquery.collageplus/v0.3.3.js +2 -0
- data/vendor/assets/javascripts/jquery.collageplus/v0.3.3/jquery.collagecaption.js +143 -0
- data/vendor/assets/javascripts/jquery.collageplus/v0.3.3/jquery.collageplus.js +401 -0
- data/vendor/assets/javascripts/jquery.collageplus/v0.3.3/remove_whitespace.js +13 -0
- data/vendor/assets/javascripts/jquery.colorbox/v1.5.14.js +2 -0
- data/vendor/assets/javascripts/jquery.colorbox/v1.5.14/jquery.colorbox.js +1090 -0
- data/vendor/assets/javascripts/jquery.expander/v1.4.12.js +1 -0
- data/vendor/assets/javascripts/jquery.expander/v1.4.12/jquery.expander.js +453 -0
- data/vendor/assets/javascripts/jquery.fakecrop.js +1 -0
- data/vendor/assets/javascripts/jquery.fakecrop/jquery.fakecrop.js +153 -0
- data/vendor/assets/javascripts/jquery.fancybox/v2.1.5.js +4 -0
- data/vendor/assets/javascripts/jquery.fancybox/v2.1.5/jquery.fancybox-buttons.js +122 -0
- data/vendor/assets/javascripts/jquery.fancybox/v2.1.5/jquery.fancybox-media.js +199 -0
- data/vendor/assets/javascripts/jquery.fancybox/v2.1.5/jquery.fancybox-thumbs.js +162 -0
- data/vendor/assets/javascripts/jquery.fancybox/v2.1.5/jquery.fancybox.js +2020 -0
- data/vendor/assets/javascripts/jquery.flexslider/v2.2.2.js +1 -0
- data/vendor/assets/javascripts/jquery.flexslider/v2.2.2/jquery.flexslider.js +1157 -0
- data/vendor/assets/javascripts/jquery.infinitescroll/v2.0.2.js +2 -0
- data/vendor/assets/javascripts/jquery.infinitescroll/v2.0.2/jquery.infinitescroll.js +821 -0
- data/vendor/assets/javascripts/jquery.nivo.slider/v3.2.js +2 -0
- data/vendor/assets/javascripts/jquery.nivo.slider/v3.2/jquery.nivo.slider.js +662 -0
- data/vendor/assets/javascripts/jquery.owlcarousel/v1.3.3.js +2 -0
- data/vendor/assets/javascripts/jquery.owlcarousel/v1.3.3/jquery.owlcarousel.js +1517 -0
- data/vendor/assets/javascripts/jquery.pageless.js +2 -0
- data/vendor/assets/javascripts/jquery.pageless/jquery.pageless.js +251 -0
- data/vendor/assets/javascripts/jquery.render/v1.1.0.js +2 -0
- data/vendor/assets/javascripts/jquery.render/v1.1.0/jquery.render.js +56 -0
- data/vendor/assets/javascripts/jquery.scrollto/v1.4.13.js +2 -0
- data/vendor/assets/javascripts/jquery.scrollto/v1.4.13/jquery.scrollto.js +187 -0
- data/vendor/assets/javascripts/jquery.timeago/v1.4.1.js +1 -0
- data/vendor/assets/javascripts/jquery.timeago/v1.4.1/jquery.timeago.js +214 -0
- data/vendor/assets/javascripts/jquery.turbolinks/v2.1.0.js +1 -0
- data/vendor/assets/javascripts/jquery.turbolinks/v2.1.0/jquery.turbolinks.js +49 -0
- data/vendor/assets/javascripts/jquery/v1.11.1.js +1 -0
- data/vendor/assets/javascripts/jquery/v1.11.1/jquery.js +10308 -0
- data/vendor/assets/javascripts/jquery/v2.1.1.js +1 -0
- data/vendor/assets/javascripts/jquery/v2.1.1/jquery.js +9190 -0
- data/vendor/assets/javascripts/masonry/v3.1.5.js +2 -0
- data/vendor/assets/javascripts/masonry/v3.1.5/masonry.js +205 -0
- data/vendor/assets/javascripts/nprogress/v0.1.6.js +2 -0
- data/vendor/assets/javascripts/nprogress/v0.1.6/nprogress-ajax.js +4 -0
- data/vendor/assets/javascripts/nprogress/v0.1.6/nprogress-turbolinks.js +5 -0
- data/vendor/assets/javascripts/nprogress/v0.1.6/nprogress.js +475 -0
- data/vendor/assets/javascripts/responsiveCarousel/v1.2.0.js +2 -0
- data/vendor/assets/javascripts/responsiveCarousel/v1.2.0/responsiveCarousel.js +410 -0
- data/vendor/assets/javascripts/responsiveslides/v1.54.js +2 -0
- data/vendor/assets/javascripts/responsiveslides/v1.54/responsiveslides.js +391 -0
- data/vendor/assets/javascripts/zebra_datepicker/v1.8.9.js +2 -0
- data/vendor/assets/javascripts/zebra_datepicker/v1.8.9/zebra_datepicker.js +2965 -0
- data/vendor/assets/stylesheets/bootstrap/_v3.2.0.scss +52 -0
- data/vendor/assets/stylesheets/bootstrap/_v3.3.0.scss +52 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_alerts.scss +68 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_badges.scss +57 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_bootstrap-sprockets.scss +7 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_breadcrumbs.scss +26 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_button-groups.scss +240 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_buttons.scss +157 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_carousel.scss +243 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_close.scss +35 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_code.scss +68 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_component-animations.scss +35 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_dropdowns.scss +215 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_forms.scss +538 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_glyphicons.scss +237 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_grid.scss +84 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_input-groups.scss +166 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_jumbotron.scss +48 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_labels.scss +66 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_list-group.scss +131 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_media.scss +56 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_mixins.scss +39 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_modals.scss +150 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_navbar.scss +659 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_navs.scss +242 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_normalize.scss +425 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_pager.scss +55 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_pagination.scss +88 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_panels.scss +243 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_popovers.scss +133 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_print.scss +101 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_progress-bars.scss +105 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_responsive-embed.scss +34 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_responsive-utilities.scss +174 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_scaffolding.scss +150 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_tables.scss +233 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_theme.scss +258 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_thumbnails.scss +38 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_tooltip.scss +95 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_type.scss +304 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_utilities.scss +57 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_variables.scss +854 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_wells.scss +29 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_alerts.scss +14 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_background-variant.scss +11 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_border-radius.scss +18 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_buttons.scss +50 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_center-block.scss +7 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_clearfix.scss +22 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_forms.scss +84 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_gradients.scss +58 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_grid-framework.scss +81 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_grid.scss +122 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_hide-text.scss +21 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_image.scss +34 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_labels.scss +12 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_list-group.scss +31 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_nav-divider.scss +10 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_nav-vertical-align.scss +9 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_opacity.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_pagination.scss +23 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_panels.scss +24 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_progress-bar.scss +10 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_reset-filter.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_resize.scss +6 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_responsive-visibility.scss +21 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_size.scss +10 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_tab-focus.scss +9 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_table-row.scss +28 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_text-emphasis.scss +11 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_text-overflow.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_vendor-prefixes.scss +219 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_alerts.scss +68 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_badges.scss +57 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_bootstrap-sprockets.scss +7 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_breadcrumbs.scss +26 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_button-groups.scss +247 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_buttons.scss +160 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_carousel.scss +267 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_close.scss +35 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_code.scss +69 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_component-animations.scss +38 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_dropdowns.scss +213 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_forms.scss +561 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_glyphicons.scss +234 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_grid.scss +84 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_input-groups.scss +166 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_jumbotron.scss +48 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_labels.scss +66 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_list-group.scss +132 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_media.scss +47 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_mixins.scss +39 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_modals.scss +149 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_navbar.scss +661 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_navs.scss +244 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_normalize.scss +427 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_pager.scss +54 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_pagination.scss +88 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_panels.scss +261 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_popovers.scss +134 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_print.scss +107 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_progress-bars.scss +87 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_responsive-embed.scss +35 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_responsive-utilities.scss +174 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_scaffolding.scss +150 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_tables.scss +234 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_theme.scss +260 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_thumbnails.scss +38 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_tooltip.scss +95 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_type.scss +298 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_utilities.scss +56 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_variables.scss +864 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_wells.scss +29 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_alerts.scss +14 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_background-variant.scss +11 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_border-radius.scss +18 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_buttons.scss +52 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_center-block.scss +7 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_clearfix.scss +22 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_forms.scss +88 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_gradients.scss +58 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_grid-framework.scss +81 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_grid.scss +122 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_hide-text.scss +21 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_image.scss +33 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_labels.scss +12 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_list-group.scss +31 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_nav-divider.scss +10 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_nav-vertical-align.scss +9 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_opacity.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_pagination.scss +23 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_panels.scss +24 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_progress-bar.scss +10 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_reset-filter.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_resize.scss +6 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_responsive-visibility.scss +21 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_size.scss +10 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_tab-focus.scss +9 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_table-row.scss +28 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_text-emphasis.scss +11 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_text-overflow.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_vendor-prefixes.scss +222 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0.css +3 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_bordered-pulled.scss +16 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_core.scss +11 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_extras.scss +44 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_fixed-width.scss +6 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_icons.scss +552 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_larger.scss +13 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_list.scss +19 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_mixins.scss +25 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_path.scss +14 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_rotated-flipped.scss +20 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_spinning.scss +29 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_stacked.scss +20 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_variables.scss +561 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/font-awesome.scss +17 -0
- data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example1.css.scss +70 -0
- data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example2.css.scss +50 -0
- data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example3.css.scss +45 -0
- data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example4.css.scss +66 -0
- data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example5.css.scss +58 -0
- data/vendor/assets/stylesheets/jquery.fancybox/v2.1.5.css +5 -0
- data/vendor/assets/stylesheets/jquery.fancybox/v2.1.5/jquery.fancybox-buttons.css.erb +97 -0
- data/vendor/assets/stylesheets/jquery.fancybox/v2.1.5/jquery.fancybox-thumbs.css +55 -0
- data/vendor/assets/stylesheets/jquery.fancybox/v2.1.5/jquery.fancybox.css.erb +274 -0
- data/vendor/assets/stylesheets/jquery.flexslider/v2.2.2.css +3 -0
- data/vendor/assets/stylesheets/jquery.flexslider/v2.2.2/jquery.flexslider.scss +96 -0
- data/vendor/assets/stylesheets/jquery.nivo.slider/v3.2.css +3 -0
- data/vendor/assets/stylesheets/jquery.nivo.slider/v3.2/jquery.nivo.slider.css +113 -0
- data/vendor/assets/stylesheets/jquery.owlcarousel/v1.3.3/jquery.owlcarousel.scss +71 -0
- data/vendor/assets/stylesheets/jquery.owlcarousel/v1.3.3/theme.scss +79 -0
- data/vendor/assets/stylesheets/jquery.owlcarousel/v1.3.3/transitions.scss +163 -0
- data/vendor/assets/stylesheets/nprogress/v0.1.6/nprogress-bootstrap.css +4 -0
- data/vendor/assets/stylesheets/nprogress/v0.1.6/nprogress.css.scss +77 -0
- data/vendor/assets/stylesheets/responsiveslides/v1.54.css +3 -0
- data/vendor/assets/stylesheets/responsiveslides/v1.54/responsiveslides.css +33 -0
- data/vendor/assets/stylesheets/zebra_datepicker/v1.8.9/bootstrap.scss +95 -0
- data/vendor/assets/stylesheets/zebra_datepicker/v1.8.9/default.scss +102 -0
- data/vendor/assets/stylesheets/zebra_datepicker/v1.8.9/metallic.scss +106 -0
- metadata +407 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
/* ========================================================================
|
2
|
+
* Bootstrap: transition.js v3.2.0
|
3
|
+
* http://getbootstrap.com/javascript/#transitions
|
4
|
+
* ========================================================================
|
5
|
+
* Copyright 2011-2014 Twitter, Inc.
|
6
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
|
+
* ======================================================================== */
|
8
|
+
|
9
|
+
|
10
|
+
+function ($) {
|
11
|
+
'use strict';
|
12
|
+
|
13
|
+
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
|
14
|
+
// ============================================================
|
15
|
+
|
16
|
+
function transitionEnd() {
|
17
|
+
var el = document.createElement('bootstrap')
|
18
|
+
|
19
|
+
var transEndEventNames = {
|
20
|
+
WebkitTransition : 'webkitTransitionEnd',
|
21
|
+
MozTransition : 'transitionend',
|
22
|
+
OTransition : 'oTransitionEnd otransitionend',
|
23
|
+
transition : 'transitionend'
|
24
|
+
}
|
25
|
+
|
26
|
+
for (var name in transEndEventNames) {
|
27
|
+
if (el.style[name] !== undefined) {
|
28
|
+
return { end: transEndEventNames[name] }
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
return false // explicit for ie8 ( ._.)
|
33
|
+
}
|
34
|
+
|
35
|
+
// http://blog.alexmaccaw.com/css-transitions
|
36
|
+
$.fn.emulateTransitionEnd = function (duration) {
|
37
|
+
var called = false
|
38
|
+
var $el = this
|
39
|
+
$(this).one('bsTransitionEnd', function () { called = true })
|
40
|
+
var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
|
41
|
+
setTimeout(callback, duration)
|
42
|
+
return this
|
43
|
+
}
|
44
|
+
|
45
|
+
$(function () {
|
46
|
+
$.support.transition = transitionEnd()
|
47
|
+
|
48
|
+
if (!$.support.transition) return
|
49
|
+
|
50
|
+
$.event.special.bsTransitionEnd = {
|
51
|
+
bindType: $.support.transition.end,
|
52
|
+
delegateType: $.support.transition.end,
|
53
|
+
handle: function (e) {
|
54
|
+
if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
|
55
|
+
}
|
56
|
+
}
|
57
|
+
})
|
58
|
+
|
59
|
+
}(jQuery);
|
@@ -0,0 +1,162 @@
|
|
1
|
+
/* ========================================================================
|
2
|
+
* Bootstrap: affix.js v3.3.0
|
3
|
+
* http://getbootstrap.com/javascript/#affix
|
4
|
+
* ========================================================================
|
5
|
+
* Copyright 2011-2014 Twitter, Inc.
|
6
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
|
+
* ======================================================================== */
|
8
|
+
|
9
|
+
|
10
|
+
+function ($) {
|
11
|
+
'use strict';
|
12
|
+
|
13
|
+
// AFFIX CLASS DEFINITION
|
14
|
+
// ======================
|
15
|
+
|
16
|
+
var Affix = function (element, options) {
|
17
|
+
this.options = $.extend({}, Affix.DEFAULTS, options)
|
18
|
+
|
19
|
+
this.$target = $(this.options.target)
|
20
|
+
.on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
|
21
|
+
.on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
|
22
|
+
|
23
|
+
this.$element = $(element)
|
24
|
+
this.affixed =
|
25
|
+
this.unpin =
|
26
|
+
this.pinnedOffset = null
|
27
|
+
|
28
|
+
this.checkPosition()
|
29
|
+
}
|
30
|
+
|
31
|
+
Affix.VERSION = '3.3.0'
|
32
|
+
|
33
|
+
Affix.RESET = 'affix affix-top affix-bottom'
|
34
|
+
|
35
|
+
Affix.DEFAULTS = {
|
36
|
+
offset: 0,
|
37
|
+
target: window
|
38
|
+
}
|
39
|
+
|
40
|
+
Affix.prototype.getState = function (scrollHeight, height, offsetTop, offsetBottom) {
|
41
|
+
var scrollTop = this.$target.scrollTop()
|
42
|
+
var position = this.$element.offset()
|
43
|
+
var targetHeight = this.$target.height()
|
44
|
+
|
45
|
+
if (offsetTop != null && this.affixed == 'top') return scrollTop < offsetTop ? 'top' : false
|
46
|
+
|
47
|
+
if (this.affixed == 'bottom') {
|
48
|
+
if (offsetTop != null) return (scrollTop + this.unpin <= position.top) ? false : 'bottom'
|
49
|
+
return (scrollTop + targetHeight <= scrollHeight - offsetBottom) ? false : 'bottom'
|
50
|
+
}
|
51
|
+
|
52
|
+
var initializing = this.affixed == null
|
53
|
+
var colliderTop = initializing ? scrollTop : position.top
|
54
|
+
var colliderHeight = initializing ? targetHeight : height
|
55
|
+
|
56
|
+
if (offsetTop != null && colliderTop <= offsetTop) return 'top'
|
57
|
+
if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom'
|
58
|
+
|
59
|
+
return false
|
60
|
+
}
|
61
|
+
|
62
|
+
Affix.prototype.getPinnedOffset = function () {
|
63
|
+
if (this.pinnedOffset) return this.pinnedOffset
|
64
|
+
this.$element.removeClass(Affix.RESET).addClass('affix')
|
65
|
+
var scrollTop = this.$target.scrollTop()
|
66
|
+
var position = this.$element.offset()
|
67
|
+
return (this.pinnedOffset = position.top - scrollTop)
|
68
|
+
}
|
69
|
+
|
70
|
+
Affix.prototype.checkPositionWithEventLoop = function () {
|
71
|
+
setTimeout($.proxy(this.checkPosition, this), 1)
|
72
|
+
}
|
73
|
+
|
74
|
+
Affix.prototype.checkPosition = function () {
|
75
|
+
if (!this.$element.is(':visible')) return
|
76
|
+
|
77
|
+
var height = this.$element.height()
|
78
|
+
var offset = this.options.offset
|
79
|
+
var offsetTop = offset.top
|
80
|
+
var offsetBottom = offset.bottom
|
81
|
+
var scrollHeight = $('body').height()
|
82
|
+
|
83
|
+
if (typeof offset != 'object') offsetBottom = offsetTop = offset
|
84
|
+
if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
|
85
|
+
if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
|
86
|
+
|
87
|
+
var affix = this.getState(scrollHeight, height, offsetTop, offsetBottom)
|
88
|
+
|
89
|
+
if (this.affixed != affix) {
|
90
|
+
if (this.unpin != null) this.$element.css('top', '')
|
91
|
+
|
92
|
+
var affixType = 'affix' + (affix ? '-' + affix : '')
|
93
|
+
var e = $.Event(affixType + '.bs.affix')
|
94
|
+
|
95
|
+
this.$element.trigger(e)
|
96
|
+
|
97
|
+
if (e.isDefaultPrevented()) return
|
98
|
+
|
99
|
+
this.affixed = affix
|
100
|
+
this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
|
101
|
+
|
102
|
+
this.$element
|
103
|
+
.removeClass(Affix.RESET)
|
104
|
+
.addClass(affixType)
|
105
|
+
.trigger(affixType.replace('affix', 'affixed') + '.bs.affix')
|
106
|
+
}
|
107
|
+
|
108
|
+
if (affix == 'bottom') {
|
109
|
+
this.$element.offset({
|
110
|
+
top: scrollHeight - height - offsetBottom
|
111
|
+
})
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
|
116
|
+
// AFFIX PLUGIN DEFINITION
|
117
|
+
// =======================
|
118
|
+
|
119
|
+
function Plugin(option) {
|
120
|
+
return this.each(function () {
|
121
|
+
var $this = $(this)
|
122
|
+
var data = $this.data('bs.affix')
|
123
|
+
var options = typeof option == 'object' && option
|
124
|
+
|
125
|
+
if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
|
126
|
+
if (typeof option == 'string') data[option]()
|
127
|
+
})
|
128
|
+
}
|
129
|
+
|
130
|
+
var old = $.fn.affix
|
131
|
+
|
132
|
+
$.fn.affix = Plugin
|
133
|
+
$.fn.affix.Constructor = Affix
|
134
|
+
|
135
|
+
|
136
|
+
// AFFIX NO CONFLICT
|
137
|
+
// =================
|
138
|
+
|
139
|
+
$.fn.affix.noConflict = function () {
|
140
|
+
$.fn.affix = old
|
141
|
+
return this
|
142
|
+
}
|
143
|
+
|
144
|
+
|
145
|
+
// AFFIX DATA-API
|
146
|
+
// ==============
|
147
|
+
|
148
|
+
$(window).on('load', function () {
|
149
|
+
$('[data-spy="affix"]').each(function () {
|
150
|
+
var $spy = $(this)
|
151
|
+
var data = $spy.data()
|
152
|
+
|
153
|
+
data.offset = data.offset || {}
|
154
|
+
|
155
|
+
if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom
|
156
|
+
if (data.offsetTop != null) data.offset.top = data.offsetTop
|
157
|
+
|
158
|
+
Plugin.call($spy, data)
|
159
|
+
})
|
160
|
+
})
|
161
|
+
|
162
|
+
}(jQuery);
|
@@ -0,0 +1,94 @@
|
|
1
|
+
/* ========================================================================
|
2
|
+
* Bootstrap: alert.js v3.3.0
|
3
|
+
* http://getbootstrap.com/javascript/#alerts
|
4
|
+
* ========================================================================
|
5
|
+
* Copyright 2011-2014 Twitter, Inc.
|
6
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
|
+
* ======================================================================== */
|
8
|
+
|
9
|
+
|
10
|
+
+function ($) {
|
11
|
+
'use strict';
|
12
|
+
|
13
|
+
// ALERT CLASS DEFINITION
|
14
|
+
// ======================
|
15
|
+
|
16
|
+
var dismiss = '[data-dismiss="alert"]'
|
17
|
+
var Alert = function (el) {
|
18
|
+
$(el).on('click', dismiss, this.close)
|
19
|
+
}
|
20
|
+
|
21
|
+
Alert.VERSION = '3.3.0'
|
22
|
+
|
23
|
+
Alert.TRANSITION_DURATION = 150
|
24
|
+
|
25
|
+
Alert.prototype.close = function (e) {
|
26
|
+
var $this = $(this)
|
27
|
+
var selector = $this.attr('data-target')
|
28
|
+
|
29
|
+
if (!selector) {
|
30
|
+
selector = $this.attr('href')
|
31
|
+
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
|
32
|
+
}
|
33
|
+
|
34
|
+
var $parent = $(selector)
|
35
|
+
|
36
|
+
if (e) e.preventDefault()
|
37
|
+
|
38
|
+
if (!$parent.length) {
|
39
|
+
$parent = $this.closest('.alert')
|
40
|
+
}
|
41
|
+
|
42
|
+
$parent.trigger(e = $.Event('close.bs.alert'))
|
43
|
+
|
44
|
+
if (e.isDefaultPrevented()) return
|
45
|
+
|
46
|
+
$parent.removeClass('in')
|
47
|
+
|
48
|
+
function removeElement() {
|
49
|
+
// detach from parent, fire event then clean up data
|
50
|
+
$parent.detach().trigger('closed.bs.alert').remove()
|
51
|
+
}
|
52
|
+
|
53
|
+
$.support.transition && $parent.hasClass('fade') ?
|
54
|
+
$parent
|
55
|
+
.one('bsTransitionEnd', removeElement)
|
56
|
+
.emulateTransitionEnd(Alert.TRANSITION_DURATION) :
|
57
|
+
removeElement()
|
58
|
+
}
|
59
|
+
|
60
|
+
|
61
|
+
// ALERT PLUGIN DEFINITION
|
62
|
+
// =======================
|
63
|
+
|
64
|
+
function Plugin(option) {
|
65
|
+
return this.each(function () {
|
66
|
+
var $this = $(this)
|
67
|
+
var data = $this.data('bs.alert')
|
68
|
+
|
69
|
+
if (!data) $this.data('bs.alert', (data = new Alert(this)))
|
70
|
+
if (typeof option == 'string') data[option].call($this)
|
71
|
+
})
|
72
|
+
}
|
73
|
+
|
74
|
+
var old = $.fn.alert
|
75
|
+
|
76
|
+
$.fn.alert = Plugin
|
77
|
+
$.fn.alert.Constructor = Alert
|
78
|
+
|
79
|
+
|
80
|
+
// ALERT NO CONFLICT
|
81
|
+
// =================
|
82
|
+
|
83
|
+
$.fn.alert.noConflict = function () {
|
84
|
+
$.fn.alert = old
|
85
|
+
return this
|
86
|
+
}
|
87
|
+
|
88
|
+
|
89
|
+
// ALERT DATA-API
|
90
|
+
// ==============
|
91
|
+
|
92
|
+
$(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
|
93
|
+
|
94
|
+
}(jQuery);
|
@@ -0,0 +1,116 @@
|
|
1
|
+
/* ========================================================================
|
2
|
+
* Bootstrap: button.js v3.3.0
|
3
|
+
* http://getbootstrap.com/javascript/#buttons
|
4
|
+
* ========================================================================
|
5
|
+
* Copyright 2011-2014 Twitter, Inc.
|
6
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
|
+
* ======================================================================== */
|
8
|
+
|
9
|
+
|
10
|
+
+function ($) {
|
11
|
+
'use strict';
|
12
|
+
|
13
|
+
// BUTTON PUBLIC CLASS DEFINITION
|
14
|
+
// ==============================
|
15
|
+
|
16
|
+
var Button = function (element, options) {
|
17
|
+
this.$element = $(element)
|
18
|
+
this.options = $.extend({}, Button.DEFAULTS, options)
|
19
|
+
this.isLoading = false
|
20
|
+
}
|
21
|
+
|
22
|
+
Button.VERSION = '3.3.0'
|
23
|
+
|
24
|
+
Button.DEFAULTS = {
|
25
|
+
loadingText: 'loading...'
|
26
|
+
}
|
27
|
+
|
28
|
+
Button.prototype.setState = function (state) {
|
29
|
+
var d = 'disabled'
|
30
|
+
var $el = this.$element
|
31
|
+
var val = $el.is('input') ? 'val' : 'html'
|
32
|
+
var data = $el.data()
|
33
|
+
|
34
|
+
state = state + 'Text'
|
35
|
+
|
36
|
+
if (data.resetText == null) $el.data('resetText', $el[val]())
|
37
|
+
|
38
|
+
// push to event loop to allow forms to submit
|
39
|
+
setTimeout($.proxy(function () {
|
40
|
+
$el[val](data[state] == null ? this.options[state] : data[state])
|
41
|
+
|
42
|
+
if (state == 'loadingText') {
|
43
|
+
this.isLoading = true
|
44
|
+
$el.addClass(d).attr(d, d)
|
45
|
+
} else if (this.isLoading) {
|
46
|
+
this.isLoading = false
|
47
|
+
$el.removeClass(d).removeAttr(d)
|
48
|
+
}
|
49
|
+
}, this), 0)
|
50
|
+
}
|
51
|
+
|
52
|
+
Button.prototype.toggle = function () {
|
53
|
+
var changed = true
|
54
|
+
var $parent = this.$element.closest('[data-toggle="buttons"]')
|
55
|
+
|
56
|
+
if ($parent.length) {
|
57
|
+
var $input = this.$element.find('input')
|
58
|
+
if ($input.prop('type') == 'radio') {
|
59
|
+
if ($input.prop('checked') && this.$element.hasClass('active')) changed = false
|
60
|
+
else $parent.find('.active').removeClass('active')
|
61
|
+
}
|
62
|
+
if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
|
63
|
+
} else {
|
64
|
+
this.$element.attr('aria-pressed', !this.$element.hasClass('active'))
|
65
|
+
}
|
66
|
+
|
67
|
+
if (changed) this.$element.toggleClass('active')
|
68
|
+
}
|
69
|
+
|
70
|
+
|
71
|
+
// BUTTON PLUGIN DEFINITION
|
72
|
+
// ========================
|
73
|
+
|
74
|
+
function Plugin(option) {
|
75
|
+
return this.each(function () {
|
76
|
+
var $this = $(this)
|
77
|
+
var data = $this.data('bs.button')
|
78
|
+
var options = typeof option == 'object' && option
|
79
|
+
|
80
|
+
if (!data) $this.data('bs.button', (data = new Button(this, options)))
|
81
|
+
|
82
|
+
if (option == 'toggle') data.toggle()
|
83
|
+
else if (option) data.setState(option)
|
84
|
+
})
|
85
|
+
}
|
86
|
+
|
87
|
+
var old = $.fn.button
|
88
|
+
|
89
|
+
$.fn.button = Plugin
|
90
|
+
$.fn.button.Constructor = Button
|
91
|
+
|
92
|
+
|
93
|
+
// BUTTON NO CONFLICT
|
94
|
+
// ==================
|
95
|
+
|
96
|
+
$.fn.button.noConflict = function () {
|
97
|
+
$.fn.button = old
|
98
|
+
return this
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
// BUTTON DATA-API
|
103
|
+
// ===============
|
104
|
+
|
105
|
+
$(document)
|
106
|
+
.on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
|
107
|
+
var $btn = $(e.target)
|
108
|
+
if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
|
109
|
+
Plugin.call($btn, 'toggle')
|
110
|
+
e.preventDefault()
|
111
|
+
})
|
112
|
+
.on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
|
113
|
+
$(e.target).closest('.btn').toggleClass('focus', e.type == 'focus')
|
114
|
+
})
|
115
|
+
|
116
|
+
}(jQuery);
|
@@ -0,0 +1,239 @@
|
|
1
|
+
/* ========================================================================
|
2
|
+
* Bootstrap: carousel.js v3.3.0
|
3
|
+
* http://getbootstrap.com/javascript/#carousel
|
4
|
+
* ========================================================================
|
5
|
+
* Copyright 2011-2014 Twitter, Inc.
|
6
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
7
|
+
* ======================================================================== */
|
8
|
+
|
9
|
+
|
10
|
+
+function ($) {
|
11
|
+
'use strict';
|
12
|
+
|
13
|
+
// CAROUSEL CLASS DEFINITION
|
14
|
+
// =========================
|
15
|
+
|
16
|
+
var Carousel = function (element, options) {
|
17
|
+
this.$element = $(element)
|
18
|
+
this.$indicators = this.$element.find('.carousel-indicators')
|
19
|
+
this.options = options
|
20
|
+
this.paused =
|
21
|
+
this.sliding =
|
22
|
+
this.interval =
|
23
|
+
this.$active =
|
24
|
+
this.$items = null
|
25
|
+
|
26
|
+
this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))
|
27
|
+
|
28
|
+
this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element
|
29
|
+
.on('mouseenter.bs.carousel', $.proxy(this.pause, this))
|
30
|
+
.on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
|
31
|
+
}
|
32
|
+
|
33
|
+
Carousel.VERSION = '3.3.0'
|
34
|
+
|
35
|
+
Carousel.TRANSITION_DURATION = 600
|
36
|
+
|
37
|
+
Carousel.DEFAULTS = {
|
38
|
+
interval: 5000,
|
39
|
+
pause: 'hover',
|
40
|
+
wrap: true,
|
41
|
+
keyboard: true
|
42
|
+
}
|
43
|
+
|
44
|
+
Carousel.prototype.keydown = function (e) {
|
45
|
+
switch (e.which) {
|
46
|
+
case 37: this.prev(); break
|
47
|
+
case 39: this.next(); break
|
48
|
+
default: return
|
49
|
+
}
|
50
|
+
|
51
|
+
e.preventDefault()
|
52
|
+
}
|
53
|
+
|
54
|
+
Carousel.prototype.cycle = function (e) {
|
55
|
+
e || (this.paused = false)
|
56
|
+
|
57
|
+
this.interval && clearInterval(this.interval)
|
58
|
+
|
59
|
+
this.options.interval
|
60
|
+
&& !this.paused
|
61
|
+
&& (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
|
62
|
+
|
63
|
+
return this
|
64
|
+
}
|
65
|
+
|
66
|
+
Carousel.prototype.getItemIndex = function (item) {
|
67
|
+
this.$items = item.parent().children('.item')
|
68
|
+
return this.$items.index(item || this.$active)
|
69
|
+
}
|
70
|
+
|
71
|
+
Carousel.prototype.getItemForDirection = function (direction, active) {
|
72
|
+
var delta = direction == 'prev' ? -1 : 1
|
73
|
+
var activeIndex = this.getItemIndex(active)
|
74
|
+
var itemIndex = (activeIndex + delta) % this.$items.length
|
75
|
+
return this.$items.eq(itemIndex)
|
76
|
+
}
|
77
|
+
|
78
|
+
Carousel.prototype.to = function (pos) {
|
79
|
+
var that = this
|
80
|
+
var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))
|
81
|
+
|
82
|
+
if (pos > (this.$items.length - 1) || pos < 0) return
|
83
|
+
|
84
|
+
if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid"
|
85
|
+
if (activeIndex == pos) return this.pause().cycle()
|
86
|
+
|
87
|
+
return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))
|
88
|
+
}
|
89
|
+
|
90
|
+
Carousel.prototype.pause = function (e) {
|
91
|
+
e || (this.paused = true)
|
92
|
+
|
93
|
+
if (this.$element.find('.next, .prev').length && $.support.transition) {
|
94
|
+
this.$element.trigger($.support.transition.end)
|
95
|
+
this.cycle(true)
|
96
|
+
}
|
97
|
+
|
98
|
+
this.interval = clearInterval(this.interval)
|
99
|
+
|
100
|
+
return this
|
101
|
+
}
|
102
|
+
|
103
|
+
Carousel.prototype.next = function () {
|
104
|
+
if (this.sliding) return
|
105
|
+
return this.slide('next')
|
106
|
+
}
|
107
|
+
|
108
|
+
Carousel.prototype.prev = function () {
|
109
|
+
if (this.sliding) return
|
110
|
+
return this.slide('prev')
|
111
|
+
}
|
112
|
+
|
113
|
+
Carousel.prototype.slide = function (type, next) {
|
114
|
+
var $active = this.$element.find('.item.active')
|
115
|
+
var $next = next || this.getItemForDirection(type, $active)
|
116
|
+
var isCycling = this.interval
|
117
|
+
var direction = type == 'next' ? 'left' : 'right'
|
118
|
+
var fallback = type == 'next' ? 'first' : 'last'
|
119
|
+
var that = this
|
120
|
+
|
121
|
+
if (!$next.length) {
|
122
|
+
if (!this.options.wrap) return
|
123
|
+
$next = this.$element.find('.item')[fallback]()
|
124
|
+
}
|
125
|
+
|
126
|
+
if ($next.hasClass('active')) return (this.sliding = false)
|
127
|
+
|
128
|
+
var relatedTarget = $next[0]
|
129
|
+
var slideEvent = $.Event('slide.bs.carousel', {
|
130
|
+
relatedTarget: relatedTarget,
|
131
|
+
direction: direction
|
132
|
+
})
|
133
|
+
this.$element.trigger(slideEvent)
|
134
|
+
if (slideEvent.isDefaultPrevented()) return
|
135
|
+
|
136
|
+
this.sliding = true
|
137
|
+
|
138
|
+
isCycling && this.pause()
|
139
|
+
|
140
|
+
if (this.$indicators.length) {
|
141
|
+
this.$indicators.find('.active').removeClass('active')
|
142
|
+
var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])
|
143
|
+
$nextIndicator && $nextIndicator.addClass('active')
|
144
|
+
}
|
145
|
+
|
146
|
+
var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid"
|
147
|
+
if ($.support.transition && this.$element.hasClass('slide')) {
|
148
|
+
$next.addClass(type)
|
149
|
+
$next[0].offsetWidth // force reflow
|
150
|
+
$active.addClass(direction)
|
151
|
+
$next.addClass(direction)
|
152
|
+
$active
|
153
|
+
.one('bsTransitionEnd', function () {
|
154
|
+
$next.removeClass([type, direction].join(' ')).addClass('active')
|
155
|
+
$active.removeClass(['active', direction].join(' '))
|
156
|
+
that.sliding = false
|
157
|
+
setTimeout(function () {
|
158
|
+
that.$element.trigger(slidEvent)
|
159
|
+
}, 0)
|
160
|
+
})
|
161
|
+
.emulateTransitionEnd(Carousel.TRANSITION_DURATION)
|
162
|
+
} else {
|
163
|
+
$active.removeClass('active')
|
164
|
+
$next.addClass('active')
|
165
|
+
this.sliding = false
|
166
|
+
this.$element.trigger(slidEvent)
|
167
|
+
}
|
168
|
+
|
169
|
+
isCycling && this.cycle()
|
170
|
+
|
171
|
+
return this
|
172
|
+
}
|
173
|
+
|
174
|
+
|
175
|
+
// CAROUSEL PLUGIN DEFINITION
|
176
|
+
// ==========================
|
177
|
+
|
178
|
+
function Plugin(option) {
|
179
|
+
return this.each(function () {
|
180
|
+
var $this = $(this)
|
181
|
+
var data = $this.data('bs.carousel')
|
182
|
+
var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
|
183
|
+
var action = typeof option == 'string' ? option : options.slide
|
184
|
+
|
185
|
+
if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
|
186
|
+
if (typeof option == 'number') data.to(option)
|
187
|
+
else if (action) data[action]()
|
188
|
+
else if (options.interval) data.pause().cycle()
|
189
|
+
})
|
190
|
+
}
|
191
|
+
|
192
|
+
var old = $.fn.carousel
|
193
|
+
|
194
|
+
$.fn.carousel = Plugin
|
195
|
+
$.fn.carousel.Constructor = Carousel
|
196
|
+
|
197
|
+
|
198
|
+
// CAROUSEL NO CONFLICT
|
199
|
+
// ====================
|
200
|
+
|
201
|
+
$.fn.carousel.noConflict = function () {
|
202
|
+
$.fn.carousel = old
|
203
|
+
return this
|
204
|
+
}
|
205
|
+
|
206
|
+
|
207
|
+
// CAROUSEL DATA-API
|
208
|
+
// =================
|
209
|
+
|
210
|
+
var clickHandler = function (e) {
|
211
|
+
var href
|
212
|
+
var $this = $(this)
|
213
|
+
var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
|
214
|
+
if (!$target.hasClass('carousel')) return
|
215
|
+
var options = $.extend({}, $target.data(), $this.data())
|
216
|
+
var slideIndex = $this.attr('data-slide-to')
|
217
|
+
if (slideIndex) options.interval = false
|
218
|
+
|
219
|
+
Plugin.call($target, options)
|
220
|
+
|
221
|
+
if (slideIndex) {
|
222
|
+
$target.data('bs.carousel').to(slideIndex)
|
223
|
+
}
|
224
|
+
|
225
|
+
e.preventDefault()
|
226
|
+
}
|
227
|
+
|
228
|
+
$(document)
|
229
|
+
.on('click.bs.carousel.data-api', '[data-slide]', clickHandler)
|
230
|
+
.on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler)
|
231
|
+
|
232
|
+
$(window).on('load', function () {
|
233
|
+
$('[data-ride="carousel"]').each(function () {
|
234
|
+
var $carousel = $(this)
|
235
|
+
Plugin.call($carousel, $carousel.data())
|
236
|
+
})
|
237
|
+
})
|
238
|
+
|
239
|
+
}(jQuery);
|