Module: nagvis Branch: master Commit: e7e5cfa62201f54fd946755169bba625af39b234 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=e7e5cfa62201f54fd946755169bba625af39b234
Author: Lars Michelsen <[email protected]> Date: Tue Jun 1 09:44:08 2010 +0200 Small z-index fix for header menu --- share/frontend/wui/js/wui.js | 2 ++ share/userfiles/templates/default.css | 2 +- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/share/frontend/wui/js/wui.js b/share/frontend/wui/js/wui.js index 80c17fe..82c89e3 100644 --- a/share/frontend/wui/js/wui.js +++ b/share/frontend/wui/js/wui.js @@ -253,6 +253,8 @@ function get_click_pos(e) { posx = event.clientX; posy = event.clientY; } + + // FIXME: Check the clicked area. Only handle clicks on the map! // Substract height of header menu here posy -= getHeaderHeight(); diff --git a/share/userfiles/templates/default.css b/share/userfiles/templates/default.css index 4122357..88adcdf 100644 --- a/share/userfiles/templates/default.css +++ b/share/userfiles/templates/default.css @@ -532,7 +532,7 @@ td#popupWindowContent fieldset.form label { .dropdown img {vertical-align:middle;margin-left:10px} .dropdown ul {margin:0;padding:0;list-style:none;width:205px} .dropdown li {margin:0;padding:0} -.dropdown a, .dropdown a:active, .dropdown a:visited, .dropdown li.spacer, .dropdown dl.subdropdown dt {display:block;width:193px;background:#eaf0f2;margin:0;color:#43B3CF;text-decoration:none;border-left:1px solid #a4a4a4;border-right:1px solid #a4a4a4;padding:5px} +.dropdown a, .dropdown a:active, .dropdown a:visited, .dropdown li.spacer, .dropdown dl.subdropdown dt {display:block;width:193px;background:#eaf0f2;margin:0;color:#43B3CF;text-decoration:none;border-left:1px solid #a4a4a4;border-right:1px solid #a4a4a4;padding:5px;z-index:100} .dropdown a.left, .dropdown a.left:active, .dropdown a.left:visited {float:left;width:152px;border-right:0} .dropdown a.right, .dropdown a.right:active, .dropdown a.right:visited {float:right;width:30px;border-left:1px solid #43B3CF} .dropdown a.error, .dropdown a.error:active, .dropdown a.error:visited {color:#ff0000} ------------------------------------------------------------------------------ _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
