owlcarousel2-rails 2.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.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/Gemfile +4 -0
- data/LICENSE +23 -0
- data/README.md +34 -0
- data/Rakefile +2 -0
- data/lib/owlcarousel2/rails.rb +8 -0
- data/lib/owlcarousel2/rails/version.rb +5 -0
- data/owlcarousel2-rails.gemspec +24 -0
- data/vendor/assets/javascripts/owl.carousel2.js +3266 -0
- data/vendor/assets/stylesheets/owl.carousel2.css +173 -0
- metadata +84 -0
@@ -0,0 +1,173 @@
|
|
1
|
+
/**
|
2
|
+
* Owl Carousel v2.1.0
|
3
|
+
* Copyright 2013-2016 David Deutsch
|
4
|
+
* Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE)
|
5
|
+
*/
|
6
|
+
/*
|
7
|
+
* Owl Carousel - Core
|
8
|
+
*/
|
9
|
+
.owl-carousel {
|
10
|
+
display: none;
|
11
|
+
width: 100%;
|
12
|
+
-webkit-tap-highlight-color: transparent;
|
13
|
+
/* position relative and z-index fix webkit rendering fonts issue */
|
14
|
+
position: relative;
|
15
|
+
z-index: 1; }
|
16
|
+
.owl-carousel .owl-stage {
|
17
|
+
position: relative;
|
18
|
+
-ms-touch-action: pan-Y; }
|
19
|
+
.owl-carousel .owl-stage:after {
|
20
|
+
content: ".";
|
21
|
+
display: block;
|
22
|
+
clear: both;
|
23
|
+
visibility: hidden;
|
24
|
+
line-height: 0;
|
25
|
+
height: 0; }
|
26
|
+
.owl-carousel .owl-stage-outer {
|
27
|
+
position: relative;
|
28
|
+
overflow: hidden;
|
29
|
+
/* fix for flashing background */
|
30
|
+
-webkit-transform: translate3d(0px, 0px, 0px); }
|
31
|
+
.owl-carousel .owl-item {
|
32
|
+
position: relative;
|
33
|
+
min-height: 1px;
|
34
|
+
float: left;
|
35
|
+
-webkit-backface-visibility: hidden;
|
36
|
+
-webkit-tap-highlight-color: transparent;
|
37
|
+
-webkit-touch-callout: none; }
|
38
|
+
.owl-carousel .owl-item img {
|
39
|
+
display: block;
|
40
|
+
width: 100%;
|
41
|
+
-webkit-transform-style: preserve-3d; }
|
42
|
+
.owl-carousel .owl-nav.disabled,
|
43
|
+
.owl-carousel .owl-dots.disabled {
|
44
|
+
display: none; }
|
45
|
+
.owl-carousel .owl-nav .owl-prev,
|
46
|
+
.owl-carousel .owl-nav .owl-next,
|
47
|
+
.owl-carousel .owl-dot {
|
48
|
+
cursor: pointer;
|
49
|
+
cursor: hand;
|
50
|
+
-webkit-user-select: none;
|
51
|
+
-khtml-user-select: none;
|
52
|
+
-moz-user-select: none;
|
53
|
+
-ms-user-select: none;
|
54
|
+
user-select: none; }
|
55
|
+
.owl-carousel.owl-loaded {
|
56
|
+
display: block; }
|
57
|
+
.owl-carousel.owl-loading {
|
58
|
+
opacity: 0;
|
59
|
+
display: block; }
|
60
|
+
.owl-carousel.owl-hidden {
|
61
|
+
opacity: 0; }
|
62
|
+
.owl-carousel.owl-refresh .owl-item {
|
63
|
+
display: none; }
|
64
|
+
.owl-carousel.owl-drag .owl-item {
|
65
|
+
-webkit-user-select: none;
|
66
|
+
-moz-user-select: none;
|
67
|
+
-ms-user-select: none;
|
68
|
+
user-select: none; }
|
69
|
+
.owl-carousel.owl-grab {
|
70
|
+
cursor: move;
|
71
|
+
cursor: grab; }
|
72
|
+
.owl-carousel.owl-rtl {
|
73
|
+
direction: rtl; }
|
74
|
+
.owl-carousel.owl-rtl .owl-item {
|
75
|
+
float: right; }
|
76
|
+
|
77
|
+
/* No Js */
|
78
|
+
.no-js .owl-carousel {
|
79
|
+
display: block; }
|
80
|
+
|
81
|
+
/*
|
82
|
+
* Owl Carousel - Animate Plugin
|
83
|
+
*/
|
84
|
+
.owl-carousel .animated {
|
85
|
+
-webkit-animation-duration: 1000ms;
|
86
|
+
animation-duration: 1000ms;
|
87
|
+
-webkit-animation-fill-mode: both;
|
88
|
+
animation-fill-mode: both; }
|
89
|
+
|
90
|
+
.owl-carousel .owl-animated-in {
|
91
|
+
z-index: 0; }
|
92
|
+
|
93
|
+
.owl-carousel .owl-animated-out {
|
94
|
+
z-index: 1; }
|
95
|
+
|
96
|
+
.owl-carousel .fadeOut {
|
97
|
+
-webkit-animation-name: fadeOut;
|
98
|
+
animation-name: fadeOut; }
|
99
|
+
|
100
|
+
@-webkit-keyframes fadeOut {
|
101
|
+
0% {
|
102
|
+
opacity: 1; }
|
103
|
+
100% {
|
104
|
+
opacity: 0; } }
|
105
|
+
|
106
|
+
@keyframes fadeOut {
|
107
|
+
0% {
|
108
|
+
opacity: 1; }
|
109
|
+
100% {
|
110
|
+
opacity: 0; } }
|
111
|
+
|
112
|
+
/*
|
113
|
+
* Owl Carousel - Auto Height Plugin
|
114
|
+
*/
|
115
|
+
.owl-height {
|
116
|
+
transition: height 500ms ease-in-out; }
|
117
|
+
|
118
|
+
/*
|
119
|
+
* Owl Carousel - Lazy Load Plugin
|
120
|
+
*/
|
121
|
+
.owl-carousel .owl-item .owl-lazy {
|
122
|
+
opacity: 0;
|
123
|
+
transition: opacity 400ms ease; }
|
124
|
+
|
125
|
+
.owl-carousel .owl-item img.owl-lazy {
|
126
|
+
-webkit-transform-style: preserve-3d;
|
127
|
+
transform-style: preserve-3d; }
|
128
|
+
|
129
|
+
/*
|
130
|
+
* Owl Carousel - Video Plugin
|
131
|
+
*/
|
132
|
+
.owl-carousel .owl-video-wrapper {
|
133
|
+
position: relative;
|
134
|
+
height: 100%;
|
135
|
+
background: #000; }
|
136
|
+
|
137
|
+
.owl-carousel .owl-video-play-icon {
|
138
|
+
position: absolute;
|
139
|
+
height: 80px;
|
140
|
+
width: 80px;
|
141
|
+
left: 50%;
|
142
|
+
top: 50%;
|
143
|
+
margin-left: -40px;
|
144
|
+
margin-top: -40px;
|
145
|
+
background: url("owl.video.play.png") no-repeat;
|
146
|
+
cursor: pointer;
|
147
|
+
z-index: 1;
|
148
|
+
-webkit-backface-visibility: hidden;
|
149
|
+
transition: -webkit-transform 100ms ease;
|
150
|
+
transition: transform 100ms ease; }
|
151
|
+
|
152
|
+
.owl-carousel .owl-video-play-icon:hover {
|
153
|
+
-webkit-transform: scale(1.3, 1.3);
|
154
|
+
-ms-transform: scale(1.3, 1.3);
|
155
|
+
transform: scale(1.3, 1.3); }
|
156
|
+
|
157
|
+
.owl-carousel .owl-video-playing .owl-video-tn,
|
158
|
+
.owl-carousel .owl-video-playing .owl-video-play-icon {
|
159
|
+
display: none; }
|
160
|
+
|
161
|
+
.owl-carousel .owl-video-tn {
|
162
|
+
opacity: 0;
|
163
|
+
height: 100%;
|
164
|
+
background-position: center center;
|
165
|
+
background-repeat: no-repeat;
|
166
|
+
background-size: contain;
|
167
|
+
transition: opacity 400ms ease; }
|
168
|
+
|
169
|
+
.owl-carousel .owl-video-frame {
|
170
|
+
position: relative;
|
171
|
+
z-index: 1;
|
172
|
+
height: 100%;
|
173
|
+
width: 100%; }
|
metadata
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: owlcarousel2-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ilja Krijger
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-05-10 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.8'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description: Touch enabled jQuery plugin that lets you create a beautiful responsive
|
42
|
+
carousel slider.
|
43
|
+
email:
|
44
|
+
- ilja@quittheprogram.org
|
45
|
+
executables: []
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files: []
|
48
|
+
files:
|
49
|
+
- ".gitignore"
|
50
|
+
- Gemfile
|
51
|
+
- LICENSE
|
52
|
+
- README.md
|
53
|
+
- Rakefile
|
54
|
+
- lib/owlcarousel2/rails.rb
|
55
|
+
- lib/owlcarousel2/rails/version.rb
|
56
|
+
- owlcarousel2-rails.gemspec
|
57
|
+
- vendor/assets/javascripts/owl.carousel2.js
|
58
|
+
- vendor/assets/stylesheets/owl.carousel2.css
|
59
|
+
homepage: https://github.com/ilja/owlcarousel2-rails.
|
60
|
+
licenses:
|
61
|
+
- MIT
|
62
|
+
metadata: {}
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options: []
|
65
|
+
require_paths:
|
66
|
+
- lib
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
requirements: []
|
78
|
+
rubyforge_project:
|
79
|
+
rubygems_version: 2.2.2
|
80
|
+
signing_key:
|
81
|
+
specification_version: 4
|
82
|
+
summary: OwlCarousel2 packaged for the rails assets pipeline.
|
83
|
+
test_files: []
|
84
|
+
has_rdoc:
|