swedbank-pay-design-guide-jekyll-theme 2.6.6 → 2.7.0
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 +4 -4
- data/_layouts/front-page.html +2 -2
- data/_sass/swedbank-pay-design-guide-theme.scss +57 -1
- data/lib/gem_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 802bbbce845795d59cb0cc47e675d1cc09b1227e964f1de1a7c9497176624cdf
|
4
|
+
data.tar.gz: d3a160831726e3d2730ca20af8882e7974a24e82dae79a771a055035117c8a42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e10f1a921070fb1a47d710bf84924d4bab28382b4e5dd3b82b402d139e2535fbf1d797ab2243d36d669b11b67a26ff183091529b17c253c0e0f8086703dfd109
|
7
|
+
data.tar.gz: 5d364887a6decaf77347d44c9fa56cc97a30f705f53c96f9e3b8bfd1197bb02d02f0e1ada73a355a078975974e0ab7aded49de39ecffa4b9cde20c3cfc6b0ef9
|
data/_layouts/front-page.html
CHANGED
@@ -62,8 +62,8 @@ layout: default
|
|
62
62
|
<div class="front-page-container">
|
63
63
|
{% contentblock intro_cards%}
|
64
64
|
|
65
|
-
<div class="front-page-
|
66
|
-
{% contentblock
|
65
|
+
<div class="front-page-promotion-container">
|
66
|
+
{% contentblock promotion-container %}
|
67
67
|
</div>
|
68
68
|
|
69
69
|
<div class="front-page-cards-sdk">
|
@@ -87,6 +87,62 @@ body {
|
|
87
87
|
// }
|
88
88
|
// }
|
89
89
|
|
90
|
+
/** API object detailed table styles **/
|
91
|
+
/* Container */
|
92
|
+
.api-compact{border:1px solid #e5e7eb;border-radius:4px;overflow:hidden;background:#fff;font-size:.95rem;margin-bottom: 1rem;}
|
93
|
+
.api-compact .header{display:grid;grid-template-columns:1fr 74px 68px;gap:12px;padding:10px 14px;font-weight:600;border-bottom:1px solid #e5e7eb}
|
94
|
+
|
95
|
+
/* Item */
|
96
|
+
.api-item{position:relative}
|
97
|
+
.api-item>summary{list-style:none;display:grid;grid-template-columns:1fr 80px 70px;gap:12px;align-items:start;padding:10px 14px;cursor:pointer}
|
98
|
+
.api-item>summary::-webkit-details-marker{display:none}
|
99
|
+
|
100
|
+
/* Chevron (expanderingsikon) */
|
101
|
+
.api-item>summary .chev{display:inline-block;width:1em;margin-right:6px;transition:transform .2s ease;transform-origin:50% 50%}
|
102
|
+
.api-item[open]>summary .chev{transform:rotate(90deg)}
|
103
|
+
|
104
|
+
/* Field/Type/Req */
|
105
|
+
.api-item .field{font-weight:600;display:inline-flex;align-items:center;gap:8px;min-width:0;position:relative}
|
106
|
+
.api-item .field code{border-radius:6px;border: 1px solid #fdc129;}
|
107
|
+
.api-item .type code{font-size:.9em;background:#f6f8fa;padding:2px 6px;border-radius:6px;}
|
108
|
+
.field-level::before {
|
109
|
+
font-family: "Akkurat Mono", monospace;
|
110
|
+
color: #fdc129;
|
111
|
+
content: "╰─╼";
|
112
|
+
}
|
113
|
+
.field-level-0::before {
|
114
|
+
content: "";
|
115
|
+
}
|
116
|
+
.api-item .req{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
|
117
|
+
.api-item .desc{padding:0 14px 16px 38px}
|
118
|
+
|
119
|
+
/* Indrag (summary) – inga vänsterkanter, endast spacing */
|
120
|
+
.api-item[data-level="0"]>summary .field{padding-left:0}
|
121
|
+
.api-item[data-level="1"]>summary .field{padding-left:14px}
|
122
|
+
.api-item[data-level="2"]>summary .field{padding-left:32px}
|
123
|
+
.api-item[data-level="3"]>summary .field{padding-left:50px}
|
124
|
+
|
125
|
+
/* Description – nivå (level+1) med kort lokal linje (valfritt: ta bort border-left om du vill noll linjer) */
|
126
|
+
.indent-1{margin-left:12px;}
|
127
|
+
.indent-2{margin-left:22px;}
|
128
|
+
.indent-3{margin-left:38px;}
|
129
|
+
|
130
|
+
/* Hover/fokus */
|
131
|
+
.api-item:hover>summary,.api-item:hover .desc,.api-item:focus-within>summary,.api-item:focus-within .desc{background:#fafafa}
|
132
|
+
|
133
|
+
/* Children wrapper */
|
134
|
+
.api-children{padding-left:0;margin:6px 0 10px 0}
|
135
|
+
.api-children .api-item{border-bottom:none}
|
136
|
+
|
137
|
+
/* Mobil */
|
138
|
+
@media (max-width:640px){
|
139
|
+
.api-compact .header{display:none}
|
140
|
+
.api-item>summary{grid-template-columns:1fr;gap:6px}
|
141
|
+
.api-item .type,.api-item .req{opacity:.85;font-weight:500;justify-content:flex-start}
|
142
|
+
}
|
143
|
+
/** API object detailed table styles - END **/
|
144
|
+
|
145
|
+
|
90
146
|
#designguide .designguide-header .topbar-info a {
|
91
147
|
margin-left: 5px;
|
92
148
|
color: rgba(34, 34, 34, .75);
|
@@ -490,7 +546,7 @@ body {
|
|
490
546
|
}
|
491
547
|
}
|
492
548
|
|
493
|
-
.
|
549
|
+
.promotion-container-cta {
|
494
550
|
margin-top: 2.5rem;
|
495
551
|
|
496
552
|
@media screen and (max-width: $breakpoint-lg) {
|
data/lib/gem_version.rb
CHANGED
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: 2.
|
4
|
+
version: 2.7.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: 2025-
|
11
|
+
date: 2025-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|