← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8513: Replaced js for intro item hover effect with css

 

------------------------------------------------------------
revno: 8513
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2012-10-12 18:21:05 +0200
message:
  Replaced js for intro item hover effect with css
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/dom.js
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/green.css
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/india/dom.js
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/india/india.css
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/light_blue/dom.js
  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/vietnam/dom.js
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/vietnam/vietnam.css


--
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/green/dom.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/dom.js	2012-06-05 19:47:24 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/dom.js	2012-10-12 16:21:05 +0000
@@ -1,17 +1,4 @@
 
-$( document ).ready( function()
-{
-  $( "li.introItem" ).mouseover( function() // Over intro item
-  {
-    $( this ).css( "background-color", "#9dc69c" );
-  });
-  
-  $( "li.introItem" ).mouseout( function() // Out intro item
-  {
-    $( this ).css( "background-color", "#d3e5d3" );
-  });
-});
-
 // Called from main/Leftbar
 function setMainPageNormal()
 {

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/green.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/green.css	2012-10-11 14:21:08 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/green.css	2012-10-12 16:21:05 +0000
@@ -448,6 +448,11 @@
   border-radius: 3px;
 }
 
+.introItem:hover
+{
+  background-color: #9dc69c;
+}
+
 .introItemHeader
 {
   font-family: LiberationSansBold, arial;

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/india/dom.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/india/dom.js	2012-06-05 19:47:24 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/india/dom.js	2012-10-12 16:21:05 +0000
@@ -1,19 +1,4 @@
 
-$( document ).ready( function()
-{
-  $( "li.introItem" ).mouseover( function() // Over intro item
-  {
-    $( this ).css( "background-color", "#a4d2a3" );
-    $( this ).css( "border", "1px solid #ffffff" );
-  });
-  
-  $( "li.introItem" ).mouseout( function() // Out intro item
-  {
-    $( this ).css( "background-color", "#d5efd5" );
-    $( this ).css( "border", "1px solid #d5efd5" );
-  });
-});
-
 // Called from main/Leftbar
 function setMainPageNormal()
 {

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/india/india.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/india/india.css	2012-10-11 14:21:08 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/india/india.css	2012-10-12 16:21:05 +0000
@@ -467,6 +467,11 @@
   border-radius: 3px;
 }
 
+.introItem:hover
+{
+  background-color: #a4d2a3;
+}
+
 .introItemHeader
 {
   font-family: LiberationSansBold, arial;

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/light_blue/dom.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/light_blue/dom.js	2012-06-05 19:47:24 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/light_blue/dom.js	2012-10-12 16:21:05 +0000
@@ -1,17 +1,4 @@
 
-$( document ).ready( function()
-{
-  $( "li.introItem" ).mouseover( function() // Over intro item
-  {
-    $( this ).css( "background-color", "#a4d2a3" );
-  });
-  
-  $( "li.introItem" ).mouseout( function() // Out intro item
-  {
-    $( this ).css( "background-color", "#d5efd5" );
-  });
-});
-
 // Called from main/Leftbar
 function setMainPageNormal()
 {

=== 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	2012-10-11 14:21:08 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/light_blue/light_blue.css	2012-10-12 16:21:05 +0000
@@ -444,6 +444,11 @@
   border-radius: 3px;
 }
 
+.introItem:hover
+{
+  background-color: #a4d2a3;
+}
+
 .introItemHeader
 {
   font-family: LiberationSansBold, arial;

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/vietnam/dom.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/vietnam/dom.js	2012-06-05 19:47:24 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/vietnam/dom.js	2012-10-12 16:21:05 +0000
@@ -1,17 +1,4 @@
 
-$( document ).ready( function()
-{
-  $( "li.introItem" ).mouseover( function() // Over intro item
-  {
-    $( this ).css( "background-color", "#a4d2a3" );
-  });
-  
-  $( "li.introItem" ).mouseout( function() // Out intro item
-  {
-    $( this ).css( "background-color", "#d5efd5" );
-  });
-});
-
 // Called from main/Leftbar
 function setMainPageNormal()
 {

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/vietnam/vietnam.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/vietnam/vietnam.css	2012-10-11 14:21:08 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/vietnam/vietnam.css	2012-10-12 16:21:05 +0000
@@ -442,6 +442,11 @@
   border-radius: 3px;
 }
 
+.introItem:hover
+{
+  background-color: #a4d2a3;
+}
+
 .introItemHeader
 {
   font-family: LiberationSansBold, arial;