active_frontend 15.0.10 → 15.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a8490901ee3821a706652c780bbafa00cdcc656
4
- data.tar.gz: 1dc8c1fb9ed580b0c02bbe787393c5203e88a6ce
3
+ metadata.gz: 2e6ad1dddce919434dffe3971bf5b62f05a6a261
4
+ data.tar.gz: 21002bb629dea95e24e51efa37b4c511233cd84e
5
5
  SHA512:
6
- metadata.gz: 7bab17fd934ef826edb20abb22e75b3967cac4a527b97482a18f53b016cf8c66c6e6d058527d87a1a2d34732892151cdc0f9b160d0b0ac8317ade4509a747c02
7
- data.tar.gz: b1c49f0442d506ff43abf2f0826254e0437b85bdc22e352e9e1464f4226d2e7a3f5c63d678d05d2f82ff991c4f96ecd103ff6734d3df4e88c7b874c77024292b
6
+ metadata.gz: d894fc48c9c7f9cb07662d4ef330337c422dc057deb32a6e244ce918c80f9a96549d95860a78ebcb9dfe8e739bc7cde396b8362fcbda00337aa11c5191909b71
7
+ data.tar.gz: 4ead16b6a1d4c48df0455b0a91f91abafe7f647e254a357217616efaa2529fc6dc57c72cd642e833dfb2a08cc3a1cb348f6b374819a289a3bfea1f915aaf89c5
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveFrontend
4
- VERSION ||= '15.0.10'
4
+ VERSION ||= '15.0.11'
5
5
  end
@@ -136,8 +136,6 @@
136
136
  }
137
137
 
138
138
  setTimeout(function() {
139
- elm.css({ 'transition': '' });
140
- that.indicator.css({ 'transition': '' });
141
139
  $(document.body).unbind('touchmove.' + pluginName);
142
140
  that.elast = true;
143
141
  }, 300);
@@ -146,23 +144,15 @@
146
144
  changeStyle: function (top, transition) {
147
145
  var topPx = top + 'px';
148
146
  var heightPx = top > 50 ? '50px' : topPx;
147
+ var paddingPx = top > 50 ? '10px 0' : '0';
149
148
 
150
149
  var changeCss = {
151
150
  height: heightPx,
152
151
  overflow: 'initial',
153
- transform: 'translate3d(0px, ' + heightPx + ', 0px)',
154
- transition: 'transform 0.3s ease-in-out'
152
+ padding: paddingPx
155
153
  };
156
154
 
157
- if (!transition) {
158
- changeCss.transition = '';
159
- }
160
-
161
155
  this.indicator.css(changeCss);
162
-
163
- delete changeCss.height;
164
- delete changeCss.overflow;
165
- this.elm.css(changeCss);
166
156
  },
167
157
  reset: function() {
168
158
  var that = this;
@@ -10,10 +10,11 @@
10
10
  font-size: text-size(s);
11
11
  height: 0;
12
12
  margin: 0 auto;
13
+ padding: 0;
13
14
  overflow: hidden;
14
15
  position: relative;
15
16
  text-align: center;
16
- transform: translate3d(0, 0, 0) rotate(0deg);
17
+ transform: rotate(0deg);
17
18
  }
18
19
  .xpull-pulled {
19
20
  .xpull-arrow {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.0.10
4
+ version: 15.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez