--- loncom/interface/loncommon.pm 2011/12/27 20:14:32 1.1048 +++ loncom/interface/loncommon.pm 2012/01/09 19:56:28 1.1052 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1048 2011/12/27 20:14:32 foxr Exp $ +# $Id: loncommon.pm,v 1.1052 2012/01/09 19:56:28 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -5033,7 +5033,6 @@ body { a:focus, a:focus img { color: red; - background: yellow; } form, .inline { @@ -5128,35 +5127,36 @@ div.LC_confirm_box .LC_success img { } .LC_discussion { - background: $tabbg; + background: $data_table_dark; border: 1px solid black; margin: 2px; } -.LC_disc_action_links_bar { - background: $tabbg; - border: none; - margin: 4px; -} - .LC_disc_action_left { + background: $sidebg; text-align: left; + padding: 4px; + margin: 2px; } .LC_disc_action_right { + background: $sidebg; text-align: right; + padding: 4px; + margin: 2px; } .LC_disc_new_item { background: white; border: 2px solid red; - margin: 2px; + margin: 4px; + padding: 4px; } .LC_disc_old_item { background: white; - border: 1px solid black; - margin: 2px; + margin: 4px; + padding: 4px; } table.LC_pastsubmission { @@ -5278,7 +5278,7 @@ td.LC_table_cell_checkbox { vertical-align: middle; } -li.LC_menubuttons_inline_text img,a { +li.LC_menubuttons_inline_text img { cursor:pointer; text-decoration: none; } @@ -6133,7 +6133,6 @@ div.LC_createcourse { display:none; } -a:hover, ol.LC_primary_menu a:hover, ol#LC_MenuBreadcrumbs a:hover, ol#LC_PathBreadcrumbs a:hover, @@ -7098,11 +7097,11 @@ ENDMODAL } sub modal_link { - my ($link,$linktext,$width,$height,$target,$scrolling)=@_; + my ($link,$linktext,$width,$height,$target,$scrolling,$title)=@_; unless ($width) { $width=480; } unless ($height) { $height=400; } unless ($scrolling) { $scrolling='yes'; } - return ''. + return ''. $linktext.''; }