@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.
@@ -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
- .content-module-body-copy ul,
90
- .content-module-body-copy ol {
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-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAYAAAC0VX7mAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC+SURBVHgBlZIhDsJAEEX/TC2ispIj9AglHAFFSAMcgoSqtqrhFEAIQXICkkokV8BVIrDMsG2QpDt9YtXbn8z8IfyITlWCgHNSihUaglBD5dgssgMGQF3YZZdDUPw1mItmvilhDYzO1cr92vdaIpMmzWoYYBAvvZZbBYwwFIlPIkUMI0ygl09SIIQRVtKH12obtwbiI/4G3fnACHftSU+ooBxyi0H7vK+3ejSbPt1oblc07vZKeofoukm35rCWL0j/OzNOthmaAAAAAElFTkSuQmCC");
177
+ list-style: none;
180
178
  margin: 1em 0 0 1em;
181
- padding-left: 2em;
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
- padding: 0;
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
- /* Apply bullet color to list markers */
277
- .body-copy-with-lists ul,
278
- .body-copy-with-lists ol {
279
- list-style: none;
280
- padding-left: 0;
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-with-lists ul li {
284
- position: relative;
285
- padding-left: 1.5em;
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-with-lists ul li::before {
289
- content: '•';
290
- color: var(--bullet-color);
291
- font-size: 2em;
292
- position: absolute;
293
- left: 0;
294
- line-height: 0.8;
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
- .body-copy-with-lists ol li {
298
- position: relative;
299
- padding-left: 1.8em;
300
- counter-increment: list-counter;
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-with-lists ol {
304
- counter-reset: list-counter;
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-with-lists ol li::before {
308
- content: counter(list-counter) '.';
309
- color: var(--bullet-color);
310
- font-size: 1.2em;
311
- position: absolute;
312
- left: 0;
313
- font-weight: 600;
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 {