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

ehlerst ehlerst@source.lon-capa.org
Tue, 10 Feb 2009 12:20:18 -0000


ehlerst		Tue Feb 10 12:20:18 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm londocs.pm 
  Log:
  added hover and active to LC_TabContent and LC_TabContentBigger.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.743 loncom/interface/loncommon.pm:1.744
--- loncom/interface/loncommon.pm:1.743	Sat Feb  7 20:45:27 2009
+++ loncom/interface/loncommon.pm	Tue Feb 10 12:20:17 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.743 2009/02/07 20:45:27 raeburn Exp $
+# $Id: loncommon.pm,v 1.744 2009/02/10 12:20:17 ehlerst Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5618,7 +5618,7 @@
 	color: RGB(80, 80, 80);
 	text-decoration: none;
 }
-ol#LC_TabMainMenueContent, ul.LC_TabContent,
+ol#LC_TabMainMenueContent, ul.LC_TabContent ,
 ul.LC_TabContentBigger {
 	display:block;
 	list-style:none;
@@ -5626,7 +5626,7 @@
 	padding: 0px;
 }
 
-ol#LC_TabMainMenuContent li, ul.LC_TabContent,
+ol#LC_TabMainMenuContent li, ul.LC_TabContent li,
 ul.LC_TabContentBigger li{
 	display: inline;
 	border-right: solid 1px $lg_border_color;
@@ -5655,13 +5655,17 @@
 ul.LC_TabContent li{
 	vertical-align:middle;
 	padding:0px 10px 0px 10px;
+	background-color:$lg_border_color;
 }
-ul.LC_TabContent li a, ul.LC_TabContent li{
+ul.LC_TabContent li a, ul.LC_TabContent li{ 
 	color:rgb(47,47,47);
 	text-decoration:none;
 	font-size:95%;
 	font-weight:bold;
 }
+ul.LC_TabContent li:hover, ul.LC_TabContent li.active{
+	background-color:#FFFFFF;
+}
 ul.LC_TabContentBigger li{
 	vertical-align:bottom;
 	border-top:solid 1px $lg_border_color;
@@ -5670,6 +5674,9 @@
 	margin-left:2px;
 	background:url(/adm/lonIcons/lightGreyBG.png) repeat-x left top;
 }
+ul.LC_TabContentBigger li:hover, ul.LC_TabContentBigger li.active{
+	background:url(/adm/lonIcons/lightGreyBG.png) repeat-x right bottom;
+}
 ul.LC_TabContentBigger li, ul.LC_TabContentBigger li a{
 	font-size:110%;
 	font-weight:bold;
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.337 loncom/interface/londocs.pm:1.338
--- loncom/interface/londocs.pm:1.337	Wed Feb  4 14:45:51 2009
+++ loncom/interface/londocs.pm	Tue Feb 10 12:20:18 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.337 2009/02/04 14:45:51 ehlerst Exp $
+# $Id: londocs.pm,v 1.338 2009/02/10 12:20:18 ehlerst Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2888,7 +2888,7 @@
     }
 # --------------------------------------------------------- Main tab structure
     my $activeClass = 1;
-    $r->print('<div class="LC_ContentBoxSpecial"><ul class="LC_TabContent" id="mainnav">');
+    $r->print('<div class="LC_ContentBoxSpecial"><ul class="LC_TabContentBigger" id="mainnav">');
     if (($standard) && ($allowed) && (!$forcesupplement)) {
 	my $active = '';
         if($activeClass == 1){