From bfa0c3ab4feabe8665144efbae5f441f65e3ef6c Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Tue, 7 Jan 2014 11:29:39 +0100 Subject: [PATCH] MDL-40849 gradingform_guide: Fixed CSS issues with Bootstrapbase --- grade/grading/form/guide/styles.css | 34 ++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/grade/grading/form/guide/styles.css b/grade/grading/form/guide/styles.css index 8ea947c67ff..715d56e1f8d 100644 --- a/grade/grading/form/guide/styles.css +++ b/grade/grading/form/guide/styles.css @@ -11,8 +11,8 @@ .gradingform_guide .criterion .remark {vertical-align: top;} .gradingform_guide.editor .criterion .controls, -.gradingform_guide .criterion .description, -.gradingform_guide .criterion .remark {padding:3px;} +.gradingform_guide.editor .criterion .description, +.gradingform_guide.editor .criterion .remark {padding:3px;} .gradingform_guide .criteria {height:100%;} .gradingform_guide .criterion {border:1px solid #DDD;overflow: hidden;} @@ -55,13 +55,35 @@ .gradingform_guide.editor .hiddenelement {display:none;} .gradingform_guide.editor .pseudotablink {background-color:transparent;border:0 solid;height:1px;width:1px;color:transparent;padding:0;margin:0;position:relative;float:right;} -.gradingform_guide .markingguidecomment {cursor: pointer;} -.jsenabled .gradingform_guide .markingguidecomment:before {content: url([[pix:t/add]]);padding-right:2px;} +.jsenabled .gradingform_guide .markingguidecomment {cursor: pointer;} +.jsenabled .gradingform_guide .markingguidecomment:before { + content: url([[pix:t/add]]); + padding-right:2px; +} +.dir-rtl.jsenabled .gradingform_guide .markingguidecomment:before { + padding-right: 0; + padding-left: 2px; +} .gradingform_guide .commentheader {font-weight:bold;font-size:1.1em;padding-bottom:5px;} .jsenabled .gradingform_guide .criterionnamelabel {display: none;} .jsenabled .gradingform_guide .criterionshortname {font-weight:bold;} .gradingform_guide table {width: 100%} +.gradingform_guide .descriptionreadonly { + vertical-align: top; +} .gradingform_guide .criteriondescriptionmarkers {width: 300px;} -.gradingform_guide .markingguideremark {width: 100%;} -.gradingform_guide .criteriondescriptionscore {display: inline;} \ No newline at end of file +.gradingform_guide .markingguideremark { + margin: 0; + width: 100%; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.gradingform_guide .criteriondescriptionscore {display: inline;} +.gradingform_guide .score label { + display: block; +} +.gradingform_guide .score input { + margin: 0; + width: auto; +}