Skip to content

Commit

Permalink
Fixed issue #15428: 15428: cross-hover in matrix questions (theme opt…
Browse files Browse the repository at this point in the history
…ion) not implemented for array by column (#1645)
  • Loading branch information
gabrieljenik committed Nov 20, 2020
1 parent 70f3f7d commit 92e625e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions themes/survey/fruity/views/subviews/header/custom_header.twig
Expand Up @@ -225,20 +225,27 @@
{% if (aSurveyInfo.options.crosshover == "on" ) %}
@media (min-width: 1024px){
table.ls-answers.table-hover
table.ls-answers.table-hover,
table.ls-answers.table-col-hover
{
overflow: hidden;
}
table.ls-answers.table-hover>tbody>tr:hover td,
table.ls-answers.table-hover>tbody>tr:hover th {
table.ls-answers.table-hover>tbody>tr:hover th,
table.ls-answers.table-col-hover>tbody>tr:hover td,
table.ls-answers.table-col-hover>tbody>tr:hover th {
background-color: {{ darkencss(aSurveyInfo.options.questionbackgroundcolor, 50, 0.2) }};
}
table.ls-answers.table-hover>tbody>tr>td, th {
position: relative;
}
table.ls-answers.table-hover>tbody>tr>td:hover::after {
table.ls-answers.table-col-hover>tbody>tr>td, th {
position: relative;
}
table.ls-answers.table-hover>tbody>tr>td:hover::after,
table.ls-answers.table-col-hover>tbody>tr>td:hover::after {
content: "";
position: absolute;
background-color: {{ darkencss(aSurveyInfo.options.questionbackgroundcolor, 50, 0.2) }};
Expand Down

0 comments on commit 92e625e

Please sign in to comment.