Permalink
Browse files

MDL-40752 Login RTL: Swapping the panels on two-panel login pages for…

… RTL

Additions to the patch made by Jason Fowler <phalacee@gmail.com>
  • Loading branch information...
1 parent 0e088ae commit f4075b71275167377bc53307d8d0660f4f535ce2 @nadavkav nadavkav committed with jsnfwlr Jan 8, 2014
@@ -457,6 +457,7 @@ input#id_externalurl {direction:ltr;}
.loginbox.twocolumns .loginpanel {float:left;width:49.5%;border-right: 1px solid;margin-bottom:-2000px;padding-bottom:2000px;}
.loginbox.twocolumns .signuppanel {float:right;width:50%;margin-bottom:-2000px;padding-bottom:2000px;}
.loginbox .potentialidp .smallicon { vertical-align: text-bottom; margin: 0 .3em; }
+.dir-rtl .loginbox.twocolumns .loginpanel, .dir-rtl.loginbox.twocolumns .signuppanel {float:right;}
/**
* Notes
@@ -529,6 +529,13 @@ a.skip:active {
margin-bottom: -2000px;
padding-bottom: 2000px;
}
+.dir-rtl {
+ .loginbox.twocolumns .loginpanel,
+ .loginbox.twocolumns .signuppanel {
+ float:right;
+ }
+}
+
.loginbox .potentialidp .smallicon {
vertical-align: text-bottom;
margin: 0 .3em;

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit f4075b7

Please sign in to comment.