[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm lonnavmaps.pm lonparmset.pm

bisitz bisitz@source.lon-capa.org
Thu, 03 Dec 2009 17:50:42 -0000


bisitz		Thu Dec  3 17:50:42 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm lonparmset.pm lonnavmaps.pm 
  Log:
  Tidy up CSS: Removed unused/unneeded styles
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.924 loncom/interface/loncommon.pm:1.925
--- loncom/interface/loncommon.pm:1.924	Thu Dec  3 17:15:37 2009
+++ loncom/interface/loncommon.pm	Thu Dec  3 17:50:42 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.924 2009/12/03 17:15:37 bisitz Exp $
+# $Id: loncommon.pm,v 1.925 2009/12/03 17:50:42 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5628,12 +5628,12 @@
 span.LC_prior_custom,
 span.LC_prior_reaction,
 span.LC_prior_math {
-  font-family: monospace;
+  font-family: $mono;
   white-space: pre;
 }
 
 span.LC_prior_string {
-  font-family: monospace;
+  font-family: $mono;
   white-space: pre;
 }
 
@@ -6321,11 +6321,6 @@
   text-decoration: none;
 }
 
-table.LC_tableBrowseRes tr.LC_trOdd,
-table.LC_tableOfContent tr.LC_trOdd {
-  background-color: #EEEEEE;
-}
-
 table.LC_tableOfContent img {
   border: none;
   height: 1.3em;
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.487 loncom/interface/lonparmset.pm:1.488
--- loncom/interface/lonparmset.pm:1.487	Mon Nov 23 13:03:58 2009
+++ loncom/interface/lonparmset.pm	Thu Dec  3 17:50:42 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.487 2009/11/23 13:03:58 wenzelju Exp $
+# $Id: lonparmset.pm,v 1.488 2009/12/03 17:50:42 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3182,26 +3182,19 @@
     }
 # Menu to select levels, etc
 
-    #$r->print('<table id="LC_parm_overview_scope">
-    #           <tr><td class="LC_parm_overview_level_menu">');
     $r->print('<div class="LC_Box">');
     #$r->print('<h2 class="LC_hcell">Step 1</h2>');
     $r->print('<div>');
     $r->print(&Apache::lonhtmlcommon::start_pick_box());
     &levelmenu($r,\%alllevs,$parmlev);
     if ($parmlev ne 'general') {
-        #$r->print('<td class="LC_parm_overview_map_menu">');
         $r->print(&Apache::lonhtmlcommon::row_closure());
         &mapmenu($r,\%allmaps,$pschp,\%maptitles,\%symbp);
-        #$r->print('</td>');
     }
     $r->print(&Apache::lonhtmlcommon::row_closure(1));
     $r->print(&Apache::lonhtmlcommon::end_pick_box());
     $r->print('</div></div>');
-    #$r->print('</td></tr></table>');
 
-    #$r->print('<table id="LC_parm_overview_controls">
-    #           <tr><td class="LC_parm_overview_parm_selectors">');
     $r->print('<div class="LC_Box">');
     $r->print('<div>');
     $r->print(&Apache::lonhtmlcommon::start_pick_box());
@@ -3210,7 +3203,6 @@
     &parmboxes($r,\%allparms,\@pscat,\%keyorder);
     $r->print(&Apache::lonhtmlcommon::start_pick_box());
     $r->print(&Apache::lonhtmlcommon::row_title(&mt('Select Parts to View')));
-    #$r->print('</td><td class="LC_parm_overview_restrictions">'.
     $r->print('<table>'.
               '<tr><th>'.&mt('Parts').'</th><th>'.&mt('Section(s)').
               '</th><th>'.&mt('Group(s)').'</th></tr><tr><td>');
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.439 loncom/interface/lonnavmaps.pm:1.440
--- loncom/interface/lonnavmaps.pm:1.439	Mon Nov 23 14:56:07 2009
+++ loncom/interface/lonnavmaps.pm	Thu Dec  3 17:50:42 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.439 2009/11/23 14:56:07 wenzelju Exp $
+# $Id: lonnavmaps.pm,v 1.440 2009/12/03 17:50:42 bisitz Exp $
 
 #
 # Copyright Michigan State University Board of Trustees
@@ -1528,7 +1528,6 @@
         ( $res->NETWORK_FAILURE    => 1,
           $res->NOTHING_SET        => 1,
           $res->CORRECT            => 1 );
-    my @backgroundColors = ("LC_trEven", "LC_trOdd");
 
     # Shared variables
     $args->{'counter'} = 0; # counts the rows
@@ -1763,7 +1762,6 @@
         # show them.
         foreach my $part (@parts) {
             $rownum ++;
-            my $backgroundColor = $backgroundColors[$rownum % scalar(@backgroundColors)];
             
             $result .= &Apache::loncommon::start_data_table_row();