anything_slider_rails 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.DS_Store +0 -0
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/Rakefile +1 -0
- data/anything_slider_rails.gemspec +24 -0
- data/lib/anything_slider_rails/engine.rb +6 -0
- data/lib/anything_slider_rails/version.rb +3 -0
- data/lib/anything_slider_rails.rb +3 -0
- data/readme.MD +42 -0
- data/vendor/.DS_Store +0 -0
- data/vendor/assets/.DS_Store +0 -0
- data/vendor/assets/images/arrows-metallic.png +0 -0
- data/vendor/assets/images/arrows-minimalist.png +0 -0
- data/vendor/assets/images/construction.gif +0 -0
- data/vendor/assets/images/cs-portfolio.png +0 -0
- data/vendor/assets/images/default.png +0 -0
- data/vendor/assets/javascripts/jquery.anythingslider.fx.js +188 -0
- data/vendor/assets/javascripts/jquery.anythingslider.js +814 -0
- data/vendor/assets/javascripts/jquery.anythingslider.video.js +379 -0
- data/vendor/assets/javascripts/jquery.easing.1.2.js +140 -0
- data/vendor/assets/javascripts/swfobject.js +4 -0
- data/vendor/assets/stylesheets/animate.css +3813 -0
- data/vendor/assets/stylesheets/anythingslider-ie.css +65 -0
- data/vendor/assets/stylesheets/anythingslider.css.erb +202 -0
- data/vendor/assets/stylesheets/theme-construction.css.erb +142 -0
- data/vendor/assets/stylesheets/theme-cs-portfolio.css.erb +149 -0
- data/vendor/assets/stylesheets/theme-metallic.css.erb +146 -0
- data/vendor/assets/stylesheets/theme-minimalist-round.css.erb +144 -0
- data/vendor/assets/stylesheets/theme-minimalist-square.css.erb +144 -0
- metadata +109 -0
@@ -0,0 +1,144 @@
|
|
1
|
+
/*
|
2
|
+
AnythingSlider v1.5.10 Minimalist Round Theme
|
3
|
+
By Rob Garrison
|
4
|
+
*/
|
5
|
+
|
6
|
+
/****** SET COLORS HERE *******/
|
7
|
+
/* Default State */
|
8
|
+
div.anythingSlider-minimalist-round .anythingWindow {
|
9
|
+
border-top: 3px solid #333;
|
10
|
+
border-bottom: 3px solid #333;
|
11
|
+
}
|
12
|
+
div.anythingSlider-minimalist-round .anythingControls ul a {
|
13
|
+
border: 1px solid #000;
|
14
|
+
background: #333;
|
15
|
+
}
|
16
|
+
div.anythingSlider-minimalist-round .anythingControls ul a:hover, div.anythingSlider-minimalist-round .anythingControls ul a.cur {
|
17
|
+
background: #777;
|
18
|
+
}
|
19
|
+
div.anythingSlider-minimalist-round .start-stop {
|
20
|
+
border: 1px solid #000;
|
21
|
+
}
|
22
|
+
div.anythingSlider-minimalist-round .start-stop.playing {
|
23
|
+
background-color: #300;
|
24
|
+
}
|
25
|
+
div.anythingSlider-minimalist-round .start-stop:hover, div.anythingSlider-minimalist-round .start-stop.hover {
|
26
|
+
color: #ddd;
|
27
|
+
}
|
28
|
+
|
29
|
+
/* Active State */
|
30
|
+
div.anythingSlider-minimalist-round.activeSlider .anythingWindow {
|
31
|
+
border-color: #164054;
|
32
|
+
}
|
33
|
+
div.anythingSlider-minimalist-round.activeSlider .anythingControls ul a {
|
34
|
+
background-color: #164054;
|
35
|
+
}
|
36
|
+
div.anythingSlider-minimalist-round.activeSlider .anythingControls ul a:hover, div.anythingSlider-minimalist-round.activeSlider .anythingControls ul a.cur {
|
37
|
+
background: #fff;
|
38
|
+
}
|
39
|
+
div.anythingSlider-minimalist-round.activeSlider .start-stop.playing {
|
40
|
+
background-color: #f00;
|
41
|
+
}
|
42
|
+
div.anythingSlider-minimalist-round .start-stop:hover, div.anythingSlider-minimalist-round .start-stop.hover {
|
43
|
+
color: #fff;
|
44
|
+
}
|
45
|
+
|
46
|
+
/* Navigation Arrows */
|
47
|
+
div.anythingSlider-minimalist-round .arrow {
|
48
|
+
top: 50%;
|
49
|
+
position: absolute;
|
50
|
+
display: block;
|
51
|
+
}
|
52
|
+
div.anythingSlider-minimalist-round .arrow a {
|
53
|
+
display: block;
|
54
|
+
height: 40px;
|
55
|
+
margin-top: -20px; /* half height of image */
|
56
|
+
width: 30px;
|
57
|
+
text-align: center;
|
58
|
+
outline: 0;
|
59
|
+
background: url(../images/arrows-minimalist.png) no-repeat;
|
60
|
+
}
|
61
|
+
div.anythingSlider-minimalist-round .forward { right: 0; }
|
62
|
+
div.anythingSlider-minimalist-round .back { left: 0; }
|
63
|
+
div.anythingSlider-minimalist-round .forward a { background-position: right bottom; }
|
64
|
+
div.anythingSlider-minimalist-round .back a { background-position: left bottom; }
|
65
|
+
div.anythingSlider-minimalist-round .forward a:hover, div.anythingSlider-minimalist-round .forward a.hover { background-position: right top; }
|
66
|
+
div.anythingSlider-minimalist-round .back a:hover, div.anythingSlider-minimalist-round .back a.hover { background-position: left top; }
|
67
|
+
|
68
|
+
/* Navigation Links */
|
69
|
+
div.anythingSlider-minimalist-round .anythingControls {
|
70
|
+
float: right;
|
71
|
+
position: absolute;
|
72
|
+
bottom: 0;
|
73
|
+
right: 15%;
|
74
|
+
z-index: 100;
|
75
|
+
opacity: 0.90;
|
76
|
+
filter: alpha(opacity=90);
|
77
|
+
}
|
78
|
+
div.anythingSlider-minimalist-round .anythingControls ul {
|
79
|
+
margin: 0;
|
80
|
+
z-index: 100;
|
81
|
+
}
|
82
|
+
div.anythingSlider-minimalist-round .anythingControls ul li {
|
83
|
+
display: block;
|
84
|
+
float: left;
|
85
|
+
}
|
86
|
+
div.anythingSlider-minimalist-round .anythingControls ul a {
|
87
|
+
display: block;
|
88
|
+
height: 10px;
|
89
|
+
width: 10px;
|
90
|
+
margin: 3px;
|
91
|
+
padding: 0;
|
92
|
+
outline: 0;
|
93
|
+
border-radius: 5px;
|
94
|
+
-moz-border-radius: 5px;
|
95
|
+
-webkit-border-radius: 5px;
|
96
|
+
}
|
97
|
+
|
98
|
+
/* Navigation size window arrows */
|
99
|
+
div.anythingSlider-minimalist-round .anythingControls li.next a span, div.anythingSlider-minimalist-round .anythingControls li.prev a span {
|
100
|
+
text-indent: 1px;
|
101
|
+
margin-top: 3px;
|
102
|
+
}
|
103
|
+
div.anythingSlider-minimalist-round .anythingControls li.prev a, div.anythingSlider-minimalist-round .anythingControls li.next a {
|
104
|
+
color: #ddd;
|
105
|
+
}
|
106
|
+
div.anythingSlider-minimalist-round .anythingControls li.next a:hover, div.anythingSlider-minimalist-round .anythingControls li.prev a:hover {
|
107
|
+
color: #000;
|
108
|
+
}
|
109
|
+
|
110
|
+
/* slider autoplay right-to-left, reverse order of nav links to look better */
|
111
|
+
div.anythingSlider-minimalist-round.rtl .anythingControls ul a { float: right; } /* reverse order of nav links */
|
112
|
+
div.anythingSlider-minimalist-round.rtl .anythingControls ul { float: left; } /* move nav link group to left */
|
113
|
+
/* div.anythingSlider-minimalist-round.rtl .start-stop { float: right; } */ /* move start/stop button - in case you want to switch sides */
|
114
|
+
|
115
|
+
/* Autoplay Start/Stop button */
|
116
|
+
div.anythingSlider-minimalist-round .start-stop {
|
117
|
+
margin: 3px;
|
118
|
+
padding: 0;
|
119
|
+
display: inline-block;
|
120
|
+
width: 14px;
|
121
|
+
height: 14px;
|
122
|
+
position: relative;
|
123
|
+
bottom: 2px;
|
124
|
+
left: 0;
|
125
|
+
z-index: 100;
|
126
|
+
text-align: center;
|
127
|
+
text-decoration: none;
|
128
|
+
float: right;
|
129
|
+
border-radius: 7px;
|
130
|
+
-moz-border-radius: 7px;
|
131
|
+
-webkit-border-radius: 7px;
|
132
|
+
}
|
133
|
+
|
134
|
+
/* Extra - replace defaults */
|
135
|
+
div.anythingSlider-minimalist-round {
|
136
|
+
padding: 6px 30px;
|
137
|
+
}
|
138
|
+
|
139
|
+
/* text indent moved to span inside "a", for IE7; apparently, a negative text-indent on an "a" link moves the link as well as the text */
|
140
|
+
div.anythingSlider-minimalist-round .arrow a span, div.anythingSlider-minimalist-round .anythingControls ul a span, div.anythingSlider-minimalist-round .start-stop span {
|
141
|
+
display: block;
|
142
|
+
line-height: 1px; /* needed for IE7 */
|
143
|
+
visibility: hidden; /* needed for IE8, instead of text-indent: -9999px */
|
144
|
+
}
|
@@ -0,0 +1,144 @@
|
|
1
|
+
/*
|
2
|
+
AnythingSlider v1.5.10 Minimalist Square Theme
|
3
|
+
By Rob Garrison
|
4
|
+
*/
|
5
|
+
|
6
|
+
/****** SET COLORS HERE *******/
|
7
|
+
/* Default State */
|
8
|
+
div.anythingSlider-minimalist-square .anythingWindow {
|
9
|
+
border-top: 3px solid #333;
|
10
|
+
border-bottom: 3px solid #333;
|
11
|
+
}
|
12
|
+
div.anythingSlider-minimalist-square .anythingControls ul a {
|
13
|
+
border: 1px solid #000;
|
14
|
+
background: #333;
|
15
|
+
}
|
16
|
+
div.anythingSlider-minimalist-square .anythingControls ul a:hover, div.anythingSlider-minimalist-square .anythingControls ul a.cur {
|
17
|
+
background: #777;
|
18
|
+
}
|
19
|
+
div.anythingSlider-minimalist-square .start-stop {
|
20
|
+
border: 1px solid #000;
|
21
|
+
}
|
22
|
+
div.anythingSlider-minimalist-square .start-stop.playing {
|
23
|
+
background-color: #300;
|
24
|
+
}
|
25
|
+
div.anythingSlider-minimalist-square .start-stop:hover, div.anythingSlider-minimalist-square .start-stop.hover {
|
26
|
+
color: #ddd
|
27
|
+
}
|
28
|
+
|
29
|
+
/* Active State */
|
30
|
+
div.anythingSlider-minimalist-square.activeSlider .anythingWindow {
|
31
|
+
border-color: #164054;
|
32
|
+
}
|
33
|
+
div.anythingSlider-minimalist-square.activeSlider .anythingControls ul a {
|
34
|
+
background-color: #164054;
|
35
|
+
}
|
36
|
+
div.anythingSlider-minimalist-square.activeSlider .anythingControls ul a:hover, div.anythingSlider-minimalist-square.activeSlider .anythingControls ul a.cur {
|
37
|
+
background: #fff;
|
38
|
+
}
|
39
|
+
div.anythingSlider-minimalist-square.activeSlider .start-stop.playing {
|
40
|
+
background-color: #f00;
|
41
|
+
}
|
42
|
+
div.anythingSlider-minimalist-square .start-stop:hover, div.anythingSlider-minimalist-square .start-stop.hover {
|
43
|
+
color: #fff
|
44
|
+
}
|
45
|
+
|
46
|
+
/* Navigation Arrows */
|
47
|
+
div.anythingSlider-minimalist-square .arrow {
|
48
|
+
top: 50%;
|
49
|
+
position: absolute;
|
50
|
+
display: block;
|
51
|
+
}
|
52
|
+
div.anythingSlider-minimalist-square .arrow a {
|
53
|
+
display: block;
|
54
|
+
height: 40px;
|
55
|
+
margin-top: -20px; /* half height of image */
|
56
|
+
width: 30px;
|
57
|
+
text-align: center;
|
58
|
+
outline: 0;
|
59
|
+
background: url('<%=image_path("arrows-minimalist.png")%>') no-repeat;
|
60
|
+
}
|
61
|
+
div.anythingSlider-minimalist-square .forward { right: 0; }
|
62
|
+
div.anythingSlider-minimalist-square .back { left: 0; }
|
63
|
+
div.anythingSlider-minimalist-square .forward a { background-position: right bottom; }
|
64
|
+
div.anythingSlider-minimalist-square .back a { background-position: left bottom; }
|
65
|
+
div.anythingSlider-minimalist-square .forward a:hover, div.anythingSlider-minimalist-square .forward a.hover { background-position: right top; }
|
66
|
+
div.anythingSlider-minimalist-square .back a:hover, div.anythingSlider-minimalist-square .back a.hover { background-position: left top; }
|
67
|
+
|
68
|
+
/* Navigation Links */
|
69
|
+
div.anythingSlider-minimalist-square .anythingControls {
|
70
|
+
float: right;
|
71
|
+
position: absolute;
|
72
|
+
bottom: 0;
|
73
|
+
right: 15%;
|
74
|
+
z-index: 100;
|
75
|
+
opacity: 0.75;
|
76
|
+
filter: alpha(opacity=75);
|
77
|
+
}
|
78
|
+
div.anythingSlider-minimalist-square .anythingControls ul {
|
79
|
+
margin: 0;
|
80
|
+
z-index: 100;
|
81
|
+
}
|
82
|
+
div.anythingSlider-minimalist-square .anythingControls ul li {
|
83
|
+
display: block;
|
84
|
+
float: left;
|
85
|
+
}
|
86
|
+
div.anythingSlider-minimalist-square .anythingControls ul a {
|
87
|
+
display: block;
|
88
|
+
height: 10px;
|
89
|
+
width: 10px;
|
90
|
+
margin: 3px;
|
91
|
+
padding: 0;
|
92
|
+
outline: 0;
|
93
|
+
border-radius: 0;
|
94
|
+
-moz-border-radius: 0;
|
95
|
+
-webkit-border-radius: 0;
|
96
|
+
}
|
97
|
+
|
98
|
+
/* Navigation size window arrows */
|
99
|
+
div.anythingSlider-minimalist-square .anythingControls li.next a span, div.anythingSlider-minimalist-square .anythingControls li.prev a span {
|
100
|
+
text-indent: 1px;
|
101
|
+
margin-top: 3px;
|
102
|
+
}
|
103
|
+
div.anythingSlider-minimalist-square .anythingControls li.prev a, div.anythingSlider-minimalist-square .anythingControls li.next a {
|
104
|
+
color: #ddd;
|
105
|
+
}
|
106
|
+
div.anythingSlider-minimalist-square .anythingControls li.next a:hover, div.anythingSlider-minimalist-square .anythingControls li.prev a:hover {
|
107
|
+
color: #000;
|
108
|
+
}
|
109
|
+
|
110
|
+
/* slider autoplay right-to-left, reverse order of nav links to look better */
|
111
|
+
div.anythingSlider-minimalist-square.rtl .anythingControls ul a { float: right; } /* reverse order of nav links */
|
112
|
+
div.anythingSlider-minimalist-square.rtl .anythingControls ul { float: left; } /* move nav link group to left */
|
113
|
+
/* div.anythingSlider-minimalist-square.rtl .start-stop { float: right; } */ /* move start/stop button - in case you want to switch sides */
|
114
|
+
|
115
|
+
/* Autoplay Start/Stop button */
|
116
|
+
div.anythingSlider-minimalist-square .start-stop {
|
117
|
+
margin: 3px;
|
118
|
+
padding: 0;
|
119
|
+
display: inline-block;
|
120
|
+
width: 14px;
|
121
|
+
height: 14px;
|
122
|
+
position: relative;
|
123
|
+
bottom: 2px;
|
124
|
+
left: 0;
|
125
|
+
z-index: 100;
|
126
|
+
text-align: center;
|
127
|
+
text-decoration: none;
|
128
|
+
float: right;
|
129
|
+
border-radius: 0;
|
130
|
+
-moz-border-radius: 0;
|
131
|
+
-webkit-border-radius: 0;
|
132
|
+
}
|
133
|
+
|
134
|
+
/* Extra - replace defaults */
|
135
|
+
div.anythingSlider-minimalist-square {
|
136
|
+
padding: 6px 30px;
|
137
|
+
}
|
138
|
+
|
139
|
+
/* text indent moved to span inside "a", for IE7; apparently, a negative text-indent on an "a" link moves the link as well as the text */
|
140
|
+
div.anythingSlider-minimalist-square .arrow a span, div.anythingSlider-minimalist-square .anythingControls ul a span, div.anythingSlider-minimalist-square .start-stop span {
|
141
|
+
display: block;
|
142
|
+
line-height: 1px; /* needed for IE7 */
|
143
|
+
visibility: hidden; /* needed for IE8, instead of text-indent: -9999px */
|
144
|
+
}
|
metadata
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: anything_slider_rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Han
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-01-21 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: railties
|
16
|
+
requirement: &70223743075200 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.1.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70223743075200
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: bundler
|
27
|
+
requirement: &70223743074540 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.0
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70223743074540
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rails
|
38
|
+
requirement: &70223743073960 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '3.1'
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70223743073960
|
47
|
+
description: Gem installation of jquery plugin, AnythingSlider
|
48
|
+
email:
|
49
|
+
- han@logicallsat.com
|
50
|
+
executables: []
|
51
|
+
extensions: []
|
52
|
+
extra_rdoc_files: []
|
53
|
+
files:
|
54
|
+
- .DS_Store
|
55
|
+
- .gitignore
|
56
|
+
- Gemfile
|
57
|
+
- Rakefile
|
58
|
+
- anything_slider_rails.gemspec
|
59
|
+
- lib/anything_slider_rails.rb
|
60
|
+
- lib/anything_slider_rails/engine.rb
|
61
|
+
- lib/anything_slider_rails/version.rb
|
62
|
+
- readme.MD
|
63
|
+
- vendor/.DS_Store
|
64
|
+
- vendor/assets/.DS_Store
|
65
|
+
- vendor/assets/images/arrows-metallic.png
|
66
|
+
- vendor/assets/images/arrows-minimalist.png
|
67
|
+
- vendor/assets/images/construction.gif
|
68
|
+
- vendor/assets/images/cs-portfolio.png
|
69
|
+
- vendor/assets/images/default.png
|
70
|
+
- vendor/assets/javascripts/jquery.anythingslider.fx.js
|
71
|
+
- vendor/assets/javascripts/jquery.anythingslider.js
|
72
|
+
- vendor/assets/javascripts/jquery.anythingslider.video.js
|
73
|
+
- vendor/assets/javascripts/jquery.easing.1.2.js
|
74
|
+
- vendor/assets/javascripts/swfobject.js
|
75
|
+
- vendor/assets/stylesheets/animate.css
|
76
|
+
- vendor/assets/stylesheets/anythingslider-ie.css
|
77
|
+
- vendor/assets/stylesheets/anythingslider.css.erb
|
78
|
+
- vendor/assets/stylesheets/theme-construction.css.erb
|
79
|
+
- vendor/assets/stylesheets/theme-cs-portfolio.css.erb
|
80
|
+
- vendor/assets/stylesheets/theme-metallic.css.erb
|
81
|
+
- vendor/assets/stylesheets/theme-minimalist-round.css.erb
|
82
|
+
- vendor/assets/stylesheets/theme-minimalist-square.css.erb
|
83
|
+
homepage: ''
|
84
|
+
licenses: []
|
85
|
+
post_install_message:
|
86
|
+
rdoc_options: []
|
87
|
+
require_paths:
|
88
|
+
- lib
|
89
|
+
- vendor
|
90
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
requirements: []
|
103
|
+
rubyforge_project: anything_slider_rails
|
104
|
+
rubygems_version: 1.8.6
|
105
|
+
signing_key:
|
106
|
+
specification_version: 3
|
107
|
+
summary: AnythingSlider automated install for Rails 3.1+
|
108
|
+
test_files: []
|
109
|
+
has_rdoc:
|