diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php index df258e104a7..d7d72f70540 100644 --- a/htdocs/adherents/card.php +++ b/htdocs/adherents/card.php @@ -1090,15 +1090,15 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { // Pro phone print ''.$langs->trans("PhonePro").''; - print ''.img_picto('', 'object_phoning').' '; + print ''.img_picto('', 'object_phoning', 'class="pictofixedwidth"').''; // Personal phone print ''.$langs->trans("PhonePerso").''; - print ''.img_picto('', 'object_phoning').' '; + print ''.img_picto('', 'object_phoning', 'class="pictofixedwidth"').''; // Mobile phone print ''.$langs->trans("PhoneMobile").''; - print ''.img_picto('', 'object_phoning_mobile').' '; + print ''.img_picto('', 'object_phoning_mobile', 'class="pictofixedwidth"').''; if (!empty($conf->socialnetworks->enabled)) { foreach ($socialnetworks as $key => $value) { @@ -1286,11 +1286,11 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { // EMail print ''.($conf->global->ADHERENT_MAIL_REQUIRED ? '' : '').$langs->trans("EMail").($conf->global->ADHERENT_MAIL_REQUIRED ? '' : '').''; - print ''.img_picto('', 'object_email').' email).'">'; + print ''.img_picto('', 'object_email', 'class="pictofixedwidth"').'email).'">'; // Website print ''.$form->editfieldkey('Web', 'member_url', GETPOST('member_url', 'alpha'), $object, 0).''; - print ''.img_picto('', 'globe').' '; + print ''.img_picto('', 'globe', 'class="pictofixedwidth"').''; // Address print ''.$langs->trans("Address").''; @@ -1324,15 +1324,15 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { // Pro phone print ''.$langs->trans("PhonePro").''; - print ''.img_picto('', 'object_phoning', 'class="pictofixedwidth"').' phone).'">'; + print ''.img_picto('', 'object_phoning', 'class="pictofixedwidth"').'phone).'">'; // Personal phone print ''.$langs->trans("PhonePerso").''; - print ''.img_picto('', 'object_phoning', 'class="pictofixedwidth"').' phone_perso).'">'; + print ''.img_picto('', 'object_phoning', 'class="pictofixedwidth"').'phone_perso).'">'; // Mobile phone print ''.$langs->trans("PhoneMobile").''; - print ''.img_picto('', 'object_phoning_mobile', 'class="pictofixedwidth"').' phone_mobile).'">'; + print ''.img_picto('', 'object_phoning_mobile', 'class="pictofixedwidth"').'phone_mobile).'">'; if (!empty($conf->socialnetworks->enabled)) { foreach ($socialnetworks as $key => $value) { diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 72e5d986d72..7de04ab0d14 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -7786,7 +7786,8 @@ abstract class CommonObject } } - $out .= $extrafields->showSeparator($key, $this, ($colspan + 1), $display_type); + // if colspan=0 or 1, the second column is not extended, so the separator must be on 2 columns + $out .= $extrafields->showSeparator($key, $this, ($colspan ? $colspan + 1 : 2), $display_type); } else { $class = (!empty($extrafields->attributes[$this->table_element]['hidden'][$key]) ? 'hideobject ' : ''); $csstyle = ''; @@ -7885,6 +7886,7 @@ abstract class CommonObject $html_id = !empty($this->id) ? $this->element.'_extras_'.$key.'_'.$this->id : ''; if ($display_type == 'card') { + // a first td column was already output (and may be another on before if MAIN_VIEW_LINE_NUMBER set), so this td is the next one $out .= ''; } elseif ($display_type == 'line') { $out .= '
'; diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index 581de47178c..49696049741 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -890,7 +890,7 @@ class Conf } if (!isset($this->global->THEME_HIDE_BORDER_ON_INPUT)) { - $this->global->THEME_HIDE_BORDER_ON_INPUT = 0; + $this->global->THEME_HIDE_BORDER_ON_INPUT = 1; } // Save inconsistent option diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index d5a963ed586..df85c95d9f9 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -5020,7 +5020,6 @@ function print_barre_liste($titre, $page, $file, $options = '', $sortfield = '', if ($cpt == $page) { $pagelist .= ''; $pagelist .= '/'; - //if (($cpt + 1) < $nbpages) $pagelist .= '/'; } } else { if ($cpt == $page) { @@ -5043,9 +5042,7 @@ function print_barre_liste($titre, $page, $file, $options = '', $sortfield = '', } } else { //var_dump($page.' '.$cpt.' '.$nbpages); - //if (($page + 1) < $nbpages) { - $pagelist .= ''; - //} + $pagelist .= ''; } } else { $pagelist .= '"; diff --git a/htdocs/paybox/admin/paybox.php b/htdocs/paybox/admin/paybox.php index 9fddfffab8d..60426e6a3b0 100644 --- a/htdocs/paybox/admin/paybox.php +++ b/htdocs/paybox/admin/paybox.php @@ -30,7 +30,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; $servicename = 'PayBox'; // Load translation files required by the page -$langs->loadLangs(array('admin', 'other', 'paybox', 'paypal')); +$langs->loadLangs(array('admin', 'other', 'paybox', 'paypal', 'stripe')); if (!$user->admin) { accessforbidden(); diff --git a/htdocs/product/stock/stockatdate.php b/htdocs/product/stock/stockatdate.php index d5de51c7311..61198f9121d 100644 --- a/htdocs/product/stock/stockatdate.php +++ b/htdocs/product/stock/stockatdate.php @@ -598,7 +598,7 @@ while ($i < ($limit ? min($num, $limit) : $num)) { $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; - print ''; + print ''."\n"; } $i++; } diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index ba2fb388b69..3f25db32725 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -33,7 +33,7 @@ --colortopbordertitle1: rgb(); --listetotal: #888888; --inputbackgroundcolor: #FFF; - --inputbordercolor: rgba(0,0,0,.2); + --inputbordercolor: rgba(0,0,0,.15); --tooltipbgcolor: ; --tooltipfontcolor : ; --oddevencolor: #202020; @@ -144,11 +144,6 @@ tr.liste_titre th.liste_titre:not(.maxwidthsearch), tr.liste_titre td.liste_titr input { font-size: unset; } -input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select { - background-color: var(--inputbackgroundcolor); - color: var(--colortext); - border-radius: 2px; -} select.vmenusearchselectcombo { background-color: unset; } @@ -172,6 +167,33 @@ table.liste th.wrapcolumntitle.liste_titre:not(.maxwidthsearch), table.liste td. .liste_titre input[name=search_day_date_when], .liste_titre input[name=search_month_date_when], .liste_titre input[name=search_year_date_when], .liste_titre input[name=search_dtstartday], .liste_titre input[name=search_dtendday], .liste_titre input[name=search_dtstartmonth], .liste_titre input[name=search_dtendmonth], select#date_startday, select#date_startmonth, select#date_endday, select#date_endmonth, select#reday, select#remonth, +input, input.flat, form.flat select, select, select.flat, .dataTables_length label select { + border: none; +} +input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select { + color: var(--colortext); + border-radius: 3px; + font-family: ; + outline: none; + margin: 0px 0px 0px 0px; + background-color: var(--inputbackgroundcolor); +} + +.liste_titre input, .liste_titre select { + border: none; + borderglobal->THEME_HIDE_BORDER_ON_INPUT) ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor); + /* padding: 5px; */ +} +.pageplusone, +div.tabBar input, div.tabBar input.flat, div.tabBar textarea, div.tabBar textarea.flat, div.tabBar form.flat select, div.tabBar select, div.tabBar select.flat, div.tabBar .dataTables_length label select +{ + borderglobal->THEME_HIDE_BORDER_ON_INPUT) ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor); + global->THEME_ADD_BACKGROUND_ON_INPUT = 1; if (!empty($conf->global->THEME_ADD_BACKGROUND_ON_INPUT)) { ?> + background-color: #f8f8fa; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + +} input[name=duration_value], input[name=durationhour] { margin-right: 4px !important; @@ -182,24 +204,11 @@ input[type=submit], input[type=submit]:hover { input[type=checkbox], input[type=radio] { margin: 0 3px 0 3px; } -input, input.flat, form.flat select, select, select.flat, .dataTables_length label select { - border: none; -} -input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select { - font-family: ; - outline: none; - margin: 0px 0px 0px 0px; - borderglobal->THEME_SHOW_BORDER_ON_INPUT) ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor); -} - input { line-height: 1.3em; padding: 4px; padding-left: 5px; } -.liste_titre input { - padding: 5px; -} select { padding-top: 5px; padding-right: 4px; @@ -243,11 +252,14 @@ input:invalid, select:invalid, input.--error , select.--error { .field-error-icon { color: #ea1212; !important; } /* Focus definitions must be after standard definition */ -textarea:focus { +div.tabBar textarea:focus { border: 1px solid #aaa !important; } -input:focus, select:focus { - border-bottom: 1px solid #666; +input:focus:not(.select2-search__field), select:focus, .select2-container--open .select2-selection--single { +/* div.tabBar input:focus, div.tabBar select:focus { */ + border-bottom: 1px solid #666 !important; + border-bottom-left-radius: 0 !important; + border-bottom-right-radius: 0 !important; } textarea.cke_source:focus { @@ -258,10 +270,10 @@ div#cke_dp_desc { } textarea { border-radius: 0; - border-top:solid 1px rgba(0,0,0,.2); - border-left:solid 1px rgba(0,0,0,.2); - border-right:solid 1px rgba(0,0,0,.2); - border-bottom:solid 1px rgba(0,0,0,.2); + border-top: solid 1px var(--inputbordercolor); + border-left: solid 1px var(--inputbordercolor); + border-right: solid 1px var(--inputbordercolor); + border-bottom: solid 1px var(--inputbordercolor); padding:4px; margin-left:0px; @@ -403,6 +415,10 @@ select.flat, form.flat select, .pageplusone { input.pageplusone { padding-bottom: 4px; padding-top: 4px; + margin-right: 4px; +} +.paginationlastpage a { + padding-left: 8px; } .saturatemedium { @@ -462,15 +478,15 @@ input.removedfile { border: 0px !important; vertical-align: text-bottom; } -input[type=file ] { +input[type=file] { background-color: transparent; box-shadow: none; - global->THEME_SHOW_BORDER_ON_INPUT)) { ?> + global->THEME_HIDE_BORDER_ON_INPUT)) { ?> border-top: none; border-left: none; border-right: none; - borderglobal->THEME_SHOW_BORDER_ON_INPUT) ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor); + borderglobal->THEME_HIDE_BORDER_ON_INPUT) ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor); } input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=radio] { background-color: transparent; border: none; box-shadow: none; } @@ -994,7 +1010,7 @@ div.divsearchfield { padding-bottom: 3px; padding-left: 10px; padding-right: 10px; - border-bottom: solid 1px rgba(0,0,0,.2); + border-bottom: solid 1px var(--inputbordercolor); height: 24px; } .search_component_searchtext { @@ -5818,7 +5834,7 @@ span#select2-taskid-container[title^='--'] { } span.select2.select2-container.select2-container--default { - global->THEME_SHOW_BORDER_ON_INPUT)) { ?> + global->THEME_HIDE_BORDER_ON_INPUT)) { ?> border-left: none; border-top: none; border-right: none; @@ -5843,6 +5859,8 @@ input.select2-input { } .select2-container--focus span.select2-selection.select2-selection--single { border-bottom: 1px solid #666 !important; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } .blockvmenusearch .select2-container--default .select2-selection--single, @@ -5907,29 +5925,35 @@ input.select2-input { .select2-container--default .select2-selection--single { outline: none; - global->THEME_SHOW_BORDER_ON_INPUT)) { ?> + global->THEME_HIDE_BORDER_ON_INPUT)) { ?> border-top: none; border-left: none; border-right: none; - borderglobal->THEME_SHOW_BORDER_ON_INPUT) ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor); + borderglobal->THEME_HIDE_BORDER_ON_INPUT) ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor); -webkit-box-shadow: none !important; box-shadow: none !important; - border-radius: 0 !important; + border-radius: 3px; +} +.select2-container--focus .select2-container--default .select2-selection--single { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } .select2-container--default.select2-container--focus .select2-selection--multiple { border-top: none; border-left: none; border-right: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } .select2-container--default .select2-selection--multiple { border-bottom: solid 1px var(--inputbordercolor); border-top: none; border-left: none; border-right: none; - border-radius: 0 !important; + border-radius: 3px; background: var(--inputbackgroundcolor); line-height: normal; } @@ -5947,7 +5971,7 @@ input.select2-input { border-top: none !important; border-left: none !important; border-right: none !important; - border-bottom: solid 1px rgba(0,0,0,.2) !important; + border-bottom: solid 1px var(--inputbordercolor) !important; -webkit-box-shadow: none !important; box-shadow: none !important; border-radius: 0 !important; @@ -6196,14 +6220,17 @@ span.noborderoncategories { cursor: default; border: none; - border-bottom: solid 1px rgba(0,0,0,.2); + border-bottom: solid 1px var(--inputbordercolor); padding: 5px; padding-left: 2px; height: 17px; + border-radius: 3px; } .multi-select-button:focus { outline: none; border-bottom: 1px solid #666; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } .multi-select-button:after { @@ -6227,7 +6254,10 @@ span.noborderoncategories { .multi-select-menuitem { clear: both; float: left; - padding-left: 5px + padding-left: 5px; +} +label.multi-select-menuitem { + line-height: 24px; } diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 716414c5f3b..b48916d89eb 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -417,7 +417,7 @@ select#date_startday, select#date_startmonth, select#date_endday, select#date_en input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select { font-family: ; border: none; - borderglobal->THEME_HIDE_BORDER_ON_INPUT) ? '-bottom' : ''; ?>: solid 1px rgba(0,0,0,.2); + borderglobal->THEME_HIDE_BORDER_ON_INPUT) ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor); outline: none; margin: 0px 0px 0px 0px; } @@ -465,10 +465,10 @@ input.short { textarea { border-radius: 0; - border-top:solid 1px rgba(0,0,0,.1); - border-left:solid 1px rgba(0,0,0,.1); - border-right:solid 1px rgba(0,0,0,.1); - border-bottom:solid 1px rgba(0,0,0,.2); + border-top:solid 1px var(--inputbordercolor); + border-left:solid 1px var(--inputbordercolor); + border-right:solid 1px var(--inputbordercolor); + border-bottom:solid 1px var(--inputbordercolor); background-color: #FFF; padding:4px; @@ -6099,6 +6099,9 @@ span.noborderoncategories { float: left; padding-left: 5px } +label.multi-select-menuitem { + line-height: 24px; +} /* ============================================================================== */