[Vtigercrm-developers] themes and less files

Alan Bell alan.bell at libertus.co.uk
Fri Mar 6 11:28:56 GMT 2015


Hi,
it seems that the version of bootstrap included with vtiger has a 
mixins.less file that does not work with newer versions of the lessc 
compiler

http://stackoverflow.com/questions/19553367/less-unrecognized-input-error-when-using-bootstrap

if you make the following changes then it does compile, this is useful 
for making a custom theme, you have to delete the style.css then the 
theme works in the browser but is slow, when you have the css right, you 
compile it on the server into a style.css file and it doesn't have to be 
built on the fly in the browser.

522c522
<       .span@{index} { .span(@index); }
---
 >       (~".span@{index}") { .span(@index); }
528c528
<       .offset@{index} { .offset(@index); }
---
 >       (~".offset@{index}") { .offset(@index); }
565c565
<       > .span@{index} { .span(@index); }
---
 >       (~"> .span@{index}") { .span(@index); }
594c594
<       input.span@{index}, textarea.span@{index}, 
.uneditable-input.span@{index} { .span(@index); }
---
 >       (~"input.span@{index}, textarea.span@{index}, 
.uneditable-input.span@{index}") { .span(@index); }



More information about the vtigercrm-developers mailing list