diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index 49696049741..2b19e0db134 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -889,10 +889,6 @@ class Conf $this->global->MAIN_SIZE_SHORTLIST_LIMIT = 3; } - if (!isset($this->global->THEME_HIDE_BORDER_ON_INPUT)) { - $this->global->THEME_HIDE_BORDER_ON_INPUT = 1; - } - // Save inconsistent option if (empty($this->global->AGENDA_USE_EVENT_TYPE) && (!isset($this->global->AGENDA_DEFAULT_FILTER_TYPE) || $this->global->AGENDA_DEFAULT_FILTER_TYPE == 'AC_NON_AUTO')) { $this->global->AGENDA_DEFAULT_FILTER_TYPE = '0'; // 'AC_NON_AUTO' does not exists when AGENDA_DEFAULT_FILTER_TYPE is not on. diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 3befc11de2e..adca5ea71c3 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -181,13 +181,13 @@ input, input.flat, textarea, textarea.flat, form.flat select, select, select.fla .liste_titre input, .liste_titre select { border: none; - borderglobal->THEME_HIDE_BORDER_ON_INPUT) ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor); + borderglobal->THEME_SHOW_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); + borderglobal->THEME_SHOW_BORDER_ON_INPUT) ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor); global->THEME_ADD_BACKGROUND_ON_INPUT = 1; if (!empty($conf->global->THEME_ADD_BACKGROUND_ON_INPUT)) { ?> @@ -485,12 +485,12 @@ input.removedfile { input[type=file] { background-color: transparent; box-shadow: none; - global->THEME_HIDE_BORDER_ON_INPUT)) { ?> + global->THEME_SHOW_BORDER_ON_INPUT)) { ?> border-top: none; border-left: none; border-right: none; - borderglobal->THEME_HIDE_BORDER_ON_INPUT) ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor); + borderglobal->THEME_SHOW_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; } @@ -700,10 +700,10 @@ textarea.centpercent { } .flip { - transform: scaleX(-1) translate(2px, 0); + transform: scaleX(-1) translate(2px, 0); } .rotate90 { - transform: rotate(90deg) translate(0, 2px); + transform: rotate(90deg) translate(0, 2px); } .center { text-align: center; @@ -1129,6 +1129,10 @@ ul.attendees li { } select.flat.selectlimit { max-width: 62px; + text-align: end; + border-bottom: 1px solid var(--inputbordercolor); + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } .selectlimit, .marginrightonly { margin-: 10px !important; @@ -5838,7 +5842,7 @@ span#select2-taskid-container[title^='--'] { } span.select2.select2-container.select2-container--default { - global->THEME_HIDE_BORDER_ON_INPUT)) { ?> + global->THEME_SHOW_BORDER_ON_INPUT)) { ?> border-left: none; border-top: none; border-right: none; @@ -5929,13 +5933,13 @@ input.select2-input { .select2-container--default .select2-selection--single { outline: none; - global->THEME_HIDE_BORDER_ON_INPUT)) { ?> + global->THEME_SHOW_BORDER_ON_INPUT)) { ?> border-top: none; border-left: none; border-right: none; - borderglobal->THEME_HIDE_BORDER_ON_INPUT) ? '' : '-bottom'; ?>: solid 1px var(--inputbordercolor); + borderglobal->THEME_SHOW_BORDER_ON_INPUT) ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor); -webkit-box-shadow: none !important; box-shadow: none !important; @@ -6055,6 +6059,7 @@ a span.select2-chosen } .select2-results__option { word-break: break-word; + text-align: ; } .select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices { background-color: var(--colorbackvmenu1); diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 7dcfc1664fd..7fc8d47ee7d 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 var(--inputbordercolor); + borderglobal->THEME_SHOW_BORDER_ON_INPUT) ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor); outline: none; margin: 0px 0px 0px 0px; } @@ -849,10 +849,10 @@ textarea.centpercent { } .flip { - transform: scaleX(-1) translate(2px, 0); + transform: scaleX(-1) translate(2px, 0); } .rotate90 { - transform: rotate(90deg) translate(0, 2px); + transform: rotate(90deg) translate(0, 2px); } .center { text-align: center; @@ -5905,6 +5905,7 @@ a span.select2-chosen } .select2-results__option { word-break: break-word; + text-align: ; } .select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices { background-color: #FFFFFF;