clevertech/YiiBooster — pull request #154 by kazuo (2012-12-02 23:01:50+00:00)
Title: Updated jquery-ui LESS

(Note: still learning git/github, and figuring out how to send a PR of just my last commit without the updated changes I fetched from your 1.0.5-wip. Sorry if this is incorrect.)

- Removed all of the jquery-ui LESS files found in less/jquery-ui. These
files were actually really old TB LESS and the original author never did
upload his LESS files to the project.
- The LESS files originated from a fork:
https://github.com/t1gr0u/jquery-ui-bootstrap

Further notes:

The original author of these LESS files, t1grou, did send a PR to its original project, and there's a discussion going on whether or not to includes these LESS files in that parent project. The discussion can be found at: https://github.com/addyosmani/jquery-ui-bootstrap/pull/41

If YiiBooster wants to keep supporting jquery-ui-bootstrap, we may need to maintain these LESS files manually whenever a new version of jquery-ui is released.

I wanted to port those files over to this project to 1) correct the files that were in less/jquery-ui; and 2) if anyone is using the jquery-ui widgets and uses TB's LESS files to customize their styles, the jquery-ui widgets would inherit that style as well.

I did not validate the LESS files from t1gr0u in terms of all the variables being placed in the expected rules. I currently don't use the jquery-ui widgets (yet). I did make a number of changes in t1gr0u's files so that :

1. Comments will be removed when LESS is being compiled to CSS;
2. It also uses TB's variables.less and mixins.less;
3. All `url()` for images are pointed to the correct directory when the LESS is compiled. The relative directory can also be modified in jquery-ui-bootstrap.less under the `@imgFolder` variable

Compile *less/jquery-ui-bootstrap.less*. All of the required imports are in that file. Please note, double check the url paths after your'e done compiling to CSS. I ran into a problem with Simpless where it doesn't compile relative paths correctly. This is a bug in your less compiler and not the less files itself.