--- loncom/interface/loncommon.pm 2010/03/18 09:00:35 1.956 +++ loncom/interface/loncommon.pm 2010/03/18 17:25:52 1.960 @@ -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.960 2010/03/18 17:25:52 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3687,10 +3687,13 @@ sub submlink { } if (!$symb) { $symb=&Apache::lonnet::symbread(); } $symb=&escape($symb); - if ($target) { $target="target=\"$target\""; } - return ''.$text.''; + if ($target) { $target=" target=\"$target\""; } + return + ''.$text.''; } ############################################## @@ -4840,7 +4843,8 @@ body { color:$font; } -a:focus { +a:focus, +a:focus img { color: red; background: yellow; } @@ -6118,7 +6122,7 @@ ul.LC_TabContent { ul.LC_TabContent li { vertical-align:middle; - padding: 0 10px 0 10px; + padding: 0 16px 0 10px; background-color:$tabbg; border-bottom:solid 1px $lg_border_color; border-right: solid 1px $font; @@ -6134,12 +6138,14 @@ ul.LC_TabContent li { text-decoration:none; font-size:95%; font-weight:bold; - padding-right: 16px; min-height:20px; } -ul.LC_TabContent li a:hover { +ul.LC_TabContent li a:hover, +ul.LC_TabContent li a:focus { color: $button_hover; + background:none; + outline:none; } ul.LC_TabContent li:hover { @@ -6154,6 +6160,11 @@ ul.LC_TabContent li.active { cursor: default; } +ul.LC_TabContent li.active a { + color:$font; + background:#FFFFFF; + outline: none; +} #maincoursedoc { clear:both; } @@ -6172,6 +6183,11 @@ ul.LC_TabContentBigger li { 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; @@ -6179,6 +6195,7 @@ ul.LC_TabContentBigger li a { text-align: center; display: block; text-decoration: none; + outline: none; } ul.LC_TabContentBigger li.active a { @@ -6191,6 +6208,7 @@ ul.LC_TabContentBigger li b { display: block; float: left; padding: 0 30px; + border-bottom: 1px solid $lg_border_color; } ul.LC_TabContentBigger li:hover b { @@ -6200,7 +6218,7 @@ ul.LC_TabContentBigger li:hover b { 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; }