[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

bisitz bisitz@source.lon-capa.org
Mon, 06 Jul 2009 15:29:32 -0000


bisitz		Mon Jul  6 15:29:32 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Color optimization for data_table header, pick_box_title, etc.
  Less heavy headline background colors:
  (Also brings more contrast -> accessibility improvement)
  - Use the by default lighter sidebg color instead of the tabbg color as background
  - Lighten up the background colors of odd and even rows
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.849 loncom/interface/loncommon.pm:1.850
--- loncom/interface/loncommon.pm:1.849	Thu Jul  2 15:55:08 2009
+++ loncom/interface/loncommon.pm	Mon Jul  6 15:29:31 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.849 2009/07/02 15:55:08 bisitz Exp $
+# $Id: loncommon.pm,v 1.850 2009/07/06 15:29:31 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4566,9 +4566,9 @@
 
     my $sans                 = 'Verdana,Arial,Helvetica,sans-serif';
     my $mono                 = 'monospace';
-    my $data_table_head      = $tabbg;
-    my $data_table_light     = '#EEEEEE';
-    my $data_table_dark      = '#DDDDDD';
+    my $data_table_head      = $sidebg;
+    my $data_table_light     = '#FAFAFA';
+    my $data_table_dark      = '#F0F0F0';
     my $data_table_darker    = '#CCCCCC';
     my $data_table_highlight = '#FFFF00';
     my $mail_new             = '#FFBB77';
@@ -5234,7 +5234,7 @@
 }
 
 table.LC_pick_box td.LC_pick_box_title {
-  background: $tabbg;
+  background: $sidebg;
   font-weight: bold;
   text-align: right;
   vertical-align: top;