Merge "Fixed popover table colour change on hover"

This commit is contained in:
Zuul 2018-02-17 11:15:13 +00:00 committed by Gerrit Code Review
commit 8798d87e48
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