@cooperco/cooper-component-library 0.1.86 → 0.1.88

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,45 +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
- }
88
-
89
- .content-module-body-copy ul,
90
- .content-module-body-copy ol {
91
- padding-left: 1rem;
92
- }
93
-
94
- .content-module-body-copy ul {
95
- list-style: none;
96
- padding-left: 1rem;
97
- }
98
-
99
- .content-module-body-copy ul li {
100
- display: flex;
101
- align-items: flex-start;
102
- }
103
-
104
- .content-module-body-copy ul li::before {
105
- content: "•";
106
- color: var(--bullet-color);
107
- font-size: 1.2em;
108
- line-height: inherit;
109
- flex-shrink: 0;
110
- margin-right: 0.5rem;
111
- margin-left: -1rem;
112
- }
87
+ } */
113
88
 
114
- .content-module-body-copy ol {
115
- list-style: decimal;
116
- padding-left: 1.5rem;
117
- }
118
-
119
- .content-module-body-copy ol li::marker {
120
- color: var(--bullet-color);
121
- font-weight: 600;
122
- }
89
+ /* Bullet list styles in @layer components
90
+ and shared across .content-module-body-copy and .body-copy-with-lists */
123
91
 
124
92
  .content-module-body-copy {
125
93
  white-space: pre-line;
@@ -206,29 +174,29 @@ ol {
206
174
  }
207
175
 
208
176
  .content-module-body-copy table ul {
209
- list-style: disc;
177
+ list-style: none;
210
178
  margin: 1em 0 0 1em;
211
- padding-left: 1rem;
179
+ padding-left: 0;
212
180
  text-align: left;
213
181
  }
214
182
 
215
183
  .content-module-body-copy table ul li {
216
- display: list-item;
184
+ position: relative;
185
+ padding-left: 1.5em;
217
186
  margin: 0;
218
- padding: 0;
219
187
  }
220
188
 
221
- .content-module-body-copy table ul li::before {
222
- content: none;
223
- display: none;
189
+ .content-module-body-copy table td:first-child {
190
+ --bullet-color: var(--rosemary);
224
191
  }
225
192
 
226
- .content-module-body-copy table ul li::marker {
227
- color: var(--rosemary);
193
+ .content-module-body-copy table td:nth-child(2) {
194
+ --bullet-color: var(--iris);
228
195
  }
229
196
 
230
- .content-module-body-copy table td:nth-child(2) ul li::marker {
231
- color: var(--iris);
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);
232
200
  }
233
201
 
234
202
  .content-module-body-copy table ul p {
@@ -240,7 +208,7 @@ ol {
240
208
  }
241
209
 
242
210
  .accordion-item-body ul,
243
- ol {
211
+ .accordion-item-body ol {
244
212
  padding-left: 1rem;
245
213
  }
246
214
 
@@ -250,7 +218,6 @@ ol {
250
218
  }
251
219
  }
252
220
 
253
-
254
221
  @media (min-width: 1024px) {
255
222
  .container-hero-right {
256
223
  padding-right: max(20px, calc((100% - 1024px) / 2));
@@ -313,44 +280,63 @@ ol {
313
280
  transform: translateY(0);
314
281
  }
315
282
 
316
- /* Apply bullet color to list markers */
317
- .body-copy-with-lists ul,
318
- .body-copy-with-lists ol {
319
- list-style: none;
320
- padding-left: 0;
321
- }
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
+ }
322
292
 
323
- .body-copy-with-lists ul li {
324
- position: relative;
325
- padding-left: 1.5em;
326
- }
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
+ }
327
299
 
328
- .body-copy-with-lists ul li::before {
329
- content: '•';
330
- color: var(--bullet-color);
331
- font-size: 2em;
332
- position: absolute;
333
- left: 0;
334
- line-height: 0.8;
335
- }
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
+ }
336
310
 
337
- .body-copy-with-lists ol li {
338
- position: relative;
339
- padding-left: 1.8em;
340
- counter-increment: list-counter;
341
- }
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
+ }
342
319
 
343
- .body-copy-with-lists ol {
344
- counter-reset: list-counter;
345
- }
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
+ }
346
327
 
347
- .body-copy-with-lists ol li::before {
348
- content: counter(list-counter) '.';
349
- color: var(--bullet-color);
350
- font-size: 1.2em;
351
- position: absolute;
352
- left: 0;
353
- 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
+ }
354
340
  }
355
341
 
356
342
  @layer utilities {