I cannot figure out how Dolibarr actually manage the CSS properties. And I cannot find any information relevant to that in this forum or wikipage.
I would like to modify or add some CSS properties. For instance, for the table part of the Purchase Order module which are managed by the following templates:
htdocs/core/tpl/objectline_title.tpl.php
htdocs/core/tpl/objectline_view.tpl.php
On core/tpl/objectline_title.tpl.php
, there are the following settings for instance:
// Description
print '<td class="linecoldescription">'.$langs->trans('Description').'</td>';
.
// Price HT
print '<td class="linecoluht right" style="width: 80px">'.$langs->trans('PriceUHT').'</td>';
As we can see above, there are CSS class selectors linecoldescription
and linecoluht
. However, they don’t exist on any CSS files in Dolibarr.
From what I observed, the only CSS file that is being used by Dolibarr is the CSS file of the theme, e.g. htdocs/theme/eldy/style.css.php
. But the above CSS class selectors linecoldescription
and linecoluht
are not there as well.
The last resort that I can use is to add CSS properties using the style element like on the setting for PriceUHT above.
Do any of you have better suggestions than the above?
And how is the CSS actually being utilised in Dolibarr?
Thanks a lot in advance for your help.