Permalink
Browse files

MDL-40189 - Theme/Clean - Right align form labels and left align form…

… input elements on admin pages, system wide (when in RTL mode)
  • Loading branch information...
nadavkav committed Jul 18, 2013
1 parent 07bbbcf commit 8d223d7140e73cf9cda7141898af450a5e823166
@@ -443,7 +443,10 @@ img.iconsmall {
margin-right: 0.5em;
display: inline;
}
.dir-rtl .form-item .form-setting .defaultsnext {
margin-left: 0.5em;
margin-right: 0;
}
.form-item .form-setting .locked-checkbox {
margin-right: 0.2em;
margin-left: 0.5em;
@@ -150,6 +150,12 @@ input#id_externalurl {
.mform .fitem div.fitemtitle {
.form-horizontal .control-label
}
.dir-rtl {
.form-item .form-label,
.mform .fitem div.fitemtitle {
float:right;
}
}
.form-defaultinfo,
.form-label .form-shortname {
.muted;
@@ -341,6 +347,9 @@ input[type="checkbox"] {
.form-item .form-label label {
margin-bottom: 0;
}
.dir-rtl .form-item .form-label label {
text-align:left;
}
.felement.ffilepicker {
margin-top: 5px;
}
@@ -33,6 +33,19 @@
.form-horizontal .controls {
margin-left: @horizontalComponentOffset980;
}
.dir-rtl {
.form-item .form-setting,
.form-item .form-description,
.mform .fitem .felement,
.mform .fdescription.required,
.userprofile dl.list dd,
.form-horizontal .controls {
margin-right: @horizontalComponentOffset980;
}
}
#page-mod-forum-search.dir-lrt .c1 {
margin-right: @horizontalComponentOffset980;
}
.path-admin .buttons,
.form-buttons {
padding-left: @horizontalComponentOffset980;
@@ -66,10 +79,29 @@
.form-horizontal .controls {
margin-left: @horizontalComponentOffset1200;
}
.dir-rtl {
.form-item .form-setting,
.form-item .form-description,
.mform .fitem .felement,
.mform .fdescription.required,
.userprofile dl.list dd,
.form-horizontal .controls {
margin-right: @horizontalComponentOffset1200;
}
#page-mod-forum-search .c1 {
margin-right: @horizontalComponentOffset1200;
}
}
.path-admin .buttons,
.form-buttons {
padding-left: @horizontalComponentOffset1200;
}
.dir-rtl {
.path-admin .buttons,
.form-buttons {
padding-right: @horizontalComponentOffset1200;
}
}
}

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit 8d223d7

Please sign in to comment.