Skip to content
Browse files

MDL-27793 Themes : fixed base (and other themes) theme's loginbox

 - fixed translated lengthy terms were being clipped
 - fixed clipping and positioning of loginbox in rtl and ltr languages both
  • Loading branch information...
1 parent d1c12af commit 89ec652e10bbb7ec26230b0f710c29dcf2efa597 @nebgor nebgor committed Sep 23, 2011
View
5 theme/afterburner/style/afterburner_styles.css
@@ -253,6 +253,11 @@ Course Section Topic & Weekly
display: none; /* hides topic items title or weekly itens title */
margin-bottom: 9px;
}
+/*Login (Login page)*/
+.dir-rtl .loginbox .loginform .form-label {width:47%;}
+.dir-ltr .loginbox .loginform .form-label {width:46%;}
+.loginbox .loginform .form-input {width:53%;}
+
/*
Login (Front Page)
-----------------------*/
View
9 theme/anomaly/style/general.css
@@ -185,7 +185,12 @@ h1.headermain {
margin-top: 15px;
}
-.loginbox .loginform .form-label {
+.dir-rtl .loginbox .loginform .form-label {
+ width: 39%;
+ float: left;
+ text-align: right;
+}
+.dir-ltr .loginbox .loginform .form-label {
width: 39%;
float: left;
text-align: right;
@@ -835,4 +840,4 @@ h1.headermain {
/* Add Block
-------------------------*/
-.block .content .singleselect form#add_block .select.menubui_addblock { width: 160px;}
+.block .content .singleselect form#add_block .select.menubui_addblock { width: 160px;}
View
7 theme/base/style/core.css
@@ -272,7 +272,7 @@ input#id_externalurl {direction:ltr;}
/**
* Login
*/
-.loginbox {margin:15px;overflow:hidden;}
+.loginbox {margin:15px;overflow:visible;}
.loginbox.twocolumns {margin:15px;}
.loginbox h2,
.loginbox .subcontent {margin:5px;padding:10px;text-align:center;}
@@ -285,8 +285,9 @@ input#id_externalurl {direction:ltr;}
.loginbox .potentialidps .potentialidplist {margin-left:40%;}
.loginbox .potentialidps .potentialidplist div {text-align:left;}
.loginbox .loginform {margin-top:1em;text-align:left;}
-.loginbox .loginform .form-label {float:left;text-align:right;width:40%;}
-.loginbox .loginform .form-input {float:right;width:59%;}
+.dir-rtl .loginbox .loginform .form-label {float:left;text-align:right;width:44%;direction:ltr; white-space:nowrap;}
+.dir-ltr .loginbox .loginform .form-label {float:left;text-align:right;width:44%;direction:rtl; white-space:nowrap;}
+.loginbox .loginform .form-input {float:right;width:55%;}
.loginbox .loginform .form-input input {width: 6em;}
.loginbox .signupform {margin-top:1em;text-align:center;}
.loginbox.twocolumns .loginpanel {float:left;width:49.5%;border-right: 1px solid;margin-bottom:-2000px;padding-bottom:2000px;}
View
7 theme/formal_white/style/core.css
@@ -110,14 +110,19 @@ input[type="radio"] {
width: 50%;
}
-.loginbox .loginform .form-label {
+.dir-ltr .loginbox .loginform .form-label {
+ float: none;
+ width: 100%;
margin: 0 auto;
float: left;
text-align: right;
width: 40%;
}
.dir-rtl .loginbox .loginform .form-label {
+ float: none;
+ width: 100%;
+ margin: 0 auto;
text-align: right;
}

0 comments on commit 89ec652

Please sign in to comment.
Something went wrong with that request. Please try again.