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

onken onken@source.lon-capa.org
Thu, 18 Mar 2010 11:17:06 -0000


onken		Thu Mar 18 11:17:06 2010 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Corrects a off-by-1px-thing between tabs and pane of Course Documents.
  Now the inactive tab(s) lies 1px above the active tab but that looks better to me.
  It generates a effect like the inactive tab(s) lies behind the active.
  
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.956 loncom/interface/loncommon.pm:1.957
--- loncom/interface/loncommon.pm:1.956	Thu Mar 18 09:00:35 2010
+++ loncom/interface/loncommon.pm	Thu Mar 18 11:17:06 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.956 2010/03/18 09:00:35 onken Exp $
+# $Id: loncommon.pm,v 1.957 2010/03/18 11:17:06 onken Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6172,6 +6172,11 @@
   color: #737373;
 }
 
+ul.LC_TabContentBigger li.active {
+  position: relative;
+  top: 1px;
+}
+
 ul.LC_TabContentBigger li a {
   background:url('/adm/lonIcons/tabbgleft.gif') left bottom no-repeat;
   height: 30px;
@@ -6191,6 +6196,7 @@
   display: block;
   float: left;
   padding: 0 30px;
+  border-bottom: 1px solid $lg_border_color;
 }
 
 ul.LC_TabContentBigger li:hover b {
@@ -6200,7 +6206,7 @@
 ul.LC_TabContentBigger li.active b {
   background:url('/adm/lonIcons/tabbgright.gif') right top no-repeat;
   color:$font;
-  border-bottom: 1px solid #FFFFFF;
+  border: 0;
   cursor:default;
 }