NEW Introduce css "nobottomiftotal"

This commit is contained in:
Laurent Destailleur 2019-03-19 16:01:03 +01:00
parent 51eab7e2f8
commit 23ce97fb2d
3 changed files with 16 additions and 7 deletions

View File

@ -537,7 +537,7 @@ $selectedfields=$form->multiSelectArrayWithCheckbox('selectedfields', $arrayfiel
if ($massactionbutton) $selectedfields.=$form->showCheckAddButtons('checkforselect', 1);
print '<div class="div-table-responsive">';
print '<table class="tagtable liste'.($moreforfilter?" listwithfilterbefore":"").'">'."\n";
print '<table class="tagtable nobottomiftotal liste'.($moreforfilter?" listwithfilterbefore":"").'">'."\n";
print '<tr class="liste_titre_filter">';
// Project ref

View File

@ -2548,11 +2548,16 @@ table.liste, table.noborder, table.formdoc, div.noborder {
border-top-color: rgb(<?php echo $colorbackhmenu1 ?>);
border-top-style: solid; */
/*border-bottom-width: 1px;
border-bottom-color: rgb(<?php echo $colortopbordertitle1 ?>);
border-bottom-style: solid;*/
margin: 0px 0px 5px 0px;
}
table.liste tr:last-of-type td, table.noborder tr:last-of-type td, table.formdoc tr:last-of-type td, div.noborder tr:last-of-type td {
border-bottom-width: 1px;
border-bottom-color: rgb(<?php echo $colortopbordertitle1 ?>);
border-bottom-style: solid;
margin: 0px 0px 5px 0px;
}
div.tabBar div.ficheaddleft table.noborder:last-of-type {
border-bottom: 1px solid rgb(<?php echo $colortopbordertitle1 ?>);
@ -2882,8 +2887,9 @@ form.tagtr:last-of-type div.tagtd, tr.pair:last-of-type td, tr.impair:last-of-ty
tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
border-bottom: 0px !important;
}
tr.nobottom td, tr.nobottom , td.nobottom {
border-bottom: 0px !important;
table.nobottomiftotal tr.liste_total td {
background-color: #fff;
border-bottom: 0px !important;
}
div.liste_titre .tagtd {
vertical-align: middle;

View File

@ -3065,9 +3065,12 @@ tr.pair:last-of-type td, tr.impair:last-of-type td {
tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
border-bottom: 0px !important;
}
tr.nobottom td, tr.nobottom , td.nobottom {
border-bottom: 0px !important;
/*
table.nobottomiftotal tr.liste_total td {
background-color: #fff;
border-bottom: 0px !important;
}
*/
div.liste_titre .tagtd {
vertical-align: middle;
}