Fixed popover table colour change on hover

Initially the color changed with hover and looked weird, now it no
longer changes color on hover. 

Closes-Bug #1600004: Inconsistent table color in Flavor Popover

Change-Id: Iecc7048f7c0051bae9702bd8855f3a83680f3d09
This commit is contained in:
Emma Hogan 2018-01-17 16:13:14 +13:00 committed by Amelia Cordwell
parent 6c2193b994
commit 541426e793
2 changed files with 15 additions and 2 deletions

View File

@ -14,6 +14,7 @@ $main-content-min-width: 900px !default;
$sidebar-width: 220px !default;
$border-color: #dddddd !default;
$table-bg-odd: $table-bg-accent !default;
$table-bg-even: #ffffff;
/* Resource Browser */

View File

@ -119,16 +119,28 @@
}
tr.even {
td {
background-color: inherit;
background-color: $table-bg-even;
}
}
// Hover stuffs!
// Hover on main table
tr.odd:hover td,
tr.even:hover td,
tr:hover th {
background-color: $table-bg-hover;
}
// Override inheritted background color for popup right column
tr.odd div td, tr.odd:hover div td,
tr.even div td, tr.even:hover div td {
background-color: $table-bg-odd;
}
// Override inheritted background color for popup right column
tr.odd:hover div th,
tr.even:hover div th {
background-color: $table-bg-even;
}
}
// Force Table Fixed