@sb1/ffe-cards 20.4.5 → 21.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/cards.css +19 -8
- package/less/icon-card.less +8 -7
- package/package.json +2 -2
package/css/cards.css
CHANGED
|
@@ -277,8 +277,9 @@
|
|
|
277
277
|
outline: none;
|
|
278
278
|
width: 100%;
|
|
279
279
|
text-decoration: none;
|
|
280
|
-
display:
|
|
281
|
-
|
|
280
|
+
display: -webkit-box;
|
|
281
|
+
display: -ms-flexbox;
|
|
282
|
+
display: flex;
|
|
282
283
|
-webkit-box-align: center;
|
|
283
284
|
-ms-flex-align: center;
|
|
284
285
|
align-items: center;
|
|
@@ -337,12 +338,6 @@
|
|
|
337
338
|
.ffe-icon-card--no-margin {
|
|
338
339
|
margin: 0;
|
|
339
340
|
}
|
|
340
|
-
.ffe-icon-card--right {
|
|
341
|
-
grid-template-columns: 1fr auto;
|
|
342
|
-
-webkit-box-pack: justify;
|
|
343
|
-
-ms-flex-pack: justify;
|
|
344
|
-
justify-content: space-between;
|
|
345
|
-
}
|
|
346
341
|
@media (min-width: 768px) {
|
|
347
342
|
.ffe-icon-card {
|
|
348
343
|
gap: var(--ffe-spacing-md);
|
|
@@ -351,7 +346,23 @@
|
|
|
351
346
|
gap: var(--ffe-spacing-sm);
|
|
352
347
|
}
|
|
353
348
|
}
|
|
349
|
+
.ffe-icon-card .ffe-icon-card__body {
|
|
350
|
+
-webkit-box-flex: 1;
|
|
351
|
+
-ms-flex-positive: 1;
|
|
352
|
+
flex-grow: 1;
|
|
353
|
+
}
|
|
354
354
|
.ffe-icon-card .ffe-icon-card__icon {
|
|
355
|
+
display: -webkit-box;
|
|
356
|
+
display: -ms-flexbox;
|
|
357
|
+
display: flex;
|
|
358
|
+
-webkit-box-align: center;
|
|
359
|
+
-ms-flex-align: center;
|
|
360
|
+
align-items: center;
|
|
361
|
+
-ms-flex-negative: 0;
|
|
362
|
+
flex-shrink: 0;
|
|
363
|
+
-webkit-box-flex: 0;
|
|
364
|
+
-ms-flex-positive: 0;
|
|
365
|
+
flex-grow: 0;
|
|
355
366
|
color: var(--ffe-v-cards-icon-color);
|
|
356
367
|
}
|
|
357
368
|
.ffe-icon-card--condensed {
|
package/less/icon-card.less
CHANGED
|
@@ -13,17 +13,11 @@
|
|
|
13
13
|
margin: 0;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
display:
|
|
17
|
-
grid-template-columns: auto 1fr;
|
|
16
|
+
display: flex;
|
|
18
17
|
align-items: center;
|
|
19
18
|
padding: var(--ffe-spacing-md);
|
|
20
19
|
gap: var(--ffe-spacing-sm);
|
|
21
20
|
|
|
22
|
-
&--right {
|
|
23
|
-
grid-template-columns: 1fr auto;
|
|
24
|
-
justify-content: space-between;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
21
|
@media (min-width: @breakpoint-md) {
|
|
28
22
|
gap: var(--ffe-spacing-md);
|
|
29
23
|
&--condensed {
|
|
@@ -31,7 +25,14 @@
|
|
|
31
25
|
}
|
|
32
26
|
}
|
|
33
27
|
|
|
28
|
+
.ffe-icon-card__body {
|
|
29
|
+
flex-grow: 1;
|
|
30
|
+
}
|
|
34
31
|
.ffe-icon-card__icon {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
flex-shrink: 0;
|
|
35
|
+
flex-grow: 0;
|
|
35
36
|
color: var(--ffe-v-cards-icon-color);
|
|
36
37
|
}
|
|
37
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-cards",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0",
|
|
4
4
|
"description": "Kort for bruk i oversikter",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "7b652097b54e99c0993ffb58b147805a54472a91"
|
|
30
30
|
}
|