@sb1/ffe-lists 10.0.31 → 11.0.1
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/description-list.less +2 -1
- package/less/regular-lists.less +14 -76
- package/package.json +3 -3
package/less/regular-lists.less
CHANGED
|
@@ -112,7 +112,6 @@
|
|
|
112
112
|
margin: 0 0 @ffe-spacing-sm;
|
|
113
113
|
list-style: none;
|
|
114
114
|
|
|
115
|
-
> .ffe-check-list__item,
|
|
116
115
|
> .ffe-stylized-numbered-list__item {
|
|
117
116
|
margin-top: @ffe-spacing-sm;
|
|
118
117
|
margin-left: @ffe-spacing-lg;
|
|
@@ -121,12 +120,11 @@
|
|
|
121
120
|
}
|
|
122
121
|
}
|
|
123
122
|
|
|
124
|
-
@ffe-farge-nordlys-wcag-fill: escape('@{ffe-farge-nordlys-wcag}');
|
|
125
|
-
@ffe-farge-nordlys-fill: escape('@{ffe-farge-nordlys}');
|
|
126
|
-
@ffe-farge-fjell-fill: escape('@{ffe-farge-fjell}');
|
|
127
|
-
@ffe-farge-baer-fill: escape('@{ffe-farge-baer}');
|
|
128
|
-
|
|
129
123
|
.ffe-check-list__item {
|
|
124
|
+
margin-top: @ffe-spacing-sm;
|
|
125
|
+
position: relative;
|
|
126
|
+
line-height: 1.5em;
|
|
127
|
+
|
|
130
128
|
.native & {
|
|
131
129
|
@media (prefers-color-scheme: dark) {
|
|
132
130
|
color: @ffe-farge-hvit;
|
|
@@ -135,84 +133,23 @@
|
|
|
135
133
|
}
|
|
136
134
|
|
|
137
135
|
.ffe-check-list {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
position: absolute;
|
|
143
|
-
text-indent: -9999px;
|
|
144
|
-
width: 1em;
|
|
145
|
-
height: 1em;
|
|
146
|
-
left: -2em;
|
|
147
|
-
top: 0.15em;
|
|
148
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' width='200' height='200'%3E%3Cpath fill='@{ffe-farge-nordlys-wcag-fill}' d='M176.56-8.325E-7c-4.403,0-8.307,2.46595-10.288,5.89248l-90.5448,156.336-42.6109-59.77c-2.46172-2.94562-5.88534-4.89058-9.78806-4.89058h-7.3426c-4.40307,0-8.30704,2.46094-10.2884,6.36839-1.94136,3.94753-1.46102,8.8406,1.0007,12.2671l54.8007,75.963c3.4224,4.89,9.3077,7.834,15.1918,7.834,6.84477,0,12.7076-3.42654,16.13-9.31777l100.827-173.487c2.46172-3.4666,2.46547-7.83618,0.0438-11.3028-1.942-3.94755-5.886-5.8925-10.289-5.8925h-6.84226z'/%3E%3C/svg%3E");
|
|
149
|
-
background-position: center;
|
|
150
|
-
background-size: 1em 1em;
|
|
151
|
-
background-repeat: no-repeat;
|
|
152
|
-
.native & {
|
|
153
|
-
@media (prefers-color-scheme: dark) {
|
|
154
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' width='200' height='200'%3E%3Cpath fill='@{ffe-farge-nordlys-fill}' d='M176.56-8.325E-7c-4.403,0-8.307,2.46595-10.288,5.89248l-90.5448,156.336-42.6109-59.77c-2.46172-2.94562-5.88534-4.89058-9.78806-4.89058h-7.3426c-4.40307,0-8.30704,2.46094-10.2884,6.36839-1.94136,3.94753-1.46102,8.8406,1.0007,12.2671l54.8007,75.963c3.4224,4.89,9.3077,7.834,15.1918,7.834,6.84477,0,12.7076-3.42654,16.13-9.31777l100.827-173.487c2.46172-3.4666,2.46547-7.83618,0.0438-11.3028-1.942-3.94755-5.886-5.8925-10.289-5.8925h-6.84226z'/%3E%3C/svg%3E");
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
136
|
+
&__icon {
|
|
137
|
+
width: 1em;
|
|
138
|
+
height: 1em;
|
|
139
|
+
margin-right: @ffe-spacing-sm;
|
|
159
140
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='@{ffe-farge-baer-fill}' d='M18.77,0c-3.562,0-7.125,1.347-9.834,4.044l-4.429,4.439c-5.381,5.394-5.381,14.25,0,19.68l71.19,71.83-71.66,71.83c-5.381,5.394-5.381,14.25,0,19.68l4.429,4.439c5.381,5.394,14.22,5.394,19.64,0l71.66-71.83,71.65,71.83c5.381,5.394,14.23,5.394,19.65,0l4.429-4.439c5.381-5.394,5.381-14.25,0-19.68l-71.19-71.83,71.66-71.83c5.381-4.914,5.381-13.78,0-19.21l-4.429-4.423c-5.381-5.394-14.22-5.394-19.64,0l-72.13,71.34-71.17-71.83c-2.691-2.697-6.257-4.044-9.819-4.044z'/%3E%3C/svg%3E");
|
|
163
|
-
color: @ffe-farge-baer;
|
|
164
|
-
content: '';
|
|
165
|
-
.native & {
|
|
166
|
-
@media (prefers-color-scheme: dark) {
|
|
167
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='@{ffe-farge-baer-fill}' d='M18.77,0c-3.562,0-7.125,1.347-9.834,4.044l-4.429,4.439c-5.381,5.394-5.381,14.25,0,19.68l71.19,71.83-71.66,71.83c-5.381,5.394-5.381,14.25,0,19.68l4.429,4.439c5.381,5.394,14.22,5.394,19.64,0l71.66-71.83,71.65,71.83c5.381,5.394,14.23,5.394,19.65,0l4.429-4.439c5.381-5.394,5.381-14.25,0-19.68l-71.19-71.83,71.66-71.83c5.381-4.914,5.381-13.78,0-19.21l-4.429-4.423c-5.381-5.394-14.22-5.394-19.64,0l-72.13,71.34-71.17-71.83c-2.691-2.697-6.257-4.044-9.819-4.044z'/%3E%3C/svg%3E");
|
|
168
|
-
color: @ffe-farge-baer;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
141
|
+
&--check {
|
|
142
|
+
fill: @ffe-farge-nordlys-wcag;
|
|
173
143
|
|
|
174
|
-
&--bg-sand {
|
|
175
|
-
> .ffe-check-list__item {
|
|
176
|
-
color: @ffe-farge-fjell;
|
|
177
|
-
background-color: @ffe-farge-sand;
|
|
178
|
-
padding: @ffe-spacing-sm @ffe-spacing-sm @ffe-spacing-sm
|
|
179
|
-
@ffe-spacing-2xl;
|
|
180
|
-
border-radius: 4px;
|
|
181
|
-
margin-left: 0;
|
|
182
|
-
margin-top: 1em;
|
|
183
|
-
.ffe-fontsize-h5();
|
|
184
144
|
.native & {
|
|
185
145
|
@media (prefers-color-scheme: dark) {
|
|
186
|
-
|
|
187
|
-
background-color: @ffe-farge-svart;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&::before {
|
|
192
|
-
left: 1em;
|
|
193
|
-
top: 1em;
|
|
194
|
-
background-size: 0.9em 0.9em;
|
|
195
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' width='200' height='200'%3E%3Cpath fill='@{ffe-farge-fjell-fill}' d='M176.56-8.325E-7c-4.403,0-8.307,2.46595-10.288,5.89248l-90.5448,156.336-42.6109-59.77c-2.46172-2.94562-5.88534-4.89058-9.78806-4.89058h-7.3426c-4.40307,0-8.30704,2.46094-10.2884,6.36839-1.94136,3.94753-1.46102,8.8406,1.0007,12.2671l54.8007,75.963c3.4224,4.89,9.3077,7.834,15.1918,7.834,6.84477,0,12.7076-3.42654,16.13-9.31777l100.827-173.487c2.46172-3.4666,2.46547-7.83618,0.0438-11.3028-1.942-3.94755-5.886-5.8925-10.289-5.8925h-6.84226z'/%3E%3C/svg%3E");
|
|
196
|
-
.native & {
|
|
197
|
-
@media (prefers-color-scheme: dark) {
|
|
198
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' width='200' height='200'%3E%3Cpath fill='%230a91ff' d='M176.56-8.325E-7c-4.403,0-8.307,2.46595-10.288,5.89248l-90.5448,156.336-42.6109-59.77c-2.46172-2.94562-5.88534-4.89058-9.78806-4.89058h-7.3426c-4.40307,0-8.30704,2.46094-10.2884,6.36839-1.94136,3.94753-1.46102,8.8406,1.0007,12.2671l54.8007,75.963c3.4224,4.89,9.3077,7.834,15.1918,7.834,6.84477,0,12.7076-3.42654,16.13-9.31777l100.827-173.487c2.46172-3.4666,2.46547-7.83618,0.0438-11.3028-1.942-3.94755-5.886-5.8925-10.289-5.8925h-6.84226z'/%3E%3C/svg%3E");
|
|
199
|
-
}
|
|
146
|
+
fill: @ffe-farge-nordlys;
|
|
200
147
|
}
|
|
201
148
|
}
|
|
202
149
|
}
|
|
203
150
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='@{ffe-farge-fjell-fill}' d='M18.77,0c-3.562,0-7.125,1.347-9.834,4.044l-4.429,4.439c-5.381,5.394-5.381,14.25,0,19.68l71.19,71.83-71.66,71.83c-5.381,5.394-5.381,14.25,0,19.68l4.429,4.439c5.381,5.394,14.22,5.394,19.64,0l71.66-71.83,71.65,71.83c5.381,5.394,14.23,5.394,19.65,0l4.429-4.439c5.381-5.394,5.381-14.25,0-19.68l-71.19-71.83,71.66-71.83c5.381-4.914,5.381-13.78,0-19.21l-4.429-4.423c-5.381-5.394-14.22-5.394-19.64,0l-72.13,71.34-71.17-71.83c-2.691-2.697-6.257-4.044-9.819-4.044z'/%3E%3C/svg%3E");
|
|
207
|
-
color: @ffe-farge-baer;
|
|
208
|
-
content: '';
|
|
209
|
-
.native & {
|
|
210
|
-
@media (prefers-color-scheme: dark) {
|
|
211
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='@{ffe-farge-baer-fill}' d='M18.77,0c-3.562,0-7.125,1.347-9.834,4.044l-4.429,4.439c-5.381,5.394-5.381,14.25,0,19.68l71.19,71.83-71.66,71.83c-5.381,5.394-5.381,14.25,0,19.68l4.429,4.439c5.381,5.394,14.22,5.394,19.64,0l71.66-71.83,71.65,71.83c5.381,5.394,14.23,5.394,19.65,0l4.429-4.439c5.381-5.394,5.381-14.25,0-19.68l-71.19-71.83,71.66-71.83c5.381-4.914,5.381-13.78,0-19.21l-4.429-4.423c-5.381-5.394-14.22-5.394-19.64,0l-72.13,71.34-71.17-71.83c-2.691-2.697-6.257-4.044-9.819-4.044z'/%3E%3C/svg%3E");
|
|
212
|
-
color: @ffe-farge-baer;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
151
|
+
&--cross {
|
|
152
|
+
fill: @ffe-farge-baer;
|
|
216
153
|
}
|
|
217
154
|
}
|
|
218
155
|
|
|
@@ -244,6 +181,7 @@
|
|
|
244
181
|
font-size: 1.1em;
|
|
245
182
|
color: @ffe-farge-fjell;
|
|
246
183
|
&:extend(.ffe-strong-text);
|
|
184
|
+
|
|
247
185
|
.native & {
|
|
248
186
|
@media (prefers-color-scheme: dark) {
|
|
249
187
|
color: @ffe-farge-hvit;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-lists",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.1",
|
|
4
4
|
"description": "Lists in ffe",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"test": "npm run lint"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@sb1/ffe-core": "^
|
|
19
|
+
"@sb1/ffe-core": "^26.0.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@sb1/ffe-core": "*"
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "c3ed22372d65a52e72197aa5dc6f3189c44e8cfd"
|
|
28
28
|
}
|