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

harmsja harmsja@source.lon-capa.org
Sun, 22 Feb 2009 18:30:27 -0000


harmsja		Sun Feb 22 18:30:27 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm lonhtmlcommon.pm 
  Log:
  deleted the resize feature after LC_columnSection. it resized LC_ContentBox and 
  LC_ContentBoxSpecial to 400px. If you want to change the size of an element please use LC_xxxBox for 300, 400, 500, 600 and 800px. example: 
  <div class="LC_ContentBox LC_400Box">
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.751 loncom/interface/loncommon.pm:1.752
--- loncom/interface/loncommon.pm:1.751	Thu Feb 19 10:58:56 2009
+++ loncom/interface/loncommon.pm	Sun Feb 22 18:30:27 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.751 2009/02/19 10:58:56 weissno Exp $
+# $Id: loncommon.pm,v 1.752 2009/02/22 18:30:27 harmsja Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4525,7 +4525,7 @@
 
 /* just for tests */
 .LC_300Box { width:300px; }
-.LC_200Box {width:200px; }
+.LC_400Box {width:400px; }
 .LC_500Box {width:500px; }
 .LC_600Box {width:600px; }
 .LC_800Box {width:800px;}
@@ -5819,11 +5819,6 @@
 	margin: 10px 20px 10px 0px;
 	overflow:hidden;
 }
-div.LC_columnSection > .LC_ContentBox,
-div.LC_columnSection > .LC_ContentBoxSpecial
-	{
-	width: 400px;
-}
 
 .ContentBoxSpecialTemplate
 {
@@ -5837,9 +5832,7 @@
 div.LC_columnSection > .ContentBoxSpecialTemplate
         {
         width: 600px;
-
 }
-
 .clear{
 	clear: both;
 	line-height: 0px;
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.202 loncom/interface/lonhtmlcommon.pm:1.203
--- loncom/interface/lonhtmlcommon.pm:1.202	Thu Feb 19 18:01:37 2009
+++ loncom/interface/lonhtmlcommon.pm	Sun Feb 22 18:30:27 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.202 2009/02/19 18:01:37 droeschl Exp $
+# $Id: lonhtmlcommon.pm,v 1.203 2009/02/22 18:30:27 harmsja Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2117,7 +2117,7 @@
         push @categories, 
             $div->($h3->(mt($$category{categorytitle}), {class=>"LC_hcell"}).
             $ul->(join('' ,@links),  {class =>"LC_ListStyleNormal" }),
-            {class=>"LC_ContentBoxSpecial"}) if scalar(@links);
+            {class=>"LC_ContentBoxSpecial LC_400Box"}) if scalar(@links);
     }
 
     # wrap the joined @categories in another <div> (column layout)