slick_rails 1.2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +49 -0
- data/Rakefile +1 -0
- data/app/.DS_Store +0 -0
- data/app/assets/.DS_Store +0 -0
- data/app/assets/fonts/slick.eot +0 -0
- data/app/assets/fonts/slick.svg +13 -0
- data/app/assets/fonts/slick.ttf +0 -0
- data/app/assets/fonts/slick.woff +0 -0
- data/app/assets/javascripts/slick.js +1147 -0
- data/app/assets/stylesheets/slick.css +55 -0
- data/lib/slick_rails.rb +8 -0
- data/lib/slick_rails/version.rb +3 -0
- data/slick_rails.gemspec +24 -0
- metadata +103 -0
@@ -0,0 +1,55 @@
|
|
1
|
+
/* Slider */
|
2
|
+
|
3
|
+
.slick-slider { position: relative; display: block; margin-bottom: 30px; -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; touch-action: none;}
|
4
|
+
.slick-list { overflow: hidden; display: block; margin: 0px; padding: 0px; }
|
5
|
+
.slick-track { position: relative; left: 0px; top: 0px; display: table;}
|
6
|
+
.slick-track:after { content: ""; display: table; clear: both; }
|
7
|
+
.slick-slide { float: left; height: 100%; min-height: 1px; }
|
8
|
+
.slick-slide img { display: block; }
|
9
|
+
.slick-slide { display: none; }
|
10
|
+
.slick-initialized .slick-slide { display: table-cell; }
|
11
|
+
|
12
|
+
/* Loading States */
|
13
|
+
|
14
|
+
.slick-loading .slick-track { visibility: hidden; }
|
15
|
+
.slick-loading .slick-list { background: #fff url(../img/ajax-loader.gif) center center no-repeat; }
|
16
|
+
.slick-loading .slick-slide { visibility: hidden; }
|
17
|
+
.slick-slide.loading { background: url(../img/ajax-loader.gif) center center no-repeat; position: relative;}
|
18
|
+
|
19
|
+
/* Icons */
|
20
|
+
|
21
|
+
@charset "UTF-8";
|
22
|
+
|
23
|
+
@font-face {
|
24
|
+
font-family: "slick";
|
25
|
+
src:url("../fonts/slick.eot");
|
26
|
+
src:url("../fonts/slick.eot?#iefix") format("embedded-opentype"),
|
27
|
+
url("../fonts/slick.woff") format("woff"),
|
28
|
+
url("../fonts/slick.ttf") format("truetype"),
|
29
|
+
url("../fonts/slick.svg#slick") format("svg");
|
30
|
+
font-weight: normal;
|
31
|
+
font-style: normal;
|
32
|
+
}
|
33
|
+
|
34
|
+
/* Arrows */
|
35
|
+
|
36
|
+
.slick-prev { position: absolute; display: block; height: 20px; width: 20px; line-height: 0; font-size: 0; color: transparent; top: 50%; margin-top: -10px; left: -25px; padding: 0px; }
|
37
|
+
.slick-next { position: absolute; display: block; height: 20px; width: 20px; line-height: 0; font-size: 0; color: transparent; top: 50%; margin-top: -10px; right: -25px; padding: 0px; }
|
38
|
+
.slick-prev:before { content: '\8592'; font-family: "slick"; font-size: 20px; line-height: 1; color: white; opacity: 0.85; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
|
39
|
+
.slick-next:before { content: '\8594'; font-family: "slick"; font-size: 20px; line-height: 1; color: white; opacity: 0.85; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
|
40
|
+
.slick-prev:focus { outline: none }
|
41
|
+
.slick-next:focus { outline: none }
|
42
|
+
.slick-prev.slick-disabled:before { opacity: 0.25; }
|
43
|
+
.slick-next.slick-disabled:before { opacity: 0.25; }
|
44
|
+
|
45
|
+
/* Dots */
|
46
|
+
|
47
|
+
.slick-dots { position: absolute; bottom: -35px; list-style: none; display: block; text-align: center; padding: 0px; width: 100%;}
|
48
|
+
.slick-dots li { position: relative; display: inline-block; height: 20px; width: 20px; margin: 0px 5px; padding: 0px; }
|
49
|
+
.slick-dots li a { display: block; height: 20px; width: 20px; outline: none; line-height: 0; font-size: 0; color: transparent; padding: 5px; }
|
50
|
+
.slick-dots li a:before { content: '\8226'; font-family: "slick"; font-size: 6px; line-height: 2; color: black; opacity: 0.25; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
|
51
|
+
.slick-dots li.slick-active a:before { opacity: 0.75; }
|
52
|
+
|
53
|
+
/* Draggable */
|
54
|
+
|
55
|
+
.slick-list.dragging { cursor: pointer; cursor: hand; }
|
data/lib/slick_rails.rb
ADDED
data/slick_rails.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'slick_rails/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "slick_rails"
|
8
|
+
spec.version = SlickRails::VERSION
|
9
|
+
spec.authors = ["Guy Israeli"]
|
10
|
+
spec.email = ["guy.israeli@gmail.com"]
|
11
|
+
spec.summary = %q{Slick Carousel - The Last Carousel you will ever need. Now for Rails}
|
12
|
+
spec.description = %q{Simple. Carousel. Slick.}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.5"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
spec.add_dependency "railties", ">= 3.1"
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: slick_rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.5.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Guy Israeli
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-03-29 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.5'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.5'
|
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
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: railties
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.1'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.1'
|
55
|
+
description: Simple. Carousel. Slick.
|
56
|
+
email:
|
57
|
+
- guy.israeli@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".DS_Store"
|
63
|
+
- ".gitignore"
|
64
|
+
- Gemfile
|
65
|
+
- LICENSE.txt
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- app/.DS_Store
|
69
|
+
- app/assets/.DS_Store
|
70
|
+
- app/assets/fonts/slick.eot
|
71
|
+
- app/assets/fonts/slick.svg
|
72
|
+
- app/assets/fonts/slick.ttf
|
73
|
+
- app/assets/fonts/slick.woff
|
74
|
+
- app/assets/javascripts/slick.js
|
75
|
+
- app/assets/stylesheets/slick.css
|
76
|
+
- lib/slick_rails.rb
|
77
|
+
- lib/slick_rails/version.rb
|
78
|
+
- slick_rails.gemspec
|
79
|
+
homepage: ''
|
80
|
+
licenses:
|
81
|
+
- MIT
|
82
|
+
metadata: {}
|
83
|
+
post_install_message:
|
84
|
+
rdoc_options: []
|
85
|
+
require_paths:
|
86
|
+
- lib
|
87
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
requirements: []
|
98
|
+
rubyforge_project:
|
99
|
+
rubygems_version: 2.2.1
|
100
|
+
signing_key:
|
101
|
+
specification_version: 4
|
102
|
+
summary: Slick Carousel - The Last Carousel you will ever need. Now for Rails
|
103
|
+
test_files: []
|