MDL-46988 gradereport_grader: Fix styling issues for RTL

This issue is a part of the MDL-46658 Task.
This issue is a part of the MDL-25544 Epic.
This commit is contained in:
Frederic Massart
2014-10-03 15:44:04 +08:00
committed by Andrew Nicols
parent 62e11d37c2
commit b0cade1103
+16 -1
View File
@@ -30,6 +30,10 @@
border-bottom-width: 0;
border-right-width: 0;
}
.dir-rtl .gradeparent table {
border-left-width: 0;
border-right-width: 1px;
}
/**
* All the cells.
@@ -41,6 +45,10 @@
padding: 4px 5px;
vertical-align: middle;
}
.dir-rtl .gradeparent .cell {
border-left-width: 1px;
border-right-width: 0;
}
/**
* Stripped table.
@@ -124,6 +132,9 @@
.gradeparent .avg .range {
text-align: right;
}
.dir-rtl .gradeparent .avg .range {
text-align: left;
}
/**
* The header and user fields.
@@ -132,6 +143,10 @@
.gradeparent .user.cell {
text-align: left;
}
.dir-rtl .gradeparent .heading .cell,
.dir-rtl .gradeparent .user.cell {
text-align: right;
}
/**
* Content styling.
@@ -144,7 +159,7 @@
.gradeparent .sorticon {
margin-left: 3px;
}
.dir-rlt .gradeparent .sorticon {
.dir-rtl .gradeparent .sorticon {
margin-left: 0;
margin-right: 3px;
}