Permalink
Browse files

MDL-42918: fixed fullscreen width for multichoice answers editor

  • Loading branch information...
rwijaya
rwijaya committed Nov 26, 2013
1 parent ca3b210 commit 4c1ac80799bbac782ffa59f7e33a7d2db5f1f0f4
@@ -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;
@@ -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 **/
@@ -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;
-}

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit 4c1ac80

Please sign in to comment.