← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7531: made all themes use css gradients

 

------------------------------------------------------------
revno: 7531
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2012-07-07 11:37:54 +0200
message:
  made all themes use css gradients
modified:
  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/india.css
  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/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/green.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/green.css	2012-06-05 21:31:46 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/green.css	2012-07-07 09:37:54 +0000
@@ -53,7 +53,16 @@
 
 div#header
 {
-  background-image: url('logo_background.png');
+  background: #639167; /* Old browsers */
+  background: -moz-linear-gradient(top,  #639167 0%, #405d43 96%, #67946c 98%, #3f5b41 100%); /* FF3.6+ */
+  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#639167), color-stop(96%,#405d43), color-stop(98%,#67946c), color-stop(100%,#3f5b41)); /* Chrome,Safari4+ */
+  background: -webkit-linear-gradient(top,  #639167 0%,#405d43 96%,#67946c 98%,#3f5b41 100%); /* Chrome10+,Safari5.1+ */
+  background: -o-linear-gradient(top,  #639167 0%,#405d43 96%,#67946c 98%,#3f5b41 100%); /* Opera 11.10+ */
+  background: -ms-linear-gradient(top,  #639167 0%,#405d43 96%,#67946c 98%,#3f5b41 100%); /* IE10+ */
+  background: linear-gradient(to bottom,  #639167 0%,#405d43 96%,#67946c 98%,#3f5b41 100%); /* W3C */
+  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#639167', endColorstr='#3f5b41',GradientType=0 ); /* IE6-9 */
+
+  /* background-image: url('logo_background.png'); */
   background-repeat: repeat-x;
   height: 46px;
   position: absolute;

=== 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-06-05 19:47:24 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/india/india.css	2012-07-07 09:37:54 +0000
@@ -53,7 +53,16 @@
 
 div#header
 {
-  background-image: url('logo_background.png');
+  background: #ff8b4f; /* Old browsers */
+  background: -moz-linear-gradient(top,  #ff8b4f 0%, #fe8b4c 7%, #ff8445 18%, #fe691a 96%, #f96215 98%, #ea5911 100%); /* FF3.6+ */
+  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff8b4f), color-stop(7%,#fe8b4c), color-stop(18%,#ff8445), color-stop(96%,#fe691a), color-stop(98%,#f96215), color-stop(100%,#ea5911)); /* Chrome,Safari4+ */
+  background: -webkit-linear-gradient(top,  #ff8b4f 0%,#fe8b4c 7%,#ff8445 18%,#fe691a 96%,#f96215 98%,#ea5911 100%); /* Chrome10+,Safari5.1+ */
+  background: -o-linear-gradient(top,  #ff8b4f 0%,#fe8b4c 7%,#ff8445 18%,#fe691a 96%,#f96215 98%,#ea5911 100%); /* Opera 11.10+ */
+  background: -ms-linear-gradient(top,  #ff8b4f 0%,#fe8b4c 7%,#ff8445 18%,#fe691a 96%,#f96215 98%,#ea5911 100%); /* IE10+ */
+  background: linear-gradient(to bottom,  #ff8b4f 0%,#fe8b4c 7%,#ff8445 18%,#fe691a 96%,#f96215 98%,#ea5911 100%); /* W3C */
+  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff8b4f', endColorstr='#ea5911',GradientType=0 ); /* IE6-9 */
+
+  /* background-image: url('logo_background.png'); */
   background-repeat: repeat-x;
   height: 46px;
   position: absolute;

=== 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-07-06 11:22:22 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/light_blue/light_blue.css	2012-07-07 09:37:54 +0000
@@ -53,14 +53,14 @@
 
 div#header
 {
-    background: #4c7eb0; /* Old browsers */
-    background: -moz-linear-gradient(top,  #4c7eb0 0%, #1d5288 96%, #33669b 98%, #074a7d 100%); /* FF3.6+ */
-    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c7eb0), color-stop(96%,#1d5288), color-stop(98%,#33669b), color-stop(100%,#074a7d)); /* Chrome,Safari4+ */
-    background: -webkit-linear-gradient(top,  #4c7eb0 0%,#1d5288 96%,#33669b 98%,#074a7d 100%); /* Chrome10+,Safari5.1+ */
-    background: -o-linear-gradient(top,  #4c7eb0 0%,#1d5288 96%,#33669b 98%,#074a7d 100%); /* Opera 11.10+ */
-    background: -ms-linear-gradient(top,  #4c7eb0 0%,#1d5288 96%,#33669b 98%,#074a7d 100%); /* IE10+ */
-    background: linear-gradient(to bottom,  #4c7eb0 0%,#1d5288 96%,#33669b 98%,#074a7d 100%); /* W3C */
-    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c7eb0', endColorstr='#074a7d',GradientType=0 ); /* IE6-9 */
+  background: #4c7eb0; /* Old browsers */
+  background: -moz-linear-gradient(top,  #4c7eb0 0%, #1d5288 96%, #33669b 98%, #074a7d 100%); /* FF3.6+ */
+  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c7eb0), color-stop(96%,#1d5288), color-stop(98%,#33669b), color-stop(100%,#074a7d)); /* Chrome,Safari4+ */
+  background: -webkit-linear-gradient(top,  #4c7eb0 0%,#1d5288 96%,#33669b 98%,#074a7d 100%); /* Chrome10+,Safari5.1+ */
+  background: -o-linear-gradient(top,  #4c7eb0 0%,#1d5288 96%,#33669b 98%,#074a7d 100%); /* Opera 11.10+ */
+  background: -ms-linear-gradient(top,  #4c7eb0 0%,#1d5288 96%,#33669b 98%,#074a7d 100%); /* IE10+ */
+  background: linear-gradient(to bottom,  #4c7eb0 0%,#1d5288 96%,#33669b 98%,#074a7d 100%); /* W3C */
+  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c7eb0', endColorstr='#074a7d',GradientType=0 ); /* IE6-9 */
 
   /* background-image: url('logo_background.png'); */
   background-repeat: repeat-x;

=== 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-06-05 19:47:24 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/vietnam/vietnam.css	2012-07-07 09:37:54 +0000
@@ -53,7 +53,16 @@
 
 div#header
 {
-  background-image: url('logo_background.png');
+  background: #c63635; /* Old browsers */
+  background: -moz-linear-gradient(top,  #c63635 0%, #b40303 96%, #c83b3b 98%, #b30100 100%); /* FF3.6+ */
+  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c63635), color-stop(96%,#b40303), color-stop(98%,#c83b3b), color-stop(100%,#b30100)); /* Chrome,Safari4+ */
+  background: -webkit-linear-gradient(top,  #c63635 0%,#b40303 96%,#c83b3b 98%,#b30100 100%); /* Chrome10+,Safari5.1+ */
+  background: -o-linear-gradient(top,  #c63635 0%,#b40303 96%,#c83b3b 98%,#b30100 100%); /* Opera 11.10+ */
+  background: -ms-linear-gradient(top,  #c63635 0%,#b40303 96%,#c83b3b 98%,#b30100 100%); /* IE10+ */
+  background: linear-gradient(to bottom,  #c63635 0%,#b40303 96%,#c83b3b 98%,#b30100 100%); /* W3C */
+  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c63635', endColorstr='#b30100',GradientType=0 ); /* IE6-9 */
+
+  /* background-image: url('logo_background.png'); */
   background-repeat: repeat-x;
   height: 46px;
   position: absolute;