pinax/pinax-theme-bootstrap — Issue #22: Make pinax-theme.less main style sheet, provide unmodified bootstrap files
Author: nigma
Created: 2012-01-25 01:08:42+00:00
State: open

This is for the _*less_ branch.

I think that the original bootstrap `.less` files should be provided as is and any modifications should go to a separate style sheet as overrides of the original rules.

This will improve maintainability and help avoid merging errors when updating bootstrap assets.

For example right now there is a modified version of `sprites.less` that has a background-image url path adjusted to Django project layout. This modification could easily be moved to a separate style sheet that will override the original value. The `pinax-theme.less` then could look like:

```
@import "bootstrap.less";

i {
background-image: url(../img/glyphicons-halflings-sprite.png);
}

// any other Pinax specific styles
```

Additionally I think it would be useful to put bootstrap files in a `less/bootstrap` or even better `less/pinax/bootstrap` namespace directory to avoid conflicts with other static assets. And similarly for js and img files as well.