diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index e760daae8..88db0c044 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1748,8 +1748,8 @@ table { background-color: #f9f9f9; } -.table tbody tr:hover td, -.table tbody tr:hover th { +.table-hover tbody tr:hover td, +.table-hover tbody tr:hover th { background-color: #f5f5f5; } diff --git a/docs/base-css.html b/docs/base-css.html index 413639934..9eed2bea2 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -566,6 +566,45 @@ For example, <code>section</code> should be wrapped as inline. <table class="table table-bordered"> … </table> + + +
.table-hoverEnable a hover state on table rows within a <tbody>.
| # | +First Name | +Last Name | +Username | +
|---|---|---|---|
| 1 | +Mark | +Otto | +@mdo | +
| 2 | +Jacob | +Thornton | +@fat | +
| 3 | +Larry the Bird | +||
+<table class="table table-hover"> + … +</table>
.table-condensed{{_i}}.table-hover{{/i}}{{_i}}Enable a hover state on table rows within a <tbody>.{{/i}}
| # | +{{_i}}First Name{{/i}} | +{{_i}}Last Name{{/i}} | +{{_i}}Username{{/i}} | +
|---|---|---|---|
| 1 | +Mark | +Otto | +@mdo | +
| 2 | +Jacob | +Thornton | +@fat | +
| 3 | +Larry the Bird | +||
+<table class="table table-hover"> + … +</table>
{{_i}}.table-condensed{{/i}}