[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm lonpreferences.pm
tempelho
tempelho@source.lon-capa.org
Mon, 04 May 2009 19:35:31 -0000
tempelho Mon May 4 19:35:31 2009 EDT
Modified files:
/loncom/interface loncommon.pm lonpreferences.pm
Log:
Using the new parameter in default.tab 1.14 fontmenu to get better contrasts to the top menu. The fontmenu color is now available in the user preferences.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.800 loncom/interface/loncommon.pm:1.801
--- loncom/interface/loncommon.pm:1.800 Fri May 1 01:07:55 2009
+++ loncom/interface/loncommon.pm Mon May 4 19:35:31 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.800 2009/05/01 01:07:55 raeburn Exp $
+# $Id: loncommon.pm,v 1.801 2009/05/04 19:35:31 tempelho Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4496,6 +4496,7 @@
my $img = &designparm($function.'.img', $domain);
my $tabbg = &designparm($function.'.tabbg', $domain);
my $font = &designparm($function.'.font', $domain);
+ my $fontmenu = &designparm($function.'.fontmenu', $domain);
#second colour for later usage
my $sidebg = &designparm($function.'.sidebg',$domain);
my $pgbg_or_bgcolor =
@@ -4682,6 +4683,10 @@
padding: 0px;
}
+table#LC_title_bar a {
+ color: $fontmenu;
+}
+
table#LC_title_bar,
table.LC_breadcrumbs,
table#LC_title_bar.LC_with_remote {
@@ -4690,6 +4695,7 @@
border-style: solid;
border-width: $border;
background: $pgbg;
+ color: $fontmenu;
font-family: $sans;
border-collapse: collapse;
padding: 0px;
@@ -4710,7 +4716,7 @@
table#LC_title_bar .LC_title_bar_who {
background: $tabbg;
- color: $font;
+ color: $fontmenu;
font: small $sans;
text-align: right;
margin: 0px;
@@ -4775,7 +4781,7 @@
table.LC_breadcrumbs td,
table.LC_docs_path td {
background: $tabbg;
- color: $font;
+ color: $fontmenu;
font-family: $sans;
font-size: smaller;
}
@@ -4783,7 +4789,7 @@
table.LC_breadcrumbs td.LC_breadcrumbs_component,
table.LC_docs_path td.LC_docs_path_component {
background: $tabbg;
- color: $font;
+ color: $fontmenu;
font-family: $sans;
font-size: larger;
text-align: right;
@@ -4899,6 +4905,7 @@
table.LC_prior_tries tr th {
font-weight: bold;
background-color: $data_table_head;
+ color:$fontmenu;
font-size:90%;
}
@@ -4946,6 +4953,7 @@
table.LC_nested_outer tr th {
font-weight: bold;
+ color:$fontmenu;
background-color: $data_table_head;
font-size: small;
border-bottom: 1px solid #000000;
@@ -5797,6 +5805,7 @@
padding:3px 15px 3px 15px;
margin:0px;
background-color:$tabbg;
+ color:$fontmenu;
border-bottom:solid 1px $lg_border_color;
}
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.155 loncom/interface/lonpreferences.pm:1.156
--- loncom/interface/lonpreferences.pm:1.155 Wed Apr 29 16:57:29 2009
+++ loncom/interface/lonpreferences.pm Mon May 4 19:35:31 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Preferences
#
-# $Id: lonpreferences.pm,v 1.155 2009/04/29 16:57:29 bisitz Exp $
+# $Id: lonpreferences.pm,v 1.156 2009/05/04 19:35:31 tempelho Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1081,6 +1081,7 @@
'tabbg' => 'Header Background',
'sidebg'=> 'Header Border',
'font' => 'Font',
+ 'fontmenu' => 'Font Menu',
'link' => 'Un-Visited Link',
'vlink' => 'Visited Link',
'alink' => 'Active Link');
@@ -1155,6 +1156,7 @@
'tabbg' => 'Header Background',
'sidebg'=> 'Header Border',
'font' => 'Font',
+ 'fontmenu' => 'Font Menu',
'link' => 'Un-Visited Link',
'vlink' => 'Visited Link',
'alink' => 'Active Link');