Feature proposal #4190
closed
Added by krileon about 11 years ago.
Updated about 10 years ago.
Start date:
28 August 2013
Description
Add new header functions to add LESS scripts to the header. If any LESS scripts are added to the header it should add the LESS JS file as needed.
Update Bootstrap jquery plugin to load in bootstrap.less instead of bootstrap.css with a namespace of "cb_bootstrap" so it won't conflict with anything.
Implement phpless for parsing less files to css files.
http://leafo.net/lessphp/
Should still implement normal document header functions, but it'll take the .less and pass it through to output .css (caching included) then add the .css to the header instead of adding a .less.
Add with namespace as follows.
namespace CBphpless;
Use as follows.
new \CBphpless\lessc();
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Implemented without namespace and simply renamed classes to be prefixed with cb.
Implemented new document methods addHeadLessStyleSheet and addHeadLessStyleInline to add .less files or inline less to header as compiled css.
- Status changed from Resolved to Closed
Also available in: Atom
PDF