From 7fa9310aef26a947a8b0f03996185da5a6def171 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 24 Sep 2015 10:26:57 +0200 Subject: [PATCH] CSS: Add :hover and .active style for tr on action-table refs #5543 --- public/css/icinga/main.less | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less index 81c059ca70..f5b148d8e7 100644 --- a/public/css/icinga/main.less +++ b/public/css/icinga/main.less @@ -5,8 +5,19 @@ } .action-table { - tr:hover { - cursor: pointer; + td { + padding: @vertical-padding @horizontal-padding; + } + + tr { + &.active { + background-color: @gray-lighter; + } + + &:hover { + background-color: @gray-lightest; + cursor: pointer; + } } } @@ -19,6 +30,6 @@ } .text-small { - font-size: @font-size-small; color: @text-color-light; + font-size: @font-size-small; }