swiper-rails 1.0.0 → 1.0.2
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 +6 -14
- data/app/assets/javascripts/swiper.js +1289 -941
- data/app/assets/stylesheets/swiper.css +55 -25
- data/lib/swiper-rails/version.rb +1 -1
- metadata +7 -7
@@ -1,19 +1,6 @@
|
|
1
|
-
/*
|
2
|
-
|
3
|
-
|
4
|
-
*
|
5
|
-
* Vladimir Kharlampidi, The iDangero.us
|
6
|
-
* http://www.idangero.us/
|
7
|
-
*
|
8
|
-
* Copyright 2012, Vladimir Kharlampidi
|
9
|
-
* The iDangero.us
|
10
|
-
* http://www.idangero.us
|
11
|
-
*
|
12
|
-
* Licensed under GPL & MIT
|
13
|
-
*
|
14
|
-
*/
|
15
|
-
|
16
|
-
/* Swiper Styles */
|
1
|
+
/* ===============================================================
|
2
|
+
Basic Swiper Styles
|
3
|
+
================================================================*/
|
17
4
|
.swiper-container {
|
18
5
|
margin:0 auto;
|
19
6
|
position:relative;
|
@@ -33,28 +20,39 @@
|
|
33
20
|
-webkit-transition-duration:0s;
|
34
21
|
-webkit-transform:translate3d(0px,0,0);
|
35
22
|
-webkit-transition-timing-function:ease;
|
36
|
-
|
23
|
+
|
37
24
|
-moz-transition-property:-moz-transform, left, top;
|
38
25
|
-moz-transition-duration:0s;
|
39
26
|
-moz-transform:translate3d(0px,0,0);
|
40
27
|
-moz-transition-timing-function:ease;
|
41
|
-
|
28
|
+
|
42
29
|
-o-transition-property:-o-transform, left, top;
|
43
30
|
-o-transition-duration:0s;
|
44
31
|
-o-transform:translate3d(0px,0,0);
|
45
32
|
-o-transition-timing-function:ease;
|
46
33
|
-o-transform:translate(0px,0px);
|
47
|
-
|
34
|
+
|
48
35
|
-ms-transition-property:-ms-transform, left, top;
|
49
36
|
-ms-transition-duration:0s;
|
50
37
|
-ms-transform:translate3d(0px,0,0);
|
51
38
|
-ms-transition-timing-function:ease;
|
52
|
-
|
39
|
+
|
53
40
|
transition-property:transform, left, top;
|
54
41
|
transition-duration:0s;
|
55
42
|
transform:translate3d(0px,0,0);
|
56
43
|
transition-timing-function:ease;
|
57
|
-
|
44
|
+
|
45
|
+
-webkit-box-sizing: content-box;
|
46
|
+
-moz-box-sizing: content-box;
|
47
|
+
box-sizing: content-box;
|
48
|
+
}
|
49
|
+
.swiper-free-mode > .swiper-wrapper {
|
50
|
+
-webkit-transition-timing-function: ease-out;
|
51
|
+
-moz-transition-timing-function: ease-out;
|
52
|
+
-ms-transition-timing-function: ease-out;
|
53
|
+
-o-transition-timing-function: ease-out;
|
54
|
+
transition-timing-function: ease-out;
|
55
|
+
margin: 0 auto;
|
58
56
|
}
|
59
57
|
.swiper-slide {
|
60
58
|
float: left;
|
@@ -68,10 +66,42 @@
|
|
68
66
|
-ms-touch-action: pan-x;
|
69
67
|
}
|
70
68
|
|
71
|
-
/*
|
72
|
-
|
73
|
-
|
74
|
-
|
69
|
+
/* ===============================================================
|
70
|
+
Your custom styles, here you need to specify container's and slide's
|
71
|
+
sizes, pagination, etc.
|
72
|
+
================================================================*/
|
73
|
+
.swiper-container {
|
74
|
+
/* Specify Swiper's Size: */
|
75
|
+
|
76
|
+
/*width:200px;
|
77
|
+
height: 100px;*/
|
78
|
+
}
|
79
|
+
.swiper-slide {
|
80
|
+
/* Specify Slides's Size: */
|
81
|
+
|
82
|
+
/*width: 100%;
|
83
|
+
height: 100%;*/
|
84
|
+
}
|
85
|
+
.swiper-slide-active {
|
86
|
+
/* Specific active slide styling: */
|
87
|
+
|
88
|
+
}
|
89
|
+
.swiper-slide-visible {
|
90
|
+
/* Specific visible slide styling: */
|
91
|
+
|
75
92
|
}
|
93
|
+
/* ===============================================================
|
94
|
+
Pagination Styles
|
95
|
+
================================================================*/
|
96
|
+
.swiper-pagination-switch {
|
97
|
+
/* Stylize pagination button: */
|
76
98
|
|
99
|
+
}
|
100
|
+
.swiper-active-switch {
|
101
|
+
/* Specific active button style: */
|
77
102
|
|
103
|
+
}
|
104
|
+
.swiper-visible-switch {
|
105
|
+
/* Specific visible button style: */
|
106
|
+
|
107
|
+
}
|
data/lib/swiper-rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swiper-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nik Marchenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.1'
|
27
27
|
description: Swiper toolkit for Rails Asset Pipeline
|
@@ -52,17 +52,17 @@ require_paths:
|
|
52
52
|
- lib
|
53
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- -
|
55
|
+
- - '>='
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: '0'
|
58
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - '>='
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
64
|
rubyforge_project:
|
65
|
-
rubygems_version: 2.
|
65
|
+
rubygems_version: 2.1.11
|
66
66
|
signing_key:
|
67
67
|
specification_version: 4
|
68
68
|
summary: swiper-rails integrates Swiper toolkit for Rails Asset Pipeline
|