diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php
index 07faaf92696..054fdee7b32 100644
--- a/htdocs/adherents/card.php
+++ b/htdocs/adherents/card.php
@@ -864,7 +864,7 @@ else
// Address
print '
'.$langs->trans("Address").' ';
- print '';
+ print '';
print ' ';
// Zip / Town
@@ -1125,7 +1125,7 @@ else
// Address
print ''.$langs->trans("Address").' ';
- print '';
+ print '';
print ' ';
// Zip / Town
diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php
index ee6cbac057f..cb79e6ff401 100644
--- a/htdocs/admin/company.php
+++ b/htdocs/admin/company.php
@@ -314,7 +314,7 @@ if ($action == 'edit' || $action == 'updateedit')
$var=!$var;
print ''.$langs->trans("CompanyAddress").' ';
- print ' '."\n";
+ print ''."\n";
$var=!$var;
print ''.$langs->trans("CompanyZip").' ';
diff --git a/htdocs/comm/address.php b/htdocs/comm/address.php
index edb5042e358..bdfb7af6600 100644
--- a/htdocs/comm/address.php
+++ b/htdocs/comm/address.php
@@ -253,7 +253,7 @@ if ($action == 'create')
print ' '.$langs->trans('Label').' ';
print ''.$langs->trans('Name').' ';
- print ''.$langs->trans('Address').' ';
// Type - Size
- print ''.fieldLabel('ThirdPartyType','typent_id').' '."\n";
+ print ' '.fieldLabel('ThirdPartyType','typent_id').' '."\n";
$sortparam=(empty($conf->global->SOCIETE_SORT_ON_TYPEENT)?'ASC':$conf->global->SOCIETE_SORT_ON_TYPEENT); // NONE means we keep sort of original array, so we sort on position. ASC, means next function will sort on label.
print $form->selectarray("typent_id", $formcompany->typent_array(0), $object->typent_id, 0, 0, 0, '', 0, 0, 0, $sortparam);
if ($user->admin) print ' '.info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1);
print ' ';
- print ''.fieldLabel('Staff','effectif_id').' ';
+ print ' '.fieldLabel('Staff','effectif_id').' ';
print $form->selectarray("effectif_id", $formcompany->effectif_array(0), $object->effectif_id);
if ($user->admin) print ' '.info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1);
print ' ';
@@ -1604,7 +1601,7 @@ else
// Address
print ''.fieldLabel('Address','address').' ';
- print '';
+ print '';
print $object->address;
print ' ';
@@ -1760,11 +1757,11 @@ else
}
// Type - Size
- print ''.fieldLabel('ThirdPartyType','typent_id').' ';
+ print ' '.fieldLabel('ThirdPartyType','typent_id').' ';
print $form->selectarray("typent_id",$formcompany->typent_array(0), $object->typent_id, 0, 0, 0, '', 0, 0, 0, (empty($conf->global->SOCIETE_SORT_ON_TYPEENT)?'ASC':$conf->global->SOCIETE_SORT_ON_TYPEENT));
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1);
print ' ';
- print ''.fieldLabel('Staff','effectif_id').' ';
+ print ' '.fieldLabel('Staff','effectif_id').' ';
print $form->selectarray("effectif_id",$formcompany->effectif_array(0), $object->effectif_id);
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1);
print ' ';
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index 4a24f2d3dad..8928b9faa29 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -692,7 +692,7 @@ div.vmenu, td.vmenu {
-/* For desktop */
+/* For smartphone (testmenuhider is on) */
global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
#id-container {
width: 100%;
@@ -735,7 +735,8 @@ div.fiche {
div.fiche {
margin-: px;
margin-: dol_optimize_smallscreen)?'12':'6')); ?>px;
- dol_hide_leftmenu) && ! empty($conf->dol_hide_topmenu)) print 'margin-top: 4px;'; ?>
+ dol_hide_leftmenu) && ! empty($conf->dol_hide_topmenu)) print 'margin-top: 4px;'."\n"; ?>
+ dol_use_jmobile)) print ' margin-bottom: 10px;'."\n"; ?>
}
div.fichecenter {
width: 100%;
@@ -2951,6 +2952,8 @@ a.impayee:hover { font-weight: bold; color: #550000; }
.fieldrequired { font-weight: bold; color: #000055; }
+.widthpictotitle { width: 40px; }
+
.dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
.dolgraphtitlecssboxes { margin: 0px; }
.legendColorBox, .legendLabel { border: none !important; }
@@ -4054,8 +4057,8 @@ a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-i
.ui-btn-inner {
min-width: .4em;
- padding-left: 10px;
- padding-right: 10px;
+ padding-left: 6px;
+ padding-right: 6px;
font-size: 13px;
@@ -4064,20 +4067,26 @@ a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-i
/* white-space: normal; */ /* Warning, enable this break the truncate feature */
}
.ui-btn-icon-right .ui-btn-inner {
- padding-right: 34px;
+ padding-right: 30px;
}
.ui-btn-icon-left .ui-btn-inner {
- padding-left: 34px;
+ padding-left: 30px;
}
.ui-select .ui-btn-icon-right .ui-btn-inner {
- padding-right: 38px;
+ padding-right: 30px;
}
.ui-select .ui-btn-icon-left .ui-btn-inner {
- padding-left: 38px;
+ padding-left: 30px;
+}
+.ui-select .ui-btn-icon-right .ui-icon {
+ right: 8px;
+}
+.ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
+ margin-top: -10px;
}
select {
/* display: inline-block; */ /* We can't set this. This disable ability to make */
- /* TODO added by jmobile, replace jmobile with pure css*/
+ /* TODO modified by jmobile, replace jmobile with pure css*/
overflow:hidden;
white-space: nowrap;
text-overflow: ellipsis;
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 4fe274b3ae3..eda06ea99f6 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -717,7 +717,7 @@ td.showDragHandle {
margin-left: 228px;
}
-/* For desktop */
+/* For smartphone (testmenuhider is on) */
global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
#id-container {
width: 100%;
@@ -746,6 +746,10 @@ div.login_block {
#id-left {
top: 60px ! important;
}
+div.fiche {
+ margin-: 6px !important;
+ margin-: 6px !important;
+}
div.fiche {
@@ -2800,6 +2804,8 @@ a.impayee:hover { font-weight: bold; color: #550000; }
.fieldrequired { font-weight: bold; color: #000055; }
+.widthpictotitle { width: 40px; }
+
.dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
.dolgraphtitlecssboxes { margin: 0px; }
.legendColorBox, .legendLabel { border: none !important; }
@@ -3910,8 +3916,8 @@ a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-i
.ui-btn-inner {
min-width: .4em;
- padding-left: 10px;
- padding-right: 10px;
+ padding-left: 6px;
+ padding-right: 6px;
font-size: 13px;
@@ -3920,16 +3926,29 @@ a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-i
/* white-space: normal; */ /* Warning, enable this break the truncate feature */
}
.ui-btn-icon-right .ui-btn-inner {
- padding-right: 34px;
+ padding-right: 30px;
}
.ui-btn-icon-left .ui-btn-inner {
- padding-left: 34px;
+ padding-left: 30px;
}
.ui-select .ui-btn-icon-right .ui-btn-inner {
- padding-right: 38px;
+ padding-right: 30px;
}
.ui-select .ui-btn-icon-left .ui-btn-inner {
- padding-left: 38px;
+ padding-left: 30px;
+}
+.ui-select .ui-btn-icon-right .ui-icon {
+ right: 8px;
+}
+.ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
+ margin-top: -10px;
+}
+select {
+ /* display: inline-block; */ /* We can't set this. This disable ability to make */
+ /* TODO modified by jmobile, replace jmobile with pure css*/
+ overflow:hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
}
.fiche .ui-controlgroup {
margin: 0px;
diff --git a/htdocs/user/card.php b/htdocs/user/card.php
index c0ac112d51f..28b1040f579 100644
--- a/htdocs/user/card.php
+++ b/htdocs/user/card.php
@@ -889,7 +889,7 @@ if (($action == 'create') || ($action == 'adduserldap'))
// Address
print ''.fieldLabel('Address','address').' ';
- print '';
+ print '';
print $object->address;
print ' ';
@@ -1998,7 +1998,7 @@ else
// Address
print ''.fieldLabel('Address','address').' ';
- print '';
+ print '';
print $object->address;
print ' ';