/// @type Color
$table-head-background: smart-scale($table-background, $table-color-scale / 2) !default;
+/// Default color of header rows on hover.
+/// @type List
+$table-head-row-hover: darken($table-head-background, $table-hover-scale) !default;
+
/// Default color for footer background.
/// @type Color
$table-foot-background: smart-scale($table-background, $table-color-scale) !default;
+/// Default color of footer rows on hover.
+/// @type List
+$table-foot-row-hover: darken($table-foot-background, $table-hover-scale) !default;
+
/// Default font color for header.
/// @type Color
$table-head-font-color: $body-font-color !default;
/// Slightly darkens the table rows on hover.
@mixin table-hover {
- tr {
+ thead tr {
+ //Darkens the table header rows on hover.
+ &:hover {
+ background-color: $table-head-row-hover;
+ }
+ }
+
+ tfoot tr {
+ //Darkens the table footer rows on hover.
+ &:hover {
+ background-color: $table-foot-row-hover;
+ }
+ }
+
+ tbody tr {
//Darkens the non-striped table rows on hover.
&:hover {
background-color: $table-row-hover;