8adab90136560a5d0f12840057fc5e9cc41db949
FAQ/bootstrap-namespacing.md
| ... | ... | @@ -0,0 +1,21 @@ |
| 1 | +#Namespace Izenda's Bootstrap Classes to Avoid Conflicts |
|
| 2 | + |
|
| 3 | +**Under Construction** |
|
| 4 | +<!-- |
|
| 5 | +[[TOC]] |
|
| 6 | + |
|
| 7 | +##Introduction |
|
| 8 | +You will need a CSS pre-processor (SASS or LESS) to accomplish this. |
|
| 9 | + |
|
| 10 | +##Using SASS |
|
| 11 | +1. To avoid having to change several references throughout the applicaiton, rename main.css (for example, main-no-namespace.css). |
|
| 12 | + |
|
| 13 | +2. Create a SASS sheet titled main.css. |
|
| 14 | + |
|
| 15 | +3. Import the renamed file (in this case, main-no-namespace.css) into the SASS sheet _inside_ the new namespace class. This sheet will compile to main.css. |
|
| 16 | + |
|
| 17 | +4. Add the new namespace class (in this case, izenda-bs) to the top-level Izenda div. In our vanilla reference implementations, all Izenda pages render inside of the first div below the body tag in the Default.master page. |
|
| 18 | + |
|
| 19 | +##Using LESS |
|
| 20 | + |
|
| 21 | +--> |
|
| ... | ... | \ No newline at end of file |