Module: nagvis Branch: master Commit: 03493381f26273b2367702f66a7eea61c47608e5 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=03493381f26273b2367702f66a7eea61c47608e5
Author: Lars Michelsen <[email protected]> Date: Tue Apr 27 23:35:23 2010 +0200 #271 Fixed hover menu width in some browsers (Old FF, IE6, IE7,...) --- share/userfiles/templates/default.automap.html | 2 +- share/userfiles/templates/default.css | 91 +++------------------ share/userfiles/templates/default.hover.css | 4 +- share/userfiles/templates/default.map.html | 2 +- share/userfiles/templates/default.overview.html | 2 +- share/userfiles/templates/default.wuiMap.html | 2 +- share/userfiles/templates/default.wuiWelcome.html | 2 +- 7 files changed, 17 insertions(+), 88 deletions(-) diff --git a/share/userfiles/templates/default.automap.html b/share/userfiles/templates/default.automap.html index 184df86..7ac9295 100644 --- a/share/userfiles/templates/default.automap.html +++ b/share/userfiles/templates/default.automap.html @@ -1,4 +1,4 @@ -<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div> +<div id="overDiv"></div> <div id="map" class="map"> {$automap} </div> diff --git a/share/userfiles/templates/default.css b/share/userfiles/templates/default.css index f1075d4..422b0ce 100644 --- a/share/userfiles/templates/default.css +++ b/share/userfiles/templates/default.css @@ -35,36 +35,16 @@ body, table, th, td { font-size: 12pt; } -table {width:100%;} - -div { - margin: 0; - padding: 0; -} - -img { - border: 0 -} +table {width:100%} +div {margin:0;padding:0} +img {border:0} /* Global DIVs */ -.main { - margin: 0; - padding: 0; - background-color: white; - color: black; -} - -.header { - top: 0; - left: 0; - padding: 0; -} - -.map { - position : relative; - top: 0; - left: 0; -} +.main {margin:0;padding:0;background-color:white;color:black} +.header {top:0;left:0;padding:0} +.map {position:relative;top:0;left:0} +#overDiv {position:absolute;visibility:hidden;z-index:1000;width:auto} +#overDiv table {width:auto} /* Welcome page */ div.welcome {padding:20px;width:600px} @@ -74,13 +54,8 @@ div.welcome a,div.welcome a:active,div.welcome a:visited {color:#43B3CF} div.welcome a:hover {color:#779D2A} /* Automap */ -#automap { - z-index: 100; -} - -#automap shape { - z-index: 100; -} +#automap {z-index:100} +#automap shape {z-index:100} /* Message-Box */ .messageBox { @@ -146,24 +121,6 @@ div.welcome a:hover {color:#779D2A} padding: 2px; } -/* Ajax hover template styles */ -table.ajax_hover_table { - border-collapse:collapse; -} - -table.ajax_hover_table td, table.ajax_hover_table th { - border: 1px #a4a4a4 solid; - padding: 2px; - - font-size: 9px; - color: #314455; -} - -table.ajax_hover_table th { - text-align: center; - background-color: #eee; -} - /* Style on info pages (index.php?info, index.php) */ div.infopage table { margin: auto; @@ -223,34 +180,6 @@ div.infopage a:hover { filter:alpha(opacity=50); } -table.infopage_hover_table { - width: 250px; - background-color: #F5F5F5; - border-collapse:collapse; -} - -table.infopage_hover_table td, table.infopage_hover_table th { - border: 1px #a4a4a4 solid; - padding: 2px; - - font-size: 12px; - color: #314455; -} - -table.infopage_hover_table th { - text-align: center; - background-color: #eee; -} - -table.infopage_hover_table td.label { - text-align: center; - background-color: #eee; -} - -table.infopage_hover_table label { - font-weight: bold; -} - /** * * Status message dialog diff --git a/share/userfiles/templates/default.hover.css b/share/userfiles/templates/default.hover.css index 1f5b5e4..55941c3 100644 --- a/share/userfiles/templates/default.hover.css +++ b/share/userfiles/templates/default.hover.css @@ -25,8 +25,8 @@ * @author Lars Michelsen <[email protected]> */ -table.hover_table {border-collapse:collapse} -table.hover_table td, table.hover_table th {border:1px #a4a4a4 solid;padding:2px;font-size:9px;color:#314455;} +table.hover_table {border-collapse:collapse;width:auto} +table.hover_table td, table.hover_table th {border:1px #a4a4a4 solid;padding:2px;font-size:9px;color:#314455} table.hover_table th {text-align:center;background-color:#eee} table.hover_table spacer {height:3px;background-color:#eee} table.hover_table td.label {text-align:center;background-color:#eee} diff --git a/share/userfiles/templates/default.map.html b/share/userfiles/templates/default.map.html index 44089fc..7eff476 100644 --- a/share/userfiles/templates/default.map.html +++ b/share/userfiles/templates/default.map.html @@ -1,4 +1,4 @@ -<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div> +<div id="overDiv"></div> <div id="map" class="map"></div> <script type="text/javascript"> diff --git a/share/userfiles/templates/default.overview.html b/share/userfiles/templates/default.overview.html index e32f0e6..4fc0188 100644 --- a/share/userfiles/templates/default.overview.html +++ b/share/userfiles/templates/default.overview.html @@ -1,4 +1,4 @@ -<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div> +<div id="overDiv"></div> <div id="overview" class="infopage"></div> <script type="text/javascript"> diff --git a/share/userfiles/templates/default.wuiMap.html b/share/userfiles/templates/default.wuiMap.html index 47020bb..fba9f91 100644 --- a/share/userfiles/templates/default.wuiMap.html +++ b/share/userfiles/templates/default.wuiMap.html @@ -1,4 +1,4 @@ -<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div> +<div id="overDiv"></div> <script type="text/javascript"> oGeneralProperties = {$generalProperties}; diff --git a/share/userfiles/templates/default.wuiWelcome.html b/share/userfiles/templates/default.wuiWelcome.html index 9924460..58d2f92 100644 --- a/share/userfiles/templates/default.wuiWelcome.html +++ b/share/userfiles/templates/default.wuiWelcome.html @@ -1,4 +1,4 @@ -<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div> +<div id="overDiv"></div> <script type="text/javascript"> oGeneralProperties = {$generalProperties}; ------------------------------------------------------------------------------ _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
