swedbank-pay-design-guide-jekyll-theme 1.13.1 → 1.14.0

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: 34b5d351a7370a3ab66bd78154707bf2ddf6c0d16fdf65d6dfb78cdaab4ba68d
4
- data.tar.gz: cc283efead0a05492912bf80b6d7b3d94aba7ae7490d67d0b70b3053a1ea8385
3
+ metadata.gz: 649cb60bc3f38d084fda664cd1d82cdd38625305486e6b03dbc021f43c3ab274
4
+ data.tar.gz: 26ff172795b16213c44b25fe45afab72bc33f21cf2db2e34a796576fc552c65b
5
5
  SHA512:
6
- metadata.gz: 9eeab09a13c6997781dc45fc9ac82714a0061f180df749c216b3f682b8a023cb3fc246918d2ed53c89760b8959cd6b9cf4fa2c386eae85018e4a605feee3235c
7
- data.tar.gz: 827d1f75b7306334a5c062eceed4c4b8902333e24af72e0e64ac06206c9bd70c7b744eec055ed36650f8cfb298be5b0f35ab634eb676f6eaf39c7d8f381f8fb0
6
+ metadata.gz: 7dee2674322a40944ae277be8fa492c67ea642b6ba7a54b1a7b8509e68f1adaa82779f38667094e660fd3416f1829a6985f256f6a019a9cd6503fcddf9f47b56
7
+ data.tar.gz: 10ba3114b47ba95afbfe34e612af4d70296bcf41a3e6c5afb42c0eba664920314dea85f6b29f8f54afbed3d1ee92f64d9765ddc15003b11ed5f10adf96f458e6
data/_includes/tabs.html CHANGED
@@ -1,18 +1,35 @@
1
-
2
-
3
-
4
-
5
- <div id="tabs-showcase-example" class="tabs">
1
+ <div class="tabs" id="tabs-showcase-example">
6
2
  <ul>
7
- <li class="active">
8
- <a href="#">Selected</a>
3
+ <li class="full-checkout">
4
+ <a id="full-checkout">Full Checkout</a>
9
5
  </li>
10
- <li>
11
- <a href="#">Unselected</a>
12
- </li>
13
- <li>
14
- <a href="#">Unselected</a>
6
+ <li class="payments-only">
7
+ <a id="payments-only">Payments Only</a>
15
8
  </li>
16
9
  </ul>
17
10
  </div>
18
- <p>Content of the selected tabs</p>
11
+
12
+ <section>
13
+ <div id="tab1">
14
+ {{ include.full_checkout | markdownify}}
15
+ </div>
16
+ <div id="tab2" class="d-none">
17
+ {{ include.payments_only | markdownify}}
18
+ </div>
19
+ </section>
20
+
21
+ <script>
22
+ $( "#full-checkout" ).click(function() {
23
+ $( "#tab2" ).addClass( "d-none" )
24
+ $( "#tab1" ).removeClass( "d-none" )
25
+ $( ".full-checkout" ).addClass( "active" )
26
+ $( ".payments-only" ).removeClass( "active" )
27
+
28
+ });
29
+ $( "#payments-only" ).click(function() {
30
+ $( "#tab2" ).removeClass( "d-none" )
31
+ $( "#tab1" ).addClass( "d-none" )
32
+ $( ".full-checkout" ).removeClass( "active" )
33
+ $( ".payments-only" ).addClass( "active" )
34
+ });
35
+ </script>
@@ -58,27 +58,7 @@ layout: default
58
58
  {% endif %}
59
59
 
60
60
  <div class="front-page-container">
61
- {% include card-extended.html
62
- title='Get to know Checkout v3'
63
- no_icon=true
64
- button_content='Get started'
65
- text='All businesses have their own unique needs. Which is why we have made it possible for you to adapt to a variety of those needs, using only one integration. To help you get started we have made five implementation options to choose among. In that way you can utilize your checkin in just a few configurations, or switch into any other of our stand alone payment methods - if that suits you better. Intrigued yet? Let’s find out more!'
66
- button_type='primary'
67
- button_alignment='align-self-end'
68
- %}
69
-
70
-
71
- {% include card-extended.html
72
- title='Want to try it yourself?'
73
- no_icon=true
74
- button_content='Visit our Demoshop'
75
- text='Experience what it would be like to pay as a costumer of yours in our demoshop.'
76
- button_type='primary'
77
- button_alignment='align-self-start'
78
- card_container=true
79
- container_content='![demoshop](/assets/img/demoshop-image.svg)'
80
- to='https://ecom.externalintegration.payex.com/pspdemoshop'
81
- %}
61
+ {% contentblock intro_cards%}
82
62
 
83
63
  <div class="front-page-cards-sdk">
84
64
  {% contentblock sdks %}
data/_sass/card.scss CHANGED
@@ -3,15 +3,34 @@
3
3
  .cards {
4
4
  .table {
5
5
  &.table-plain {
6
+ thead {
7
+ tr {
8
+ th:first-child {
9
+ padding-left: 0;
10
+ }
11
+
12
+ th:not(:first-child) {
13
+ text-align: center;
14
+ }
15
+ }
16
+ }
6
17
  tbody {
7
18
  tr {
19
+ background-color: transparent;
8
20
  td {
9
- justify-content: center;
21
+ text-align: center;
10
22
  border: none;
11
23
  }
12
24
 
13
25
  th {
26
+ padding-left: 0;
27
+ display: flex;
28
+ align-items: end;
14
29
  border: none;
30
+
31
+ i {
32
+ margin-right: 0.5rem;
33
+ }
15
34
  }
16
35
  }
17
36
  }
data/lib/gem_version.rb CHANGED
@@ -4,7 +4,7 @@ module Gem
4
4
  # Gem Specification
5
5
  class Specification
6
6
  def self.gem_version
7
- '1.13.1'
7
+ '1.14.0'
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swedbank-pay-design-guide-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.1
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-13 00:00:00.000000000 Z
11
+ date: 2021-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday