Feature proposal #4190
closedImplement CSS LESS
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.
Updated by krileon about 11 years ago
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.
Updated by krileon about 11 years ago
Implement phpless for parsing less files to css files.
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.
Updated by krileon about 11 years ago
Add with namespace as follows.
namespace CBphpless;
Use as follows.
new \CBphpless\lessc();
Updated by krileon about 11 years ago
- 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.