From 834c10a1f4393158e4574a7cdec7ffc623a6eca8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 29 Jul 2016 11:06:03 +0200 Subject: [PATCH] Fix css --- htdocs/comm/card.php | 6 +++--- htdocs/theme/eldy/style.css.php | 2 +- htdocs/theme/md/style.css.php | 10 +++++++++- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index 8ead3188ae7..39e4ae13f60 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -377,7 +377,7 @@ if ($id > 0) print ''.img_edit($langs->trans("Modify")).''; } print ''; - print ''.($object->remise_percent?''.$object->remise_percent.'%':$langs->trans("DiscountNone")).''; + print ''.($object->remise_percent?''.$object->remise_percent.'%':'').''; print ''; // Absolute discounts (Discounts-Drawbacks-Rebates) @@ -396,7 +396,7 @@ if ($id > 0) $amount_discount=$object->getAvailableDiscounts(); if ($amount_discount < 0) dol_print_error($db,$object->error); if ($amount_discount > 0) print ''.price($amount_discount,1,$langs,1,-1,-1,$conf->currency).''; - else print $langs->trans("DiscountNone"); + //else print $langs->trans("DiscountNone"); print ''; print ''; @@ -408,7 +408,7 @@ if ($id > 0) print ''; $limit_field_type = (! empty($conf->global->MAIN_USE_JQUERY_JEDITABLE)) ? 'numeric' : 'amount'; print $form->editfieldval("OutstandingBill",'outstanding_limit',$object->outstanding_limit,$object,$user->rights->societe->creer,$limit_field_type,($object->outstanding_limit != '' ? price($object->outstanding_limit) : '')); - if (empty($object->outstanding_limit)) print $langs->trans("NoLimit"); + //if (empty($object->outstanding_limit)) print $langs->trans("NoLimit"); print ''; print ''; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 0331ce6efda..9a074172ae1 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -2324,7 +2324,7 @@ table.liste, table.noborder, table.formdoc, div.noborder { } .liste_titre_add td, .liste_titre_add .tagtd { - border-top-width: 1px; + border-top-width: 2px; border-top-color: rgb(); border-top-style: solid; } diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index d5e7fbb0246..12e4e3d722f 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -2223,11 +2223,12 @@ table.liste, table.noborder, table.formdoc, div.noborder { -webkit-border-radius: 0.1em; border-radius: 0.1em; } +/* #tablelines tr.liste_titre:first-child td, form.formnoborder, tr.liste_titre.trnoborder td { border-top-width: 1px; border-top-color: rgb(); border-top-style: solid; -} +}*/ table.noborder tr, div.noborder form { border-top-color: #FEFEFE; @@ -2241,6 +2242,13 @@ table.noborder tr, div.noborder form { min-height: 26px; } +.liste_titre_add td, .liste_titre_add .tagtd +{ + border-top-width: 2px; + border-top-color: rgb(); + border-top-style: solid; +} + table.liste th, table.noborder th, table.noborder tr.liste_titre td { padding: 8px 2px 8px 3px; /* t r b l */ }