@sb1/ffe-lists 100.12.4 → 101.0.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.
- package/css/lists.css +29 -65
- package/package.json +4 -4
package/css/lists.css
CHANGED
|
@@ -90,12 +90,9 @@
|
|
|
90
90
|
margin-top: var(--ffe-spacing-sm);
|
|
91
91
|
position: relative;
|
|
92
92
|
line-height: var(--line-height);
|
|
93
|
-
display: -ms-grid;
|
|
94
93
|
display: grid;
|
|
95
|
-
-
|
|
96
|
-
|
|
97
|
-
-ms-grid-rows: var(--line-height) 1fr;
|
|
98
|
-
grid-template-rows: var(--line-height) 1fr;
|
|
94
|
+
grid-template-columns: auto 1fr;
|
|
95
|
+
grid-template-rows: var(--line-height) 1fr;
|
|
99
96
|
grid-column-gap: 1.5em;
|
|
100
97
|
}
|
|
101
98
|
.ffe-check-list__icon {
|
|
@@ -111,17 +108,13 @@
|
|
|
111
108
|
}
|
|
112
109
|
@media all and (min-width: 768px) {
|
|
113
110
|
.ffe-check-list--two-columns {
|
|
114
|
-
display: -ms-flexbox;
|
|
115
111
|
display: flex;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
-ms-flex-pack: justify;
|
|
119
|
-
justify-content: space-between;
|
|
112
|
+
flex-wrap: wrap;
|
|
113
|
+
justify-content: space-between;
|
|
120
114
|
gap: var(--ffe-spacing-xs);
|
|
121
115
|
}
|
|
122
116
|
.ffe-check-list--two-columns .ffe-check-list__item {
|
|
123
|
-
|
|
124
|
-
flex: 1 0 auto;
|
|
117
|
+
flex: 1 0 auto;
|
|
125
118
|
width: 40%;
|
|
126
119
|
}
|
|
127
120
|
}
|
|
@@ -131,12 +124,9 @@
|
|
|
131
124
|
margin-top: var(--ffe-spacing-sm);
|
|
132
125
|
position: relative;
|
|
133
126
|
line-height: var(--line-height);
|
|
134
|
-
display: -ms-grid;
|
|
135
127
|
display: grid;
|
|
136
|
-
-
|
|
137
|
-
|
|
138
|
-
-ms-grid-rows: var(--line-height) 1fr;
|
|
139
|
-
grid-template-rows: var(--line-height) 1fr;
|
|
128
|
+
grid-template-columns: auto 1fr;
|
|
129
|
+
grid-template-rows: var(--line-height) 1fr;
|
|
140
130
|
grid-column-gap: var(--ffe-spacing-md);
|
|
141
131
|
}
|
|
142
132
|
.ffe-stylized-numbered-list__item::before {
|
|
@@ -172,23 +162,18 @@
|
|
|
172
162
|
margin-top: calc(var(--vertical-seperation) * -1);
|
|
173
163
|
}
|
|
174
164
|
.ffe-description-list--horizontal {
|
|
175
|
-
display: -ms-flexbox;
|
|
176
165
|
display: flex;
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
-ms-flex-align: start;
|
|
180
|
-
align-items: flex-start;
|
|
166
|
+
flex-wrap: wrap;
|
|
167
|
+
align-items: flex-start;
|
|
181
168
|
width: 100%;
|
|
182
169
|
}
|
|
183
170
|
.ffe-description-list--horizontal .ffe-description-list__term {
|
|
184
|
-
|
|
185
|
-
flex: 0 0 35%;
|
|
171
|
+
flex: 0 0 35%;
|
|
186
172
|
overflow: hidden;
|
|
187
173
|
overflow-wrap: break-word;
|
|
188
174
|
}
|
|
189
175
|
.ffe-description-list--horizontal .ffe-description-list__description {
|
|
190
|
-
|
|
191
|
-
flex: 65% 0 0;
|
|
176
|
+
flex: 65% 0 0;
|
|
192
177
|
padding-left: var(--ffe-spacing-sm);
|
|
193
178
|
max-width: 65%;
|
|
194
179
|
/* Fix for IE issue in which box-sizing is not taken into account when using flex */
|
|
@@ -199,12 +184,10 @@
|
|
|
199
184
|
}
|
|
200
185
|
@media (min-width: 480px) {
|
|
201
186
|
.ffe-description-list--horizontal .ffe-description-list__term {
|
|
202
|
-
|
|
203
|
-
flex: 0 0 20%;
|
|
187
|
+
flex: 0 0 20%;
|
|
204
188
|
}
|
|
205
189
|
.ffe-description-list--horizontal .ffe-description-list__description {
|
|
206
|
-
|
|
207
|
-
flex: 80% 0 0;
|
|
190
|
+
flex: 80% 0 0;
|
|
208
191
|
max-width: 80%;
|
|
209
192
|
}
|
|
210
193
|
.ffe-description-list--horizontal .ffe-description-list__description + .ffe-description-list__description {
|
|
@@ -212,55 +195,44 @@
|
|
|
212
195
|
}
|
|
213
196
|
}
|
|
214
197
|
.ffe-description-list--horizontal.ffe-description-list--md .ffe-description-list__term {
|
|
215
|
-
|
|
216
|
-
flex: 0 0 40%;
|
|
198
|
+
flex: 0 0 40%;
|
|
217
199
|
}
|
|
218
200
|
.ffe-description-list--horizontal.ffe-description-list--md .ffe-description-list__description {
|
|
219
|
-
|
|
220
|
-
flex: 60% 0 0;
|
|
201
|
+
flex: 60% 0 0;
|
|
221
202
|
max-width: 60%;
|
|
222
203
|
}
|
|
223
204
|
.ffe-description-list--horizontal.ffe-description-list--md .ffe-description-list__description + .ffe-description-list__description {
|
|
224
205
|
margin-left: 40%;
|
|
225
206
|
}
|
|
226
207
|
.ffe-description-list--horizontal.ffe-description-list--lg .ffe-description-list__term {
|
|
227
|
-
|
|
228
|
-
flex: 0 0 50%;
|
|
208
|
+
flex: 0 0 50%;
|
|
229
209
|
}
|
|
230
210
|
.ffe-description-list--horizontal.ffe-description-list--lg .ffe-description-list__description {
|
|
231
|
-
|
|
232
|
-
flex: 50% 0 0;
|
|
211
|
+
flex: 50% 0 0;
|
|
233
212
|
max-width: 50%;
|
|
234
213
|
}
|
|
235
214
|
.ffe-description-list--horizontal.ffe-description-list--lg .ffe-description-list__description + .ffe-description-list__description {
|
|
236
215
|
margin-left: 50%;
|
|
237
216
|
}
|
|
238
217
|
.ffe-description-list-multicol {
|
|
239
|
-
display: -ms-flexbox;
|
|
240
218
|
display: flex;
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
-ms-flex-align: stretch;
|
|
244
|
-
align-items: stretch;
|
|
219
|
+
flex-wrap: wrap;
|
|
220
|
+
align-items: stretch;
|
|
245
221
|
}
|
|
246
222
|
.ffe-description-list-multicol__avoid-break {
|
|
247
|
-
|
|
248
|
-
flex-basis: 100%;
|
|
223
|
+
flex-basis: 100%;
|
|
249
224
|
margin: 0;
|
|
250
225
|
text-align: center;
|
|
251
226
|
}
|
|
252
227
|
.ffe-description-list-multicol--sm-2-cols .ffe-description-list-multicol__avoid-break {
|
|
253
|
-
|
|
254
|
-
flex-basis: 50%;
|
|
228
|
+
flex-basis: 50%;
|
|
255
229
|
}
|
|
256
230
|
.ffe-description-list-multicol__avoid-break:last-child:not(:nth-child(even)) {
|
|
257
|
-
|
|
258
|
-
flex-basis: 100%;
|
|
231
|
+
flex-basis: 100%;
|
|
259
232
|
}
|
|
260
233
|
@media (min-width: 480px) {
|
|
261
234
|
.ffe-description-list-multicol__avoid-break {
|
|
262
|
-
|
|
263
|
-
flex-basis: 50%;
|
|
235
|
+
flex-basis: 50%;
|
|
264
236
|
}
|
|
265
237
|
}
|
|
266
238
|
.ffe-detail-list-card {
|
|
@@ -279,14 +251,10 @@
|
|
|
279
251
|
}
|
|
280
252
|
.ffe-detail-list-card__item {
|
|
281
253
|
padding: var(--ffe-spacing-sm);
|
|
282
|
-
display: -ms-flexbox;
|
|
283
254
|
display: flex;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
-
|
|
287
|
-
align-items: center;
|
|
288
|
-
-ms-flex-pack: justify;
|
|
289
|
-
justify-content: space-between;
|
|
255
|
+
flex-wrap: wrap;
|
|
256
|
+
align-items: center;
|
|
257
|
+
justify-content: space-between;
|
|
290
258
|
gap: var(--ffe-spacing-xs);
|
|
291
259
|
overflow-wrap: anywhere;
|
|
292
260
|
text-wrap: balance;
|
|
@@ -313,10 +281,8 @@
|
|
|
313
281
|
}
|
|
314
282
|
.ffe-detail-list-card__item-value {
|
|
315
283
|
margin: 0;
|
|
316
|
-
display: -ms-flexbox;
|
|
317
284
|
display: flex;
|
|
318
|
-
-
|
|
319
|
-
align-items: center;
|
|
285
|
+
align-items: center;
|
|
320
286
|
color: var(--ffe-color-foreground-default);
|
|
321
287
|
}
|
|
322
288
|
.ffe-detail-list-card__item-value > a,
|
|
@@ -325,10 +291,8 @@
|
|
|
325
291
|
}
|
|
326
292
|
@container (width < 299px) {
|
|
327
293
|
.ffe-detail-list-card__item {
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
-ms-flex-align: normal;
|
|
331
|
-
align-items: normal;
|
|
294
|
+
flex-direction: column;
|
|
295
|
+
align-items: normal;
|
|
332
296
|
}
|
|
333
297
|
}
|
|
334
298
|
.ffe-detail-list-card--bg-primary {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-lists",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "101.0.0",
|
|
4
4
|
"description": "Lists in ffe",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"build": "lessc less/lists.less css/lists.css --autoprefix"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@sb1/ffe-core": "^
|
|
23
|
+
"@sb1/ffe-core": "^101.0.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@sb1/ffe-buildtool": "^
|
|
26
|
+
"@sb1/ffe-buildtool": "^101.0.0"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "7714019dbb9001551cb5d1c262c58afd609d4fb0"
|
|
32
32
|
}
|