jquery-slick-rails 1.3.6 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -1
- data/lib/jquery-slick-rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.slick.js +1351 -1222
- data/vendor/assets/stylesheets/slick.css +17 -10
- metadata +3 -3
@@ -1,9 +1,9 @@
|
|
1
1
|
/* Slider */
|
2
|
-
.slick-slider { position: relative; display: block; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -ms-touch-action: none;
|
2
|
+
.slick-slider { position: relative; display: block; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -ms-touch-action: none; -webkit-tap-highlight-color: transparent; }
|
3
3
|
|
4
4
|
.slick-list { position: relative; overflow: hidden; display: block; margin: 0; padding: 0; }
|
5
5
|
.slick-list:focus { outline: none; }
|
6
|
-
.slick-loading .slick-list { background: white url(
|
6
|
+
.slick-loading .slick-list { background: white url("ajax-loader.gif") center center no-repeat; }
|
7
7
|
.slick-list.dragging { cursor: pointer; cursor: hand; }
|
8
8
|
|
9
9
|
.slick-slider .slick-list, .slick-track, .slick-slide, .slick-slide img { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
|
@@ -22,14 +22,14 @@
|
|
22
22
|
.slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }
|
23
23
|
|
24
24
|
/* Icons */
|
25
|
-
@font-face { font-family: "slick"; src: url(
|
26
|
-
|
25
|
+
@font-face { font-family: "slick"; src: url("slick.eot"); src: url("slick.eot?#iefix") format("embedded-opentype"), url("slick.woff") format("woff"), url("slick.ttf") format("truetype"), url("slick.svg#slick") format("svg"); font-weight: normal; font-style: normal; }
|
27
26
|
/* Arrows */
|
28
27
|
.slick-prev, .slick-next { position: absolute; display: block; height: 20px; width: 20px; line-height: 0; font-size: 0; cursor: pointer; background: transparent; color: transparent; top: 50%; margin-top: -10px; padding: 0; border: none; outline: none; }
|
29
|
-
.slick-prev:focus, .slick-next:focus { outline: none; }
|
28
|
+
.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus { outline: none; background: transparent; color: transparent; }
|
29
|
+
.slick-prev:hover:before, .slick-prev:focus:before, .slick-next:hover:before, .slick-next:focus:before { opacity: 1; }
|
30
30
|
.slick-prev.slick-disabled:before, .slick-next.slick-disabled:before { opacity: 0.25; }
|
31
31
|
|
32
|
-
.slick-prev:before, .slick-next:before { font-family: "slick"; font-size: 20px; line-height: 1; color: white; opacity: 0.
|
32
|
+
.slick-prev:before, .slick-next:before { font-family: "slick"; font-size: 20px; line-height: 1; color: white; opacity: 0.75; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
|
33
33
|
|
34
34
|
.slick-prev { left: -25px; }
|
35
35
|
.slick-prev:before { content: "\2190"; }
|
@@ -40,9 +40,16 @@
|
|
40
40
|
/* Dots */
|
41
41
|
.slick-slider { margin-bottom: 30px; }
|
42
42
|
|
43
|
-
.slick-dots { position: absolute; bottom: -45px; list-style: none; display: block; text-align: center; padding:
|
44
|
-
.slick-dots li { position: relative; display: inline-block; height: 20px; width: 20px; margin:
|
43
|
+
.slick-dots { position: absolute; bottom: -45px; list-style: none; display: block; text-align: center; padding: 0; width: 100%; }
|
44
|
+
.slick-dots li { position: relative; display: inline-block; height: 20px; width: 20px; margin: 0 5px; padding: 0; cursor: pointer; }
|
45
45
|
.slick-dots li button { border: 0; background: transparent; display: block; height: 20px; width: 20px; outline: none; line-height: 0; font-size: 0; color: transparent; padding: 5px; cursor: pointer; }
|
46
|
-
.slick-dots li button:focus { outline: none; }
|
46
|
+
.slick-dots li button:hover, .slick-dots li button:focus { outline: none; }
|
47
|
+
.slick-dots li button:hover:before, .slick-dots li button:focus:before { opacity: 1; }
|
47
48
|
.slick-dots li button:before { position: absolute; top: 0; left: 0; content: "\2022"; width: 20px; height: 20px; font-family: "slick"; font-size: 6px; line-height: 20px; text-align: center; color: black; opacity: 0.25; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
|
48
|
-
.slick-dots li.slick-active button:before { opacity: 0.75; }
|
49
|
+
.slick-dots li.slick-active button:before { color: black; opacity: 0.75; }
|
50
|
+
|
51
|
+
[dir="rtl"] .slick-next {right: auto;left: -25px;}
|
52
|
+
[dir="rtl"] .slick-next:before {content: "\2190";}
|
53
|
+
[dir="rtl"] .slick-prev {right: -25px;left: auto;}
|
54
|
+
[dir="rtl"] .slick-prev:before {content: "\2192";}
|
55
|
+
[dir="rtl"] .slick-slide {float: right;}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-slick-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilya Bodrov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
63
|
version: '0'
|
64
64
|
requirements: []
|
65
65
|
rubyforge_project:
|
66
|
-
rubygems_version: 2.
|
66
|
+
rubygems_version: 2.4.1
|
67
67
|
signing_key:
|
68
68
|
specification_version: 4
|
69
69
|
summary: Integrates Slick carousel into Rails app.
|