--- loncom/interface/loncommon.pm 2025/02/17 18:30:42 1.1455 +++ loncom/interface/loncommon.pm 2025/02/17 18:48:06 1.1456 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1455 2025/02/17 18:30:42 raeburn Exp $ +# $Id: loncommon.pm,v 1.1456 2025/02/17 18:48:06 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -7051,7 +7051,7 @@ END if ($dc_info) { $dc_info = qq|<span class="LC_cusr_subheading">$dc_info</span>|; } - $bodytag .= qq|<div id="LC_nav_bar" role="navigation" aria-label="$labeltext">$left $role<br />|; + $bodytag .= qq|<div id="LC_nav_bar" role="navigation" aria-label="$labeltext">$left $role</div>|; unless (($realm eq '') && ($dc_info eq '')) { $bodytag .= qq|<div id="LC_realm" role="complementary"><em>$realm</em> $dc_info</div>|; } @@ -7334,8 +7334,6 @@ form, .inline { .LC_heading_2 { font-size: 1.17em; - margin-top: 1em; - margin-bottom: 1em; } .LC_menus_content.shown{ @@ -8006,29 +8004,58 @@ table#LC_helpmenu fieldset legend { font-size: larger; } -table#LC_helpmenu_links { - width: 100%; - border: 1px solid black; +.LC_helpdesk_headbox { + border: 2px groove threedface; + padding: 1em; +} + +h1.LC_helpdesk_legend { + float: left; + margin: -1.7em 0 0; + padding: 0 .5em; background: $pgbg; + font-size: 1em; + font-weight: bold; +} + +h1.LC_helpdesk_title { + display: inline; + font-size: 1em; + line-height: 2.5em; + margin: 0; padding: 0; - border-spacing: 1px; + vertical-align: bottom; } -table#LC_helpmenu_links tr td { - padding: 1px; +.LC_helpdesk_links { + border: 1px solid black; + padding: 3px; background: $tabbg; text-align: center; font-weight: bold; + display: inline; + margin-right: -6px; +} + +.LC_helpdesk_img, +.LC_helpdesk_text { + padding: 0; + margin: 0; + border: 0; + display: inline; } -table#LC_helpmenu_links a:link, -table#LC_helpmenu_links a:visited, -table#LC_helpmenu_links a:active { +.LC_helpdesk_img a:link, +.LC_helpdesk_img a:visited, +.LC_helpdesk_img a:active, +.LC_helpdesk_text a:link, +.LC_helpdesk_text a:visited, +.LC_helpdesk_text a:active { text-decoration: none; color: $font; } -table#LC_helpmenu_links a:hover { +div.LC_helpdesk_text a:hover { text-decoration: underline; color: $vlink; }