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

state- & hovereffects applied to whole subtable in a row (wip 2.3.0 & 3.0.0) #6478

Closed
KOTRET opened this issue Jan 7, 2013 · 1 comment
Closed
Labels
Milestone

Comments

@KOTRET
Copy link

KOTRET commented Jan 7, 2013

tables in tables inherit the parent hovereffect and state-indicator (success, error...) and apply them on all their rows.

example here: http://jsfiddle.net/2kEXb/

some parts of this already have been fixed by adding the child-selector between tr and td.
fix would be:

.table tbody tr {
  &.success > td {
    background-color: @successBackground;
  }
  ...
}
...
// Hover states for .table-hover
.table-hover tbody tr {
  &.success:hover > td {
    background-color: darken(@successBackground, 5%);
  }
  ...
}
@mdo
Copy link
Member

mdo commented Jan 12, 2013

Fixed in #6346. Thanks!

@mdo mdo closed this as completed Jan 12, 2013
stempler pushed a commit to stempler/bootstrap that referenced this issue Apr 11, 2014
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants