diff --git a/theme/cornflower/README.html b/theme/cornflower/README.html index 595495b79d5..71b316f6da5 100644 --- a/theme/cornflower/README.html +++ b/theme/cornflower/README.html @@ -1,21 +1,21 @@ -
CR-CornflowerToo is based on the color scheme of the original Cornflower Theme.
- -Free Moodle themes can be downloaded from ClassroomRevolution under Themes.
- -All CR-Themes will be updated to 1.5 in due time.
- -Support Moodle and Open Source Software
- - -This theme is based on Moodle's Standard Theme. By default, the styles of the Standard theme -are automatically loaded before any other -themes, so that all custom themes need to do is to define their -own styles to augment or overwrite particular standard styles.
- -For CR-CornflowerToo to work properly, the Moodle Standard theme must be present and un altered in the Theme directory.
- -In this way custom themes are not "left behind" by Moodle upgrades.
-Notes: Photoshop image files (PSD) are available from the author's website
+CR-CornflowerToo is based on the color scheme of the original Cornflower Theme.
+ +Free Moodle themes can be downloaded from ClassroomRevolution under Themes.
+ +All CR-Themes will be updated to 1.5 in due time.
+ +Support Moodle and Open Source Software
+ + +This theme is based on Moodle's Standard Theme. By default, the styles of the Standard theme +are automatically loaded before any other +themes, so that all custom themes need to do is to define their +own styles to augment or overwrite particular standard styles.
+ +For CR-CornflowerToo to work properly, the Moodle Standard theme must be present and un altered in the Theme directory.
+ +In this way custom themes are not "left behind" by Moodle upgrades.
+Notes: Photoshop image files (PSD) are available from the author's website
diff --git a/theme/cornflower/config.php b/theme/cornflower/config.php index 81253ac050d..53fe202c1bb 100644 --- a/theme/cornflower/config.php +++ b/theme/cornflower/config.php @@ -1,127 +1,127 @@ -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 -//////////////////////////////////////////////////////////////////////////////// - - -$THEME->standardsheets = true; - -/// This variable can be set to an array containing -/// filenames from the *STANDARD* theme. If the -/// array exists, it will be used to choose the -/// files to include in the standard style sheet. -/// When false, then no files are used. -/// When true or NON-EXISTENT, then ALL standard files are used. -/// This parameter can be used, for example, to prevent -/// having to override too many classes. -/// Note that the trailing .css should not be included -/// eg $THEME->standardsheets = array('styles_layout','styles_fonts','styles_color'); -//////////////////////////////////////////////////////////////////////////////// - - -$THEME->parent = ''; - -/// This variable can be set to the name of a parent theme -/// which you want to have included before the current theme. -/// This can make it easy to make modifications to another -/// theme without having to actually change the files -/// If this variable is empty or false then a parent theme -/// is not used. -//////////////////////////////////////////////////////////////////////////////// - - -$THEME->parentsheets = false; - -/// This variable can be set to an array containing -/// filenames from a chosen *PARENT* theme. If the -/// array exists, it will be used to choose the -/// files to include in the standard style sheet. -/// When false, then no files are used. -/// When true or NON-EXISTENT, then ALL standard files are used. -/// This parameter can be used, for example, to prevent -/// having to override too many classes. -/// Note that the trailing .css should not be included -/// eg $THEME->parentsheets = array('styles_layout','styles_fonts','styles_color'); -//////////////////////////////////////////////////////////////////////////////// - - -$THEME->modsheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - - -$THEME->navmenuwidth = 50; - -/// You can use this to control the cutoff point for strings -/// in the navmenus (list of activities in popup menu etc) -/// Default is 50 characters wide. - - -$THEME->makenavmenulist = false; - -/// By setting this to true, then you will have access to a -/// new variable in your header.html and footer.html called -/// $navmenulist ... this contains a simple XHTML menu of -/// all activities in the current course, mostly useful for -/// creating popup navigation menus and so on. - - - -$THEME->resource_mp3player_colors = - 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. - 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. - 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes'; - -/// With this you can control the colours of the "big" MP3 player -/// that is used for MP3 resources. - - -$THEME->filter_mediaplugin_colors = - 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. - 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. - 'waitForPlay=yes'; - -/// ...And this controls the small embedded player - - -$THEME->custompix = false; - -/// If true, then this theme must have a "pix" -/// subdirectory that contains copies of all -/// files from the moodle/pix directory, plus a -/// "pix/mod" directory containing all the icons -/// for all the activity modules. -//////////////////////////////////////////////////////////////////////////////// - - -?> +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 +//////////////////////////////////////////////////////////////////////////////// + + +$THEME->standardsheets = true; + +/// This variable can be set to an array containing +/// filenames from the *STANDARD* theme. If the +/// array exists, it will be used to choose the +/// files to include in the standard style sheet. +/// When false, then no files are used. +/// When true or NON-EXISTENT, then ALL standard files are used. +/// This parameter can be used, for example, to prevent +/// having to override too many classes. +/// Note that the trailing .css should not be included +/// eg $THEME->standardsheets = array('styles_layout','styles_fonts','styles_color'); +//////////////////////////////////////////////////////////////////////////////// + + +$THEME->parent = ''; + +/// This variable can be set to the name of a parent theme +/// which you want to have included before the current theme. +/// This can make it easy to make modifications to another +/// theme without having to actually change the files +/// If this variable is empty or false then a parent theme +/// is not used. +//////////////////////////////////////////////////////////////////////////////// + + +$THEME->parentsheets = false; + +/// This variable can be set to an array containing +/// filenames from a chosen *PARENT* theme. If the +/// array exists, it will be used to choose the +/// files to include in the standard style sheet. +/// When false, then no files are used. +/// When true or NON-EXISTENT, then ALL standard files are used. +/// This parameter can be used, for example, to prevent +/// having to override too many classes. +/// Note that the trailing .css should not be included +/// eg $THEME->parentsheets = array('styles_layout','styles_fonts','styles_color'); +//////////////////////////////////////////////////////////////////////////////// + + +$THEME->modsheets = true; + +/// When this is enabled, then this theme will search for +/// files named "styles.php" inside all Activity modules and +/// include them. This allows modules to provide some basic +/// layouts so they work out of the box. +/// It is HIGHLY recommended to leave this enabled. + + +$THEME->blocksheets = true; + +/// When this is enabled, then this theme will search for +/// files named "styles.php" inside all Block modules and +/// include them. This allows Blocks to provide some basic +/// layouts so they work out of the box. +/// It is HIGHLY recommended to leave this enabled. + + +$THEME->langsheets = false; + +/// By setting this to true, then this theme will search for +/// a file named "styles.php" inside the current language +/// directory. This allows different languages to provide +/// different styles. + + +$THEME->navmenuwidth = 50; + +/// You can use this to control the cutoff point for strings +/// in the navmenus (list of activities in popup menu etc) +/// Default is 50 characters wide. + + +$THEME->makenavmenulist = false; + +/// By setting this to true, then you will have access to a +/// new variable in your header.html and footer.html called +/// $navmenulist ... this contains a simple XHTML menu of +/// all activities in the current course, mostly useful for +/// creating popup navigation menus and so on. + + + +$THEME->resource_mp3player_colors = + 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. + 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. + 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes'; + +/// With this you can control the colours of the "big" MP3 player +/// that is used for MP3 resources. + + +$THEME->filter_mediaplugin_colors = + 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. + 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. + 'waitForPlay=yes'; + +/// ...And this controls the small embedded player + + +$THEME->custompix = false; + +/// If true, then this theme must have a "pix" +/// subdirectory that contains copies of all +/// files from the moodle/pix directory, plus a +/// "pix/mod" directory containing all the icons +/// for all the activity modules. +//////////////////////////////////////////////////////////////////////////////// + + +?> diff --git a/theme/cornflower/docstyles.php b/theme/cornflower/docstyles.php index 52ee9b9dc66..235aab2dcb5 100644 --- a/theme/cornflower/docstyles.php +++ b/theme/cornflower/docstyles.php @@ -1,102 +1,102 @@ - -body { - background-color:#FFFFFF; -} -p, a { - font-size:small; -} - -h1, h2, h3 { - padding-left:0px; - background-color:transparent; - color:#000000; -} - -h1 { - font-size:1.7em; - margin:0.5em 0 0; -} - -h2 { - font-size:1.4em; - margin:0.5em 0 0; -} - -h3 { - font-size:1.2em; - margin:0.5em 0 0; -} - - -li { - margin-bottom: 10px; -} - -ul { - margin-top: 10px; -} - -.question { - font-size: medium; - font-weight: bold; - border: 1px dotted; - padding: 10px; - background-color: #EEEEEE; -} - -.answer { - font-size: medium; - border: none; - padding-left: 40px; -} - -.normaltext { - font-size: medium; - border: none; - margin-left: 30px; -} - -.answercode { - font-family: "Courier New", Courier, mono; - font-size: small; - border: none; - padding-left: 60px; -} - -.questionlink { - font-size: medium; - border: none; - padding-left: 40px; -} - -.examplecode { - font-family: "Courier New", Courier, mono; - font-size: small; - border: thin dashed #999999; - background-color: #FBFBFB; - margin: auto; - margin-top: 0.5em; - padding: 30px; - height: auto; - width: auto; -} - -.spaced { - margin-bottom: 30px; -} + +body { + background-color:#FFFFFF; +} +p, a { + font-size:small; +} + +h1, h2, h3 { + padding-left:0px; + background-color:transparent; + color:#000000; +} + +h1 { + font-size:1.7em; + margin:0.5em 0 0; +} + +h2 { + font-size:1.4em; + margin:0.5em 0 0; +} + +h3 { + font-size:1.2em; + margin:0.5em 0 0; +} + + +li { + margin-bottom: 10px; +} + +ul { + margin-top: 10px; +} + +.question { + font-size: medium; + font-weight: bold; + border: 1px dotted; + padding: 10px; + background-color: #EEEEEE; +} + +.answer { + font-size: medium; + border: none; + padding-left: 40px; +} + +.normaltext { + font-size: medium; + border: none; + margin-left: 30px; +} + +.answercode { + font-family: "Courier New", Courier, mono; + font-size: small; + border: none; + padding-left: 60px; +} + +.questionlink { + font-size: medium; + border: none; + padding-left: 40px; +} + +.examplecode { + font-family: "Courier New", Courier, mono; + font-size: small; + border: thin dashed #999999; + background-color: #FBFBFB; + margin: auto; + margin-top: 0.5em; + padding: 30px; + height: auto; + width: auto; +} + +.spaced { + margin-bottom: 30px; +} diff --git a/theme/cornflower/footer.html b/theme/cornflower/footer.html index acacf9a2fec..31ee06eb1af 100644 --- a/theme/cornflower/footer.html +++ b/theme/cornflower/footer.html @@ -1,18 +1,18 @@ - - - - - -