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

tempelho tempelho@source.lon-capa.org
Tue, 03 Mar 2009 16:57:24 -0000


tempelho		Tue Mar  3 16:57:24 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm londocs.pm 
  Log:
  Insert Icon for ul.LC_TabContent li:hover and li:active, insert LC_Right to place divs float right
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.760 loncom/interface/loncommon.pm:1.761
--- loncom/interface/loncommon.pm:1.760	Sun Mar  1 20:24:39 2009
+++ loncom/interface/loncommon.pm	Tue Mar  3 16:57:24 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.760 2009/03/01 20:24:39 harmsja Exp $
+# $Id: loncommon.pm,v 1.761 2009/03/03 16:57:24 tempelho Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5581,6 +5581,12 @@
         overflow:hidden;
 }
 
+.LC_Right {
+        float: right;
+        margin: 0px;
+        padding: 0px;
+}
+
 p, .LC_ContentBox {
 	padding: 10px;
 
@@ -5667,10 +5673,12 @@
 	text-decoration:none;
 	font-size:95%;
 	font-weight:bold;
+	padding-right: 16px;
 }
 ul.LC_TabContent li:hover, ul.LC_TabContent li.active{
-	background-color:#FFFFFF;
+        background:#FFFFFF url(/adm/lonIcons/open.gif) no-repeat scroll right center;
 	border-bottom:solid 1px #FFFFFF;
+	padding-right: 16px;
 }
 ul.LC_TabContentBigger li{
 	vertical-align:bottom;
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.349 loncom/interface/londocs.pm:1.350
--- loncom/interface/londocs.pm:1.349	Sun Mar  1 19:38:13 2009
+++ loncom/interface/londocs.pm	Tue Mar  3 16:57:24 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.349 2009/03/01 19:38:13 biermanm Exp $
+# $Id: londocs.pm,v 1.350 2009/03/03 16:57:24 tempelho Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3354,7 +3354,7 @@
     $form .= '<ul id="'.$navigation.$tid.'" class="LC_TabContent">';
     foreach my $name (sort(keys(%orderhash))){
         if($name eq 'zz'){
-            $form .= '<li onclick="javascript:hideAll(this, \''.$navigation.$tid.'\' ,\''.$content.$tid.'\');" class="active">'.&mt($orderhash{$name}).'</li>';
+            $form .= '<span class="LC_Right"><li onclick="javascript:hideAll(this, \''.$navigation.$tid.'\' ,\''.$content.$tid.'\');" class="active">'.&mt($orderhash{$name}).'</li></span>';
         }else{
             $form .= '<li onclick="javascript:showPage(this, \''.$tid.$orderhash{$name}.'\', \''.$navigation.$tid.'\',\''.$content.$tid.'\');">'.&mt($orderhash{$name}).'</li>';
         }