@cooperco/cooper-component-library 0.1.85 → 0.1.87
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/dist/cms/0076-rename-image-to-media-tile-content.cjs +34 -0
- package/dist/cms/README.md +101 -31
- package/dist/cms/contentful/migrations/scripts/0076-rename-image-to-media-tile-content.cjs +34 -0
- package/dist/cms/migrations/scripts/0076-rename-image-to-media-tile-content.cjs +34 -0
- package/dist/cms/scripts/0076-rename-image-to-media-tile-content.cjs +34 -0
- package/dist/lib/component-lib.js +4 -1
- package/dist/lib/component-lib.umd.cjs +1 -1
- package/dist/lib/css/main.css +75 -49
- package/dist/lib/style.css +1 -1
- package/package.json +118 -117
package/dist/lib/css/main.css
CHANGED
|
@@ -81,15 +81,13 @@ div {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.tile-content ul,
|
|
85
|
-
ol {
|
|
84
|
+
/* .tile-content ul,
|
|
85
|
+
.tile-content ol {
|
|
86
86
|
padding-left: 1rem;
|
|
87
|
-
}
|
|
87
|
+
} */
|
|
88
88
|
|
|
89
|
-
|
|
90
|
-
.content-module-body-copy
|
|
91
|
-
padding-left: 1rem;
|
|
92
|
-
}
|
|
89
|
+
/* Bullet list styles in @layer components
|
|
90
|
+
and shared across .content-module-body-copy and .body-copy-with-lists */
|
|
93
91
|
|
|
94
92
|
.content-module-body-copy {
|
|
95
93
|
white-space: pre-line;
|
|
@@ -176,19 +174,29 @@ ol {
|
|
|
176
174
|
}
|
|
177
175
|
|
|
178
176
|
.content-module-body-copy table ul {
|
|
179
|
-
list-style
|
|
177
|
+
list-style: none;
|
|
180
178
|
margin: 1em 0 0 1em;
|
|
181
|
-
padding-left:
|
|
179
|
+
padding-left: 0;
|
|
182
180
|
text-align: left;
|
|
183
181
|
}
|
|
184
182
|
|
|
185
|
-
.content-module-body-copy table td:nth-child(2) ul {
|
|
186
|
-
list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAYAAAC0VX7mAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADJSURBVHgBlZKxDcIwEEX/JQWkQZ4A0kY0WQAUNoiyADBJxAZsQNIDMwSRgpIKWsIELqEAc0ZpwZcnfeskf31L30doSVSavIyf8xizFKsCmfKo9wU64NtjOsjyN7yCx5DVb+94pjTsRWie1wOE0ERlCxja/DMZolmttxUEeOyeu0xkTA4hHisR+GIIsYFa4FMQYgPPThfxj0sDufCV22ZKCPHvj8ttGIyJfnRpH6z1bg0h3z3k0GoURA2IbFchbK+EE4cteV0KdOADmKo0tCBN9gAAAAAASUVORK5CYII=");
|
|
187
|
-
}
|
|
188
|
-
|
|
189
183
|
.content-module-body-copy table ul li {
|
|
184
|
+
position: relative;
|
|
185
|
+
padding-left: 1.5em;
|
|
190
186
|
margin: 0;
|
|
191
|
-
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.content-module-body-copy table td:first-child {
|
|
190
|
+
--bullet-color: var(--rosemary);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.content-module-body-copy table td:nth-child(2) {
|
|
194
|
+
--bullet-color: var(--iris);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.content-module-body-copy table td:nth-child(3),
|
|
198
|
+
.content-module-body-copy table td:nth-child(4) {
|
|
199
|
+
--bullet-color: var(--rosemary);
|
|
192
200
|
}
|
|
193
201
|
|
|
194
202
|
.content-module-body-copy table ul p {
|
|
@@ -200,7 +208,7 @@ ol {
|
|
|
200
208
|
}
|
|
201
209
|
|
|
202
210
|
.accordion-item-body ul,
|
|
203
|
-
ol {
|
|
211
|
+
.accordion-item-body ol {
|
|
204
212
|
padding-left: 1rem;
|
|
205
213
|
}
|
|
206
214
|
|
|
@@ -210,7 +218,6 @@ ol {
|
|
|
210
218
|
}
|
|
211
219
|
}
|
|
212
220
|
|
|
213
|
-
|
|
214
221
|
@media (min-width: 1024px) {
|
|
215
222
|
.container-hero-right {
|
|
216
223
|
padding-right: max(20px, calc((100% - 1024px) / 2));
|
|
@@ -273,44 +280,63 @@ ol {
|
|
|
273
280
|
transform: translateY(0);
|
|
274
281
|
}
|
|
275
282
|
|
|
276
|
-
/*
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
283
|
+
/* ─── Unified bullet styles ─── */
|
|
284
|
+
@layer components {
|
|
285
|
+
/* Unordered list */
|
|
286
|
+
.content-module-body-copy ul,
|
|
287
|
+
.body-copy-with-lists ul,
|
|
288
|
+
.accordion-item-body ul {
|
|
289
|
+
list-style: none;
|
|
290
|
+
padding-left: 0;
|
|
291
|
+
}
|
|
282
292
|
|
|
283
|
-
.body-copy
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
293
|
+
.content-module-body-copy ul li,
|
|
294
|
+
.body-copy-with-lists ul li,
|
|
295
|
+
.accordion-item-body ul li {
|
|
296
|
+
position: relative;
|
|
297
|
+
padding-left: 1.5rem;
|
|
298
|
+
}
|
|
287
299
|
|
|
288
|
-
.body-copy
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
300
|
+
.content-module-body-copy ul li::before,
|
|
301
|
+
.body-copy-with-lists ul li::before,
|
|
302
|
+
.accordion-item-body ul li::before {
|
|
303
|
+
content: '•';
|
|
304
|
+
color: var(--bullet-color);
|
|
305
|
+
font-size: 2em;
|
|
306
|
+
line-height: 0.8;
|
|
307
|
+
position: absolute;
|
|
308
|
+
left: 0;
|
|
309
|
+
}
|
|
296
310
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
311
|
+
/* Ordered list */
|
|
312
|
+
.content-module-body-copy ol,
|
|
313
|
+
.body-copy-with-lists ol,
|
|
314
|
+
.accordion-item-body ol {
|
|
315
|
+
list-style: none;
|
|
316
|
+
padding-left: 0;
|
|
317
|
+
counter-reset: list-counter;
|
|
318
|
+
}
|
|
302
319
|
|
|
303
|
-
.body-copy
|
|
304
|
-
|
|
305
|
-
|
|
320
|
+
.content-module-body-copy ol li,
|
|
321
|
+
.body-copy-with-lists ol li,
|
|
322
|
+
.accordion-item-body ol li {
|
|
323
|
+
position: relative;
|
|
324
|
+
padding-left: 1em;
|
|
325
|
+
counter-increment: list-counter;
|
|
326
|
+
}
|
|
306
327
|
|
|
307
|
-
.body-copy
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
328
|
+
.content-module-body-copy ol li::before,
|
|
329
|
+
.body-copy-with-lists ol li::before,
|
|
330
|
+
.accordion-item-body ol li::before {
|
|
331
|
+
content: counter(list-counter) '.';
|
|
332
|
+
color: var(--bullet-color);
|
|
333
|
+
font-size: 1em;
|
|
334
|
+
line-height: inherit;
|
|
335
|
+
position: absolute;
|
|
336
|
+
left: 0;
|
|
337
|
+
top: 0;
|
|
338
|
+
font-weight: 600;
|
|
339
|
+
}
|
|
314
340
|
}
|
|
315
341
|
|
|
316
342
|
@layer utilities {
|