solidus_six_saferpay 0.1.3 → 0.1.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
  SHA256:
3
- metadata.gz: e86c32327a8f67739e8ba8e7c730d3b6de5e1896dc353440cafb9356f093a57a
4
- data.tar.gz: a0365e0a210eeb52b898c8e1fd878038b1633cce081c11921cf1f4417662c512
3
+ metadata.gz: 0e614d70995bc52244e78d8ca3a507ae6ce2c7d1586fbf700a53a8dae21ec4ed
4
+ data.tar.gz: 7773910d3365a9fbdb4a8417665c4644108d6e14092407c37fa969fafe81ac67
5
5
  SHA512:
6
- metadata.gz: 6487e39cbb59d59427219ef90dc0f86ff13ae06ecf8b4396a9ae390440b0dd6e45eeb9b65a486a7015d2003a0ac3ba94a99aa1995401d788969e19d653df262e
7
- data.tar.gz: 28261518e153591d9867f69de92d68e24e7e211c6e259881f21d38a26dd55f60e2faa777d98a12c1c4423094852c390423b66df2d6b3e3da2a654ef8021cbee6
6
+ metadata.gz: a69288a7dab1de94b63ef5cdae00116324b51e7f7268e7ba56fa3501d330806e650488e6316659e18772f863b6e8659bd5f5de67503370f0f554fd8cbe2faf77
7
+ data.tar.gz: be3f1b4e298fb03f64be5b88474fa9ce263b86cdcb09533a053b41c1d4d9483dcdcfe35a0e80dc421bbc0326fbdcbc0b7c242914015371cae07c0f876d8a6e81
@@ -1,30 +1,3 @@
1
1
  .saferpay-iframe {
2
2
  width: 100%;
3
3
  }
4
-
5
- .loading-animation {
6
- text-align: center;
7
- background-color: #222222;
8
-
9
- -webkit-animation: sk-scaleout 0.5s infinite ease-in-out;
10
- animation: sk-scaleout 0.5s infinite ease-in-out;
11
- }
12
-
13
- @-webkit-keyframes sk-scaleout {
14
- 0% { -webkit-transform: scale(0) }
15
- 100% {
16
- -webkit-transform: scale(0.2);
17
- opacity: 0;
18
- }
19
- }
20
-
21
- @keyframes sk-scaleout {
22
- 0% {
23
- -webkit-transform: scale(0);
24
- transform: scale(0);
25
- } 100% {
26
- -webkit-transform: scale(0.2);
27
- transform: scale(0.2);
28
- opacity: 0;
29
- }
30
- }
@@ -4,5 +4,8 @@
4
4
  text-decoration: line-through;
5
5
  }
6
6
  }
7
- }
8
7
 
8
+ .cc-img {
9
+ max-height: 25px;
10
+ }
11
+ }
@@ -1,6 +1,6 @@
1
1
  <% payment_container_id = "saferpay-payment-container-#{payment_method.id}" %>
2
2
  <% if payment_method.preferred_as_iframe %>
3
- <iframe class="loading-animation saferpay-iframe" width='100%' height='550px' id="<%= payment_container_id %>" src="" frameborder="0">
3
+ <iframe class="saferpay-iframe" width='100%' height='550px' id="<%= payment_container_id %>" src="" frameborder="0">
4
4
  </iframe>
5
5
  <script charset="utf-8">
6
6
  SaferpayPayment.registerIframePaymentMethod({id: "<%= payment_method.id %>", initUrl: "<%= payment_method.init_path %>", containerId: "#<%= payment_container_id %>"})
@@ -2,8 +2,8 @@
2
2
  <% container_class = "saferpay-payment #{payment.state}" %>
3
3
  <div class="<%= container_class %>">
4
4
  <div class="credit-card">
5
- <span><%= image_tag "solidus_six_saferpay/credit_cards/icons/#{saferpay_payment.icon_name}.png" %></span>
6
- <span><%= saferpay_payment.display_text %></span>
5
+ <div class="cc-image-container"><%= image_tag "solidus_six_saferpay/credit_cards/icons/#{saferpay_payment.icon_name}.png", class: "cc-img" %></div>
6
+ <div class="cc-number"><%= saferpay_payment.display_text %></div>
7
7
  </div>
8
8
  <div>
9
9
  <div class="amount">
@@ -1,3 +1,3 @@
1
1
  module SolidusSixSaferpay
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_six_saferpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Kiener