From 59de1403668fb6110d6b452d493ed5481515df57 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 19 Nov 2021 23:39:25 +0100 Subject: [PATCH] css --- htdocs/core/tpl/contacts.tpl.php | 12 ++++++------ htdocs/theme/eldy/global.inc.php | 2 ++ htdocs/theme/md/style.css.php | 6 +++++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/htdocs/core/tpl/contacts.tpl.php b/htdocs/core/tpl/contacts.tpl.php index 3def83f4e0d..2dd9751a4c6 100644 --- a/htdocs/core/tpl/contacts.tpl.php +++ b/htdocs/core/tpl/contacts.tpl.php @@ -111,17 +111,17 @@ if ($permission) {
global->MAIN_INFO_SOCIETE_NOM; ?>
-
select_dolusers($user->id, 'userid', 0, (!empty($userAlreadySelected) ? $userAlreadySelected : null), 0, null, null, 0, 56, '', 0, '', 'minwidth200imp'); ?>
+
select_dolusers($user->id, 'userid', 0, (!empty($userAlreadySelected) ? $userAlreadySelected : null), 0, null, null, 0, 56, 0, '', 0, '', 'minwidth100imp widthcentpercentminusxx maxwidth400'); ?>
element == 'shipping' || $object->element == 'reception') && is_object($objectsrc)) { $tmpobject = $objectsrc; } - $formcompany->selectTypeContact($tmpobject, '', 'type', 'internal'); + $formcompany->selectTypeContact($tmpobject, '', 'type', 'internal', 'position', 0, 'minwidth125imp widthcentpercentminusx maxwidth400'); ?>
 
-
">
+
">
element == 'shipping' || $object->element == 'reception') && is_object($objectsrc)) { $tmpobject = $objectsrc; } - $formcompany->selectTypeContact($tmpobject, $preselectedtypeofcontact, 'typecontact', 'external', 'position', 0, 'minwidth100imp'); + $formcompany->selectTypeContact($tmpobject, $preselectedtypeofcontact, 'typecontact', 'external', 'position', 0, 'minwidth125imp widthcentpercentminusx maxwidth400'); ?>
 
- "trans("Add"); ?>"> + } ?>>
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 348ba82d9d9..a4b2c8e7dcb 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -1455,6 +1455,7 @@ table[summary="list_of_modules"] .fa-cog { .minwidth50imp { min-width: 50px !important; } .minwidth75imp { min-width: 75px !important; } .minwidth100imp { min-width: 100px !important; } + .minwidth125imp { min-width: 125px !important; } .minwidth150imp { min-width: 150px !important; } .minwidth200imp { min-width: 200px !important; } .minwidth250imp { min-width: 250px !important; } @@ -1474,6 +1475,7 @@ table[summary="list_of_modules"] .fa-cog { .minwidth50imp { min-width: 50px !important; } .minwidth75imp { min-width: 75px !important; } .minwidth100imp { min-width: 100px !important; } + .minwidth125imp { min-width: 125px !important; } .minwidth150imp { min-width: 110px !important; } .minwidth200imp { min-width: 110px !important; } .minwidth250imp { min-width: 115px !important; } diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index a2d912d46e6..26fb295e751 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -1455,6 +1455,7 @@ tr.nobottom td { .minwidth50imp { min-width: 50px !important; } .minwidth75imp { min-width: 75px !important; } .minwidth100imp { min-width: 100px !important; } + .minwidth125imp { min-width: 125px !important; } .minwidth200imp { min-width: 200px !important; } .minwidth250imp { min-width: 250px !important; } .minwidth300imp { min-width: 300px !important; } @@ -1514,6 +1515,7 @@ tr.nobottom td { .minwidth50imp { min-width: 50px !important; } .minwidth75imp { min-width: 75px !important; } .minwidth100imp { min-width: 100px !important; } + .minwidth125imp { min-width: 125px !important; } .minwidth150imp { min-width: 150px !important; } .minwidth200imp { min-width: 200px !important; } .minwidth250imp { min-width: 250px !important; } @@ -1533,6 +1535,7 @@ tr.nobottom td { .minwidth50imp { min-width: 50px !important; } .minwidth75imp { min-width: 70px !important; } .minwidth100imp { min-width: 100px !important; } + .minwidth125imp { min-width: 125px !important; } .minwidth150imp { min-width: 110px !important; } .minwidth200imp { min-width: 110px !important; } .minwidth250imp { min-width: 115px !important; } @@ -1679,6 +1682,7 @@ select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-select .minwidth50imp { min-width: 50px !important; } .minwidth75imp { min-width: 75px !important; } .minwidth100imp { min-width: 100px !important; } + .minwidth125imp { min-width: 125px !important; } .minwidth150imp { min-width: 110px !important; } .minwidth200imp { min-width: 110px !important; } .minwidth250imp { min-width: 115px !important; } @@ -3459,7 +3463,7 @@ div.colorback border-left: 1px solid #ccc; } table.liste, table.noborder, table.formdoc, div.noborder { - width: calc(100% - 1px); /* -1 to fix a bug. Without, a scroll appears due to overflow-x: auto; of div-table-responsive */ + width: calc(100% - 2px); /* -2 to fix a bug. Without, a scroll appears due to overflow-x: auto; of div-table-responsive */ border-collapse: separate !important; border-spacing: 0px;