@sb1/ffe-lists 14.0.0 → 15.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/less/regular-lists.less +20 -22
- package/package.json +2 -2
package/less/regular-lists.less
CHANGED
|
@@ -111,13 +111,6 @@
|
|
|
111
111
|
text-align: left;
|
|
112
112
|
margin: 0 0 @ffe-spacing-sm;
|
|
113
113
|
list-style: none;
|
|
114
|
-
|
|
115
|
-
> .ffe-stylized-numbered-list__item {
|
|
116
|
-
margin-top: @ffe-spacing-sm;
|
|
117
|
-
margin-left: @ffe-spacing-lg;
|
|
118
|
-
position: relative;
|
|
119
|
-
line-height: 1.5em;
|
|
120
|
-
}
|
|
121
114
|
}
|
|
122
115
|
|
|
123
116
|
.ffe-check-list__item {
|
|
@@ -167,24 +160,29 @@
|
|
|
167
160
|
}
|
|
168
161
|
}
|
|
169
162
|
|
|
170
|
-
.ffe-stylized-numbered-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
163
|
+
.ffe-stylized-numbered-list__item {
|
|
164
|
+
--line-height: 1.5em;
|
|
165
|
+
|
|
166
|
+
counter-increment: list-elements;
|
|
167
|
+
margin-top: @ffe-spacing-sm;
|
|
168
|
+
position: relative;
|
|
169
|
+
line-height: var(--line-height);
|
|
170
|
+
display: grid;
|
|
171
|
+
grid-template-columns: auto 1fr;
|
|
172
|
+
grid-template-rows: var(--line-height) 1fr;
|
|
173
|
+
grid-column-gap: @ffe-spacing-md;
|
|
174
|
+
|
|
175
|
+
&::before {
|
|
176
|
+
content: counter(list-elements);
|
|
177
|
+
grid-column: 1/2;
|
|
178
|
+
grid-row: 1/2;
|
|
179
|
+
color: var(--ffe-v-lists-title-color);
|
|
180
|
+
&:extend(.ffe-strong-text);
|
|
184
181
|
}
|
|
185
182
|
}
|
|
186
183
|
|
|
187
|
-
.ffe-check-list__item-content
|
|
184
|
+
.ffe-check-list__item-content,
|
|
185
|
+
.ffe-stylized-numbered-list__item-content {
|
|
188
186
|
grid-column: 2/3;
|
|
189
187
|
grid-row: 1/-1;
|
|
190
188
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-lists",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0",
|
|
4
4
|
"description": "Lists in ffe",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "f3e5ffacffd4068351ff756660917b1363a13994"
|
|
28
28
|
}
|