NEW Look and fill v11: Introduce CSS "trforbreak"

This commit is contained in:
Laurent Destailleur 2019-10-10 22:42:23 +02:00
parent 3bf6fac505
commit f82f4162c3
3 changed files with 8 additions and 4 deletions

View File

@ -279,8 +279,8 @@ if ($action != 'export_csv')
print '</tr>'; print '</tr>';
} }
// Affiche le compte comptable en debut de ligne // Show first line of a break
print "<tr>"; print '<tr class="trforbreak">';
print '<td colspan="6" style="font-weight:bold; border-bottom: 1pt solid black;">' . $line->numero_compte . ($root_account_description ? ' - ' . $root_account_description : '') . '</td>'; print '<td colspan="6" style="font-weight:bold; border-bottom: 1pt solid black;">' . $line->numero_compte . ($root_account_description ? ' - ' . $root_account_description : '') . '</td>';
print '</tr>'; print '</tr>';

View File

@ -2942,7 +2942,9 @@ td.evenodd, tr.nohoverpair td, #trlinefordates td {
background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important; background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
} }
.trforbreak td { .trforbreak td {
background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinebreak)); ?> !important; font-weight: bold;
border-bottom: 1pt solid black !important;
/* background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinebreak)); ?> !important; */
} }
table.dataTable td { table.dataTable td {

View File

@ -3046,7 +3046,9 @@ td.evenodd, tr.nohoverpair td {
background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important; background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
} }
.trforbreak td { .trforbreak td {
background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinebreak)); ?> !important; font-weight: bold;
border-bottom: 1pt solid black !important;
/* background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinebreak)); ?> !important; */
} }
table.dataTable td { table.dataTable td {