Skip to content

Commit

Permalink
Merge branch 'WIP-MDL-36033-master' of git://github.com/nadavkav/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Oct 29, 2012
2 parents 4de9b85 + f121172 commit 506263c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mod/quiz/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -414,3 +414,5 @@ bank window's title is prominent enough*/
#page-mod-quiz-edit.dir-rtl div.quizcontents {clear: right;float: right;}
#page-mod-quiz-edit.dir-rtl .questionbankwindow.block {float: left;}
#page-question-edit.dir-rtl td.creatorname, #page-question-edit.dir-rtl td.modifiername {text-align: center;}
.path-question-type.dir-rtl input[name="defaultmark"],
#page-mod-quiz-edit.dir-rtl div.points input {direction: ltr;text-align: left;}
14 changes: 14 additions & 0 deletions question/type/calculated/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,17 @@
.que.calculated .answer input[type="text"] {
width: 30%;
}

/* Numeric INPUT text boxes should be left aligned in RTL mode
*/
#page-question-type-calculated.dir-rtl input[name^="answer"],
#page-question-type-calculated.dir-rtl input[name^="unit"],
#page-question-type-calculated.dir-rtl input[name^="multiplier"],
#page-question-type-calculated.dir-rtl input[name^="calcmax"],
#page-question-type-calculated.dir-rtl input[name^="calcmin"],
#page-question-type-calculated.dir-rtl input[name^="number"],
#page-question-type-calculated.dir-rtl input[name^="tolerance"]
{
direction: ltr;
text-align: left;
}
12 changes: 12 additions & 0 deletions question/type/numerical/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,15 @@
.que.numerical .answer input[type="text"] {
width: 30%;
}

/* Numeric INPUT text boxes should be left aligned in RTL mode
*/
#page-question-type-numerical.dir-rtl input[name="unitpenalty"],
#page-question-type-numerical.dir-rtl input[name^="answer"],
#page-question-type-numerical.dir-rtl input[name^="tolerance"],
#page-question-type-numerical.dir-rtl input[name^="multiplier"],
#page-question-type-numerical.dir-rtl input[name^="unit"]
{
direction: ltr;
text-align: left;
}

0 comments on commit 506263c

Please sign in to comment.