Fix css
This commit is contained in:
parent
6900771c70
commit
3f6b3b51ca
@ -166,7 +166,7 @@ class Form
|
|||||||
$ret.='<input type="hidden" name="action" value="set'.$htmlname.'">';
|
$ret.='<input type="hidden" name="action" value="set'.$htmlname.'">';
|
||||||
$ret.='<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
$ret.='<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
$ret.='<input type="hidden" name="id" value="'.$object->id.'">';
|
$ret.='<input type="hidden" name="id" value="'.$object->id.'">';
|
||||||
if (empty($notabletag)) $ret.='<table class="nobordernopadding" cellpadding="0" cellspacing="0">';
|
if (empty($notabletag)) $ret.='<table class="nobordernopadding centpercent" cellpadding="0" cellspacing="0">';
|
||||||
if (empty($notabletag)) $ret.='<tr><td>';
|
if (empty($notabletag)) $ret.='<tr><td>';
|
||||||
if (preg_match('/^(string|email)/',$typeofdata))
|
if (preg_match('/^(string|email)/',$typeofdata))
|
||||||
{
|
{
|
||||||
@ -189,7 +189,7 @@ class Form
|
|||||||
$morealt=' style="width: '.$cols.'"';
|
$morealt=' style="width: '.$cols.'"';
|
||||||
$cols='';
|
$cols='';
|
||||||
}
|
}
|
||||||
$ret.='<textarea id="'.$htmlname.'" name="'.$htmlname.'" wrap="soft" rows="'.($tmp[1]?$tmp[1]:'20').'"'.($cols?' cols="'.$cols.'"':'').$morealt.'">'.($editvalue?$editvalue:$value).'</textarea>';
|
$ret.='<textarea id="'.$htmlname.'" name="'.$htmlname.'" wrap="soft" rows="'.($tmp[1]?$tmp[1]:'20').'"'.($cols?' cols="'.$cols.'"':'class="quatrevingtpercent"').$morealt.'">'.($editvalue?$editvalue:$value).'</textarea>';
|
||||||
}
|
}
|
||||||
else if ($typeofdata == 'day' || $typeofdata == 'datepicker')
|
else if ($typeofdata == 'day' || $typeofdata == 'datepicker')
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3479,6 +3479,7 @@ td.gtaskname {
|
|||||||
background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png',1) ?>) right top no-repeat;
|
background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png',1) ?>) right top no-repeat;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editkey_datepicker {
|
.editkey_datepicker {
|
||||||
@ -3486,6 +3487,7 @@ td.gtaskname {
|
|||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editval_textarea.active:hover, .editval_ckeditor.active:hover, .editval_string.active:hover, .editval_email.active:hover, .editval_numeric.active:hover, .editval_select.active:hover, .editval_autocomplete.active:hover, .editval_datepicker.active:hover {
|
.editval_textarea.active:hover, .editval_ckeditor.active:hover, .editval_string.active:hover, .editval_email.active:hover, .editval_numeric.active:hover, .editval_select.active:hover, .editval_autocomplete.active:hover, .editval_datepicker.active:hover {
|
||||||
|
|||||||
@ -3549,12 +3549,14 @@ td.gtaskname {
|
|||||||
background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png',1) ?>) right top no-repeat;
|
background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png',1) ?>) right top no-repeat;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editkey_datepicker {
|
.editkey_datepicker {
|
||||||
background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png',1) ?>) right center no-repeat;
|
background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png',1) ?>) right center no-repeat;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editval_textarea.active:hover, .editval_ckeditor.active:hover, .editval_string.active:hover, .editval_email.active:hover, .editval_numeric.active:hover, .editval_select.active:hover, .editval_autocomplete.active:hover, .editval_datepicker.active:hover {
|
.editval_textarea.active:hover, .editval_ckeditor.active:hover, .editval_string.active:hover, .editval_email.active:hover, .editval_numeric.active:hover, .editval_select.active:hover, .editval_autocomplete.active:hover, .editval_datepicker.active:hover {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user