]> git.mjollnir.org Git - moodle.git/commitdiff
changes to style sheet in line with http://moodle.org/mod/forum/discuss.php?d=54907...
authorjamiesensei <jamiesensei>
Wed, 27 Sep 2006 19:10:31 +0000 (19:10 +0000)
committerjamiesensei <jamiesensei>
Wed, 27 Sep 2006 19:10:31 +0000 (19:10 +0000)
theme/standard/styles_form.css

index 81cb60e17e99628f997bd53717acf57d8de1d6af..eeca6810c00b76c0b0ce61b6e53b272b4ff8b974 100644 (file)
@@ -21,38 +21,64 @@ form.mform fieldset.hidden {
 form.mform fieldset legend {
     font-weight: bold;
 }
-form.mform label {
-    margin: 0 0 0 5px;
+
+form.mform div.fitem {
+    clear: both;
+    width: 100%;
+    min-height: 1.5em;
 }
-form.mform div.qfrow {
+/* uncomment this and edit formslib.php for
+ol li containers for form items.
+
+form.mform fieldset li.qfrow {
+    list-style: none;
+    padding: 5px;
+    margin: 0;
     clear: both;
     width: 100%;
     min-height: 1.5em;
 }
-form.mform label.qflabel {
+form.mform fieldset ol {
+  margin: 0;
+  padding: 0;
+}*/
+form.mform label {
     display: block;
     float: left;
     width: 30%;
     padding: 0;
-    margin: 5px 0 0 0;
+    margin: 0 0 0 0;
     text-align: right;
 }
-form.mform div.qfelement {
+div.fitem div.fgroup label {
+    display:inline;
+    float: none;
+    width: auto;
+}
+
+form.mform div.felement {
     /* display: inline; */
     display: block;
     float: left;
     margin: 5px 0 0 10px;
     padding: 0;
+    text-align:left;
+}
+
+form.mform div.fdescription {
+    clear: both;
+    min-height: 1.5em;
 }
+
 form.mform input, form.mform select {
     width: auto;
 }
-form.mform textarea {
+form.mform ftextarea {
 }
 form.mform br {
     clear: left;
 }
-form.mform div.htmleditor {
+form.mform div.fhtmleditor {
     margin: 0 auto 10px auto;
     width : 600px;
     clear:both;