diff --git a/modules/monitoring/public/css/tables.less b/modules/monitoring/public/css/tables.less index f2f5fd44f..c3a5e00fc 100644 --- a/modules/monitoring/public/css/tables.less +++ b/modules/monitoring/public/css/tables.less @@ -201,16 +201,14 @@ border-spacing: 0 1px; width: 100%; - tr[href] { + tr[href].active { + background-color: @tr-active-color; + } + + tr[href]:hover { .transition(background 0.2s ease); - &.active { - background-color: @tr-active-color; - } - - &:hover { - background-color: @tr-hover-color; - cursor: pointer; - } + background-color: @tr-hover-color; + cursor: pointer; } } diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less index dd85f2b73..54f51860c 100644 --- a/public/css/icinga/main.less +++ b/public/css/icinga/main.less @@ -162,26 +162,23 @@ a:hover > .icon-cancel { } } - tr[href] { + tr[href].active { + background-color: @tr-active-color; + border-left-color: @icinga-blue; + } + + tr[href]:hover { .transition(background 0.2s ease); - &.active { - background-color: @tr-active-color; - border-left-color: @icinga-blue; - transition: none; - } - - &:hover { - background-color: @tr-hover-color; - cursor: pointer; - } + background-color: @tr-hover-color; + cursor: pointer; } caption { border-top: 1px solid @gray-light; caption-side: bottom; - text-align: right; font-style: italic; + text-align: right; } }