slick_rails 1.3.2 → 1.3.3

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.
@@ -1,5 +1,6 @@
1
1
  /* Slider */
2
- .slick-slider {
2
+
3
+ .slick-slider {
3
4
  position: relative;
4
5
  display: block;
5
6
  box-sizing: border-box;
@@ -12,6 +13,7 @@
12
13
  user-select: none;
13
14
  -ms-touch-action: none;
14
15
  touch-action: none;
16
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
15
17
  }
16
18
  .slick-list {
17
19
  position: relative;
@@ -25,7 +27,7 @@
25
27
  }
26
28
 
27
29
  .slick-loading & {
28
- background: #fff image-url("ajax-loader.gif") center center no-repeat;
30
+ background: #fff url(./ajax-loader.gif) center center no-repeat;
29
31
  }
30
32
 
31
33
  &.dragging {
@@ -47,22 +49,22 @@
47
49
  position: relative;
48
50
  left: 0;
49
51
  top: 0;
50
- display: table;
52
+ display: block;
53
+ zoom: 1;
51
54
 
55
+ &:before,
52
56
  &:after {
53
- content:"";
57
+ content: "";
54
58
  display: table;
59
+ }
60
+
61
+ &:after {
55
62
  clear: both;
56
63
  }
57
64
 
58
65
  .slick-loading & {
59
66
  visibility: hidden;
60
67
  }
61
-
62
- /* Vertical */
63
- .slick-vertical & {
64
- display: block;
65
- }
66
68
  }
67
69
  .slick-slide {
68
70
  float: left;
@@ -70,21 +72,20 @@
70
72
  min-height: 1px;
71
73
  img {
72
74
  display: block;
75
+ &.slick-loading {
76
+ background: white url(./ajax-loader.gif) center center no-repeat;
77
+ padding-bottom: 100%;
78
+ }
73
79
  }
74
80
 
75
81
  display: none;
76
82
 
77
- &.loading {
78
- background: image-url("ajax-loader.gif") center center no-repeat;
79
- position: relative;
80
- }
81
-
82
83
  &.dragging img {
83
84
  pointer-events: none;
84
85
  }
85
86
 
86
87
  .slick-initialized & {
87
- display: table-cell;
88
+ display: block;
88
89
  }
89
90
 
90
91
  .slick-loading & {
@@ -97,18 +98,20 @@
97
98
  border: 1px solid transparent;
98
99
  }
99
100
  }
101
+
100
102
  /* Icons */
103
+
101
104
  @charset"UTF-8";
102
105
  @font-face {
103
106
  font-family:"slick";
104
- src:font-url("slick.eot");
105
- src:font-url("slick.eot?#iefix") format("embedded-opentype"), font-url("slick.woff") format("woff"), font-url("slick.ttf") format("truetype"), font-url("slick.svg#slick") format("svg");
107
+ src:url("./fonts/slick.eot");
108
+ src:url("./fonts/slick.eot?#iefix") format("embedded-opentype"), url("./fonts/slick.woff") format("woff"), url("./fonts/slick.ttf") format("truetype"), url("./fonts/slick.svg#slick") format("svg");
106
109
  font-weight: normal;
107
110
  font-style: normal;
108
111
  }
109
112
 
110
-
111
113
  /* Arrows */
114
+
112
115
  .slick-prev,
113
116
  .slick-next {
114
117
  position: absolute;
@@ -131,33 +134,30 @@
131
134
  opacity: 0.25;
132
135
  }
133
136
  }
137
+ .slick-prev:before, .slick-next:before {
138
+ font-family:"slick";
139
+ font-size: 20px;
140
+ line-height: 1;
141
+ color: white;
142
+ opacity: 0.85;
143
+ -webkit-font-smoothing: antialiased;
144
+ -moz-osx-font-smoothing: grayscale;
145
+ }
134
146
  .slick-prev {
135
147
  left: -25px;
136
148
  &:before {
137
149
  content:'\8592';
138
- font-family:"slick";
139
- font-size: 20px;
140
- line-height: 1;
141
- color: white;
142
- opacity: 0.85;
143
- -webkit-font-smoothing: antialiased;
144
- -moz-osx-font-smoothing: grayscale;
145
150
  }
146
151
  }
147
152
  .slick-next {
148
153
  right: -25px;
149
154
  &:before {
150
155
  content:'\8594';
151
- font-family:"slick";
152
- font-size: 20px;
153
- line-height: 1;
154
- color: white;
155
- opacity: 0.85;
156
- -webkit-font-smoothing: antialiased;
157
- -moz-osx-font-smoothing: grayscale;
158
156
  }
159
157
  }
158
+
160
159
  /* Dots */
160
+
161
161
  .slick-slider {
162
162
  margin-bottom: 30px;
163
163
  }
@@ -204,4 +204,4 @@
204
204
  opacity: 0.75;
205
205
  }
206
206
  }
207
- }
207
+ }
@@ -1,3 +1,3 @@
1
1
  module SlickRails
2
- VERSION = "1.3.2"
2
+ VERSION = "1.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slick_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Israeli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-03 00:00:00.000000000 Z
11
+ date: 2014-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler