Fix css
This commit is contained in:
parent
0ec62c05cc
commit
ed88a4c398
@ -287,12 +287,10 @@ if (empty($user->societe_id))
|
|||||||
$var=!$var;
|
$var=!$var;
|
||||||
if (!empty($langfile[$key])) $langs->load($langfile[$key]);
|
if (!empty($langfile[$key])) $langs->load($langfile[$key]);
|
||||||
$text=$langs->trans($titres[$key]);
|
$text=$langs->trans($titres[$key]);
|
||||||
print '<a href="'.$links[$key].'" class="thumbstat nobold nounderline">';
|
print '<a href="'.$links[$key].'" class="boxstatsindicator thumbstat nobold nounderline">';
|
||||||
print '<div class="boxstats">';
|
print '<div class="boxstats">';
|
||||||
print img_object("",$icons[$key]).' '.$text.'<br>';
|
print img_object("",$icons[$key]).' '.$text.'<br>';
|
||||||
//print '</a>';
|
print '<span class="boxstatsindicator">'.$board->nb[$val].'</span>';
|
||||||
//print '<a href="'.$links[$key].'">';
|
|
||||||
print $board->nb[$val];
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
@ -454,13 +452,17 @@ foreach($valid_dashboardlines as $board)
|
|||||||
{
|
{
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td width="16">'.$board->img.'</td><td>'.$board->label.'</td>';
|
print '<tr '.$bc[$var].'><td width="16">'.$board->img.'</td><td>'.$board->label.'</td>';
|
||||||
print '<td align="right"><a href="'.$board->url.'">'.$board->nbtodo.'</a></td>';
|
print '<td align="right"><a class="dashboardlineindicator" href="'.$board->url.'"><span class="dashboardlineindicator">'.$board->nbtodo.'</span></a></td>';
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
print '<a href="'.$board->url.'">';
|
//if ($board->nbtodolate > 0)
|
||||||
print $board->nbtodolate;
|
//{
|
||||||
print '</a></td>';
|
print '<a class="dashboardlineindicatorlate" href="'.$board->url.'"><span class="dashboardlineindicatorlate">';
|
||||||
|
print $board->nbtodolate;
|
||||||
|
print '</span></a>';
|
||||||
|
//}
|
||||||
|
print '</td>';
|
||||||
print '<td align="left">';
|
print '<td align="left">';
|
||||||
if ($board->nbtodolate > 0) print img_picto($langs->trans("NActionsLate",$board->nbtodolate),"warning");
|
if ($board->nbtodolate > 0) print img_picto($langs->trans("NActionsLate",$board->nbtodolate).' (>'.ceil($board->warning_delay).' '.$langs->trans("days").')',"warning");
|
||||||
else print ' ';
|
else print ' ';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td class="nowrap" align="right">';
|
print '<td class="nowrap" align="right">';
|
||||||
|
|||||||
@ -2323,8 +2323,6 @@ div.pagination li.paginationafterarrows {
|
|||||||
{
|
{
|
||||||
<?php if ($colorbacklinepairhover) { ?>
|
<?php if ($colorbacklinepairhover) { ?>
|
||||||
background: rgb(<?php echo $colorbacklinepairhover; ?>) !important;
|
background: rgb(<?php echo $colorbacklinepairhover; ?>) !important;
|
||||||
<?php } else { ?>
|
|
||||||
/* background: rgba(0, 0, 0, 0.05) !important; */
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2524,9 +2522,20 @@ div.tabBar .noborder {
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
.boxstats:hover {
|
.boxstats:hover {
|
||||||
|
<?php if ($colorbacklinepairhover) { ?>
|
||||||
|
background: rgb(<?php echo $colorbacklinepairhover; ?>) !important;
|
||||||
|
<?php } else { ?>
|
||||||
background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?>;
|
background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?>;
|
||||||
|
<?php } ?>
|
||||||
|
}
|
||||||
|
span.boxstatsindicator {
|
||||||
|
font-size: 110%;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
span.dashboardlineindicator, span.dashboardlineindicatorlate {
|
||||||
|
font-size: 120%;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.boxtable {
|
.boxtable {
|
||||||
-moz-box-shadow: 3px 3px 4px #DDD;
|
-moz-box-shadow: 3px 3px 4px #DDD;
|
||||||
-webkit-box-shadow: 3px 3px 4px #DDD;
|
-webkit-box-shadow: 3px 3px 4px #DDD;
|
||||||
|
|||||||
@ -2349,9 +2349,22 @@ div.tabBar .noborder {
|
|||||||
border: 1px solid #AAA;
|
border: 1px solid #AAA;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
|
min-height: 38px;
|
||||||
}
|
}
|
||||||
.boxstats:hover {
|
.boxstats:hover {
|
||||||
|
<?php if ($colorbacklinepairhover) { ?>
|
||||||
|
background: rgb(<?php echo $colorbacklinepairhover; ?>) !important;
|
||||||
|
<?php } else { ?>
|
||||||
background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?>;
|
background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?>;
|
||||||
|
<?php } ?>
|
||||||
|
}
|
||||||
|
span.boxstatsindicator {
|
||||||
|
font-size: 110%;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
span.dashboardlineindicator, span.dashboardlineindicatorlate {
|
||||||
|
font-size: 120%;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.boxtable {
|
.boxtable {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user