@sb1/ffe-cards 20.4.0 → 20.4.2
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 +13 -34
- package/less/components.less +13 -4
- package/package.json +3 -3
package/css/cards.css
CHANGED
|
@@ -139,40 +139,6 @@
|
|
|
139
139
|
--ffe-v-cards-common-card-background-color: var(--ffe-farge-koksgraa);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
.ffe-card-body__title {
|
|
143
|
-
line-height: 1.25rem;font-size: var(--ffe-fontsize-h5);
|
|
144
|
-
}
|
|
145
|
-
.ffe-card-body__subtext {
|
|
146
|
-
color: var(--ffe-g-text-color);font-family: var(--ffe-g-font);font-weight: normal;font-variant-numeric: tabular-nums;line-height: 1.25rem;margin: 0;
|
|
147
|
-
}
|
|
148
|
-
.ffe-card-body__subtext {
|
|
149
|
-
font-size: var(--ffe-fontsize-small-text);
|
|
150
|
-
}
|
|
151
|
-
.ffe-card-body__title {
|
|
152
|
-
color: var(--ffe-g-heading-color);font-weight: normal;margin-bottom: var(--ffe-spacing-xs);margin-top: 0;text-wrap: balance;overflow-wrap: anywhere;
|
|
153
|
-
}
|
|
154
|
-
.ffe-card-body__title {
|
|
155
|
-
font-family: var(--ffe-g-font-heading-small);font-variant-numeric: tabular-nums;
|
|
156
|
-
}
|
|
157
|
-
@media (min-width: 480px) {
|
|
158
|
-
.ffe-card-body__title {
|
|
159
|
-
line-height: 1.5rem;
|
|
160
|
-
}
|
|
161
|
-
.ffe-card-body__title {
|
|
162
|
-
margin-bottom: var(--ffe-spacing-sm);
|
|
163
|
-
}
|
|
164
|
-
.ffe-card-body__subtext {
|
|
165
|
-
line-height: 1.25rem;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
@media (min-width: 1024px) {
|
|
169
|
-
.ffe-card-body__title {
|
|
170
|
-
margin-bottom: var(--ffe-spacing-md);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
.ffe-card-body__subtext {
|
|
174
|
-
overflow-wrap: anywhere;
|
|
175
|
-
}
|
|
176
142
|
.ffe-card-body__card-name {
|
|
177
143
|
margin: 0 0 var(--ffe-spacing-2xs) 0;
|
|
178
144
|
}
|
|
@@ -180,10 +146,23 @@
|
|
|
180
146
|
margin: var(--ffe-spacing-2xs) 0 0 0;
|
|
181
147
|
}
|
|
182
148
|
.ffe-card-body__subtext {
|
|
149
|
+
font-family: var(--ffe-g-font);
|
|
150
|
+
font-weight: normal;
|
|
151
|
+
font-variant-numeric: tabular-nums;
|
|
152
|
+
line-height: 1.25rem;
|
|
153
|
+
font-size: var(--ffe-fontsize-small-text);
|
|
183
154
|
color: var(--ffe-v-cards-subtext-color);
|
|
184
155
|
margin: var(--ffe-spacing-2xs) 0 0 0;
|
|
185
156
|
}
|
|
186
157
|
.ffe-card-body__title {
|
|
158
|
+
font-family: var(--ffe-g-font-heading-small);
|
|
159
|
+
font-variant-numeric: tabular-nums;
|
|
160
|
+
color: var(--ffe-g-heading-color);
|
|
161
|
+
font-weight: normal;
|
|
162
|
+
text-wrap: balance;
|
|
163
|
+
overflow-wrap: anywhere;
|
|
164
|
+
line-height: 1.25rem;
|
|
165
|
+
font-size: var(--ffe-fontsize-h5);
|
|
187
166
|
margin: 0;
|
|
188
167
|
}
|
|
189
168
|
.ffe-card-body__title--overflow-ellipsis {
|
package/less/components.less
CHANGED
|
@@ -10,15 +10,24 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
&__subtext {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
font-family: var(--ffe-g-font);
|
|
14
|
+
font-weight: normal;
|
|
15
|
+
font-variant-numeric: tabular-nums;
|
|
16
|
+
line-height: 1.25rem;
|
|
17
|
+
font-size: var(--ffe-fontsize-small-text);
|
|
15
18
|
color: var(--ffe-v-cards-subtext-color);
|
|
16
19
|
margin: var(--ffe-spacing-2xs) 0 0 0;
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
&__title {
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
font-family: var(--ffe-g-font-heading-small);
|
|
24
|
+
font-variant-numeric: tabular-nums;
|
|
25
|
+
color: var(--ffe-g-heading-color);
|
|
26
|
+
font-weight: normal;
|
|
27
|
+
text-wrap: balance;
|
|
28
|
+
overflow-wrap: anywhere;
|
|
29
|
+
line-height: 1.25rem;
|
|
30
|
+
font-size: var(--ffe-fontsize-h5);
|
|
22
31
|
margin: 0;
|
|
23
32
|
|
|
24
33
|
&--overflow-ellipsis {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-cards",
|
|
3
|
-
"version": "20.4.
|
|
3
|
+
"version": "20.4.2",
|
|
4
4
|
"description": "Kort for bruk i oversikter",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"build": "lessc less/cards.less css/cards.css --autoprefix"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sb1/ffe-core": "^29.
|
|
21
|
+
"@sb1/ffe-core": "^29.3.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@sb1/ffe-buildtool": "^0.9.0"
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "f474381dd349e5f8a64b9e6883aa9cb4a6d184d8"
|
|
30
30
|
}
|