mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-40786 User Profile: Right align profile fields in RTL mode (theme/bootstrapbase, theme/clean)
This commit is contained in:
parent
9788e26805
commit
293a18945c
@ -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 {
|
||||
|
@ -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
Loading…
x
Reference in New Issue
Block a user