Fix wrap on lites_total

This commit is contained in:
Laurent Destailleur 2017-09-23 09:28:31 +02:00
parent 839f3ca41d
commit 35d00fd2ec
3 changed files with 22 additions and 17 deletions

View File

@ -435,7 +435,7 @@ class box_activity extends ModeleBoxes
}
// Add the sum in the bottom of the boxes
$this->info_box_contents[$line][0] = array('tr' => 'class="liste_total"');
$this->info_box_contents[$line][0] = array('tr' => 'class="liste_total_wrap"');
$this->info_box_contents[$line][1] = array('td' => 'align="left" class="liste_total" ', 'text' => $langs->trans("Total")." ".$textHead);
$this->info_box_contents[$line][2] = array('td' => 'align="right" class="liste_total" ', 'text' => $totalnb);
$this->info_box_contents[$line][3] = array('td' => 'align="right" class="liste_total" ', 'text' => '');

View File

@ -863,11 +863,11 @@ div.fiche>form>div.div-table-responsive {
.minwidth500imp { min-width: 250px !important; }
}
/* Force values for small screen 570 */
/* Force values for small screen 767 */
@media only screen and (max-width: 767px)
{
body {
font-size: <?php print $fontsize+1; ?>px;
font-size: <?php print $fontsize+3; ?>px;
}
}
@ -875,7 +875,7 @@ div.fiche>form>div.div-table-responsive {
@media only screen and (max-width: 570px)
{
body {
font-size: <?php print $fontsize+1; ?>px;
font-size: <?php print $fontsize+3; ?>px;
}
.divmainbodylarge { margin-left: 20px !important; margin-right: 20px !important; }
@ -2749,14 +2749,16 @@ input.liste_titre {
line-height: 24px;
}
.noborder tr.liste_total, .noborder tr.liste_total td, tr.liste_total, form.liste_total {
/* height: 32px; */
}
.noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
.noborder tr.liste_total td, tr.liste_total td, form.liste_total div, .noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
color: #551188;
font-weight: normal;
}
.noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
white-space: nowrap;
}
.noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
white-space: normal;
}
form.liste_total div {
border-top: 1px solid #DDDDDD;
}

View File

@ -865,11 +865,11 @@ div.fiche>form>div.div-table-responsive {
.minwidth500imp { min-width: 100px !important; }
}
/* Force values for small screen 570 */
/* Force values for small screen 767 */
@media only screen and (max-width: 767px)
{
body {
font-size: <?php print $fontsize+1; ?>px;
font-size: <?php print $fontsize+3; ?>px;
}
}
@ -877,7 +877,7 @@ div.fiche>form>div.div-table-responsive {
@media only screen and (max-width: 570px)
{
body {
font-size: <?php print $fontsize+1; ?>px;
font-size: <?php print $fontsize+3; ?>px;
}
.divmainbodylarge { margin-left: 20px; margin-right: 20px; }
@ -2865,16 +2865,19 @@ input.liste_titre {
border: 0px;
}
.noborder tr.liste_total, .noborder tr.liste_total td, tr.liste_total, form.liste_total {
/* height: 32px; */
}
.noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
/* border-top: 1px solid #f4f4f4; */
.noborder tr.liste_total td, tr.liste_total td, form.liste_total div, .noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
color: #332266;
font-weight: normal;
white-space: nowrap;
padding: 4px;
}
.noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
white-space: nowrap;
}
.noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
white-space: normal;
}
tr.liste_sub_total, tr.liste_sub_total td {
border-bottom: 2px solid #aaa;
}