swedbank-pay-design-guide-jekyll-theme 1.5.1.pre.article.pre.no.pre.main0001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +201 -0
- data/README.md +103 -0
- data/_assets/css/pygments-autumn.css +66 -0
- data/_assets/scss/card.scss +170 -0
- data/_assets/scss/code-view.scss +13 -0
- data/_assets/scss/colors.scss +19 -0
- data/_assets/scss/fonts.scss +2 -0
- data/_assets/scss/front-page.scss +312 -0
- data/_assets/scss/heading.scss +79 -0
- data/_assets/scss/paragraph-highlight.scss +8 -0
- data/_assets/scss/sidebar.scss +72 -0
- data/_assets/scss/swedbank-pay-design-guide-theme.scss +290 -0
- data/_assets/scss/title-header.scss +39 -0
- data/_assets/scss/variables.scss +1 -0
- data/_includes/alert.html +34 -0
- data/_includes/anchor_headings.html +100 -0
- data/_includes/apple-mobile-headers.html +6 -0
- data/_includes/apple-touch-icon.html +4 -0
- data/_includes/apple-touch-icons.md +9 -0
- data/_includes/apple-touch-startup-image.html +23 -0
- data/_includes/apple-touch-startup-images.md +31 -0
- data/_includes/card-horizontal-list.html +33 -0
- data/_includes/card-list.html +28 -0
- data/_includes/card.html +73 -0
- data/_includes/front-page.html +255 -0
- data/_includes/google_analytics.html +9 -0
- data/_includes/img/merchants/logo-coop.svg +3 -0
- data/_includes/img/merchants/logo-elkjop.svg +23 -0
- data/_includes/img/merchants/logo-ica.svg +57 -0
- data/_includes/img/merchants/logo-schibsted.svg +30 -0
- data/_includes/img/merchants/logo-skanetrafiken.svg +5 -0
- data/_includes/img/merchants/logo-svenskaspel.svg +23 -0
- data/_includes/img/merchants/logo-synsam.svg +12 -0
- data/_includes/img/modules/logo-episerver.svg +15 -0
- data/_includes/img/modules/logo-magento2.svg +5 -0
- data/_includes/img/modules/logo-woocommerce.svg +16 -0
- data/_includes/img/sdks/logo-android.svg +3 -0
- data/_includes/img/sdks/logo-ios.svg +3 -0
- data/_includes/img/sdks/logo-net.svg +15 -0
- data/_includes/img/sdks/logo-nodejs.svg +3 -0
- data/_includes/img/sdks/logo-php.svg +5 -0
- data/_includes/img/sdks/logo-swift.svg +10 -0
- data/_includes/iterator.html +18 -0
- data/_includes/jumbotron.html +6 -0
- data/_includes/paragraph-highlight.html +7 -0
- data/_includes/release_notes.html +29 -0
- data/_includes/sidebar.html +116 -0
- data/_includes/toc.html +100 -0
- data/_layouts/default.html +145 -0
- data/_plugins/jekyll_asset_pipeline.rb +19 -0
- data/_plugins/sidebar.rb +211 -0
- data/assets/img/demoshop-mobile.svg +18 -0
- data/assets/img/demoshop-mobile2.svg +23 -0
- data/assets/img/demoshop-web.svg +31 -0
- data/assets/img/demoshop.svg +27 -0
- data/assets/img/external-url.svg +1 -0
- data/assets/js/mermaid.min.js +19 -0
- data/assets/js/swedbank-pay-design-guide-theme.js +136 -0
- data/assets/tipuesearch/search.png +0 -0
- data/assets/tipuesearch/tipuesearch.min.js +179 -0
- data/assets/tipuesearch/tipuesearch_content.js +83 -0
- data/assets/tipuesearch/tipuesearch_set.js +80 -0
- metadata +293 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
$yellow: #fdc129;
|
2
|
+
$light-turquoise: #ebf8f2;
|
3
|
+
$apricot: #fbf2ea;
|
4
|
+
$pink: #efb7b6;
|
5
|
+
$brand-info: #4572c0;
|
6
|
+
$brand-info-light: #e8eff9;
|
7
|
+
$brand-success: #51971b;
|
8
|
+
$brand-success-light: #f2f7eb;
|
9
|
+
$turquoise: #31a3ae;
|
10
|
+
$turquoise-link: #257886;
|
11
|
+
$brown: #512b2b;
|
12
|
+
$dark-brown: #493c3b;
|
13
|
+
$medium-brown: #72605e;
|
14
|
+
$white: #fff;
|
15
|
+
$card-pink: #c5569a;
|
16
|
+
$background-gray: #ebE7E2;
|
17
|
+
$background-front-page: #fefcfa;
|
18
|
+
$code-green: #9c6;
|
19
|
+
$black: #222;
|
@@ -0,0 +1,312 @@
|
|
1
|
+
@import 'colors.scss';
|
2
|
+
@import 'fonts.scss';
|
3
|
+
|
4
|
+
$front-page-padding: 0 4rem;
|
5
|
+
$front-page-max-width: 1280px;
|
6
|
+
|
7
|
+
@mixin row-cards {
|
8
|
+
>[class*='col-'] {
|
9
|
+
display: flex;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
@mixin front-page-cards ($color) {
|
14
|
+
margin-bottom: 4rem;
|
15
|
+
|
16
|
+
.row {
|
17
|
+
@include row-cards();
|
18
|
+
|
19
|
+
&>:first-child {
|
20
|
+
&:before {
|
21
|
+
content: "";
|
22
|
+
position: absolute;
|
23
|
+
bottom: 0;
|
24
|
+
left: -0.5rem;
|
25
|
+
width: 3.5rem;
|
26
|
+
height: 2.5rem;
|
27
|
+
background-color: $color;
|
28
|
+
background-image: radial-gradient($color 20%, $background-front-page 20%);
|
29
|
+
background-position: 0 0;
|
30
|
+
background-size: 0.45rem 0.5rem;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
&>:last-child {
|
35
|
+
&:before {
|
36
|
+
content: "";
|
37
|
+
position: absolute;
|
38
|
+
top: 1rem;
|
39
|
+
right: -0.25rem;
|
40
|
+
width: 3.5rem;
|
41
|
+
height: 2.5rem;
|
42
|
+
background-color: $color;
|
43
|
+
background-image: radial-gradient($color 20%, $background-front-page 20%);
|
44
|
+
background-position: 0 0;
|
45
|
+
background-size: 0.45rem 0.5rem;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
.front-page {
|
52
|
+
position: relative;
|
53
|
+
display: flex;
|
54
|
+
flex-direction: column;
|
55
|
+
align-items: center;
|
56
|
+
|
57
|
+
.front-page-container {
|
58
|
+
max-width: $front-page-max-width;
|
59
|
+
margin: $front-page-padding;
|
60
|
+
|
61
|
+
.front-page-top {
|
62
|
+
padding-top: 4rem;
|
63
|
+
width: 100%;
|
64
|
+
margin-bottom: 3rem;
|
65
|
+
|
66
|
+
&:before {
|
67
|
+
content: "";
|
68
|
+
display: block;
|
69
|
+
position: absolute;
|
70
|
+
top: 0;
|
71
|
+
left: 0;
|
72
|
+
background-color: $dark-brown;
|
73
|
+
width: 100%;
|
74
|
+
height: 34rem;
|
75
|
+
z-index: 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
.front-page-hero {
|
79
|
+
position: relative;
|
80
|
+
max-width: 35rem;
|
81
|
+
margin-bottom: 3.5rem;
|
82
|
+
z-index: 1;
|
83
|
+
|
84
|
+
h3 {
|
85
|
+
color: $yellow;
|
86
|
+
font-family: $headline;
|
87
|
+
margin-bottom: 0;
|
88
|
+
}
|
89
|
+
|
90
|
+
p {
|
91
|
+
color: $white;
|
92
|
+
font-size: 1.125rem;
|
93
|
+
}
|
94
|
+
|
95
|
+
.front-page-hero-name {
|
96
|
+
font-family: $mono;
|
97
|
+
font-weight: bold;
|
98
|
+
font-size: 2rem;
|
99
|
+
color: $yellow;
|
100
|
+
margin-bottom: 1rem;
|
101
|
+
|
102
|
+
span {
|
103
|
+
color: $white;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
}
|
108
|
+
|
109
|
+
.front-page-intro-cards {
|
110
|
+
h2 {
|
111
|
+
color: $white;
|
112
|
+
|
113
|
+
.header-anchor {
|
114
|
+
display: none;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
.row {
|
119
|
+
@include row-cards();
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
.front-page-merchants {
|
125
|
+
margin-bottom: 3.75rem;
|
126
|
+
|
127
|
+
.merchants-container {
|
128
|
+
display: flex;
|
129
|
+
flex-wrap: wrap;
|
130
|
+
|
131
|
+
.merchant-link {
|
132
|
+
display: flex;
|
133
|
+
align-items: center;
|
134
|
+
height: 2rem;
|
135
|
+
margin: 0.25rem 2rem 1rem 0;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
|
141
|
+
.front-page-cards-sdk {
|
142
|
+
@include front-page-cards($turquoise);
|
143
|
+
}
|
144
|
+
|
145
|
+
.front-page-cards-module {
|
146
|
+
@include front-page-cards($card-pink);
|
147
|
+
}
|
148
|
+
|
149
|
+
|
150
|
+
.front-page-release-notes {
|
151
|
+
margin-bottom: 4rem;
|
152
|
+
|
153
|
+
.release-notes-container {
|
154
|
+
margin-top: 2.5rem;
|
155
|
+
|
156
|
+
.row {
|
157
|
+
border-bottom: 1px solid $background-gray;
|
158
|
+
margin-bottom: 2rem;
|
159
|
+
padding-bottom: 1rem;
|
160
|
+
|
161
|
+
.release-notes-date {
|
162
|
+
color: $medium-brown;
|
163
|
+
}
|
164
|
+
|
165
|
+
}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
.front-page-cards-extra {
|
170
|
+
@include front-page-cards($yellow);
|
171
|
+
}
|
172
|
+
|
173
|
+
.front-page-contact {
|
174
|
+
display: none; // Not currently in use
|
175
|
+
// display: flex;
|
176
|
+
|
177
|
+
.front-page-contact-content {
|
178
|
+
background-color: $dark-brown;
|
179
|
+
width: 100%;
|
180
|
+
min-height: 13.5rem;
|
181
|
+
padding: 3.5rem 4rem;
|
182
|
+
|
183
|
+
h2 {
|
184
|
+
color: $white;
|
185
|
+
margin-bottom: 1.5rem;
|
186
|
+
|
187
|
+
|
188
|
+
.header-anchor {
|
189
|
+
display: none;
|
190
|
+
}
|
191
|
+
}
|
192
|
+
|
193
|
+
p {
|
194
|
+
color: $white;
|
195
|
+
}
|
196
|
+
|
197
|
+
.btn {
|
198
|
+
width: 18rem;
|
199
|
+
justify-content: center;
|
200
|
+
margin: 1rem 0;
|
201
|
+
|
202
|
+
&:focus,
|
203
|
+
&:focus,
|
204
|
+
&:hover {
|
205
|
+
color: $medium-brown;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
.front-page-demoshop {
|
214
|
+
display: flex;
|
215
|
+
flex-direction: column;
|
216
|
+
align-items: center;
|
217
|
+
padding: $front-page-padding;
|
218
|
+
padding-top: 4rem;
|
219
|
+
margin-bottom: 4rem;
|
220
|
+
width: 100%;
|
221
|
+
height: 22.5rem;
|
222
|
+
background-color: $dark-brown;
|
223
|
+
text-decoration: none;
|
224
|
+
|
225
|
+
&:hover,
|
226
|
+
&:focus {
|
227
|
+
.front-page-demoshop-link {
|
228
|
+
background-color: $white;
|
229
|
+
color: $brown;
|
230
|
+
|
231
|
+
.h3 {
|
232
|
+
color: $brown;
|
233
|
+
}
|
234
|
+
|
235
|
+
}
|
236
|
+
}
|
237
|
+
|
238
|
+
&:after {
|
239
|
+
display: none;
|
240
|
+
content: none;
|
241
|
+
}
|
242
|
+
|
243
|
+
.front-page-demoshop-text {
|
244
|
+
display: flex;
|
245
|
+
flex-direction: column;
|
246
|
+
margin-bottom: 2rem;
|
247
|
+
max-width: $front-page-max-width;
|
248
|
+
width: 100%;
|
249
|
+
|
250
|
+
.h2 {
|
251
|
+
color: $white;
|
252
|
+
|
253
|
+
span {
|
254
|
+
color: $yellow;
|
255
|
+
}
|
256
|
+
}
|
257
|
+
|
258
|
+
.demoshop-text-description {
|
259
|
+
color: $white;
|
260
|
+
width: 45%;
|
261
|
+
height: 4.5rem;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
|
265
|
+
.front-page-demoshop-link {
|
266
|
+
display: flex;
|
267
|
+
position: relative;
|
268
|
+
color: $white;
|
269
|
+
text-decoration: none;
|
270
|
+
background-color: $medium-brown;
|
271
|
+
align-items: center;
|
272
|
+
height: 4.625rem;
|
273
|
+
border-radius: 2px;
|
274
|
+
box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.15);
|
275
|
+
max-width: $front-page-max-width;
|
276
|
+
width: 100%;
|
277
|
+
|
278
|
+
.demoshop-link-img {
|
279
|
+
display: flex;
|
280
|
+
align-items: center;
|
281
|
+
position: absolute;
|
282
|
+
bottom: -1rem;
|
283
|
+
right: 3%;
|
284
|
+
|
285
|
+
.demoshop-link-img-web {
|
286
|
+
width: 26.5rem;
|
287
|
+
height: 15.125rem;
|
288
|
+
border-radius: 2px;
|
289
|
+
box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.15);
|
290
|
+
}
|
291
|
+
|
292
|
+
.demoshop-link-img-mobile {
|
293
|
+
height: 15.125rem;
|
294
|
+
border-radius: 2px;
|
295
|
+
box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.15);
|
296
|
+
margin-right: 1rem;
|
297
|
+
}
|
298
|
+
}
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
.h3 {
|
303
|
+
color: $white;
|
304
|
+
padding-right: 1rem;
|
305
|
+
padding-left: 1.5rem;
|
306
|
+
margin: 0;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
}
|
310
|
+
|
311
|
+
|
312
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
@import 'colors.scss';
|
2
|
+
|
3
|
+
.heading-line {
|
4
|
+
position: relative;
|
5
|
+
|
6
|
+
&:after {
|
7
|
+
content: "";
|
8
|
+
position: absolute;
|
9
|
+
bottom: -0.75rem;
|
10
|
+
left: 0;
|
11
|
+
width: 4rem;
|
12
|
+
height: 4px;
|
13
|
+
background-color: $yellow;
|
14
|
+
border-radius: 0.625rem;
|
15
|
+
}
|
16
|
+
|
17
|
+
&.heading-line-white {
|
18
|
+
&:after {
|
19
|
+
background-color: $white;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
&.heading-line-green {
|
24
|
+
&:after {
|
25
|
+
background-color: $brand-success;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
&.heading-line-sdk {
|
30
|
+
&:after {
|
31
|
+
background-color: $turquoise;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
&.heading-line-module {
|
36
|
+
&:after {
|
37
|
+
background-color: $card-pink;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
&.heading-line-long {
|
42
|
+
&:after {
|
43
|
+
width: 7rem;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
|
49
|
+
h1>a.header-anchor,
|
50
|
+
h2>a.header-anchor,
|
51
|
+
h3>a.header-anchor,
|
52
|
+
h4>a.header-anchor,
|
53
|
+
h5>a.header-anchor,
|
54
|
+
h6>a.header-anchor {
|
55
|
+
color: #ebf8f2;
|
56
|
+
text-decoration: none;
|
57
|
+
}
|
58
|
+
|
59
|
+
h1:hover>a.header-anchor,
|
60
|
+
h2:hover>a.header-anchor,
|
61
|
+
h3:hover>a.header-anchor,
|
62
|
+
h4:hover>a.header-anchor,
|
63
|
+
h5:hover>a.header-anchor,
|
64
|
+
h6:hover>a.header-anchor {
|
65
|
+
color: #8acdc3;
|
66
|
+
}
|
67
|
+
|
68
|
+
h1>a.header-anchor:hover,
|
69
|
+
h2>a.header-anchor:hover,
|
70
|
+
h3>a.header-anchor:hover,
|
71
|
+
h4>a.header-anchor:hover,
|
72
|
+
h5>a.header-anchor:hover,
|
73
|
+
h6>a.header-anchor:hover {
|
74
|
+
color: #257886;
|
75
|
+
}
|
76
|
+
|
77
|
+
a.header-anchor::before {
|
78
|
+
content: '#';
|
79
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
@import 'colors.scss';
|
2
|
+
|
3
|
+
.sidebar {
|
4
|
+
.sidebar-nav {
|
5
|
+
.sidebar-header {
|
6
|
+
display: flex;
|
7
|
+
flex-direction: column;
|
8
|
+
align-items: center;
|
9
|
+
margin-bottom: 2.5rem;
|
10
|
+
margin-top: 2rem;
|
11
|
+
text-decoration: none;
|
12
|
+
color: #512b2b;
|
13
|
+
|
14
|
+
img {
|
15
|
+
width: 120px;
|
16
|
+
margin-top: -1rem;
|
17
|
+
}
|
18
|
+
|
19
|
+
span {
|
20
|
+
color: #fdc129;
|
21
|
+
}
|
22
|
+
|
23
|
+
.sidebar-header-text {
|
24
|
+
margin-top: -0.5rem;
|
25
|
+
font-size: 1.125rem;
|
26
|
+
line-height: 1.5rem;
|
27
|
+
color: $black;
|
28
|
+
font-family: "Akkurat Mono", monospace;
|
29
|
+
white-space: nowrap;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.main-nav-ul {
|
34
|
+
.nav-group {
|
35
|
+
.nav-ul {
|
36
|
+
.nav-subgroup {
|
37
|
+
&.active {
|
38
|
+
>.nav-subgroup-heading {
|
39
|
+
a {
|
40
|
+
color: #257886;
|
41
|
+
font-weight: 700;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.nav-subgroup-heading {
|
47
|
+
padding: 0;
|
48
|
+
|
49
|
+
i {
|
50
|
+
padding: 0.5rem 0;
|
51
|
+
}
|
52
|
+
|
53
|
+
a {
|
54
|
+
color: #512b2b;
|
55
|
+
padding: .5rem;
|
56
|
+
font-size: 1rem;
|
57
|
+
line-height: 1.5rem;
|
58
|
+
text-decoration: none;
|
59
|
+
width: 100%;
|
60
|
+
|
61
|
+
&:hover,
|
62
|
+
&:focus {
|
63
|
+
color: #257886;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|