[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /interface loncommon.pm
raeburn
raeburn@source.lon-capa.org
Tue, 18 May 2010 00:35:18 -0000
raeburn Tue May 18 00:35:18 2010 EDT
Modified files: (Branch: version_2_10_X)
/loncom/interface loncommon.pm
Log:
- Backport 1.950, 1.951, 1.952.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.948 loncom/interface/loncommon.pm:1.948.2.1
--- loncom/interface/loncommon.pm:1.948 Mon Mar 8 14:51:14 2010
+++ loncom/interface/loncommon.pm Tue May 18 00:35:17 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.948 2010/03/08 14:51:14 raeburn Exp $
+# $Id: loncommon.pm,v 1.948.2.1 2010/05/18 00:35:17 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4874,12 +4874,12 @@
my $table_header = '#DDDDDD';
my $feedback_link_bg = '#BBBBBB';
my $lg_border_color = '#C8C8C8';
+ my $button_hover = '#BF2317';
my $border = ($env{'browser.type'} eq 'explorer' ||
$env{'browser.type'} eq 'safari' ) ? '0 2px 0 2px'
: '0 3px 0 4px';
-
return <<END;
/* needed for iframe to allow 100% height in FF */
@@ -5141,6 +5141,10 @@
vertical-align: middle;
}
+li.LC_menubuttons_inline_text img,a {
+ cursor:pointer;
+}
+
.LC_menubuttons_link {
text-decoration: none;
}
@@ -6019,7 +6023,7 @@
ul#LC_secondary_menu a:hover,
.LC_FormSectionClearButton input:hover
ul.LC_TabContent li:hover a {
- color:#BF2317;
+ color:$button_hover;
text-decoration:none;
}
@@ -6170,7 +6174,7 @@
}
ul.LC_TabContent {
- min-height:1.5em;
+ min-height:20px;
}
ul.LC_TabContent li {
@@ -6178,6 +6182,7 @@
padding: 0 10px 0 10px;
background-color:$tabbg;
border-bottom:solid 1px $lg_border_color;
+ border-right: solid 1px $font;
}
ul.LC_TabContent .right {
@@ -6191,13 +6196,23 @@
font-size:95%;
font-weight:bold;
padding-right: 16px;
+ min-height:20px;
+}
+
+ul.LC_TabContent li a:hover {
+ color: $button_hover;
+}
+
+ul.LC_TabContent li:hover {
+ color: $button_hover;
+ cursor:pointer;
}
-ul.LC_TabContent li:hover,
ul.LC_TabContent li.active {
+ color: $font;
background:#FFFFFF url(/adm/lonIcons/open.gif) no-repeat scroll right center;
- border-bottom:solid 2px #FFFFFF;
- padding-right: 16px;
+ border-bottom:solid 1px #FFFFFF;
+ cursor: default;
}
#maincoursedoc {