From b2e609d8dc22d63f059ecfab21db9a7ba9344102 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 2 Jan 2026 04:05:03 +0100 Subject: [PATCH] CSS v23 --- htdocs/core/class/conf.class.php | 6 +++++ htdocs/core/class/html.formother.class.php | 6 ++--- htdocs/main.inc.php | 5 ++-- htdocs/theme/eldy/global.inc.php | 21 +++++++++++++--- htdocs/theme/md/style.css.php | 28 +++++++++++++++++++--- 5 files changed, 55 insertions(+), 11 deletions(-) diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index 189c17fdc88..766413fe4f4 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -987,6 +987,12 @@ class Conf extends stdClass if (!isset($this->global->MAIN_ENABLE_AJAX_TOOLTIP)) { $this->global->MAIN_ENABLE_AJAX_TOOLTIP = 1; // Try to have it enabled by default with v21+ } + if (!isset($this->global->THEME_SHOW_BORDER_ON_INPUT)) { + $this->global->THEME_SHOW_BORDER_ON_INPUT = 1; + } + if (!isset($this->global->THEME_ELDY_BORDER_RADIUS)) { + $this->global->THEME_ELDY_BORDER_RADIUS = 6; + } // By default, suppliers objects can be linked to all projects if (!isset($this->global->PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS)) { diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index 4644e1c04d0..03731dbb97f 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -938,10 +938,10 @@ class FormOther ); }); '; - $out .= ''; + $out .= ''; } else { $color = ($set_color !== '' ? $set_color : ($default !== '' ? $default : 'FFFFFF')); - $out .= ''; + $out .= ''; $out .= ''; } - $out .= ''; //print ''; foreach ($arrayofcolors as $val) { $out .= '