From e6d8b3c4db761bc55a63d02f83c5e98e8b9d2cef Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 15 Mar 2017 11:41:15 +0100 Subject: [PATCH] Css enhancement --- htdocs/core/tpl/contacts.tpl.php | 20 ++++++++++---------- htdocs/theme/eldy/style.css.php | 10 ++++++++++ htdocs/theme/md/style.css.php | 3 +++ 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/htdocs/core/tpl/contacts.tpl.php b/htdocs/core/tpl/contacts.tpl.php index 3f8006c286b..0a17a8c07c2 100644 --- a/htdocs/core/tpl/contacts.tpl.php +++ b/htdocs/core/tpl/contacts.tpl.php @@ -90,7 +90,7 @@ if ($permission) { echo $formcompany->selectTypeContact($tmpobject, '', 'type','internal'); ?>
 
-
">
+
">
'; ?> -
trans("ThirdPartyContacts"); ?>
-
+
trans("ThirdPartyContacts"); ?>
+
socid; ?> selectCompaniesForNewContact($object, 'id', $selectedCompany, 'newcompany', '', 0); ?>
-
+
select_contacts($selectedCompany, '', 'contactid', 0, '', '', 0, 'minwidth200'); ?>
-
+
element == 'shipping' && is_object($objectsrc)) $tmpobject=$objectsrc; $formcompany->selectTypeContact($tmpobject, '', 'type','external'); ?>
-
 
-
+
 
+
">
@@ -144,7 +144,7 @@ if ($permission) {
trans("ThirdParty"); ?>
trans("Users").'/'.$langs->trans("Contacts"); ?>
trans("ContactType"); ?>
-
trans("Status"); ?>
+
trans("Status"); ?>
 
@@ -208,7 +208,7 @@ if ($permission) { ?>
-
+
statut >= 0) echo ''; ?> statut >= 0) echo ''; ?>
-
+
 "> diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index a665002e30a..832b13dedf9 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -2326,6 +2326,9 @@ td.border, div.tagtable div div.border { /* Main boxes */ +.noborderbottom { + border-bottom: none !important; +} .ficheaddleft table.noborder { margin: 0px 0px 0px 0px; } @@ -2345,6 +2348,13 @@ table.liste, table.noborder, table.formdoc, div.noborder { margin: 0px 0px 5px 0px; } +div.ficheaddleft table.noborder:last-child { + border-bottom: 1px solid #aaa; +} +div.ficheaddleft table.noborder { + border-bottom: none; +} + table.paddingtopbottomonly tr td { padding-top: 1px; padding-bottom: 2px; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 913a269b0f2..6bca9f1751e 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -2228,6 +2228,9 @@ td.border, div.tagtable div div.border { /* Main boxes */ +.noborderbottom { + border-bottom: none !important; +} .ficheaddleft table.noborder { margin: 0px 0px 0px 0px; }