Bootstrap-Image-Gallery-rails 1.0.0.3.1.0

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.
@@ -0,0 +1,226 @@
1
+ @charset "UTF-8";
2
+ /*
3
+ * blueimp Gallery CSS 2.11.1
4
+ * https://github.com/blueimp/Gallery
5
+ *
6
+ * Copyright 2013, Sebastian Tschan
7
+ * https://blueimp.net
8
+ *
9
+ * Licensed under the MIT license:
10
+ * http://www.opensource.org/licenses/MIT
11
+ */
12
+
13
+ .blueimp-gallery,
14
+ .blueimp-gallery > .slides > .slide > .slide-content {
15
+ position: absolute;
16
+ top: 0;
17
+ right: 0;
18
+ bottom: 0;
19
+ left: 0;
20
+ /* Prevent artifacts in Mozilla Firefox: */
21
+ -moz-backface-visibility: hidden;
22
+ }
23
+ .blueimp-gallery > .slides > .slide > .slide-content {
24
+ margin: auto;
25
+ width: auto;
26
+ height: auto;
27
+ max-width: 100%;
28
+ max-height: 100%;
29
+ opacity: 1;
30
+ }
31
+ .blueimp-gallery {
32
+ position: fixed;
33
+ z-index: 999999;
34
+ overflow: hidden;
35
+ background: #000;
36
+ background: rgba(0, 0, 0, 0.9);
37
+ opacity: 0;
38
+ display: none;
39
+ direction: ltr;
40
+ -ms-touch-action: none;
41
+ touch-action: none;
42
+ }
43
+ .blueimp-gallery-carousel {
44
+ position: relative;
45
+ z-index: auto;
46
+ margin: 1em auto;
47
+ /* Set the carousel width/height ratio to 16/9: */
48
+ padding-bottom: 56.25%;
49
+ box-shadow: 0 0 10px #000;
50
+ -ms-touch-action: pan-y;
51
+ touch-action: pan-y;
52
+ }
53
+ .blueimp-gallery-display {
54
+ display: block;
55
+ opacity: 1;
56
+ }
57
+ .blueimp-gallery > .slides {
58
+ position: relative;
59
+ height: 100%;
60
+ overflow: hidden;
61
+ }
62
+ .blueimp-gallery-carousel > .slides {
63
+ position: absolute;
64
+ }
65
+ .blueimp-gallery > .slides > .slide {
66
+ position: relative;
67
+ float: left;
68
+ height: 100%;
69
+ text-align: center;
70
+ -webkit-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
71
+ -moz-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
72
+ -ms-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
73
+ -o-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
74
+ transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
75
+ }
76
+ .blueimp-gallery,
77
+ .blueimp-gallery > .slides > .slide > .slide-content {
78
+ -webkit-transition: opacity 0.5s linear;
79
+ -moz-transition: opacity 0.5s linear;
80
+ -ms-transition: opacity 0.5s linear;
81
+ -o-transition: opacity 0.5s linear;
82
+ transition: opacity 0.5s linear;
83
+ }
84
+ .blueimp-gallery > .slides > .slide-loading {
85
+ background: url(/assets/Gallery/loading.gif) center no-repeat;
86
+ background-size: 64px 64px;
87
+ }
88
+ .blueimp-gallery > .slides > .slide-loading > .slide-content {
89
+ opacity: 0;
90
+ }
91
+ .blueimp-gallery > .slides > .slide-error {
92
+ background: url(/assets/Gallery/error.png) center no-repeat;
93
+ }
94
+ .blueimp-gallery > .slides > .slide-error > .slide-content {
95
+ display: none;
96
+ }
97
+ .blueimp-gallery > .prev,
98
+ .blueimp-gallery > .next {
99
+ position: absolute;
100
+ top: 50%;
101
+ left: 15px;
102
+ width: 40px;
103
+ height: 40px;
104
+ margin-top: -23px;
105
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
106
+ font-size: 60px;
107
+ font-weight: 100;
108
+ line-height: 30px;
109
+ color: #fff;
110
+ text-decoration: none;
111
+ text-shadow: 0 0 2px #000;
112
+ text-align: center;
113
+ background: #222;
114
+ background: rgba(0, 0, 0, 0.5);
115
+ -webkit-box-sizing: content-box;
116
+ -moz-box-sizing: content-box;
117
+ box-sizing: content-box;
118
+ border: 3px solid #fff;
119
+ -webkit-border-radius: 23px;
120
+ -moz-border-radius: 23px;
121
+ border-radius: 23px;
122
+ opacity: 0.5;
123
+ cursor: pointer;
124
+ display: none;
125
+ }
126
+ .blueimp-gallery > .next {
127
+ left: auto;
128
+ right: 15px;
129
+ }
130
+ .blueimp-gallery > .close,
131
+ .blueimp-gallery > .title {
132
+ position: absolute;
133
+ top: 15px;
134
+ left: 15px;
135
+ margin: 0 40px 0 0;
136
+ font-size: 20px;
137
+ line-height: 30px;
138
+ color: #fff;
139
+ text-shadow: 0 0 2px #000;
140
+ opacity: 0.8;
141
+ display: none;
142
+ }
143
+ .blueimp-gallery > .close {
144
+ padding: 15px;
145
+ right: 15px;
146
+ left: auto;
147
+ margin: -15px;
148
+ font-size: 30px;
149
+ text-decoration: none;
150
+ cursor: pointer;
151
+ }
152
+ .blueimp-gallery > .play-pause {
153
+ position: absolute;
154
+ right: 15px;
155
+ bottom: 15px;
156
+ width: 15px;
157
+ height: 15px;
158
+ background: url(/assets/Gallery/play-pause.png) 0 0 no-repeat;
159
+ cursor: pointer;
160
+ opacity: 0.5;
161
+ display: none;
162
+ }
163
+ .blueimp-gallery-playing > .play-pause {
164
+ background-position: -15px 0;
165
+ }
166
+ .blueimp-gallery > .prev:hover,
167
+ .blueimp-gallery > .next:hover,
168
+ .blueimp-gallery > .close:hover,
169
+ .blueimp-gallery > .title:hover,
170
+ .blueimp-gallery > .play-pause:hover {
171
+ color: #fff;
172
+ opacity: 1;
173
+ }
174
+ .blueimp-gallery-controls > .prev,
175
+ .blueimp-gallery-controls > .next,
176
+ .blueimp-gallery-controls > .close,
177
+ .blueimp-gallery-controls > .title,
178
+ .blueimp-gallery-controls > .play-pause {
179
+ display: block;
180
+ /* Fix z-index issues (controls behind slide element) on Android: */
181
+ -webkit-transform: translateZ(0);
182
+ -moz-transform: translateZ(0);
183
+ -ms-transform: translateZ(0);
184
+ -o-transform: translateZ(0);
185
+ transform: translateZ(0);
186
+ }
187
+ .blueimp-gallery-single > .prev,
188
+ .blueimp-gallery-left > .prev,
189
+ .blueimp-gallery-single > .next,
190
+ .blueimp-gallery-right > .next,
191
+ .blueimp-gallery-single > .play-pause {
192
+ display: none;
193
+ }
194
+ .blueimp-gallery > .slides > .slide > .slide-content,
195
+ .blueimp-gallery > .prev,
196
+ .blueimp-gallery > .next,
197
+ .blueimp-gallery > .close,
198
+ .blueimp-gallery > .play-pause {
199
+ -webkit-user-select: none;
200
+ -khtml-user-select: none;
201
+ -moz-user-select: none;
202
+ -ms-user-select: none;
203
+ user-select: none;
204
+ }
205
+
206
+ /* Replace PNGs with SVGs for capable browsers (excluding IE<9) */
207
+ body:last-child .blueimp-gallery > .slides > .slide-error {
208
+ background-image: url(/assets/Gallery/error.svg);
209
+ }
210
+ body:last-child .blueimp-gallery > .play-pause {
211
+ width: 20px;
212
+ height: 20px;
213
+ background-size: 40px 20px;
214
+ background-image: url(/assets/Gallery/play-pause.svg);
215
+ }
216
+ body:last-child .blueimp-gallery-playing > .play-pause {
217
+ background-position: -20px 0;
218
+ }
219
+
220
+ /* IE7 fixes */
221
+ *+html .blueimp-gallery > .slides > .slide {
222
+ min-height: 300px;
223
+ }
224
+ *+html .blueimp-gallery > .slides > .slide > .slide-content {
225
+ position: relative;
226
+ }
@@ -0,0 +1,87 @@
1
+ @charset "UTF-8";
2
+ /*
3
+ * Bootstrap Image Gallery CSS 3.0.0
4
+ * https://github.com/blueimp/Bootstrap-Image-Gallery
5
+ *
6
+ * Copyright 2013, Sebastian Tschan
7
+ * https://blueimp.net
8
+ *
9
+ * Licensed under the MIT license:
10
+ * http://www.opensource.org/licenses/MIT
11
+ */
12
+
13
+ .blueimp-gallery .modal-body {
14
+ position: relative;
15
+ text-align: center;
16
+ padding: 0 0 56.25% 0;
17
+ overflow: hidden;
18
+ cursor: pointer;
19
+ }
20
+ .blueimp-gallery .modal-footer {
21
+ margin: 0;
22
+ }
23
+ .blueimp-gallery .modal-body img,
24
+ .blueimp-gallery .modal-body .video-content video,
25
+ .blueimp-gallery .modal-body .video-content iframe,
26
+ .blueimp-gallery .modal-body .video-content a {
27
+ max-width: 100%;
28
+ max-height: 100%;
29
+ margin: auto;
30
+ position: absolute;
31
+ top: 0;
32
+ right: 0;
33
+ bottom: 0;
34
+ left: 0;
35
+ }
36
+ .blueimp-gallery .modal-body .video-content video {
37
+ display: none;
38
+ }
39
+ .blueimp-gallery .modal-body .video-playing video {
40
+ display: block;
41
+ }
42
+ .blueimp-gallery .modal-body .video-content iframe {
43
+ width: 100%;
44
+ height: 100%;
45
+ border: none;
46
+ left: 100%;
47
+ }
48
+ .blueimp-gallery .modal-body .video-playing iframe {
49
+ left: 0;
50
+ }
51
+ .blueimp-gallery .modal-body .video-playing img,
52
+ .blueimp-gallery .modal-body .video-playing a {
53
+ display: none;
54
+ }
55
+ .blueimp-gallery .modal-body .video-content a {
56
+ cursor: pointer;
57
+ }
58
+ .blueimp-gallery .modal-body .video-content a:after {
59
+ font-family: "Glyphicons Halflings";
60
+ -webkit-font-smoothing: antialiased;
61
+ content: "\e029";
62
+ font-size: 64px;
63
+ line-height: 64px;
64
+ width: 64px;
65
+ height: 64px;
66
+ position: absolute;
67
+ top: 50%;
68
+ margin: -32px 0 0 -32px;
69
+ }
70
+ .blueimp-gallery .modal-body .video-loading a {
71
+ background: url(/assets/Gallery/loading.gif) center no-repeat;
72
+ background-size: 64px 64px;
73
+ }
74
+ .blueimp-gallery .modal-body .video-loading a:after {
75
+ content: none;
76
+ }
77
+
78
+ @media screen and (min-width: 768px) {
79
+ .blueimp-gallery .modal-dialog {
80
+ right: auto;
81
+ left: auto;
82
+ width: auto;
83
+ max-width: 900px;
84
+ padding-left: 5%;
85
+ padding-right: 5%;
86
+ }
87
+ }
metadata ADDED
@@ -0,0 +1,89 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: Bootstrap-Image-Gallery-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0.3.1.0
5
+ platform: ruby
6
+ authors:
7
+ - dogwood008
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-07-04 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.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
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: Bootstrap Image Gallery for Rails.
42
+ email:
43
+ - dogwood008+github@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - LICENSE
49
+ - README.md
50
+ - lib/Bootstrap/Image/Gallery/rails.rb
51
+ - lib/Bootstrap/Image/Gallery/rails/version.rb
52
+ - vendor/assets/javascripts/blueimp-gallery-fullscreen.js
53
+ - vendor/assets/javascripts/blueimp-gallery-indicator.js
54
+ - vendor/assets/javascripts/blueimp-gallery-video.js
55
+ - vendor/assets/javascripts/blueimp-gallery-vimeo.js
56
+ - vendor/assets/javascripts/blueimp-gallery-youtube.js
57
+ - vendor/assets/javascripts/blueimp-gallery.js
58
+ - vendor/assets/javascripts/blueimp-helper.js
59
+ - vendor/assets/javascripts/bootstrap-image-gallery.js
60
+ - vendor/assets/javascripts/jquery.blueimp-gallery.js
61
+ - vendor/assets/stylesheets/blueimp-gallery-indicator.css
62
+ - vendor/assets/stylesheets/blueimp-gallery-video.css
63
+ - vendor/assets/stylesheets/blueimp-gallery.css
64
+ - vendor/assets/stylesheets/bootstrap-image-gallery.css
65
+ homepage: ''
66
+ licenses:
67
+ - MIT
68
+ metadata: {}
69
+ post_install_message:
70
+ rdoc_options: []
71
+ require_paths:
72
+ - lib
73
+ required_ruby_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ required_rubygems_version: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ requirements: []
84
+ rubyforge_project:
85
+ rubygems_version: 2.2.2
86
+ signing_key:
87
+ specification_version: 4
88
+ summary: Bootstrap Image Gallery for Rails.
89
+ test_files: []