slick_rails 1.3.15 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -8
- data/app/assets/javascripts/slick.js +1638 -1615
- data/app/assets/stylesheets/slick-theme.css.scss +187 -0
- data/app/assets/stylesheets/slick.css.scss +88 -257
- data/lib/slick_rails/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1e7a79075a11b484bc3b4acf293779c2644d69c
|
4
|
+
data.tar.gz: 7b064576a6f7de025b46fde68bd471034246016f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b5086640348519bcc7f843b7f9ce5e0cad8578bd6938477f5cda551bcf51989ed208de0408392b7cbfa6a02e8a37f767bcf7e106962b054f796ab112b40bf74
|
7
|
+
data.tar.gz: 6b1ba11746cc712962ec2dd10b934ecb5259635559ee74a5164a82bad62df14ff1950abc914ccfe88f3cdf58ba871a982d07edd9e04ce44b602558002a11c17a
|
data/README.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
# SlickRails
|
2
2
|
|
3
3
|
Slick Carousel for Rails 3.1+ asset pipeline
|
4
|
+
|
5
|
+
|
6
|
+
## Breaking change in 1.4.0 and up
|
7
|
+
|
8
|
+
well not exactly breaking, but notice that the theme and core are seperated stylesheets, so you need to require both (see usage below)
|
9
|
+
|
10
|
+
|
11
|
+
|
4
12
|
## Installation
|
5
13
|
|
6
14
|
Add this line to your application's Gemfile:
|
@@ -18,23 +26,26 @@ Or install it yourself as:
|
|
18
26
|
## Usage
|
19
27
|
|
20
28
|
add to js manifests
|
21
|
-
|
29
|
+
|
22
30
|
//= require slick
|
23
|
-
|
31
|
+
|
24
32
|
and to css manifest
|
25
|
-
|
33
|
+
|
26
34
|
*= require slick
|
27
|
-
|
35
|
+
*= require slick-theme
|
36
|
+
|
37
|
+
slick-theme is only relevant to 1.4.0 and up
|
38
|
+
|
28
39
|
Note: This plugin has custom fonts for dots and arrows and such. These are provided in /fonts (from the original repo) and are referred in the css.
|
29
|
-
|
40
|
+
|
30
41
|
If you want them make sure the asset pipeline will handle them with something like
|
31
|
-
|
42
|
+
|
32
43
|
config.assets.precompile += %w( .js .css *.css.scss .svg .eot .woff .ttf)
|
33
|
-
|
44
|
+
|
34
45
|
if you don't want them - ignore what I just wrote, and overwrite
|
35
46
|
.slick-prev:before
|
36
47
|
.slick-next:before
|
37
|
-
.slick-dots li a:before
|
48
|
+
.slick-dots li a:before
|
38
49
|
|
39
50
|
|
40
51
|
|