@sb1/ffe-lists 13.0.5 → 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 +35 -28
- package/package.json +2 -2
package/less/regular-lists.less
CHANGED
|
@@ -111,20 +111,18 @@
|
|
|
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 {
|
|
117
|
+
--line-height: 1.5em;
|
|
118
|
+
|
|
124
119
|
margin-top: @ffe-spacing-sm;
|
|
125
120
|
position: relative;
|
|
126
|
-
line-height:
|
|
127
|
-
|
|
121
|
+
line-height: var(--line-height);
|
|
122
|
+
display: grid;
|
|
123
|
+
grid-template-columns: auto 1fr;
|
|
124
|
+
grid-template-rows: var(--line-height) 1fr;
|
|
125
|
+
grid-column-gap: 1.5em;
|
|
128
126
|
|
|
129
127
|
.native & {
|
|
130
128
|
@media (prefers-color-scheme: dark) {
|
|
@@ -135,10 +133,9 @@
|
|
|
135
133
|
|
|
136
134
|
.ffe-check-list {
|
|
137
135
|
&__icon {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
136
|
+
grid-column: 1/2;
|
|
137
|
+
grid-row: 1/2;
|
|
138
|
+
place-self: center;
|
|
142
139
|
&--check.ffe-icons {
|
|
143
140
|
color: var(--ffe-v-lists-check-list-check-icon-color);
|
|
144
141
|
}
|
|
@@ -153,29 +150,39 @@
|
|
|
153
150
|
display: flex;
|
|
154
151
|
flex-wrap: wrap;
|
|
155
152
|
justify-content: space-between;
|
|
153
|
+
gap: @ffe-spacing-xs;
|
|
156
154
|
|
|
157
155
|
.ffe-check-list__item {
|
|
158
156
|
flex: 1 0 auto;
|
|
159
|
-
display: block;
|
|
160
157
|
width: 40%;
|
|
161
158
|
}
|
|
162
159
|
}
|
|
163
160
|
}
|
|
164
161
|
}
|
|
165
162
|
|
|
166
|
-
.ffe-stylized-numbered-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
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);
|
|
180
181
|
}
|
|
181
182
|
}
|
|
183
|
+
|
|
184
|
+
.ffe-check-list__item-content,
|
|
185
|
+
.ffe-stylized-numbered-list__item-content {
|
|
186
|
+
grid-column: 2/3;
|
|
187
|
+
grid-row: 1/-1;
|
|
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
|
}
|