flexslider-rails 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +35 -0
- data/README.md +36 -0
- data/Rakefile +1 -0
- data/flexslider-rails.gemspec +23 -0
- data/lib/flexslider/rails.rb +8 -0
- data/lib/flexslider/rails/version.rb +5 -0
- data/vendor/assets/fonts/flexslider-icon.eot +0 -0
- data/vendor/assets/fonts/flexslider-icon.svg +19 -0
- data/vendor/assets/fonts/flexslider-icon.ttf +0 -0
- data/vendor/assets/fonts/flexslider-icon.woff +0 -0
- data/vendor/assets/images/flexslider/bg_play_pause.png +0 -0
- data/vendor/assets/javascripts/jquery.flexslider-min.js +5 -0
- data/vendor/assets/javascripts/jquery.flexslider.js +1128 -0
- data/vendor/assets/stylesheets/flexslider.scss +96 -0
- metadata +89 -0
@@ -0,0 +1,96 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery FlexSlider v2.2.0
|
3
|
+
* http://www.woothemes.com/flexslider/
|
4
|
+
*
|
5
|
+
* Copyright 2012 WooThemes
|
6
|
+
* Free to use under the GPLv2 license.
|
7
|
+
* http://www.gnu.org/licenses/gpl-2.0.html
|
8
|
+
*
|
9
|
+
* Contributing author: Tyler Smith (@mbmufffin)
|
10
|
+
*/
|
11
|
+
|
12
|
+
|
13
|
+
/* Browser Resets
|
14
|
+
*********************************/
|
15
|
+
.flex-container a:active,
|
16
|
+
.flexslider a:active,
|
17
|
+
.flex-container a:focus,
|
18
|
+
.flexslider a:focus {outline: none;}
|
19
|
+
.slides,
|
20
|
+
.flex-control-nav,
|
21
|
+
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}
|
22
|
+
|
23
|
+
/* Icon Fonts
|
24
|
+
*********************************/
|
25
|
+
/* Font-face Icons */
|
26
|
+
@font-face {
|
27
|
+
font-family: 'flexslider-icon';
|
28
|
+
src:asset-url('flexslider-icon.eot');
|
29
|
+
src:asset-url('flexslider-icon.eot?#iefix') format('embedded-opentype'),
|
30
|
+
asset-url('flexslider-icon.woff') format('woff'),
|
31
|
+
asset-url('flexslider-icon.ttf') format('truetype'),
|
32
|
+
asset-url('flexslider-icon.svg#flexslider-icon') format('svg');
|
33
|
+
font-weight: normal;
|
34
|
+
font-style: normal;
|
35
|
+
}
|
36
|
+
|
37
|
+
/* FlexSlider Necessary Styles
|
38
|
+
*********************************/
|
39
|
+
.flexslider {margin: 0; padding: 0;}
|
40
|
+
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
|
41
|
+
.flexslider .slides img {width: 100%; display: block;}
|
42
|
+
.flex-pauseplay span {text-transform: capitalize;}
|
43
|
+
|
44
|
+
/* Clearfix for the .slides element */
|
45
|
+
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
|
46
|
+
html[xmlns] .slides {display: block;}
|
47
|
+
* html .slides {height: 1%;}
|
48
|
+
|
49
|
+
/* No JavaScript Fallback */
|
50
|
+
/* If you are not using another script, such as Modernizr, make sure you
|
51
|
+
* include js that eliminates this class on page load */
|
52
|
+
.no-js .slides > li:first-child {display: block;}
|
53
|
+
|
54
|
+
/* FlexSlider Default Theme
|
55
|
+
*********************************/
|
56
|
+
.flexslider { margin: 0 0 60px; background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1; }
|
57
|
+
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
|
58
|
+
.loading .flex-viewport { max-height: 300px; }
|
59
|
+
.flexslider .slides { zoom: 1; }
|
60
|
+
.carousel li { margin-right: 5px; }
|
61
|
+
|
62
|
+
/* Direction Nav */
|
63
|
+
.flex-direction-nav {*height: 0;}
|
64
|
+
.flex-direction-nav a { display: block; width: 40px; height: 40px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(0,0,0,0.8); text-shadow: 1px 1px 0 rgba(255,255,255,0.3); -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
|
65
|
+
.flex-direction-nav .flex-prev { left: -50px; }
|
66
|
+
.flex-direction-nav .flex-next { right: -50px; text-align: right; }
|
67
|
+
.flexslider:hover .flex-prev { opacity: 0.7; left: 10px; }
|
68
|
+
.flexslider:hover .flex-next { opacity: 0.7; right: 10px; }
|
69
|
+
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }
|
70
|
+
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }
|
71
|
+
.flex-direction-nav a:before { font-family: "flexslider-icon"; font-size: 40px; display: inline-block; content: '\f001'; }
|
72
|
+
.flex-direction-nav a.flex-next:before { content: '\f002'; }
|
73
|
+
|
74
|
+
/* Pause/Play */
|
75
|
+
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
|
76
|
+
.flex-pauseplay a:before { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
|
77
|
+
.flex-pauseplay a:hover { opacity: 1; }
|
78
|
+
.flex-pauseplay a.flex-play:before { content: '\f003'; }
|
79
|
+
|
80
|
+
/* Control Nav */
|
81
|
+
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
|
82
|
+
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
|
83
|
+
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); }
|
84
|
+
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
|
85
|
+
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }
|
86
|
+
|
87
|
+
.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
|
88
|
+
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
|
89
|
+
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
|
90
|
+
.flex-control-thumbs img:hover {opacity: 1;}
|
91
|
+
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}
|
92
|
+
|
93
|
+
@media screen and (max-width: 860px) {
|
94
|
+
.flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
|
95
|
+
.flex-direction-nav .flex-next { opacity: 1; right: 10px;}
|
96
|
+
}
|
metadata
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: flexslider-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- JiriKolarik
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-11-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: FlexSlider Rails
|
42
|
+
email:
|
43
|
+
- jiri.kolarik@imin.cz
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- .gitignore
|
49
|
+
- Gemfile
|
50
|
+
- LICENSE.txt
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- flexslider-rails.gemspec
|
54
|
+
- lib/flexslider/rails.rb
|
55
|
+
- lib/flexslider/rails/version.rb
|
56
|
+
- vendor/assets/fonts/flexslider-icon.eot
|
57
|
+
- vendor/assets/fonts/flexslider-icon.svg
|
58
|
+
- vendor/assets/fonts/flexslider-icon.ttf
|
59
|
+
- vendor/assets/fonts/flexslider-icon.woff
|
60
|
+
- vendor/assets/images/flexslider/bg_play_pause.png
|
61
|
+
- vendor/assets/javascripts/jquery.flexslider-min.js
|
62
|
+
- vendor/assets/javascripts/jquery.flexslider.js
|
63
|
+
- vendor/assets/stylesheets/flexslider.scss
|
64
|
+
homepage: https://github.com/werein/flexslider-rails
|
65
|
+
licenses:
|
66
|
+
- MIT
|
67
|
+
metadata: {}
|
68
|
+
post_install_message:
|
69
|
+
rdoc_options: []
|
70
|
+
require_paths:
|
71
|
+
- lib
|
72
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
requirements: []
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.0.3
|
85
|
+
signing_key:
|
86
|
+
specification_version: 4
|
87
|
+
summary: FlexSlider for Rails assets pipeline
|
88
|
+
test_files: []
|
89
|
+
has_rdoc:
|