swedbank-pay-design-guide-jekyll-theme 1.14.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/alert.html +1 -1
- data/_includes/card-extended.html +8 -2
- data/_includes/tabs.html +12 -2
- data/_layouts/front-page.html +9 -4
- data/_sass/card.scss +24 -0
- data/_sass/front-page.scss +24 -10
- data/_sass/heading.scss +6 -0
- data/_sass/swedbank-pay-design-guide-theme.scss +7 -2
- data/_sass/tabs.scss +11 -0
- data/_sass/title-header.scss +11 -1
- data/lib/gem_version.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7cb0c7f262f986b0b6e0465c09eb4838227d6ecc64e1d9103462f496292b8a1
|
4
|
+
data.tar.gz: d43e5f38baadce7c34bf574c99cc934ccc02259ebd90633fdc382b086f2c8abf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d2e62e06dea189130d560cf2ef7b7bbdc3aea9b2b3ff5c1e9f3c493b7e7372f9ff0e6ffc7a165cc44580e14ad673c252c04426ba718dd7fe896eab66bfe0eda
|
7
|
+
data.tar.gz: d1711c10253f51471baec2fceeacf9c256d0aa9ff7cef78ca17057e28129cb99c3322063bb4ca38eaf45c456d9326a92b9d188bbbf3381d2766deb9e4c3cf744
|
data/_includes/alert.html
CHANGED
@@ -11,7 +11,7 @@ to(required): Url to the page to be directed to on click
|
|
11
11
|
type: sdk | module - Empty type result in default card styling
|
12
12
|
{%- endcomment -%}
|
13
13
|
|
14
|
-
{% assign title_type = include.title_type | default: '
|
14
|
+
{% assign title_type = include.title_type | default: 'h2', %}
|
15
15
|
{% assign icon_content = include.icon_content %}
|
16
16
|
{% assign icon_outlined = include.icon_outlined | default: false %}
|
17
17
|
{% assign icon_svg = include.icon_svg | default: false %}
|
@@ -19,6 +19,8 @@ type: sdk | module - Empty type result in default card styling
|
|
19
19
|
{% assign text = include.text %}
|
20
20
|
{% assign to = include.to %}
|
21
21
|
{% assign disabled = include.disabled %}
|
22
|
+
{% assign margin_right = include.margin_right | default false %}
|
23
|
+
|
22
24
|
|
23
25
|
{% unless icon_svg %}
|
24
26
|
{% if icon_content contains '/' or icon_content contains '.svg' %}
|
@@ -45,7 +47,11 @@ type: sdk | module - Empty type result in default card styling
|
|
45
47
|
{% endif %}
|
46
48
|
<span class="cards-content">
|
47
49
|
<span class="{{ title_type }}">{{ include.title }}</span>
|
48
|
-
|
50
|
+
{% if margin_right %}
|
51
|
+
<span class="text-box">{{ text | markdownify }}</span>
|
52
|
+
{% else %}
|
53
|
+
<span>{{ text | markdownify }}</span>
|
54
|
+
{% endif %}
|
49
55
|
<table class="table table-plain">
|
50
56
|
<thead>
|
51
57
|
<tr>
|
data/_includes/tabs.html
CHANGED
@@ -11,10 +11,20 @@
|
|
11
11
|
|
12
12
|
<section>
|
13
13
|
<div id="tab1">
|
14
|
-
|
14
|
+
<div class="tab-intro">
|
15
|
+
{{ include.tab1_intro | markdownify}}
|
16
|
+
</div>
|
17
|
+
<div class="tab1-content">
|
18
|
+
{{ include.tab1_content | markdownify}}
|
19
|
+
</div>
|
15
20
|
</div>
|
16
21
|
<div id="tab2" class="d-none">
|
17
|
-
|
22
|
+
<div class="tab-intro">
|
23
|
+
{{ include.tab2_intro | markdownify}}
|
24
|
+
</div>
|
25
|
+
<div>
|
26
|
+
{{ include.tab2_content | markdownify}}
|
27
|
+
</div>
|
18
28
|
</div>
|
19
29
|
</section>
|
20
30
|
|
data/_layouts/front-page.html
CHANGED
@@ -7,18 +7,23 @@ layout: default
|
|
7
7
|
{% assign front_page_hero1 = page.front_page.hero1 | default: "Welcome to the" %}
|
8
8
|
{% assign front_page_hero2 = page.front_page.hero2 | default: "Swedbank Pay" %}
|
9
9
|
{% assign front_page_ingress = page.front_page.ingress | default: "Our developer portal gives you the full tool box for integrating our payment instruments and getting started with easy, flexible and safe payments on your e-commerce website." %}
|
10
|
-
{% assign front_page_start_heading = page.front_page.start_heading | default: "
|
10
|
+
{% assign front_page_start_heading = page.front_page.start_heading | default: "Let's get you started with easy, flexible and safe payments on you e-commerce website!" %}
|
11
11
|
|
12
12
|
<div class="front-page">
|
13
13
|
<div class="front-page-top">
|
14
14
|
<div class="front-page-hero">
|
15
|
-
<h3>{{ front_page_hero1 }}
|
16
|
-
|
15
|
+
<h3>{{ front_page_hero1 }}
|
16
|
+
<span class="d-block">
|
17
|
+
<span class="front-page-hero-jumbo">{{ front_page_hero2 }}</span>
|
18
|
+
<span class="front-page-hero-name"> {</span>
|
19
|
+
<span class="front-page-hero-lean">{{ front_page_title }}</span>
|
20
|
+
<span class="front-page-hero-name">}</span>
|
21
|
+
</span>
|
17
22
|
</h3>
|
18
23
|
<p>{{ front_page_ingress }}</p>
|
19
24
|
</div>
|
20
25
|
<div class="front-page-intro-cards">
|
21
|
-
<h2 id="front-page-start" class="heading-line">{{ front_page_start_heading }}</h2>
|
26
|
+
<h2 id="front-page-start" class="heading-line heading-line-indent">{{ front_page_start_heading }}</h2>
|
22
27
|
{% contentblock start %}
|
23
28
|
</div>
|
24
29
|
|
data/_sass/card.scss
CHANGED
@@ -1,7 +1,19 @@
|
|
1
1
|
@import 'colors.scss';
|
2
2
|
|
3
3
|
.cards {
|
4
|
+
.text-box {
|
5
|
+
margin-right: 4.875rem;
|
6
|
+
}
|
7
|
+
|
8
|
+
&.cards-wide {
|
9
|
+
margin-top: 4rem;
|
10
|
+
|
11
|
+
.btn {
|
12
|
+
margin-bottom: 2rem;
|
13
|
+
}
|
14
|
+
}
|
4
15
|
.table {
|
16
|
+
|
5
17
|
&.table-plain {
|
6
18
|
thead {
|
7
19
|
tr {
|
@@ -11,6 +23,17 @@
|
|
11
23
|
|
12
24
|
th:not(:first-child) {
|
13
25
|
text-align: center;
|
26
|
+
|
27
|
+
.badge {
|
28
|
+
&.badge-default {
|
29
|
+
background-color: #fbdd91;
|
30
|
+
}
|
31
|
+
|
32
|
+
&.badge-inactive {
|
33
|
+
background-color: #d4c4bc;
|
34
|
+
color: $brown;
|
35
|
+
}
|
36
|
+
}
|
14
37
|
}
|
15
38
|
}
|
16
39
|
}
|
@@ -245,3 +268,4 @@
|
|
245
268
|
display: flex;
|
246
269
|
}
|
247
270
|
}
|
271
|
+
|
data/_sass/front-page.scss
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
@import 'breakpoints.scss';
|
4
4
|
|
5
5
|
$front-page-padding: 0 4rem;
|
6
|
-
$front-page-max-width:
|
6
|
+
$front-page-max-width: $breakpoint-lg;
|
7
7
|
|
8
8
|
@mixin row-cards {
|
9
9
|
>[class*='col-'] {
|
@@ -58,24 +58,26 @@ $front-page-max-width: 1312px;
|
|
58
58
|
|
59
59
|
.front-page-top {
|
60
60
|
position: relative;
|
61
|
-
|
62
|
-
width:
|
63
|
-
max-width: 1432px;
|
61
|
+
margin: 0 4rem;
|
62
|
+
max-width: $front-page-max-width;
|
64
63
|
background-color: none;
|
65
64
|
z-index: 0;
|
66
65
|
border-radius: 1rem;
|
67
66
|
|
68
67
|
.front-page-hero {
|
69
68
|
position: relative;
|
70
|
-
|
71
|
-
margin-bottom: 3rem;
|
69
|
+
margin-bottom: 1.5rem;
|
72
70
|
z-index: 1;
|
71
|
+
padding: 1.5rem;
|
73
72
|
|
74
73
|
h3 {
|
75
|
-
color: $
|
74
|
+
color: $brown;
|
76
75
|
font-family: $headline;
|
77
76
|
margin-bottom: 2rem;
|
78
77
|
font-size: 2.5rem;
|
78
|
+
line-height: 3.5rem;
|
79
|
+
|
80
|
+
|
79
81
|
}
|
80
82
|
|
81
83
|
p {
|
@@ -90,7 +92,7 @@ $front-page-max-width: 1312px;
|
|
90
92
|
.front-page-hero-name {
|
91
93
|
font-family: $mono;
|
92
94
|
font-weight: bold;
|
93
|
-
font-size:
|
95
|
+
font-size: 2.5rem;
|
94
96
|
color: $yellow;
|
95
97
|
margin-bottom: 1rem;
|
96
98
|
|
@@ -100,11 +102,24 @@ $front-page-max-width: 1312px;
|
|
100
102
|
}
|
101
103
|
}
|
102
104
|
|
105
|
+
.front-page-hero-jumbo {
|
106
|
+
color: $brown;
|
107
|
+
font-family: $headline;
|
108
|
+
margin-bottom: 2rem;
|
109
|
+
font-size: 3.5rem;
|
110
|
+
}
|
111
|
+
|
112
|
+
.front-page-hero-lean {
|
113
|
+
font-family: $mono;
|
114
|
+
}
|
115
|
+
|
116
|
+
|
103
117
|
}
|
104
118
|
|
105
119
|
.front-page-intro-cards {
|
106
120
|
h2 {
|
107
121
|
color: $black;
|
122
|
+
padding: 1.5rem;
|
108
123
|
|
109
124
|
.header-anchor {
|
110
125
|
display: none;
|
@@ -117,13 +132,12 @@ $front-page-max-width: 1312px;
|
|
117
132
|
}
|
118
133
|
|
119
134
|
@media screen and (min-width: $breakpoint-xxl) {
|
120
|
-
margin-bottom:
|
135
|
+
margin-bottom: 8rem;
|
121
136
|
|
122
137
|
.front-page-intro-cards {
|
123
138
|
position: absolute;
|
124
139
|
left: 0;
|
125
140
|
width: 100%;
|
126
|
-
padding: 0 4rem;
|
127
141
|
}
|
128
142
|
}
|
129
143
|
}
|
data/_sass/heading.scss
CHANGED
@@ -11,6 +11,7 @@
|
|
11
11
|
@import 'paragraph-highlight.scss';
|
12
12
|
@import 'sidebar.scss';
|
13
13
|
@import 'title-header.scss';
|
14
|
+
@import 'tabs.scss';
|
14
15
|
|
15
16
|
$bg: #f5f2f0;
|
16
17
|
$darkened-bg: darken($bg, 10%);
|
@@ -93,7 +94,7 @@ body {
|
|
93
94
|
}
|
94
95
|
|
95
96
|
.iterator {
|
96
|
-
margin:
|
97
|
+
margin: 2rem 0;
|
97
98
|
}
|
98
99
|
|
99
100
|
.iterator a.btn {
|
@@ -133,6 +134,10 @@ body {
|
|
133
134
|
|
134
135
|
.doc-container {
|
135
136
|
max-width: 100%;
|
137
|
+
|
138
|
+
h2 {
|
139
|
+
font-size: 1.75rem
|
140
|
+
}
|
136
141
|
}
|
137
142
|
code[data-processed='true'].language-mermaid {
|
138
143
|
background: none;
|
@@ -192,7 +197,7 @@ body {
|
|
192
197
|
}
|
193
198
|
|
194
199
|
.normal-padding {
|
195
|
-
padding:
|
200
|
+
padding: 1rem 1rem 5rem;
|
196
201
|
}
|
197
202
|
|
198
203
|
.max-width {
|
data/_sass/tabs.scss
ADDED
data/_sass/title-header.scss
CHANGED
@@ -52,15 +52,25 @@
|
|
52
52
|
.title-header-container {
|
53
53
|
width: 100%;
|
54
54
|
padding: 3rem 1rem;
|
55
|
+
padding-bottom: 0;
|
55
56
|
|
56
57
|
h1,
|
57
58
|
h4,
|
58
59
|
p {
|
59
|
-
color: $
|
60
|
+
color: $brown;
|
61
|
+
|
62
|
+
strong {
|
63
|
+
font-size: 1.25rem;
|
64
|
+
}
|
60
65
|
}
|
61
66
|
|
62
67
|
h1 {
|
63
68
|
margin-top: 0;
|
69
|
+
color: $brown;
|
70
|
+
}
|
71
|
+
|
72
|
+
h4 {
|
73
|
+
margin-bottom: 1rem;
|
64
74
|
}
|
65
75
|
|
66
76
|
p {
|
data/lib/gem_version.rb
CHANGED
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
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.
|
4
|
+
version: 1.15.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:
|
11
|
+
date: 2022-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 1.0.1
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '1'
|
30
27
|
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: 1.0.1
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: html-proofer
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -290,6 +290,7 @@ files:
|
|
290
290
|
- _sass/paragraph-highlight.scss
|
291
291
|
- _sass/sidebar.scss
|
292
292
|
- _sass/swedbank-pay-design-guide-theme.scss
|
293
|
+
- _sass/tabs.scss
|
293
294
|
- _sass/title-header.scss
|
294
295
|
- _sass/variables.scss
|
295
296
|
- assets/css/pygments-autumn.css
|