header('Pragma: ');
header('Content-type: text/css'); // Correct MIME type
- $DEFAULT_SHEET_LIST = array('styles_layout', 'styles_fonts', 'styles_color', 'styles_form');
+ $DEFAULT_SHEET_LIST = array('styles_layout', 'styles_fonts', 'styles_color');
if (empty($themename)) {
$themename = current_theme(); // So we have something. Normally not needed.
////////////////////////////////////////////////////////////////////////////////
-$THEME->standardsheets = array('styles_layout','styles_form');
+$THEME->standardsheets = array('styles_layout');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
/// stylesheet files you want included in this theme, and in what order
////////////////////////////////////////////////////////////////////////////////
-$THEME->standardsheets = array('styles_layout','styles_form');
+$THEME->standardsheets = array('styles_layout');
///$THEME->standardsheets = true;
/// This variable can be set to an array containing
////////////////////////////////////////////////////////////////////////////////
-$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_form');
+$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
////////////////////////////////////////////////////////////////////////////////
-$THEME->standardsheets = array('styles_layout','styles_form');
+$THEME->standardsheets = array('styles_layout');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
////////////////////////////////////////////////////////////////////////////////
-$THEME->standardsheets = array('styles_layout','styles_form');
+$THEME->standardsheets = array('styles_layout');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
////////////////////////////////////////////////////////////////////////////////
-$THEME->sheets = array('styles_layout', 'styles_fonts', 'styles_color', 'styles_form');
+$THEME->sheets = array('styles_layout', 'styles_fonts', 'styles_color');
/// This variable is an array containing the names of all the
/// stylesheet files you want included in this theme, and in what order
+++ /dev/null
-/*******************************************************************
- styles_form.css
-
- This CSS file contains all css required for new css and xhtml only
- moodleforms.
-*/
-form.mform {
- margin: 0;
- padding: 0;
- width: 100%;
-}
-form.mform fieldset {
- border: 1px solid black;
- padding: 10px 0;
- margin: 0;
- width:100%;
-}
-form.mform fieldset.hidden, form.mform fieldset.felement {
- border: 0;
-}
-form.mform fieldset.felement {
- width: auto;
-}
-form.mform fieldset legend {
- font-weight: bold;
-}
-
-form.mform div.fitem {
- clear: both;
- width: 100%;
- min-height: 1.5em;
-}
-/* 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 fieldset ol {
- margin: 0;
- padding: 0;
-}*/
-form.mform label {
- display: block;
- float: left;
- width: 30%;
- padding: 0;
- margin: 0 0 0 0;
- text-align: right;
-}
-div.fitem fieldset.fgroup label {
- display:inline;
- float: none;
- width: auto;
-}
-
-form.mform div.felement, form.mform fieldset.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 ftextarea {
-}
-form.mform br {
- clear: left;
-}
-form.mform div.fhtmleditor {
- margin: 0 auto 10px auto;
- width : 600px;
- clear:both;
- float:none;
-}
-form.mform span.error, form.mform span.required {
- color: red;
-}
-form.mform div.error {
- border: 1px solid red;
- padding: 5px;
- color: inherit;
-}
Styles are organised into the following sections:
core
+ forms
header
footer
display:none;
}
+/***
+ *** Forms
+ ***/
+
+form.mform {
+ margin: 0;
+ padding: 0;
+ width: 100%;
+}
+form.mform fieldset {
+ border: 1px solid black;
+ padding: 10px 0;
+ margin: 0;
+ width:100%;
+}
+form.mform fieldset.hidden, form.mform fieldset.felement {
+ border: 0;
+}
+form.mform fieldset.felement {
+ width: auto;
+}
+form.mform fieldset legend {
+ font-weight: bold;
+}
+
+form.mform div.fitem {
+ clear: both;
+ width: 100%;
+ min-height: 1.5em;
+}
+/* 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 fieldset ol {
+ margin: 0;
+ padding: 0;
+}*/
+form.mform label {
+ display: block;
+ float: left;
+ width: 30%;
+ padding: 0;
+ margin: 0 0 0 0;
+ text-align: right;
+}
+div.fitem fieldset.fgroup label, div.fradio label, div.fcheckbox label{
+ display:inline;
+ float: none;
+ width: auto;
+}
+
+form.mform div.felement, form.mform fieldset.felement{
+ 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 ftextarea {
+}
+form.mform br {
+ clear: left;
+}
+form.mform div.fhtmleditor {
+ margin: 0 auto 10px auto;
+ width : 600px;
+ clear:both;
+ float:none;
+}
+form.mform span.error, form.mform span.required {
+ color: red;
+}
+form.mform div.error,form.mform fieldset.error {
+ border: 1px solid red;
+ padding: 5px;
+ color: inherit;
+}
+
+
+
+
/***
*** Header
***/
////////////////////////////////////////////////////////////////////////////////
-$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz','styles_form');
+$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
////////////////////////////////////////////////////////////////////////////////
-$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz','styles_form');
+$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
////////////////////////////////////////////////////////////////////////////////
-$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz','styles_form');
+$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
////////////////////////////////////////////////////////////////////////////////
-$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz','styles_form');
+$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
////////////////////////////////////////////////////////////////////////////////
-$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz','styles_form');
+$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
////////////////////////////////////////////////////////////////////////////////
-$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_form');
+$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the