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