Skip to content

Commit

Permalink
Css: Do not allow :hover to affect the .active list elements
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 authored and nilmerg committed Aug 7, 2024
1 parent 781b97f commit 41a92e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions modules/monitoring/public/css/tables.less
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,15 @@
-moz-transform: none; /* Firefox collapses border spacing due to the above */
}

tr[href].active {
background-color: @tr-active-color;
}

tr[href]:hover {
background-color: @tr-hover-color;
cursor: pointer;
}

tr[href].active {
background-color: @tr-active-color;
}

tr[href].state-outdated:not(:hover):not(.active) td:not(.state-col) {
opacity: 0.7;
}
Expand Down
10 changes: 5 additions & 5 deletions public/css/icinga/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -217,15 +217,15 @@ a:hover > .icon-cancel {
}
}

tr[href].active {
background-color: @tr-active-color;
border-left-color: @icinga-blue;
}

tr[href]:hover {
background-color: @tr-hover-color;
cursor: pointer;
}

tr[href].active {
background-color: @tr-active-color;
border-left-color: @icinga-blue;
}
}

.name-value-table {
Expand Down

0 comments on commit 41a92e9

Please sign in to comment.