--- loncom/interface/loncommon.pm 2007/02/05 18:40:41 1.506 +++ loncom/interface/loncommon.pm 2007/02/27 22:16:02 1.507 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.506 2007/02/05 18:40:41 raeburn Exp $ +# $Id: loncommon.pm,v 1.507 2007/02/27 22:16:02 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3836,6 +3836,18 @@ table.LC_data_table, table.LC_mail_list .LC_data_table_dense { font-size: small; } +table.LC_nested_outer { + border: 1px solid #000000; + border-collapse: separate; + border-spacing: 0px; + width: 100%; +} +table.LC_nested { + border: 0px; + border-collapse: separate; + border-spacing: 0px; + width: 100%; +} table.LC_data_table tr th, table.LC_calendar tr th, table.LC_mail_list tr th { font-weight: bold; background-color: $data_table_head; @@ -3854,36 +3866,50 @@ table.LC_data_table tr.LC_data_table_hig background-color: $data_table_darker; } table.LC_data_table tr.LC_empty_row td, -table.LC_whatsnew tr.LC_empty_row td { +table.LC_nested tr.LC_empty_row td { background-color: #FFFFFF; font-weight: bold; font-style: italic; text-align: center; padding: 8px; } -table.LC_whatsnew tr.LC_empty_row td { +table.LC_nested tr.LC_empty_row td { padding: 4ex } -table.LC_whatsnew { +table.LC_nested_outer tr th { + font-weight: bold; + background-color: $data_table_head; + font-size: smaller; + border-bottom: 1px solid #000000; +} +table.LC_nested_outer tr td.LC_subheader { + background-color: $data_table_head; + font-weight: bold; + font-size: small; + border-bottom: 1px solid #000000; + text-align: right; } - -table.LC_whatsnew tr th, -table.LC_whatsnew tr.LC_info_row td { +table.LC_nested tr.LC_info_row td { background-color: #CCC; font-weight: bold; font-size: small; - text-align: right; + text-align: center; +} +table.LC_nested tr.LC_info_row td.LC_left_item { + text-align: left; } -table.LC_whatsnew tr td { +table.LC_nested td { background-color: #FFF; font-size: small; - text-align: right; } -table.LC_whatsnew tr td.LC_first_item { - text-align: left; +table.LC_nested_outer tr th.LC_right_item, +table.LC_nested tr.LC_info_row td.LC_right_item, +table.LC_nested tr.LC_odd_row td.LC_right_item, +table.LC_nested tr td.LC_right_item { + text-align: right; } -table.LC_whatsnew tr.LC_odd_row td { +table.LC_nested tr.LC_odd_row td { background-color: #EEE; }