← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3188: Whole top menu link can be hovered to make menu appear

 

------------------------------------------------------------
revno: 3188
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-03-28 16:43:01 +0200
message:
  Whole top menu link can be hovered to make menu appear
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/light_blue/light_blue.css
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/light_blue/light_blue.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/light_blue/light_blue.css	2011-03-24 10:38:51 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/light_blue/light_blue.css	2011-03-28 14:43:01 +0000
@@ -101,35 +101,31 @@
   color: #ffffff;
   font-weight: bold;
   text-align: center;
-  line-height: 44px;
+  line-height: 58px;
   cursor: pointer;
 }
 
 div#menuLink1
 {
   position: absolute;
-  top: 7px;
   left: 582px;
 }
 
 div#menuLink2
 {
   position: absolute;
-  top: 7px;
   left: 682px;
 }
 
 div#menuLink3
 {
   position: absolute;
-  top: 7px;
   left: 782px;
 }
 
 div#menuLink4
 {
   position: absolute;
-  top: 7px;
   left: 882px;
 }
 

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css	2011-03-28 14:15:48 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css	2011-03-28 14:43:01 +0000
@@ -315,22 +315,14 @@
   padding: 0.5em;
 }
 
-div#headerMessageContainer
-{
-  position: fixed;
-  top: 0px;
-  width: 100%;
-  height: 26px;
-  z-index: 20;
-}
-
 div#headerMessage
 {
+  top: 0px;
+  left: 180px;
+  position: fixed;
   display: none;
   height: 26px;
-  width: 560px;
-  margin-left: auto;
-  margin-right: auto;
+  width: 380px;
   background-color: #ffffbf;
   border-right: 1px solid #cccc00;
   border-bottom: 1px solid #cccc00;

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm	2011-03-24 10:14:07 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm	2011-03-28 14:43:01 +0000
@@ -91,7 +91,7 @@
         
     <div id="header">
       <img id="header1" src="../dhis-web-commons/css/${stylesheetDirectory}/logo_left.png">
-      <img id="header2" src="../images/logo_banner.png"#if( $startModule ) onclick="window.location.href='../${startModule}/index.action'" style="cursor:pointer"#end>
+      <img id="header2" src="../dhis-web-commons/css/${stylesheetDirectory}/logo_banner.png"#if( $startModule ) onclick="window.location.href='../${startModule}/index.action'" style="cursor:pointer"#end>
       <img id="header3" src="../dhis-web-commons/css/${stylesheetDirectory}/logo_right.png">
 
       <img id="menuSeparator1" src="../dhis-web-commons/css/${stylesheetDirectory}/logo_separator.png">
@@ -165,9 +165,7 @@
       </div>      
     </div>
         
-    <div id="headerMessageContainer">
-      <div id="headerMessage"></div>
-    </div>        
+    <div id="headerMessage"></div>
         
     <div class="page" id="mainPage">
       #if( !$page )