[icinga-checkins] icinga.org: icingaweb2/master: CSS: Disable :hover transition on tr (WIP)

git at icinga.org git at icinga.org
Thu Feb 25 14:52:57 CET 2016


Module: icingaweb2
Branch: master
Commit: 5a76895105775e886d88084ee437087fecfd1a72
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=5a76895105775e886d88084ee437087fecfd1a72

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Thu Feb 25 13:04:26 2016 +0100

CSS: Disable :hover transition on tr (WIP)

If any tr is hovered and auto-refresh kicks in, the tr will be hovered again which leads to "flickering".

We should find good a way to use transitions w/o flickering.

refs #11073

---

 modules/monitoring/public/css/tables.less |    2 --
 public/css/icinga/main.less               |    2 --
 2 files changed, 4 deletions(-)

diff --git a/modules/monitoring/public/css/tables.less b/modules/monitoring/public/css/tables.less
index 7644f32..bb2027c 100644
--- a/modules/monitoring/public/css/tables.less
+++ b/modules/monitoring/public/css/tables.less
@@ -207,8 +207,6 @@
   }
 
   tr[href]:hover {
-    .transition(background 0.2s ease);
-
     background-color: @tr-hover-color;
     cursor: pointer;
   }
diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less
index 54f5186..82e4456 100644
--- a/public/css/icinga/main.less
+++ b/public/css/icinga/main.less
@@ -168,8 +168,6 @@ a:hover > .icon-cancel {
   }
 
   tr[href]:hover {
-    .transition(background 0.2s ease);
-
     background-color: @tr-hover-color;
     cursor: pointer;
   }



More information about the icinga-checkins mailing list