This commit is contained in:
Laurent Destailleur 2025-11-06 03:56:06 +01:00
parent b7213f0797
commit a1bc0dc27c
2 changed files with 7 additions and 1 deletions

View file

@ -634,7 +634,7 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
if ($foruserprofile) {
} else {
if (getDolGlobalString('THEME_ELDY_USEBORDERONTABLE')) {
if (getDolGlobalString('THEME_ELDY_USEBORDERONTABLE') || getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) {
$listofborderradius = array(
0 => $langs->transnoentitiesnoconv("No"),
4 => $langs->transnoentitiesnoconv("Size").' 4',

View file

@ -370,7 +370,9 @@ input, input.flat, form.flat select, select, select.flat, .dataTables_length lab
}
input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
color: var(--colortext);
<?php if (getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
border-radius: 5px;
<?php } ?>
font-family: <?php print $fontlist ?>;
outline: none;
margin: 0px 0px 0px 0px;
@ -435,6 +437,10 @@ input[type=checkbox], input[type=radio] {
input {
padding: 5px;
padding-left: 5px;
<?php if (getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
<?php } ?>
}
.liste_titre input {
line-height: 1.3em;