MDL-40786 User Profile: Right align profile fields in RTL mode (theme/bootstrapbase, theme/clean)

This commit is contained in:
Nadav Kavalerchik 2013-08-18 00:17:11 +03:00 committed by Jason Fowler
parent 9788e26805
commit 293a18945c
3 changed files with 33 additions and 6 deletions

View File

@ -50,6 +50,11 @@
.form-buttons {
padding-left: @horizontalComponentOffset980;
}
.dir-rtl {
.userprofile dl.list dd {
margin-right: @horizontalComponentOffset980;
}
}
}
@ -125,11 +130,18 @@
.mform .fdescription.required,
.userprofile dl.list dd,
.form-horizontal .controls {
margin-right: @horizontalComponentOffset1200;
margin-right: @horizontalComponentOffset1200 - 100px;
}
#page-mod-forum-search .c1 {
margin-right: @horizontalComponentOffset1200;
}
.form-item .form-label,
.mform .fitem div.fitemtitle,
.userprofile dl.list dt,
.form-horizontal .control-label {
width: @horizontalComponentOffset1200 - 120px;
}
}
.path-admin .buttons,
.form-buttons {

View File

@ -17,6 +17,22 @@
float: left;
clear: none;
}
.dir-rtl {
.userprofile .description {
margin-right:0;
}
.user-box {
float:right;
}
.userprofile dl.list dt {
float:right;
text-align: left;
padding-left: 10px;
}
.userprofile dl.list dd {
margin-left:0;
}
}
.userlist .action-icon img {
vertical-align: middle;
}
@ -156,9 +172,8 @@
margin-right: auto;
}
/** Overide for RTL layout **/
.dir-rtl .descriptionbox {
margin-right: 110px;
margin-left: 0;
.dir-rtl .userprofilebox .descriptionbox {
margin: 0;
}
.dir-rtl .userlist table#participants td,
.dir-rtl .userlist table#participants th {

File diff suppressed because one or more lines are too long