Commit 51fe84b3faf4aea8907619a8bdfe1c2cf99266c7
1 parent
ac5772af
Exists in
master
and in
39 other branches
Added some info about the css generation
Showing
1 changed file
with
9 additions
and
2 deletions
Show diff stats
colab/proxy/noosfero/static/css/bootstrap-colab-style.css
| 1 | /** | 1 | /** |
| 2 | * This is a customized version of bootstrap v3.0.0 | 2 | * This is a customized version of bootstrap v3.0.0 |
| 3 | * - The main change is the namespace '.colab-style', which adds a namespace to every rule | 3 | * - The main change is the namespace '.colab-style', which adds a namespace to every rule |
| 4 | - * - Second of all is the 'body' and 'html' rules removal, since they don't make sense inside of | ||
| 5 | - * a nampespace | 4 | + * - Do that by adding a bootstrap.css content inside of a rule. Example: |
| 5 | + * File: bootstrap-with-namespace.less | ||
| 6 | + * 1. .namespace{ | ||
| 7 | + * 2. # all bootstrap.min.css | ||
| 8 | + * 3. } | ||
| 9 | + * Then compile it with lessc and you will get the final namespaced bootstrap | ||
| 10 | + * This is really usefull if you want bootstrap to act only in a few specific tags | ||
| 11 | + * - Second of all is the 'body' and 'html' rules replacement to '.colab-style', since they don't | ||
| 12 | + * make sense inside of a nampespace | ||
| 6 | * - Third is 'fonts' location, just search for fonts and then place the folder according to | 13 | * - Third is 'fonts' location, just search for fonts and then place the folder according to |
| 7 | * its place in the server | 14 | * its place in the server |
| 8 | */ | 15 | */ |