twitter/bootstrap — pull request #6423 by malekpour (2012-12-30 09:47:01+00:00)
Title: Add RTL support

As we discussed on pull request [#6409](https://github.com/twitter/bootstrap/pull/6409) RTL added in a separate ```rtl.less``` file on branch 3.0.0-wip.
All components supported. The page ```rtl.html```, loads Bootstrap documentation ```.mustache``` templates on the fly and renders RTL/LTR contents correctly without any modification.
Tested and worked with Chrome 23, FireFox 17 and IE10.

Developers can add RTL layout support to their current Bootstrap websites, simply by adding ```.rtl``` CSS class to any HTML element. e.g:
``` html

...

```
or dynamically
``` javascript
function switchLayout() {
$(document.body).toggleClass('rtl');
}
```
Another class, ```.mirror``` is useful to change direction of arrows and font icons. See its functionality in 'Icons by Glyphicons' section of the demo.

[Online Demo](http://malekpour.github.com/bootstrap/3.0.0-wip/docs/rtl.html) (buttons on navigation bar added to compare RTL/LTR layouts, F2 [RTL/LTR] and F3 [Mirror/Normal] kyes also works and when modal popup is visible only hotkeys will work)