2
0
forked from Wavyzz/dolibarr

Fix: Some td cells must not have hover styles.

This commit is contained in:
Laurent Destailleur
2013-07-19 15:52:49 +02:00
parent ed52dd9636
commit 91b51f1f58
7 changed files with 23 additions and 11 deletions

View File

@@ -192,11 +192,11 @@ class box_graph_invoices_permonth extends ModeleBoxes
$stringtoshow.='</div>';
$stringtoshow.='</div>';
}
$this->info_box_contents[0][0] = array('td' => 'align="center"','textnoformat'=>$stringtoshow);
$this->info_box_contents[0][0] = array('td' => 'align="center" class="nohover"','textnoformat'=>$stringtoshow);
}
else
{
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
$this->info_box_contents[0][0] = array( 'td' => 'align="left" class="nohover"',
'maxlength'=>500,
'text' => $mesg);
}

View File

@@ -192,11 +192,11 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes
$stringtoshow.='</div>';
$stringtoshow.='</div>';
}
$this->info_box_contents[0][0] = array('td' => 'align="center"','textnoformat'=>$stringtoshow);
$this->info_box_contents[0][0] = array('td' => 'align="center" class="nohover"','textnoformat'=>$stringtoshow);
}
else
{
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
$this->info_box_contents[0][0] = array( 'td' => 'align="left" class="nohover"',
'maxlength'=>500,
'text' => $mesg);
}

View File

@@ -192,11 +192,11 @@ class box_graph_orders_permonth extends ModeleBoxes
$stringtoshow.='</div>';
$stringtoshow.='</div>';
}
$this->info_box_contents[0][0] = array('td' => 'align="center"','textnoformat'=>$stringtoshow);
$this->info_box_contents[0][0] = array('td' => 'align="center" class="nohover"','textnoformat'=>$stringtoshow);
}
else
{
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
$this->info_box_contents[0][0] = array( 'td' => 'align="left" class="nohover"',
'maxlength'=>500,
'text' => $mesg);
}

View File

@@ -192,11 +192,11 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes
$stringtoshow.='</div>';
$stringtoshow.='</div>';
}
$this->info_box_contents[0][0] = array('td' => 'align="center"','textnoformat'=>$stringtoshow);
$this->info_box_contents[0][0] = array('td' => 'align="center" class="nohover"','textnoformat'=>$stringtoshow);
}
else
{
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
$this->info_box_contents[0][0] = array( 'td' => 'align="left" class="nohover"',
'maxlength'=>500,
'text' => $mesg);
}

View File

@@ -192,11 +192,11 @@ class box_graph_propales_permonth extends ModeleBoxes
$stringtoshow.='</div>';
$stringtoshow.='</div>';
}
$this->info_box_contents[0][0] = array('td' => 'align="center"','textnoformat'=>$stringtoshow);
$this->info_box_contents[0][0] = array('td' => 'align="center" class="nohover"','textnoformat'=>$stringtoshow);
}
else
{
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
$this->info_box_contents[0][0] = array( 'td' => 'align="left" class="nohover"',
'maxlength'=>500,
'text' => $mesg);
}

View File

@@ -117,7 +117,7 @@ if (empty($user->societe_id))
print '<th class="liste_titre" colspan="2">'.$langs->trans("DolibarrStateBoard").'</th>';
print '<th class="liste_titre" align="right">&nbsp;</th>';
print '</tr>';
print '<tr><td colspan="3">';
print '<tr class="impair"><td colspan="3" class="impair nohover">';
$var=true;

View File

@@ -1538,6 +1538,10 @@ background: #c0c4c7;
border: 0px;
}
tr.impair td.nohover, form.impair div.nohover {
background: #eaeaea;
}
.pair {
background: #FFFFFF;
font-family: <?php print $fontlist ?>;
@@ -1549,6 +1553,10 @@ background: #c0c4c7;
border: 0px;
}
tr.pair td.nohover {
background: #FFFFFF;
}
.pair td, .impair td {
padding: 2px;
}
@@ -1610,6 +1618,10 @@ background: #c0c4c7;
border: 0px;
}
tr.box_impair .nohover {
background: #eaeaea;
}
tr.box_pair {
/* background: #d0d4d7; */
background: #f4f4f4;