Module: check_mk
Branch: master
Commit: e9b29c071b7b679be5049468186370f687742570
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e9b29c071b7b67…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Oct 29 14:17:02 2015 +0100
Fixed sidebar search hover effect
---
web/plugins/sidebar/search.py | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/web/plugins/sidebar/search.py b/web/plugins/sidebar/search.py
index a1475e1..9f1a677 100644
--- a/web/plugins/sidebar/search.py
+++ b/web/plugins/sidebar/search.py
@@ -58,6 +58,19 @@ sidebar_snapins["search"] = {
z-index:100;
}
+#mk_side_search img.iconbutton {
+ opacity: 1;
+ filter: alpha(opacity=100); /* For IE8 and earlier */
+}
+
+#mk_side_search img.iconbutton:hover {
+ filter: grayscale(20%);
+ -webkit-filter: grayscale(20%);
+ -moz-filter: grayscale(20%);
+ -ms-filter: grayscale(20%);
+ -o-filter: grayscale(20%);
+}
+
#mk_side_search input {
margin: 0;
padding: 0px 5px;