Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data List (.c-data-list) Items that Span Multiple Rows #458

Open
wesleyboar opened this issue Feb 20, 2025 · 0 comments
Open

Data List (.c-data-list) Items that Span Multiple Rows #458

wesleyboar opened this issue Feb 20, 2025 · 0 comments

Comments

@wesleyboar
Copy link
Member

wesleyboar commented Feb 20, 2025

Goal

Add tr.c-data-list__row--start-final (from Pre-Prod Digital Rocks) into Core-Styles table.c-data-list.

Reference

Used on Project #317 Origin Data 826.

Content as of:

2025-02-20 12:40 CST
/* to use one background color for all final rows */
tr.c-data-list__row--start-final:nth-child(odd) :is(th, td),
tr.c-data-list__row--start-final:nth-child(odd) ~ tr :is(th, td) {
    background: var(--global-color-background--app);
}
tr.c-data-list__row--start-final:nth-child(even) :is(th, td),
tr.c-data-list__row--start-final:nth-child(even) ~ tr :is(th, td) {
    background: var(--global-color-primary--x-light);
}

UI

table row with class an affected element
Image Image Image
@wesleyboar wesleyboar changed the title Data List Items that Span Multiple Rows (e.g. .c-data-list__row--start-final) Data List (.c-data-list) Items that Span Multiple Rows Feb 20, 2025
@wesleyboar wesleyboar changed the title Data List (.c-data-list) Items that Span Multiple Rows Data List (.c-data-list) Items that Span Multiple Rows Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant