Diff for /loncom/interface/loncommon.pm between versions 1.345 and 1.347

version 1.345, 2006/04/21 20:45:42 version 1.347, 2006/04/22 01:06:48
Line 3054  sub standard_css { Line 3054  sub standard_css {
     my $vlink  = &designparm($function.'.vlink',$domain);      my $vlink  = &designparm($function.'.vlink',$domain);
     my $link   = &designparm($function.'.link',$domain);      my $link   = &designparm($function.'.link',$domain);
     my $sans   = 'Arial,Helvetica,sans-serif';      my $sans   = 'Arial,Helvetica,sans-serif';
       my $data_table_head = '#CCCCFF';
       my $data_table_light = '#EEEEEE';
       my $data_table_dark = '#DDD';
     return <<END;      return <<END;
 <style type="text/css">  <style type="text/css">
 h1, h2, h3, th { font-family: $sans }  h1, h2, h3, th { font-family: $sans }
Line 3063  table.thinborder tr th, table.thinborder Line 3066  table.thinborder tr th, table.thinborder
 form, .inline { display: inline; }  form, .inline { display: inline; }
 .center { text-align: center; }  .center { text-align: center; }
 .filename {font-family: monospace;}  .filename {font-family: monospace;}
 table#LC_top_nav {  
   table#LC_top_nav, table#LC_menubuttons, table#LC_nav_location {
   width: 100%;    width: 100%;
   background: $pgbg;    background: $pgbg;
   border: 0px;    border: 0px;
Line 3072  table#LC_top_nav { Line 3076  table#LC_top_nav {
   margin: 0px;    margin: 0px;
   border-collapse: separate;    border-collapse: separate;
 }  }
   table#LC_menubuttons_mainmenu {
     background: $pgbg;
     border: 0px;
     border-spacing: 1px;
     padding: 0px;
     margin: 0px;
     border-collapse: separate;
   }
   table#LC_menubuttons img, table#LC_menubuttons_mainmenu img {
     border: 0px;
   }
 table#LC_top_nav td {  table#LC_top_nav td {
   background: $tabbg;    background: $tabbg;
 }  }
Line 3079  table#LC_top_nav td a, div#LC_top_nav a Line 3094  table#LC_top_nav td a, div#LC_top_nav a
   color: $font;    color: $font;
   font-family: $sans;    font-family: $sans;
 }  }
   .LC_menubuttons_inline_text {
     color: $font;
     font-family: $sans;
     font-size: smaller;
   }
   
   td.LC_menubuttons_text {
     color: $font;
     font-family: $sans;
   }
   td.LC_menubuttons_img {
     background: $tabbg;
   }
   .LC_current_location {
     font-family: $sans;
     background: $tabbg;
   }
   .LC_new_mail {
     font-family: $sans;
     font-weight: bold;
   }
   
   table.LC_data_table {
     border: 1px solid #000000;
     border-collapse: seperate;
   }
   table.LC_data_table tr th {
       background-color: $data_table_head;
   }
   table.LC_data_table tr td {
       background-color: $data_table_light;
   }
   table.LC_data_table tr.LC_even_row td {
       background-color: $data_table_dark;
   }
   table.LC_data_table tr.LC_empty td {
     background-color: #FFFFFF;
   }
   
 </style>  </style>
 END  END
 }  }
Line 3423  sub simple_error_page { Line 3477  sub simple_error_page {
     }      }
     return $page;      return $page;
 }  }
   
   {
       my $row_count;
       sub start_data_table {
    undef($row_count);
    return '<table class="LC_data_table">';
       }
   
       sub end_data_table {
    undef($row_count);
    return '</table>';
       }
   
       sub start_data_table_row {
    $row_count++;
    return  '<tr '.(($row_count % 2)?'':'class="LC_even_row"').'>';
       }
   
       sub end_data_table_row {
    return '</tr>';
       }
   }
   
 ###############################################  ###############################################
   
 =pod  =pod

Removed from v.1.345  
changed lines
  Added in v.1.347


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>