weui-rails 0.4.3 → 0.4.4

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: ec4b132ba0d31d593ea0df801b367d2ffb1a0deb
4
- data.tar.gz: ad95c8d8a031f41504567d9a8775c6b616ee033f
3
+ metadata.gz: b472409cfe7027f7ad1506283d2b64a80a1f197f
4
+ data.tar.gz: 175f7dac01e5fe35d04376f12e91fdd97f6bceca
5
5
  SHA512:
6
- metadata.gz: 4c22fd150b1c6c8bf816c2551b80bafe40c484aac0b84cffd71279be65c60d067f36c3fe40e9a1d481dfffdf38efd6e4ca92403ffa5fbc7282567a62dec4f364
7
- data.tar.gz: 03f70c3bb7d51abdc4d28ff5a02e0ef866b54f5bc40aa6df91e281eb6a97e6566b18746a0687cf60252cf3d26ed965808a20c5c5fdc6d5b5cbe85070041b4cc4
6
+ metadata.gz: 51bb48e0350bf5d7717ed4119d6d75d9f5ed7593a27d0a4918b5ed338f4cba174b9aca55e35525e26ae7c03899378e6bef2b66a9eda10f3fbfc5f816c5b31606
7
+ data.tar.gz: b814ba10df656d5361070088894779f64c62066c3cb21a145dcb6bba733d891f97b4d4273aeff4e60b80d2ab9defff6f33000e062a691fe8e33bdd8e6f86bf8d
@@ -1,5 +1,5 @@
1
1
  module Weui
2
2
  module Rails
3
- VERSION = '0.4.3'
3
+ VERSION = '0.4.4'
4
4
  end
5
5
  end
@@ -8,7 +8,7 @@
8
8
  transform: translate(0, 0) rotate(45deg);
9
9
  }
10
10
 
11
- @mixin setCheckedAbs($c:#FFFFFF) {
11
+ @mixin setCheckedAbs($c:#FFFFFF) {
12
12
  position: absolute;
13
13
  top: 50%;
14
14
  left: 50%;
@@ -1,4 +1,4 @@
1
- @mixin setTopLine($c: #C7C7C7) {
1
+ @mixin setTopLine($c:#C7C7C7) {
2
2
  content: " ";
3
3
  position: absolute;
4
4
  left: 0;
@@ -11,7 +11,7 @@
11
11
  transform: scaleY(0.5);
12
12
  }
13
13
 
14
- @mixin setBottomLine($c: #C7C7C7) {
14
+ @mixin setBottomLine($c:#C7C7C7) {
15
15
  content: " ";
16
16
  position: absolute;
17
17
  left: 0;
@@ -24,7 +24,7 @@
24
24
  transform: scaleY(0.5);
25
25
  }
26
26
 
27
- @mixin setLeftLine($c: #C7C7C7) {
27
+ @mixin setLeftLine($c:#C7C7C7) {
28
28
  content: " ";
29
29
  position: absolute;
30
30
  left: 0;
@@ -37,7 +37,7 @@
37
37
  transform: scaleX(0.5);
38
38
  }
39
39
 
40
- @mixin setRightLine($c: #C7C7C7) {
40
+ @mixin setRightLine($c:#C7C7C7) {
41
41
  content: " ";
42
42
  position: absolute;
43
43
  right: 0;
@@ -6,7 +6,7 @@
6
6
  word-wrap: normal;
7
7
  }
8
8
 
9
- @mixin ellipsisLn($line) {
9
+ @mixin ellipsisLn($line) {
10
10
  overflow: hidden;
11
11
  text-overflow: ellipsis;
12
12
  display: -webkit-box;
@@ -14,6 +14,8 @@ $weuiSwitchHeight: 32px;
14
14
  border-radius: 16px;
15
15
  box-sizing: border-box;
16
16
  background: #DFDFDF;
17
+ background-color: #DFDFDF;
18
+ transition: background-color .1s, border .1s;
17
19
  &:before{
18
20
  content: " ";
19
21
  position: absolute;
@@ -24,6 +26,7 @@ $weuiSwitchHeight: 32px;
24
26
  border-radius: 15px;
25
27
  background-color: #FDFDFD;
26
28
  transition:transform .3s;
29
+ transition:transform .35s cubic-bezier(0.45, 1, 0.4, 1);
27
30
  }
28
31
  &:after{
29
32
  content: " ";
@@ -36,6 +39,8 @@ $weuiSwitchHeight: 32px;
36
39
  background-color: #FFFFFF;
37
40
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
38
41
  transition:transform .3s;
42
+ box-shadow: 0 1px 3px rgba(0,0,0,0.4);
43
+ transition:transform .35s cubic-bezier(0.4, 0.4, 0.25, 1.35);
39
44
  }
40
45
 
41
46
  &:checked{
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weui-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Guo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-06 00:00:00.000000000 Z
11
+ date: 2016-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.6.4
132
+ rubygems_version: 2.6.6
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: An UI library for WeChat