[LON-CAPA-cvs] cvs: loncom /html/adm/lonDomColors default.tab /interface loncommon.pm lonhtmlcommon.pm lonmenu.pm

tempelho tempelho@source.lon-capa.org
Sat, 16 May 2009 18:06:42 -0000


tempelho		Sat May 16 18:06:42 2009 EDT

  Modified files:              
    /loncom/html/adm/lonDomColors	default.tab 
    /loncom/interface	lonhtmlcommon.pm loncommon.pm lonmenu.pm 
  Log:
  Making some changes in the default color schemes. Insert a "subbox" for comming up navigation and breadcrumbs using the second color sidebg.
  
  
Index: loncom/html/adm/lonDomColors/default.tab
diff -u loncom/html/adm/lonDomColors/default.tab:1.15 loncom/html/adm/lonDomColors/default.tab:1.16
--- loncom/html/adm/lonDomColors/default.tab:1.15	Fri May 15 09:33:18 2009
+++ loncom/html/adm/lonDomColors/default.tab	Sat May 16 18:06:34 2009
@@ -15,14 +15,14 @@
 admin.pgbg=#FFFFFF
 admin.tabbg=#FFCC33
 admin.font=#551100
-admin.fontmenu=#A75002
+admin.fontmenu=#7f3c00
 admin.sidebg=#FFFFCC
 admin.link=#663300
 admin.vlink=#666600
 admin.alink=#CC0000
 coordinator.img=/adm/lonInterFace/coordinator.jpg
 coordinator.pgbg=#FFFFFF
-coordinator.tabbg=#75B540
+coordinator.tabbg=#85B75C
 coordinator.font=#000044
 coordinator.fontmenu=#013E10
 coordinator.sidebg=#C5DB99
@@ -31,16 +31,16 @@
 coordinator.alink=#CC0000
 author.img=/adm/lonInterFace/author.jpg
 author.pgbg=#FFFFFF
-author.tabbg=#669966
+author.tabbg=#94BD94
 author.font=#002200
-author.fontmenu=#D2FED2
-author.sidebg=#ECF8EC
+author.fontmenu=#2C3F2C
+author.sidebg=#E6EBE6
 author.link=#003333
 author.vlink=#006666
 author.alink=#CC0000
 student.img=/adm/lonInterFace/student.jpg
 student.pgbg=#FFFFFF
-student.tabbg=#6699CC
+student.tabbg=#79A9DA
 student.font=#551100
 student.fontmenu=#1B0276
 student.sidebg=#E5E5FF
@@ -49,10 +49,10 @@
 student.alink=#CC0000
 norole.img=/adm/lonInterFace/student.jpg
 norole.pgbg=#FFFFFF
-norole.tabbg=#e6eaef
+norole.tabbg=#DAE0E5
 norole.font=#551100
 norole.fontmenu=#303030
-norole.sidebg=#d9edff
+norole.sidebg=#E6EAEF
 norole.link=#993300
 norole.vlink=#996600
 norole.alink=#CC0000
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.213 loncom/interface/lonhtmlcommon.pm:1.214
--- loncom/interface/lonhtmlcommon.pm:1.213	Mon May 11 16:18:53 2009
+++ loncom/interface/lonhtmlcommon.pm	Sat May 16 18:06:41 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.213 2009/05/11 16:18:53 bisitz Exp $
+# $Id: lonhtmlcommon.pm,v 1.214 2009/05/16 18:06:41 tempelho Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1333,7 +1333,7 @@
         my ($component,$component_help,$menulink,$helplink,$css_class,$no_mt, $no_realBreadcrumb) = @_;
         #
 	$css_class ||= 'LC_breadcrumbs';
-        my $Str1 = '<ol id="LC_MenuBreadcrumbs">';
+        my $Str1 = '<div id="LC_head_subbox"><ol id="LC_MenuBreadcrumbs">';
 	
 		if($no_realBreadcrumb){
 			$Str1 = '<ul class="LC_CourseBreadcrumbs">';
@@ -1425,7 +1425,7 @@
 		if($no_realBreadcrumb){
         	$Str1 .= $links.'</ul>';
 		} else {
-        	$Str1 .= $links.'</ol>';		
+        	$Str1 .= $links.'</ol></div>';		
 		}
         #
         if (defined($component)) {
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.818 loncom/interface/loncommon.pm:1.819
--- loncom/interface/loncommon.pm:1.818	Sat May 16 07:59:09 2009
+++ loncom/interface/loncommon.pm	Sat May 16 18:06:41 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.818 2009/05/16 07:59:09 tempelho Exp $
+# $Id: loncommon.pm,v 1.819 2009/05/16 18:06:41 tempelho Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4674,6 +4674,7 @@
 }
     
 table#LC_title_bar {
+  clear: both;
   /*display: none;*/
 }
 
@@ -4689,6 +4690,7 @@
   font-family: $sans;
   border-collapse: collapse;
   padding: 0;
+  margin: 0;
 }
 
 table.LC_docs_path {
@@ -4712,15 +4714,15 @@
   margin: 0;
 }
 
-table#LC_title_bar .LC_title_bar_name {
+table#LC_title_bar div.LC_title_bar_name {
   margin: 0;
 }
 
-table#LC_title_bar .LC_title_bar_role {
+table#LC_title_bar div.LC_title_bar_role {
   margin: 0;
 }
 
-table#LC_title_bar .LC_title_bar_realm {
+table#LC_title_bar div.LC_title_bar_realm {
   margin: 0;
 }
 
@@ -4797,6 +4799,16 @@
  font-size: 70%;
 }
 
+#LC_head_subbox {
+ clear:both;
+ background: $sidebg;
+ border-bottom: 1px solid #999999;
+ height: 32px;
+ line-height: 32px; 
+ margin: 0 0 10px;
+ padding: 0;
+}
+
 .LC_fontsize_medium {
  font-size: 85%;
 }
@@ -5941,25 +5953,16 @@
 ol#LC_MenuBreadcrumbs, 
 ol#LC_PathBreadcrumbs, 
 ul.LC_CourseBreadcrumbs {
-	border-top: solid 1px RGB(255, 255, 255);
-	height: 20px;
-	line-height: 20px;
-	vertical-align: bottom;
-	margin: 0 0 30px 0;
 	padding-left: 10px;
+	margin: 0;
 	list-style-position: inside;
-	background: url(/adm/lonIcons/lightGreyBG.png) repeat-x left top;
 }
 
 ol#LC_MenuBreadcrumbs li, 
 ol#LC_PathBreadcrumbs li, 
 ul.LC_CourseBreadcrumbs li {
-/*
-	background: url(/adm/lonIcons/arrow_white.png) no-repeat left center;
-*/
 	display: inline;
 	padding: 0 0 0 10px;
-/*	vertical-align: bottom; */
 	overflow:hidden;
 }
 
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.264 loncom/interface/lonmenu.pm:1.265
--- loncom/interface/lonmenu.pm:1.264	Wed May 13 03:21:14 2009
+++ loncom/interface/lonmenu.pm	Sat May 16 18:06:41 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.264 2009/05/13 03:21:14 raeburn Exp $
+# $Id: lonmenu.pm,v 1.265 2009/05/16 18:06:41 tempelho Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -381,7 +381,6 @@
 <script type="text/javascript">
 // END LON-CAPA Internal
 </script>
-<br clear="all" />
 $reg
 ENDINLINEMENU
     } else {