Skip to content

Set background hover color for each table color variant#30046

Closed
Cinnead wants to merge 4 commits intotwbs:masterfrom
Cinnead:alter-hover-states-for-table-cells
Closed

Set background hover color for each table color variant#30046
Cinnead wants to merge 4 commits intotwbs:masterfrom
Cinnead:alter-hover-states-for-table-cells

Conversation

@Cinnead
Copy link
Contributor

@Cinnead Cinnead commented Jan 17, 2020

Instead of setting a background color on the tr tag, we set the background-color on the th or td tags below the tr tag. This way we can set the correct background-color for the th and td tags that also have color variant class (table-primary, table-secondary, ..)

closes #28160

@Cinnead Cinnead requested a review from a team as a code owner January 17, 2020 12:32
@mdo
Copy link
Member

mdo commented Mar 6, 2020

Punting on this for a background-image: linear-gradient() hack of sorts in #30342. Thanks!

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

Successfully merging this pull request may close these issues.

Suggestion for .table-hover

3 participants