Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit a1fc9592a310f3cea5bfaab3912ccef514176204 1 parent 62b0af5
@nebgor nebgor authored
View
5 theme/afterburner/style/afterburner_styles.css
@@ -247,6 +247,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
8 theme/anomaly/style/general.css
@@ -165,7 +165,13 @@ html, body {
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;
View
7 theme/base/style/core.css
@@ -268,7 +268,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;}
@@ -281,8 +281,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
6 theme/canvas/style/core.css
@@ -105,6 +105,12 @@ input[type="radio"] {
}
.dir-rtl .loginbox .loginform .form-label {
text-align: right;
+ direction: rtl;
+}
+
+.dir-ltr .loginbox .loginform .form-label {
+ text-align: left;
+ direction: ltr;
}
.loginbox .loginform .form-input {
float: none;
View
5 theme/formal_white/style/core.css
@@ -110,7 +110,7 @@ input[type="radio"] {
width: 50%;
}
-.loginbox .loginform .form-label {
+.dir-ltr .loginbox .loginform .form-label {
float: none;
width: 100%;
margin: 0 auto;
@@ -118,6 +118,9 @@ input[type="radio"] {
}
.dir-rtl .loginbox .loginform .form-label {
+ float: none;
+ width: 100%;
+ margin: 0 auto;
text-align: right;
}
Please sign in to comment.
Something went wrong with that request. Please try again.