active_frontend 15.0.5 → 15.0.6

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: 260d3d1b317cf4e1512d4a1026c39de7c48c9e18
4
- data.tar.gz: 43d3c96c7505ad5b3a1272013397342627bbb14f
3
+ metadata.gz: 4d590ca0fe933536ef070e675efd2e20ad118984
4
+ data.tar.gz: 8044f8cf03a727f58ede7805f54f27241e754a3d
5
5
  SHA512:
6
- metadata.gz: 7630ea9d42a33d2dd4fa274e5b888357097fb0065b1835c520b049c604f4e59d8ede4e517494f94c172e1bf5425a7e4b0a2f40fe09e7351f2fc301f1f4cb174f
7
- data.tar.gz: 529dea79fca3177a852c145b910b5e31d411560b068d431278d21f4a32bdad1dabc3d800b3f4b35fa9d736f73d3bb30eee218ca63a080c3b1ed7c3c7201becf9
6
+ metadata.gz: 54a60779d3e586ac567c1ddb915c780ef0bb60d2521b7f7e5952b6027a7ac6dc3405c07f4798edbb7e622dc414faac7c5bfc05d2e7ab54d70941a696c8dbec83
7
+ data.tar.gz: ad39b9136d338c1892abeaf1ebe7e5bb49077afd5c933989aa2256bff7b0e4c0f27eeffc218f86327a0f54d80b3925a6ef4c7db54959037bbfa621e48312f42b
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveFrontend
4
- VERSION ||= '15.0.5'
4
+ VERSION ||= '15.0.6'
5
5
  end
@@ -144,9 +144,13 @@
144
144
  });
145
145
  },
146
146
  changeStyle: function (top, transition) {
147
+ var topPx = top + 'px';
148
+ var heightPx = top > 50 ? '50px' : topPx;
149
+
147
150
  var changeCss = {
148
- transform: 'translate3d(0px, ' + top + 'px, 0px)',
149
- transition: 'transform 0.3s ease-in-out'
151
+ height: heightPx,
152
+ transform: 'translate3d(0px, ' + heightPx + ', 0px)',
153
+ transition: 'transform 0s ease-in-out'
150
154
  };
151
155
 
152
156
  if (!transition) {
@@ -8,7 +8,7 @@
8
8
  color: color(gray);
9
9
  display: none;
10
10
  font-size: text-size(s);
11
- height: 40px;
11
+ height: 0;
12
12
  margin: 0 auto;
13
13
  position: relative;
14
14
  text-align: center;
@@ -26,7 +26,7 @@
26
26
  border-top-left-radius: border-radius(b);
27
27
  border-top-right-radius: border-radius(b);
28
28
  height: 10px;
29
- margin: 5px auto;
29
+ margin: 5px auto 0;
30
30
  position: relative;
31
31
  width: 4px;
32
32
 
@@ -45,5 +45,4 @@
45
45
  .xpull-spinner {
46
46
  display: none;
47
47
  font-size: text-size(xl);
48
- padding: 20px;
49
48
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.0.5
4
+ version: 15.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-22 00:00:00.000000000 Z
11
+ date: 2017-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails