[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface loncommon.pm
raeburn
raeburn at source.lon-capa.org
Fri May 18 12:07:55 EDT 2012
raeburn Fri May 18 16:07:55 2012 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface loncommon.pm
Log:
- For 2.11
- Backport 1.1076.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1075.2.1 loncom/interface/loncommon.pm:1.1075.2.2
--- loncom/interface/loncommon.pm:1.1075.2.1 Tue May 15 23:01:24 2012
+++ loncom/interface/loncommon.pm Fri May 18 16:07:54 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1075.2.1 2012/05/15 23:01:24 raeburn Exp $
+# $Id: loncommon.pm,v 1.1075.2.2 2012/05/18 16:07:54 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5058,6 +5058,7 @@
# }
+
if ($env{'request.noversionuri'} =~ m{^/res/adm/pages/}) {
unless ($env{'request.noversionuri'} =~ m{/res/adm/pages/bookmarkmenu/}) {
if ($dc_info) {
@@ -6447,6 +6448,7 @@
ol.LC_primary_menu {
float: right;
margin: 0;
+ padding: 0;
background-color: $pgbg_or_bgcolor;
}
@@ -6455,9 +6457,46 @@
}
ol.LC_primary_menu li {
- display: inline;
- padding: 5px 5px 0 10px;
+ color: RGB(80, 80, 80);
+ vertical-align: middle;
+ text-align: left;
+ list-style: none;
+ float: left;
+}
+
+ol.LC_primary_menu li a {
+ display: block;
+ margin: 0;
+ padding: 0 5px 0 10px;
+ text-decoration: none;
+}
+
+ol.LC_primary_menu li ul {
+ display: none;
+ width: 10em;
+ background-color: $data_table_light;
+}
+
+ol.LC_primary_menu li:hover ul, ol.LC_primary_menu li.hover ul {
+ display: block;
+ position: absolute;
+ margin: 0;
+ padding: 0;
+}
+
+ol.LC_primary_menu li:hover li, ol.LC_primary_menu li.hover li {
+ font-size: 90%;
vertical-align: top;
+ float: none;
+}
+
+ol.LC_primary_menu li:hover li a, ol.LC_primary_menu li.hover li a {
+ background-color:$data_table_light
+}
+
+ol.LC_primary_menu li li a:hover {
+ color:$button_hover;
+ background-color:$data_table_dark;
}
ol.LC_primary_menu li img {
More information about the LON-CAPA-cvs
mailing list