From 0d9a86db3fe8f86aab7dcf5a376e702019f3b20a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Wed, 30 Mar 2016 00:06:55 +0200 Subject: [PATCH] Minor lool enhancement --- htdocs/comm/action/card.php | 2 +- htdocs/contact/card.php | 2 +- htdocs/theme/eldy/style.css.php | 5 ++++- htdocs/theme/md/img/object_category.png | Bin 104 -> 214 bytes htdocs/theme/md/style.css.php | 7 +++++-- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php index 19633aa13d7..991e0c4a148 100644 --- a/htdocs/comm/action/card.php +++ b/htdocs/comm/action/card.php @@ -656,7 +656,7 @@ if ($action == 'create') } // Title - print '<tr><td'.(empty($conf->global->AGENDA_USE_EVENT_TYPE)?' class="fieldrequired"':'').'>'.$langs->trans("Title").'</td><td><input type="text" id="label" name="label" size="60" value="'.GETPOST('label').'"></td></tr>'; + print '<tr><td'.(empty($conf->global->AGENDA_USE_EVENT_TYPE)?' class="fieldrequired"':'').'>'.$langs->trans("Title").'</td><td><input type="text" id="label" name="label" class="soixantepercent" value="'.GETPOST('label').'"></td></tr>'; // Full day print '<tr><td>'.$langs->trans("EventOnFullDay").'</td><td><input type="checkbox" id="fullday" name="fullday" '.(GETPOST('fullday')?' checked':'').'></td></tr>'; diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php index fca007bfd1f..cc67393d679 100644 --- a/htdocs/contact/card.php +++ b/htdocs/contact/card.php @@ -797,7 +797,7 @@ else { print '<tr><td><label for="socid">'.$langs->trans("ThirdParty").'</label></td>'; print '<td colspan="3" class="maxwidthonsmartphone">'; - print $form->select_company(GETPOST('socid','int')?GETPOST('socid','int'):($object->socid?$object->socid:-1),'socid','',1); + print $form->select_company(GETPOST('socid','int')?GETPOST('socid','int'):($object->socid?$object->socid:-1), 'socid', '', $langs->trans("SelectThirdParty")); print '</td>'; print '</tr>'; } diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 00701e9621d..1601302c046 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -438,6 +438,9 @@ th .button { .quatrevingtpercent, .inputsearch { width: 80%; } +.soixantepercent { + width: 60%; +} textarea.centpercent { width: 96%; } @@ -3832,7 +3835,7 @@ dl.dropdown { position:absolute; top:2px; list-style:none; - max-height: 200px; + max-height: 300px; overflow: auto; } .dropdown span.value { diff --git a/htdocs/theme/md/img/object_category.png b/htdocs/theme/md/img/object_category.png index b0292d92aaec99817b1a0dff1c1c354cd715f10c..389277f400496cdd478a2daba2daf816cea10a0f 100644 GIT binary patch literal 214 zcmeAS@N?(olHy`uVBq!ia0vp^0zk~i!2%?E)Iu166jPG7y9>kr_Wm>bfjrIvkH}&M z25w;xW@MN(M*=9wUgGKN%Km^^R@8#+c96|eppayVYeb22er|4RUI~M9QEFmIYKlU6 zW=V#EyQgnJcq5-UP?3|Ti(`ny<>Ukfra37;_}h7Ji2QMH<ZTgAI4sP=)5F8V^Z#SS z`4ddZ30r41Ha2!n;Ad-Q5=#+(Z1hmY@9pu94h;rnT?LuQnTM7FO=IwM^>bP0l+XkK DMT0yQ literal 104 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+0wn(&ce?|m^gUf1Ln;`PB{&KuJ+zlGdl0}p zNoCC&d%ub%3D^IDqKS-$-31>iSTqKo3}pMo%up#7bIe~t{RvPjgQu&X%Q~loCIBni B9XbF2 diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index e4a4eb58107..55f4e72cb85 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -425,6 +425,9 @@ th .button { .quatrevingtpercent, .inputsearch { width: 80%; } +.soixantepercent { + width: 60%; +} textarea.centpercent { width: 96%; } @@ -3613,7 +3616,7 @@ span.noborderoncategories a, li.noborderoncategories a { line-height: normal; } span.noborderoncategories { - padding: 5px 5px 0px 5px; + padding: 3px 5px 0px 5px; } .categtextwhite, .treeview .categtextwhite.hover { color: #fff !important; @@ -3664,7 +3667,7 @@ dl.dropdown { position:absolute; top:2px; list-style:none; - max-height: 200px; + max-height: 300px; overflow: auto; } .dropdown span.value { -- GitLab