payment_info_rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +31 -0
- data/Rakefile +2 -0
- data/app/assets/javascripts/jquery.mask.js +489 -0
- data/app/assets/javascripts/modernizr.js +4 -0
- data/app/assets/javascripts/payment_info.js +514 -0
- data/app/assets/javascripts/payment_info_initializer.js +3 -0
- data/app/assets/javascripts/payment_info_main.js +1 -0
- data/app/assets/stylesheets/normalize.css +502 -0
- data/app/assets/stylesheets/payment_info.css +394 -0
- data/app/assets/stylesheets/payment_info_main.css +8 -0
- data/lib/payment_info_rails/engine.rb +4 -0
- data/lib/payment_info_rails/version.rb +3 -0
- data/lib/payment_info_rails.rb +6 -0
- data/payment_info_rails.gemspec +23 -0
- metadata +90 -0
@@ -0,0 +1,394 @@
|
|
1
|
+
/* ======================================
|
2
|
+
* SASS VARIABLES
|
3
|
+
* ======================================
|
4
|
+
*/
|
5
|
+
/* ======================================
|
6
|
+
* UTILITY CLASSES
|
7
|
+
* ======================================
|
8
|
+
*/
|
9
|
+
.hide {
|
10
|
+
left: -999999px;
|
11
|
+
position: absolute; }
|
12
|
+
|
13
|
+
/* ======================================
|
14
|
+
* SINGLE FIELD CREDIT CARD STYLES
|
15
|
+
* These styles were modified from http://zdfs.github.io/toscani/paymentInfo/index.html
|
16
|
+
* ======================================
|
17
|
+
*/
|
18
|
+
.js .credit-card-group {
|
19
|
+
-webkit-backface-visibility: hidden;
|
20
|
+
-moz-backface-visibility: hidden;
|
21
|
+
-o-backface-visibility: hidden;
|
22
|
+
backface-visibility: hidden;
|
23
|
+
-webkit-perspective: 1000;
|
24
|
+
-moz-perspective: 1000;
|
25
|
+
-o-perspective: 1000;
|
26
|
+
perspective: 1000;
|
27
|
+
border: 1px solid #bbbbbb;
|
28
|
+
overflow: hidden;
|
29
|
+
padding: 0 0.5em;
|
30
|
+
margin-bottom: 0.2em;
|
31
|
+
position: relative; }
|
32
|
+
.js .credit-card-group input {
|
33
|
+
background: transparent;
|
34
|
+
border: 0;
|
35
|
+
box-shadow: none;
|
36
|
+
outline: 0;
|
37
|
+
padding: 0;
|
38
|
+
padding: 1em 0; }
|
39
|
+
.js .credit-card-group .card-number {
|
40
|
+
width: 206px; }
|
41
|
+
.js .credit-card-group .card-number.transitioning-out {
|
42
|
+
-webkit-animation-iteration-count: 1;
|
43
|
+
-moz-animation-iteration-count: 1;
|
44
|
+
-o-animation-iteration-count: 1;
|
45
|
+
animation-iteration-count: 1;
|
46
|
+
-webkit-animation-duration: .4s;
|
47
|
+
-moz-animation-duration: .4s;
|
48
|
+
-o-animation-duration: .4s;
|
49
|
+
animation-duration: .4s;
|
50
|
+
-webkit-animation-fill-mode: both;
|
51
|
+
-moz-animation-fill-mode: both;
|
52
|
+
-o-animation-fill-mode: both;
|
53
|
+
animation-fill-mode: both;
|
54
|
+
-webkit-animation-name: slide;
|
55
|
+
-moz-animation-name: slide;
|
56
|
+
-o-animation-name: slide;
|
57
|
+
animation-name: slide; }
|
58
|
+
.js .credit-card-group .card-number.transitioning-in {
|
59
|
+
-webkit-transition: width 0s linear;
|
60
|
+
-moz-transition: width 0s linear;
|
61
|
+
-ms-transition: width 0s linear;
|
62
|
+
-o-transition: width 0s linear;
|
63
|
+
transition: width 0s linear;
|
64
|
+
width: 206px; }
|
65
|
+
.js .credit-card-group .card-number.full {
|
66
|
+
width: 15%; }
|
67
|
+
.js .credit-card-group .card-expiration {
|
68
|
+
width: 21.5%; }
|
69
|
+
.js .credit-card-group .card-zip {
|
70
|
+
width: 20%; }
|
71
|
+
.js .credit-card-group .card-cvv {
|
72
|
+
width: 18%; }
|
73
|
+
.js .credit-card-group.invalid {
|
74
|
+
border-color: #b94a48; }
|
75
|
+
.js .credit-card-group.invalid input {
|
76
|
+
color: #b94a48; }
|
77
|
+
.js .credit-card-group.valid {
|
78
|
+
border-color: #089e00; }
|
79
|
+
|
80
|
+
.card-image {
|
81
|
+
background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3C%21--%20Generator%3A%20Adobe%20Illustrator%2017.1.0%2C%20SVG%20Export%20Plug-In%20.%20SVG%20Version%3A%206.00%20Build%200%29%20%20--%3E%0D%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-//W3C//DTD%20SVG%201.1//EN%22%20%22http%3A//www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd%22%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%221%200%2060%2040%22%20enable-background%3D%22new%201%200%2060%2040%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cg%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23C4DAB0%22%20d%3D%22M61%2C35c0%2C2.8-2.2%2C5-5%2C5H6c-2.8%2C0-5-2.2-5-5V5c0-2.8%2C2.2-5%2C5-5h50c2.8%2C0%2C5%2C2.2%2C5%2C5V35z%22/%3E%0D%0A%09%3C/g%3E%0D%0A%09%3Crect%20x%3D%222%22%20y%3D%226.3%22%20fill%3D%22%23424143%22%20width%3D%2259%22%20height%3D%228%22/%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cg%3E%0D%0A%09%09%09%3Cpath%20fill%3D%22%237D9769%22%20d%3D%22M56%2C1c2.2%2C0%2C4%2C1.8%2C4%2C4v30c0%2C2.2-1.8%2C4-4%2C4H6c-2.2%2C0-4-1.8-4-4V5c0-2.2%2C1.8-4%2C4-4H56%20M56%2C0H6%0D%0A%09%09%09%09C3.2%2C0%2C1%2C2.2%2C1%2C5v30c0%2C2.8%2C2.2%2C5%2C5%2C5h50c2.8%2C0%2C5-2.2%2C5-5V5C61%2C2.2%2C58.7%2C0%2C56%2C0L56%2C0z%22/%3E%0D%0A%09%09%3C/g%3E%0D%0A%09%3C/g%3E%0D%0A%3C/g%3E%0D%0A%3C/svg%3E%0D%0A");
|
82
|
+
background-size: 100% auto;
|
83
|
+
background-repeat: no-repeat;
|
84
|
+
display: inline-block;
|
85
|
+
height: 22px;
|
86
|
+
position: relative;
|
87
|
+
top: 50%;
|
88
|
+
margin: 0 3px -6px 0;
|
89
|
+
width: 32px;
|
90
|
+
z-index: 2;
|
91
|
+
-webkit-transform-style: preserve-3d;
|
92
|
+
-moz-transform-style: preserve-3d;
|
93
|
+
-o-transform-style: preserve-3d;
|
94
|
+
transform-style: preserve-3d;
|
95
|
+
-webkit-transition: all 0.25s linear;
|
96
|
+
-moz-transition: all 0.25s linear;
|
97
|
+
-ms-transition: all 0.25s linear;
|
98
|
+
-o-transition: all 0.25s linear;
|
99
|
+
transition: all 0.25s linear; }
|
100
|
+
.card-image.visa {
|
101
|
+
background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3C%21--%20Generator%3A%20Adobe%20Illustrator%2017.1.0%2C%20SVG%20Export%20Plug-In%20.%20SVG%20Version%3A%206.00%20Build%200%29%20%20--%3E%0D%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-//W3C//DTD%20SVG%201.1//EN%22%20%22http%3A//www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd%22%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220.4%2043.8%2060%2040%22%20enable-background%3D%22new%200.4%2043.8%2060%2040%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cg%3E%0D%0A%09%3Cpath%20fill%3D%22%23F3F4F4%22%20d%3D%22M60.4%2C78.8c0%2C2.8-2.2%2C5-5%2C5h-50c-2.8%2C0-5-2.2-5-5v-30c0-2.8%2C2.2-5%2C5-5h50c2.8%2C0%2C5%2C2.2%2C5%2C5V78.8z%22/%3E%0D%0A%09%3Cpath%20fill%3D%22%235565AF%22%20d%3D%22M1.4%2C53.8v-5c0-2.8%2C2.2-5%2C5-5h48c2.8%2C0%2C5%2C2.2%2C5%2C5v5%22/%3E%0D%0A%09%3Cpath%20fill%3D%22%23E6A124%22%20d%3D%22M59.4%2C73.8v5c0%2C2.8-2.2%2C4-5%2C4h-48c-2.8%2C0-5-1.2-5-4v-5%22/%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cpath%20fill%3D%22%235565AF%22%20d%3D%22M17.8%2C67.2c0.4-1.1%2C0.7-1.9%2C0.9-2.2l3.4-6.9h2.5l-5.8%2C11.4H16l-1-11.4h2.3l0.4%2C6.9c0%2C0.2%2C0%2C0.6%2C0%2C1%0D%0A%09%09%09C17.7%2C66.5%2C17.7%2C66.9%2C17.8%2C67.2L17.8%2C67.2z%22/%3E%0D%0A%09%09%3Cpath%20fill%3D%22%235565AF%22%20d%3D%22M23.4%2C69.5l2.4-11.4h2.4l-2.4%2C11.4H23.4z%22/%3E%0D%0A%09%09%3Cpath%20fill%3D%22%235565AF%22%20d%3D%22M35.6%2C66.1c0%2C1.1-0.4%2C1.9-1.2%2C2.6c-0.8%2C0.6-1.8%2C0.9-3.1%2C0.9c-1.2%2C0-2.1-0.2-2.8-0.7v-2.1%0D%0A%09%09%09c1%2C0.6%2C1.9%2C0.8%2C2.8%2C0.8c0.6%2C0%2C1-0.1%2C1.4-0.3c0.3-0.2%2C0.5-0.5%2C0.5-0.9c0-0.2%2C0-0.4-0.1-0.6c-0.1-0.2-0.2-0.3-0.3-0.5%0D%0A%09%09%09c-0.1-0.1-0.5-0.4-1-0.8c-0.7-0.5-1.2-1-1.5-1.5c-0.3-0.5-0.4-1-0.4-1.6c0-0.7%2C0.2-1.3%2C0.5-1.8c0.3-0.5%2C0.8-0.9%2C1.4-1.2%0D%0A%09%09%09c0.6-0.3%2C1.3-0.4%2C2.1-0.4c1.1%2C0%2C2.2%2C0.3%2C3.1%2C0.8L36%2C60.5c-0.8-0.4-1.6-0.6-2.2-0.6c-0.4%2C0-0.8%2C0.1-1.1%2C0.4%0D%0A%09%09%09c-0.3%2C0.2-0.4%2C0.5-0.4%2C0.9c0%2C0.3%2C0.1%2C0.6%2C0.3%2C0.8c0.2%2C0.2%2C0.6%2C0.6%2C1.2%2C0.9c0.6%2C0.4%2C1.1%2C0.9%2C1.4%2C1.4C35.4%2C64.9%2C35.6%2C65.5%2C35.6%2C66.1%0D%0A%09%09%09z%22/%3E%0D%0A%09%09%3Cpath%20fill%3D%22%235565AF%22%20d%3D%22M43.2%2C66.8h-3.7l-1.3%2C2.7h-2.5l6-11.5h2.9l1.1%2C11.5h-2.3L43.2%2C66.8z%20M43.1%2C64.8L42.9%2C62%0D%0A%09%09%09c-0.1-0.7-0.1-1.3-0.1-2v-0.3c-0.2%2C0.6-0.5%2C1.3-0.9%2C2l-1.5%2C3H43.1z%22/%3E%0D%0A%09%3C/g%3E%0D%0A%09%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M30.4%2C43.8%22/%3E%0D%0A%09%3Cpath%20opacity%3D%224.000000e-02%22%20fill%3D%22%23FFFFFF%22%20enable-background%3D%22new%20%20%20%20%22%20d%3D%22M58.9%2C45.3c0.9%2C0.9%2C1.5%2C2.2%2C1.5%2C3.5v15v15%0D%0A%09%09c0%2C1.4-0.6%2C2.6-1.5%2C3.5s-2.2%2C1.5-3.5%2C1.5h-25h-25c-1.4%2C0-2.6-0.6-3.5-1.5L58.9%2C45.3z%22/%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23F8F8F9%22%20d%3D%22M55.4%2C44.8c2.2%2C0%2C4%2C1.8%2C4%2C4v30c0%2C2.2-1.8%2C4-4%2C4h-50c-2.2%2C0-4-1.8-4-4v-30c0-2.2%2C1.8-4%2C4-4H55.4%20M55.4%2C43.8%0D%0A%09%09%09h-50c-2.8%2C0-5%2C2.2-5%2C5v30c0%2C2.8%2C2.2%2C5%2C5%2C5h50c2.8%2C0%2C5-2.2%2C5-5v-30C60.4%2C46%2C58.1%2C43.8%2C55.4%2C43.8L55.4%2C43.8z%22/%3E%0D%0A%09%3C/g%3E%0D%0A%3C/g%3E%0D%0A%3C/svg%3E%0D%0A"); }
|
102
|
+
.card-image.mc {
|
103
|
+
background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3C%21--%20Generator%3A%20Adobe%20Illustrator%2017.1.0%2C%20SVG%20Export%20Plug-In%20.%20SVG%20Version%3A%206.00%20Build%200%29%20%20--%3E%0D%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-//W3C//DTD%20SVG%201.1//EN%22%20%22http%3A//www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd%22%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220.4%2088%2060%2040%22%20enable-background%3D%22new%200.4%2088%2060%2040%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cg%3E%0D%0A%09%3Cpath%20fill%3D%22%235565AF%22%20d%3D%22M60.4%2C123c0%2C2.8-2.2%2C5-5%2C5h-50c-2.8%2C0-5-2.2-5-5V93c0-2.8%2C2.2-5%2C5-5h50c2.8%2C0%2C5%2C2.2%2C5%2C5V123z%22/%3E%0D%0A%09%3Cpath%20opacity%3D%224.000000e-02%22%20fill%3D%22%23FFFFFF%22%20enable-background%3D%22new%20%20%20%20%22%20d%3D%22M58.9%2C89.5c0.9%2C0.9%2C1.5%2C2.2%2C1.5%2C3.5v15v15%0D%0A%09%09c0%2C1.4-0.6%2C2.6-1.5%2C3.5c-0.9%2C0.9-2.2%2C1.5-3.5%2C1.5h-25h-25c-1.4%2C0-2.6-0.6-3.5-1.5L58.9%2C89.5z%22/%3E%0D%0A%09%3Cpath%20fill%3D%22%2356B1D9%22%20d%3D%22M30.4%2C88%22/%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23EA564B%22%20d%3D%22M30.4%2C101.4c-1.8-2.1-4.5-3.4-7.5-3.4c-5.5%2C0-10%2C4.5-10%2C10c0%2C5.5%2C4.5%2C10%2C10%2C10c3%2C0%2C5.7-1.3%2C7.5-3.4%0D%0A%09%09%09c-1.6-1.8-2.5-4.1-2.5-6.6S28.8%2C103.2%2C30.4%2C101.4z%22/%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23EA564B%22%20d%3D%22M30.4%2C101.4c-1.6%2C1.8-2.5%2C4.1-2.5%2C6.6s0.9%2C4.8%2C2.5%2C6.6c1.6-1.8%2C2.5-4.1%2C2.5-6.6S31.9%2C103.2%2C30.4%2C101.4z%22/%3E%0D%0A%09%3C/g%3E%0D%0A%09%3Cpath%20fill%3D%22%23E9D419%22%20d%3D%22M37.9%2C98c-3%2C0-5.7%2C1.3-7.5%2C3.4c-0.4%2C0.5-0.8%2C1-1.1%2C1.6h2.3c0.4%2C0.6%2C0.6%2C1.3%2C0.9%2C2h-4%0D%0A%09%09c-0.2%2C0.6-0.4%2C1.3-0.4%2C2h4.9c0%2C0.3%2C0.1%2C0.7%2C0.1%2C1c0%2C0.3%2C0%2C0.7-0.1%2C1h-4.9c0.1%2C0.7%2C0.2%2C1.4%2C0.4%2C2h4.1c-0.2%2C0.7-0.5%2C1.4-0.9%2C2h-2.3%0D%0A%09%09c0.3%2C0.6%2C0.7%2C1.1%2C1.1%2C1.6c1.8%2C2.1%2C4.5%2C3.4%2C7.5%2C3.4c5.5%2C0%2C10-4.5%2C10-10C47.9%2C102.5%2C43.4%2C98%2C37.9%2C98z%22/%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cpath%20fill%3D%22%237684B7%22%20d%3D%22M55.4%2C89c2.2%2C0%2C4%2C1.8%2C4%2C4v30c0%2C2.2-1.8%2C4-4%2C4h-50c-2.2%2C0-4-1.8-4-4V93c0-2.2%2C1.8-4%2C4-4H55.4%20M55.4%2C88h-50%0D%0A%09%09%09c-2.8%2C0-5%2C2.2-5%2C5v30c0%2C2.8%2C2.2%2C5%2C5%2C5h50c2.8%2C0%2C5-2.2%2C5-5V93C60.4%2C90.2%2C58.1%2C88%2C55.4%2C88L55.4%2C88z%22/%3E%0D%0A%09%3C/g%3E%0D%0A%3C/g%3E%0D%0A%3C/svg%3E%0D%0A"); }
|
104
|
+
.card-image.amex {
|
105
|
+
background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3C%21--%20Generator%3A%20Adobe%20Illustrator%2017.1.0%2C%20SVG%20Export%20Plug-In%20.%20SVG%20Version%3A%206.00%20Build%200%29%20%20--%3E%0D%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-//W3C//DTD%20SVG%201.1//EN%22%20%22http%3A//www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd%22%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220.1%20131.8%2060%2040%22%20enable-background%3D%22new%200.1%20131.8%2060%2040%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cg%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cpath%20fill%3D%22%235EC1EC%22%20d%3D%22M60.1%2C166.8c0%2C2.8-2.2%2C5-5%2C5h-50c-2.8%2C0-5-2.2-5-5v-30c0-2.8%2C2.2-5%2C5-5h50c2.8%2C0%2C5%2C2.2%2C5%2C5V166.8z%22/%3E%0D%0A%09%09%3Cpath%20fill%3D%22%235BBBE6%22%20d%3D%22M58.6%2C133.3c0.9%2C0.9%2C1.5%2C2.2%2C1.5%2C3.5v15v15c0%2C1.4-0.6%2C2.6-1.5%2C3.5c-0.9%2C0.9-2.2%2C1.5-3.5%2C1.5h-25h-25%0D%0A%09%09%09c-1.4%2C0-2.6-0.6-3.5-1.5L58.6%2C133.3z%22/%3E%0D%0A%09%09%3Cg%3E%0D%0A%09%09%09%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M17.7%2C156.7l-0.5-1.7h-3l-0.5%2C1.7H11l3-9.3h3.3l3.1%2C9.3H17.7z%20M16.7%2C152.9l-0.4-1.5%0D%0A%09%09%09%09c-0.1-0.3-0.2-0.8-0.3-1.3c-0.1-0.5-0.2-0.9-0.3-1.2c0%2C0.2-0.1%2C0.6-0.2%2C1.1s-0.4%2C1.5-0.7%2C2.9L16.7%2C152.9L16.7%2C152.9z%22/%3E%0D%0A%09%09%09%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M25.5%2C156.7l-1.9-6.7h-0.1c0.1%2C1.1%2C0.1%2C2%2C0.1%2C2.7v4h-2.2v-9.3h3.3l1.9%2C6.6h0.1l1.9-6.6H32v9.3h-2.3v-4.1%0D%0A%09%09%09%09c0-0.2%2C0-0.4%2C0-0.7s0-0.9%2C0.1-1.9h-0.1l-1.9%2C6.7L25.5%2C156.7L25.5%2C156.7z%22/%3E%0D%0A%09%09%09%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M39.2%2C156.7h-5.5v-9.3h5.5v2h-3v1.5H39v2h-2.8v1.8h3V156.7z%22/%3E%0D%0A%09%09%09%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M49.2%2C156.7h-2.9l-1.8-2.9l-1.8%2C2.9h-2.8L43%2C152l-2.9-4.5h2.8l1.7%2C2.9l1.6-2.9H49l-2.9%2C4.7L49.2%2C156.7z%22%0D%0A%09%09%09%09/%3E%0D%0A%09%09%3C/g%3E%0D%0A%09%09%3Cg%3E%0D%0A%09%09%09%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M17.7%2C156.7l-0.5-1.7h-3l-0.5%2C1.7H11l3-9.3h3.3l3.1%2C9.3H17.7z%20M16.7%2C152.9l-0.4-1.5%0D%0A%09%09%09%09c-0.1-0.3-0.2-0.8-0.3-1.3c-0.1-0.5-0.2-0.9-0.3-1.2c0%2C0.2-0.1%2C0.6-0.2%2C1.1s-0.4%2C1.5-0.7%2C2.9L16.7%2C152.9L16.7%2C152.9z%22/%3E%0D%0A%09%09%09%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M25.5%2C156.7l-1.9-6.7h-0.1c0.1%2C1.1%2C0.1%2C2%2C0.1%2C2.7v4h-2.2v-9.3h3.3l1.9%2C6.6h0.1l1.9-6.6H32v9.3h-2.3v-4.1%0D%0A%09%09%09%09c0-0.2%2C0-0.4%2C0-0.7s0-0.9%2C0.1-1.9h-0.1l-1.9%2C6.7L25.5%2C156.7L25.5%2C156.7z%22/%3E%0D%0A%09%09%09%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M39.2%2C156.7h-5.5v-9.3h5.5v2h-3v1.5H39v2h-2.8v1.8h3V156.7z%22/%3E%0D%0A%09%09%09%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M49.2%2C156.7h-2.9l-1.8-2.9l-1.8%2C2.9h-2.8L43%2C152l-2.9-4.5h2.8l1.7%2C2.9l1.6-2.9H49l-2.9%2C4.7L49.2%2C156.7z%22%0D%0A%09%09%09%09/%3E%0D%0A%09%09%3C/g%3E%0D%0A%09%09%3Cpath%20fill%3D%22%2356B1D9%22%20d%3D%22M30.1%2C131.8%22/%3E%0D%0A%09%3C/g%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cpath%20fill%3D%22%239BCEE0%22%20d%3D%22M55.1%2C132.8c2.2%2C0%2C4%2C1.8%2C4%2C4v30c0%2C2.2-1.8%2C4-4%2C4h-50c-2.2%2C0-4-1.8-4-4v-30c0-2.2%2C1.8-4%2C4-4H55.1%0D%0A%09%09%09%20M55.1%2C131.8h-50c-2.8%2C0-5%2C2.2-5%2C5v30c0%2C2.8%2C2.2%2C5%2C5%2C5h50c2.8%2C0%2C5-2.2%2C5-5v-30C60.1%2C134%2C57.9%2C131.8%2C55.1%2C131.8L55.1%2C131.8z%22/%3E%0D%0A%09%3C/g%3E%0D%0A%3C/g%3E%0D%0A%3C/svg%3E%0D%0A"); }
|
106
|
+
.card-image.disc {
|
107
|
+
background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3C%21--%20Generator%3A%20Adobe%20Illustrator%2017.1.0%2C%20SVG%20Export%20Plug-In%20.%20SVG%20Version%3A%206.00%20Build%200%29%20%20--%3E%0D%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-//W3C//DTD%20SVG%201.1//EN%22%20%22http%3A//www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd%22%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220.1%20175.7%2060%2040%22%20enable-background%3D%22new%200.1%20175.7%2060%2040%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cg%3E%0D%0A%09%3Cpath%20fill%3D%22%23FFF9F0%22%20d%3D%22M60.1%2C210.7c0%2C2.8-2.2%2C5-5%2C5h-50c-2.8%2C0-5-2.2-5-5v-30c0-2.8%2C2.2-5%2C5-5h50c2.8%2C0%2C5%2C2.2%2C5%2C5V210.7z%22/%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23414042%22%20d%3D%22M15.2%2C195.7c0%2C1-0.3%2C1.8-0.9%2C2.3c-0.6%2C0.5-1.4%2C0.8-2.5%2C0.8h-1.7v-6.1h1.9c1%2C0%2C1.8%2C0.3%2C2.3%2C0.8%0D%0A%09%09%09C15%2C194%2C15.2%2C194.7%2C15.2%2C195.7z%20M13.9%2C195.7c0-1.3-0.6-2-1.7-2h-0.7v4H12C13.3%2C197.7%2C13.9%2C197%2C13.9%2C195.7z%22/%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23414042%22%20d%3D%22M16.3%2C198.8v-6.1h1.3v6.1H16.3z%22/%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23414042%22%20d%3D%22M22.8%2C197.1c0%2C0.6-0.2%2C1-0.6%2C1.3c-0.4%2C0.3-0.9%2C0.5-1.6%2C0.5c-0.6%2C0-1.2-0.1-1.7-0.4v-1.2%0D%0A%09%09%09c0.4%2C0.2%2C0.8%2C0.3%2C1%2C0.4c0.3%2C0.1%2C0.5%2C0.1%2C0.8%2C0.1c0.3%2C0%2C0.5-0.1%2C0.7-0.2c0.1-0.1%2C0.2-0.3%2C0.2-0.5c0-0.1%2C0-0.2-0.1-0.3%0D%0A%09%09%09c-0.1-0.1-0.2-0.2-0.3-0.3c-0.1-0.1-0.4-0.2-0.8-0.4c-0.4-0.2-0.6-0.3-0.8-0.5c-0.2-0.2-0.3-0.3-0.4-0.6s-0.2-0.5-0.2-0.8%0D%0A%09%09%09c0-0.5%2C0.2-1%2C0.5-1.3c0.4-0.3%2C0.9-0.5%2C1.5-0.5c0.3%2C0%2C0.6%2C0%2C0.9%2C0.1c0.3%2C0.1%2C0.6%2C0.2%2C0.9%2C0.3l-0.4%2C1c-0.3-0.1-0.6-0.2-0.8-0.3%0D%0A%09%09%09c-0.2-0.1-0.4-0.1-0.6-0.1c-0.2%2C0-0.4%2C0.1-0.6%2C0.2c-0.1%2C0.1-0.2%2C0.3-0.2%2C0.4c0%2C0.1%2C0%2C0.2%2C0.1%2C0.3c0.1%2C0.1%2C0.1%2C0.2%2C0.3%2C0.2%0D%0A%09%09%09s0.4%2C0.2%2C0.8%2C0.4c0.6%2C0.3%2C1%2C0.5%2C1.2%2C0.8C22.6%2C196.3%2C22.8%2C196.7%2C22.8%2C197.1z%22/%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23414042%22%20d%3D%22M26.4%2C193.7c-0.5%2C0-0.9%2C0.2-1.1%2C0.5c-0.3%2C0.4-0.4%2C0.9-0.4%2C1.5c0%2C1.4%2C0.5%2C2%2C1.5%2C2c0.4%2C0%2C0.9-0.1%2C1.6-0.3%0D%0A%09%09%09v1.1c-0.5%2C0.2-1.1%2C0.3-1.7%2C0.3c-0.9%2C0-1.6-0.3-2-0.8c-0.5-0.5-0.7-1.3-0.7-2.3c0-0.6%2C0.1-1.2%2C0.3-1.7c0.2-0.5%2C0.6-0.8%2C1-1.1%0D%0A%09%09%09c0.4-0.3%2C0.9-0.4%2C1.5-0.4c0.6%2C0%2C1.2%2C0.1%2C1.8%2C0.4l-0.4%2C1c-0.2-0.1-0.5-0.2-0.7-0.3C26.9%2C193.7%2C26.7%2C193.7%2C26.4%2C193.7z%22/%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23414042%22%20d%3D%22M38.3%2C192.7h1.3l-2.1%2C6.1h-1.4l-2.1-6.1h1.3l1.1%2C3.6c0.1%2C0.2%2C0.1%2C0.5%2C0.2%2C0.7c0.1%2C0.3%2C0.1%2C0.5%2C0.1%2C0.6%0D%0A%09%09%09c0-0.3%2C0.1-0.7%2C0.3-1.3L38.3%2C192.7z%22/%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23414042%22%20d%3D%22M43.9%2C198.8h-3.5v-6.1h3.5v1.1h-2.2v1.3h2.1v1.1h-2.1v1.6h2.2V198.8z%22/%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23414042%22%20d%3D%22M46.5%2C196.4v2.3h-1.3v-6.1h1.8c0.8%2C0%2C1.4%2C0.1%2C1.8%2C0.5c0.4%2C0.3%2C0.6%2C0.8%2C0.6%2C1.4c0%2C0.4-0.1%2C0.7-0.3%2C1%0D%0A%09%09%09c-0.2%2C0.3-0.5%2C0.5-0.8%2C0.7c0.9%2C1.4%2C1.5%2C2.3%2C1.8%2C2.6h-1.4l-1.5-2.3L46.5%2C196.4L46.5%2C196.4z%20M46.5%2C195.4h0.4c0.4%2C0%2C0.7-0.1%2C0.9-0.2%0D%0A%09%09%09c0.2-0.1%2C0.3-0.4%2C0.3-0.6c0-0.3-0.1-0.5-0.3-0.6s-0.5-0.2-0.9-0.2h-0.4L46.5%2C195.4L46.5%2C195.4z%22/%3E%0D%0A%09%09%3Ccircle%20fill%3D%22%23E6A124%22%20cx%3D%2231.2%22%20cy%3D%22195.7%22%20r%3D%223%22/%3E%0D%0A%09%3C/g%3E%0D%0A%09%3Cpath%20fill%3D%22%23E6A124%22%20d%3D%22M60.1%2C203.2v7.5c0%2C0.7-0.1%2C1.3-0.4%2C1.9c-0.3%2C0.6-0.6%2C1.1-1.1%2C1.6s-1%2C0.8-1.6%2C1.1c-0.6%2C0.3-1.3%2C0.4-1.9%2C0.4%0D%0A%09%09H32.7H10.2L60.1%2C203.2z%22/%3E%0D%0A%09%3Cpath%20opacity%3D%228.000000e-02%22%20fill%3D%22%23FFFFFF%22%20enable-background%3D%22new%20%20%20%20%22%20d%3D%22M58.6%2C177.2c0.9%2C0.9%2C1.5%2C2.2%2C1.5%2C3.5v15v15%0D%0A%09%09c0%2C1.4-0.6%2C2.6-1.5%2C3.5c-0.9%2C0.9-2.2%2C1.5-3.5%2C1.5h-25h-25c-1.4%2C0-2.6-0.6-3.5-1.5L58.6%2C177.2z%22/%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23F7F5F2%22%20d%3D%22M55.1%2C176.7c2.2%2C0%2C4%2C1.8%2C4%2C4v30c0%2C2.2-1.8%2C4-4%2C4h-50c-2.2%2C0-4-1.8-4-4v-30c0-2.2%2C1.8-4%2C4-4H55.1%0D%0A%09%09%09%20M55.1%2C175.7h-50c-2.8%2C0-5%2C2.2-5%2C5v30c0%2C2.8%2C2.2%2C5%2C5%2C5h50c2.8%2C0%2C5-2.2%2C5-5v-30C60.1%2C178%2C57.9%2C175.7%2C55.1%2C175.7L55.1%2C175.7z%22/%3E%0D%0A%09%3C/g%3E%0D%0A%3C/g%3E%0D%0A%3C/svg%3E%0D%0A"); }
|
108
|
+
.card-image.cvv2 {
|
109
|
+
background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3C%21--%20Generator%3A%20Adobe%20Illustrator%2017.1.0%2C%20SVG%20Export%20Plug-In%20.%20SVG%20Version%3A%206.00%20Build%200%29%20%20--%3E%0D%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-//W3C//DTD%20SVG%201.1//EN%22%20%22http%3A//www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd%22%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%20308.7%2060%2040%22%20enable-background%3D%22new%200%20308.7%2060%2040%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cg%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cpath%20fill%3D%22%23CDCDCD%22%20d%3D%22M60%2C343.7c0%2C2.8-2.2%2C5-5%2C5H5c-2.8%2C0-5-2.2-5-5v-30c0-2.8%2C2.2-5%2C5-5h50c2.8%2C0%2C5%2C2.2%2C5%2C5V343.7z%22/%3E%0D%0A%09%3C/g%3E%0D%0A%09%3Crect%20x%3D%221.8%22%20y%3D%22315%22%20fill%3D%22%23424143%22%20width%3D%2258.2%22%20height%3D%228%22/%3E%0D%0A%09%3Crect%20x%3D%227.8%22%20y%3D%22327%22%20fill%3D%22%23FFFFFF%22%20width%3D%2236%22%20height%3D%228%22/%3E%0D%0A%09%3Crect%20x%3D%2210.8%22%20y%3D%22330%22%20fill%3D%22%23424143%22%20width%3D%2229%22%20height%3D%222%22/%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cg%3E%0D%0A%09%09%09%3Cpath%20fill%3D%22%23DFDEDD%22%20d%3D%22M55%2C309.7c2.2%2C0%2C4%2C1.8%2C4%2C4v30c0%2C2.2-1.8%2C4-4%2C4H5c-2.2%2C0-4-1.8-4-4v-30c0-2.2%2C1.8-4%2C4-4H55%20M55%2C308.7H5%0D%0A%09%09%09%09c-2.8%2C0-5%2C2.2-5%2C5v30c0%2C2.8%2C2.2%2C5%2C5%2C5h50c2.8%2C0%2C5-2.2%2C5-5v-30C60%2C311%2C57.8%2C308.7%2C55%2C308.7L55%2C308.7z%22/%3E%0D%0A%09%09%3C/g%3E%0D%0A%09%3C/g%3E%0D%0A%09%3Crect%20x%3D%2246.8%22%20y%3D%22327%22%20fill%3D%22%23FFFFFF%22%20width%3D%228%22%20height%3D%228%22/%3E%0D%0A%09%3Crect%20x%3D%2247.8%22%20y%3D%22330%22%20fill%3D%22%23424143%22%20width%3D%226%22%20height%3D%222%22/%3E%0D%0A%09%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%23E9564B%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20cx%3D%2250.2%22%20cy%3D%22330.9%22%20r%3D%227.8%22/%3E%0D%0A%3C/g%3E%0D%0A%3C/svg%3E%0D%0A");
|
110
|
+
-webkit-transform: rotateY(180deg);
|
111
|
+
-moz-transform: rotateY(180deg);
|
112
|
+
-ms-transform: rotateY(180deg);
|
113
|
+
-o-transform: rotateY(180deg);
|
114
|
+
transform: rotateY(180deg); }
|
115
|
+
|
116
|
+
.no-svg .card-image {
|
117
|
+
background-image: url("../images/cc-front.png"); }
|
118
|
+
.no-svg .card-image.visa {
|
119
|
+
background-image: url("../images/cc-visa.png"); }
|
120
|
+
.no-svg .card-image.mc {
|
121
|
+
background-image: url("../images/cc-mc.png"); }
|
122
|
+
.no-svg .card-image.amex {
|
123
|
+
background-image: url("../images/cc-amex.png"); }
|
124
|
+
.no-svg .card-image.disc {
|
125
|
+
background-image: url("../images/cc-disc.png"); }
|
126
|
+
.no-svg .card-image.cvv2 {
|
127
|
+
background-image: url("../images/cc-back.png"); }
|
128
|
+
|
129
|
+
.card-instruction {
|
130
|
+
font-size: 80%;
|
131
|
+
color: gray; }
|
132
|
+
.card-instruction.invalid {
|
133
|
+
color: #b94a48; }
|
134
|
+
.card-instruction.valid {
|
135
|
+
color: #089e00; }
|
136
|
+
|
137
|
+
.shake {
|
138
|
+
-webkit-animation-iteration-count: 1;
|
139
|
+
-moz-animation-iteration-count: 1;
|
140
|
+
-o-animation-iteration-count: 1;
|
141
|
+
animation-iteration-count: 1;
|
142
|
+
-webkit-animation-duration: .4s;
|
143
|
+
-moz-animation-duration: .4s;
|
144
|
+
-o-animation-duration: .4s;
|
145
|
+
animation-duration: .4s;
|
146
|
+
-webkit-animation-fill-mode: both;
|
147
|
+
-moz-animation-fill-mode: both;
|
148
|
+
-o-animation-fill-mode: both;
|
149
|
+
animation-fill-mode: both;
|
150
|
+
-webkit-animation-name: shake;
|
151
|
+
-moz-animation-name: shake;
|
152
|
+
-o-animation-name: shake;
|
153
|
+
animation-name: shake; }
|
154
|
+
|
155
|
+
/* ======================================
|
156
|
+
* ANIMATIONS
|
157
|
+
* ======================================
|
158
|
+
*/
|
159
|
+
@-webkit-keyframes shake {
|
160
|
+
0%, 100% {
|
161
|
+
-webkit-transform: translateX(0); }
|
162
|
+
|
163
|
+
30%, 60% {
|
164
|
+
-webkit-transform: translateX(-10px); }
|
165
|
+
|
166
|
+
40%, 80% {
|
167
|
+
-webkit-transform: translateX(10px); } }
|
168
|
+
@-webkit-keyframes slide {
|
169
|
+
0%, 10% {
|
170
|
+
text-indent: 0;
|
171
|
+
width: 186px;
|
172
|
+
-webkit-transform: translateX(-10%); }
|
173
|
+
|
174
|
+
10%, 20% {
|
175
|
+
text-indent: -15px;
|
176
|
+
width: 176px;
|
177
|
+
-webkit-transform: translateX(-10%); }
|
178
|
+
|
179
|
+
20%, 30% {
|
180
|
+
text-indent: -30px;
|
181
|
+
width: 156px;
|
182
|
+
-webkit-transform: translateX(-10%); }
|
183
|
+
|
184
|
+
30%, 40% {
|
185
|
+
text-indent: -45px;
|
186
|
+
width: 136px;
|
187
|
+
-webkit-transform: translateX(-10%); }
|
188
|
+
|
189
|
+
40%, 50% {
|
190
|
+
text-indent: -60px;
|
191
|
+
width: 116px;
|
192
|
+
-webkit-transform: translateX(-10%); }
|
193
|
+
|
194
|
+
50%, 60% {
|
195
|
+
text-indent: -75px;
|
196
|
+
width: 96px;
|
197
|
+
-webkit-transform: translateX(-15%); }
|
198
|
+
|
199
|
+
60%, 70% {
|
200
|
+
text-indent: -90px;
|
201
|
+
width: 76px;
|
202
|
+
-webkit-transform: translateX(-15%); }
|
203
|
+
|
204
|
+
70%, 80% {
|
205
|
+
text-indent: -105px;
|
206
|
+
width: 66px;
|
207
|
+
-webkit-transform: translateX(-10%); }
|
208
|
+
|
209
|
+
80%, 90% {
|
210
|
+
text-indent: -110px;
|
211
|
+
width: 56px;
|
212
|
+
-webkit-transform: translateX(-5%); }
|
213
|
+
|
214
|
+
90%, 100% {
|
215
|
+
text-indent: -120px;
|
216
|
+
width: 46px;
|
217
|
+
-webkit-transform: translateX(0); } }
|
218
|
+
@-moz-keyframes slide {
|
219
|
+
0%, 10% {
|
220
|
+
text-indent: 0;
|
221
|
+
width: 186px;
|
222
|
+
-moz-transform: translateX(-10%); }
|
223
|
+
|
224
|
+
10%, 20% {
|
225
|
+
text-indent: -15px;
|
226
|
+
width: 176px;
|
227
|
+
-moz-transform: translateX(-10%); }
|
228
|
+
|
229
|
+
20%, 30% {
|
230
|
+
text-indent: -30px;
|
231
|
+
width: 156px;
|
232
|
+
-moz-transform: translateX(-10%); }
|
233
|
+
|
234
|
+
30%, 40% {
|
235
|
+
text-indent: -45px;
|
236
|
+
width: 136px;
|
237
|
+
-moz-transform: translateX(-10%); }
|
238
|
+
|
239
|
+
40%, 50% {
|
240
|
+
text-indent: -60px;
|
241
|
+
width: 116px;
|
242
|
+
-moz-transform: translateX(-10%); }
|
243
|
+
|
244
|
+
50%, 60% {
|
245
|
+
text-indent: -75px;
|
246
|
+
width: 96px;
|
247
|
+
-moz-transform: translateX(-15%); }
|
248
|
+
|
249
|
+
60%, 70% {
|
250
|
+
text-indent: -90px;
|
251
|
+
width: 76px;
|
252
|
+
-moz-transform: translateX(-15%); }
|
253
|
+
|
254
|
+
70%, 80% {
|
255
|
+
text-indent: -105px;
|
256
|
+
width: 66px;
|
257
|
+
-moz-transform: translateX(-10%); }
|
258
|
+
|
259
|
+
80%, 90% {
|
260
|
+
text-indent: -110px;
|
261
|
+
width: 56px;
|
262
|
+
-moz-transform: translateX(-5%); }
|
263
|
+
|
264
|
+
90%, 100% {
|
265
|
+
text-indent: -120px;
|
266
|
+
width: 46px;
|
267
|
+
-moz-transform: translateX(0); } }
|
268
|
+
@-o-keyframes slide {
|
269
|
+
0%, 10% {
|
270
|
+
text-indent: 0;
|
271
|
+
width: 186px;
|
272
|
+
-o-transform: translateX(-10%); }
|
273
|
+
|
274
|
+
10%, 20% {
|
275
|
+
text-indent: -15px;
|
276
|
+
width: 176px;
|
277
|
+
-o-transform: translateX(-10%); }
|
278
|
+
|
279
|
+
20%, 30% {
|
280
|
+
text-indent: -30px;
|
281
|
+
width: 156px;
|
282
|
+
-o-transform: translateX(-10%); }
|
283
|
+
|
284
|
+
30%, 40% {
|
285
|
+
text-indent: -45px;
|
286
|
+
width: 136px;
|
287
|
+
-o-transform: translateX(-10%); }
|
288
|
+
|
289
|
+
40%, 50% {
|
290
|
+
text-indent: -60px;
|
291
|
+
width: 116px;
|
292
|
+
-o-transform: translateX(-10%); }
|
293
|
+
|
294
|
+
50%, 60% {
|
295
|
+
text-indent: -75px;
|
296
|
+
width: 96px;
|
297
|
+
-o-transform: translateX(-15%); }
|
298
|
+
|
299
|
+
60%, 70% {
|
300
|
+
text-indent: -90px;
|
301
|
+
width: 76px;
|
302
|
+
-o-transform: translateX(-15%); }
|
303
|
+
|
304
|
+
70%, 80% {
|
305
|
+
text-indent: -105px;
|
306
|
+
width: 66px;
|
307
|
+
-o-transform: translateX(-10%); }
|
308
|
+
|
309
|
+
80%, 90% {
|
310
|
+
text-indent: -110px;
|
311
|
+
width: 56px;
|
312
|
+
-o-transform: translateX(-5%); }
|
313
|
+
|
314
|
+
90%, 100% {
|
315
|
+
text-indent: -120px;
|
316
|
+
width: 46px;
|
317
|
+
-o-transform: translateX(0); } }
|
318
|
+
@keyframes slide {
|
319
|
+
0%, 10% {
|
320
|
+
text-indent: 0;
|
321
|
+
width: 186px;
|
322
|
+
transform: translateX(-10%); }
|
323
|
+
|
324
|
+
10%, 20% {
|
325
|
+
text-indent: -15px;
|
326
|
+
width: 176px;
|
327
|
+
transform: translateX(-10%); }
|
328
|
+
|
329
|
+
20%, 30% {
|
330
|
+
text-indent: -30px;
|
331
|
+
width: 156px;
|
332
|
+
transform: translateX(-10%); }
|
333
|
+
|
334
|
+
30%, 40% {
|
335
|
+
text-indent: -45px;
|
336
|
+
width: 136px;
|
337
|
+
transform: translateX(-10%); }
|
338
|
+
|
339
|
+
40%, 50% {
|
340
|
+
text-indent: -60px;
|
341
|
+
width: 116px;
|
342
|
+
transform: translateX(-10%); }
|
343
|
+
|
344
|
+
50%, 60% {
|
345
|
+
text-indent: -75px;
|
346
|
+
width: 96px;
|
347
|
+
transform: translateX(-15%); }
|
348
|
+
|
349
|
+
60%, 70% {
|
350
|
+
text-indent: -90px;
|
351
|
+
width: 76px;
|
352
|
+
transform: translateX(-15%); }
|
353
|
+
|
354
|
+
70%, 80% {
|
355
|
+
text-indent: -105px;
|
356
|
+
width: 66px;
|
357
|
+
transform: translateX(-10%); }
|
358
|
+
|
359
|
+
80%, 90% {
|
360
|
+
text-indent: -110px;
|
361
|
+
width: 56px;
|
362
|
+
transform: translateX(-5%); }
|
363
|
+
|
364
|
+
90%, 100% {
|
365
|
+
text-indent: -120px;
|
366
|
+
width: 46px;
|
367
|
+
transform: translateX(0); } }
|
368
|
+
@-moz-keyframes shake {
|
369
|
+
0%, 100% {
|
370
|
+
-moz-transform: translateX(0); }
|
371
|
+
|
372
|
+
30%, 60% {
|
373
|
+
-moz-transform: translateX(-10px); }
|
374
|
+
|
375
|
+
40%, 80% {
|
376
|
+
-moz-transform: translateX(10px); } }
|
377
|
+
@-o-keyframes shake {
|
378
|
+
0%, 100% {
|
379
|
+
-o-transform: translateX(0); }
|
380
|
+
|
381
|
+
30%, 60% {
|
382
|
+
-o-transform: translateX(-10px); }
|
383
|
+
|
384
|
+
40%, 80% {
|
385
|
+
-o-transform: translateX(10px); } }
|
386
|
+
@keyframes shake {
|
387
|
+
0%, 100% {
|
388
|
+
transform: translateX(0); }
|
389
|
+
|
390
|
+
30%, 60% {
|
391
|
+
transform: translateX(-10px); }
|
392
|
+
|
393
|
+
40%, 80% {
|
394
|
+
transform: translateX(10px); } }
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'payment_info_rails/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "payment_info_rails"
|
8
|
+
spec.version = PaymentInfoRails::VERSION
|
9
|
+
spec.authors = ["Nora Alvarado"]
|
10
|
+
spec.email = ["noragmora@gmail.com"]
|
11
|
+
spec.summary = "Integrates the payment info plugin to your Rails app"
|
12
|
+
spec.description = "Payment Info Plugin allows you to add all credit card information in a single input"
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
end
|
metadata
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: payment_info_rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nora Alvarado
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-02-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description: Payment Info Plugin allows you to add all credit card information in
|
42
|
+
a single input
|
43
|
+
email:
|
44
|
+
- noragmora@gmail.com
|
45
|
+
executables: []
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files: []
|
48
|
+
files:
|
49
|
+
- ".gitignore"
|
50
|
+
- Gemfile
|
51
|
+
- LICENSE.txt
|
52
|
+
- README.md
|
53
|
+
- Rakefile
|
54
|
+
- app/assets/javascripts/jquery.mask.js
|
55
|
+
- app/assets/javascripts/modernizr.js
|
56
|
+
- app/assets/javascripts/payment_info.js
|
57
|
+
- app/assets/javascripts/payment_info_initializer.js
|
58
|
+
- app/assets/javascripts/payment_info_main.js
|
59
|
+
- app/assets/stylesheets/normalize.css
|
60
|
+
- app/assets/stylesheets/payment_info.css
|
61
|
+
- app/assets/stylesheets/payment_info_main.css
|
62
|
+
- lib/payment_info_rails.rb
|
63
|
+
- lib/payment_info_rails/engine.rb
|
64
|
+
- lib/payment_info_rails/version.rb
|
65
|
+
- payment_info_rails.gemspec
|
66
|
+
homepage: ''
|
67
|
+
licenses:
|
68
|
+
- MIT
|
69
|
+
metadata: {}
|
70
|
+
post_install_message:
|
71
|
+
rdoc_options: []
|
72
|
+
require_paths:
|
73
|
+
- lib
|
74
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
requirements: []
|
85
|
+
rubyforge_project:
|
86
|
+
rubygems_version: 2.2.2
|
87
|
+
signing_key:
|
88
|
+
specification_version: 4
|
89
|
+
summary: Integrates the payment info plugin to your Rails app
|
90
|
+
test_files: []
|