Module: check_mk
Branch: master
Commit: 3c266bc47d9decbd063184cf1b3eeaa88a5128e9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3c266bc47d9dec…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Aug 22 11:01:56 2016 +0200
Cleaned up foldable container treeangle hover handling
---
web/htdocs/check_mk.css | 1 +
web/htdocs/htmllib.py | 2 --
web/htdocs/pages.css | 1 +
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/check_mk.css b/web/htdocs/check_mk.css
index aaef6e0..77c5cf6 100644
--- a/web/htdocs/check_mk.css
+++ b/web/htdocs/check_mk.css
@@ -255,6 +255,7 @@ img.treeangle {
height: 12px;
margin-right: 3px;
margin-top: 0px;
+ cursor: pointer;
-webkit-transition: -webkit-transform .2s ease-in-out;
-moz-transition: -moz-transform .2s ease-in-out;
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index ac102ba..022b51a 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -1741,8 +1741,6 @@ class html(GUITester):
onclick = ' onclick="toggle_foldable_container(\'%s\',
\'%s\', \'%s\')"' % (
treename, id, fetch_url and fetch_url or '');
- onclick += ' onmouseover="this.style.cursor=\'pointer\';"
'
- onclick += ' onmouseout="this.style.cursor=\'auto\';"
'
if indent == "nform":
self.write('<tr class=heading><td id="nform.%s.%s" %s
colspan=2>' % (treename, id, onclick))
diff --git a/web/htdocs/pages.css b/web/htdocs/pages.css
index 6a88730..16d5f09 100644
--- a/web/htdocs/pages.css
+++ b/web/htdocs/pages.css
@@ -838,6 +838,7 @@ table.nform tr.heading > td {
height: 20px;
vertical-align: middle;
padding-left: 10px;
+ cursor: pointer;
}
table.nform tr.heading > td:hover {
background-image: url("images/white_20percent.png");