css
This commit is contained in:
parent
aa699bacc6
commit
6f7b65d9f2
@ -1090,13 +1090,15 @@ if ($resql)
|
||||
$s = '';
|
||||
if ($obj->fk_product_type == 0)
|
||||
{
|
||||
$s .= '<a class="product-type-back" title="'.$langs->trans("Product").'">';
|
||||
$s .= dol_substr($langs->trans("Product"), 0, 1);
|
||||
$s .= '</a>';
|
||||
//$s .= '<a class="product-type-back" title="'.$langs->trans("Product").'">';
|
||||
$s .= img_picto($langs->trans("Product"), 'product', 'class="paddingleftonly paddingrightonly colorgrey"');
|
||||
//$s .= dol_substr($langs->trans("Product"), 0, 1);
|
||||
//$s .= '</a>';
|
||||
} else {
|
||||
$s .= '<span class="service-type-back" title="'.$langs->trans("Service").'">';
|
||||
$s .= dol_substr($langs->trans("Service"), 0, 1);
|
||||
$s .= '</a>';
|
||||
//$s .= '<span class="service-type-back" title="'.$langs->trans("Service").'">';
|
||||
$s .= img_picto($langs->trans("Service"), 'service', 'class="paddingleftonly paddingrightonly colorgrey"');
|
||||
//$s .= dol_substr($langs->trans("Service"), 0, 1);
|
||||
//$s .= '</a>';
|
||||
}
|
||||
print $s;
|
||||
print '</td>';
|
||||
|
||||
@ -385,6 +385,9 @@ input.pageplusone {
|
||||
.colorwhite {
|
||||
color: #fff;
|
||||
}
|
||||
.colorgrey {
|
||||
color: #888 !important;
|
||||
}
|
||||
.colorblack {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
@ -263,22 +263,6 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) $conf->global->THEME_SATURATE_RATIO =
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.product-type-back {
|
||||
background-color: #a6c974 !important;
|
||||
color: #FFF !important;
|
||||
padding: 2px;
|
||||
margin: 2px;
|
||||
border-bottom-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
}
|
||||
.service-type-back {
|
||||
background-color: #979c01 !important;
|
||||
color: #FFF !important;
|
||||
padding: 2px;
|
||||
margin: 2px;
|
||||
border-bottom-right-radius: 5px;
|
||||
border-top-left-radius: 5px;
|
||||
}
|
||||
|
||||
|
||||
.bg-infobox-project{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user