]> git.mjollnir.org Git - moodle.git/commitdiff
quiz editing: MDL-18355 further refinements to the UI. Thanks Olli.
authortjhunt <tjhunt>
Thu, 26 Feb 2009 05:53:31 +0000 (05:53 +0000)
committertjhunt <tjhunt>
Thu, 26 Feb 2009 05:53:31 +0000 (05:53 +0000)
question/editlib.php
theme/standard/styles_fonts.css
theme/standard/styles_layout.css

index 1982df8765e858fa007db6ea88a97807d9aea6f2..aae052939470167921dd9ce77283b0e469f2218d 100644 (file)
@@ -1860,8 +1860,9 @@ function print_choose_qtype_to_add_form($hiddenparams) {
 function print_qtype_to_add_option($qtype, $localizedname) {
     global $QTYPES;
     echo '<div class="qtypeoption">' . "\n";
+    echo '<label for="qtype_' . $qtype . '">';
     echo '<input type="radio" name="qtype" id="qtype_' . $qtype . '" value="' . $qtype . '" />';
-    echo '<label for="qtype_' . $qtype . '"><span class="qtypename">';
+    echo '<span class="qtypename">';
     $fakequestion = new stdClass;
     $fakequestion->qtype = $qtype;
     print_question_icon($fakequestion);
index afbf97f894d054593e9dc17f96e1e88edbeacb96..f70eb1fcc7992861260d9734823197b30a91b9a6 100644 (file)
@@ -725,10 +725,6 @@ body#grade-index .grades .header {
  *** Question
  ***/
 
-#chooseqtype .instruction,
-#chooseqtype .qtypesummary {
-  font-size: 0.8em;
-}
 #chooseqtype .qtypename {
   font-weight: bold;
 }
index a5b0efa3d5112d1ec1cace6719bec5db6af18a0d..34d4d3851957d9681c56f822a684beacb620d6b8 100644 (file)
@@ -2919,6 +2919,9 @@ body.notes .notesgroup {
 #chooseqtype .qtypeoption {
   margin-bottom: 0.5em;
 }
+#chooseqtype label {
+  display: block;
+}
 #chooseqtype .qtypename img {
   padding: 0 0.3em;
 }
@@ -2951,6 +2954,9 @@ body.jsenabled #qtypechoicecontainer {
 #qtypechoicecontainer #chooseqtype .qtypeoption {
   margin-bottom: 0;
 }
+#qtypechoicecontainer #chooseqtype .qtypeoption input {
+  display: none;
+}
 #qtypechoicecontainer #chooseqtype .instruction,
 #qtypechoicecontainer #chooseqtype .qtypesummary {
   display: none;