From 2fa2c858acca626db6fcca9d05d89ef66b940f74 Mon Sep 17 00:00:00 2001 From: Petr Duda Date: Fri, 15 May 2020 22:27:23 +0200 Subject: [PATCH] Fix #16110 - Incorrect mouseover highlighting Signed-off-by: Petr Duda --- themes/bootstrap/scss/_common.scss | 1 + themes/metro/scss/_common.scss | 8 ++++++++ themes/pmahomme/scss/_common.scss | 1 + 3 files changed, 10 insertions(+) diff --git a/themes/bootstrap/scss/_common.scss b/themes/bootstrap/scss/_common.scss index 80b9cdd767..f284aed784 100644 --- a/themes/bootstrap/scss/_common.scss +++ b/themes/bootstrap/scss/_common.scss @@ -570,6 +570,7 @@ table tbody:first-of-type tr:not(.nopointer):hover th, // hovered table rows #table_index tbody:hover tr, #table_index tbody:hover th, +#table_index tbody:hover td, table tr.hover:not(.nopointer) th { background: linear-gradient(#ced6df, #b6c6d7); color: $browse-pointer-color; diff --git a/themes/metro/scss/_common.scss b/themes/metro/scss/_common.scss index 4f2e85dbd1..24a33487be 100644 --- a/themes/metro/scss/_common.scss +++ b/themes/metro/scss/_common.scss @@ -694,6 +694,14 @@ table tr.hover:not(.nopointer) th { color: $th-pointer-color; } +/* hovered index table rows */ +#table_index tbody:hover tr, +#table_index tbody:hover th, +#table_index tbody:hover td { + background: $browse-marker-background; + color: $main-color; +} + /* marks table rows/cells if the db field is in a where condition */ .condition { diff --git a/themes/pmahomme/scss/_common.scss b/themes/pmahomme/scss/_common.scss index fcf6833cc8..d80c878bc6 100644 --- a/themes/pmahomme/scss/_common.scss +++ b/themes/pmahomme/scss/_common.scss @@ -610,6 +610,7 @@ table tbody:first-of-type tr:not(.nopointer):hover th, // hovered table rows #table_index tbody:hover tr, #table_index tbody:hover th, +#table_index tbody:hover td, table tr.hover:not(.nopointer) th { background: linear-gradient(#ced6df, #b6c6d7); color: $browse-pointer-color;