Created
May 12, 2012 18:28
-
-
Save ramigb/2668051 to your computer and use it in GitHub Desktop.
my twitter bootstrap RTL fixes, it's a bit ugly, but so far it works.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*RTL support to tabs*/ | |
.nav-tabs > li, .nav-pills > li | |
{ | |
float:right; | |
} | |
/*RTL support to DL*/ | |
.dl-horizontal dt { | |
float: right; | |
width: 120px; | |
clear: right; | |
text-align: right; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
white-space: nowrap; | |
} | |
[class*="span"] { | |
float: right; | |
margin-right: 20px; | |
margin-left:0px; | |
} | |
.row | |
{ | |
margin:0px -20px 0px 0px; | |
} | |
.offset12 { | |
margin-right: 980px; | |
margin-left:0px; | |
} | |
.offset11 { | |
margin-right: 900px; | |
margin-left:0px; | |
} | |
.offset10 { | |
margin-right: 820px; | |
margin-left:0px; | |
} | |
.offset9 { | |
margin-right: 740px; | |
margin-left:0px; | |
} | |
.offset8 { | |
margin-right: 660px; | |
margin-left:0px; | |
} | |
.offset7 { | |
margin-right: 580px; | |
margin-left:0px; | |
} | |
.offset6 { | |
margin-right: 500px; | |
margin-left:0px; | |
} | |
.offset5 { | |
margin-right: 420px; | |
margin-left:0px; | |
} | |
.offset4 { | |
margin-right: 340px; | |
margin-left:0px; | |
} | |
.offset3 { | |
margin-right: 260px; | |
margin-left:0px; | |
} | |
.offset2 { | |
margin-right: 180px; | |
margin-left:0px; | |
} | |
.offset1 { | |
margin-right: 100px; | |
margin-left:0px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment