Skip to content
Browse files

MDL-42918: fixed fullscreen width for multichoice answers editor

  • Loading branch information...
1 parent ca3b210 commit 4c1ac80799bbac782ffa59f7e33a7d2db5f1f0f4 @rwijaya rwijaya committed Nov 26, 2013
View
14 question/type/multichoice/styles.css
@@ -42,6 +42,20 @@ body#page-question-type-multichoice div[id^=fitem_id_][id*=answer_] .fitemtitle
font-weight: bold;
}
+body#page-question-type-multichoice div[id^=fitem_id_] .fitemtitle{
+ margin-left: 0px;
+ margin-right: 0px;
+ padding-left: 6px;
+ padding-right: 0px;
+}
+
+body.dir-rtl#page-question-type-multichoice div[id^=fitem_id_] .fitemtitle {
+ margin-left: 0px;
+ margin-right: 0px;
+ padding-left: 0px;
+ padding-right: 6px;
+}
+
body#page-question-type-multichoice div[id^=fitem_id_][id*=fraction_] {
background: #EEE;
margin-bottom: 0;
View
17 theme/base/style/question.css
@@ -130,12 +130,6 @@ body.path-question-type .fitem_fgroup .accesshide {font: inherit;left: 0;positio
background: none;
}
-/* Add a little padding to the answer sections of edit question forms. */
-.path-question-type #id_answerhdr .fitem .fitemtitle,
-.path-question-type #id_answerhdr .fitem .felement {
- margin-left: 6px;
- margin-right: 6px;
-}
.path-question-type #id_answerhdr .fitem_feditor .felement {
margin-left: 0px;
margin-right: 0px;
@@ -145,10 +139,19 @@ body.path-question-type .fitem_fgroup .accesshide {font: inherit;left: 0;positio
margin-left: 16%;
margin-right: 0px;
}
- .dir-rtl .path-question-type #id_answerhdr .fitem_feditor .felement {
+ body#page-question-type-multichoice div[id^=fitem_id_] .fitemtitle {
+ padding-left: 0;
+ padding-right: 0;
+ }
+ .dir-rtl.path-question-type #id_answerhdr .fitem_feditor .felement {
margin-right: 16%;
margin-left: 0px;
}
+
+ body.dir-rtl#page-question-type-multichoice div[id^=fitem_id_] .fitemtitle {
+ padding-left: 0;
+ padding-right: 0;
+ }
}
/** Overide for RTL layout **/
View
11 theme/bootstrapbase/less/moodle/question.less
@@ -460,14 +460,3 @@ a#hidebankcmd {
.que label {
display: inline;
}
-
-/* Add a little padding to the answer sections of edit question forms. */
-.path-question-type #id_answerhdr .fitem .fitemtitle,
-.path-question-type #id_answerhdr .fitem .felement {
- margin-left: 6px;
- margin-right: 6px;
-}
-.path-question-type #id_answerhdr .fitem_feditor .felement {
- margin-left: 0px;
- margin-right: 0px;
-}
View
2 theme/bootstrapbase/style/moodle.css
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit 4c1ac80

Please sign in to comment.
Something went wrong with that request. Please try again.