# HG changeset patch # User ymh # Date 1299088709 -3600 # Node ID b48e917e708bda6ab5533df5a17baf27ada9a76a # Parent 12cd95dc134fed24ac2e2a5f17b9d7dcdad7c655 correct version style diff -r 12cd95dc134f -r b48e917e708b src/ldt/ldt/templates/ldt/ldt_base.html --- a/src/ldt/ldt/templates/ldt/ldt_base.html Wed Mar 02 16:32:28 2011 +0100 +++ b/src/ldt/ldt/templates/ldt/ldt_base.html Wed Mar 02 18:58:29 2011 +0100 @@ -61,6 +61,21 @@ }}); }); + $(document).ready(function() { + + $("#version").css('visibility','hidden'); + + $("#versionwrapper").hover( + function(event) { + $("#version",event.target).css('visibility','visible'); + }, + function(event) { + $("#version",event.target).css('visibility','hidden'); + } + ); + + }); + {% endblock %} @@ -131,8 +146,10 @@ -
{{VERSION}}
-
©2010 IRI / Centre Pompidou
+ {% endblock %} diff -r 12cd95dc134f -r b48e917e708b web/static/ldt/css/style.css --- a/web/static/ldt/css/style.css Wed Mar 02 16:32:28 2011 +0100 +++ b/web/static/ldt/css/style.css Wed Mar 02 18:58:29 2011 +0100 @@ -106,44 +106,9 @@ border-top: 1px solid gray; } -.version -{ - text-align: right; - color: white; - font-size:9px; -} - -.version a:link -{ - text-decoration: none; - color: white; - text-decoration: bold; - font-weight: bold; - border-bottom-style: none; -} - -.version a:hover +#copyright_version { - color: #2c8084; - text-decoration: none; - font-weight: bold; - border-bottom-width: 0px; - border-bottom-style: none; -} - -.version a:active -{ - color: white; - text-decoration: none; - font-weight: bold; - border-bottom-style: none; -} - -.version a:visited -{ - color: white; - font-weight: bold; - border-bottom-style: none; + text-align: right; } .small