[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
onken
onken@source.lon-capa.org
Tue, 16 Mar 2010 16:00:43 -0000
onken Tue Mar 16 16:00:43 2010 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
Changes in css for course editor.
- swap out color for hovered buttons in a variable $button_hover
- embellish optic and usability of "document creation/import" navigation bar
* (red) hover color
* show default mouse-cursor on active-pane-button
* remove white background on hover a pane-button
* red colored text of pane-buttons when hovering (like the main navigation-bar)
* add a small line on the right of pane-buttons
* change the mixture of css-declaration in 'em' and 'px'for navigation-bar-height (set height to 20px)
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.951 loncom/interface/loncommon.pm:1.952
--- loncom/interface/loncommon.pm:1.951 Tue Mar 16 13:16:15 2010
+++ loncom/interface/loncommon.pm Tue Mar 16 16:00:42 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.951 2010/03/16 13:16:15 onken Exp $
+# $Id: loncommon.pm,v 1.952 2010/03/16 16:00:42 onken Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4825,6 +4825,7 @@
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'
@@ -5969,7 +5970,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;
}
@@ -6120,7 +6121,7 @@
}
ul.LC_TabContent {
- min-height:1.5em;
+ min-height:20px;
}
ul.LC_TabContent li {
@@ -6128,6 +6129,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 {
@@ -6141,14 +6143,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;
- cursor:pointer;
+ border-bottom:solid 1px #FFFFFF;
+ cursor: default;
}
#maincoursedoc {