Skip to content

Commit

Permalink
MDL-66932 theme/boost: Use LTR directionality to display user % grades
Browse files Browse the repository at this point in the history
  • Loading branch information
nadavkav committed Jan 20, 2021
1 parent c381757 commit 75ceb04
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions theme/boost/scss/moodle/grade.scss
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,14 @@
background-color: $table-bg;
}
}

.column-contributiontocoursetotal,
.column-range,
.column-percentage,
.column-weight {
/*rtl:ignore*/
direction: ltr;
}
}

/**
Expand Down
6 changes: 6 additions & 0 deletions theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -18524,6 +18524,12 @@ p.arrow_button {
border: none; }
.path-grade-report-user .user-grade.generaltable .levelodd {
background-color: rgba(0, 0, 0, 0.05); }
.path-grade-report-user .user-grade .column-contributiontocoursetotal,
.path-grade-report-user .user-grade .column-range,
.path-grade-report-user .user-grade .column-percentage,
.path-grade-report-user .user-grade .column-weight {
/*rtl:ignore*/
direction: ltr; }

/**
* Single view.
Expand Down
6 changes: 6 additions & 0 deletions theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -18759,6 +18759,12 @@ p.arrow_button {
border: none; }
.path-grade-report-user .user-grade.generaltable .levelodd {
background-color: rgba(0, 0, 0, 0.05); }
.path-grade-report-user .user-grade .column-contributiontocoursetotal,
.path-grade-report-user .user-grade .column-range,
.path-grade-report-user .user-grade .column-percentage,
.path-grade-report-user .user-grade .column-weight {
/*rtl:ignore*/
direction: ltr; }

/**
* Single view.
Expand Down

0 comments on commit 75ceb04

Please sign in to comment.