18 Mar
2014
18 Mar
'14
5:57 p.m.
Hi guys, When a user create a new skin, she might have to change the CSS classes provided by some UI components. But she cannot simply override the class in her own style.css because uicomponents css are currently called after the skin in the HTML page. To fix it, in Flamingo, I currently copy the uicomponents css code into my style.css, and then modify it. Thanks to LESS, I am able to split my big CSS file into several LESS files, so the code still looks good. Then, I remove every calls to $xwiki.ssfx.use('uicomponents/...') in my templates. But it might not be a good solution to have uicomponents splitted in different locations like this. What is your opinion about this? Thanks, Louis-Marie