diff --git a/lib/classes/plugin_manager.php b/lib/classes/plugin_manager.php index 802642c85d2e6..a4fe259bf9568 100644 --- a/lib/classes/plugin_manager.php +++ b/lib/classes/plugin_manager.php @@ -909,7 +909,9 @@ public static function is_deleted_standard_plugin($type, $name) { 'qformat' => array('blackboard'), 'enrol' => array('authorize'), 'tool' => array('bloglevelupgrade'), - 'theme' => array('mymobile'), + 'theme' => array('mymobile', 'afterburner', 'anomaly', 'arialist', 'binarius', 'boxxie', 'brick', 'formal_white', + 'formfactor', 'fusion', 'leatherbound', 'magazine', 'nimble', 'nonzero', 'overlay', 'serenity', 'sky_high', + 'splash', 'standard', 'standardold'), ); if (!isset($plugins[$type])) { @@ -1111,11 +1113,7 @@ public static function standard_plugins_list($type) { ), 'theme' => array( - 'afterburner', 'anomaly', 'arialist', 'base', 'binarius', 'bootstrapbase', - 'boxxie', 'brick', 'canvas', 'clean', 'formal_white', 'formfactor', - 'fusion', 'leatherbound', 'magazine', 'nimble', - 'nonzero', 'overlay', 'serenity', 'sky_high', 'splash', - 'standard', 'standardold' + 'base', 'bootstrapbase', 'canvas', 'clean' ), 'tool' => array( diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index a81720d2791b1..ad493336cdfa9 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -3183,5 +3183,50 @@ function xmldb_main_upgrade($oldversion) { upgrade_main_savepoint(true, 2014031400.04); } + if ($oldversion < 2014032000.01) { + + // Removing the themes from core. + $themes = array('afterburner', 'anomaly', 'arialist', 'binarius', 'boxxie', 'brick', 'formal_white', 'formfactor', + 'fusion', 'leatherbound', 'magazine', 'nimble', 'nonzero', 'overlay', 'serenity', 'sky_high', 'splash', + 'standard', 'standardold'); + + foreach ($themes as $key => $theme) { + if (check_dir_exists($CFG->dirroot . '/theme/' . $theme, false)) { + // Ignore the themes that have been re-downloaded. + unset($themes[$key]); + } + } + + list($insql, $inparams) = $DB->get_in_or_equal($themes, SQL_PARAMS_NAMED); + + // Replace the theme usage. + $DB->set_field_select('course', 'theme', 'clean', "theme $insql", $inparams); + $DB->set_field_select('course_categories', 'theme', 'clean', "theme $insql", $inparams); + $DB->set_field_select('user', 'theme', 'clean', "theme $insql", $inparams); + $DB->set_field_select('mnet_host', 'theme', 'clean', "theme $insql", $inparams); + + // Replace the theme configs. + if (in_array(get_config('core', 'theme'), $themes)) { + set_config('theme', 'clean'); + } + if (in_array(get_config('core', 'thememobile'), $themes)) { + set_config('thememobile', 'clean'); + } + if (in_array(get_config('core', 'themelegacy'), $themes)) { + set_config('themelegacy', 'clean'); + } + if (in_array(get_config('core', 'themetablet'), $themes)) { + set_config('themetablet', 'clean'); + } + + // Hacky emulation of plugin uninstallation. + foreach ($themes as $theme) { + unset_all_config_for_plugin('theme_' . $theme); + } + + // Main savepoint reached. + upgrade_main_savepoint(true, 2014032000.01); + } + return true; } diff --git a/lib/setuplib.php b/lib/setuplib.php index 6bb48407fa771..54c57b77ece2e 100644 --- a/lib/setuplib.php +++ b/lib/setuplib.php @@ -1261,7 +1261,7 @@ function disable_output_buffering() { */ function redirect_if_major_upgrade_required() { global $CFG; - $lastmajordbchanges = 2014022600.00; + $lastmajordbchanges = 2014031900.00; if (empty($CFG->version) or (float)$CFG->version < $lastmajordbchanges or during_initial_install() or !empty($CFG->adminsetuppending)) { try { diff --git a/theme/afterburner/config.php b/theme/afterburner/config.php deleted file mode 100644 index 7fdddb456c342..0000000000000 --- a/theme/afterburner/config.php +++ /dev/null @@ -1,168 +0,0 @@ -. - -/** - * Afterburner theme configuration. - * - * @package theme_afterburner - * @copyright 2011 Mary Evans - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'afterburner'; - -$THEME->parents = array('base'); - -$THEME->sheets = array( - 'afterburner_pagelayout', // Must come first: page layout. - 'afterburner_styles', // Must come second: default styles. - 'afterburner_menu', - 'afterburner_blocks', - 'afterburner_mod', - 'afterburner_calendar', - 'afterburner_dock', - 'afterburner_rtl', - 'afterburner_responsive', - 'afterburner_settings', - -); - -$THEME->parents_exclude_sheets = array( - 'base' => array( - 'pagelayout', - 'dock' - ), -); -$THEME->editor_sheets = array('editor'); - -$THEME->layouts = array( - // Most backwards compatible layout without the blocks - this is the layout used by default. - 'base' => array( - 'file' => 'default.php', - 'regions' => array(), - ), - // Standard layout with blocks, this is recommended for most pages with default information. - 'standard' => array( - 'file' => 'default.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - // Main course page. - 'course' => array( - 'file' => 'default.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'coursecategory' => array( - 'file' => 'default.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - // part of course, typical for modules - default page layout if $cm specified in require_login(). - 'incourse' => array( - 'file' => 'default.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - // The site home page. - 'frontpage' => array( - 'file' => 'default.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - // Server administration scripts. - 'admin' => array( - 'file' => 'default.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - // My dashboard page. - 'mydashboard' => array( - 'file' => 'default.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - 'options' => array('langmenu'=>true), - ), - // My public page. - 'mypublic' => array( - 'file' => 'default.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - 'login' => array( - 'file' => 'default.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - - // Pages that appear in pop-up windows - no navigation, no blocks, no header. - 'popup' => array( - 'file' => 'default.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologininfo'=>true, 'nocourseheaderfooter'=>true), - ), - // No blocks and minimal footer - used for legacy frame layouts only! - 'frametop' => array( - 'file' => 'default.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - // Embedded pages, like iframe/object embeded in moodleform - it needs as much space as possible. - 'embedded' => array( - 'file' => 'embedded.php', - 'regions' => array() - ), - // Used during upgrade and install, and for the 'This site is undergoing maintenance' message. - // This must not have any blocks, and it is good idea if it does not have links to - // other places - for example there should not be a home link in the footer... - 'maintenance' => array( - 'file' => 'default.php', - 'regions' => array(), - 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'default.php', - 'regions' => array(), - 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>false, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // The pagelayout used when a redirection is occuring. - 'redirect' => array( - 'file' => 'embedded.php', - 'regions' => array() - ), - // The pagelayout used for reports. - 'report' => array( - 'file' => 'default.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - // The pagelayout used for safebrowser and securewindow. - 'secure' => array( - 'file' => 'default.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologinlinks'=>true, 'nocourseheaderfooter'=>true), - ), -); - -$THEME->enable_dock = true; - -$THEME->rendererfactory = 'theme_overridden_renderer_factory'; - -$THEME->csspostprocess = 'afterburner_process_css'; diff --git a/theme/afterburner/db/upgrade.php b/theme/afterburner/db/upgrade.php deleted file mode 100644 index 6377625ac5402..0000000000000 --- a/theme/afterburner/db/upgrade.php +++ /dev/null @@ -1,78 +0,0 @@ -. - -/** - * Afterburner upgrades. - * - * @package theme_afterburner - * @copyright 2013 Petr Skoda {@link http://skodak.org} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * Upgrade steps for the Afterburner theme. - * - * @param int $oldversion - * @return bool - */ -function xmldb_theme_afterburner_upgrade($oldversion) { - global $CFG, $DB, $OUTPUT; - - $dbman = $DB->get_manager(); - - if ($oldversion < 2013041200) { - // Migrate logo URL. - $logo = get_config('theme_afterburner', 'logo'); - if ($logo === '') { - // No logo means nothing to do. - - } else if ($logo = clean_param($logo, PARAM_URL)) { - require_once("$CFG->libdir/filelib.php"); - if ($content = download_file_content($logo)) { - $filename = preg_replace('/^.*\//', '', $logo); - if (!$filename = clean_param($filename, PARAM_FILE)) { - // Some name is better than no name... - $filename = 'logo.jpg'; - } - $fs = get_file_storage(); - $record = array( - 'contextid' => context_system::instance()->id, 'component' => 'theme_afterburner', - 'filearea' => 'logo', 'itemid'=>0, 'filepath'=>'/', 'filename'=>$filename); - $fs->create_file_from_string($record, $content); - set_config('logo', '/'.$filename, 'theme_afterburner'); - unset($content); - - } else { - unset_config('theme_afterburner', 'logo'); - } - } else { - // Prompt for new logo, the old setting was invalid. - unset_config('theme_afterburner', 'logo'); - } - - upgrade_plugin_savepoint(true, 2013041200, 'theme', 'afterburner'); - } - - - // Moodle v2.5.0 release upgrade line. - // Put any upgrade step following this. - - - // Moodle v2.6.0 release upgrade line. - // Put any upgrade step following this. - - return true; -} diff --git a/theme/afterburner/lang/en/theme_afterburner.php b/theme/afterburner/lang/en/theme_afterburner.php deleted file mode 100644 index 462d1d81834b6..0000000000000 --- a/theme/afterburner/lang/en/theme_afterburner.php +++ /dev/null @@ -1,60 +0,0 @@ -. - -/** - * Strings for component 'theme_afterburner', language 'en' - * - * @package theme_afterburner - * @copyright 2011 - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ -$string['configtitle'] = 'Afterburner Custom Settings'; -$string['pluginname'] = 'Afterburner'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['logo'] = 'Logo'; -$string['logodesc'] = 'Please add your custom logo if you want to replace the default logo for this theme.
For your information, the default logo is a JPG image 320px (wide) by 75px (high)'; -$string['footnote'] = 'Footnote'; -$string['footnotedesc'] = 'Whatever you add to this textarea will be displayed in the footer of every page.'; -$string['customcss'] = 'Custom CSS'; -$string['customcssdesc'] = 'Whatever CSS rules you add to this textarea will be reflected in every page, making for easier customization of this theme.'; -$string['choosereadme'] = ' -
-
- -

Afterburner

- - -

Theme Discussion Forum:

-

http://moodle.org/mod/forum/view.php?id=46

- -

Theme Credits

-

http://docs.moodle.org/en/Theme_credits

- -

Theme Documentation:

-

http://docs.moodle.org/en/Themes

Report a bug:

http://tracker.moodle.org

-
-
-

About

-

Afterburner is a three-column, fluid-width theme coded for Moodle 2.0. It makes use of custom menus that appear below the site title on every page. An added function, which allows users to login and logout, has now been integrated into the custom menu for this theme.

-

Parents

-

This theme is built on Base, a parent theme included in the Moodle core. If you wish to modify aspects of this theme, beyond the settings offered, we advise creating a new theme using this theme and Base theme as parent themes, so any updates to these parent themes, in the core, will find their way into your new theme.

-

Credits

-

This design was originally created for Moodle 1.9 by Patrick Malley of NewSchool Learning (www.newschoollearning.com)from an original design by Rocket Themes (www.rockettheme.com) before being ported to Moodle 2.0 by Mary Evans of NewSchool Learning (contact@newschoollearning.com).

-

License

-

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.

-
-
'; diff --git a/theme/afterburner/layout/default.php b/theme/afterburner/layout/default.php deleted file mode 100644 index 47372aaa52374..0000000000000 --- a/theme/afterburner/layout/default.php +++ /dev/null @@ -1,191 +0,0 @@ -. - -/** - * The default layout for the afterburner theme. - * - * @package theme_afterburner - * @copyright 2011 Mary Evans - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT)); -$hassidepost = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-post', $OUTPUT)); -$haslogininfo = (empty($PAGE->layout_options['nologininfo'])); - -$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$hasfootnote = (!empty($PAGE->theme->settings->footnote)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - if (!right_to_left()) { - $bodyclasses[] = 'side-pre-only'; - } else { - $bodyclasses[] = 'side-post-only'; - } -} else if ($showsidepost && !$showsidepre) { - if (!right_to_left()) { - $bodyclasses[] = 'side-post-only'; - } else { - $bodyclasses[] = 'side-pre-only'; - } -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> -
-
- - - - - - - - -
- - - - - - - -
-
-
-
-
- - main_content() ?> - -
-
- - -
-
- blocks_for_region('side-pre'); - } elseif ($hassidepost) { - echo $OUTPUT->blocks_for_region('side-post'); - } ?> - -
-
- - - -
-
- blocks_for_region('side-post'); - } elseif ($hassidepre) { - echo $OUTPUT->blocks_for_region('side-pre'); - } ?> -
-
- - -
-
-
- - - - - - - - -
-
-
-standard_end_of_body_html() ?> - - diff --git a/theme/afterburner/layout/embedded.php b/theme/afterburner/layout/embedded.php deleted file mode 100644 index 31721284e835f..0000000000000 --- a/theme/afterburner/layout/embedded.php +++ /dev/null @@ -1,49 +0,0 @@ -. - -/** - * The embedded layout. - * - * This layout is used for content that is embedded within an existing Moodle page. - * - * @package theme_afterburner - * @copyright 2011 Mary Evans - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - - -
- main_content() ?> -
- - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/afterburner/lib.php b/theme/afterburner/lib.php deleted file mode 100644 index aaddd0020caa1..0000000000000 --- a/theme/afterburner/lib.php +++ /dev/null @@ -1,109 +0,0 @@ -. - -/** - * This file contains functions specific to the needs of the afterburner theme. - * - * @package theme_afterburner - * @copyright 2011 Mary Evans - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * Processes CSS for the afterburner theme before it is cached and delivered. - * - * This function performs any customisations on the CSS that this theme requires. - * This includes setting the theme logo, and including any custom CSS. - * - * @param string $css The raw CSS. - * @param theme_config $theme - * @return string The now processed CSS. - */ -function afterburner_process_css($css, $theme) { - - // Set the background image for the logo. - $logo = $theme->setting_file_url('logo', 'logo'); - $css = afterburner_set_logo($css, $logo, $theme); - - // Set custom CSS. - if (!empty($theme->settings->customcss)) { - $customcss = $theme->settings->customcss; - } else { - $customcss = null; - } - $css = afterburner_set_customcss($css, $customcss); - - return $css; -} - -/** - * Adds the set logo to the CSS before it is cached and delivered. - * - * @param string $css - * @param string $logo - * @param theme_config $theme - * @return string - */ -function afterburner_set_logo($css, $logo, $theme) { - $tag = '[[setting:logo]]'; - $replacement = $logo; - if (is_null($replacement)) { - $replacement = $theme->pix_url('images/logo', 'theme'); - } - - $css = str_replace($tag, $replacement, $css); - - return $css; -} - -/** - * Adds any custom CSS the admin has set to the CSS file before it is cached and delivered. - * @param string $css - * @param string $customcss - * @return string - */ -function afterburner_set_customcss($css, $customcss) { - $tag = '[[setting:customcss]]'; - $replacement = $customcss; - if (is_null($replacement)) { - $replacement = ''; - } - - $css = str_replace($tag, $replacement, $css); - - return $css; -} - -/** - * Serves any theme associated files when they are requested. - * - * @param stdClass $course - * @param cm_info $cm - * @param context $context - * @param string $filearea - * @param array $args - * @param bool $forcedownload - * @param array $options - * @return bool - */ -function theme_afterburner_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options = array()) { - if ($context->contextlevel == CONTEXT_SYSTEM and $filearea === 'logo') { - $theme = theme_config::load('afterburner'); - return $theme->setting_file_serve('logo', $args, $forcedownload, $options); - } else { - send_file_not_found(); - } -} diff --git a/theme/afterburner/pix/core/bg.png b/theme/afterburner/pix/core/bg.png deleted file mode 100644 index 1a45ec4e32e52..0000000000000 Binary files a/theme/afterburner/pix/core/bg.png and /dev/null differ diff --git a/theme/afterburner/pix/core/bground.jpg b/theme/afterburner/pix/core/bground.jpg deleted file mode 100644 index ae9be35353a77..0000000000000 Binary files a/theme/afterburner/pix/core/bground.jpg and /dev/null differ diff --git a/theme/afterburner/pix/core/h2grad.jpg b/theme/afterburner/pix/core/h2grad.jpg deleted file mode 100644 index 939f19b7f4a61..0000000000000 Binary files a/theme/afterburner/pix/core/h2grad.jpg and /dev/null differ diff --git a/theme/afterburner/pix/favicon.ico b/theme/afterburner/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/afterburner/pix/favicon.ico and /dev/null differ diff --git a/theme/afterburner/pix/footer/moodle-logo.png b/theme/afterburner/pix/footer/moodle-logo.png deleted file mode 100644 index 874d63b8e99d5..0000000000000 Binary files a/theme/afterburner/pix/footer/moodle-logo.png and /dev/null differ diff --git a/theme/afterburner/pix/forum/gradient.png b/theme/afterburner/pix/forum/gradient.png deleted file mode 100644 index d9d25c33ff1a7..0000000000000 Binary files a/theme/afterburner/pix/forum/gradient.png and /dev/null differ diff --git a/theme/afterburner/pix/images/light3.png b/theme/afterburner/pix/images/light3.png deleted file mode 100644 index 01625139aee78..0000000000000 Binary files a/theme/afterburner/pix/images/light3.png and /dev/null differ diff --git a/theme/afterburner/pix/images/logo.jpg b/theme/afterburner/pix/images/logo.jpg deleted file mode 100644 index fcd2fe0de0c52..0000000000000 Binary files a/theme/afterburner/pix/images/logo.jpg and /dev/null differ diff --git a/theme/afterburner/pix/menu/nav-arrow-left.png b/theme/afterburner/pix/menu/nav-arrow-left.png deleted file mode 100644 index b2f20a763029d..0000000000000 Binary files a/theme/afterburner/pix/menu/nav-arrow-left.png and /dev/null differ diff --git a/theme/afterburner/pix/menu/nav-arrow-right.png b/theme/afterburner/pix/menu/nav-arrow-right.png deleted file mode 100644 index b07b78461a397..0000000000000 Binary files a/theme/afterburner/pix/menu/nav-arrow-right.png and /dev/null differ diff --git a/theme/afterburner/pix/menu/nav-arrowover-left.png b/theme/afterburner/pix/menu/nav-arrowover-left.png deleted file mode 100644 index 83462ea150aea..0000000000000 Binary files a/theme/afterburner/pix/menu/nav-arrowover-left.png and /dev/null differ diff --git a/theme/afterburner/pix/menu/nav-arrowover-right.png b/theme/afterburner/pix/menu/nav-arrowover-right.png deleted file mode 100644 index 6e452f662ca7e..0000000000000 Binary files a/theme/afterburner/pix/menu/nav-arrowover-right.png and /dev/null differ diff --git a/theme/afterburner/pix/screenshot.jpg b/theme/afterburner/pix/screenshot.jpg deleted file mode 100644 index 2d5d2adb6d43f..0000000000000 Binary files a/theme/afterburner/pix/screenshot.jpg and /dev/null differ diff --git a/theme/afterburner/pix/sideblocks/sidegrad.jpg b/theme/afterburner/pix/sideblocks/sidegrad.jpg deleted file mode 100644 index 939f19b7f4a61..0000000000000 Binary files a/theme/afterburner/pix/sideblocks/sidegrad.jpg and /dev/null differ diff --git a/theme/afterburner/pix/tab/left.gif b/theme/afterburner/pix/tab/left.gif deleted file mode 100644 index 48b6628891308..0000000000000 Binary files a/theme/afterburner/pix/tab/left.gif and /dev/null differ diff --git a/theme/afterburner/pix/tab/left_active.gif b/theme/afterburner/pix/tab/left_active.gif deleted file mode 100644 index bd72d635568f9..0000000000000 Binary files a/theme/afterburner/pix/tab/left_active.gif and /dev/null differ diff --git a/theme/afterburner/pix/tab/left_active_hover.gif b/theme/afterburner/pix/tab/left_active_hover.gif deleted file mode 100644 index f1af440a15fdc..0000000000000 Binary files a/theme/afterburner/pix/tab/left_active_hover.gif and /dev/null differ diff --git a/theme/afterburner/pix/tab/left_hover.gif b/theme/afterburner/pix/tab/left_hover.gif deleted file mode 100644 index ea8c9705ed139..0000000000000 Binary files a/theme/afterburner/pix/tab/left_hover.gif and /dev/null differ diff --git a/theme/afterburner/pix/tab/right.gif b/theme/afterburner/pix/tab/right.gif deleted file mode 100644 index feddbb73d55bf..0000000000000 Binary files a/theme/afterburner/pix/tab/right.gif and /dev/null differ diff --git a/theme/afterburner/pix/tab/right_active.gif b/theme/afterburner/pix/tab/right_active.gif deleted file mode 100644 index ad87b27a4ee58..0000000000000 Binary files a/theme/afterburner/pix/tab/right_active.gif and /dev/null differ diff --git a/theme/afterburner/pix/tab/right_active_hover.gif b/theme/afterburner/pix/tab/right_active_hover.gif deleted file mode 100644 index c8b2883d53875..0000000000000 Binary files a/theme/afterburner/pix/tab/right_active_hover.gif and /dev/null differ diff --git a/theme/afterburner/pix/tab/right_end.gif b/theme/afterburner/pix/tab/right_end.gif deleted file mode 100644 index 2cb44de6c571a..0000000000000 Binary files a/theme/afterburner/pix/tab/right_end.gif and /dev/null differ diff --git a/theme/afterburner/pix/tab/right_hover.gif b/theme/afterburner/pix/tab/right_hover.gif deleted file mode 100644 index 301b3f670862b..0000000000000 Binary files a/theme/afterburner/pix/tab/right_hover.gif and /dev/null differ diff --git a/theme/afterburner/pix/tab/right_last.gif b/theme/afterburner/pix/tab/right_last.gif deleted file mode 100644 index dd346f6c52692..0000000000000 Binary files a/theme/afterburner/pix/tab/right_last.gif and /dev/null differ diff --git a/theme/afterburner/pix/tab/rtlbg.gif b/theme/afterburner/pix/tab/rtlbg.gif deleted file mode 100644 index ba7831333af59..0000000000000 Binary files a/theme/afterburner/pix/tab/rtlbg.gif and /dev/null differ diff --git a/theme/afterburner/pix/tab/tabrow1.gif b/theme/afterburner/pix/tab/tabrow1.gif deleted file mode 100644 index db1ffa66c4730..0000000000000 Binary files a/theme/afterburner/pix/tab/tabrow1.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/a/em1_bwgreater.gif b/theme/afterburner/pix_core/a/em1_bwgreater.gif deleted file mode 100644 index e2ff4347b1867..0000000000000 Binary files a/theme/afterburner/pix_core/a/em1_bwgreater.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/a/em1_greater.gif b/theme/afterburner/pix_core/a/em1_greater.gif deleted file mode 100644 index fdeb8837fe48b..0000000000000 Binary files a/theme/afterburner/pix_core/a/em1_greater.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/a/em1_lesser.gif b/theme/afterburner/pix_core/a/em1_lesser.gif deleted file mode 100644 index 73cf431ed6c33..0000000000000 Binary files a/theme/afterburner/pix_core/a/em1_lesser.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/a/em1_raquo.gif b/theme/afterburner/pix_core/a/em1_raquo.gif deleted file mode 100644 index 590ea9de263d1..0000000000000 Binary files a/theme/afterburner/pix_core/a/em1_raquo.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/a/help.png b/theme/afterburner/pix_core/a/help.png deleted file mode 100644 index 5c822c3cca78b..0000000000000 Binary files a/theme/afterburner/pix_core/a/help.png and /dev/null differ diff --git a/theme/afterburner/pix_core/a/l_breadcrumb.gif b/theme/afterburner/pix_core/a/l_breadcrumb.gif deleted file mode 100644 index 8d698446d15a0..0000000000000 Binary files a/theme/afterburner/pix_core/a/l_breadcrumb.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/a/logout.png b/theme/afterburner/pix_core/a/logout.png deleted file mode 100644 index 6091248539101..0000000000000 Binary files a/theme/afterburner/pix_core/a/logout.png and /dev/null differ diff --git a/theme/afterburner/pix_core/a/r_breadcrumb.gif b/theme/afterburner/pix_core/a/r_breadcrumb.gif deleted file mode 100644 index 21bc9c1c934d3..0000000000000 Binary files a/theme/afterburner/pix_core/a/r_breadcrumb.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/a/r_go.gif b/theme/afterburner/pix_core/a/r_go.gif deleted file mode 100644 index 7fe7e40498f2b..0000000000000 Binary files a/theme/afterburner/pix_core/a/r_go.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/a/r_next.gif b/theme/afterburner/pix_core/a/r_next.gif deleted file mode 100644 index 9689a49da93a1..0000000000000 Binary files a/theme/afterburner/pix_core/a/r_next.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/a/r_previous.gif b/theme/afterburner/pix_core/a/r_previous.gif deleted file mode 100644 index f3c3e5e168734..0000000000000 Binary files a/theme/afterburner/pix_core/a/r_previous.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/a/refresh.png b/theme/afterburner/pix_core/a/refresh.png deleted file mode 100644 index 485448fb42811..0000000000000 Binary files a/theme/afterburner/pix_core/a/refresh.png and /dev/null differ diff --git a/theme/afterburner/pix_core/a/search.png b/theme/afterburner/pix_core/a/search.png deleted file mode 100644 index df78b8c5935d7..0000000000000 Binary files a/theme/afterburner/pix_core/a/search.png and /dev/null differ diff --git a/theme/afterburner/pix_core/a/setting.png b/theme/afterburner/pix_core/a/setting.png deleted file mode 100644 index 89040d9dcb637..0000000000000 Binary files a/theme/afterburner/pix_core/a/setting.png and /dev/null differ diff --git a/theme/afterburner/pix_core/c/event.png b/theme/afterburner/pix_core/c/event.png deleted file mode 100644 index 413af23993e5f..0000000000000 Binary files a/theme/afterburner/pix_core/c/event.png and /dev/null differ diff --git a/theme/afterburner/pix_core/c/groups.png b/theme/afterburner/pix_core/c/groups.png deleted file mode 100644 index a6aae0404b731..0000000000000 Binary files a/theme/afterburner/pix_core/c/groups.png and /dev/null differ diff --git a/theme/afterburner/pix_core/docs.png b/theme/afterburner/pix_core/docs.png deleted file mode 100644 index fa9a60b5ad200..0000000000000 Binary files a/theme/afterburner/pix_core/docs.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/access.png b/theme/afterburner/pix_core/f/access.png deleted file mode 100644 index 4f088737c42c3..0000000000000 Binary files a/theme/afterburner/pix_core/f/access.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/avi.png b/theme/afterburner/pix_core/f/avi.png deleted file mode 100644 index c8bd25903d8b6..0000000000000 Binary files a/theme/afterburner/pix_core/f/avi.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/excel.png b/theme/afterburner/pix_core/f/excel.png deleted file mode 100644 index 4403681c2fe4d..0000000000000 Binary files a/theme/afterburner/pix_core/f/excel.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/flash.png b/theme/afterburner/pix_core/f/flash.png deleted file mode 100644 index 616fc2ec82f18..0000000000000 Binary files a/theme/afterburner/pix_core/f/flash.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/folder-32.png b/theme/afterburner/pix_core/f/folder-32.png deleted file mode 100644 index 8329168cd444f..0000000000000 Binary files a/theme/afterburner/pix_core/f/folder-32.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/folder.png b/theme/afterburner/pix_core/f/folder.png deleted file mode 100644 index 260b4157a875f..0000000000000 Binary files a/theme/afterburner/pix_core/f/folder.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/help.png b/theme/afterburner/pix_core/f/help.png deleted file mode 100644 index 30a47032a41d7..0000000000000 Binary files a/theme/afterburner/pix_core/f/help.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/html.png b/theme/afterburner/pix_core/f/html.png deleted file mode 100644 index f355d31d4fa02..0000000000000 Binary files a/theme/afterburner/pix_core/f/html.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/image-32.png b/theme/afterburner/pix_core/f/image-32.png deleted file mode 100644 index 0227d3e2e48d4..0000000000000 Binary files a/theme/afterburner/pix_core/f/image-32.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/image.png b/theme/afterburner/pix_core/f/image.png deleted file mode 100644 index c485c20168d83..0000000000000 Binary files a/theme/afterburner/pix_core/f/image.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/odb.png b/theme/afterburner/pix_core/f/odb.png deleted file mode 100644 index 86a5c1019f107..0000000000000 Binary files a/theme/afterburner/pix_core/f/odb.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/odf.png b/theme/afterburner/pix_core/f/odf.png deleted file mode 100644 index e330602505a30..0000000000000 Binary files a/theme/afterburner/pix_core/f/odf.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/odg.png b/theme/afterburner/pix_core/f/odg.png deleted file mode 100644 index 86051115b55fc..0000000000000 Binary files a/theme/afterburner/pix_core/f/odg.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/odm.png b/theme/afterburner/pix_core/f/odm.png deleted file mode 100644 index f5afc495e5fb0..0000000000000 Binary files a/theme/afterburner/pix_core/f/odm.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/odp.png b/theme/afterburner/pix_core/f/odp.png deleted file mode 100644 index d45c8f16e458a..0000000000000 Binary files a/theme/afterburner/pix_core/f/odp.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/ods.png b/theme/afterburner/pix_core/f/ods.png deleted file mode 100644 index 36f553bb5951c..0000000000000 Binary files a/theme/afterburner/pix_core/f/ods.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/odt.png b/theme/afterburner/pix_core/f/odt.png deleted file mode 100644 index 7821edd29f0a9..0000000000000 Binary files a/theme/afterburner/pix_core/f/odt.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/pdf.png b/theme/afterburner/pix_core/f/pdf.png deleted file mode 100644 index c68ab66ca23e3..0000000000000 Binary files a/theme/afterburner/pix_core/f/pdf.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/powerpoint.png b/theme/afterburner/pix_core/f/powerpoint.png deleted file mode 100644 index 134a00719753d..0000000000000 Binary files a/theme/afterburner/pix_core/f/powerpoint.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/text-32.png b/theme/afterburner/pix_core/f/text-32.png deleted file mode 100644 index a936d4b197a98..0000000000000 Binary files a/theme/afterburner/pix_core/f/text-32.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/text.png b/theme/afterburner/pix_core/f/text.png deleted file mode 100644 index ed841a02a7d1b..0000000000000 Binary files a/theme/afterburner/pix_core/f/text.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/unknown-32.png b/theme/afterburner/pix_core/f/unknown-32.png deleted file mode 100644 index 63b7b4e433039..0000000000000 Binary files a/theme/afterburner/pix_core/f/unknown-32.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/unknown.png b/theme/afterburner/pix_core/f/unknown.png deleted file mode 100644 index d78eca878d6b4..0000000000000 Binary files a/theme/afterburner/pix_core/f/unknown.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/video.png b/theme/afterburner/pix_core/f/video.png deleted file mode 100644 index c8bd25903d8b6..0000000000000 Binary files a/theme/afterburner/pix_core/f/video.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/web.png b/theme/afterburner/pix_core/f/web.png deleted file mode 100644 index f355d31d4fa02..0000000000000 Binary files a/theme/afterburner/pix_core/f/web.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/word.png b/theme/afterburner/pix_core/f/word.png deleted file mode 100644 index 1beb2e535981e..0000000000000 Binary files a/theme/afterburner/pix_core/f/word.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/xml.png b/theme/afterburner/pix_core/f/xml.png deleted file mode 100644 index c64a736ef8f81..0000000000000 Binary files a/theme/afterburner/pix_core/f/xml.png and /dev/null differ diff --git a/theme/afterburner/pix_core/f/zip.png b/theme/afterburner/pix_core/f/zip.png deleted file mode 100644 index 67a3d9a18a13f..0000000000000 Binary files a/theme/afterburner/pix_core/f/zip.png and /dev/null differ diff --git a/theme/afterburner/pix_core/g/f1.png b/theme/afterburner/pix_core/g/f1.png deleted file mode 100644 index 76b8381b0a7dc..0000000000000 Binary files a/theme/afterburner/pix_core/g/f1.png and /dev/null differ diff --git a/theme/afterburner/pix_core/g/f2.png b/theme/afterburner/pix_core/g/f2.png deleted file mode 100644 index 8f00c2fbd16d1..0000000000000 Binary files a/theme/afterburner/pix_core/g/f2.png and /dev/null differ diff --git a/theme/afterburner/pix_core/g/user100.png b/theme/afterburner/pix_core/g/user100.png deleted file mode 100644 index 76b8381b0a7dc..0000000000000 Binary files a/theme/afterburner/pix_core/g/user100.png and /dev/null differ diff --git a/theme/afterburner/pix_core/g/user35.png b/theme/afterburner/pix_core/g/user35.png deleted file mode 100644 index 8f00c2fbd16d1..0000000000000 Binary files a/theme/afterburner/pix_core/g/user35.png and /dev/null differ diff --git a/theme/afterburner/pix_core/help.png b/theme/afterburner/pix_core/help.png deleted file mode 100644 index 30a47032a41d7..0000000000000 Binary files a/theme/afterburner/pix_core/help.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/all.png b/theme/afterburner/pix_core/i/all.png deleted file mode 100644 index 90ddfabb8a1f1..0000000000000 Binary files a/theme/afterburner/pix_core/i/all.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/assignroles.png b/theme/afterburner/pix_core/i/assignroles.png deleted file mode 100644 index 5fa4804382bf0..0000000000000 Binary files a/theme/afterburner/pix_core/i/assignroles.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/backup.png b/theme/afterburner/pix_core/i/backup.png deleted file mode 100644 index 76add6a0ae64f..0000000000000 Binary files a/theme/afterburner/pix_core/i/backup.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/calc.png b/theme/afterburner/pix_core/i/calc.png deleted file mode 100644 index 00ad5155276c0..0000000000000 Binary files a/theme/afterburner/pix_core/i/calc.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/checkpermissions.png b/theme/afterburner/pix_core/i/checkpermissions.png deleted file mode 100644 index 645edfd7417fb..0000000000000 Binary files a/theme/afterburner/pix_core/i/checkpermissions.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/course.png b/theme/afterburner/pix_core/i/course.png deleted file mode 100644 index 24f91c3bfb858..0000000000000 Binary files a/theme/afterburner/pix_core/i/course.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/courseevent.png b/theme/afterburner/pix_core/i/courseevent.png deleted file mode 100644 index 80dfa1955a385..0000000000000 Binary files a/theme/afterburner/pix_core/i/courseevent.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/db.png b/theme/afterburner/pix_core/i/db.png deleted file mode 100644 index d588f422f7640..0000000000000 Binary files a/theme/afterburner/pix_core/i/db.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/edit.gif b/theme/afterburner/pix_core/i/edit.gif deleted file mode 100644 index d390a444ba39a..0000000000000 Binary files a/theme/afterburner/pix_core/i/edit.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/i/email.png b/theme/afterburner/pix_core/i/email.png deleted file mode 100644 index e708416dac94a..0000000000000 Binary files a/theme/afterburner/pix_core/i/email.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/feedback.png b/theme/afterburner/pix_core/i/feedback.png deleted file mode 100644 index 1af30643f4c76..0000000000000 Binary files a/theme/afterburner/pix_core/i/feedback.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/feedback_add.png b/theme/afterburner/pix_core/i/feedback_add.png deleted file mode 100644 index 4369afd271a73..0000000000000 Binary files a/theme/afterburner/pix_core/i/feedback_add.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/files.png b/theme/afterburner/pix_core/i/files.png deleted file mode 100644 index 260b4157a875f..0000000000000 Binary files a/theme/afterburner/pix_core/i/files.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/filter.png b/theme/afterburner/pix_core/i/filter.png deleted file mode 100644 index 1f69604528f29..0000000000000 Binary files a/theme/afterburner/pix_core/i/filter.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/flagged.png b/theme/afterburner/pix_core/i/flagged.png deleted file mode 100644 index 5c008b0a6fa5e..0000000000000 Binary files a/theme/afterburner/pix_core/i/flagged.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/grades.png b/theme/afterburner/pix_core/i/grades.png deleted file mode 100644 index 8dcfb269dad3c..0000000000000 Binary files a/theme/afterburner/pix_core/i/grades.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/group.png b/theme/afterburner/pix_core/i/group.png deleted file mode 100644 index a6aae0404b731..0000000000000 Binary files a/theme/afterburner/pix_core/i/group.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/hide.png b/theme/afterburner/pix_core/i/hide.png deleted file mode 100644 index 2aead17e09ea6..0000000000000 Binary files a/theme/afterburner/pix_core/i/hide.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/info.png b/theme/afterburner/pix_core/i/info.png deleted file mode 100644 index fa9a60b5ad200..0000000000000 Binary files a/theme/afterburner/pix_core/i/info.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/lock.png b/theme/afterburner/pix_core/i/lock.png deleted file mode 100644 index a9994ae1f694f..0000000000000 Binary files a/theme/afterburner/pix_core/i/lock.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/marker.png b/theme/afterburner/pix_core/i/marker.png deleted file mode 100644 index 845e11070a793..0000000000000 Binary files a/theme/afterburner/pix_core/i/marker.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/menu.png b/theme/afterburner/pix_core/i/menu.png deleted file mode 100644 index efc599dccd80e..0000000000000 Binary files a/theme/afterburner/pix_core/i/menu.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/new.png b/theme/afterburner/pix_core/i/new.png deleted file mode 100644 index 6a88c4da92c3b..0000000000000 Binary files a/theme/afterburner/pix_core/i/new.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/news.png b/theme/afterburner/pix_core/i/news.png deleted file mode 100644 index 70e7e5a0b0717..0000000000000 Binary files a/theme/afterburner/pix_core/i/news.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/one.png b/theme/afterburner/pix_core/i/one.png deleted file mode 100644 index 7ac2093dac973..0000000000000 Binary files a/theme/afterburner/pix_core/i/one.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/payment.png b/theme/afterburner/pix_core/i/payment.png deleted file mode 100644 index 82c316a861e28..0000000000000 Binary files a/theme/afterburner/pix_core/i/payment.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/permissions.png b/theme/afterburner/pix_core/i/permissions.png deleted file mode 100644 index 82846369f3147..0000000000000 Binary files a/theme/afterburner/pix_core/i/permissions.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/publish.png b/theme/afterburner/pix_core/i/publish.png deleted file mode 100644 index e931afcc1c806..0000000000000 Binary files a/theme/afterburner/pix_core/i/publish.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/questions.png b/theme/afterburner/pix_core/i/questions.png deleted file mode 100644 index b9ca7cb1ce6af..0000000000000 Binary files a/theme/afterburner/pix_core/i/questions.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/report.png b/theme/afterburner/pix_core/i/report.png deleted file mode 100644 index aa8bbe927c1eb..0000000000000 Binary files a/theme/afterburner/pix_core/i/report.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/restore.png b/theme/afterburner/pix_core/i/restore.png deleted file mode 100644 index b2996cc7b70a4..0000000000000 Binary files a/theme/afterburner/pix_core/i/restore.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/return.png b/theme/afterburner/pix_core/i/return.png deleted file mode 100644 index 2c6152ef621a2..0000000000000 Binary files a/theme/afterburner/pix_core/i/return.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/scales.png b/theme/afterburner/pix_core/i/scales.png deleted file mode 100644 index d3cb71d5c5d11..0000000000000 Binary files a/theme/afterburner/pix_core/i/scales.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/settings.png b/theme/afterburner/pix_core/i/settings.png deleted file mode 100644 index efc599dccd80e..0000000000000 Binary files a/theme/afterburner/pix_core/i/settings.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/show.png b/theme/afterburner/pix_core/i/show.png deleted file mode 100644 index 356660cddab0b..0000000000000 Binary files a/theme/afterburner/pix_core/i/show.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/siteevent.png b/theme/afterburner/pix_core/i/siteevent.png deleted file mode 100644 index 413af23993e5f..0000000000000 Binary files a/theme/afterburner/pix_core/i/siteevent.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/unflagged.png b/theme/afterburner/pix_core/i/unflagged.png deleted file mode 100644 index fe794c68a24b0..0000000000000 Binary files a/theme/afterburner/pix_core/i/unflagged.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/user.png b/theme/afterburner/pix_core/i/user.png deleted file mode 100644 index 2bc51acc2aeb6..0000000000000 Binary files a/theme/afterburner/pix_core/i/user.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/userevent.png b/theme/afterburner/pix_core/i/userevent.png deleted file mode 100644 index 2d44726f08ee1..0000000000000 Binary files a/theme/afterburner/pix_core/i/userevent.png and /dev/null differ diff --git a/theme/afterburner/pix_core/i/users.png b/theme/afterburner/pix_core/i/users.png deleted file mode 100644 index a6aae0404b731..0000000000000 Binary files a/theme/afterburner/pix_core/i/users.png and /dev/null differ diff --git a/theme/afterburner/pix_core/icon.png b/theme/afterburner/pix_core/icon.png deleted file mode 100644 index 50ba3c9e9a628..0000000000000 Binary files a/theme/afterburner/pix_core/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_core/m/USD.gif b/theme/afterburner/pix_core/m/USD.gif deleted file mode 100644 index 341a22fb34bc4..0000000000000 Binary files a/theme/afterburner/pix_core/m/USD.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/s/SMILEYS b/theme/afterburner/pix_core/s/SMILEYS deleted file mode 100644 index 06f0fb6f25ee0..0000000000000 --- a/theme/afterburner/pix_core/s/SMILEYS +++ /dev/null @@ -1 +0,0 @@ -All these icon are 16x16 and from fugue icon sets diff --git a/theme/afterburner/pix_core/s/angry.png b/theme/afterburner/pix_core/s/angry.png deleted file mode 100644 index 1ff1492eb34da..0000000000000 Binary files a/theme/afterburner/pix_core/s/angry.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/approve.png b/theme/afterburner/pix_core/s/approve.png deleted file mode 100644 index ce8da0228ee6e..0000000000000 Binary files a/theme/afterburner/pix_core/s/approve.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/biggrin.png b/theme/afterburner/pix_core/s/biggrin.png deleted file mode 100644 index 5932dcf403990..0000000000000 Binary files a/theme/afterburner/pix_core/s/biggrin.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/blackeye.gif b/theme/afterburner/pix_core/s/blackeye.gif deleted file mode 100644 index b8f8a751a878f..0000000000000 Binary files a/theme/afterburner/pix_core/s/blackeye.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/s/blush.png b/theme/afterburner/pix_core/s/blush.png deleted file mode 100644 index 7ac0cac234703..0000000000000 Binary files a/theme/afterburner/pix_core/s/blush.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/clown.gif b/theme/afterburner/pix_core/s/clown.gif deleted file mode 100644 index 2d84189ce3f5f..0000000000000 Binary files a/theme/afterburner/pix_core/s/clown.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/s/cool.png b/theme/afterburner/pix_core/s/cool.png deleted file mode 100644 index 92aa42a073b1f..0000000000000 Binary files a/theme/afterburner/pix_core/s/cool.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/dead.png b/theme/afterburner/pix_core/s/dead.png deleted file mode 100644 index c82e8f3f9016a..0000000000000 Binary files a/theme/afterburner/pix_core/s/dead.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/egg.gif b/theme/afterburner/pix_core/s/egg.gif deleted file mode 100644 index e70dccdf46d88..0000000000000 Binary files a/theme/afterburner/pix_core/s/egg.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/s/evil.png b/theme/afterburner/pix_core/s/evil.png deleted file mode 100644 index 0da78cd064412..0000000000000 Binary files a/theme/afterburner/pix_core/s/evil.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/heart.png b/theme/afterburner/pix_core/s/heart.png deleted file mode 100644 index 17c120b2c9b1b..0000000000000 Binary files a/theme/afterburner/pix_core/s/heart.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/kiss.png b/theme/afterburner/pix_core/s/kiss.png deleted file mode 100644 index 3870237f11386..0000000000000 Binary files a/theme/afterburner/pix_core/s/kiss.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/martin.gif b/theme/afterburner/pix_core/s/martin.gif deleted file mode 100644 index 3246f4d2f8706..0000000000000 Binary files a/theme/afterburner/pix_core/s/martin.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/s/mixed.png b/theme/afterburner/pix_core/s/mixed.png deleted file mode 100644 index 9f3205e33c642..0000000000000 Binary files a/theme/afterburner/pix_core/s/mixed.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/no.gif b/theme/afterburner/pix_core/s/no.gif deleted file mode 100644 index 45dd129d0957e..0000000000000 Binary files a/theme/afterburner/pix_core/s/no.gif and /dev/null differ diff --git a/theme/afterburner/pix_core/s/sad.png b/theme/afterburner/pix_core/s/sad.png deleted file mode 100644 index f2f214398767b..0000000000000 Binary files a/theme/afterburner/pix_core/s/sad.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/shy.png b/theme/afterburner/pix_core/s/shy.png deleted file mode 100644 index 7ac0cac234703..0000000000000 Binary files a/theme/afterburner/pix_core/s/shy.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/sleepy.png b/theme/afterburner/pix_core/s/sleepy.png deleted file mode 100644 index bab7f16143b3d..0000000000000 Binary files a/theme/afterburner/pix_core/s/sleepy.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/smiley.png b/theme/afterburner/pix_core/s/smiley.png deleted file mode 100644 index ce8da0228ee6e..0000000000000 Binary files a/theme/afterburner/pix_core/s/smiley.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/surprise.png b/theme/afterburner/pix_core/s/surprise.png deleted file mode 100644 index 81fb5f3d58b8e..0000000000000 Binary files a/theme/afterburner/pix_core/s/surprise.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/thoughtful.png b/theme/afterburner/pix_core/s/thoughtful.png deleted file mode 100644 index e3cc6cb2dab8b..0000000000000 Binary files a/theme/afterburner/pix_core/s/thoughtful.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/tongueout.png b/theme/afterburner/pix_core/s/tongueout.png deleted file mode 100644 index c4ad9338e188b..0000000000000 Binary files a/theme/afterburner/pix_core/s/tongueout.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/wideeyes.png b/theme/afterburner/pix_core/s/wideeyes.png deleted file mode 100644 index 81fb5f3d58b8e..0000000000000 Binary files a/theme/afterburner/pix_core/s/wideeyes.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/wink.png b/theme/afterburner/pix_core/s/wink.png deleted file mode 100644 index 0285a2296060b..0000000000000 Binary files a/theme/afterburner/pix_core/s/wink.png and /dev/null differ diff --git a/theme/afterburner/pix_core/s/yes.png b/theme/afterburner/pix_core/s/yes.png deleted file mode 100644 index a12a1d0597fd9..0000000000000 Binary files a/theme/afterburner/pix_core/s/yes.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/add.png b/theme/afterburner/pix_core/t/add.png deleted file mode 100644 index 66f4a32c326c7..0000000000000 Binary files a/theme/afterburner/pix_core/t/add.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/adddir.png b/theme/afterburner/pix_core/t/adddir.png deleted file mode 100644 index 5075baf760864..0000000000000 Binary files a/theme/afterburner/pix_core/t/adddir.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/addfile.png b/theme/afterburner/pix_core/t/addfile.png deleted file mode 100644 index 113873963c25c..0000000000000 Binary files a/theme/afterburner/pix_core/t/addfile.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/backup.png b/theme/afterburner/pix_core/t/backup.png deleted file mode 100644 index 59bf557df5205..0000000000000 Binary files a/theme/afterburner/pix_core/t/backup.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/block.png b/theme/afterburner/pix_core/t/block.png deleted file mode 100644 index 7af3a5189d2fd..0000000000000 Binary files a/theme/afterburner/pix_core/t/block.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/calendar.png b/theme/afterburner/pix_core/t/calendar.png deleted file mode 100644 index 413af23993e5f..0000000000000 Binary files a/theme/afterburner/pix_core/t/calendar.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/check.png b/theme/afterburner/pix_core/t/check.png deleted file mode 100644 index 2414885b85764..0000000000000 Binary files a/theme/afterburner/pix_core/t/check.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/copy.png b/theme/afterburner/pix_core/t/copy.png deleted file mode 100644 index 3836257fe907a..0000000000000 Binary files a/theme/afterburner/pix_core/t/copy.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/delete.png b/theme/afterburner/pix_core/t/delete.png deleted file mode 100644 index 6b9fa6dd36ee8..0000000000000 Binary files a/theme/afterburner/pix_core/t/delete.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/down.png b/theme/afterburner/pix_core/t/down.png deleted file mode 100644 index 8d5209b66047e..0000000000000 Binary files a/theme/afterburner/pix_core/t/down.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/download.png b/theme/afterburner/pix_core/t/download.png deleted file mode 100644 index 1920b1bb2230d..0000000000000 Binary files a/theme/afterburner/pix_core/t/download.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/edit.png b/theme/afterburner/pix_core/t/edit.png deleted file mode 100644 index 89ab15f929bed..0000000000000 Binary files a/theme/afterburner/pix_core/t/edit.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/email.png b/theme/afterburner/pix_core/t/email.png deleted file mode 100644 index e708416dac94a..0000000000000 Binary files a/theme/afterburner/pix_core/t/email.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/emailno.png b/theme/afterburner/pix_core/t/emailno.png deleted file mode 100644 index a33c0cad7575e..0000000000000 Binary files a/theme/afterburner/pix_core/t/emailno.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/feedback.png b/theme/afterburner/pix_core/t/feedback.png deleted file mode 100644 index 2b5a111482680..0000000000000 Binary files a/theme/afterburner/pix_core/t/feedback.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/feedback_add.png b/theme/afterburner/pix_core/t/feedback_add.png deleted file mode 100644 index 4369afd271a73..0000000000000 Binary files a/theme/afterburner/pix_core/t/feedback_add.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/go.png b/theme/afterburner/pix_core/t/go.png deleted file mode 100644 index c700f60446d98..0000000000000 Binary files a/theme/afterburner/pix_core/t/go.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/groupn.png b/theme/afterburner/pix_core/t/groupn.png deleted file mode 100644 index f6e4dc8a31acd..0000000000000 Binary files a/theme/afterburner/pix_core/t/groupn.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/groups.png b/theme/afterburner/pix_core/t/groups.png deleted file mode 100644 index a6aae0404b731..0000000000000 Binary files a/theme/afterburner/pix_core/t/groups.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/hide.png b/theme/afterburner/pix_core/t/hide.png deleted file mode 100644 index 5124c0eb8e3df..0000000000000 Binary files a/theme/afterburner/pix_core/t/hide.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/lock.png b/theme/afterburner/pix_core/t/lock.png deleted file mode 100644 index a9994ae1f694f..0000000000000 Binary files a/theme/afterburner/pix_core/t/lock.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/move.png b/theme/afterburner/pix_core/t/move.png deleted file mode 100644 index 391a01fc45d4c..0000000000000 Binary files a/theme/afterburner/pix_core/t/move.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/preview.png b/theme/afterburner/pix_core/t/preview.png deleted file mode 100644 index 3747c976fa48b..0000000000000 Binary files a/theme/afterburner/pix_core/t/preview.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/restore.png b/theme/afterburner/pix_core/t/restore.png deleted file mode 100644 index b2996cc7b70a4..0000000000000 Binary files a/theme/afterburner/pix_core/t/restore.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/show.png b/theme/afterburner/pix_core/t/show.png deleted file mode 100644 index 356660cddab0b..0000000000000 Binary files a/theme/afterburner/pix_core/t/show.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/stop.png b/theme/afterburner/pix_core/t/stop.png deleted file mode 100644 index 5cd9ea93ef569..0000000000000 Binary files a/theme/afterburner/pix_core/t/stop.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/unlock.png b/theme/afterburner/pix_core/t/unlock.png deleted file mode 100644 index 7e47c799a828c..0000000000000 Binary files a/theme/afterburner/pix_core/t/unlock.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/up.png b/theme/afterburner/pix_core/t/up.png deleted file mode 100644 index 4e4f5b8a445f5..0000000000000 Binary files a/theme/afterburner/pix_core/t/up.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/user.png b/theme/afterburner/pix_core/t/user.png deleted file mode 100644 index 2d44726f08ee1..0000000000000 Binary files a/theme/afterburner/pix_core/t/user.png and /dev/null differ diff --git a/theme/afterburner/pix_core/t/usernot.png b/theme/afterburner/pix_core/t/usernot.png deleted file mode 100644 index 09f73c230c370..0000000000000 Binary files a/theme/afterburner/pix_core/t/usernot.png and /dev/null differ diff --git a/theme/afterburner/pix_core/u/f1.png b/theme/afterburner/pix_core/u/f1.png deleted file mode 100644 index 76b8381b0a7dc..0000000000000 Binary files a/theme/afterburner/pix_core/u/f1.png and /dev/null differ diff --git a/theme/afterburner/pix_core/u/f2.png b/theme/afterburner/pix_core/u/f2.png deleted file mode 100644 index 8f00c2fbd16d1..0000000000000 Binary files a/theme/afterburner/pix_core/u/f2.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/enrol/self/withoutkey.png b/theme/afterburner/pix_plugins/enrol/self/withoutkey.png deleted file mode 100644 index 662975d98b9b1..0000000000000 Binary files a/theme/afterburner/pix_plugins/enrol/self/withoutkey.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/assignment/icon.png b/theme/afterburner/pix_plugins/mod/assignment/icon.png deleted file mode 100644 index e3071ef609090..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/assignment/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/chat/icon.png b/theme/afterburner/pix_plugins/mod/chat/icon.png deleted file mode 100644 index 50ba3c9e9a628..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/chat/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/choice/icon.png b/theme/afterburner/pix_plugins/mod/choice/icon.png deleted file mode 100644 index 2c021693585bc..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/choice/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/data/icon.png b/theme/afterburner/pix_plugins/mod/data/icon.png deleted file mode 100644 index d588f422f7640..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/data/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/folder/icon.png b/theme/afterburner/pix_plugins/mod/folder/icon.png deleted file mode 100644 index 260b4157a875f..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/folder/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/forum/icon.png b/theme/afterburner/pix_plugins/mod/forum/icon.png deleted file mode 100644 index 1af30643f4c76..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/forum/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/glossary/icon.png b/theme/afterburner/pix_plugins/mod/glossary/icon.png deleted file mode 100644 index 5d3365cca6dee..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/glossary/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/imscp/icon.png b/theme/afterburner/pix_plugins/mod/imscp/icon.png deleted file mode 100644 index ed7ec0e972ed6..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/imscp/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/label/icon.png b/theme/afterburner/pix_plugins/mod/label/icon.png deleted file mode 100644 index 2d68e6cd17db0..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/label/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/lesson/icon.png b/theme/afterburner/pix_plugins/mod/lesson/icon.png deleted file mode 100644 index 88f1a2bbf1b23..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/lesson/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/page/icon.png b/theme/afterburner/pix_plugins/mod/page/icon.png deleted file mode 100644 index 3a957dab45133..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/page/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/quiz/icon.png b/theme/afterburner/pix_plugins/mod/quiz/icon.png deleted file mode 100644 index e8015424ae72a..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/quiz/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/resource/icon.png b/theme/afterburner/pix_plugins/mod/resource/icon.png deleted file mode 100644 index 75f92b0c7097c..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/resource/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/scorm/icon.png b/theme/afterburner/pix_plugins/mod/scorm/icon.png deleted file mode 100644 index 3ec0ceb131c14..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/scorm/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/survey/icon.png b/theme/afterburner/pix_plugins/mod/survey/icon.png deleted file mode 100644 index b1f55a2b18320..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/survey/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/url/icon.png b/theme/afterburner/pix_plugins/mod/url/icon.png deleted file mode 100644 index f355d31d4fa02..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/url/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/wiki/icon.png b/theme/afterburner/pix_plugins/mod/wiki/icon.png deleted file mode 100644 index 0f62e09a3d537..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/wiki/icon.png and /dev/null differ diff --git a/theme/afterburner/pix_plugins/mod/workshop/icon.png b/theme/afterburner/pix_plugins/mod/workshop/icon.png deleted file mode 100644 index 031996014fd3d..0000000000000 Binary files a/theme/afterburner/pix_plugins/mod/workshop/icon.png and /dev/null differ diff --git a/theme/afterburner/renderers.php b/theme/afterburner/renderers.php deleted file mode 100644 index 69659276ecdfd..0000000000000 --- a/theme/afterburner/renderers.php +++ /dev/null @@ -1,170 +0,0 @@ -. - -/** - * Afterburner overridden renderers. - * - * This file contains renderers that have been overridden by the afterburner theme. - * - * @package theme_afterburner - * @copyright 2011 Mary Evans - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * Overridden core_renderer. - * - * @package theme_afterburner - * @copyright 2011 Mary Evans - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ -class theme_afterburner_core_renderer extends core_renderer { - - /** - * Renders a custom menu object (located in outputcomponents.php) - * - * The custom menu this method override the render_custom_menu function - * in outputrenderers.php - * @staticvar int $menucount - * @param custom_menu $menu - * @return string - */ - protected function render_custom_menu(custom_menu $menu) { - - // If the menu has no children return an empty string. - if (!$menu->has_children()) { - return ''; - } - - // Add a login or logout link. - if (isloggedin()) { - $branchlabel = get_string('logout'); - $branchurl = new moodle_url('/login/logout.php'); - } else { - $branchlabel = get_string('login'); - $branchurl = new moodle_url('/login/index.php'); - } - $branch = $menu->add($branchlabel, $branchurl, $branchlabel, -1); - - // Initialise this custom menu. - $content = html_writer::start_tag('ul', array('class' => 'dropdown dropdown-horizontal')); - // Render each child. - foreach ($menu->get_children() as $item) { - $content .= $this->render_custom_menu_item($item); - } - // Close the open tags. - $content .= html_writer::end_tag('ul'); - // Return the custom menu. - return $content; - } - - /** - * Renders a custom menu node as part of a submenu - * - * The custom menu this method override the render_custom_menu_item function - * in outputrenderers.php - * - * @see render_custom_menu() - * - * @staticvar int $submenucount - * @param custom_menu_item $menunode - * @return string - */ - protected function render_custom_menu_item(custom_menu_item $menunode) { - // Required to ensure we get unique trackable id's. - static $submenucount = 0; - $content = html_writer::start_tag('li'); - if ($menunode->has_children()) { - // If the child has menus render it as a sub menu. - $submenucount++; - if ($menunode->get_url() !== null) { - $url = $menunode->get_url(); - } else { - $url = '#cm_submenu_'.$submenucount; - } - $content .= html_writer::start_tag('span', array('class' => 'customitem')); - $content .= html_writer::link($url, $menunode->get_text(), array('title' => $menunode->get_title())); - $content .= html_writer::end_tag('span'); - $content .= html_writer::start_tag('ul'); - foreach ($menunode->get_children() as $menunode) { - $content .= $this->render_custom_menu_item($menunode); - } - $content .= html_writer::end_tag('ul'); - } else { - // The node doesn't have children so produce a final menuitem. - - if ($menunode->get_url() !== null) { - $url = $menunode->get_url(); - } else { - $url = '#'; - } - $content .= html_writer::link($url, $menunode->get_text(), array('title' => $menunode->get_title())); - } - $content .= html_writer::end_tag('li'); - // Return the sub menu. - return $content; - } - - /** - * Copied from core_renderer with one minor change - changed $this->output->render() call to $this->render() - * - * @param navigation_node $item - * @return string - */ - protected function render_navigation_node(navigation_node $item) { - $content = $item->get_content(); - $title = $item->get_title(); - if ($item->icon instanceof renderable && !$item->hideicon) { - $icon = $this->render($item->icon); - $content = $icon.$content; // Use CSS for spacing of icons. - } - if ($item->helpbutton !== null) { - $content = trim($item->helpbutton).html_writer::tag('span', $content, array('class' => 'clearhelpbutton')); - } - if ($content === '') { - return ''; - } - if ($item->action instanceof action_link) { - // Adds class dimmed to hidden courses and categories. - $link = $item->action; - if ($item->hidden) { - $link->add_class('dimmed'); - } - $content = $this->render($link); - } else if ($item->action instanceof moodle_url) { - $attributes = array(); - if ($title !== '') { - $attributes['title'] = $title; - } - if ($item->hidden) { - $attributes['class'] = 'dimmed_text'; - } - $content = html_writer::link($item->action, $content, $attributes); - - } else if (is_string($item->action) || empty($item->action)) { - $attributes = array(); - if ($title !== '') { - $attributes['title'] = $title; - } - if ($item->hidden) { - $attributes['class'] = 'dimmed_text'; - } - $content = html_writer::tag('span', $content, $attributes); - } - return $content; - } - -} \ No newline at end of file diff --git a/theme/afterburner/settings.php b/theme/afterburner/settings.php deleted file mode 100644 index a0cf68e38d4bc..0000000000000 --- a/theme/afterburner/settings.php +++ /dev/null @@ -1,55 +0,0 @@ -. - -/** - * Afterburner theme settings. - * - * @package theme_afterburner - * @copyright 2011 Mary Evans - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -if ($ADMIN->fulltree) { - - // Logo file setting. - $name = 'theme_afterburner/logo'; - $title = get_string('logo', 'theme_afterburner'); - $description = get_string('logodesc', 'theme_afterburner'); - $setting = new admin_setting_configstoredfile($name, $title, $description, 'logo'); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Foot note setting. - $name = 'theme_afterburner/footnote'; - $title = get_string('footnote', 'theme_afterburner'); - $description = get_string('footnotedesc', 'theme_afterburner'); - $default = ''; - $setting = new admin_setting_confightmleditor($name, $title, $description, $default); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Custom CSS file. - $name = 'theme_afterburner/customcss'; - $title = get_string('customcss', 'theme_afterburner'); - $description = get_string('customcssdesc', 'theme_afterburner'); - $default = ''; - $setting = new admin_setting_configtextarea($name, $title, $description, $default); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - -} \ No newline at end of file diff --git a/theme/afterburner/style/afterburner_blocks.css b/theme/afterburner/style/afterburner_blocks.css deleted file mode 100644 index ae0cdbff4af5d..0000000000000 --- a/theme/afterburner/style/afterburner_blocks.css +++ /dev/null @@ -1,192 +0,0 @@ -/* -Block ------------------------*/ -.block { - border:0px dotted #ddd; - margin-bottom:1em; -} -.block .header .block_action { - float:right; - margin:0 4px; - vertical-align:top; -} -.block .header .block_action input { - margin-right:2px; -} -.block .content { - padding:10px; -} -.jsenabled .block.hidden .content { - display: none; -} -.block .content .userpicture { - width:16px;height:16px; - margin-right:4px; -} -.block .content .list li.listentry { - clear:both; -} -.block .content .list .c0 { - display:inline; -} -.block .content .list .c1 { - margin-left:5px; - display:inline; -} -.block .footer { - margin-bottom: 4px; -} -.block .blockannotation { - font-size:0.75em; - margin: -1em 0 1em; -} -.block.beingmoved { - border-width: 2px; - border-style: dashed; -} -.blockmovetarget { - display: block; - height: 1em; - margin-bottom: 1em; - border-width: 2px; - border-style: dashed; -} -.block-region .invisible { - opacity: 0.5; - -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /** must come first! **/ - filter: alpha(opacity=50); /** must come second! **/ -} -.block .block-hider-show, -.block .block-hider-hide { - cursor:pointer; -} -.block .block-hider-show, -.block.hidden .block-hider-hide { - display:none; -} -.block.hidden .block-hider-show { - display:inline; -} -.block-region { - float: left; - padding: 0; - font-size: 12px; -} -.block-region ul { - margin: 0; - padding: 0; - list-style-type: none; -} -.block-region li { - padding: 0; -} -.block-region li li { - margin: 0 20px 0 10px; - padding: 8px 0px; -} -.block .header { - border:none; - padding: 6px 0 4px; - width: 100%; -} -.block .header div.commands { - margin-left: 0; -} -#region-pre .block .header { - background:url([[pix:theme|images/light3]]) 0 -136px repeat-x; - border-bottom:1px solid #c3d9e1; - color:#50646d; -} -#region-post .block .header { - background: url([[pix:theme|images/light3]]) 0 -204px repeat-x; - border-bottom:1px solid #ddd; - color:#777; -} -.block .header .title h2 { - font-size: 1em; - margin: 4px 0 4px 10px; - padding: 0; -} -.block .header .block_action { - float:right; - margin-right: 3px; - vertical-align:top; -} -.block .region-content { - width: 100%; - margin: 0; - padding: 0; -} -.block .minicalendar { - margin:10px auto; - width:100%; -} -/** List block contents **/ -.block .list .c0 { - display:inline; -} -.block .list .c0 img.icon { - vertical-align: middle -} -.block .list .c1 { - margin-left:5px;display:inline; -} -/** Bugfixes Smallicon & Navicon **/ -.block_settings .block_tree li.item_with_icon > p img, -.block_navigation .block_tree li.item_with_icon > p img { - left:0; - position:absolute; - top:0px !important; - vertical-align:middle; -} -.block_settings .block_tree li.item_with_icon p img.smallicon, -.block_settings .block_tree li.item_with_icon p img.navicon, -.block_navigation .block_tree li.item_with_icon p img.smallicon, -.block_navigation .block_tree li.item_with_icon p img.navicon { - margin: 0; - padding: 0; - vertical-align:middle; -} -.block_navigation .block_tree .type_activity > .tree_item.branch img { - left:0px; - bottom: 0px; - position:absolute; -} -/* COMMAND ICONS ------------------------*/ -img.iconsmall, -.block.block_with_controls div.header div.commands a img, -.block-control-actions span.moodle-core-dragdrop-draghandle img, -.course-content ul.topics li.section .right img, -.course-content ul.topics li.section .left img { - height:15px; - margin:2px; - width:15px; - background-color: #eee; - border: 1px solid #aaa; - padding:1px; - -webkit-border-radius:5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.block.block_with_controls div.header div.commands img.iconsmall.actionmenu { - width: auto; -} -.course-content ul.topics li.section .right img.spacer, -.course-content ul.topics li.section .left img.spacer { - height: 1px; - margin: 0; - width: 1px; - background: none; - border: 0 none; - padding: 0; - border-radius: 0; -} -.block.block_with_controls .moodle-actionmenu.show[data-enhanced] .menu a { - color: #333333; - display: block; - padding: 2px 0.5em; -} -.block.block_with_controls .moodle-actionmenu.show[data-enhanced] .menu { - left: 0; -} diff --git a/theme/afterburner/style/afterburner_calendar.css b/theme/afterburner/style/afterburner_calendar.css deleted file mode 100644 index dae4a5fce8fda..0000000000000 --- a/theme/afterburner/style/afterburner_calendar.css +++ /dev/null @@ -1,171 +0,0 @@ -/* -Modules: Calendar ------------------------*/ -/** Calendar **/ -.calendartable { - width: 100%; - font-size: 85%; -} -.calendartable th, -.calendartable td { - width:14%; - vertical-align:top; - text-align: center; - border-width:0px; -} -.path-calendar .calendar-controls .previous, -.path-calendar .calendar-controls .next, -.path-calendar .calendar-controls .current { - display: block; - float: left; - width: 12%; -} -.path-calendar .calendar-controls .previous { - text-align: left; -} -.path-calendar .calendar-controls .current { - text-align: center; - width: 76%; -} -.path-calendar .calendar-controls .next { - text-align: right; -} -.path-calendar {} -.path-calendar .maincalendar { - vertical-align: top;padding:0; -} -.path-calendar .maincalendar .bottom { - text-align: center;padding:5px 0 0 0; -} -.path-calendar .maincalendar .heightcontainer { - height: 100%;position: relative; -} -.path-calendar .maincalendar .calendarmonth { - width:98%;margin:10px auto; -} -.path-calendar .maincalendar .calendarmonth ul { - margin:0; -} -.path-calendar .maincalendar .calendarmonth ul li { - list-style-type:none;margin-top: 4px; -} -.path-calendar .maincalendar .calendarmonth td { - height: 5em; -} -.path-calendar .maincalendar .calendar-controls .previous, -.path-calendar .maincalendar .calendar-controls .next { - width: 30%; -} -.path-calendar .maincalendar .calendar-controls .current { - width: 39.95%; -} -.path-calendar .maincalendar .controls { - width:98%;margin:10px auto; -} -.path-calendar .maincalendar .eventlist .event { - width:100%; - margin-bottom:10px; - border-spacing:0px; - border-collapse:separate; - border-width:1px; - border-style:solid; -} -.path-calendar .maincalendar .eventlist .event .topic .name { - float:left; -} -.path-calendar .maincalendar .eventlist .event .topic .date { - float:right; -} -.path-calendar .maincalendar .eventlist .event .course { - float:left; - clear:left; -} -.path-calendar .maincalendar .eventlist .event .side { - width:32px; -} -.path-calendar .maincalendar .header { - overflow:hidden; -} -.path-calendar .maincalendar .header .buttons { - float: right; -} -.path-calendar .filters table { - border-collapse:separate; - border-spacing: 2px;width: 100%; -} -#page-calendar-export .indent { - padding-left: 20px; -} -.block .minicalendar { - width:100%; - margin:10px auto; -} -.block .minicalendar th, -.block .minicalendar td { - padding:2px;font-size: 10px; -} -.block .minicalendar td.weekend { - color:#A00; -} -.block .calendar-controls .previous { - text-align: left; - display: block; - float: left; - width: 12%; -} -.block .calendar-controls .current { - float:left; - text-align: center; - display: block; - width:76%; -} -.block .calendar-controls .next { - text-align: right; - display: block; - float: left; - width: 12%; -} -.block .filters table { - border-collapse:separate; - border-spacing: 2px; - padding: 2px;width: 100%; -} -.block .content h3.eventskey { - margin-top:0.5em; - margin-bottom:0; -} -.block .calendar_filters li { padding: 0; } -/* -Colors for Calendar Events ------------------------*/ -#calendar .event_global, -.minicalendar .event_global, -.block_calendar_month .event_global, -.calendar_event_global { - border-color:#def2ba !important; - background-color:#def2ba; -} -#calendar .event_course, -.minicalendar .event_course, -.block_calendar_month .event_course, -.calendar_event_course { - border-color:#c6dfeb !important; - background-color:#c6dfeb; -} -#calendar .event_group, -.minicalendar .event_group, -.block_calendar_month .event_group, -.calendar_event_group { - border-color:#feffc2 !important; - background-color:#feffc2; -} -#calendar .event_user, -.minicalendar .event_user, -.block_calendar_month .event_user, -.calendar_event_user { - border-color:#d9c6e2 !important; - background-color:#d9c6e2; -} -table.minicalendar tr td.weekend { - color: #f00; -} \ No newline at end of file diff --git a/theme/afterburner/style/afterburner_dock.css b/theme/afterburner/style/afterburner_dock.css deleted file mode 100644 index ff6dab3cd1062..0000000000000 --- a/theme/afterburner/style/afterburner_dock.css +++ /dev/null @@ -1,133 +0,0 @@ -/* -Docking Module ----------------*/ -#dock { - width: 30px; - position:fixed; - top: 0; - left: 0; - height: 100%; - z-index:11000; - } -#dock.nothingdocked { - visibility: hidden; - display:none; -} -#dock .dockeditem.firstdockitem { - margin-top: 0; - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; -} -#dock .dockeditem { - background-color: #ddd; - padding: 2px; - padding-left: 0px; -} -#dock .dockedtitle { - padding-bottom: 5px; - cursor:pointer; - background-color: #aaa; - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -#dock .dockedtitle h2 { - margin: 0; - padding: 10px 3px; - color: #fff; -} -.dockedtitle.activeitem h2 { - color: #fff; -} -#dock .dockedtitle.activeitem { - background-color: #abc; - width: 35px; - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -#dock .controls { - bottom: auto; - background-color: #ddd; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -#dock .controls img { - cursor:pointer; - margin-left: 10px; -} - -/* -Docked Item Panel ------------------------*/ -#dockeditempanel { - width: 180px; - position: relative; - z-index: 12000; - left: 100%; -} -#dockeditempanel.dockitempanel_hidden { - display:none; -} -#dockeditempanel .dockeditempanel_content { - background-color: #fff; - margin: 0 3px; - position: relative; - min-height: 100px; - border-color: #abc; - border-style: solid; - border-width: 5px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-border-top-left-radius: 0; - -moz-border-radius-topleft: 0; - border-top-left-radius: 0; -} -#dockeditempanel .dockeditempanel_hd { - border-width: 0; - background-color: #abc; - padding: 2px; -} -#dockeditempanel .dockeditempanel_bd .block_docked { - margin:10px; -} -#dockeditempanel .block_calendar_month.block_docked { - text-align: center; -} -#dockeditempanel .dockeditempanel_hd { - border-bottom:1px dotted #aaa; - text-align: left; -} -#dockeditempanel .dockeditempanel_hd h2 { - display:inline; - margin: 0; - padding-left: 1em; - color: #fff; -} -#dockeditempanel .dockeditempanel_hd .commands { - display:inline; -} -#dockeditempanel .dockeditempanel_hd .commands img { - margin-left: 3px; - vertical-align: middle; -} -#dockeditempanel .dockeditempanel_bd { - overflow:auto; - width:auto; /* adds scroll to dock panel */ -} -#dockeditempanel .dockeditempanel_bd .block_navigation .block_tree li {overflow:visible;} - -/* Hide the move icon for blocks which are docked */ -#dock .editing_move, -#dock .moodle-core-dragdrop-draghandle { - display: none; -} diff --git a/theme/afterburner/style/afterburner_menu.css b/theme/afterburner/style/afterburner_menu.css deleted file mode 100644 index f4782191aab46..0000000000000 --- a/theme/afterburner/style/afterburner_menu.css +++ /dev/null @@ -1,199 +0,0 @@ -@media screen and (min-width: 768px) { - - /* Custom Menu - -------------------------- */ - #custommenu { - width: 100%; - margin: 0; - padding: 0; - clear:both; - height: 30px; - background: #888; - margin:0; - } - #custommenu ul li { - border-right: 1px solid #777; - border-left: 1px solid #999 - } - /* - Dropdown Menu - CSS from DeCaf Theme by Lei Zhang - -------------------------------------------------*/ - ul.dropdown span.customitem { - padding:0; - border:0; - width: 100%; - } - ul.dropdown span.customitem { - padding:0; - width: 100%; - } - ul.dropdown li a, - ul.dropdown span.customitem a { - padding:6px 20px; - } - ul.dropdown span.customitem a:hover { - border: 0; - } - #custommenu ul.dropdown ul { - padding:0; - width:auto; - } - #custommenu ul.dropdown ul a { - padding:4px 18px; - } - #custommenu ul.dropdown > li span a { - height:16px; - } - ul.dropdown, - ul.dropdown li, - ul.dropdown ul { - list-style:none; - margin:0; - padding:0; - } - ul.dropdown { - position:relative; - top:0px; - z-index:597; - float:left; - font:13px "Trebuchet MS",Arial,Helvetica,sans-serif; - } - ul.dropdown li { - float:left; - line-height:1.3em; - vertical-align:middle; - background-color:transparent; - color:#fff; - zoom:1 !important; - } - ul.dropdown li.hover, - ul.dropdown li:hover { - position:relative; - z-index:599; - cursor:default; - } - ul.dropdown ul { - visibility:hidden; - position:absolute; - top:100%;z-index:598; - left:0; - right:auto; - margin-top: -1px; - font:100% "Trebuchet MS",Arial,Helvetica,sans-serif; - } - ul.dropdown ul li { - float:none; - background-color: #34637f; - border-width: 1px; - border-style: solid; - border-color: #477C9B #34637f #295770; - padding:0; - } - ul.dropdown ul ul { - top:0; - right:auto; - left:100%; - margin-top:0; - border-top:none; - border-left:none; - font-weight:400; - } - ul.dropdown li:hover > ul { - visibility:visible; - } - ul.dropdown span, - ul.dropdown span a, - ul.dropdown li.clickable-with-children > a { - background-color: #34637f; - width:auto; - padding:2px 6px 4px 20px; - color: #fff; - } - ul.dropdown ul span, - ul.dropdown ul span a, - ul.dropdown ul li.clickable-with-children > a { - background-color:#34637f; - background-image: url([[pix:theme|menu/nav-arrow-right]]); - background-position:100% 50%; - background-repeat:no-repeat; - color: #fff; - } - ul.dropdown ul ul span, - ul.dropdown ul ul span a, - ul.dropdown ul ul li.clickable-with-children > a { - background-color:#34637f; - background-image: url([[pix:theme|menu/nav-arrow-right]]); - background-position:100% 50%; - background-repeat:no-repeat; - color: #fff; - } - ul.dropdown a:link, ul.dropdown a:visited { - color: white; - text-decoration: none; - } - ul.dropdown a:hover { - border:0; - background-color: #fff; - color: #036; - } - ul.dropdown ul ul li { - background-color: #34637f; - } - ul.dropdown ul ul ul li { - background-color: #34637f; - } - ul.dropdown li a, - ul.dropdown span, - ul.dropdown span a { - border: none; - background-color: transparent; - } - ul.dropdown ul li a, - ul.dropdown ul span, - ul.dropdown ul span a { - border: 0; - } - ul.dropdown ul ul li a, - ul.dropdown ul ul span, - ul.dropdown ul ul span a { - border:0 - } - ul.dropdown ul ul ul li a, - ul.dropdown ul ul ul span, - ul.dropdown ul ul ul span a { - border:0; - } - ul.dropdown a,ul.dropdown span{ - display:block; - } - ul.dropdown ul a { - width:166px; - padding:2px 0 4px 5px; - } - ul.dropdown ul a.open:hover { - background-color: #fff; - color:#036; - } - ul.dropdown ul li:hover > span, - ul.dropdown ul li:hover > span a { - background-color:#fff; - background-image:url([[pix:theme|menu/nav-arrowover-right]]); - color: #036; - } - ul.dropdown li.clickable-with-children:hover > a { - background-image:url([[pix:theme|menu/nav-arrowover-right]]); - } - ul.dropdown *.open, - ul.dropdown li:hover > span, - ul.dropdown li:hover > span a { - background-color:#fff; - color: #036; - } - ul.dropdown ul ul *.open, - ul.dropdown ul ul li:hover > span, - ul.dropdown ul ul li:hover > span a { - background-color:#fff; - background-image:url([[pix:theme|menu/nav-arrowover-right]]); - color:#036; - } -} \ No newline at end of file diff --git a/theme/afterburner/style/afterburner_mod.css b/theme/afterburner/style/afterburner_mod.css deleted file mode 100644 index 1217ecaa45e34..0000000000000 --- a/theme/afterburner/style/afterburner_mod.css +++ /dev/null @@ -1,86 +0,0 @@ -/* -Modules: Forum ------------------------*/ -.forumpost { - border-collapse:separate; - border-style:solid; - border-width:0; - margin-top:10px; - width: 100%; -} -.forumpost .row.maincontent { - background: #fff none no-repeat; -} -.forumpost .row.header { - background: #fff url([[pix:theme|forum/gradient]]) repeat-x 43px 100%; - border:0px; - min-height: 3em; -} -.forumpost .picture img { - margin: 4px 4px 0 0; -} -.forumpost .content .posting { - margin-top: 15px; - max-width:100%; - overflow:auto; -} -.forumpost .topic a:link, -.forumpost .topic a:visited { - color: #555; -} -.path-mod-forum .forumheaderlist .discussion .starter { - border-left: 0 none; - vertical-align: middle; -} -.path-mod-forum .forumheaderlist .discussion.r1 { - background-color: #ededed; - border-bottom: 1px solid #e6e6e6; - border-top: 1px solid #d9d9d9; -} -.path-mod-forum .forumheaderlist { - border: 1px solid #ccc; - border-collapse: separate; - margin-top: 10px; - width: 100%; -} -.path-mod-forum .forumheaderlist th.header { - background-color: #abc; - border-bottom: 1px solid #036; -} -.path-mod-forum .forumheaderlist td { - border-color: #ccc; - border-style: solid; - border-width: 1px 0 0; -} -/* -Grader Report ------------------------*/ -.user-grade td.oddd1 { - background-color: #def -} -.user-grade { - border: 1px solid #abc; -} -.user-grade td.b1l, .user-grade td.b2l { - border-left: 2px solid #aaa; -} -.user-grade td.b1b, .user-grade td.b2b { - border-bottom: 2px solid #aaa; -} -.user-grade td.b1t, .user-grade td.b2t { - border-top: 2px solid #369; -} -tr.discussion td.replies { text-align: center;} -/* -AJAX User Enroller Panel ------------------------*/ -.user-enroller-panel { - width:400px; - background-color:#666; - position:absolute; - top:10%; - left:10%; - border:1px solid #666; - border-width:0 5px 5px 0; - z-index: 99999!important; -} \ No newline at end of file diff --git a/theme/afterburner/style/afterburner_pagelayout.css b/theme/afterburner/style/afterburner_pagelayout.css deleted file mode 100644 index f3e20c1c3a0c6..0000000000000 --- a/theme/afterburner/style/afterburner_pagelayout.css +++ /dev/null @@ -1,111 +0,0 @@ -/* Page Layout for Afterburner Moodle 2.4 Theme -using Matthew James Taylor's Perfect Holy Grail Percentage Layout ------------------------------------------------------------------*/ -html { - margin: 0; - padding: 0; - background-color: #fff; -} -body { - margin: 0; - padding: 0; - background: #fff url([[pix:theme|core/bground]]) repeat-x fixed; -} -#page-wrapper { - width: 90%; - margin: 0 auto; - background: none; - border: 1px solid #eee; -} -#page { - width: 100%; - margin: 0 auto; - padding: 0; - background: none; -} -/* -3 Column Page Layout ------------------------*/ - -#page-content { - clear: both; - float: left; - overflow: hidden; - position: relative; - width: 100%; - background-color: #eee; /* Right column background colour */ -} -#region-main-box { - float: left; - right: 21%; - position: relative; - width: 100%; - background-color: #fff; /* Center column background colour */ -} -#region-pre-box { - float: left; - right: 58%; - position: relative; - width: 100%; - background-color: #d1e0e7; /* Left column background colour */ -} -#region-main { - float: left; - overflow: hidden; - position: relative; - width: 58%; - left: 100%; - background-color: #fff; -} -#region-pre { - float: left; - overflow: hidden; - position: relative; - width: 21%; - left: 21%; -} -#region-post { - float: left; - overflow: hidden; - position: relative; - width: 21%; - left: 79%; - -} -#region-main .region-content { - padding: 0 20px; -} -#page-footer { - clear: both; - float: left; - width: 100%; -} - -/** SIDE-PRE-ONLY **/ - -.side-pre-only #region-main-box {right: 0%;} -.side-pre-only #region-pre-box {right: 79%;} -.side-pre-only #region-main {left: 100%; width: 79%;} -.side-pre-only #region-pre {left: 0; width: 21%;} -.side-pre-only #region-post {width: 0;} - - -/** SIDE-POST-ONLY **/ - -.side-post-only #region-main-box {right: 23%;} -.side-post-only #region-pre-box {right: 0; background-color: #fff;} -.side-post-only #region-main {left: 25%; width: 75%;} -.side-post-only #region-pre {width: 0;} -.side-post-only #region-post {left: 25%; width: 23%;} -.has_dock.side-post-only #region-main {margin-left: 0;} - -/** CONTENT ONLY - NO BLOCKS WHATSOEVER **/ - -.content-only #region-main-box {right: 0;} -.content-only #region-pre-box {right: 0;} -.content-only #region-main {left: 0; width: 100%;} -.content-only #region-pre {width: 0;} -.content-only #region-post {width: 0;} - -.pagelayout-report #page-content #region-main {overflow:auto;} -.pagelayout-report #page-content #region-main .region-content {overflow: visible;} diff --git a/theme/afterburner/style/afterburner_responsive.css b/theme/afterburner/style/afterburner_responsive.css deleted file mode 100644 index a669026c64039..0000000000000 --- a/theme/afterburner/style/afterburner_responsive.css +++ /dev/null @@ -1,147 +0,0 @@ -@media screen and (max-width: 767px) { - /* Custom Menu - -------------------------- */ - - #custommenu ul { - margin: 0; - padding: 0; - list-style-type: none; - overflow: hidden; - } - #custommenu li { - margin: 0; /** Opera hack **/ - } - #custommenu a { - display: block; - color: #fff; - background-color: #888; - width: 98%; - padding: 5px 10px; - text-decoration: none; - border-top: 1px solid #777; - border-bottom: 1px solid #999; - font-weight: bold; - } - #custommenu li li a { - display: block; - color: #fff; - background-color: #34637f; - width: 98%; - padding: 5px 20px; - text-decoration: none; - border-top: 1px solid #477C9B; - border-bottom: 1px solid #295770; - font-weight: normal; - } - #custommenu li li li a { - display: block; - color: #fff; - background-color: #34637f; - width: 98%; - padding: 5px 20px; - text-decoration: none; - border-top: 1px solid #477C9B; - border-bottom: 1px solid #295770; - font-weight: normal; - } - #custommenu a:hover { - background-color: #fff; - color: #036; - } -} - -@media screen and (orientation:portrait) and (min-width: 768px) and (max-width: 799px) { - /* Page Layout - -------------------------*/ - body.has_dock { - margin-left: 3%; - width: 97%; - } - #page-wrapper { - width: 94%; - } - #region-main .region-content { - padding: 0 5px; - } - #region-main-box { - right: 0%; - } - #region-pre-box { - right: 77%; - } - #region-main { - left: 100%; - width: 77%; - } - #region-pre { - left: 0; - width: 23%; - } - #region-post { - left: 0; - width: 23%; - } - #region-post .block .header { - background:url([[pix:theme|images/light3]]) 0 -136px repeat-x; - border-bottom: 1px solid #c3d9e1; - color: #50646d; - } -} -@media screen and (max-width:767px) { - /* Page Layout - -------------------------*/ - body.has_dock { - margin-left: 3%; - width: 97%; - } - #dock { - width: 30px; - } - #page-wrapper { - width: 100%; - margin: 0; - } - #region-main-box, - .side-pre-only #region-main-box, - .side-post-only #region-main-box { - right: 0; - } - #region-pre-box, - .side-pre-only #region-pre-box, - .side-post-only #region-pre-box { - right: 0; - } - #region-main, - .side-pre-only #region-main, - .side-post-only #region-main { - left: 0; - width: 100%; - } - #region-pre, - .side-pre-only #region-pre, - .side-post-only #region-pre { - left: 0; - width: 100%; - } - #region-post, - .side-pre-only #region-post, - .side-post-only #region-post { - left: 0; - width: 100%; - } - #region-post .block .header { - background:url([[pix:theme|images/light3]]) 0 -136px repeat-x; - border-bottom: 1px solid #c3d9e1; - color:#50646d; - } - #page-header { - height: 110px; - } - a.logo { - background-size: 60%; - overflow: hidden; - } - .headermenu { - padding-top: 0; - } -} \ No newline at end of file diff --git a/theme/afterburner/style/afterburner_rtl.css b/theme/afterburner/style/afterburner_rtl.css deleted file mode 100644 index bfc264150efb2..0000000000000 --- a/theme/afterburner/style/afterburner_rtl.css +++ /dev/null @@ -1,150 +0,0 @@ -/** Overide for RTL layout **/ - -.dir-rtl .block .header .block_action { - float:left; -} -.dir-rtl .block .header .commands { - text-align: right; -} -.dir-rtl .block .header .title h2 { - margin-right: 10px; -} -.dir-rtl .course_category_tree .category > .header .name { - padding-left: 0; - padding-right: 20px; -} -.dir-rtl .coursebox .summary { - float: right; -} -.dir-rtl a.logo { - background-position: 100% 0; - float: right; - left: auto; - right: 10px; -} -.dir-rtl .headermenu { - float: left; - clear: left; - right: auto; - left: 0; -} -.dir-rtl .headermenu .langmenu { - clear: left; - float: left; - margin-left: 0; -} -.dir-rtl .langmenu select.select.menulang { - margin-left: 0; -} -.dir-rtl .loginbox .loginform .form-label { - width: 46%; -} -.dir-rtl #navcontainer { - clear: both; -} - -/* RTL Docking Module ---------------------*/ - -.dir-rtl #dock { - top: 0; - left: auto; - right: 0; -} -.dir-rtl #dock .dockeditem.firstdockitem { - margin-top: 2.3em; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; -} -.dir-rtl #dock .dockedtitle { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.dir-rtl #dock .dockedtitle.activeitem { - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.dir-rtl #dock .controls { - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.dir-rtl #dock .controls img { - margin-right: 10px; -} -/* -Docked Item Panel ------------------------*/ -.dir-rtl #dockeditempanel { - right: 100%; -} -.dir-rtl #dockeditempanel .dockeditempanel_content { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; -} -.dir-rtl.has_dock.side-post-only #region-main { - margin-left: 0; -} -/* @media Responsive styles --------------------------*/ - -@media screen and (min-width: 768px) { -/* right align CUSTOMMENU --------------------------*/ - .dir-rtl #custommenu ul.dropdown { - float: right; - } - .dir-rtl #custommenu ul.dropdown ul{ - right: 0; - left: auto; - } - .dir-rtl #custommenu ul.dropdown ul ul { - right: 203px; - left: auto; - } - .dir-rtl #custommenu ul.dropdown ul span, - .dir-rtl #custommenu ul.dropdown ul span a, - .dir-rtl #custommenu ul.dropdown ul li.clickable-with-children > a { - background-image: url([[pix:theme|menu/nav-arrow-left]]); - background-position: 0 50%; - background-repeat: no-repeat; - } - .dir-rtl #custommenu ul.dropdown ul li:hover > span, - .dir-rtl #custommenu ul.dropdown ul li:hover > span a { - background-color: #fff; - background-image: url([[pix:theme|menu/nav-arrowover-left]]); - color: #036; - } - .dir-rtl #custommenu ul.dropdown li.clickable-with-children:hover > a { - background-image: url([[pix:theme|menu/nav-arrowover-left]]); - } -} -@media screen and (orientation:portrait) and (min-width: 768px) and (max-width: 799px) { - /* Page Layout - -------------------------*/ - body.has_dock { - margin-right: 3%; - width: 97%; - } -} -@media screen and (max-width: 767px) { - /* Page Layout - -------------------------*/ - body.has_dock { - margin-right: 3%; - width: 97%; - } -} \ No newline at end of file diff --git a/theme/afterburner/style/afterburner_settings.css b/theme/afterburner/style/afterburner_settings.css deleted file mode 100644 index 82955ebd2218c..0000000000000 --- a/theme/afterburner/style/afterburner_settings.css +++ /dev/null @@ -1,3 +0,0 @@ -/* Custom CSS Settings --------------------------*/ -[[setting:customcss]] \ No newline at end of file diff --git a/theme/afterburner/style/afterburner_styles.css b/theme/afterburner/style/afterburner_styles.css deleted file mode 100644 index c730db37872b5..0000000000000 --- a/theme/afterburner/style/afterburner_styles.css +++ /dev/null @@ -1,486 +0,0 @@ -/* -General Styles ------------------------*/ -body { - margin: 0; - padding: 0; - color: #4b4b4b; -} -h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea { - font-family: Helvetica, Arial, sans-serif; -} -a:link, -a:visited { - color: #007EBA; - text-decoration: none; -} -a:hover, a:active { - color: #c30; - text-decoration: none; -} -hr { - border-bottom: 1px dotted #808080; - border-top: 0px; -} -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2 { - border-bottom: 1px solid #ddd; - font-size: 1.4em; - font-weight: bold; -} -/* -Page ------------------------*/ -#page { - font-size: 108%; - font-family: Helvetica, Arial, sans-serif; - background-color: #fff; -} -#page-content { - border-bottom: 1px solid #ddd; -} -/* -Header and Logo ----------------------------*/ -#page-header { - height: 100px; - width: 100%; - background-color: #fff; -} -a.logo { - background: url([[setting:logo]]) no-repeat 0 0; - width: 320px; - height: 75px; - margin: 0; - float: left; - position: relative; - top: 10px; - left: 10px; -} -.headermenu { - float: right; - clear: right; - margin: 0; - padding: 10px; - position: relative; - top: 0; - right: 0; -} -.headermenu .logininfo, -.headermenu .langmenu { - font-size: 1em; -} -#navcontainer { - clear: both; -} -/* -Page Footer ------------------------*/ -#page-footer { - background: #fff url([[pix:theme|core/h2grad]]) repeat-x left top; - height: auto; - clear: both; - float: left; - width: 98%; - margin: 0; - padding: 1%; - color: #4b4b4b; - border-top: 1px solid #fff; - line-height: 2em; - font-size: 1em; -} -#page-footer a:link, -#page-footer a:visited { - color: #aaa; - text-decoration: none; -} -#page-footer a:hover, -#page-footer a:active { - color: #c30; - text-decoration: none; -} -#page-footer .footer-left { - float: left; - text-align: left; - color: #999; -} -#page-footer .footer-left p { - margin: 0; - padding: 0; - font-size: 100%; - line-height: 1; -} -#page-footer .footer-right { - float: right; - text-align: right; -} -/* -Navbar & Breadcrumb ------------------------*/ -.navbar { - background: url([[pix:theme|images/light3]]) 0 -68px repeat-x; - margin: 0; - padding: 5px 10px 4px; - color: #777; - border-top: 1px solid #d9d9d9; - border-bottom: 1px solid #e6e6e6; -} -.breadcrumb { - float: left; - color: #616161; -} -.navbutton { - text-align: right; - float: right; - margin-top: 5px; - margin-right: 5px; -} -.navbutton .singlebutton input { - border-width: 1px; - border-style: outset; - border-color: #787878; - font-size: 85%; - cursor: pointer; -} -.breadcrumb ul { - margin-top: 5px; - margin-left: 10px; - text-indent: 0; - list-style: none; -} -.breadcrumb li, -.navbutton div, -.navbutton form { - display: inline; -} -.logininfo -.breadcrumb { - font-size: 1.5em; -} -.breadcrumb a, -.breadcrumb a:link, -.breadcrumb a:visited { - color: #337F8C; - text-decoration: none; -} -.breadcrumb a:hover, -.breadcrumb a:active { - color: #787878; -} - -/* -Collapse All - Expand All --------------------------*/ -div.controls .expandall, -div.controls .collapseall { - font-size: .8em; - color: #008db0; - margin: 2px; - padding: 0; - float: right; - clear: both; - text-transform: capitalize; - font-variant: small-caps; - border-bottom: 1px solid #008db0; -} -.redirectmessage, -.continuebutton { - text-align: center; - font-size: 14pt; - color: #444; - padding-bottom: 10px; -} -/* -General Box ------------------------*/ -.generalbox { - border: 0 none; -} -/* -Font Size ------------------------*/ -table { - font-size: 85%; -} -/* -Button ------------------------*/ -select, input, button { - background-color: #34637f; - color: #fff; -} -.ie7 select { /* fixes compatibility view */ - background-color: #eee; - color: #036; -} -#loginbtn, input, button, select { - cursor: pointer; - margin-left: 5px; -} -input#username, -input#password, -input[type="text"], -input[type="password"], -textarea { - background-color: white; - border: 2px inset threedface; - color: #4b4b4b; - width: auto; - cursor: default; -} -/* -Courses and categories lists -----------------------------*/ -.coursebox .content .summary, -.coursebox .content .coursecat { - width: 100%; - float: left; -} -.coursebox > .info > .name { - width: auto; -} -.coursebox .content .teachers, -.coursebox .content .courseimage, -.coursebox .content .coursefile { - width: 100%; -} -#page-course-index-category .generalbox.info { - margin: 1em 0; - padding: 0 5px; -} -/* -Course Section Topic & Weekly ------------------------------*/ -.course-content ul.topics li.section, -.course-content ul.weeks li.section { - border: 1px solid #DDDDDD; - list-style: none outside none; - margin: 5px 0 0; - padding: 0; -} -.course-content ul.topics li.section { - padding-top: 1em; -} -/*Login (Login page)*/ -.loginbox .loginform .form-label { - width:46%; -} -.loginbox .loginform .form-input { - width:53%; -} - -/* -Login (Front Page) ------------------------*/ -.block_login { - margin: 0; - padding: 0; -} -.block_login .footer { - text-align: right; - clear: both -} -.block_login .loginform .c1 { - margin: 0.3em 15px; - text-align: left; -} -/* Theme Selector -----------------------------*/ -#page-admin-theme-index .generalbox { - border: none; -} -.theme_screenshot { - float: left; - width: 300px; -} -.theme_screenshot img { - width: 275px; -} -.theme_screenshot h2 { - font-size: 2em; -} -.theme_screenshot h3 { - font-size: 0.9em; - margin: 1em 0 0; -} -.theme_screenshot p { - font-size: 0.9em; - margin: 0 0 1em; -} -.theme_description { - margin-left: 300px; -} -.theme_description h2 { - padding-top: 0.5em; -} -/* -Tabs ------------------------*/ -.tabtree ul { - text-align:center; -} -.tabtree .tabrow0 { - width:100%;margin:1em 0px; -} -.tabtree .tabrow0 li { - margin-right:-4px; -} -.tabtree .tabrow0 li.here { - font-weight: bold; -} -.tabtree .tabrow0 li.here a { - position:relative;z-index:102; -} -.tabtree .tabrow0 li a { - background-image:url([[pix:theme|tab/left]]); - padding-left:14px; - padding-top:10px; - background-repeat:no-repeat; - padding-bottom:3px; - margin-bottom:-1px; -} -.tabtree .tabrow0 li a:hover { - background-image:url([[pix:theme|tab/left_hover]]); -} -.tabtree .tabrow0 li a span { - background-image:url([[pix:theme|tab/right]]); - background-repeat:no-repeat; - background-position: 100% 0; - padding-right: 14px; - padding-top: 10px; - padding-bottom: 3px; -} -.tabtree .tabrow0 li a:hover span { - background-image:url([[pix:theme|tab/right_hover]]); -} -.tabtree .tabrow0 ul, -.tabtree .tabrow0 div { - font-weight: normal; - background-image:url([[pix:theme|tab/tabrow1]]); - background-position:0% 50%; - border-top: 1px dotted #eee; - padding:0.25em 0px; - margin:0px; -} -.tabtree .tabrow0 li.here .empty { - display:block; - height:1px; - overflow:hidden; - padding:0px; - position:absolute; - width:100%; - bottom:-4px; -} -.tabtree .tabrow1 li a, -.tabtree .tabrow1 li a:hover, -.tabtree .tabrow1 li a span, -.tabtree .tabrow1 li a:hover span { - background-image: none !important; -} -.tabtree a.nolink, -.tabtree .here ul a.nolink, -.tabtree a.nolink:hover, -.tabtree .here ul a.nolink:hover { - color: #888; - text-decoration: none; -} -.tabtree .here a.nolink, -.tabtree .here ul .here a.nolink, -.tabtree .here a.nolink:hover, -.tabtree .here ul .here a.nolink:hover { - color: black; - text-decoration: none; -} -/* -tab styles for ie6 & ie7 ------------------------*/ -.ie7 .tabtree .tabrow0 li { - margin-left: 0; -} -.ie7 .tabtree .tabrow0 li.first { - margin-right: -4px; -} -.ie7 .tabtree .tabrow0 li.onerow { - margin-right: 0; -} -.ie7 .tabtree .tabrow0 a { - display: inline-block; - padding: 8px 0 0.35em 13px; - line-height: 1.5em; -} -.ie7 .tabtree .tabrow0 a span { - padding: 10px 1em 10px 0; -} -.ie7 .tabtree .tabrow0 div { - top: 2.6em;padding: 0.2em 0; -} -.ie7 .tabtree .tabrow0 div.empty { - margin-right: 0; -} -.ie7.mod-quiz div.tabtree a span img.iconsmall { - margin: 0; - vertical-align: baseline; - position: relative; - top: 2px; -} -.ie6 .tabtree { - height: 100%; -} -.ie6 .tabtree .tabrow0 { - padding-top: 10px; -} -.ie6 .tabtree .tabrow0 li { - margin-left: 0; -} -.ie6 .tabtree .tabrow0 li.first { - margin-left: -4px; - margin-right: -4px; -} -.ie6 .tabtree .tabrow0 li.last a { - margin-right: 0; -} -.ie6 .tabtree .tabrow0 li.onerow { - margin-right: 0; -} -.ie6 .tabtree .tabrow0 a { - padding: 0 0 0 13px; -} -.ie6 .tabtree .tabrow0 a span { - padding: 12px 1em 4px 0; -} -.ie6 .tabtree .tabrow0 div { - top: 3.5em; - padding: 0.2em 0; -} -/* Filemanager --------------------------*/ -.filemanager select, -.filemanager input, -.filemanager button, -.filemanager textarea, -.file-picker select, -.file-picker input, -.file-picker button, -.file-picker textarea { - background-color: #EEE; -} - -/* Moodle forms -----------------*/ - -.mform .btn-cancel { - color: #007EBA; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #cc3300; - text-decoration: underline; -} - -/* Actionmenu --------------*/ -.jsenabled .moodle-actionmenu[data-enhance] .toggle-display.textmenu .iconsmall { - margin: 4px 4px 4px 2px; -} diff --git a/theme/afterburner/version.php b/theme/afterburner/version.php deleted file mode 100644 index f31fe5665d471..0000000000000 --- a/theme/afterburner/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_afterburner - * @copyright 2011 Mary Evans - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_afterburner'; // Full name of the plugin (used for diagnostics). -$plugin->dependencies = array( - 'theme_base' => 2013110500, -); diff --git a/theme/anomaly/config.php b/theme/anomaly/config.php deleted file mode 100644 index 04e5949b150fb..0000000000000 --- a/theme/anomaly/config.php +++ /dev/null @@ -1,168 +0,0 @@ -. - -/** - * This file contains a few configuration variables that control how Moodle uses this theme. - * - * @package theme_anomaly - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'anomaly'; - -$THEME->sheets = array( - 'base', - 'general', - 'browser', - 'dock', - 'menu', - 'settings' -); -/// This variable is an array containing the names of all the -/// stylesheet files you want included in this theme, and in what order -//////////////////////////////////////////////////////////////////////////////// - -$THEME->parents = array('base'); -/// 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->layouts = array( - // Most pages - if we encounter an unknown or a missing page type, this one is used. - 'base' => array( - 'file' => 'general.php', - 'regions' => array() - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu' => true) - ), - // Course page - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu' => true) - ), - // Course page - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu' => true) - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu' => true) - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu' => true) - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu' => true) - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu' => true) - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu' => true) - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array() - ), - // Pages that appear in pop-up windows - no navigation, no blocks, no header. - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - // No blocks and minimal footer - used for legacy frame layouts only! - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter', 'noblocks'=>true, 'nocoursefooter'=>true), - ), - // Embeded pages, like iframe embeded in moodleform - 'embedded' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - // Used during upgrade and install, and for the 'This site is undergoing maintenance' message. - // This must not have any blocks, and it is good idea if it does not have links to - // other places - for example there should not be a home link in the footer... - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - // The pagelayout used when a redirection is occuring. - 'redirect' => array( - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // The pagelayout used for reports. - 'report' => array( - 'file' => 'report.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu' => true), - ), - // The pagelayout used for safebrowser and securewindow. - 'secure' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologinlinks'=>true, 'nocourseheaderfooter'=>true), - ), -); - -$THEME->rendererfactory = 'theme_overridden_renderer_factory'; - -$THEME->csspostprocess = 'anomaly_process_css'; - -$THEME->enable_dock = true; - -$THEME->editor_sheets = array('editor'); diff --git a/theme/anomaly/lang/en/theme_anomaly.php b/theme/anomaly/lang/en/theme_anomaly.php deleted file mode 100644 index ad44df5a3ef1d..0000000000000 --- a/theme/anomaly/lang/en/theme_anomaly.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Strings for component 'theme_anomaly', language 'en', branch 'MOODLE_20_STABLE' - * - * @package theme_anomaly - * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ -$string['choosereadme'] = '

Anomaly

Theme Discussion Forum:

http://moodle.org/mod/forum/view.php?id=46

Theme Credits

http://docs.moodle.org/en/Theme_credits

Theme Documentation:

http://docs.moodle.org/en/Themes

Report a bug:

http://tracker.moodle.org

About

Anomaly is a fluid-width, three-column Moodle 2.0 theme with rounded corners.

Tweaks

This theme is built upon the Base theme inside the Moodle core. If you want to modify this theme, we recommend that you first duplicate it, then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

Credits

This theme was originally designed for Moodle 1.9 by Patrick Malley. It was then coded for 2.0 and is maintained by Sam Hemelryk at Moodle HQ. He can be contacted at sam@moodle.com.

License

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.

'; -$string['configtitle'] = 'Anomaly Theme'; -$string['customcss'] = 'Custom CSS'; -$string['customcssdesc'] = 'Whatever CSS rules you add to this Custom CSS box will be reflected in every page, making for easier customization of this theme.'; -$string['pluginname'] = 'Anomaly'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['tagline'] = 'Tagline'; -$string['taglinedesc'] = 'Whatever text you add to this Tagline text box will be displayed below the heading on the front page of your Moodle site only.'; diff --git a/theme/anomaly/layout/frontpage.php b/theme/anomaly/layout/frontpage.php deleted file mode 100644 index 8949f3688dc5e..0000000000000 --- a/theme/anomaly/layout/frontpage.php +++ /dev/null @@ -1,137 +0,0 @@ -. - -/** - * The frontpage layout for the Anomaly theme. - * - * @package theme_anomaly - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepre = $hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT); -$showsidepost = $hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT); - -$hastagline = (!empty($PAGE->theme->settings->tagline)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - - - -
-
-
- -
-
-
- main_content() ?> -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
- - - -
-
-standard_end_of_body_html() ?> - - diff --git a/theme/anomaly/layout/general.php b/theme/anomaly/layout/general.php deleted file mode 100644 index 9644a5b8e7e70..0000000000000 --- a/theme/anomaly/layout/general.php +++ /dev/null @@ -1,159 +0,0 @@ -. - -/** - * The default layout for the Anomaly theme. - * - * @package theme_anomaly - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT)); -$hassidepost = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-post', $OUTPUT)); -$haslogininfo = (empty($PAGE->layout_options['nologininfo'])); - -$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} -if ($hasnavbar) { - $bodyclasses[] = 'hasnavbar'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - - - - -
-
-
- -
-
-
- - main_content() ?> - -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
- - - - - - - - -
-
-standard_end_of_body_html() ?> - - diff --git a/theme/anomaly/layout/report.php b/theme/anomaly/layout/report.php deleted file mode 100644 index 2cca764082ce8..0000000000000 --- a/theme/anomaly/layout/report.php +++ /dev/null @@ -1,140 +0,0 @@ -. - -/** - * The report layout for the Anomaly theme. - * - * @package theme_anomaly - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT)); -$hassidepost = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-post', $OUTPUT)); -$haslogininfo = (empty($PAGE->layout_options['nologininfo'])); - -$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if (!$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} -if ($hasnavbar) { - $bodyclasses[] = 'hasnavbar'; -} - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - - - - -
-
-
- - main_content() ?> - -
-
- -
-
-
- blocks_for_region('side-pre') ?> -
-
-
- -
- - - - - - - - -
-
-standard_end_of_body_html() ?> - - diff --git a/theme/anomaly/lib.php b/theme/anomaly/lib.php deleted file mode 100644 index 6de8c220b726a..0000000000000 --- a/theme/anomaly/lib.php +++ /dev/null @@ -1,62 +0,0 @@ -. - -/** - * This file contains functions specific to the needs of the Anomaly theme. - * - * @package theme_anomaly - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * Process CSS applying theme customisations before it is cached and delivered. - * - * @param string $css - * @param theme_config $theme - * @return string - */ -function anomaly_process_css($css, $theme) { - - // Set custom CSS. - if (!empty($theme->settings->customcss)) { - $customcss = $theme->settings->customcss; - } else { - $customcss = null; - } - $css = anomaly_set_customcss($css, $customcss); - - return $css; -} - -/** - * Adds custom CSS set by the admin to the CSS for the Anomaly theme. - * - * @param string $css - * @param string $customcss - * @return string - */ -function anomaly_set_customcss($css, $customcss) { - $tag = '[[setting:customcss]]'; - $replacement = $customcss; - if (is_null($replacement)) { - $replacement = ''; - } - - $css = str_replace($tag, $replacement, $css); - - return $css; -} diff --git a/theme/anomaly/pix/background.png b/theme/anomaly/pix/background.png deleted file mode 100644 index 34d85fb3854f3..0000000000000 Binary files a/theme/anomaly/pix/background.png and /dev/null differ diff --git a/theme/anomaly/pix/corners_block.gif b/theme/anomaly/pix/corners_block.gif deleted file mode 100644 index 367c8eabc8013..0000000000000 Binary files a/theme/anomaly/pix/corners_block.gif and /dev/null differ diff --git a/theme/anomaly/pix/corners_header.gif b/theme/anomaly/pix/corners_header.gif deleted file mode 100644 index b6db3601535fc..0000000000000 Binary files a/theme/anomaly/pix/corners_header.gif and /dev/null differ diff --git a/theme/anomaly/pix/dock_removeall.png b/theme/anomaly/pix/dock_removeall.png deleted file mode 100644 index 6b1c076d040bc..0000000000000 Binary files a/theme/anomaly/pix/dock_removeall.png and /dev/null differ diff --git a/theme/anomaly/pix/favicon.ico b/theme/anomaly/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/anomaly/pix/favicon.ico and /dev/null differ diff --git a/theme/anomaly/pix/logo.jpg b/theme/anomaly/pix/logo.jpg deleted file mode 100644 index f0c6cf38a779c..0000000000000 Binary files a/theme/anomaly/pix/logo.jpg and /dev/null differ diff --git a/theme/anomaly/pix/menu/nav-arrow-left.jpg b/theme/anomaly/pix/menu/nav-arrow-left.jpg deleted file mode 100644 index 177f823a0a3a1..0000000000000 Binary files a/theme/anomaly/pix/menu/nav-arrow-left.jpg and /dev/null differ diff --git a/theme/anomaly/pix/menu/nav-arrow-right.jpg b/theme/anomaly/pix/menu/nav-arrow-right.jpg deleted file mode 100644 index e9a89f559fa6c..0000000000000 Binary files a/theme/anomaly/pix/menu/nav-arrow-right.jpg and /dev/null differ diff --git a/theme/anomaly/pix/menu/nav-arrowover-left.jpg b/theme/anomaly/pix/menu/nav-arrowover-left.jpg deleted file mode 100644 index 596b6ff366dac..0000000000000 Binary files a/theme/anomaly/pix/menu/nav-arrowover-left.jpg and /dev/null differ diff --git a/theme/anomaly/pix/menu/nav-arrowover-right.jpg b/theme/anomaly/pix/menu/nav-arrowover-right.jpg deleted file mode 100644 index 15f8cf177ebae..0000000000000 Binary files a/theme/anomaly/pix/menu/nav-arrowover-right.jpg and /dev/null differ diff --git a/theme/anomaly/pix/movedock.png b/theme/anomaly/pix/movedock.png deleted file mode 100644 index bae6a20b0ccf0..0000000000000 Binary files a/theme/anomaly/pix/movedock.png and /dev/null differ diff --git a/theme/anomaly/pix/navigation_gradient.png b/theme/anomaly/pix/navigation_gradient.png deleted file mode 100644 index 4f0ed911d8a7a..0000000000000 Binary files a/theme/anomaly/pix/navigation_gradient.png and /dev/null differ diff --git a/theme/anomaly/pix/navigation_gradient_vertical.png b/theme/anomaly/pix/navigation_gradient_vertical.png deleted file mode 100644 index c0e5bf355246d..0000000000000 Binary files a/theme/anomaly/pix/navigation_gradient_vertical.png and /dev/null differ diff --git a/theme/anomaly/pix/screenshot.jpg b/theme/anomaly/pix/screenshot.jpg deleted file mode 100644 index feee60f081999..0000000000000 Binary files a/theme/anomaly/pix/screenshot.jpg and /dev/null differ diff --git a/theme/anomaly/pix/tab/left.gif b/theme/anomaly/pix/tab/left.gif deleted file mode 100644 index 48b6628891308..0000000000000 Binary files a/theme/anomaly/pix/tab/left.gif and /dev/null differ diff --git a/theme/anomaly/pix/tab/left_active.gif b/theme/anomaly/pix/tab/left_active.gif deleted file mode 100644 index bd72d635568f9..0000000000000 Binary files a/theme/anomaly/pix/tab/left_active.gif and /dev/null differ diff --git a/theme/anomaly/pix/tab/left_active_hover.gif b/theme/anomaly/pix/tab/left_active_hover.gif deleted file mode 100644 index f1af440a15fdc..0000000000000 Binary files a/theme/anomaly/pix/tab/left_active_hover.gif and /dev/null differ diff --git a/theme/anomaly/pix/tab/left_hover.gif b/theme/anomaly/pix/tab/left_hover.gif deleted file mode 100644 index ea8c9705ed139..0000000000000 Binary files a/theme/anomaly/pix/tab/left_hover.gif and /dev/null differ diff --git a/theme/anomaly/pix/tab/right.gif b/theme/anomaly/pix/tab/right.gif deleted file mode 100644 index feddbb73d55bf..0000000000000 Binary files a/theme/anomaly/pix/tab/right.gif and /dev/null differ diff --git a/theme/anomaly/pix/tab/right_active.gif b/theme/anomaly/pix/tab/right_active.gif deleted file mode 100644 index ad87b27a4ee58..0000000000000 Binary files a/theme/anomaly/pix/tab/right_active.gif and /dev/null differ diff --git a/theme/anomaly/pix/tab/right_active_hover.gif b/theme/anomaly/pix/tab/right_active_hover.gif deleted file mode 100644 index c8b2883d53875..0000000000000 Binary files a/theme/anomaly/pix/tab/right_active_hover.gif and /dev/null differ diff --git a/theme/anomaly/pix/tab/right_end.gif b/theme/anomaly/pix/tab/right_end.gif deleted file mode 100644 index 2cb44de6c571a..0000000000000 Binary files a/theme/anomaly/pix/tab/right_end.gif and /dev/null differ diff --git a/theme/anomaly/pix/tab/right_hover.gif b/theme/anomaly/pix/tab/right_hover.gif deleted file mode 100644 index 301b3f670862b..0000000000000 Binary files a/theme/anomaly/pix/tab/right_hover.gif and /dev/null differ diff --git a/theme/anomaly/pix/tab/right_last.gif b/theme/anomaly/pix/tab/right_last.gif deleted file mode 100644 index dd346f6c52692..0000000000000 Binary files a/theme/anomaly/pix/tab/right_last.gif and /dev/null differ diff --git a/theme/anomaly/pix/tab/rtlbg.gif b/theme/anomaly/pix/tab/rtlbg.gif deleted file mode 100644 index ba7831333af59..0000000000000 Binary files a/theme/anomaly/pix/tab/rtlbg.gif and /dev/null differ diff --git a/theme/anomaly/pix/tab/tabrow1.gif b/theme/anomaly/pix/tab/tabrow1.gif deleted file mode 100644 index db1ffa66c4730..0000000000000 Binary files a/theme/anomaly/pix/tab/tabrow1.gif and /dev/null differ diff --git a/theme/anomaly/renderers.php b/theme/anomaly/renderers.php deleted file mode 100644 index 8ccd145482426..0000000000000 --- a/theme/anomaly/renderers.php +++ /dev/null @@ -1,208 +0,0 @@ -. - -/** - * This file contains renderers overridden by the Anomaly theme. - * - * @package theme_anomaly - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * Class theme_anomaly_core_renderer - * - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ -class theme_anomaly_core_renderer extends core_renderer { - - /** - * Prints a nice side block with an optional header. - * - * The content is described - * by a {@link block_contents} object. - * - * @param block_contents $bc HTML for the content - * @param string $region the region the block is appearing in. - * @return string the HTML to be output. - */ - function block(block_contents $bc, $region) { - - $bc = clone($bc); // Avoid messing up the object passed in. - if (empty($bc->blockinstanceid) || !strip_tags($bc->title)) { - $bc->collapsible = block_contents::NOT_HIDEABLE; - } - if (!empty($bc->blockinstanceid)) { - $bc->attributes['data-instanceid'] = $bc->blockinstanceid; - } - $skiptitle = strip_tags($bc->title); - if ($bc->blockinstanceid && !empty($skiptitle)) { - $bc->attributes['aria-labelledby'] = 'instance-'.$bc->blockinstanceid.'-header'; - } else if (!empty($bc->arialabel)) { - $bc->attributes['aria-label'] = $bc->arialabel; - } - if ($bc->dockable) { - $bc->attributes['data-dockable'] = 1; - } - if ($bc->collapsible == block_contents::HIDDEN) { - $bc->add_class('hidden'); - } - if (!empty($bc->controls)) { - $bc->add_class('block_with_controls'); - } - - if (empty($skiptitle)) { - $output = ''; - $skipdest = ''; - } else { - $output = html_writer::tag('a', get_string('skipa', 'access', $skiptitle), array('href' => '#sb-' . $bc->skipid, 'class' => 'skip-block')); - $skipdest = html_writer::tag('span', '', array('id' => 'sb-' . $bc->skipid, 'class' => 'skip-block-to')); - } - - $output .= html_writer::start_tag('div', $bc->attributes); - - /** Rounded corners **/ - $output .= html_writer::start_tag('div', array('class'=>'corner-box')); - $output .= html_writer::start_tag('div', array('class'=>'rounded-corner top-left')).html_writer::end_tag('div'); - $output .= html_writer::start_tag('div', array('class'=>'rounded-corner top-right')).html_writer::end_tag('div'); - - $controlshtml = $this->block_controls($bc->controls); - - $title = ''; - if ($bc->title) { - $title = html_writer::tag('h2', $bc->title); - } - - if ($title || $controlshtml) { - $output .= html_writer::tag('div', html_writer::tag('div', html_writer::tag('div', '', array('class'=>'block_action')). $title . $controlshtml, array('class' => 'title')), array('class' => 'header')); - } - - $output .= html_writer::start_tag('div', array('class' => 'content')); - if (!$title && !$controlshtml) { - $output .= html_writer::tag('div', '', array('class'=>'block_action notitle')); - } - $output .= $bc->content; - - if ($bc->footer) { - $output .= html_writer::tag('div', $bc->footer, array('class' => 'footer')); - } - - $output .= html_writer::end_tag('div'); - - /** Four rounded corner ends **/ - $output .= html_writer::start_tag('div', array('class'=>'rounded-corner bottom-left')).html_writer::end_tag('div'); - $output .= html_writer::start_tag('div', array('class'=>'rounded-corner bottom-right')).html_writer::end_tag('div'); - $output .= html_writer::end_tag('div'); - - $output .= html_writer::end_tag('div'); - - if ($bc->annotation) { - $output .= html_writer::tag('div', $bc->annotation, array('class' => 'blockannotation')); - } - $output .= $skipdest; - - $this->init_block_hider_js($bc); - - return $output; - } - - /** - * Renders a custom menu object (located in outputcomponents.php) - * - * The custom menu this method override the render_custom_menu function - * in outputrenderers.php - * @staticvar int $menucount - * @param custom_menu $menu - * @return string - */ - protected function render_custom_menu(custom_menu $menu) { - - // If the menu has no children return an empty string - if (!$menu->has_children()) { - return ''; - } - - // Add a login or logout link - if (isloggedin()) { - $branchlabel = get_string('logout'); - $branchurl = new moodle_url('/login/logout.php'); - } else { - $branchlabel = get_string('login'); - $branchurl = new moodle_url('/login/index.php'); - } - $branch = $menu->add($branchlabel, $branchurl, $branchlabel, -1); - - // Initialise this custom menu - $content = html_writer::start_tag('ul', array('class'=>'dropdown dropdown-horizontal')); - // Render each child - foreach ($menu->get_children() as $item) { - $content .= $this->render_custom_menu_item($item); - } - // Close the open tags - $content .= html_writer::end_tag('ul'); - // Return the custom menu - return $content; - } - - /** - * Renders a custom menu node as part of a submenu - * - * The custom menu this method override the render_custom_menu_item function - * in outputrenderers.php - * - * @see render_custom_menu() - * - * @staticvar int $submenucount - * @param custom_menu_item $menunode - * @return string - */ - protected function render_custom_menu_item(custom_menu_item $menunode) { - // Required to ensure we get unique trackable id's - static $submenucount = 0; - $content = html_writer::start_tag('li'); - if ($menunode->has_children()) { - // If the child has menus render it as a sub menu - $submenucount++; - if ($menunode->get_url() !== null) { - $url = $menunode->get_url(); - } else { - $url = '#cm_submenu_'.$submenucount; - } - $content .= html_writer::start_tag('span', array('class'=>'customitem')); - $content .= html_writer::link($url, $menunode->get_text(), array('title'=>$menunode->get_title())); - $content .= html_writer::end_tag('span'); - $content .= html_writer::start_tag('ul'); - foreach ($menunode->get_children() as $menunode) { - $content .= $this->render_custom_menu_item($menunode); - } - $content .= html_writer::end_tag('ul'); - } else { - // The node doesn't have children so produce a final menuitem - - if ($menunode->get_url() !== null) { - $url = $menunode->get_url(); - } else { - $url = '#'; - } - $content .= html_writer::link($url, $menunode->get_text(), array('title'=>$menunode->get_title())); - } - $content .= html_writer::end_tag('li'); - // Return the sub menu - return $content; - } - -} \ No newline at end of file diff --git a/theme/anomaly/settings.php b/theme/anomaly/settings.php deleted file mode 100644 index ff17a2a6a1593..0000000000000 --- a/theme/anomaly/settings.php +++ /dev/null @@ -1,47 +0,0 @@ -. - -/** - * Anomaly theme settings. - * - * @package theme_anomaly - * @copyright 2013 Mary Evans - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -if ($ADMIN->fulltree) { - - // Tagline setting. - $name = 'theme_anomaly/tagline'; - $title = get_string('tagline', 'theme_anomaly'); - $description = get_string('taglinedesc', 'theme_anomaly'); - $default = ''; - $setting = new admin_setting_configtext($name, $title, $description, $default); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Custom CSS file. - $name = 'theme_anomaly/customcss'; - $title = get_string('customcss', 'theme_anomaly'); - $description = get_string('customcssdesc', 'theme_anomaly'); - $default = ''; - $setting = new admin_setting_configtextarea($name, $title, $description, $default); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - -} diff --git a/theme/anomaly/style/base.css b/theme/anomaly/style/base.css deleted file mode 100644 index c5736aa250bbc..0000000000000 --- a/theme/anomaly/style/base.css +++ /dev/null @@ -1,189 +0,0 @@ -/** - * Core - */ - -h1, h1.headermain, h2, h2.tagline, h3, h4, h5 { - font-family: Georgia,Times,"Times New Roman",serif; -} - -#page { - position: relative; - width: 94%; - margin: 25px 3%; - padding: 0; -} - -.generalbox { - padding: 10px; - margin-bottom: 15px; -} - -#notice.generalbox, -.generaltable, -.userinfobox { - margin-left: auto; - margin-right: auto; -} - -#notice.generalbox { - width: 60%; -} - -.notifyproblem, -.notifysuccess { - padding: 10px; -} - -.notifyproblem { - color: #660000; -} -.notifysuccess { - color: #006600; -} - -.notifyproblem, -.notifysuccess, -.paging { - text-align: center; -} - - -/** - * Tabs - */ -.tabtree { - position: relative; - margin-bottom: 3.5em; -} - -.tabtree .tabrow0 { - text-align: center; - width: 100%; - margin: 1em 0px; -} - -.tabtree .tabrow0 li { - display: inline; - margin-right: -4px; -} - -.tabtree .tabrow0 li.here a { - position: relative; - z-index: 102; -} - -.tabtree .tabrow0 li a { - background-image: url([[pix:theme|tab/left]]); - padding-left: 14px; - padding-top: 10px; - background-repeat: no-repeat; - padding-bottom: 3px; - margin-bottom: -1px; -} - -.tabtree .tabrow0 li a:hover { - background-image: url([[pix:theme|tab/left_hover]]); -} - -.tabtree .tabrow0 li a span { - background-image: url([[pix:theme|tab/right]]); - background-repeat: no-repeat; - background-position: 100% 0%; - padding-right: 14px; - padding-top: 10px; - padding-bottom: 3px; -} - -.tabtree .tabrow0 li a:hover span { - background-image: url([[pix:theme|tab/right_hover]]); -} - -.tabtree .tabrow0 ul, -.tabtree .tabrow0 div { - background-image: url([[pix:theme|tab/tabrow1]]); - background-position: 0% 50%; - position: absolute; - width: 100%; - border-top: 1px solid #aaa; - padding: 0.25em 0px; - top: 100%; - margin: 0px; -} - -.tabtree .tabrow0 .empty { - height: 1px; - overflow: hidden; - padding: 0px; - position: absolute; -} - -.tabtree .tabrow1 li a, -.tabtree .tabrow1 li a:hover, -.tabtree .tabrow1 li a span, -.tabtree .tabrow1 li a:hover span { - background-image: none; -} - -.groupmanagementtable { - width: 90%; -} - -.groupmanagementtable td { - vertical-align: top; - border-width: 0px; -} -.groupmanagementtable td p { - margin: 0px; -} - -/** - * Themes - */ -#page-admin-theme-index .generalbox { - border: 0 none; - background: none; -} - -.theme_screenshot { - float: left; - width: 300px; -} - -.theme_screenshot img { - width: 275px; -} - -.theme_screenshot h2 { - font-size: 2em; - margin-top: 0; -} - -.theme_screenshot h3 { - font-size: 0.9em; - margin: 1em 0 0; -} - -.theme_screenshot p { - font-size: 0.9em; - margin: 0 0 1em; -} - -.theme_description { - margin-left: 300px; -} - -.theme_description h2 { - padding-top: 0.5em; -} - -/* Moodle forms -----------------*/ - -.mform .btn-cancel { - color: #697F55; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #697F55; - text-decoration: underline; -} diff --git a/theme/anomaly/style/browser.css b/theme/anomaly/style/browser.css deleted file mode 100644 index f7aba5c6fdec0..0000000000000 --- a/theme/anomaly/style/browser.css +++ /dev/null @@ -1,205 +0,0 @@ -/** - * Rounded corner CSS + images - * This CSS uses background images and relative positioning to display rounded - * corners on all browsers. - */ - -.rounded-corner { - display: block; - width: 11px; - height: 11px; - font-size: 1pt; - margin: 0px; - padding: 0px; -} - -#page-header .rounded-corner { - background-image: url([[pix:theme|corners_header]]); - clear: both; -} - -#page-header .rounded-corner.top-left { - background-position: 0px 0px; - float: left; -} - -#page-header .rounded-corner.top-right { - background-position: 11px 0px; - float: right; -} - -/** Fix IE8 + Opera positioning issue **/ -.ie8 #page-header .rounded-corner.top-right, -.ie9 #page-header .rounded-corner.top-right, -.opera #page-header .rounded-corner.top-right { - position: relative; - top: -11px; -} - -#page-footer { - position: relative; -} - -#page-footer .rounded-corner { - position: absolute; - background-image: url([[pix:theme|corners_header]]); - clear: both; -} - -#page-footer .rounded-corner.bottom-left { - background-position: 0 11px; - bottom: 0; - left: 0; - float: left; -} - -#page-footer .rounded-corner.bottom-right { - background-position: 11px 11px; - bottom: 0; - right: 0; - float: right; -} - -.block { - border-width: 0px; - background-color: white; -} - -.block .corner-box { - border: 1px solid #C8C9C7; - margin-bottom: 10px; - padding-bottom: 10px; - background-color: #E3E3E3; -} - -.block .corner-box .rounded-corner { - background-image: url([[pix:theme|corners_block]]); - position: relative; -} - -.block .corner-box .rounded-corner.top-left { - background-position: 0px 0px; - float: left; - top: -1px; - left: -1px; -} - -.block .corner-box .rounded-corner.top-right { - background-position: 11px 0px; - float: right; - top: -1px; - right: -1px; -} - -.block .corner-box .rounded-corner.bottom-left { - background-position: 0px 11px; - float: left; - bottom: 0px; - left: -1px; -} - -.block .corner-box .rounded-corner.bottom-right { - background-position: 11px 11px; - float: right; - bottom: 0px; - right: -1px; -} - -/** - * Pure CSS rounded corners - * This CSS overrides the above to remove images and use pure CSS to display the - * rounded corners. Less requests, betterg page load time, better looking rounded - * corners.... if only IE could handle it. - * - * Browsers: - * Firefox: body.gecko -moz - * Chrome: body.safari -webkit - * Safari: body.safari -webkit - * Opera: body.opera no prefix - */ - -.opera .rounded-corner.top-left, -.opera .rounded-corner.top-right, -.opera .rounded-corner.bottom-left, -.opera .rounded-corner.bottom-right, -.safari .rounded-corner.top-left, -.safari .rounded-corner.top-right, -.safari .rounded-corner.bottom-left, -.safari .rounded-corner.bottom-right, -.gecko .rounded-corner.top-left, -.gecko .rounded-corner.top-right, -.gecko .rounded-corner.bottom-left, -.gecko .rounded-corner.bottom-right { - background-image: none; - display: none; -} - -.opera .block .corner-box, -.safari .block .corner-box, -.gecko .block .corner-box { - -webkit-border-radius: 10px; - -moz-border-radius: 10px; - border-radius: 10px; -} - -.opera .block .corner-box .header, -.opera #page-header, -.safari .block .corner-box .header, -.safari #page-header, -.gecko .block .corner-box .header, -.gecko #page-header { - -moz-border-top-left-radius: 10px; - -moz-border-top-right-radius: 10px; - -webkit-border-top-left-radius: 10px; - -webkit-border-top-right-radius: 10px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; -} - -.opera #page-footer, -.safari #page-footer, -.gecko #page-footer { - -moz-border-bottom-left-radius: 10px; - -moz-border-bottom-right-radius: 10px; - -webkit-border-bottom-left-radius: 10px; - -webkit-border-bottom-right-radius: 10px; - border-bottom-left-radius: 10px; - border-bottom-right-radius: 10px; -} - - -.opera.forumpost div.row .left, -.safari .forumpost div.row .left, -.gecko .forumpost div.row .left { - -moz-border-bottom-left-radius: 20px; - -webkit-border-bottom-left-radius: 20px; - border-bottom-left-radius: 20px; -} - -.opera .forumpost, -.opera .forumpost div.row.side, -.safari .forumpost, -.safari .forumpost div.row.side, -.gecko .forumpost, -.gecko .forumpost div.row.side { - -moz-border-bottom-right-radius: 20px; - -moz-border-bottom-left-radius: 20px; - -webkit-border-bottom-right-radius: 20px; - -webkit-border-bottom-left-radius: 20px; - border-bottom-right-radius: 20px; - border-bottom-left-radius: 20px; -} - -.opera .forumpost .options, -.safari .forumpost .options, -.gecko .forumpost .options { - -moz-border-bottom-right-radius: 20px; - -webkit-border-bottom-right-radius: 20px; - border-bottom-right-radius: 20px; - -} - -/** Fix for IE 6 float background bug */ -.ie .column-content { - position: relative; -} \ No newline at end of file diff --git a/theme/anomaly/style/dock.css b/theme/anomaly/style/dock.css deleted file mode 100644 index 31bf99e06c436..0000000000000 --- a/theme/anomaly/style/dock.css +++ /dev/null @@ -1,135 +0,0 @@ -/* Docking Module ------------------*/ - -body.has_dock { - margin: 0; -} -#dock { - width: 3%; - position: fixed; - top: 0; - left: 0; - height: 100%; - z-index: 11000; - background-color: #C8C9C7; - border-right: 0 none; -} -#dock.nothingdocked { - visibility: hidden; - display: none; -} -#dock .controls { - bottom: auto; - background-color: #C8C9C7; - -webkit-border-bottom-right-radius: 10px; - -moz-border-bottom-right-radius: 10px; - border-bottom-right-radius: 10px; -} -#dock .dockeditem.firstdockitem { - margin-top: 10em; - -webkit-border-top-left-radius: 10px; - -moz-border-top-right-radius: 10px; - border-top-left-radius: 10px; -} -#dock .dockeditem { - background-color: #C8C9C7; - padding: 2px; - padding-right: 0; -} -#dock .dockedtitle { - padding-bottom: 8px; - cursor: pointer; - background-color: #222; - -webkit-border-top-left-radius: 10px; - -moz-border-radius-topleft: 10px; - border-top-left-radius: 10px; - -webkit-border-bottom-left-radius: 10px; - -moz-border-radius-bottomleft: 10px; - border-bottom-left-radius: 10px; -} -#dock .dockedtitle h2 { - margin: 8px 0; - padding: 0 3px; - color: #fff; - font-family: sans-serif; -} -.dockedtitle.activeitem h2 { - color: #fff; -} -#dock .dockedtitle.activeitem { - background-color: #697F55; - -webkit-border-top-left-radius: 10px; - -moz-border-radius-topleft: 10px; - border-top-left-radius: 10px; - -webkit-border-bottom-left-radius: 10px; - -moz-border-radius-bottomleft: 10px; - border-bottom-left-radius: 10px; -} -#dock .controls img { - cursor: pointer; - margin-left: 10px; -} -/* -Docked Item Panel ------------------------*/ -#dockeditempanel { - width: 180px; - position: relative; - z-index: 12000; - left: 100%; -} -#dockeditempanel.dockitempanel_hidden { - display: none; -} -#dockeditempanel .dockeditempanel_content { - background-color: #eee; - margin: 0 3px 0 0; - position: relative; - min-height: 100px; - border-color: #697F55; - border-style: solid; - border-width: 5px; - -webkit-border-radius: 10px; - -moz-border-radius: 10px; - border-radius: 10px; - -webkit-border-top-left-radius: 0; - -moz-border-top-left-radius: 0; - border-top-left-radius: 0; -} -#dockeditempanel .dockeditempanel_hd { - border-color: #eee; - background-color: #eee; - padding: 2px; -} -#dockeditempanel .dockeditempanel_bd .block_docked { - margin: 10px; -} -#dockeditempanel .block_calendar_month.block_docked { - text-align: center; -} -#dockeditempanel .dockeditempanel_hd { - text-align: right; - -webkit-border-top-right-radius: 10px; - -moz-border-top-right-radius: 10px; - border-top-right-radius: 10px; -} -#dockeditempanel .dockeditempanel_hd h2 { - display: inline; - margin: 0; - padding-right: 2em; - color: #000; -} -#dockeditempanel .dockeditempanel_hd .commands { - display: inline; -} -#dockeditempanel .dockeditempanel_hd .commands img { - margin-right: 3px; - vertical-align: middle; -} -#dockeditempanel .dockeditempanel_bd { - overflow: auto; - width: auto; /* adds scroll to dock panel */ -} -#dockeditempanel .dockeditempanel_bd .block_navigation .block_tree li { - overflow: visible; -} \ No newline at end of file diff --git a/theme/anomaly/style/editor.css b/theme/anomaly/style/editor.css deleted file mode 100644 index ad43fbdbf6dad..0000000000000 --- a/theme/anomaly/style/editor.css +++ /dev/null @@ -1,7 +0,0 @@ -body, div, p, li, input, option, textarea { - font-size: 10pt; - line-height: 1.5em; -} -body, div, p, li, input, option, textarea, h1, h2, h3, h4, h5 { - font-family: Georgia,Times,"Times New Roman",serif; -} \ No newline at end of file diff --git a/theme/anomaly/style/general.css b/theme/anomaly/style/general.css deleted file mode 100644 index 2a3015a73138e..0000000000000 --- a/theme/anomaly/style/general.css +++ /dev/null @@ -1,725 +0,0 @@ -/** Core **/ - -a:link { - text-decoration: none; - color: #697F55; -} -a:visited { - text-decoration: none; - color: #697F55; -} -a:hover { - text-decoration: underline; -} -img.icon, -img.iconhelp { - vertical-align: middle; -} -html, body { - background-color: #C8C9C7; -} -#page-content { - background-color: #FFF; - min-width: 0; -} -/** Header **/ - -.pagelayout-frontpage #page-header { - border-bottom: 5px solid #697F55; -} -#page-header { - background-color: #222; - color: #FFF; - margin: 0; - padding: 0; - width: 100%; -} -h1.headermain { - font-size: 30px; - margin: 20px; - font-weight: 400; -} -.pagelayout-frontpage h1.headermain, -h2.tagline { - float: left; - line-height: 1; - padding: 0; -} -.pagelayout-frontpage h1.headermain { - margin-bottom: 0; -} -h2.tagline { - clear: left; - color: #bbb; - margin-top: 0; - margin-bottom: 20px; - margin-left: 20px; - font-size: 100%; - font-weight: normal; -} - -/** Navbar **/ - -#page-header .navbar { - background-color: #697F55; - width: 100%; - margin: 0; - padding: 0; - color: #000; - padding-bottom: 5px; -} -#page-header .navbar a:link, -#page-header .navbar a:visited { - color: #fff; -} -#page-header .navbar .breadcrumb, -#page-header .navbar .navbutton { - line-height: 1.5; -} -#page-header .navbar .breadcrumb { - margin: 5px 5px 0 20px; -} -#page-header .navbar .navbutton { - margin: 3px 5px 3px; -} -#page-header .navbar .navbutton .singlebutton { - margin: 0; -} - -/** Footer **/ - -#page-footer { - background-color: #222; - color: #FFF; -} -#page-footer .helplink { - margin-top: 10px; -} - -/** General **/ -.generalbox { - border: 1px solid #DDDDDD; -} -.generaltable td { - border-width: 0; -} -.sitetopic { - border-width: 0; -} -.navigationtitle, -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2 { - margin-bottom: 10px; - border-bottom: 1px solid #697F55; - background-color: #E3E3E3; - padding: 4px 5px; -} -.coursebox { - width: 100%; - margin: 10px 0; - border-bottom: 1px solid #E3E3E3; - overflow: hidden; - padding-bottom: 10px; -} -.coursebox.collapsed { - border-bottom: none; - margin: 0; - padding-bottom: 0; -} -.coursebox .content .teachers, -.coursebox .content .courseimage, -.coursebox .content .coursefile, -.coursebox.remotecoursebox .remotecourseinfo { - width: 35%; -} -.coursebox .content .summary, -.coursebox .content .coursecat { - width: 60%; -} -.course_category_tree .paging.paging-morelink a {font-size:90%} - -.course-content ul.section { - margin: 0; -} -#page-course-info .generalbox.info, -#page-enrol-index .generalbox.info { - border:none; -} - -.course-content .section.main { - border:1px solid #E3E3E3; - margin-bottom: 10px; -} -.course-content .section.main .left.side { - float:left;width:20px;padding:5px; -} -.course-content .section.main .right.side { - float: right; - width: 20px; - padding: 5px; -} -.course-content .section.main .content { - padding: 5px 5px 10px; - background-color: #FFF; -} -.course-content .section.main .content .section_add_menus { - text-align: right; -} -#region-main .course-content .single-section .section-navigation h3 { - font-size: 1.3em; -} -#page-report-outline-user .section { - border: 1px solid #DDD; - margin: 0 5% 1.5em 5%; -} -#page-report-outline-user .section h2, -#page-report-outline-user .section .content { - margin: 5px 1em; -} -#page-report-outline-user .section table td { - border: 0; -} -.generaltable { - border: 1px solid #DDD; -} -.generaltable .cell { - background-color: #FFF; - border:1px solid #EEE; - border-collapse: collapse; -} -.generaltable .header { - background-color: #EEE; - border: 1px solid #EEE; - font-weight: bold; -} - -/** Login **/ -.loginbox { - margin-top: 15px; - margin-bottom: 15px; -} -.loginbox .loginform { - margin-top: 15px; -} -.loginbox .loginform .form-label { - width: 44%; - float: left; - text-align: right; -} -.loginbox .loginform .form-input { - width: 55%; - float: right; - text-align: left; -} - -.loginbox .loginform .form-input input { - width: 6em; -} -.loginbox.twocolumns { - border: 1px solid #DDD; -} -.loginbox.twocolumns .loginpanel { - float: left; - width: 49%; - text-align: center; -} -.loginbox.twocolumns .signuppanel { - float: left; - width: 50%; - border-left: 1px solid #DDD; -} -.loginbox.twocolumns .signuppanel h2 { - text-align: center; -} -.loginbox.twocolumns .signuppanel div { - margin: 1em; -} -.loginbox.twocolumns .signuppanel div li { - font-size: 90%; -} -.loginbox .loginsub { - margin-left: 10%; - margin-right: 10%; - padding: 10px; - margin-bottom: 5px; -} -.loginbox .guestsub { - margin-left: 10%; - margin-right: 10%; - padding: 10px; - margin-bottom: 5px; - border-top: 1px solid #DDD; -} -.dir-rtl .loginbox .loginform .form-input {width:50%} - -/** Blocks **/ - -.block { - border: 1px solid #C8C9C7; - background-color: #E3E3E3; - margin-bottom: 10px; -} -.block h1, -.block h2, -.block h3, -.block h4 { - margin: 0; -} -.block .header { - margin: 10px 6px 3px 6px; -} -.block .content { - margin: 10px 6px 3px 6px; -} -/** Admin **/ -.box.adminwarning { - text-align: center; - border: 1px solid #C8C9C7; - background-color: #E3E3E3; - margin-bottom: 1em; - padding: 10px 10%; -} -.box.copyright { - text-align: center; - font-size: 90%; - padding: 10px 10%; -} -#adminsettings fieldset { - border: 1px solid #C8C9C7; - background-color: #E3E3E3; -} -#adminsettings fieldset .generalbox { - margin: 1em 0.5em; - border-color: #C8C9C7; -} -#adminsettings .form-buttons { - margin-left: 13em; -} -.form-item { - width: 100%; - margin: 1em 1em 2em 1em; -} -.form-item .form-label { - width: 12.5em; - text-align: right; - float: left; - margin-right: 0.5em; -} -.form-item .form-label .form-shortname { - display: block; - color: #666; - font-size: 75%; -} -.form-item .form-setting { - margin-left: 13em; -} -.form-item .form-setting .defaultsnext { - display:inline; -} -.form-item .form-setting .form-defaultinfo { - display: inline; - margin-left: 0.5em; - font-size: 90%; - color: #666; -} -.form-item .form-description { - margin: 0.5em 1em 0.5em 13em; -} -.form-item .form-textarea textarea { - width: 495px; -} -#authmenu .informationbox { - width: 80%; - margin: 0 auto 10px; - border: 1px solid #C8C9C7; - padding: 10px; -} -#authmenu table td { - border-width: 0; -} -#categoryquestions { - margin-left: auto; - margin-right: auto; - width: 100%; -} -.user th, -.user th.header, -.group th.header, -.admin table tr th, -.admin table tr th.header { - background-color: #697F55; - color: #FFF; - border: 2px solid #697F55; - border-bottom-color: #111; -} -.user th a:link, -.group th a:link, -.admin table tr th a:link { - color: #FFF; - text-decoration: none; -} -.user th a:visited, -.group th a:visited, -.admin table tr th a:visited { - color: #FFF; - text-decoration: underline; -} -.user tr td.cell, -#categoryquestions tr td.cell, -.group tr td.cell, -.admin table tr td.cell { - border: 1px solid #C8C9C7; - border-width: 0 1px; -} -.user > tbody > tr:nth-of-type(even) .cell, -#categoryquestions > tbody > tr:nth-of-type(even) .cell, -.group > tbody > tr:nth-of-type(even) .cell, -.admin table > tbody > tr:nth-of-type(even) .cell { - background-color: #EEE; -} -.singlebutton, -.buttons { - text-align: center; - margin: 20px; -} -.buttons form { - display: inline; -} -.buttons div { - display: inline; -} -.buttons .singlebutton { - display: inline; - padding: 5px; - margin: 0; -} -.admin .generalbox { - background-color: #EEE; - border-color: #C8C9C7; -} -#admin-mnet-index table td, -#files-index .column-content table td { - border-width: 0; -} - -/** Mforms **/ -.mform fieldset { - border-color: #C8C9C7; -} - -/** Tags **/ -.tag-management-form { - text-align:center; -} -#tag-management-list { - margin-top:1em; -} - -/** User **/ -.userinfobox td { - border-width: 0; - vertical-align: top; -} -.userinfobox .side { - width: 120px; - text-align: center; -} -.userinfobox .list .label {font-weight:bold;text-align:right; -} - -/** Forum **/ - -.forumheaderlist, -.forumpost { - margin-top: 15px; - border: 1px solid #DDD; - border-collapse: separate; -} -.forumpost, -.forumpost .left.picture { - background-color: #EEE; -} -.forumpost .row .left { - float: left; - overflow: hidden; - width: 43px; -} -.forumpost .row.header { - background-color: transparent; - height: 39px; -} -.forumpost .topic.firstpost.starter { - background-color: #C8C9C7; -} -.forumpost .topic .subject, -.forumpost .topic .author { - padding-left: 10px; -} -.forumpost .content, -.forumpost .options { - background-color: white; - padding-top: 10px; -} -.forumpost .content .shortenedpost a { - margin: 0 10px; - padding: 0; -} -.forumpost .options .commands, -.forumpost .content .attachments, -.forumpost .options .footer, -.forumpost .options .link { - float: right; -} -.forumpost .options .commands, -.forumpost .options .link { - padding-right: 10px; -} -.forumpost .content .shortenedpost a, -.forumpost .content .post-word-count, -.forumpost .commands, -.forumpost .topic .author, -.forumpost .options .link { - font-size: 85%; - line-height: 1.6; -} -.forumpost .row .left { - clear: left; -} -.forumpost .posting.shortenedpost {margin-left: 10px;} - -#page-mod-forum-discuss #page-header { /* fixes broken header in forum discuss */ - margin-top: 10px; -} -/** Calendar **/ -.block.block_calendar_month td, -.block.block_calendar_month th { - border-width: 0; - font-size: 10px; - padding: 1px; - width: 14%; - line-height: 18px; -} -#calendar abbr, -.block.block_calendar_month abbr { - border-bottom-width: 0; -} -#calendar .weekend, -.block.block_calendar_month .weekend { - color: #A00; -} -#calendar .maincalendar .calendarmonth td.today, -.block.block_calendar_month .today { - border: 1px solid #444; -} -#calendar .eventnone a, -.block.block_calendar_month .eventnone a { - color:#444; -} -#calendar { - width: 98%; - margin: 0 1%; - border-spacing: 5px; - border-collapse: separate; -} -#calendar td, -#calendar th { - border-width: 0; - font-size: 10px; - padding: 1px; - width: 14%; - line-height: 18px; - vertical-align: top; -} -#calendar .maincalendar { - width: auto; - border: 1px solid #DDD; -} -#calendar .maincalendar .heightcontainer { - height: 100%; - position: relative; - margin: 1em; -} -#calendar .maincalendar .header { - padding: 5px; - font-weight: bold; -} -#calendar .maincalendar .header .buttons { - float: right; -} -#calendar .maincalendar table { - width: 100%; -} -#calendar .maincalendar .calendar-controls { - width: 100%; - overflow: hidden; - font-size: 1.1em; -} -#calendar .maincalendar .calendar-controls .previous { - display: block; - float: left; - width: 20%; -} -#calendar .maincalendar .calendar-controls .current { - display: block; - float: left; - width: 60%; - text-align: center; - margin-top: 0; -} -#calendar .maincalendar .calendar-controls .next { - display: block; - float: left; - width: 20%; - text-align: right; -} -#calendar .sidecalendar { - width: 200px; -} -#calendar .sidecalendar h2, -#calendar .sidecalendar h3 { - margin: 5px; - font-size: 95%; -} -#calendar .sidecalendar .block { - border: 1px solid #DDD; - margin-bottom: 10px; - text-align: center; -} -#calendar .sidecalendar .block table { - margin: 0 auto 5px; -} -#calendar .sidecalendar .block .filters table { - width: 95%; - margin: 0 auto 1em; -} -#calendar .sidecalendar .block .minicalendarblock { - border-top: 1px solid #DDD; -} -#calendar .filters table { - padding: 2px; - background-color: #EEE; - border: 1px solid #DDD; - border-spacing: 2px; - border-collapse: separate; -} -#calendar .filters table td { - font-size: 100%; - width: auto; -} - -#calendar .filters .eventskey { - border: 1px solid #444; - overflow: hidden; -} -#calendar .calendar_event_global { - background-color: #D6F8CD; -} -#calendar .calendar_event_course { - background-color: #FFD3BD; -} -#calendar .calendar_event_group { - background-color: #FEE7AE; -} -#calendar .calendar_event_user { - background-color: #DCE7EC; -} -#calendar .maincalendar .calendarmonth { - border-collapse: separate; -} -#calendar .maincalendar .calendarmonth th { - font-size: 0.9em; - border-bottom: 2px solid #444; -} -#calendar .maincalendar .calendarmonth td { - border: 1px solid #EEE; - border-bottom-color: #CCC; - border-right-color: #CCC; - height: 6em; -} -#calendar .maincalendar .calendarmonth td div {margin:4px;font-size:0.9em; -} - -#calendar .maincalendar .calendarmonth td .day {font-weight:bold; -} -#calendar .maincalendar .calendarmonth tr td:first-child { - border-left-color: #CCC; -} -#calendar .maincalendar .event { - border-spacing: 0; - border: 1px solid #DDD; - background-color: #EEE; -} -#calendar .maincalendar .event .picture { - width: 32px; - text-align: center; -} -#calendar .maincalendar .event .topic { - width: auto; - padding: 5px; -} -#calendar .maincalendar .event .side { - width: 32px; -} -#calendar .maincalendar .event .description { - width: auto; - border-top: 1px solid #DDD; - border-left:1px solid #DDD; - padding: 5px; -} -#calendar .maincalendar .bottom { - text-align: center; -} -#calendar .calendarmonth ul { - margin: 0; - padding: 0; -} -#calendar .calendarmonth ul li { - list-style: none; - margin: 0; - padding: 2px; -} -/** User **/ - -.user .rolesform, -.user .searchform, -.user #showall, -.user #participantsform { - text-align:center; -} -.user #participantsform table { - margin-top:1em; -} -.user #participantsform td {text-align:left; -} -.user table.controls { - margin: 5px auto; - border: 1px solid #DDD; - background-color: #EEE; - border-collapse: collapse; -} -.user table.controls td { - border-width:0px; -} -/** Overide for RTL layout **/ - -.dir-rtl #page-header .navbar .breadcrumb { - float:right; -} -.dir-rtl #page-header .navbar .navbutton { - float:left; -} - -/* Add Block --------------------------*/ -.block .content .singleselect form#add_block .select.menubui_addblock { - width: 160px; -} - -/* Admin settings --------------------------*/ -#adminsettings .form-buttons { - margin: 0; - text-align: center; -} diff --git a/theme/anomaly/style/menu.css b/theme/anomaly/style/menu.css deleted file mode 100644 index 58b137996879a..0000000000000 --- a/theme/anomaly/style/menu.css +++ /dev/null @@ -1,225 +0,0 @@ -/* Custom menu, in LTR mode ---------------------------*/ -#custommenu { - width: 100%; - margin: 0; - padding: 0; - clear: both; - height: 30px; - background: #333; - margin:0; -} -#custommenu ul li { - border-right: 1px solid #444; - border-left: 1px solid #555 -} -/* -Dropdown Menu - CSS from DeCaf Theme by Lei Zhang --------------------------------------------------*/ -ul.dropdown span.customitem { - padding: 0; - border: 0; - width: 100%; -} -ul.dropdown span.customitem { - padding: 0; - width: 100%; -} -ul.dropdown li a, -ul.dropdown span.customitem a { - padding: 6px 20px; -} -ul.dropdown span.customitem a:hover { - border: 0; -} -#custommenu ul.dropdown ul { - padding:0; - width: auto; -} -#custommenu ul.dropdown ul a { - padding: 4px 18px; -} -#custommenu ul.dropdown > li span a { - height: 16px; -} -ul.dropdown, -ul.dropdown li, -ul.dropdown ul { - list-style: none; - margin: 0; - padding: 0; -} -ul.dropdown { - position:relative; - top: 0; - z-index: 597; - float:left; - font-size: 13px; -} -ul.dropdown li { - float: left; - line-height: 1.3em; - vertical-align: middle; - background-color: transparent; - color: #FFF; - zoom: 1; -} -ul.dropdown li.hover, -ul.dropdown li:hover { - position: relative; - z-index: 599; - cursor: default; -} -ul.dropdown ul { - visibility: hidden; - position: absolute; - top: 100%; - z-index: 598; - left: 0; - right: auto; - margin-top: -1px; /** this setting is important do not change **/ - font-size: 100%; -} -ul.dropdown ul li { - float:none; - background-color: #3A4D28; - border-width: 1px; - border-style: solid; - border-color: #3A4D28 #697F55 #5A6D49; /** menu item border **/ - padding: 0; -} -ul.dropdown ul ul { - top: 0; - right: auto; - left: 100%; - margin-top: 0; - border-top: none; - border-left: none; - font-weight: 400; -} -ul.dropdown li:hover > ul { - visibility: visible; -} -ul.dropdown span, -ul.dropdown span a, -ul.dropdown li.clickable-with-children > a { - width: auto; - padding: 2px 6px 4px 20px; - color: #FFF; -} -ul.dropdown ul span, -ul.dropdown ul span a, -ul.dropdown ul li.clickable-with-children > a { - background-color: #3A4D28; - background-image: url([[pix:theme|menu/nav-arrow-right]]); - background-position: 100% 50%; - background-repeat: no-repeat; - color: #FFF; -} -ul.dropdown ul ul span, -ul.dropdown ul ul span a, -ul.dropdown ul ul li.clickable-with-children > a { - background-color: #3A4D28; - background-image: url([[pix:theme|menu/nav-arrow-right]]); - background-position: 100% 50%; - background-repeat: no-repeat; - color: #FFF; -} -ul.dropdown a:link, -ul.dropdown a:visited { - color: white; - text-decoration: none; -} -ul.dropdown a:hover { - border: 0 none; - background-color: #697F55; - color: #FFF; -} -ul.dropdown ul ul li { - background-color: #3A4D28; -} -ul.dropdown ul ul ul li { - background-color: #3A4D28; -} -ul.dropdown li a, -ul.dropdown span, -ul.dropdown span a { - border: 0 none; -} -ul.dropdown ul li a, -ul.dropdown ul span, -ul.dropdown ul span a { - border: 0; -} -ul.dropdown ul ul li a, -ul.dropdown ul ul span, -ul.dropdown ul ul span a { - border: 0 none; -} -ul.dropdown ul ul ul li a, -ul.dropdown ul ul ul span, -ul.dropdown ul ul ul span a { - border: 0 none; -} -ul.dropdown a, -ul.dropdown span { - display: block; -} -ul.dropdown ul a { - width: 166px; - padding: 2px 0 4px 5px; -} -ul.dropdown ul a.open:hover { - background-color: #697F55; - color: #FFF; -} -ul.dropdown ul li:hover > span, -ul.dropdown ul li:hover > span a { - background-color: #697F55; - background-image:url([[pix:theme|menu/nav-arrowover-right]]); - color: #FFF; -} -ul.dropdown li.clickable-with-children:hover > a { - background-image:url([[pix:theme|menu/nav-arrowover-right]]); -} -ul.dropdown *.open, -ul.dropdown li:hover > span, -ul.dropdown li:hover > span a { - background-color: #697F55; - color: #FFF; -} -ul.dropdown ul ul *.open, -ul.dropdown ul ul li:hover > span, -ul.dropdown ul ul li:hover > span a { - background-color: #697F55; - background-image: url([[pix:theme|menu/nav-arrowover-right]]); - color: #FFF; -} - -/* Custom menu, in RTL mode ----------------------------*/ -.dir-rtl #custommenu ul.dropdown { - float: right; -} -.dir-rtl #custommenu ul.dropdown ul{ - right: 0; - left: auto; -} -.dir-rtl #custommenu ul.dropdown ul ul { - right: 203px; - left: auto; -} -.dir-rtl #custommenu ul.dropdown ul span, -.dir-rtl #custommenu ul.dropdown ul span a, -.dir-rtl #custommenu ul.dropdown ul li.clickable-with-children > a { - background-image: url([[pix:theme|menu/nav-arrow-left]]); - background-position: 0 50%; - background-repeat: no-repeat; -} -.dir-rtl #custommenu ul.dropdown ul li:hover > span, -.dir-rtl #custommenu ul.dropdown ul li:hover > span a { - background-image: url([[pix:theme|menu/nav-arrowover-left]]); -} -.dir-rtl #custommenu ul.dropdown li.clickable-with-children:hover > a { - background-image: url([[pix:theme|menu/nav-arrowover-left]]); -} diff --git a/theme/anomaly/style/settings.css b/theme/anomaly/style/settings.css deleted file mode 100644 index 82955ebd2218c..0000000000000 --- a/theme/anomaly/style/settings.css +++ /dev/null @@ -1,3 +0,0 @@ -/* Custom CSS Settings --------------------------*/ -[[setting:customcss]] \ No newline at end of file diff --git a/theme/anomaly/version.php b/theme/anomaly/version.php deleted file mode 100644 index 3458188f113ea..0000000000000 --- a/theme/anomaly/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_anomaly - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_anomaly'; // Full name of the plugin (used for diagnostics). -$plugin->dependencies = array( - 'theme_base' => 2013110500, -); diff --git a/theme/arialist/config.php b/theme/arialist/config.php deleted file mode 100644 index 70f9e1c481160..0000000000000 --- a/theme/arialist/config.php +++ /dev/null @@ -1,258 +0,0 @@ -. - -/** - * Configuration for Moodle's arialist theme. - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_arialist - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'arialist'; - -//////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -//////////////////////////////////////////////////// - - -$THEME->parents = array( - 'canvas', - 'base', -); - -///////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -//////////////////////////////////////////////////// - - -$THEME->sheets = array( - 'pagelayout', - 'core', - 'settings', -); - -//////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -//////////////////////////////////////////////////// - -$THEME->parents_exclude_sheets = array( - 'base'=>array( - 'pagelayout', - ), - 'canvas'=>array( - 'pagelayout', - ), -); - - -$THEME->enable_dock = true; - -//////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -//////////////////////////////////////////////////// - - -// $THEME->editor_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets to include within the -// body of the editor. -//////////////////////////////////////////////////// - -$THEME->layouts = array( - 'base' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post' - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - 'embedded' => array( - 'theme' => 'canvas', - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>false, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - 'report' => array( - 'file' => 'report.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), -); - -/////////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. -/////////////////////////////////////////////////////////////// - -$THEME->csspostprocess = 'arialist_process_css'; -//////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -//////////////////////////////////////////////////// - -//////////////////////////////////////////////////// -// Used to control the colours used in the small -// media player for the filters -//////////////////////////////////////////////////// - -// $THEME->javascripts - -//////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -//////////////////////////////////////////////////// - -// $THEME->javascripts_footer - -//////////////////////////////////////////////////// -// As above but will be included in the page footer. -//////////////////////////////////////////////////// - -$THEME->larrow = '⟨'; - -//////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -//////////////////////////////////////////////////// - -$THEME->rarrow = '⟩'; - -//////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// - -// $THEME->layouts - -//////////////////////////////////////////////////// -// An array setting the layouts for the theme -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_javascripts - -//////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -//////////////////////////////////////////////////// - -// $THEME->plugins_exclude_sheets - -//////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -//////////////////////////////////////////////////// - -// $THEME->rendererfactory - -//////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -//////////////////////////////////////////////////// - -$THEME->editor_sheets = array('editor'); \ No newline at end of file diff --git a/theme/arialist/lang/en/theme_arialist.php b/theme/arialist/lang/en/theme_arialist.php deleted file mode 100644 index aadc96f017d37..0000000000000 --- a/theme/arialist/lang/en/theme_arialist.php +++ /dev/null @@ -1,74 +0,0 @@ -. - -/** - * Strings for component 'theme_arialist', language 'en'. - * - * @package theme_arialist - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Arialist'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = ' -
-
- -

Arialist

- - -

Theme Discussion Forum:

-

http://moodle.org/mod/forum/view.php?id=46

- -

Theme Credits

-

http://docs.moodle.org/en/Theme_credits

- -

Theme Documentation:

-

http://docs.moodle.org/en/Themes

- -

Report a bug:

-

http://tracker.moodle.org

-
- -
- -

About

-

Arialist is a very clean and simple two-column, fluid-width theme for Moodle 2.0.

- -

Tweaks

-

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it, then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

- -

Credits

-

This theme was coded and is maintained by Patrick Malley of NewSchool Learning. He can be contacted by email at contact@newschoollearning.com.

- -

License

-

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License. -

-
'; - -$string['linkcolor'] = 'Link colour'; -$string['linkcolordesc'] = 'This sets the link colour for the theme.'; -$string['configtitle'] = 'Arialist settings'; -$string['customcss'] = 'Custom CSS'; -$string['customcssdesc'] = 'Any CSS you enter here will be added to every page allowing your to easily customise this theme.'; -$string['tagline'] = 'Tagline'; -$string['taglinedesc'] = 'A short tagline to be displayed under the site name on the front page.
(Will not be displayed with logo.)'; -$string['logo'] = 'Logo'; -$string['logodesc'] = 'Enter the URL to an image to use as the logo for this site. Should be http://www.yoursite.com/path/to/logo.png'; -$string['regionwidth'] = 'Column width'; -$string['regionwidthdesc'] = 'This sets the width of the two block regions that form the left and right columns.'; diff --git a/theme/arialist/layout/frontpage.php b/theme/arialist/layout/frontpage.php deleted file mode 100644 index 60f034753bbd1..0000000000000 --- a/theme/arialist/layout/frontpage.php +++ /dev/null @@ -1,146 +0,0 @@ -. - -/** - * The frontpage layout for the Arialist theme. - * - * @package theme_arialist - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepost) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has-custom-menu'; -} - -if (!empty($PAGE->theme->settings->tagline)) { - $tagline = '

'.$PAGE->theme->settings->tagline.'

'; -} else { - $tagline = ''; -} -if (!empty($PAGE->theme->settings->logo)) { - $logourl = $PAGE->theme->settings->logo; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - - -
- - -
- -
- - - - - - - - - -
-
-
-
- -
-
-
- main_content() ?> -
-
-
- - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- - - -
- - - - - - -
- -standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/arialist/layout/general.php b/theme/arialist/layout/general.php deleted file mode 100644 index fc32ff9b9d3cb..0000000000000 --- a/theme/arialist/layout/general.php +++ /dev/null @@ -1,165 +0,0 @@ -. - -/** - * The default layout for the Arialist theme. - * - * @package theme_arialist - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepost) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has-custom-menu'; -} - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - - -
- - -
- - -
- - - - - -
- - - - - - - - - - - - -
-
-
-
- -
-
-
- - main_content() ?> - -
-
-
- - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- - - - - - - - -
- - - - - - - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/arialist/layout/report.php b/theme/arialist/layout/report.php deleted file mode 100644 index e475c9cd6b943..0000000000000 --- a/theme/arialist/layout/report.php +++ /dev/null @@ -1,158 +0,0 @@ -. - -/** - * The report layout for the Arialist theme. - * - * @package theme_arialist - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepost) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has-custom-menu'; -} - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - - -
- - -
- - -
- - - - - -
- - - - - - - - - - - - -
-
-
-
- - main_content() ?> - -
-
- -
-
-
- blocks_for_region('side-post') ?> -
-
-
- -
-
- - - - - - - - -
- - - - - - - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/arialist/lib.php b/theme/arialist/lib.php deleted file mode 100644 index 173da18511aaf..0000000000000 --- a/theme/arialist/lib.php +++ /dev/null @@ -1,114 +0,0 @@ -. - -/** - * This file contains functions specific to the Arialist theme. - * - * @package theme_arialist - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * Makes our changes to the CSS - * - * @param string $css - * @param theme_config $theme - * @return string - */ -function arialist_process_css($css, $theme) { - - // Set the link color - if (!empty($theme->settings->linkcolor)) { - $linkcolor = $theme->settings->linkcolor; - } else { - $linkcolor = null; - } - $css = arialist_set_linkcolor($css, $linkcolor); - - // Set the region width - if (!empty($theme->settings->regionwidth)) { - $regionwidth = $theme->settings->regionwidth; - } else { - $regionwidth = null; - } - $css = arialist_set_regionwidth($css, $regionwidth); - - // Set the custom CSS - if (!empty($theme->settings->customcss)) { - $customcss = $theme->settings->customcss; - } else { - $customcss = null; - } - $css = arialist_set_customcss($css, $customcss); - - // Return the CSS - return $css; -} - -/** - * Sets the background colour variable in CSS - * - * @param string $css - * @param mixed $backgroundcolor - * @return string - */ -function arialist_set_linkcolor($css, $linkcolor) { - $tag = '[[setting:linkcolor]]'; - $replacement = $linkcolor; - if (is_null($replacement)) { - $replacement = '#f25f0f'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the region width variable in CSS - * - * @param string $css - * @param mixed $regionwidth - * @return string - */ - -function arialist_set_regionwidth($css, $regionwidth) { - $tag = '[[setting:regionwidth]]'; - $doubletag = '[[setting:regionwidthdouble]]'; - $replacement = $regionwidth; - if (is_null($replacement)) { - $replacement = 250; - } - $css = str_replace($tag, $replacement.'px', $css); - $css = str_replace($doubletag, ($replacement*2).'px', $css); - return $css; -} - -/** - * Sets the custom css variable in CSS - * - * @param string $css - * @param mixed $customcss - * @return string - */ -function arialist_set_customcss($css, $customcss) { - $tag = '[[setting:customcss]]'; - $replacement = $customcss; - if (is_null($replacement)) { - $replacement = ''; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} \ No newline at end of file diff --git a/theme/arialist/pix/favicon.ico b/theme/arialist/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/arialist/pix/favicon.ico and /dev/null differ diff --git a/theme/arialist/pix/screenshot.png b/theme/arialist/pix/screenshot.png deleted file mode 100644 index 6f852c10f7f66..0000000000000 Binary files a/theme/arialist/pix/screenshot.png and /dev/null differ diff --git a/theme/arialist/settings.php b/theme/arialist/settings.php deleted file mode 100644 index cefb79a46f273..0000000000000 --- a/theme/arialist/settings.php +++ /dev/null @@ -1,71 +0,0 @@ -. - -/** - * Settings for the Arialist theme - * - * @package theme_arialist - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -if ($ADMIN->fulltree) { - // Logo file setting - $name = 'theme_arialist/logo'; - $title = get_string('logo','theme_arialist'); - $description = get_string('logodesc', 'theme_arialist'); - $setting = new admin_setting_configtext($name, $title, $description, '', PARAM_URL); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Tagline setting - $name = 'theme_arialist/tagline'; - $title = get_string('tagline','theme_arialist'); - $description = get_string('taglinedesc', 'theme_arialist'); - $setting = new admin_setting_configtext($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Link colour setting - $name = 'theme_arialist/linkcolor'; - $title = get_string('linkcolor','theme_arialist'); - $description = get_string('linkcolordesc', 'theme_arialist'); - $default = '#f25f0f'; - $previewconfig = array('selector'=>'.block .content', 'style'=>'linkcolor'); - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Block region width - $name = 'theme_arialist/regionwidth'; - $title = get_string('regionwidth','theme_arialist'); - $description = get_string('regionwidthdesc', 'theme_arialist'); - $default = 250; - $choices = array(180=>'180px', 190=>'190px', 200=>'200px', 210=>'210px', 220=>'220px', 240=>'240px', 250=>'250px'); - $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Custom CSS file - $name = 'theme_arialist/customcss'; - $title = get_string('customcss','theme_arialist'); - $description = get_string('customcssdesc', 'theme_arialist'); - $setting = new admin_setting_configtextarea($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); -} \ No newline at end of file diff --git a/theme/arialist/style/core.css b/theme/arialist/style/core.css deleted file mode 100644 index 4a762bb4ab749..0000000000000 --- a/theme/arialist/style/core.css +++ /dev/null @@ -1,323 +0,0 @@ -/* Global ----------------------------*/ - -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: arial, verdana, sans-serif; - line-height: 1.5; - color: #333; -} - -a:hover { - color: #333; -} - -#wrapper { - padding:0 100px; - border-top:15px solid #eee; -} - -h2,h3,h4,h5,h6 { - color: #999; - font-weight: normal; -} - -h2.helpheading { - color: #333; - font-weight: bold; -} - -blockquote { - border-left:1px solid #eee; - padding-left:15px; - color:#666; -} - -fieldset#general { - border-color: #eee; -} - -fieldset#general legend { - color: #555; - font-weight: normal; - font-size: 1.2em; - border: 1px solid #eee; - padding: 2px 5px; - background: #fff; -} - -/* Header -----------------------------*/ - -#page-header { - padding: 50px 0 25px; -} - -#page-site-index #page-header { - padding-bottom: 10px; -} - -#header-left { - float: left; -} - -.headermain, -.headermenu { - margin: 0; -} - -#page-header h1 { - float: none; - font-size: 2.25em; - line-height: 1; -} - -#page-header h1.inside { - color: #666; - font-size: 2em; -} - -#page-header p { - color:#999; -} - -/* Navbar -----------------------------*/ - -.navbar { - background: #f1f1f1; - padding: 5px 10px; - border: 1px solid #ddd; -} - -.breadcrumb .sep { - padding-left: 5px; -} - -/* Blocks -----------------------------*/ - -.block { - border: none; -} - -.block .header h2 { - color:#999; - font-size: 1.25em; - border-bottom:1px solid #eee; - padding-bottom:5px; -} - -/* Courses -----------------------------*/ -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2 { - font-weight: normal; - color:#999; - font-size: 1.5em; - border-bottom:1px solid #eee; - padding-bottom:2px; -} - -.coursebox { - border-color: #eee; -} - -.coursebox .content .teachers, -.coursebox .content .courseimage, -.coursebox .content .coursefile, -.coursebox.remotecoursebox .remotecourseinfo { - width: 35%; -} -.coursebox .content .summary, -.coursebox .content .coursecat { - width: 60%; -} - -.coursebox .content .teachers { - font-size: 0.9em; - color: #888; -} - -.course-content .section.main { - border-bottom: 1px solid #eee; -} - -.course-content .section.main .content { - padding: 5px 5px 10px; -} - -.course-content .weeks .section.main .content { - margin-left: 0; -} - -.course-content .weeks .section.main .left { - display: none; -} - -.course-content .section.main.current { - background:#fffcdc; -} - -.course-content .weeks .section.main h3.weekdates { - color: #999; -} - -.course-content .current .left, -.course-content .current h3.weekdates { - color: #f25f0f !important; -} -/* Forum ---------------------------*/ - -.forumpost .topic { - background: #eee; - border-width: 0; - padding: 4px 10px 4px; -} - -.forumpost .subject { - font-size: 1.25em; -} - -.forumpost .author { - font-size: 0.9em; - font-style: italic; -} - -.forumpost .no-overflow { - border-width: 0 1px 10px; - border-style: solid; - border-color: #aaa #eee #eee; - margin: 0 1px 1px 1px; -} - -.forumpost .content .posting { - padding: 5px 10px 10px; -} - -/* Blogs */ - -.blog_entry .content {margin-left: 43px;} - -/* Dock */ - -#dock { - background: #eee; - border: none; -} - -#dock .firstdockitem { - margin-top: 15px; -} - -#dock .dockeditem { - background-color: #fff; - border: 1px solid #eee; - border-width: 0 1px 1px 0; - padding: 3px 0; -} - -#dock .dockeditem .dockedtitle { - border: none; -} - -#dock .dockeditem .dockedtitle h2 { - margin: 12px 0 12px 7px; - color: #666; -} - -#dockeditempanel .dockeditempanel_content { - border-color: #eee; -} - -#dockeditempanel .dockeditempanel_hd { - border-bottom: none; - padding: 3px 5px; - background: #eee; - text-align: left; -} - -#dockeditempanel .dockeditempanel_hd h2 { - color: #333; - text-align: right; - font-weight: normal; - font-size: 0.8em; - padding: 0 2px; -} - -#dockeditempanel .dockeditempanel_hd .commands { - float: right; -} - -.has-custom-menu #dock .firstdockitem { - margin-top:30px; -} - -.has-custom-menu #wrapper, -#custommenu .yui3-menu-horizontal .yui3-menu-content, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content, -#custommenu .yui3-menu-horizontal .yui3-menu-content ul, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content ul, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content li li:hover > a, -#custommenu .yui3-menu-horizontal .yui3-menu-label, -#custommenu .yui3-menuitem, -#custommenu .yui3-menuitem .yui3-menuitem-content { - border-width: 0; -} - -#custommenu { - padding-left:100px; - border-bottom:1px solid #DDD; - background-color:#EEE; -} - -#custommenu .yui3-menu-content { - background-color: transparent; -} - -#custommenu .yui3-menu .yui3-menu-label, -#custommenu .yui3-menu .yui3-menuitem-content { - color:#F25F0F; - line-height:24px; - padding: 5px 10px; -} - -#custommenu .custom_menu_submenu .yui3-menu-label, -#custommenu .custom_menu_submenu .yui3-menuitem-content { - padding: 5px 20px; -} - -#custommenu .custom_menu_submenu .yui3-menu-content, -#custommenu .yui3-menu-label-active, -#custommenu .yui3-menu-label-menuvisible { - background-color: #f9f9f9; -} - -#custommenu .custom_menu_submenu .yui3-menu-label-active, -#custommenu .custom_menu_submenu .yui3-menu-label-menuvisible, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content { - background-color: #fefefe; -} - -#custommenu .custom_menu_submenu .yui3-menu-content { - border-left:1px solid #DDD; - border-right:1px solid #DDD; - border-bottom:1px solid #DDD; -} -#custommenu .custom_menu_submenu .custom_menu_submenu .yui3-menu-content { - border-top:1px solid #DDD; -} - -/* Moodle forms -----------------*/ - -.mform .btn-cancel { - color: #F25F0F; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #333333; - text-decoration: none; -} diff --git a/theme/arialist/style/editor.css b/theme/arialist/style/editor.css deleted file mode 100644 index 6a1394aa91c14..0000000000000 --- a/theme/arialist/style/editor.css +++ /dev/null @@ -1,10 +0,0 @@ -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: arial, verdana, sans-serif; - line-height: 1.5; - color: #333; -} - -h2,h3,h4,h5,h6 { - color: #999; - font-weight: normal; -} \ No newline at end of file diff --git a/theme/arialist/style/pagelayout.css b/theme/arialist/style/pagelayout.css deleted file mode 100644 index 719a569c747db..0000000000000 --- a/theme/arialist/style/pagelayout.css +++ /dev/null @@ -1,118 +0,0 @@ -/********************************************************************************************* - - left column: 250px - right column: 250px - padding left/right column: 10px - padding center column: 30px - -**********************************************************************************************/ - -body { - margin: auto 0px; - width: auto; -} - -#page { - width: 100%; - overflow: hidden; -} - -#page-header { - float: left; - width: 100%; -} - -#page-content { - clear: both; - float: left; - overflow: hidden; - position: relative; - width: 100%; -} - -#page-content #region-main-box { - float: left; - margin-left: 0; - position: relative; - width: 200%; - right: 100%; -} - -#page-content #region-post-box { - float: left; - width: 100%; -} - -#page-content #region-main-wrap { - float: left; - width: 50%; -} - -#page-content #region-main { - overflow: hidden; - position: relative; - left: 100%; -} - -#page-content #region-post { - float: right; - position: relative; -} - -#page-content #region-main .region-content { - overflow: hidden; - padding: 20px 30px 20px 0; -} - -#page-content #region-post .region-content { - padding: 20px 0 20px 10px; -} - -#page-footer { - clear: both; - float: left; - width: 100%; -} - -.has_dock.side-post-only .page-middle #region-main { - margin-left: 200px; -} - -/** No blocks whatsoever **/ -.content-only #page-content #region-main-box, -.content-only #page-content #region-main-box #region-post-box, -.content-only #page-content #region-main-box #region-main-wrap #region-main { - margin-left: 0px; -} - -.content-only #page-content #region-main-box #region-post-box #region-pre, -.content-only #page-content #region-main-box #region-post-box #region-post { - width: 0px; -} - -/** Report layout **/ -.pagelayout-report #page {width:auto;position:relative;overflow:visible;} -.pagelayout-report #page-header {float:none;} -.pagelayout-report #page-content {float:none;overflow:visible;width:auto;} -.pagelayout-report #report-main-content {float:left;width:100%;} -.pagelayout-report #report-main-content .region-content {margin-left:210px;margin-top:20px;} -.pagelayout-report #report-main-content .region-content table {background-color:#FFF;} -.pagelayout-report #report-region-wrap {width:0;float:right;position:relative;left:-100%;} -.pagelayout-report #report-region-pre {width:200px;margin-top:20px;} -.pagelayout-report #page-footer {float:none;} -.pagelayout-report #page-content .region-content {overflow:visible;} -.pagelayout-report.content-only #report-main-content .region-content {margin-left:0;} - -/** Correct for right to left languages **/ -.dir-rtl.pagelayout-report #report-main-content .region-content {margin-left:0;margin-right:200px;} -.dir-rtl.pagelayout-report #report-region-wrap {left:0;} - -/** Stabalise IE6 behaviour on the report layout **/ -.ie6.pagelayout-report #report-main-content, -.ie7.pagelayout-report #report-main-content {float:none;width:auto;} -.ie6.pagelayout-report #report-region-wrap, -.ie7.pagelayout-report #report-region-wrap {float:none;width:200px;left:auto;position:absolute;top:0;} -.ie6.pagelayout-report #report-region-pre, -.ie6.pagelayout-report #report-region-pre .block -.ie7.pagelayout-report #report-region-pre, -.ie7.pagelayout-report #report-region-pre .block {width:100%;} \ No newline at end of file diff --git a/theme/arialist/style/settings.css b/theme/arialist/style/settings.css deleted file mode 100644 index 3ae2b02c712fa..0000000000000 --- a/theme/arialist/style/settings.css +++ /dev/null @@ -1,18 +0,0 @@ -a { - color:[[setting:linkcolor]]; -} - -.side-post-only #page-content #region-main-box #region-post-box { - margin-left: -[[setting:regionwidth]]; -} - -.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: [[setting:regionwidth]]; -} - -.side-post-only #page-content #region-main-box #region-post-box #region-post { - left: [[setting:regionwidth]]; - width: [[setting:regionwidth]]; -} -/** Custom CSS **/ -[[setting:customcss]] \ No newline at end of file diff --git a/theme/arialist/version.php b/theme/arialist/version.php deleted file mode 100644 index bb106b21130b0..0000000000000 --- a/theme/arialist/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_arialist - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_arialist'; // Full name of the plugin (used for diagnostics) -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/binarius/config.php b/theme/binarius/config.php deleted file mode 100644 index 99e8d19971677..0000000000000 --- a/theme/binarius/config.php +++ /dev/null @@ -1,253 +0,0 @@ -. - -/** - * Configuration for Moodle's Binarius theme. - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_binarius - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'binarius'; - -//////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -//////////////////////////////////////////////////// - - -$THEME->parents = array( - 'canvas', - 'base', -); - -///////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -//////////////////////////////////////////////////// - - -$THEME->sheets = array( - 'core', - 'pagelayout', -); - -//////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -//////////////////////////////////////////////////// - -$THEME->parents_exclude_sheets = array( - 'base'=>array( - 'pagelayout', - ), - 'canvas'=>array( - 'pagelayout', - ), -); - - -$THEME->enable_dock = true; - -//////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -//////////////////////////////////////////////////// - - -// $THEME->editor_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets to include within the -// body of the editor. -//////////////////////////////////////////////////// - -$THEME->layouts = array( - 'base' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post' - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - 'embedded' => array( - 'theme' => 'canvas', - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>false, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - 'report' => array( - 'file' => 'report.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), -); - -/////////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. -/////////////////////////////////////////////////////////////// - -// $THEME->csspostprocess - -//////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -//////////////////////////////////////////////////// - -// $THEME->javascripts - -//////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -//////////////////////////////////////////////////// - -// $THEME->javascripts_footer - -//////////////////////////////////////////////////// -// As above but will be included in the page footer. -//////////////////////////////////////////////////// - -//$THEME->larrow = '⟨'; - -//////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -//////////////////////////////////////////////////// - -//$THEME->rarrow = '⟩'; - -//////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// - -// $THEME->layouts - -//////////////////////////////////////////////////// -// An array setting the layouts for the theme -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_javascripts - -//////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -//////////////////////////////////////////////////// - -// $THEME->plugins_exclude_sheets - -//////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -//////////////////////////////////////////////////// - -// $THEME->rendererfactory - -//////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -//////////////////////////////////////////////////// - -$THEME->editor_sheets = array('editor'); \ No newline at end of file diff --git a/theme/binarius/lang/en/theme_binarius.php b/theme/binarius/lang/en/theme_binarius.php deleted file mode 100644 index a2d5573540cf6..0000000000000 --- a/theme/binarius/lang/en/theme_binarius.php +++ /dev/null @@ -1,28 +0,0 @@ -. - -/** - * Strings for component 'theme_binarius', language 'en'. - * - * @package theme_binarius - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Binarius'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = '

Binarius

Theme Discussion Forum:

http://moodle.org/mod/forum/view.php?id=46

Theme Credits

http://docs.moodle.org/en/Theme_credits

Theme Documentation:

http://docs.moodle.org/en/Themes

Report a bug:

http://tracker.moodle.org

About

Binarius is a two-column, fluid-width theme for Moodle 2.0.

Tweaks

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it, then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

Credits

This theme was coded and is maintained by Patrick Malley of NewSchool Learning. He can be contacted by email at contact@newschoollearning.com.

License

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.

'; \ No newline at end of file diff --git a/theme/binarius/layout/frontpage.php b/theme/binarius/layout/frontpage.php deleted file mode 100644 index a95f856d49600..0000000000000 --- a/theme/binarius/layout/frontpage.php +++ /dev/null @@ -1,133 +0,0 @@ -. - -/** - * The frontpage layout for the Binarius theme. - * - * @package theme_binarius - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepost) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost) { - $bodyclasses[] = 'content-only'; -} - -if ($hascustommenu) { - $bodyclasses[] = 'has-custom-menu'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- -
- - - - - - - - - -
-
-
-
- -
-
-
- main_content() ?> -
-
-
- - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- -
- - - -
-
- - - - - - -
- -standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/binarius/layout/general.php b/theme/binarius/layout/general.php deleted file mode 100644 index 497f100629dc1..0000000000000 --- a/theme/binarius/layout/general.php +++ /dev/null @@ -1,165 +0,0 @@ -. - -/** - * The default layout for the Binarius theme. - * - * @package theme_binarius - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepost) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost) { - $bodyclasses[] = 'content-only'; -} - -if ($hascustommenu) { - $bodyclasses[] = 'has-custom-menu'; -} - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- - -
- - - - - -
- - - - - - - - - - - - -
-
-
-
- -
-
-
- - main_content() ?> - -
-
-
- - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- - - - - - - - -
-
- - - - - - - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/binarius/layout/report.php b/theme/binarius/layout/report.php deleted file mode 100644 index 72c0cab3a4a4e..0000000000000 --- a/theme/binarius/layout/report.php +++ /dev/null @@ -1,159 +0,0 @@ -. - -/** - * The report layout for the Binarius theme. - * - * @package theme_binarius - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepost) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost) { - $bodyclasses[] = 'content-only'; -} - -if ($hascustommenu) { - $bodyclasses[] = 'has-custom-menu'; -} - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- - -
- - - - - -
- - - - - - - - - - - - - -
-
-
-
- - main_content() ?> - -
-
- -
-
-
- blocks_for_region('side-post') ?> -
-
-
- -
-
- - - - - - - - -
-
- - - - - - - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/binarius/pix/favicon.ico b/theme/binarius/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/binarius/pix/favicon.ico and /dev/null differ diff --git a/theme/binarius/pix/header.png b/theme/binarius/pix/header.png deleted file mode 100644 index 0acbbd3acfdb3..0000000000000 Binary files a/theme/binarius/pix/header.png and /dev/null differ diff --git a/theme/binarius/pix/screenshot.jpg b/theme/binarius/pix/screenshot.jpg deleted file mode 100644 index 944520f885a31..0000000000000 Binary files a/theme/binarius/pix/screenshot.jpg and /dev/null differ diff --git a/theme/binarius/pix/sideblock.png b/theme/binarius/pix/sideblock.png deleted file mode 100644 index 914d4ba8b0788..0000000000000 Binary files a/theme/binarius/pix/sideblock.png and /dev/null differ diff --git a/theme/binarius/style/core.css b/theme/binarius/style/core.css deleted file mode 100644 index 09f6a91cc33b4..0000000000000 --- a/theme/binarius/style/core.css +++ /dev/null @@ -1,335 +0,0 @@ -/* Global ---------------------------*/ - -body { - background: #555; - margin: 0; - padding: 0; - color: #000; -} - -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family:"Trebuchet MS", Helvetica, Arial, sans-serif; -} - -#wrapper { - margin: 25px 75px; - background: #fff; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0px 0px 10px #000000; - -moz-box-shadow: 0px 0px 10px #000000; - box-shadow: 0px 0px 10px #000000; - padding: 10px; -} - -a:link,a:visited { - color: #f14e16; -} - -a:hover,a:active { - color:#fb961c; -} - -a img { - border: none; -} - -a:active { - outline: none; -} - -fieldset#general { - border-color: #ddd; -} - -/* Header -------------------------------*/ - -#page-header { - background: #f04916 url([[pix:theme|header]]) repeat-x 0 0; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} - -#page-header .headermain { - color: #fff; - padding: 0.8em 0.5em; - font-size: 2.75em; -} - -.headermenu { - color: #fff; -} - -.headermenu a { - text-decoration: underline; - color: #fff; -} - -.navbar { - font-size: 0.9em; - padding: 10px;color: #555; -} - -.navbar .sep { - font-size: 0.85em; - padding-left: 5px; -} - -/* Blocks ------------------------------*/ - -.block { - border: none; -} - -.block .header { - background: #fb931c url([[pix:theme|sideblock]]) repeat-x 0 50%; - padding: 2px 5px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} - -.block.hidden .header { - border-bottom: none; -} - -.block .header h2 { - color: #fff; - font-size: 1.25em; -} - -.editing .block .header .commands { - padding: 2px 0; -} - -.block .header .block_action { - margin-top: 3px; -} - -.block .content { - padding:10px; -} - -/* Course --------------------------------*/ - -.course-content .main { - border: 1px solid #eee; - background: #eee; -} - -.course-content .current { - background: #f14e16; -} - -.course-content .current .left { - color: #fff; -} - -.course-content .main .content { - background: #fff; -} - -/* Forum ---------------------------*/ - -.forumpost .topic { - background: #fb931c url([[pix:theme|header]]) repeat-x 0 50%; - color: #fff; - border: none; - padding: 0 10px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} - -.forumpost .subject { - font-size: 1.2em; - font-weight: bold; -} - -.forumpost .author { - font-size: 0.85em; - font-style: italic; -} - -.forumpost .topic a:link, -.forumpost .topic a:visited { - color: #fff; - text-decoration: underline; -} -/* Footer ---------------------------*/ - -#page-footer { - color: #fff; -} - -#footer { - color: #fff; - text-align: center; -} -/* Dock ------------------------------*/ - -body.has_dock { - margin: 0; -} - -#dock { - left: 75px; - margin-left: -30px; - border-width: 0; - background-color: transparent; -} - -#dock .controls { - bottom: auto; - background-color: #fb931c; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} - -#dock .dockeditem_container { - position: relative; -} - -#dock .dockeditem.firstdockitem { - margin-top: 50px; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; -} - -#dock .dockeditem { - background-color: #fff; - padding: 2px; - padding-right: 0px; -} - -#dock .dockedtitle { - border-width: 0; -} - -#dock .dockedtitle h2 { - margin: 0; - padding: 10px 3px; -} - -#dock .dockedtitle.activeitem { - background-color: #fb931c; - width: 35px; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} - -#dockeditempanel { - margin-left: 4px; -} - -#dockeditempanel .dockeditempanel_content { - background-color: #fff; - margin: 0 3px; - position: relative; - min-height: 100px; - border-color: #fb931c; - -webkit-border-radius: 6px; - -webkit-border-top-left-radius: 0; - -moz-border-radius: 6px; - -moz-border-radius-topleft: 0; - border-radius: 6px; - border-top-left-radius: 0; -} - -#dockeditempanel .dockeditempanel_hd { - border-width: 0; - background: #fb931c; - padding: 2px; -} - -#dockeditempanel .dockeditempanel_hd h2 { - font-size: 0.9em; - color: #fff; -} - -.myclear { - clear: both; -} - -.has-custom-menu #page-header .headermain { - padding-bottom: 0.4em; -} - -#custommenu .yui3-menu-horizontal .yui3-menu-content, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content, -#custommenu .yui3-menu-horizontal .yui3-menu-content ul, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content ul, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content li li:hover > a, -#custommenu .yui3-menu-horizontal .yui3-menu-label, -#custommenu .yui3-menuitem, -#custommenu .yui3-menuitem .yui3-menuitem-content { - border-width: 0; -} - - -#custommenu .yui3-menu .yui3-menu {background-color:#F9F9F9;border:1px solid #F14E16;} - -#custommenu .yui3-menu .yui3-menu-label, -#custommenu .yui3-menu .yui3-menuitem-content { - color: #FFF; -} -#custommenu .yui3-menu .yui3-menu .yui3-menu-label, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem-content { - color: #000; -} -#custommenu .yui3-menuitem-active .yui3-menuitem-content { - color: #F14E16 -} - -#custommenu .yui3-menu-content, -#custommenu .yui3-menu .yui3-menu .yui3-menu-content { - padding:0; -} - -#custommenu .yui3-menu-label-active, -#custommenu .yui3-menu-label-menuvisible, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content { - background-color:#F14E16; - color:#FFF; -} - -#custommenu .yui3-menuitem-active .yui3-menuitem-content { - background-color: #F9F9F9; -} - - -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content li li:hover, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content li li:hover a { - background-color:#F14E16; - color:#FFF; -} - -.pagelayout-redirect #content p, -.pagelayout-redirect #content div {color:#FFF;} - -/* Moodle forms -----------------*/ - -.mform .btn-cancel { - color: #F14E16; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #FB961C; - text-decoration: none; -} diff --git a/theme/binarius/style/editor.css b/theme/binarius/style/editor.css deleted file mode 100644 index cb24a47a06cb3..0000000000000 --- a/theme/binarius/style/editor.css +++ /dev/null @@ -1,3 +0,0 @@ -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family:"Trebuchet MS", Helvetica, Arial, sans-serif; -} diff --git a/theme/binarius/style/pagelayout.css b/theme/binarius/style/pagelayout.css deleted file mode 100644 index 518aa850f569e..0000000000000 --- a/theme/binarius/style/pagelayout.css +++ /dev/null @@ -1,144 +0,0 @@ -/********************************************************************************************* - - left column: 250px - right column: 250px - padding left/right column: 10px - padding center column: 30px - -**********************************************************************************************/ - -body { - margin: auto 0px; - width: auto; -} - -#page { - width: 100%; - overflow: hidden; -} - -#page-header { - float: left; - width: 100%; -} - -#page-content { - clear: both; - float: left; - overflow: hidden; - position: relative; - width: 100%; -} - -#page-content #region-main-box { - float: left; - margin-left: 0; - position: relative; - width: 200%; - right: 100%; -} - -#page-content #region-main-box #region-post-box { - float: left; - margin-left: -250px; - width: 100%; -} - -#page-content #region-main-box #region-post-box #region-main-wrap { - float: left; - width: 50%; -} - -#page-content #region-main-box #region-post-box #region-main-wrap #region-main { - overflow: hidden; - position: relative; - margin-left: 250px; - left: 100%; -} - -#page-content #region-main-box #region-post-box #region-pre { - float: right; - position: relative; - left: 250px; - width: 250px; -} - -#page-content #region-main-box #region-post-box #region-post { - float: right; - position: relative; - left: 250px; - width: 250px; -} - -#page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content { - overflow: hidden; - padding: 10px 20px 20px 10px; -} - -#page-content #region-main-box #region-post-box #region-pre .region-content, -#page-content #region-main-box #region-post-box #region-post .region-content { - padding: 10px 0 20px 10px; -} - -#page-footer { - clear: both; - float: left; - width: 100%; -} - - -.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 200px; -} - -/** No blocks whatsoever **/ - -.content-only #page-content #region-main-box { - margin-left: 0px; -} - -.content-only #page-content #region-main-box #region-post-box { - margin-left: 0px; -} - -.content-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 0px; -} - -.content-only #page-content #region-main-box #region-post-box #region-pre { - width: 0px; -} - -.content-only #page-content #region-main-box #region-post-box #region-post { - width: 0px; -} - -/** Report layout **/ -.pagelayout-report {border-top:1px solid #555555;} -.pagelayout-report #page {width:auto;position:relative;overflow:visible;} -.pagelayout-report #page-header {float:none;} -.pagelayout-report #page-content {float:none;overflow:visible;width:auto;} -.pagelayout-report #report-main-content {float:left;width:100%;} -.pagelayout-report #report-main-content .region-content {margin-left:210px;margin-top:20px;} -.pagelayout-report #report-main-content .region-content table {background-color:#FFF;} -.pagelayout-report #report-region-wrap {width:0;float:right;position:relative;left:-100%;} -.pagelayout-report #report-region-pre {width:200px;margin-top:20px;} -.pagelayout-report #page-footer {float:none;} -.pagelayout-report #page-content .region-content {overflow:visible;} -.pagelayout-report.content-only #report-main-content .region-content {margin-left:0;} -.pagelayout-report #page-content-wrapper #page-content #report-main-content .region-content - .no-overflow {overflow: auto;} - -/** Correct for right to left languages **/ -.dir-rtl.pagelayout-report #report-main-content .region-content {margin-left:0;margin-right:200px;} -.dir-rtl.pagelayout-report #report-region-wrap {left:0;} - -/** Stabalise IE6 behaviour on the report layout **/ -.ie6.pagelayout-report #report-main-content, -.ie7.pagelayout-report #report-main-content {float:none;width:auto;} -.ie6.pagelayout-report #report-region-wrap, -.ie7.pagelayout-report #report-region-wrap {float:none;width:200px;left:auto;position:absolute;top:0;} -.ie6.pagelayout-report #report-region-pre, -.ie6.pagelayout-report #report-region-pre .block -.ie7.pagelayout-report #report-region-pre, -.ie7.pagelayout-report #report-region-pre .block {width:100%;} diff --git a/theme/binarius/version.php b/theme/binarius/version.php deleted file mode 100644 index 16b96a5915b81..0000000000000 --- a/theme/binarius/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_binarius - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX). -$plugin->requires = 2013110500; // Requires this Moodle version. -$plugin->component = 'theme_binarius'; // Full name of the plugin (used for diagnostics). -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/boxxie/config.php b/theme/boxxie/config.php deleted file mode 100644 index 88e89a5e2facf..0000000000000 --- a/theme/boxxie/config.php +++ /dev/null @@ -1,226 +0,0 @@ -. - -/** - * Configuration for Moodle's boxxie theme. - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_boxxie - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'boxxie'; - -//////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -//////////////////////////////////////////////////// - - -$THEME->parents = array('canvas','base'); - -///////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -//////////////////////////////////////////////////// - - -$THEME->sheets = array('core'); - -//////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -//////////////////////////////////////////////////// - - -$THEME->enable_dock = false; - -//////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -//////////////////////////////////////////////////// - - -$THEME->layouts = array( - 'base' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre' - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocourseheaderfooter'=>true), - ), - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - 'maintenance' => array( - 'theme' => 'boxxie', - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>false, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - 'embedded' => array( - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>false, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>false, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - -); - -/////////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. -/////////////////////////////////////////////////////////////// - -// $THEME->csspostprocess - -//////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -//////////////////////////////////////////////////// - -// $THEME->javascripts - -//////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -//////////////////////////////////////////////////// - -// $THEME->javascripts_footer - -//////////////////////////////////////////////////// -// As above but will be included in the page footer. -//////////////////////////////////////////////////// - -// $THEME->larrow - -//////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -//////////////////////////////////////////////////// - -// $THEME->rarrow - -//////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// - -// $THEME->layouts - -//////////////////////////////////////////////////// -// An array setting the layouts for the theme -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_javascripts - -//////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -//////////////////////////////////////////////////// - -// $THEME->plugins_exclude_sheets - -//////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -//////////////////////////////////////////////////// - -// $THEME->rendererfactory - -//////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -//////////////////////////////////////////////////// - diff --git a/theme/boxxie/lang/en/theme_boxxie.php b/theme/boxxie/lang/en/theme_boxxie.php deleted file mode 100644 index 303f62cff4216..0000000000000 --- a/theme/boxxie/lang/en/theme_boxxie.php +++ /dev/null @@ -1,29 +0,0 @@ -. - -/** - * Strings for component 'theme_boxxie', language 'en'. - * - * @package theme_boxxie - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Boxxie'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = '

Boxxie

Theme Discussion Forum:

http://moodle.org/mod/forum/view.php?id=46

Theme Credits

http://docs.moodle.org/en/Theme_credits

Theme Documentation:

http://docs.moodle.org/en/Themes

Report a bug:

http://tracker.moodle.org

About

Boxxie is a fluid-width, three-column theme for Moodle 2.0.

Tweaks

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

Credits

This theme was coded and is maintained by Patrick Malley. He can be contacted by email at contact@newschoollearning.com.

-

License

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.

'; \ No newline at end of file diff --git a/theme/boxxie/layout/embedded.php b/theme/boxxie/layout/embedded.php deleted file mode 100644 index d1b7952962277..0000000000000 --- a/theme/boxxie/layout/embedded.php +++ /dev/null @@ -1,48 +0,0 @@ -. - -/** - * An embedded layout for the Boxxie theme. - * - * @package theme_boxxie - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
-
- - - -
- main_content() ?> -
- - -
-
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/boxxie/layout/frontpage.php b/theme/boxxie/layout/frontpage.php deleted file mode 100644 index 560e459d973c1..0000000000000 --- a/theme/boxxie/layout/frontpage.php +++ /dev/null @@ -1,145 +0,0 @@ -. - -/** - * The frontpage layout for the Boxxie theme. - * - * @package theme_boxxie - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($hassidepre && !$hassidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($hassidepost && !$hassidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$hassidepost && !$hassidepre) { - $bodyclasses[] = 'content-only'; -} - -if ($hascustommenu) { - $bodyclasses[] = 'has-custom-menu'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title; ?> - - standard_head_html() ?> - - - - -standard_top_of_body_html() ?> - - - -
-
- - - - - -
-
-
- -
-
-
- main_content() ?> -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
- -
- - - - - - - -
-
- -
- - - - - -standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/boxxie/layout/general.php b/theme/boxxie/layout/general.php deleted file mode 100644 index 160f7d144422e..0000000000000 --- a/theme/boxxie/layout/general.php +++ /dev/null @@ -1,174 +0,0 @@ -. - -/** - * The default layout for the Boxxie theme. - * - * @package theme_boxxie - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($hassidepre && !$hassidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($hassidepost && !$hassidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$hassidepost && !$hassidepre) { - $bodyclasses[] = 'content-only'; -} - -if ($hascustommenu) { - $bodyclasses[] = 'has-custom-menu'; -} - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title; ?> - - standard_head_html() ?> - - - - -standard_top_of_body_html() ?> - - - -
-
- - - -
- - -
- - - - - - - - -
-
-
- -
-
-
- - main_content() ?> - -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
- -
- - - - - - - - -
-
- -
- - - - - - -standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/boxxie/pix/favicon.ico b/theme/boxxie/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/boxxie/pix/favicon.ico and /dev/null differ diff --git a/theme/boxxie/pix/screenshot.jpg b/theme/boxxie/pix/screenshot.jpg deleted file mode 100644 index 5706526fa8b5d..0000000000000 Binary files a/theme/boxxie/pix/screenshot.jpg and /dev/null differ diff --git a/theme/boxxie/pix/tab/left.gif b/theme/boxxie/pix/tab/left.gif deleted file mode 100644 index 48b6628891308..0000000000000 Binary files a/theme/boxxie/pix/tab/left.gif and /dev/null differ diff --git a/theme/boxxie/pix/tab/left_active.gif b/theme/boxxie/pix/tab/left_active.gif deleted file mode 100644 index bd72d635568f9..0000000000000 Binary files a/theme/boxxie/pix/tab/left_active.gif and /dev/null differ diff --git a/theme/boxxie/pix/tab/left_active_hover.gif b/theme/boxxie/pix/tab/left_active_hover.gif deleted file mode 100644 index f1af440a15fdc..0000000000000 Binary files a/theme/boxxie/pix/tab/left_active_hover.gif and /dev/null differ diff --git a/theme/boxxie/pix/tab/left_hover.gif b/theme/boxxie/pix/tab/left_hover.gif deleted file mode 100644 index ea8c9705ed139..0000000000000 Binary files a/theme/boxxie/pix/tab/left_hover.gif and /dev/null differ diff --git a/theme/boxxie/pix/tab/right.gif b/theme/boxxie/pix/tab/right.gif deleted file mode 100644 index feddbb73d55bf..0000000000000 Binary files a/theme/boxxie/pix/tab/right.gif and /dev/null differ diff --git a/theme/boxxie/pix/tab/right_active.gif b/theme/boxxie/pix/tab/right_active.gif deleted file mode 100644 index ad87b27a4ee58..0000000000000 Binary files a/theme/boxxie/pix/tab/right_active.gif and /dev/null differ diff --git a/theme/boxxie/pix/tab/right_active_hover.gif b/theme/boxxie/pix/tab/right_active_hover.gif deleted file mode 100644 index c8b2883d53875..0000000000000 Binary files a/theme/boxxie/pix/tab/right_active_hover.gif and /dev/null differ diff --git a/theme/boxxie/pix/tab/right_hover.gif b/theme/boxxie/pix/tab/right_hover.gif deleted file mode 100644 index 301b3f670862b..0000000000000 Binary files a/theme/boxxie/pix/tab/right_hover.gif and /dev/null differ diff --git a/theme/boxxie/pix/tab/right_last.gif b/theme/boxxie/pix/tab/right_last.gif deleted file mode 100644 index dd346f6c52692..0000000000000 Binary files a/theme/boxxie/pix/tab/right_last.gif and /dev/null differ diff --git a/theme/boxxie/pix/tab/rtlbg.gif b/theme/boxxie/pix/tab/rtlbg.gif deleted file mode 100644 index ba7831333af59..0000000000000 Binary files a/theme/boxxie/pix/tab/rtlbg.gif and /dev/null differ diff --git a/theme/boxxie/pix/tab/tabrow1.gif b/theme/boxxie/pix/tab/tabrow1.gif deleted file mode 100644 index db1ffa66c4730..0000000000000 Binary files a/theme/boxxie/pix/tab/tabrow1.gif and /dev/null differ diff --git a/theme/boxxie/style/core.css b/theme/boxxie/style/core.css deleted file mode 100644 index 9844bcd5d1c2c..0000000000000 --- a/theme/boxxie/style/core.css +++ /dev/null @@ -1,1059 +0,0 @@ -html, -body { - background: #6e8c45; -} - -#page-wrapper { - margin: 10px 5%; - background: #5b7439; - padding: 5px; - min-width: 930px; /* fixes minimum page width */ -} - -#page { - background: #fff; - padding: 5px; - width: auto; - -} - -#page-content { - min-width: inherit; -} - -a:link, -a:visited { - color: #69804e; - text-decoration: none; -} - -a:hover, -a:active { - color: #41512f; -} - - -.rolelink { - text-align: right; - margin: 10px 0; -} - -.buttons { - text-align: center; -} - -.mform fieldset { - border-color: #e5e5e5; -} - -.mform legend { - border: 1px solid #e5e5e5; - background: #f3f8ed; - padding: 0 5px; -} - -.mform .btn-cancel { - color: #69804E; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #41512f; - text-decoration: none; -} - -.generalbox { - border-color: #e5e5e5; - padding: 5px; -} - -/* Header */ - -#page-header { - background: #3b4c25; - color: #fff; -} - -#page-header a:link, -#page-header a:visited { - color: #b3c79d; -} - -#page-header h1.headermain { - color: #fff; - font-weight: normal; - margin: 1em; - font-size: 2em; -} - -.pagelayout-frontpage #page-header h1.headermain { - font-size: 2.75em; -} - -/* Navbar */ - -.navbar { - padding: 5px; - font-size: 0.95em; - color: #333; -} - -.navbar .sep { - color: #999; -} - -/* Sideblock */ - -.block { - border: none; -} - -.block .header { - background: #69804e; - padding: 2px 5px; -} - -.block .header h2 { - color: #fff; - font-size: 1.2em; - line-height: 1; -} - -.block .content { - background: #f3f8ed; - border-width: 1px; - border-color: #69804e; - border-style: solid; - padding: 5px 10px; -} - -.block_js_expansion .block_tree { - overflow: auto; -} - -.block_recent_activity h2, -.block_recent_activity h3 { - font-size: 1em; - margin: 0.5em 0; -} - -.block_calendar_month .content h3.eventskey { - font-size: 1em; - margin: 0.25em 0; -} - -td.eventskey { - padding: 0 5px 3px; -} - -.minicalendar td, -.minicalendar th { - border-color: #f3f8ed; -} - -.block_comments textarea { - width: 95%; - margin-bottom: 1em; -} - -.block_comments .comment-area a { - background: #fff; - padding: 5px; - border: 1px solid #e5e5e5; -} - -.comment-delete-confirm { - background: #fff; -} - -.block_messages .content { - font-size: 0.95em; -} - -.block_messages .footer { - text-align: center; -} - -/* Calendar */ - -.calendarlayout .sidecalendar .block { - width:180px; -} - -.calendarlayout .sidecalendar .block .content { - font-size:0.85em; - } - -.calendarlayout .minicalendarblock h3 { - font-size: 1.2em; - margin: 1em 0 0.25em; - text-align: center; -} - -.calendarlayout .maincalendar .header { - padding: 5px; - margin: 1em 0 0; -} - -.calendarlayout .maincalendar .eventlist .event { - border: none; -} - -.calendarlayout .maincalendar .eventlist .event .topic { - background: #d6eebd; - border: 1px solid #a0c278; - padding: 5px 10px; -} - -.calendarlayout .maincalendar .eventlist .event .description { - border-width: 0 1px 1px; - border-color: #a0c278; - border-style: solid; - padding: 5px 10px; -} - -.calendarlayout .maincalendar .eventlist .event .picture { - text-align: center; -} - -.maincalendar .calendar-controls { - padding: 10px 5px 0; - background: #f3f8ed; - border-bottom: 1px solid #e5e5e5; -} - -.maincalendar .calendar-controls .previous, -.maincalendar .calendar-controls .current, -.maincalendar .calendar-controls .next { - width: 5%; - float: left; -} - -.maincalendar .calendar-controls .previous { - float: left; -} - -.maincalendar .calendar-controls h1.current { - margin: 0 auto; - font-size: 1.5em; - text-align: center; - line-height: 1; -} - -.maincalendar .calendar-controls .next { - text-align: right; -} - -.maincalendar .filters table td { - font-size: 0.9em; -} - -.maincalendar .bottom { - margin-top: 25px; -} - -.minicalendar th abbr { - border: none; -} - -.sidecalendar .filters td, -.minicalendar td, -.minicalendar th { - padding: 2px; - font-size: 0.85em; -} - -/* Course */ -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2 { - font-weight: normal; - border-bottom: 1px solid #eee; - font-size: 1.5em; -} - -.coursebox { - border-bottom: 1px solid #eee; -} - -.coursebox .content .teachers, -.coursebox .content .courseimage, -.coursebox .content .coursefile, -.coursebox.remotecoursebox .remotecourseinfo { - width: 35%; -} - -.coursebox .content .summary, -.coursebox .content .coursecat { - width: 61%; -} - -.coursebox > .info > h3.coursename { - font-size: 1.2em; - line-height: 1.4; -} - -.coursebox .content .teachers { - font-size: 0.95em; -} - -#page-course-index-category .categorypicker { - text-align: center; - margin: 10px 0 20px; -} - -.path-course-view .course-content li.section { - border: 1px solid #e5e5e5; -} - -.path-course-view .course-content .side { - padding: 5px 0; -} - -#page-course-view-weeks .weekdates { - font-size: 1em; - font-weight: normal; - color: #777; - padding: 2px; -} - -.course-content .main { - background:#f3f8ed; - } - -.course-content .current { - background:#69804e; - } - -.course-content .current .left { - color: #fff; -} - -.course-content .main .content { - padding: 10px; - background:#fff; -} - -/* Users */ - -.userinfobox { - border: none; - width: 75%; - margin: 0 auto; -} - -.userinfobox .content { - border: 1px solid #dadfd5; - background: #f3f8ed; - padding: 10px; -} - -#page-user-view .buttons { - margin: 0 auto; - width: 250px; -} - -#page-user-view .buttons div { - float: left; - padding: 10px; -} - -#page-user-index .rolesform { - text-align: center; - margin: 15px; -} - -#page-user-index .rolesform div, -#page-user-index .rolesform form, -#page-user-index .rolesform div div { - display: inline; -} - -#page-user-index h3 { - margin: 1em 0; -} - -#page-user-index #participantsform { - text-align: center; -} - -#page-user-index #participants { - margin: 25px auto; - width: 85%; -} - -#page-user-index #participants th a:link, -#page-user-index #participants th a:visited { - color: #fff; -} - -#page-user-index .userinfobox .links a { - display: block; -} - -#page-user-action_redir .generaltable { - margin: 15px auto 20px; - width: 80%; -} - -#page-user-messageselect .generalbox, -#page-user-action_redir .generalbox { - border-color: #e5e5e5; - padding: 10px; -} - -#page-user-messageselect #theform table, -#page-user-action_redir #theform table { - margin: auto; -} - -#page-user-messageselect #theform .generalbox table, -#page-user-action_redir #theform .generalbox table { - -} - -/* My Index */ - -#page-my-index .generalbox { - border: none; - text-align: center; -} - -/* Tabs */ - -.tabtree ul { - text-align: center; -} - -.tabtree .tabrow0 { - width: 100%; - margin: 1em 0px; -} - -.tabtree .tabrow0 li { - margin-right: -4px; -} - -.tabtree .tabrow0 li.here { - font-weight: bold; -} - -.tabtree .tabrow0 li.here a { - position: relative; - z-index: 102; -} - -.tabtree .tabrow0 li a { - background: #f3f8ed; - border-width: 1px 1px 0; - border-style: solid; - font-weight: bold; - border-color: #dadfd5; - padding: 6px 6px 5px; - margin-right: 3px; - color: #3b4c25; -} - -.tabtree .tabrow0 li.here a { - background: #fff; - border-color: #5b7439; - border-bottom-width: 0; - cursor: pointer; -} - -.tabtree .tabrow0 li a:hover { - background: #fff; - border-color: #84a754; -} - -.tabtree .tabrow0 ul, -.tabtree .tabrow0 div { - font-weight: normal; - background: #fff; - border-top: 1px solid #5b7439; - padding: 0; - margin: 0; - margin-top: 1px; -} - -.tabtree tabrow2 ul { - border: none; -} - -.tabtree .tabrow0 li.here .empty { - display: block; - height: 1px; - overflow: hidden; - padding: 0px; - position: absolute; - width: 100%; - background: #fff; -} - -.tabtree .tabrow1 li a, -.tabtree .tabrow1 li a:hover, -.tabtree .tabrow1 li a span, -.tabtree .tabrow1 li a:hover span { - background: none !important; - border: none; - font-size: 0.95em; -} - -.tabtree a.nolink, -.tabtree .here ul a.nolink, -.tabtree a.nolink:hover, -.tabtree .here ul a.nolink:hover { - color: #888; - text-decoration: none; -} - -.tabtree .here a.nolink, -.tabtree .here ul .here a.nolink, -.tabtree .here a.nolink:hover, -.tabtree .here ul .here a.nolink:hover { - color: black; - text-decoration: none; -} - -.ie7 .tabtree .tabrow0 li { - margin-left: 0; -} - -.ie7 .tabtree .tabrow0 li.first { - margin-right: -4px; -} - -.ie7 .tabtree .tabrow0 li.onerow { - margin-right: 0; -} - -.ie7 .tabtree .tabrow0 a { - display: inline-block; - padding: 8px 0 0.35em 13px; - line-height: 1.5em; -} - -.ie7 .tabtree .tabrow0 a span { - padding: 10px 1em 10px 0; -} - -.ie7 .tabtree .tabrow0 div { - top: 2.6em; - padding: 0.2em 0; -} - -.ie7 .tabtree .tabrow0 div.empty { - margin-right: 0; -} - -.ie7.mod-quiz div.tabtree a span img.iconsmall { - margin: 0; - vertical-align: baseline; - position: relative; - top: 2px; -} - -.ie6 .tabtree { - height: 100%; -} - -.ie6 .tabtree .tabrow0 { - padding-top: 10px; -} - -.ie6 .tabtree .tabrow0 li { - margin-left: 0; -} - -.ie6 .tabtree .tabrow0 li.first { - margin-left: -4px; - margin-right: -4px; -} - -.ie6 .tabtree .tabrow0 li.last a { - margin-right: 0; -} - -.ie6 .tabtree .tabrow0 li.onerow { - margin-right: 0; -} - -.ie6 .tabtree .tabrow0 a { - padding: 0 0 0 13px; -} - -.ie6 .tabtree .tabrow0 a span { - padding: 12px 1em 4px 0; -} - -.ie6 .tabtree .tabrow0 div { - top: 3.5em; - padding: 0.2em 0; -} - -/* Mods */ - -#intro { - width: 75%; - background: #f3f8ed; - border: 1px solid #d0d3ca; - padding: 10px; - margin: 1em auto; -} - -#notice, -.redirectmessage { - text-align: center; - border-color: #e5e5e5; - padding: 5px; -} - -.pagelayout-embedded #page-wrapper { - text-align: center; - margin: 3% 15%; -} - -.pagelayout-embedded #content { - padding: 10px; -} - -.notifysuccess { - text-align: center; - margin: 25px; - font-weight: bold; -} - -/* Forum */ - -.forumpost { - border: none; -} - -.forumpost .topic { - background: #d6eebd; - border: 1px solid #a0c278; - padding: 5px 10px; -} - -.forumpost .starter { - background: #c9dfb2; -} - -.forumpost .subject { - font-size: 1.2em; -} - -.forumpost .author { - font-style: italic; - color: #555; - font-size: 0.95em; -} - -.forumpost .author a:link, -.forumpost .author a:visited { - color: #566b3f; - text-decoration: underline; -} - -.forumpost .author a:hover { - text-decoration: none; -} - -.forumpost .no-overflow, -.forumpost .options { - border: 1px solid #a0c278; -} - -.forumpost .options, -.forumpost .content .posting { - padding: 5px 10px; -} - -.forumaddnew, -.forumnodiscuss { - text-align: center; - margin-bottom: 15px; -} - -.path-mod-forum .forumheaderlist .picture { - border-right-width: 0; - padding-right: 0; - padding-top: 10px; -} - -.path-mod-forum .forumheaderlist .replies { - text-align: center; -} - -.path-mod-forum .forumheaderlist .replies .read { - background: #fcffd8; - padding: 2px; -} - -.path-mod-forum .unread .content { - background: #f3f8ed; -} - -.path-course-view .section .forum .unread { - margin-left: 20px; -} - -.path-course-view .section .forum .unread a:link, -.path-course-view .section .forum .unread a:visited { - color: #888; - background: #fcffd8; - font-size: 0.9em; -} - -#page-mod-forum-search .generalbox { - width: 85%; -} - -#page-mod-forum-search .searchbox { - margin: 25px auto; -} - -#page-mod-forum-search .searchbox .submit { - padding-top: 20px; - text-align: center; -} - -/* Resource */ - -.mod_introbox { - border-color: #eee; - background: #f3f8ed; - margin: 0 auto 15px; - width: 75%; -} - -.path-mod-page .generalbox { - margin: 10px auto; - border: none; - padding: 0 25px; -} - -.path-mod-page .modified { - color: #777; - font-size: 0.8em; - text-align: center; -} - -#page-mod-folder-view .foldertree { - width: 50%; - margin: 20px auto; - border: 1px solid #e5e5e5; - padding: 15px; -} - -#page-mod-folder-view .foldertree ul { - margin-bottom: 0; -} - -/* Choice */ - -#page-mod-choice-view #notice { - width: 55%; - padding: 15px; - border: none; - margin: 0 auto; -} - -#page-mod-choice-view h2 { - font-size: 1.5em; - margin: 1em 0; -} - -.path-mod-choice .results td { - padding: 5px; -} - -.path-mod-choice .results .count { - border-top: 1px solid #69804e; -} - -/* Feedback */ - -.path-mod-feedback h4 { - margin-top: 1em; -} - -.path-mod-feedback .continuebutton { - text-align: center; - margin: 1em 0; -} - -#page-mod-feedback-show_entries .generalbox { - width: 60%; -} - -#page-mod-feedback-show_entries table { - margin: 0 auto; -} - -#page-mod-feedback-analysis table { - margin: 0 auto; -} - -#page-mod-feedback-analysis .form-buttons { - float: right; - padding-right: 5px; -} - -/* Glossary */ - -#page-mod-glossary-view .glossarycontrol { - float: none; -} - -#page-mod-glossary-view .singlebutton { - text-align: center; -} - -#page-mod-glossary-view form .boxaligncenter td { - text-align: center; -} - -#page-mod-glossary-view .entrybox { - text-align: center; -} - -.path-mod-glossary .entrybox .glossarycategoryheader { - width: 100%; -} - -.path-mod-glossary .entrybox .glossarycategoryheader th { - background: #f3f8ed; - border-bottom: 1px solid #e5e5e5; -} - -.path-mod-glossary .entrybox .glossarycategoryheader th h2 { - font-size: 1.2em; - line-height: 1.5; - margin: 0; -} - -.path-mod-glossary .entrybox .entry .concept h3 { - display: inline; - font-size: 1.2em; - line-height: 1.5; - margin-bottom: 0; -} - -.path-mod-glossary .entrybox .fullwithauthor .concept h3, -.path-mod-glossary .entrybox .encyclopedia .concept h3 { - margin-bottom: 0.2em; -} - -.path-mod-glossary .entrybox .glossarypost { - border-bottom: 1px solid #e5e5e5; -} - -.path-mod-glossary .entrybox .entryheader { - font-weight: normal; -} - -.path-mod-glossary .entrybox .entrylist { - width: 100%; -} - -.path-mod-glossary .entrybox .entrylist .entrylowersection { - text-align: right; -} - -#page-mod-glossary-editcategories .generalbox { - margin: 10px auto; - width: 50%; -} - -#page-mod-glossary-editcategories .generalbox th { - border: none; -} - -#page-mod-glossary-editcategories .generalbox .buttons { - padding: 15px; -} - -#page-mod-glossary-editcategories .generalbox table .action { - border-left: 1px solid #eee; - text-align: center; -} - -#page-mod-glossary-editcategories .generalbox .confirmbuttons, -#page-mod-glossary-editcategories .generalbox .editbuttons { - margin: 0 auto; -} - -.deletecatconfirm { - text-align: center; -} - -/* Forms */ - -.mform .fitem fieldset.felement { - margin: 0 auto 1em; - padding-left: 25px; - padding-top: 0; - text-align: center; -} - -.path-backup .mform .fitem fieldset.felement { - margin-left: 0; - padding-left: 0; -} - -/* Tables */ - -#page-mod-glossary-editcategories .generalbox, -#page-user-action_redir .generaltable, -#page-user-index #participants, -.path-mod-forum .forumheaderlist { - border-width: 1px; - border-color: #d0d3ca; - border-style: solid; -} - -#page-mod-glossary-editcategories .generalbox th, -#page-user-action_redir .generaltable th, -#page-user-index #participants th, -.path-mod-choice .results th, -.path-mod-forum .forumheaderlist th { - border-width: 0 0 2px; - border-color: #3b4c25; - border-style: solid; - background: #69804e; - padding-left: 5px; - color: #fff; -} - -#page-user-action_redir .generaltable td, -#page-user-index #participants td, -.path-mod-forum .forumheaderlist td { - border-color: #d0d3ca; - border-width: 0 1px 1px 0; - border-style: solid; - border-collapse: collapse; - padding: 2px 8px; -} - -#page-user-action_redir .generaltable > tbody > tr:nth-of-type(even) td, -#page-user-index #participants > tbody > tr:nth-of-type(odd) td, -.path-mod-choice .results .count, -.path-mod-forum .forumheaderlist > tbody > tr:nth-of-type(even) td { - background: #f3f8ed; -} - -/* Footer */ - -#page-footer { - background: #4e6632; - color: #fff; -} - -#page-footer a { - color: #b3c79d; -} - -#page-footer a:hover { - color: #fff; -} - -#page-footer .logininfo { - float: left; - padding: 5px; - margin: 0; -} - -#page-footer .helplink { - float: right; - padding: 5px; - margin: 0; -} - -#page-footer-bottom { - text-align: center; - margin: 10px 20%; -} - -.performanceinfo span { - display: block; -} - -.validators { - margin-top: 40px; - padding-top: 5px; - border-top: 1px dotted gray; -} - -.validators ul { - margin: 0px; - padding: 0px; - list-style-type: none; -} - -.validators ul li { - display: inline; - margin-right: 10px; - margin-left: 10px; -} - -.myclear { - clear: both; -} - -#custommenu { - overflow:hidden; -} -#custommenu .yui3-menu-horizontal .yui3-menu-content, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content, -#custommenu .yui3-menu-horizontal .yui3-menu-content ul, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content ul, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content li li:hover > a, -#custommenu .yui3-menu-horizontal .yui3-menu-label, .yui3-skin-sam .yui3-menu-horizontal .yui3-menuitem-content { - border-width:0; -} - -#custommenu .yui3-menu-horizontal .yui3-menu-content ul ul, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content ul ul { - background-color:#3B4C25; -} - -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content li li:hover, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content li li:hover a, -#custommenu .yui3-menu .yui3-menuitem.yui3-menuitem-active .yui3-menuitem-content { - background-color:#4E6632; -} - -#custommenu .yui3-menu-label-active, -#custommenu .yui3-menu-label-menuvisible, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label-active, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label-menuvisible { - background-color:#4E6632; - -} - -#custommenu .yui3-menu-content, -#custommenu .yui3-menu .yui3-menu .yui3-menu-content { - padding:0; -} - -#custommenu .yui3-menuitem .yui3-menuitem-content { - border-width:0; -} - -.block .header .commands .icon img { - background-color: #F3F8ED; /* adds light green background */ - border: 2px solid #3B4C25; /* adds 2px dark green border */ - border-radius: 5px; /* adds rounded corners in modern browsers */ - height: 12px; - margin-right: 3px; - padding: 2px; /* adds padding to icon */ - width: 12px; -} - -.core_media_preview #page-wrapper { - min-width: 0; - background: none; - margin: 0; - padding: 0 5px; -} diff --git a/theme/boxxie/version.php b/theme/boxxie/version.php deleted file mode 100644 index 488146c9294dc..0000000000000 --- a/theme/boxxie/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_boxxie - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_boxxie'; // Full name of the plugin (used for diagnostics) -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/brick/config.php b/theme/brick/config.php deleted file mode 100644 index f80cc803ec43c..0000000000000 --- a/theme/brick/config.php +++ /dev/null @@ -1,244 +0,0 @@ -. - -/** - * Configuration for Moodle's brick theme. - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_brick - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'brick'; - -//////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -//////////////////////////////////////////////////// - -$THEME->parents = array( - 'canvas', - 'base', -); - -///////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -//////////////////////////////////////////////////// - -$THEME->sheets = array( - 'pagelayout', - 'core', - 'colors', - 'css3', -); - -//////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -//////////////////////////////////////////////////// - -$THEME->parents_exclude_sheets = array( - 'base'=>array( - 'pagelayout', - ), - 'canvas'=>array( - 'pagelayout', - ), -); - -$THEME->enable_dock = true; - -//////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -//////////////////////////////////////////////////// - -// $THEME->editor_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets to include within the -// body of the editor. -//////////////////////////////////////////////////// - -$THEME->layouts = array( - 'base' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post' - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'embedded' => array( - 'theme' => 'canvas', - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'report' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - -); - -/////////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. -/////////////////////////////////////////////////////////////// - -$THEME->csspostprocess = 'brick_process_css'; - -//////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -//////////////////////////////////////////////////// - -//$THEME->javascripts - -//////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -//////////////////////////////////////////////////// - -//$THEME->javascripts_footer - -//////////////////////////////////////////////////// -// As above but will be included in the page footer. -//////////////////////////////////////////////////// - -//$THEME->larrow = '⟨'; - -//////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -//////////////////////////////////////////////////// - -//$THEME->rarrow = '⟩'; - -//////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// - -//$THEME->layouts - -//////////////////////////////////////////////////// -// An array setting the layouts for the theme -//////////////////////////////////////////////////// - -//$THEME->parents_exclude_javascripts - -//////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -//////////////////////////////////////////////////// - -//$THEME->parents_exclude_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -//////////////////////////////////////////////////// - -//$THEME->plugins_exclude_sheets - -//////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -//////////////////////////////////////////////////// - -//$THEME->rendererfactory = 'theme_overridden_renderer_factory'; - -//////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -//////////////////////////////////////////////////// diff --git a/theme/brick/lang/en/theme_brick.php b/theme/brick/lang/en/theme_brick.php deleted file mode 100644 index d7823e0e070f3..0000000000000 --- a/theme/brick/lang/en/theme_brick.php +++ /dev/null @@ -1,48 +0,0 @@ -. - -/** - * Strings for component 'theme_brick', language 'en'. - * - * @package theme_brick - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Brick'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = '

Brick

Theme Discussion Forum:

http://moodle.org/mod/forum/view.php?id=46

Theme Documentation:

http://docs.moodle.org/en/Themes

Theme Credits

http://docs.moodle.org/en/Theme_credits

Report a bug:

http://tracker.moodle.org

About

Brick is a two-column, fluid-width theme for Moodle 2.0. You can change the theme colour scheme via the theme settings page.

Tweaks

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you wish to modify aspects of this theme beyond the settings offered, we advise creating a new theme that uses this theme, Base, and Canvas all as parents. This will ensure updates to any of those themes in the core will find their way into your new theme.

Credits

This theme was coded and is maintained by John Stabinger of NewSchool Learning. He can be contacted by email at contact@newschoollearning.com.

License

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.

'; - -$string['configtitle'] = 'Brick settings'; - -$string['logo'] = 'logo'; -$string['logodesc'] = 'Change the logo of this theme by entering the URL to a new one (i.e., http://www.somesite/animage.png). As a reference, the default logo is 265px wide by 60px high. A transparent PNG will work best.'; - -$string['linkcolor'] = 'link'; -$string['linkcolordesc'] = 'Set the colour of links in the theme. Use html hex code.'; - -$string['linkhover'] = 'linkhover'; -$string['linkhoverdesc'] = 'Set the colour of links (on hover) in the theme. Use html hex code.'; - -$string['maincolor'] = 'Main colour'; -$string['maincolordesc'] = 'Set the colour hex code of the header, dock bar and other areas. Looks best as a dark or saturated colour.'; - -$string['maincolorlink'] = 'Main colour link'; -$string['maincolorlinkdesc'] = 'Link colour for menu bar and block titles.'; - -$string['headingcolor'] = 'Heading colour'; -$string['headingcolordesc'] = 'This is the heading colour for large headings (site news, my courses) and other headings.'; diff --git a/theme/brick/layout/frontpage.php b/theme/brick/layout/frontpage.php deleted file mode 100644 index 2b74c35addf65..0000000000000 --- a/theme/brick/layout/frontpage.php +++ /dev/null @@ -1,150 +0,0 @@ -. - -/** - * The frontpage layout for the Brick theme. - * - * @package theme_brick - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - - -$bodyclasses = array(); -if ($showsidepost) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost) { - $bodyclasses[] = 'content-only'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - - - - - - - - - - -
-
-
- - - -
-
-
-
- -
-
-
- - main_content() ?> -
-
-
- - -
-
- - blocks_for_region('side-post') ?> - -
-
- - -
-
-
-
- - - - -
-
-
- - - - - - - -standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/brick/layout/general.php b/theme/brick/layout/general.php deleted file mode 100644 index 935746c39eb0a..0000000000000 --- a/theme/brick/layout/general.php +++ /dev/null @@ -1,192 +0,0 @@ -. - -/** - * The default layout for the Brick theme. - * - * @package theme_brick - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbutton = ($PAGE->button); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - - -$bodyclasses = array(); -if ($showsidepost) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost) { - $bodyclasses[] = 'content-only'; -} - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - - - - - - - - - -
-
-
- - -
- - - -
-
-
-
- -
-
-
- - - - - - - main_content() ?> - - -
-
-
- - - -
-
- - - - - - blocks_for_region('side-post') ?> - -
-
- - - -
-
-
-
- - - - - - - -
-
-
- - - - - - - -standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/brick/lib.php b/theme/brick/lib.php deleted file mode 100644 index c65e0cfb6acd5..0000000000000 --- a/theme/brick/lib.php +++ /dev/null @@ -1,185 +0,0 @@ -. - -/** - * This file contains functions specific to the Brick theme. - * - * @package theme_brick - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * Sets the link colour used by the Brick theme. - * - * @param string $css - * @param string $linkcolor - * @return string - */ -function brick_set_linkcolor($css, $linkcolor) { - $tag = '[[setting:linkcolor]]'; - $replacement = $linkcolor; - if (is_null($replacement)) { - $replacement = '#06365b'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the link hover colour used by the Brick theme. - * - * @param string $css - * @param string $linkhover - * @return string - */ -function brick_set_linkhover($css, $linkhover) { - $tag = '[[setting:linkhover]]'; - $replacement = $linkhover; - if (is_null($replacement)) { - $replacement = '#5487ad'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the main colour used by the Brick theme. - * - * @param string $css - * @param string $maincolor - * @return string - */ -function brick_set_maincolor($css, $maincolor) { - $tag = '[[setting:maincolor]]'; - $replacement = $maincolor; - if (is_null($replacement)) { - $replacement = '#8e2800'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the main link colour used by the Brick theme. - * - * @param string $css - * @param string $maincolorlink - * @return string - */ -function brick_set_maincolorlink($css, $maincolorlink) { - $tag = '[[setting:maincolorlink]]'; - $replacement = $maincolorlink; - if (is_null($replacement)) { - $replacement = '#fff0a5'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the headig colour used by the brick theme. - * - * @param string $css - * @param string $headingcolor - * @return string - */ -function brick_set_headingcolor($css, $headingcolor) { - $tag = '[[setting:headingcolor]]'; - $replacement = $headingcolor; - if (is_null($replacement)) { - $replacement = '#5c3500'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the logo used by the Brick theme. - * - * @param string $css - * @param string $logo - * @param theme_config $theme - * @return string - */ -function brick_set_logo($css, $logo, $theme) { - $tag = '[[setting:logo]]'; - $replacement = $logo; - if (is_null($replacement)) { - $replacement = $theme->pix_url('logo', 'theme'); - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Processes CSS adding Brick customisations to it before it is cached and delivered. - * - * @param string $css - * @param theme_config $theme - * @return string - */ -function brick_process_css($css, $theme) { - - if (!empty($theme->settings->linkcolor)) { - $linkcolor = $theme->settings->linkcolor; - } else { - $linkcolor = null; - } - $css = brick_set_linkcolor($css, $linkcolor); - - // Set the link hover color. - if (!empty($theme->settings->linkhover)) { - $linkhover = $theme->settings->linkhover; - } else { - $linkhover = null; - } - $css = brick_set_linkhover($css, $linkhover); - - // Set the main color. - if (!empty($theme->settings->maincolor)) { - $maincolor = $theme->settings->maincolor; - } else { - $maincolor = null; - } - $css = brick_set_maincolor($css, $maincolor); - - // Set the main accent color. - if (!empty($theme->settings->maincolorlink)) { - $maincolorlink = $theme->settings->maincolorlink; - } else { - $maincolorlink = null; - } - $css = brick_set_maincolorlink($css, $maincolorlink); - - // Set the main headings color. - if (!empty($theme->settings->headingcolor)) { - $headingcolor = $theme->settings->headingcolor; - } else { - $headingcolor = null; - } - $css = brick_set_headingcolor($css, $headingcolor); - - // Set the logo image. - if (!empty($theme->settings->logo)) { - $logo = $theme->settings->logo; - } else { - $logo = null; - } - $css = brick_set_logo($css, $logo, $theme); - - return $css; -} \ No newline at end of file diff --git a/theme/brick/pix/block.png b/theme/brick/pix/block.png deleted file mode 100644 index 67f79e742fa5b..0000000000000 Binary files a/theme/brick/pix/block.png and /dev/null differ diff --git a/theme/brick/pix/crumber.png b/theme/brick/pix/crumber.png deleted file mode 100644 index 8b7c32ec7bb57..0000000000000 Binary files a/theme/brick/pix/crumber.png and /dev/null differ diff --git a/theme/brick/pix/favicon.ico b/theme/brick/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/brick/pix/favicon.ico and /dev/null differ diff --git a/theme/brick/pix/header.png b/theme/brick/pix/header.png deleted file mode 100644 index 6bb4004f6e8a5..0000000000000 Binary files a/theme/brick/pix/header.png and /dev/null differ diff --git a/theme/brick/pix/logo.png b/theme/brick/pix/logo.png deleted file mode 100644 index e392a877d6f29..0000000000000 Binary files a/theme/brick/pix/logo.png and /dev/null differ diff --git a/theme/brick/pix/mainbar.png b/theme/brick/pix/mainbar.png deleted file mode 100644 index 2eed85b3e7046..0000000000000 Binary files a/theme/brick/pix/mainbar.png and /dev/null differ diff --git a/theme/brick/pix/screenshot.png b/theme/brick/pix/screenshot.png deleted file mode 100644 index 9aa40c1fdca32..0000000000000 Binary files a/theme/brick/pix/screenshot.png and /dev/null differ diff --git a/theme/brick/pix/youare.png b/theme/brick/pix/youare.png deleted file mode 100644 index 48498db95eb40..0000000000000 Binary files a/theme/brick/pix/youare.png and /dev/null differ diff --git a/theme/brick/pix_core/i/all.png b/theme/brick/pix_core/i/all.png deleted file mode 100644 index 459c16cd6215a..0000000000000 Binary files a/theme/brick/pix_core/i/all.png and /dev/null differ diff --git a/theme/brick/pix_core/i/navigationitem.png b/theme/brick/pix_core/i/navigationitem.png deleted file mode 100644 index 1b70ad795cefc..0000000000000 Binary files a/theme/brick/pix_core/i/navigationitem.png and /dev/null differ diff --git a/theme/brick/pix_core/t/block_to_dock.png b/theme/brick/pix_core/t/block_to_dock.png deleted file mode 100644 index 10695edbf3874..0000000000000 Binary files a/theme/brick/pix_core/t/block_to_dock.png and /dev/null differ diff --git a/theme/brick/pix_core/t/collapsed.png b/theme/brick/pix_core/t/collapsed.png deleted file mode 100644 index 59ba1ceb047ac..0000000000000 Binary files a/theme/brick/pix_core/t/collapsed.png and /dev/null differ diff --git a/theme/brick/pix_core/t/delete.png b/theme/brick/pix_core/t/delete.png deleted file mode 100644 index 9d06f5bfac387..0000000000000 Binary files a/theme/brick/pix_core/t/delete.png and /dev/null differ diff --git a/theme/brick/pix_core/t/dock_to_block.png b/theme/brick/pix_core/t/dock_to_block.png deleted file mode 100644 index 538e2b7034764..0000000000000 Binary files a/theme/brick/pix_core/t/dock_to_block.png and /dev/null differ diff --git a/theme/brick/pix_core/t/expanded.png b/theme/brick/pix_core/t/expanded.png deleted file mode 100644 index 233ac8490cb7a..0000000000000 Binary files a/theme/brick/pix_core/t/expanded.png and /dev/null differ diff --git a/theme/brick/pix_core/t/switch_minus.png b/theme/brick/pix_core/t/switch_minus.png deleted file mode 100644 index 657ed66fa65a1..0000000000000 Binary files a/theme/brick/pix_core/t/switch_minus.png and /dev/null differ diff --git a/theme/brick/pix_core/t/switch_plus.png b/theme/brick/pix_core/t/switch_plus.png deleted file mode 100644 index 3d723994dab8c..0000000000000 Binary files a/theme/brick/pix_core/t/switch_plus.png and /dev/null differ diff --git a/theme/brick/settings.php b/theme/brick/settings.php deleted file mode 100644 index a990365c055f5..0000000000000 --- a/theme/brick/settings.php +++ /dev/null @@ -1,87 +0,0 @@ -. - -/** - * Settings for the Brick theme. - * - * @package theme_brick - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -if ($ADMIN->fulltree) { - - // Background image setting logo image setting. - $name = 'theme_brick/logo'; - $title = get_string('logo','theme_brick'); - $description = get_string('logodesc', 'theme_brick'); - $setting = new admin_setting_configtext($name, $title, $description, '', PARAM_URL); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Link color setting. - $name = 'theme_brick/linkcolor'; - $title = get_string('linkcolor','theme_brick'); - $description = get_string('linkcolordesc', 'theme_brick'); - $default = '#06365b'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Link hover color setting. - $name = 'theme_brick/linkhover'; - $title = get_string('linkhover','theme_brick'); - $description = get_string('linkhoverdesc', 'theme_brick'); - $default = '#5487ad'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Main color setting. - $name = 'theme_brick/maincolor'; - $title = get_string('maincolor','theme_brick'); - $description = get_string('maincolordesc', 'theme_brick'); - $default = '#8e2800'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Main color accent setting. - $name = 'theme_brick/maincolorlink'; - $title = get_string('maincolorlink','theme_brick'); - $description = get_string('maincolorlinkdesc', 'theme_brick'); - $default = '#fff0a5'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Heading color setting. - $name = 'theme_brick/headingcolor'; - $title = get_string('headingcolor','theme_brick'); - $description = get_string('headingcolordesc', 'theme_brick'); - $default = '#5c3500'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - -} \ No newline at end of file diff --git a/theme/brick/style/colors.css b/theme/brick/style/colors.css deleted file mode 100644 index fe7d1a9dc9e0d..0000000000000 --- a/theme/brick/style/colors.css +++ /dev/null @@ -1,57 +0,0 @@ -html a,body a, html a:visited,body a:visited, ul.dropdown li, ul.dropdown a:link, ul.dropdown a:visited { - color: [[setting:linkcolor]]; -} - -html a:hover,body a:hover, ul.dropdown li.hover, ul.dropdown li:hover, ul.dropdown a:hover, ul.dropdown a:active { - color: [[setting:linkhover]]; -} - -#logo { - background: url([[setting:logo]]) no-repeat; -} - -#page-header { - background: [[setting:maincolor]] url([[pix:theme|header]]) repeat-x; - border-bottom: 1px solid [[setting:maincolor]]; -} - -#nologo a,#nologo, #loggedinas, .block .header h2, .yui3-menu-content li a, #navigation li a { - color: [[setting:maincolorlink]] !important; -} - -div.block { - background: [[setting:maincolor]] url([[pix:theme|block]]) no-repeat; -} - -.block div.header { - border-bottom: 1px solid [[setting:maincolor]]; -} - -.generalbox h2, h3.sectionname, div.loginpanel h2, div.signuppanel h2, .forumpost .subject, -#site-news-forum h2, #frontpage-course-list h2, #frontpage-category-names h2, #frontpage-category-combo h2 { - color: [[setting:headingcolor]]; -} - -#nologo a, .yui3-menu-content li a, .headingtitle h1, .block .header h2 { - text-shadow: -1px 1px 1px [[setting:maincolor]]; -} - -#dock .controls { - background-color: [[setting:linkcolor]]; -} - -#dock .dockedtitle.activeitem { - background-color: [[setting:maincolor]]; -} - -#dockeditempanel .dockeditempanel_content { - border-color: [[setting:maincolor]]; -} - -#dockeditempanel .dockeditempanel_hd { - background: [[setting:maincolor]]; -} - -div.custom_menu_submenu li a { - color: [[setting:linkcolor]] !important; -} \ No newline at end of file diff --git a/theme/brick/style/core.css b/theme/brick/style/core.css deleted file mode 100644 index 28e1d7e6b5802..0000000000000 --- a/theme/brick/style/core.css +++ /dev/null @@ -1,559 +0,0 @@ - - -/* Global ----------------------------*/ - -html, body { - background: #eee; -} - -#mypagewrapper { - width: 100%; - border-top: 1px solid #fff; -} - -#page { - margin-top: 15px; - width: 90%; - min-width: 960px; - margin-left: auto; - margin-right: auto; - clear: both; - border: 1px solid #dadada; - background: #fff; -} - -#wrapper { - padding: 20px; - padding-left: 20px; - padding-right: 17px; -} - -#wrapper.notathome { - padding-top: 15px; -} -.content-only #wrapper { - padding-right: 0px; -} - -/* Header -----------------------------*/ - -#page-header { - width: 100%; - top: 0px; - height: 140px; - float: none; -} - -#header { - width: 90%; - min-width: 960px; - margin-left: auto; - margin-right: auto; -} - -#logo { - background-position: 0% 40%; - width: 300px; - height: 70px; - float: left; -} -#nologo { - width: 590px; - height: 70px; - float: left; - margin-left: 6px; - overflow: hidden; -} -#nologo a, #nologo { - font-family: Georgia, Palatino, serif; - line-height: 70px; - font-size: 28px; - font-weight: 600; - letter-spacing: -1px; -} -#loggedinas { - min-width: 300px; - height: 65px; - float: right; - text-align: right; - line-height: 65px; - font-size: 10px; -} - -#loggedinas a { - color: #fff; -} - -#headerbottom { - clear: both; -} - -#headingtitle { - float: right; - width: 280px; - padding-right: 5px; - text-align: right; - height: 70px; - overflow: hidden; - background: url([[pix:theme|youare]]) no-repeat; - background-position: 95% 110%; - position: relative; - bottom: -2px; -} - -#headingtitle h1 { - line-height: 67px; - font-weight: 200; - font-size: 13px; - text-transform: uppercase; - color: #fff; -} -/* end Header -----------------------------*/ - -#region-post2 .region-content div.navbutton { - display: inline-block !important; - width: 100%; - float: none; - margin-bottom: 5px; - margin-top: 5px; - clear: both; -} - -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: Georgia, Palatino, serif; - line-height: 1.5; - color: #333; -} - -h1, h2, h3, h4 { - font-family: Georgia, Times, "Times New Roman", serif !important; -} - -h2,h3,h4,h5,h6 { - color: #999; - font-weight: normal; -} - -h2.helpheading { - color: #333; - font-weight: bold; -} - -blockquote { - border-left: 1px solid #eee; - padding-left: 15px; - color: #666; -} - -.mform fieldset { - border-color: #eee; -} - -.mform fieldset legend { - color: #555; - font-weight: normal; - font-size: 1.2em; - border: 1px solid #eee; - padding: 2px 5px; - background: #fff; -} - -.mform .btn-cancel { - color: #06365B; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #5487AD; - text-decoration: none; -} - -div.navbar { - border-bottom: 1px solid #eee; - border-top: 1px solid #eee; - background: #fafafa url([[pix:theme|block]]) no-repeat; - background-position: 100% 0%; - font-size: 0.85em; - font-style: italic; - font-weight: 200; - padding:0 10px; - margin-bottom: 7px; -} - -div.breadcrumb li { - line-height: 30px; - font-family: Georgia, serif; -} - -.breadcrumb li img { - vertical-align: middle; -} - -/** breadcrumb image replacement **/ - -div.navbar span.arrow.sep { - font-size: 1px; - color: #fafafa; - background: url([[pix:theme|crumber]]) no-repeat; - background-position: 50% 25%; - display: inline-block; - width: 16px; - height: 30px; -} - -.navbutton { - float: none; - width: 100%; - padding: 5px 0 15px; - text-align: center; -} - -/* Blocks -----------------------------*/ - -.block { - border: none; -} - -div.block { - padding: 2px; - border: 1px solid #dadada; - margin-left: -10px; -} - -#region-main div.block { - margin-left: 0px; - background-image: none; -} - -.block div.header { - min-height: 33px; - padding-top: 3px; - padding-left: 3px; -} - -div.block.hidden div.header { - border-bottom: none; -} - -.block .header h2 { - font-size: 13px; - font-weight: 200; - text-transform: uppercase; -} - -.block div.content { - background: #fff; - border: 1px solid #dadada; - border-top: none; - padding: 4px; -} - -.block div.content h1, .block div.content h2, .block div.content h3 { - font-size: 13px; - background-image: none; -} - -.block_calendar_month table.minicalendar.calendartable td,.block_calendar_month table.minicalendar.calendartable th { - border: none !important; -} - -.block_calendar_month table.minicalendar { - margin-bottom: 0px !important; -} - -.block_calendar_month table.minicalendar.calendartable th abbr { - border: none !important; - text-decoration: none; -} - - -/** main headings **/ - -.generalbox h2, h3.sectionname, div.loginpanel h2, div.signuppanel h2, div.userprofile h2, -#site-news-forum h2, #frontpage-course-list h2, #frontpage-category-names h2, #frontpage-category-combo h2 { - letter-spacing: -1px; - line-height: 1.3em; - font-size: 28px; - border-bottom: 0px solid #eee; - padding-bottom: 2px; - background: url([[pix:theme|mainbar]]) repeat-x; - background-position: 0% 100%; -} - -.generalbox h2, h3.sectionname, div.loginpanel h2, div.signuppanel h2, div.hd h3 { - font-size: 22px; - background: none; -} - - - -/* Courses -----------------------------*/ - -.coursebox { - border-color: #eee; -} - -.coursebox .content .teachers, -.coursebox .content .courseimage, -.coursebox .content .coursefile, -.coursebox.remotecoursebox .remotecourseinfo { - width: 35%; -} - -.coursebox .content .teachers { - font-size: 0.9em; - color: #888; -} - -.coursebox .content .summary, -.coursebox .content .coursecat { - width: 61%; -} - -.course-content .section.main { - border-bottom: 1px solid #eee; -} - -.course-content .section.main .content { - padding: 5px 5px 10px; -} - -.course-content .weeks .section.main .content { - margin-left: 0; -} - -.course-content .weeks .section.main .left { - display: none; -} - -.course-content .section.main.current { - background: #fffcdc; -} - -.course-content .weeks .section.main h3.weekdates { - color: #999; -} - -.course-content .current .left, -.course-content .current h3.weekdates { - color: #92310c !important; -} - -span.completionprogress { - font-size: 11px; - color: #666666; -} - -/* Forum ---------------------------*/ - -.forumpost .topic { - background: #eee url([[pix:theme|block]]) no-repeat; - background-position: 100% 0%; - border-width: 0; - border: 1px solid #dadada; - padding: 0 10px 0; -} - -.forumpost .subject { - font-size: 1.45em; - font-family: Georgia, serif; -} - -.forumpost .author { - font-size: 0.9em; - font-style: italic; -} - -td.picture.left img { - background: #fafafa; - padding: 4px; - padding-bottom: 9px; - border: 1px solid #dadada; -} - -.forumpost .content { - border-width: 0 1px 1px; - border-style: solid; - border-color: #aaa #dadada #dadada; - padding: 5px 10px 10px; -} - -/* Footer -----------------------------*/ - -#page-footer .helplink { - margin: 1em 0; -} - -/* Dock */ - -body.has_dock { - margin: 0px; -} - -.has_dock #page, .has_dock #header { - margin-left: 5%; -} - -#dock { - left: 5%; - top: 107px; - margin-left: -29px; - border-width: 0; - background-color: transparent; - position: absolute; -} - -#dock .controls { - bottom: auto; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} - -#dock .dockeditem_container { - position: relative; -} - -#dock .dockeditem.firstdockitem { - margin-top: 50px; - border-top: 1px solid #dadada; - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; -} - -#dock .dockeditem { - background-color: #fff; - padding: 2px; - padding-right: 0px; - border-left: 1px solid #dadada; - border-right: 0px solid #fafafa; - border-top: 1px solid #fafafa; -} - -#dock .dockedtitle { - border-width: 0; -} - -#dock .dockedtitle h2 { - margin: 0; - padding: 10px 3px; -} - -#dock .dockedtitle.activeitem { - color: #fff !important; - width: 35px; - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} - -#dock .dockedtitle.activeitem h2 { - color: #fff !important; -} - -#dockeditempanel { - margin-left: 0px; -} - -#dockeditempanel .dockeditempanel_content { - background-color: #fff; - margin: 0 3px; - position: relative; - min-height: 100px; - -webkit-border-radius: 3px; - -webkit-border-top-left-radius: 0; - -moz-border-radius: 3px; - -moz-border-radius-topleft: 0; - border-radius: 3px; - border-top-left-radius: 0; -} - -#dockeditempanel .dockeditempanel_hd { - border-width: 0; - padding: 2px; -} - -#dockeditempanel .dockeditempanel_hd h2 { - font-size: 0.9em; - color: #fff; -} - -/** yui menu styles **/ - -#menustuff { - width: 600px; - float: left; - clear: left; - height: 65px; -} - -#custommenu, -#custommenu .yui3-menu-content { - border-width:0; -} - -#custommenu .yui3-menu-content li a { - font-size: 14px; - font-family: Georgia, serif; - font-weight: 200; - text-transform: lowercase; - line-height: 70px; - cursor: pointer; - border-width:0; -} - -#custommenu .yui3-menu-content li li a { - line-height: 30px; - text-shadow:none; -} - -#custommenu .yui3-menu-content li a:hover { - text-decoration: underline; -} - -#custommenu .yui3-menu-content .yui3-menu-content { - background-image: url([[pix:theme|youare]]); - background-position: 30px 0; - background-repeat: no-repeat; - background-color:transparent; - margin-top:-10px; - min-width: 200px; -} - -#custommenu .yui3-menu-content .yui3-menu-content ul { - margin-top:10px; - background-color:#FFF; - border: 1px solid #dadada -} - -#custommenu .yui3-menu-content .yui3-menu-content .yui3-menu-content, -#custommenu .yui3-menu-content .yui3-menu-content .yui3-menu-content ul { - margin-top:0; - background-image:none; -} - -#custommenu .yui3-menuitem-active, -#custommenu .yui3-menuitem-active .yui3-menuitem-content { - background-color:transparent; -} - -#custommenu .yui3-menu .yui3-menu .yui3-menu-label-active, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label-menuvisible, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content { - background-color: #FFF0A5; -} - -.logininfo a { - color: #fff; -} \ No newline at end of file diff --git a/theme/brick/style/css3.css b/theme/brick/style/css3.css deleted file mode 100644 index 75fc1949c82e1..0000000000000 --- a/theme/brick/style/css3.css +++ /dev/null @@ -1,38 +0,0 @@ -#page { - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.2); - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); - box-shadow: 0 1px 3px rgba(0,0,0,0.2); -} - -div.block { - -moz-border-radius: 2px; - -webkit-border-radius: 3px; - border-radius: 2px; -} - -.block div.content { - -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.4); - -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.4); - box-shadow: inset 0 3px 7px rgba(0,0,0,.24); -} - -#dock .dockeditem, #dock .controls, #dockeditempanel .dockeditempanel_content { - -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.2); - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); - box-shadow: 0 1px 3px rgba(0,0,0,0.2); -} - -.forumpost .topic, .forumpost .content { - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -div.yui3-widget.yui3-overlay.yui3-widget-positioned.yui3-widget-stacked { - -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.2); - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); - box-shadow: 0 1px 3px rgba(0,0,0,0.2); -} \ No newline at end of file diff --git a/theme/brick/style/pagelayout.css b/theme/brick/style/pagelayout.css deleted file mode 100644 index 4911b3dfbf905..0000000000000 --- a/theme/brick/style/pagelayout.css +++ /dev/null @@ -1,134 +0,0 @@ -/********************************************************************************************* - - left column: 250px - right column: 250px - padding left/right column: 10px - padding center column: 30px - -**********************************************************************************************/ - -body { - margin: auto 0px; - width: auto; -} - -#page { - width: 100%; - overflow: hidden; -} - -#page-header { - float: left; - width: 100%; -} - -#page-content { - clear: both; - float: left; - overflow: hidden; - position: relative; - width: 100%; -} - -#page-content #region-main-box { - float: left; - margin-left: 0; - position: relative; - width: 200%; - right: 100%; -} - -#page-content #region-post-box { - float: left; - width: 100%; -} - -#page-content #region-main-wrap { - float: left; - width: 50%; -} - -#page-content #region-main { - overflow: hidden; - position: relative; - left: 100%; -} - -#page-content #region-post { - float: right; - position: relative; -} - -#page-content #region-main .region-content { - overflow: hidden; - padding: 0px 30px 20px 0; -} - -#page-content #region-post .region-content { - padding: 0px 0 20px 10px; -} - -#page-footer { - clear: both; - float: left; - width: 100%; -} - - -.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 200px; -} - -/** No blocks whatsoever **/ - -.content-only #page-content #region-main-box { - margin-left: 0px; -} - -.content-only #page-content #region-post-box { - margin-left: 0px; -} - -.content-only #page-content #region-main { - margin-left: 0px; -} - -.content-only #page-content #region-pre { - width: 0px; -} - -.content-only #page-content #region-post { - width: 0px; -} - -#page-content #region-post-box { - margin-left: -250px; -} - -#page-content #region-main { - margin-left: 250px; -} - -#page-content #region-post { - left: 250px; - width: 250px; -} - -.pagelayout-report #page-content #region-main {overflow:auto;} -.pagelayout-report #page-content #region-main .region-content {overflow:visible;} - -.core_media_preview #page { - width: 100%; - min-width: 0; - margin: 0; - padding: 0; -} - -body#page-lib-editor-tinymce-plugins-moodlemedia-preview { - width: 422px; - padding: 0px; - background: none; -} -.core_media_preview.pagelayout-embedded .mediaplugin { - margin: 5px; -} diff --git a/theme/brick/version.php b/theme/brick/version.php deleted file mode 100644 index 9520415de84f9..0000000000000 --- a/theme/brick/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_brick - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_brick'; // Full name of the plugin (used for diagnostics) -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/formal_white/config.php b/theme/formal_white/config.php deleted file mode 100644 index 8492698920438..0000000000000 --- a/theme/formal_white/config.php +++ /dev/null @@ -1,256 +0,0 @@ -. - -/** - * Configuration for Moodle's nonzero theme. - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_formal_white - * @copyright 2013 Mediatouch 2000, mediatouch.it - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die(); - -$THEME->name = 'formal_white'; -// ////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -// ////////////////////////////////////////////////// - - -$THEME->parents = array('canvas', 'base'); -// /////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -// ////////////////////////////////////////////////// - - -$THEME->parents_exclude_sheets = array( - 'canvas'=>array( - 'pagelayout', - 'tabs', - 'tables', - ), -); -// ////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -// ////////////////////////////////////////////////// - - -$THEME->sheets = array('frame' , 'menu', 'course', - 'pagelayout', 'core', 'calendar', - 'tabs' , 'quiz', 'forum', - 'block' , 'formal_white'); -// ////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -// ////////////////////////////////////////////////// - - -$THEME->enable_dock = true; -// ////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -// ////////////////////////////////////////////////// - - -$THEME->editor_sheets = array('editor'); -// ////////////////////////////////////////////////// -// An array of stylesheets to include within the -// body of the editor. -// ////////////////////////////////////////////////// - - -$THEME->layouts = array( - 'base' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - // Pages that appear in pop-up windows - no navigation, no blocks, no header. - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - // No blocks and minimal footer - used for legacy frame layouts only! - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - // Embeded pages, like iframe embeded in moodleform (chat) - 'embedded' => array( - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // Used during upgrade and install, and for the 'This site is undergoing maintenance' message. - // This must not have any blocks, and it is good idea if it does not have links to - // other places - for example there should not be a home link in the footer... - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - 'report' => array( - 'file' => 'report.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), -); -// ///////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. -// ///////////////////////////////////////////////////////////// - - -$THEME->csspostprocess = 'formal_white_user_settings'; -// ////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -// ////////////////////////////////////////////////// - - -// $THEME->javascripts -// ////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -// ////////////////////////////////////////////////// - - -// $THEME->javascripts_footer -// ////////////////////////////////////////////////// -// As above but will be included in the page footer. -// ////////////////////////////////////////////////// - - -// $THEME->larrow = "<"; -// ////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -// ////////////////////////////////////////////////// - - -// $THEME->rarrow = ">"; -// ////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -// ////////////////////////////////////////////////// - - -// $THEME->layouts -// ////////////////////////////////////////////////// -// An array setting the layouts for the theme -// ////////////////////////////////////////////////// - - -// $THEME->parents_exclude_javascripts -// ////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -// ////////////////////////////////////////////////// - - -// $THEME->parents_exclude_sheets -// ////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -// ////////////////////////////////////////////////// - - -// $THEME->plugins_exclude_sheets -// ////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -// ////////////////////////////////////////////////// - - -// $THEME->rendererfactory -// ////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -// ////////////////////////////////////////////////// \ No newline at end of file diff --git a/theme/formal_white/db/install.php b/theme/formal_white/db/install.php deleted file mode 100644 index 32e88efcd42ad..0000000000000 --- a/theme/formal_white/db/install.php +++ /dev/null @@ -1,51 +0,0 @@ -. - -/** - * formal_white module upgrade code - * - * This file keeps track of upgrades to - * the theme plugin - * - * Sometimes, changes between versions involve - * alterations to database structures and other - * major things that may lose the effort they've put - * into customising and setting up your theme. - * - * The upgrade function in this file will attempt - * to perform all the necessary actions to upgrade - * your older installation to the current version. - * - * If there's something it cannot do itself, it - * will tell you what you need to do. - * - * The commands in here will all be database-neutral, - * using the methods of database_manager class - * - * Please do not forget to use upgrade_set_timeout() - * before any action that may take longer time to finish. - * - * @package theme_formal_white - * @copyright Mediatouch 2000 (http://mediatouch.it/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die(); - -function xmldb_theme_formal_white_install() { - - return true; -} diff --git a/theme/formal_white/db/upgrade.php b/theme/formal_white/db/upgrade.php deleted file mode 100644 index dfc3d1008b528..0000000000000 --- a/theme/formal_white/db/upgrade.php +++ /dev/null @@ -1,91 +0,0 @@ -. - -/** - * formal_white module upgrade code - * - * This file keeps track of upgrades to - * the theme plugin - * - * Sometimes, changes between versions involve - * alterations to database structures and other - * major things that may lose the effort they've put - * into customising and setting up your theme. - * - * The upgrade function in this file will attempt - * to perform all the necessary actions to upgrade - * your older installation to the current version. - * - * If there's something it cannot do itself, it - * will tell you what you need to do. - * - * The commands in here will all be database-neutral, - * using the methods of database_manager class - * - * Please do not forget to use upgrade_set_timeout() - * before any action that may take longer time to finish. - * - * @package theme_formal_white - * @copyright Mediatouch 2000 (http://mediatouch.it/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die(); - -function xmldb_theme_formal_white_upgrade($oldversion) { - - // Moodle v2.2.0 release upgrade line - // Put any upgrade step following this - - if ($oldversion < 2012051503) { - $currentsetting = get_config('theme_formal_white'); - - if (isset($currentsetting->displaylogo)) { // useless but safer - // Create a new config setting called headercontent and give it the current displaylogo value. - set_config('headercontent', $currentsetting->displaylogo, 'theme_formal_white'); - unset_config('displaylogo', 'theme_formal_white'); - } - - if (isset($currentsetting->logo)) { // useless but safer - // Create a new config setting called headercontent and give it the current displaylogo value. - set_config('customlogourl', $currentsetting->logo, 'theme_formal_white'); - unset_config('logo', 'theme_formal_white'); - } - - if (isset($currentsetting->frontpagelogo)) { // useless but safer - // Create a new config setting called headercontent and give it the current displaylogo value. - set_config('frontpagelogourl', $currentsetting->frontpagelogo, 'theme_formal_white'); - unset_config('frontpagelogo', 'theme_formal_white'); - } - - upgrade_plugin_savepoint(true, 2012051503, 'theme', 'formal_white'); - } - - // Moodle v2.3.0 release upgrade line - // Put any upgrade step following this - - // Moodle v2.4.0 release upgrade line - // Put any upgrade step following this - - // Moodle v2.5.0 release upgrade line. - // Put any upgrade step following this. - - - // Moodle v2.6.0 release upgrade line. - // Put any upgrade step following this. - - return true; -} \ No newline at end of file diff --git a/theme/formal_white/lang/en/theme_formal_white.php b/theme/formal_white/lang/en/theme_formal_white.php deleted file mode 100644 index 2285e63e79bcb..0000000000000 --- a/theme/formal_white/lang/en/theme_formal_white.php +++ /dev/null @@ -1,109 +0,0 @@ -. - -/** - * Moodle's formal_white theme, an example of how to make a Bootstrap theme - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_formal_white - * @copyright 2013 Mediatouch 2000, mediatouch.it - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['blockcolumnwidth'] = 'Blocks column width'; -$string['blockcolumnwidthdesc'] = 'This sets the blocks column width for the theme. If width is lower than 200px (blockcolumnwidth-2*blockpadding), the calendar block is not able to fit.'; -$string['blockcontentbgc'] = 'Blocks content background colour'; -$string['blockcontentbgcdesc'] = 'This sets the blocks content background colour for the theme.'; -$string['blockpadding'] = 'Margin around blocks'; -$string['blockpaddingdesc'] = 'This sets the margin between each block and the containing column.'; -$string['blueberry'] = 'blueberry'; -$string['choosereadme'] = ' -
-
-

Formal White

- - -

Theme Discussion Forum:

-

http://moodle.org/mod/forum/view.php?id=46

- -

Theme Credits

-

http://docs.moodle.org/en/Theme_credits

- -

Theme Documentation:

-

http://docs.moodle.org/en/Themes

- -

Report a bug:

-

http://tracker.moodle.org

-
-
-

About

-

Formal White is a fluid-width, three-column theme ported over to 2.0 from Moodle 1.X.

-

Tweaks

-

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it, then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

-

Credits

-

This theme was coded and is maintained by MediaTouch 2000.

-

License

-

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License. -

-
'; -$string['configtitle'] = 'Formal white theme'; -$string['creditstomoodleorg'] = 'Display credits to moodle.org'; -$string['creditstomoodleorgdesc'] = 'Display the usual small moodle logo at the bottom of the page'; -$string['ctmo_ineverypage'] = 'in every page'; // ctmo == credits to moodle org -$string['ctmo_no'] = 'never'; // ctmo == credits to moodle org -$string['ctmo_onfrontpageonly'] = 'in the front page only'; // ctmo == credits to moodle org -$string['customcss'] = 'Custom CSS'; -$string['customcssdesc'] = 'Any CSS you enter here will be added to every page allowing your to easily customise this theme. For example, it is possible to change colour of links adding one or more of the following: -
a:link, a:visited, a:hover, a:active, a:focus {color:blue;}
-Please adjust colors and CSS rules to fit your needs.'; -$string['customlogourl'] = 'Custom logo'; -$string['customlogourldesc'] = 'Change the logo for this theme by entering the full or relative URL to an image you wish to use (i.e. http://www.yoursite.tld/mylogo.png or ../path/to/your/logo.png). As a reference the default logo is 200px wide, 50px high and a transparent png will work best.'; -$string['displayheading'] = 'Display page heading'; -$string['displaylogo'] = 'Display logo'; -$string['fontsizereference'] = 'Font size reference'; -$string['fontsizereferencedesc'] = 'This allows you to set the default font size for this theme. It is not recommended to set this higher than 13px as it is known to cause display problems with certain blocks.'; -$string['footnote'] = 'Footnote'; -$string['footnotedesc'] = 'The content from this textarea will be displayed in the footer of every page.'; -$string['framemargin'] = 'Frame margin'; -$string['framemargindesc'] = 'Room between the frame and the edge of the browser window. (This setting will be ignored if "{$a}" is requested).'; -$string['frontpagelogourl'] = 'Custom front page logo'; -$string['frontpagelogourldesc'] = 'Change the logo that is displayed on the front page of your site by entering the full or relative URL to the image you wish to use (i.e. http://www.yoursite.tld/myfrontpagelogo.png or ../path/to/your/logo.png). This setting overrides the custom logo setting. As a reference the default logo is 300px wide, 80px high and a transparent png will work best.'; -$string['headerbgc'] = 'Header background colour'; -$string['headerbgcdesc'] = 'This sets the blocks header background colour for the theme.'; -$string['headercontent'] = 'Header content'; -$string['headercontentdesc'] = 'Choose whether display moodle logo or page heading text in the header.'; -$string['lblockcolumnbgc'] = 'Left column background colour'; -$string['lblockcolumnbgcdesc'] = 'This sets the left column background colour for the theme.'; -$string['lemon'] = 'lemon'; -$string['lime'] = 'lime'; -$string['mink'] = 'mink'; -$string['noframe'] = 'Formal white 1.9 look'; -$string['noframedesc'] = 'Select this option to require your moodle page to look like moodle 1.*, alias, without the surrounding frame.'; -$string['orange'] = 'orange'; -$string['peach'] = 'peach'; -$string['pluginname'] = 'Formal white'; -$string['rblockcolumnbgc'] = 'Right column background colour'; -$string['rblockcolumnbgcdesc'] = 'This sets the right column background colour for the theme. If you leave this empty the left column background colour will be used.'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['silver'] = 'silver'; -$string['trendcolor'] = 'Trend color'; -$string['trendcolordesc'] = 'Choose the general trend for the color of the theme.'; diff --git a/theme/formal_white/layout/embedded.php b/theme/formal_white/layout/embedded.php deleted file mode 100644 index 325bcb755017e..0000000000000 --- a/theme/formal_white/layout/embedded.php +++ /dev/null @@ -1,65 +0,0 @@ -. - -/** - * Moodle's formal_white theme - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_formal_white - * @copyright 2013 Mediatouch 2000, mediatouch.it - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die(); - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html(); ?> - -
-
-
-
- - -
-
-
- main_content() ?> -
-
-
- - -
-
-
-
- -standard_end_of_body_html(); ?> - - \ No newline at end of file diff --git a/theme/formal_white/layout/frontpage.php b/theme/formal_white/layout/frontpage.php deleted file mode 100644 index 30e173fa7141f..0000000000000 --- a/theme/formal_white/layout/frontpage.php +++ /dev/null @@ -1,257 +0,0 @@ -. - -/** - * Moodle's formal_white theme - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_formal_white - * @copyright 2013 Mediatouch 2000, mediatouch.it - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ -defined('MOODLE_INTERNAL') || die(); - -$hasheading = $PAGE->heading; -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); - -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$showsidepre = $hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT); -$showsidepost = $hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} - -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -/************************************************************************************************/ -if (!empty($PAGE->theme->settings->frontpagelogourl)) { - $logourl = $PAGE->theme->setting_file_url('frontpagelogourl', 'frontpagelogourl'); -} else if (!empty($PAGE->theme->settings->customlogourl)) { - $logourl = $PAGE->theme->setting_file_url('customlogourl', 'customlogourl'); -} else { - $logourl = $OUTPUT->pix_url('logo', 'theme'); -} - -$hasframe = !isset($PAGE->theme->settings->noframe) || !$PAGE->theme->settings->noframe; - -$displaylogo = !isset($PAGE->theme->settings->headercontent) || $PAGE->theme->settings->headercontent; -/************************************************************************************************/ - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - standard_top_of_body_html(); ?> -
- - -
-
-
-
 
-
-
-
-
- - - - - - - - - - -
- - - - - - - - - - -
-
-
- - -
-
-
- main_content() ?> -
-
-
- - - - - -
-
- blocks_for_region('side-pre') ?> -
-
- - - - - -
-
- blocks_for_region('side-post') ?> -
-
- - - -
-
-
- - -
- - -
-
-
-
-
 
-
-
-
- - - - - - -
- - - echo $OUTPUT->standard_end_of_body_html(); ?> - - \ No newline at end of file diff --git a/theme/formal_white/layout/general.php b/theme/formal_white/layout/general.php deleted file mode 100644 index 5ab1a81971941..0000000000000 --- a/theme/formal_white/layout/general.php +++ /dev/null @@ -1,288 +0,0 @@ -. - -/** - * Moodle's formal_white theme - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_formal_white - * @copyright 2013 Mediatouch 2000, mediatouch.it - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die(); - -$hasheading = $PAGE->heading; -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); - -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$showsidepre = $hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT); -$showsidepost = $hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} - -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -/************************************************************************************************/ -if (!empty($PAGE->theme->settings->customlogourl)) { - $logourl = $PAGE->theme->setting_file_url('customlogourl', 'customlogourl'); -} else { - $logourl = $OUTPUT->pix_url('logo_small', 'theme'); -} - -$hasframe = !isset($PAGE->theme->settings->noframe) || !$PAGE->theme->settings->noframe; - -$displaylogo = !isset($PAGE->theme->settings->headercontent) || $PAGE->theme->settings->headercontent; -/************************************************************************************************/ - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - standard_top_of_body_html(); ?> -
- - -
-
-
-
 
-
-
-
-
- - - - - - - - - - -
- - - - - -
- - - - - - - - - - -
-
-
- - -
-
-
- - main_content() ?> - -
-
-
- - - - -
-
- blocks_for_region('side-pre') ?> -
-
- - - - - -
-
- blocks_for_region('side-post') ?> -
-
- - - -
-
-
- - - - - - - -
- - -
-
-
-
-
 
-
-
-
- - - - - - -
- - - echo $OUTPUT->standard_end_of_body_html(); ?> - - \ No newline at end of file diff --git a/theme/formal_white/layout/report.php b/theme/formal_white/layout/report.php deleted file mode 100644 index e30a8121d5cf6..0000000000000 --- a/theme/formal_white/layout/report.php +++ /dev/null @@ -1,257 +0,0 @@ -. - -/** - * Moodle's formal_white theme - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_formal_white - * @copyright 2013 Mediatouch 2000, mediatouch.it - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die(); - -$hasheading = $PAGE->heading; -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); - -$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT)); -$haslogininfo = (empty($PAGE->layout_options['nologininfo'])); - -$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if (!$showsidepre) { - $bodyclasses[] = 'content-only'; -} - -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -/************************************************************************************************/ -if (!empty($PAGE->theme->settings->customlogourl)) { - $logourl = $PAGE->theme->setting_file_url('customlogourl', 'customlogourl'); -} else { - $logourl = $OUTPUT->pix_url('logo_small', 'theme'); -} - -$hasframe = !isset($PAGE->theme->settings->noframe) || !$PAGE->theme->settings->noframe; - -$displaylogo = !isset($PAGE->theme->settings->headercontent) || $PAGE->theme->settings->headercontent; -/************************************************************************************************/ - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - standard_top_of_body_html(); ?> -
- - -
-
-
-
 
-
-
-
-
- - - - - - - - - - -
- - - - - -
- - - - - - - - - - -
- - -
-
- - main_content() ?> - -
-
- - - - -
-
-
- blocks_for_region('side-pre') ?> -
-
-
- - - -
- - - - - - - - -
- - -
-
-
-
-
 
-
-
-
- - - - - - -
- - - echo $OUTPUT->standard_end_of_body_html(); ?> - - diff --git a/theme/formal_white/lib.php b/theme/formal_white/lib.php deleted file mode 100644 index 88ddc9590f702..0000000000000 --- a/theme/formal_white/lib.php +++ /dev/null @@ -1,368 +0,0 @@ -. - -/** - * Moodle's formal_white theme - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_formal_white - * @copyright 2013 Mediatouch 2000, mediatouch.it - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die(); - -/** - * Makes our changes to the CSS - * - * @param string $css - * @param theme_config $theme - * @return string - */ -function formal_white_user_settings($css, $theme) { - - // Set the font reference size - if (empty($theme->settings->fontsizereference)) { - $fontsizereference = '13'; // default - } else { - $fontsizereference = $theme->settings->fontsizereference; - } - $css = formal_white_set_fontsizereference($css, $fontsizereference); - - // Set the frame margin - if (!isset($theme->settings->framemargin)) { - $framemargin = 15; // default - } else { - $framemargin = $theme->settings->framemargin; - } - $css = formal_white_set_framemargin($css, $framemargin); - - // Set the images according to color trend - if (!isset($theme->settings->trendcolor)) { - $trendcolor = 'mink'; // default - } else { - $trendcolor = $theme->settings->trendcolor; - } - $css = formal_white_set_trendcolor($css, $trendcolor); - - // Set the page header background color - if (empty($theme->settings->headerbgc)) { - $headerbgc = '#E3DFD4'; // default - } else { - $headerbgc = $theme->settings->headerbgc; - } - $css = formal_white_set_headerbgc($css, $headerbgc); - - // Set the block content background color - if (empty($theme->settings->blockcontentbgc)) { - $blockcontentbgc = '#F6F6F6'; // default - } else { - $blockcontentbgc = $theme->settings->blockcontentbgc; - } - $css = formal_white_set_blockcontentbgc($css, $blockcontentbgc); - - // Set the left block column background color - if (empty($theme->settings->lblockcolumnbgc)) { - $lblockcolumnbgc = '#E3DFD4'; // default - } else { - $lblockcolumnbgc = $theme->settings->lblockcolumnbgc; - } - $css = formal_white_set_lblockcolumnbgc($css, $lblockcolumnbgc); - - // Set the right block column background color - if (empty($theme->settings->rblockcolumnbgc)) { - $rblockcolumnbgc = $lblockcolumnbgc; // default - } else { - $rblockcolumnbgc = $theme->settings->rblockcolumnbgc; - } - $css = formal_white_set_rblockcolumnbgc($css, $rblockcolumnbgc); - - // set the width of the two blocks columns - if (!empty($theme->settings->blockcolumnwidth)) { - $blockcolumnwidth = $theme->settings->blockcolumnwidth; - } else { - $blockcolumnwidth = '200'; // default - } - $css = formal_white_set_blockcolumnwidth($css, $blockcolumnwidth); - - // set blocks margin - if (!empty($theme->settings->blockpadding)) { - $blockpadding = $theme->settings->blockpadding; - } else { - $blockpadding = '8'; // default - } - $css = formal_white_set_blockpadding($css, $blockcolumnwidth, $blockpadding); - - // set the customcss - if (!empty($theme->settings->customcss)) { - $customcss = $theme->settings->customcss; - } else { - $customcss = null; - } - $css = formal_white_set_customcss($css, $customcss); - - return $css; -} - -/** - * Sets the link color variable in CSS - * - */ -function formal_white_set_fontsizereference($css, $fontsizereference) { - $tag = '[[setting:fontsizereference]]'; - $css = str_replace($tag, $fontsizereference.'px', $css); - return $css; -} - -function formal_white_set_framemargin($css, $framemargin) { - $tag = '[[setting:framemargin]]'; - $css = str_replace($tag, $framemargin.'px', $css); - - // Set .headermenu margin - $calculated = $framemargin + 22; // 17px is the width of the frame; 5px to avoid to have all stuck - $tag = '[[calculated:headermenumargin]]'; - $css = str_replace($tag, $calculated.'px', $css); - - return $css; -} - -function formal_white_set_trendcolor($css, $trendcolor) { - // __setting_trendcolor__ is part of URLS so it is already between double square bracket. - // I can not enclose it between double square bracket once again otherwise images path parser get confused. - $tag = urlencode('__setting_trendcolor__'); // urlencode is useless but it is correct to put it here - $css = str_replace($tag, $trendcolor, $css); - - // of the basis of the general choosed trend, I need some colour definition. - switch ($trendcolor) { - case 'blueberry': - // .courses .coursebox - $tag = '[[setting:hovercolor]]'; - $css = str_replace($tag, '#CEE5FD', $css); - - // page background - $tag = '[[setting:pagebackground]]'; - $css = str_replace($tag, '#DAF1FF', $css); - - // block header background - $tag = '[[setting:blockheaderbackground]]'; - $css = str_replace($tag, '#CDE2F3', $css); - break; - case 'lemon': - // .courses .coursebox - $tag = '[[setting:hovercolor]]'; - $css = str_replace($tag, '#FFEA68', $css); - - // page background - $tag = '[[setting:pagebackground]]'; - $css = str_replace($tag, '#FFEB9A', $css); - - // block header background - $tag = '[[setting:blockheaderbackground]]'; - $css = str_replace($tag, '#F7DA41', $css); - break; - case 'lime': - // .courses .coursebox - $tag = '[[setting:hovercolor]]'; - $css = str_replace($tag, '#EBEDB1', $css); - - // page background - $tag = '[[setting:pagebackground]]'; - $css = str_replace($tag, '#F0F5BB', $css); - - // block header background - $tag = '[[setting:blockheaderbackground]]'; - $css = str_replace($tag, '#E2E499', $css); - break; - case 'mink': - // .courses .coursebox - $tag = '[[setting:hovercolor]]'; - $css = str_replace($tag, '#E3DFD4', $css); - - // page background - $tag = '[[setting:pagebackground]]'; - $css = str_replace($tag, '#EFEFEF', $css); - - // block header background - $tag = '[[setting:blockheaderbackground]]'; - $css = str_replace($tag, '#E3DFD4', $css); - break; - case 'orange': - // .courses .coursebox - $tag = '[[setting:hovercolor]]'; - $css = str_replace($tag, '#FFCF88', $css); - - // page background - $tag = '[[setting:pagebackground]]'; - $css = str_replace($tag, '#FFD46C', $css); - - // block header background - $tag = '[[setting:blockheaderbackground]]'; - $css = str_replace($tag, '#FDC06D', $css); - break; - case 'peach': - // .courses .coursebox - $tag = '[[setting:hovercolor]]'; - $css = str_replace($tag, '#FFCEB8', $css); - - // page background - $tag = '[[setting:pagebackground]]'; - $css = str_replace($tag, '#FCD3BC', $css); - - // block header background - $tag = '[[setting:blockheaderbackground]]'; - $css = str_replace($tag, '#F7C099', $css); - break; - case 'silver': - // .courses .coursebox - $tag = '[[setting:hovercolor]]'; - $css = str_replace($tag, '#E0DFDD', $css); - - // page background - $tag = '[[setting:pagebackground]]'; - $css = str_replace($tag, '#EFF0F2', $css); - - // block header background - $tag = '[[setting:blockheaderbackground]]'; - $css = str_replace($tag, '#E0DFDD', $css); - break; - default: - debugging('It seems a colour has been added to the formal_white trend colours folder but was not fully managed. The code must be updated by a developer.'); - } - return $css; -} - -function formal_white_set_headerbgc($css, $headerbgc) { - $tag = '[[setting:headerbgc]]'; - $css = str_replace($tag, $headerbgc, $css); - return $css; -} - -function formal_white_set_blockcontentbgc($css, $blockcontentbgc) { - $tag = '[[setting:blockcontentbgc]]'; - $css = str_replace($tag, $blockcontentbgc, $css); - return $css; -} - -function formal_white_set_lblockcolumnbgc($css, $lblockcolumnbgc) { - $tag = '[[setting:lblockcolumnbgc]]'; - $css = str_replace($tag, $lblockcolumnbgc, $css); - return $css; -} - -function formal_white_set_rblockcolumnbgc($css, $rblockcolumnbgc) { - $tag = '[[setting:rblockcolumnbgc]]'; - $css = str_replace($tag, $rblockcolumnbgc, $css); - return $css; -} - -function formal_white_set_blockcolumnwidth($css, $blockcolumnwidth) { - $tag = '[[setting:blockcolumnwidth]]'; - $css = str_replace($tag, $blockcolumnwidth.'px', $css); - - $calculated = -2*$blockcolumnwidth; - $tag = '[[calculated:minusdoubleblockcolumnwidth]]'; - $css = str_replace($tag, $calculated.'px', $css); - - $calculated = 2*$blockcolumnwidth; - $tag = '[[calculated:doubleblockcolumnwidth]]'; - $css = str_replace($tag, $calculated.'px', $css); - - // set the min-width of the page to provide: content region min-width = block region width - // I do not care $framemargin because the min-width applies to #frametop that is free from $framemargin - // I need to add twice the width of the frame because it is inside #frametop - // (this code here because it HAS TO come later than $blockcolumnwidth definition) - $calculated = 3*$blockcolumnwidth + 34; // 34 = 2*17 (17px is the width of the frame) - $tag = '[[calculated:minwidth]]'; - $css = str_replace($tag, $calculated.'px', $css); - - return $css; -} - -function formal_white_set_blockpadding($css, $blockcolumnwidth, $blockpadding) { - $tag = '[[setting:blockpadding]]'; - $css = str_replace($tag, $blockpadding.'px', $css); - - // I need to know the field width in pixel because width:100%; and width:auto; don't work as expected - // once $blockcolumnwidth and $blockpadding are known, $lb_fieldswidth can be applied - // the process has not been optimized at all but it is executed only once - $lb_fieldswidth = $blockcolumnwidth; - - // #page-content .region-content {padding:[[setting:blockpadding]] [[setting:blockpadding]] 0 [[setting:blockpadding]];} in pagelayout.css - $lb_fieldswidth -= 2*$blockpadding; - - // .block {border:[[static:lb_blockborderwidth]] solid #C6BDA8; [...] } - $lb_fieldsborderwidth = 1; - $tag = '[[static:lb_blockborderwidth]]'; // It is static, it is not a setting. I just hardcoded its definition here. - $css = str_replace($tag, $lb_fieldsborderwidth.'px', $css); - $lb_fieldswidth -= 2*$lb_fieldsborderwidth; - - // .block_login .content {padding:[[static:lb_contentpadding]];} - $lb_fieldspadding = 4; - $tag = '[[static:lb_contentpadding]]'; // It is static, it is not a setting. I just hardcoded its definition here. - $css = str_replace($tag, $lb_fieldspadding.'px', $css); - $lb_fieldswidth -= 2*$lb_fieldspadding; - - // .block_login #login_username, .block_login #login_password {margin:4px 0 4px [[static:lb_fieldsmargin]];} - $lb_fieldsmargin = 14; - $tag = '[[static:lb_fieldsmargin]]'; // It is static, it is not a setting. I just hardcoded its definition here. - $css = str_replace($tag, $lb_fieldsmargin.'px', $css); - $lb_fieldswidth -= $lb_fieldsmargin; // without 2* because it is only left margin - - // fields default factory border: 3px - $lb_fieldswidth -= 2*3; - - // leave few pixel on the right reducing once again the field length - $lb_fieldswidth -= 12; - - $tag = '[[static:lb_fieldswidth]]'; - $css = str_replace($tag, $lb_fieldswidth.'px', $css); - return $css; -} - -function formal_white_set_customcss($css, $customcss) { - $tag = '[[setting:customcss]]'; - $css = str_replace($tag, $customcss, $css); - return $css; -} - -/** - * Serves formal white files. - * - * @param stdClass $course - * @param stdClass $cm - * @param context $context - * @param string $filearea - * @param type $args - * @param array $forcedownload - * @param array $options - * @return bool - */ -function theme_formal_white_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options = array()) { - if ($context->contextlevel == CONTEXT_SYSTEM and $filearea === 'customlogourl') { - $theme = theme_config::load('formal_white'); - return $theme->setting_file_serve('customlogourl', $args, $forcedownload, $options); - } else if ($context->contextlevel == CONTEXT_SYSTEM and $filearea === 'frontpagelogourl') { - $theme = theme_config::load('formal_white'); - return $theme->setting_file_serve('frontpagelogourl', $args, $forcedownload, $options); - } else { - send_file_not_found(); - } -} \ No newline at end of file diff --git a/theme/formal_white/pix/favicon.ico b/theme/formal_white/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/formal_white/pix/favicon.ico and /dev/null differ diff --git a/theme/formal_white/pix/logo.png b/theme/formal_white/pix/logo.png deleted file mode 100644 index ba83ab8edaffa..0000000000000 Binary files a/theme/formal_white/pix/logo.png and /dev/null differ diff --git a/theme/formal_white/pix/logo_small.png b/theme/formal_white/pix/logo_small.png deleted file mode 100644 index 62bfc740b7afe..0000000000000 Binary files a/theme/formal_white/pix/logo_small.png and /dev/null differ diff --git a/theme/formal_white/pix/screenshot.gif b/theme/formal_white/pix/screenshot.gif deleted file mode 100644 index a9f98d0b58bfc..0000000000000 Binary files a/theme/formal_white/pix/screenshot.gif and /dev/null differ diff --git a/theme/formal_white/pix/tab/left.gif b/theme/formal_white/pix/tab/left.gif deleted file mode 100644 index 48b6628891308..0000000000000 Binary files a/theme/formal_white/pix/tab/left.gif and /dev/null differ diff --git a/theme/formal_white/pix/tab/left_active.gif b/theme/formal_white/pix/tab/left_active.gif deleted file mode 100644 index bd72d635568f9..0000000000000 Binary files a/theme/formal_white/pix/tab/left_active.gif and /dev/null differ diff --git a/theme/formal_white/pix/tab/left_active_hover.gif b/theme/formal_white/pix/tab/left_active_hover.gif deleted file mode 100644 index f1af440a15fdc..0000000000000 Binary files a/theme/formal_white/pix/tab/left_active_hover.gif and /dev/null differ diff --git a/theme/formal_white/pix/tab/left_hover.gif b/theme/formal_white/pix/tab/left_hover.gif deleted file mode 100644 index ea8c9705ed139..0000000000000 Binary files a/theme/formal_white/pix/tab/left_hover.gif and /dev/null differ diff --git a/theme/formal_white/pix/tab/right.gif b/theme/formal_white/pix/tab/right.gif deleted file mode 100644 index feddbb73d55bf..0000000000000 Binary files a/theme/formal_white/pix/tab/right.gif and /dev/null differ diff --git a/theme/formal_white/pix/tab/right_active.gif b/theme/formal_white/pix/tab/right_active.gif deleted file mode 100644 index ad87b27a4ee58..0000000000000 Binary files a/theme/formal_white/pix/tab/right_active.gif and /dev/null differ diff --git a/theme/formal_white/pix/tab/right_active_hover.gif b/theme/formal_white/pix/tab/right_active_hover.gif deleted file mode 100644 index c8b2883d53875..0000000000000 Binary files a/theme/formal_white/pix/tab/right_active_hover.gif and /dev/null differ diff --git a/theme/formal_white/pix/tab/right_end.gif b/theme/formal_white/pix/tab/right_end.gif deleted file mode 100644 index 2cb44de6c571a..0000000000000 Binary files a/theme/formal_white/pix/tab/right_end.gif and /dev/null differ diff --git a/theme/formal_white/pix/tab/right_hover.gif b/theme/formal_white/pix/tab/right_hover.gif deleted file mode 100644 index 301b3f670862b..0000000000000 Binary files a/theme/formal_white/pix/tab/right_hover.gif and /dev/null differ diff --git a/theme/formal_white/pix/tab/right_last.gif b/theme/formal_white/pix/tab/right_last.gif deleted file mode 100644 index dd346f6c52692..0000000000000 Binary files a/theme/formal_white/pix/tab/right_last.gif and /dev/null differ diff --git a/theme/formal_white/pix/tab/rtlbg.gif b/theme/formal_white/pix/tab/rtlbg.gif deleted file mode 100644 index ba7831333af59..0000000000000 Binary files a/theme/formal_white/pix/tab/rtlbg.gif and /dev/null differ diff --git a/theme/formal_white/pix/tab/tabrow1.gif b/theme/formal_white/pix/tab/tabrow1.gif deleted file mode 100644 index db1ffa66c4730..0000000000000 Binary files a/theme/formal_white/pix/tab/tabrow1.gif and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/bg_bread.jpg b/theme/formal_white/pix/trend/blueberry/bg_bread.jpg deleted file mode 100644 index 87cb9f793edc9..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/bg_bread.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/blueberry.jpg b/theme/formal_white/pix/trend/blueberry/blueberry.jpg deleted file mode 100644 index f97448d68f0a4..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/blueberry.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/custommenubg.jpg b/theme/formal_white/pix/trend/blueberry/custommenubg.jpg deleted file mode 100644 index ad8b7609f9095..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/custommenubg.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/gradient-sb.jpg b/theme/formal_white/pix/trend/blueberry/gradient-sb.jpg deleted file mode 100644 index 81bfb5aaee8f9..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/gradient-sb.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/gradient_h.jpg b/theme/formal_white/pix/trend/blueberry/gradient_h.jpg deleted file mode 100644 index 833b9b3e6d8f0..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/gradient_h.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/hgradient.jpg b/theme/formal_white/pix/trend/blueberry/hgradient.jpg deleted file mode 100644 index 7dbeef9e7ba08..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/hgradient.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/roundcorner/body_l.jpg b/theme/formal_white/pix/trend/blueberry/roundcorner/body_l.jpg deleted file mode 100644 index 6fc7950b19383..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/roundcorner/body_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/roundcorner/body_r.jpg b/theme/formal_white/pix/trend/blueberry/roundcorner/body_r.jpg deleted file mode 100644 index b43edf0007ed3..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/roundcorner/body_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/roundcorner/footer.jpg b/theme/formal_white/pix/trend/blueberry/roundcorner/footer.jpg deleted file mode 100644 index 47e82bd744e27..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/roundcorner/footer.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/roundcorner/footer_l.jpg b/theme/formal_white/pix/trend/blueberry/roundcorner/footer_l.jpg deleted file mode 100644 index a773b1e27b761..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/roundcorner/footer_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/roundcorner/footer_r.jpg b/theme/formal_white/pix/trend/blueberry/roundcorner/footer_r.jpg deleted file mode 100644 index 2e6a04e25f162..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/roundcorner/footer_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/roundcorner/header.jpg b/theme/formal_white/pix/trend/blueberry/roundcorner/header.jpg deleted file mode 100644 index ac0d6ca097442..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/roundcorner/header.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/roundcorner/header_l.jpg b/theme/formal_white/pix/trend/blueberry/roundcorner/header_l.jpg deleted file mode 100644 index 98c1bb47de241..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/roundcorner/header_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/blueberry/roundcorner/header_r.jpg b/theme/formal_white/pix/trend/blueberry/roundcorner/header_r.jpg deleted file mode 100644 index fc1db80cf883b..0000000000000 Binary files a/theme/formal_white/pix/trend/blueberry/roundcorner/header_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/bg_bread.jpg b/theme/formal_white/pix/trend/lemon/bg_bread.jpg deleted file mode 100644 index d7b60ee0a098b..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/bg_bread.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/custommenubg.jpg b/theme/formal_white/pix/trend/lemon/custommenubg.jpg deleted file mode 100644 index fb449d7723081..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/custommenubg.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/gradient-sb.jpg b/theme/formal_white/pix/trend/lemon/gradient-sb.jpg deleted file mode 100644 index 45d885db7f8f5..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/gradient-sb.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/gradient_h.jpg b/theme/formal_white/pix/trend/lemon/gradient_h.jpg deleted file mode 100644 index ba73d382638ea..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/gradient_h.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/hgradient.jpg b/theme/formal_white/pix/trend/lemon/hgradient.jpg deleted file mode 100644 index 581878fb2702f..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/hgradient.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/lemon.jpg b/theme/formal_white/pix/trend/lemon/lemon.jpg deleted file mode 100644 index 066d7cba75814..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/lemon.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/roundcorner/body_l.jpg b/theme/formal_white/pix/trend/lemon/roundcorner/body_l.jpg deleted file mode 100644 index a221eda5f76ba..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/roundcorner/body_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/roundcorner/body_r.jpg b/theme/formal_white/pix/trend/lemon/roundcorner/body_r.jpg deleted file mode 100644 index 76dcc0cb5016d..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/roundcorner/body_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/roundcorner/footer.jpg b/theme/formal_white/pix/trend/lemon/roundcorner/footer.jpg deleted file mode 100644 index e57ad41828f8f..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/roundcorner/footer.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/roundcorner/footer_l.jpg b/theme/formal_white/pix/trend/lemon/roundcorner/footer_l.jpg deleted file mode 100644 index fff79dc2095df..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/roundcorner/footer_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/roundcorner/footer_r.jpg b/theme/formal_white/pix/trend/lemon/roundcorner/footer_r.jpg deleted file mode 100644 index a8a13f5316f62..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/roundcorner/footer_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/roundcorner/header.jpg b/theme/formal_white/pix/trend/lemon/roundcorner/header.jpg deleted file mode 100644 index 81ff9a982d69f..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/roundcorner/header.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/roundcorner/header_l.jpg b/theme/formal_white/pix/trend/lemon/roundcorner/header_l.jpg deleted file mode 100644 index 33facaa117cdf..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/roundcorner/header_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lemon/roundcorner/header_r.jpg b/theme/formal_white/pix/trend/lemon/roundcorner/header_r.jpg deleted file mode 100644 index 907737f3d1b2e..0000000000000 Binary files a/theme/formal_white/pix/trend/lemon/roundcorner/header_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/bg_bread.jpg b/theme/formal_white/pix/trend/lime/bg_bread.jpg deleted file mode 100644 index 423d3e64500ab..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/bg_bread.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/custommenubg.jpg b/theme/formal_white/pix/trend/lime/custommenubg.jpg deleted file mode 100644 index 325eaa763bf4a..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/custommenubg.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/gradient-sb.jpg b/theme/formal_white/pix/trend/lime/gradient-sb.jpg deleted file mode 100644 index 7774cd829128f..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/gradient-sb.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/gradient_h.jpg b/theme/formal_white/pix/trend/lime/gradient_h.jpg deleted file mode 100644 index 2f71afd9bd581..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/gradient_h.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/hgradient.jpg b/theme/formal_white/pix/trend/lime/hgradient.jpg deleted file mode 100644 index e1660e224d069..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/hgradient.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/lime.jpg b/theme/formal_white/pix/trend/lime/lime.jpg deleted file mode 100644 index 9ad27ba03d81c..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/lime.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/roundcorner/body_l.jpg b/theme/formal_white/pix/trend/lime/roundcorner/body_l.jpg deleted file mode 100644 index 1e022a3429eef..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/roundcorner/body_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/roundcorner/body_r.jpg b/theme/formal_white/pix/trend/lime/roundcorner/body_r.jpg deleted file mode 100644 index bb93d24205862..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/roundcorner/body_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/roundcorner/footer.jpg b/theme/formal_white/pix/trend/lime/roundcorner/footer.jpg deleted file mode 100644 index 737cc85445a89..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/roundcorner/footer.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/roundcorner/footer_l.jpg b/theme/formal_white/pix/trend/lime/roundcorner/footer_l.jpg deleted file mode 100644 index c48baa8d71fe6..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/roundcorner/footer_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/roundcorner/footer_r.jpg b/theme/formal_white/pix/trend/lime/roundcorner/footer_r.jpg deleted file mode 100644 index b72786cf82bfc..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/roundcorner/footer_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/roundcorner/header.jpg b/theme/formal_white/pix/trend/lime/roundcorner/header.jpg deleted file mode 100644 index e462a52bac67d..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/roundcorner/header.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/roundcorner/header_l.jpg b/theme/formal_white/pix/trend/lime/roundcorner/header_l.jpg deleted file mode 100644 index 489947301a1e0..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/roundcorner/header_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/lime/roundcorner/header_r.jpg b/theme/formal_white/pix/trend/lime/roundcorner/header_r.jpg deleted file mode 100644 index 49291206539bf..0000000000000 Binary files a/theme/formal_white/pix/trend/lime/roundcorner/header_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/bg_bread.jpg b/theme/formal_white/pix/trend/mink/bg_bread.jpg deleted file mode 100644 index a6cfe63ed51f0..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/bg_bread.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/custommenubg.jpg b/theme/formal_white/pix/trend/mink/custommenubg.jpg deleted file mode 100644 index 96825ddc1ca22..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/custommenubg.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/gradient-sb.jpg b/theme/formal_white/pix/trend/mink/gradient-sb.jpg deleted file mode 100644 index 6332f0bff26cb..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/gradient-sb.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/gradient_h.jpg b/theme/formal_white/pix/trend/mink/gradient_h.jpg deleted file mode 100644 index 13fb292b57d45..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/gradient_h.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/hgradient.jpg b/theme/formal_white/pix/trend/mink/hgradient.jpg deleted file mode 100644 index 64c352d588757..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/hgradient.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/mink.jpg b/theme/formal_white/pix/trend/mink/mink.jpg deleted file mode 100644 index e15bf69b145ae..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/mink.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/roundcorner/body_l.jpg b/theme/formal_white/pix/trend/mink/roundcorner/body_l.jpg deleted file mode 100644 index 8791eb0f047ec..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/roundcorner/body_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/roundcorner/body_r.jpg b/theme/formal_white/pix/trend/mink/roundcorner/body_r.jpg deleted file mode 100644 index fb37366f1a4a8..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/roundcorner/body_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/roundcorner/footer.jpg b/theme/formal_white/pix/trend/mink/roundcorner/footer.jpg deleted file mode 100644 index b31b101b022b6..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/roundcorner/footer.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/roundcorner/footer_l.jpg b/theme/formal_white/pix/trend/mink/roundcorner/footer_l.jpg deleted file mode 100644 index 63664d48c8d52..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/roundcorner/footer_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/roundcorner/footer_r.jpg b/theme/formal_white/pix/trend/mink/roundcorner/footer_r.jpg deleted file mode 100644 index 6931e44fc0878..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/roundcorner/footer_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/roundcorner/header.jpg b/theme/formal_white/pix/trend/mink/roundcorner/header.jpg deleted file mode 100644 index 495b0d84052ce..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/roundcorner/header.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/roundcorner/header_l.jpg b/theme/formal_white/pix/trend/mink/roundcorner/header_l.jpg deleted file mode 100644 index bdf88a8343911..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/roundcorner/header_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/mink/roundcorner/header_r.jpg b/theme/formal_white/pix/trend/mink/roundcorner/header_r.jpg deleted file mode 100644 index e9f2f3ffc62ae..0000000000000 Binary files a/theme/formal_white/pix/trend/mink/roundcorner/header_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/bg_bread.jpg b/theme/formal_white/pix/trend/orange/bg_bread.jpg deleted file mode 100644 index 8b4fea2e63233..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/bg_bread.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/custommenubg.jpg b/theme/formal_white/pix/trend/orange/custommenubg.jpg deleted file mode 100644 index 3b4f2064a9b77..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/custommenubg.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/gradient-sb.jpg b/theme/formal_white/pix/trend/orange/gradient-sb.jpg deleted file mode 100644 index 5464193d5dfb1..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/gradient-sb.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/gradient_h.jpg b/theme/formal_white/pix/trend/orange/gradient_h.jpg deleted file mode 100644 index e3467923cd55c..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/gradient_h.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/hgradient.jpg b/theme/formal_white/pix/trend/orange/hgradient.jpg deleted file mode 100644 index 74692b286768d..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/hgradient.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/orange.jpg b/theme/formal_white/pix/trend/orange/orange.jpg deleted file mode 100644 index 9aeaca1fc57ba..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/orange.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/roundcorner/body_l.jpg b/theme/formal_white/pix/trend/orange/roundcorner/body_l.jpg deleted file mode 100644 index 88c2fa5652da9..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/roundcorner/body_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/roundcorner/body_r.jpg b/theme/formal_white/pix/trend/orange/roundcorner/body_r.jpg deleted file mode 100644 index 5a6d360f23933..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/roundcorner/body_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/roundcorner/footer.jpg b/theme/formal_white/pix/trend/orange/roundcorner/footer.jpg deleted file mode 100644 index 5dca88e592bd5..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/roundcorner/footer.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/roundcorner/footer_l.jpg b/theme/formal_white/pix/trend/orange/roundcorner/footer_l.jpg deleted file mode 100644 index f1e9d5cd0b2cc..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/roundcorner/footer_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/roundcorner/footer_r.jpg b/theme/formal_white/pix/trend/orange/roundcorner/footer_r.jpg deleted file mode 100644 index 156e9f909de67..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/roundcorner/footer_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/roundcorner/header.jpg b/theme/formal_white/pix/trend/orange/roundcorner/header.jpg deleted file mode 100644 index eae91d4992544..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/roundcorner/header.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/roundcorner/header_l.jpg b/theme/formal_white/pix/trend/orange/roundcorner/header_l.jpg deleted file mode 100644 index fc60f1079fe31..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/roundcorner/header_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/orange/roundcorner/header_r.jpg b/theme/formal_white/pix/trend/orange/roundcorner/header_r.jpg deleted file mode 100644 index 96450cc539f25..0000000000000 Binary files a/theme/formal_white/pix/trend/orange/roundcorner/header_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/bg_bread.jpg b/theme/formal_white/pix/trend/peach/bg_bread.jpg deleted file mode 100644 index 00ebf85d36a4b..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/bg_bread.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/custommenubg.jpg b/theme/formal_white/pix/trend/peach/custommenubg.jpg deleted file mode 100644 index 4945882a13e01..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/custommenubg.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/gradient-sb.jpg b/theme/formal_white/pix/trend/peach/gradient-sb.jpg deleted file mode 100644 index a37b3c63d235b..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/gradient-sb.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/gradient_h.jpg b/theme/formal_white/pix/trend/peach/gradient_h.jpg deleted file mode 100644 index 9251ab2680a6f..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/gradient_h.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/hgradient.jpg b/theme/formal_white/pix/trend/peach/hgradient.jpg deleted file mode 100644 index 77949f9b94298..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/hgradient.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/peach.jpg b/theme/formal_white/pix/trend/peach/peach.jpg deleted file mode 100644 index 7e76858032d54..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/peach.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/roundcorner/body_l.jpg b/theme/formal_white/pix/trend/peach/roundcorner/body_l.jpg deleted file mode 100644 index faf688b5f73a2..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/roundcorner/body_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/roundcorner/body_r.jpg b/theme/formal_white/pix/trend/peach/roundcorner/body_r.jpg deleted file mode 100644 index 55af24c8161ef..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/roundcorner/body_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/roundcorner/footer.jpg b/theme/formal_white/pix/trend/peach/roundcorner/footer.jpg deleted file mode 100644 index 31fa072be5bb9..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/roundcorner/footer.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/roundcorner/footer_l.jpg b/theme/formal_white/pix/trend/peach/roundcorner/footer_l.jpg deleted file mode 100644 index 5dfc5bff0eb19..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/roundcorner/footer_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/roundcorner/footer_r.jpg b/theme/formal_white/pix/trend/peach/roundcorner/footer_r.jpg deleted file mode 100644 index 3ff08d62bec2a..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/roundcorner/footer_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/roundcorner/header.jpg b/theme/formal_white/pix/trend/peach/roundcorner/header.jpg deleted file mode 100644 index 130326871b056..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/roundcorner/header.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/roundcorner/header_l.jpg b/theme/formal_white/pix/trend/peach/roundcorner/header_l.jpg deleted file mode 100644 index b5e2c9702d430..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/roundcorner/header_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/peach/roundcorner/header_r.jpg b/theme/formal_white/pix/trend/peach/roundcorner/header_r.jpg deleted file mode 100644 index 8401ba3adf127..0000000000000 Binary files a/theme/formal_white/pix/trend/peach/roundcorner/header_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/bg_bread.jpg b/theme/formal_white/pix/trend/silver/bg_bread.jpg deleted file mode 100644 index a275c6a3daafa..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/bg_bread.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/custommenubg.jpg b/theme/formal_white/pix/trend/silver/custommenubg.jpg deleted file mode 100644 index 3205f89f8cd6c..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/custommenubg.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/gradient-sb.jpg b/theme/formal_white/pix/trend/silver/gradient-sb.jpg deleted file mode 100644 index 8a60ddc5eb0a8..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/gradient-sb.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/gradient_h.jpg b/theme/formal_white/pix/trend/silver/gradient_h.jpg deleted file mode 100644 index e0c9beabacd93..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/gradient_h.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/hgradient.jpg b/theme/formal_white/pix/trend/silver/hgradient.jpg deleted file mode 100644 index 9ded50c66906b..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/hgradient.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/roundcorner/body_l.jpg b/theme/formal_white/pix/trend/silver/roundcorner/body_l.jpg deleted file mode 100644 index a930d14e0bb6c..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/roundcorner/body_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/roundcorner/body_r.jpg b/theme/formal_white/pix/trend/silver/roundcorner/body_r.jpg deleted file mode 100644 index da1a0bf0f5c53..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/roundcorner/body_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/roundcorner/footer.jpg b/theme/formal_white/pix/trend/silver/roundcorner/footer.jpg deleted file mode 100644 index 0c3f1fe6f3d6c..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/roundcorner/footer.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/roundcorner/footer_l.jpg b/theme/formal_white/pix/trend/silver/roundcorner/footer_l.jpg deleted file mode 100644 index 3da58532a6821..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/roundcorner/footer_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/roundcorner/footer_r.jpg b/theme/formal_white/pix/trend/silver/roundcorner/footer_r.jpg deleted file mode 100644 index ef1a10f2c396a..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/roundcorner/footer_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/roundcorner/header.jpg b/theme/formal_white/pix/trend/silver/roundcorner/header.jpg deleted file mode 100644 index 9e4c9ea457f05..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/roundcorner/header.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/roundcorner/header_l.jpg b/theme/formal_white/pix/trend/silver/roundcorner/header_l.jpg deleted file mode 100644 index d1b6c1290ae81..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/roundcorner/header_l.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/roundcorner/header_r.jpg b/theme/formal_white/pix/trend/silver/roundcorner/header_r.jpg deleted file mode 100644 index 38711a9485d8b..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/roundcorner/header_r.jpg and /dev/null differ diff --git a/theme/formal_white/pix/trend/silver/silver.jpg b/theme/formal_white/pix/trend/silver/silver.jpg deleted file mode 100644 index ed95fb35466a3..0000000000000 Binary files a/theme/formal_white/pix/trend/silver/silver.jpg and /dev/null differ diff --git a/theme/formal_white/settings.php b/theme/formal_white/settings.php deleted file mode 100644 index 28ac5f270cc67..0000000000000 --- a/theme/formal_white/settings.php +++ /dev/null @@ -1,190 +0,0 @@ -. - -/** - * Moodle's formal_white theme - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_formal_white - * @copyright 2013 Mediatouch 2000, mediatouch.it - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -if ($ADMIN->fulltree) { - // font size reference - $name = 'theme_formal_white/fontsizereference'; - $title = get_string('fontsizereference', 'theme_formal_white'); - $description = get_string('fontsizereferencedesc', 'theme_formal_white'); - $default = '13'; - $choices = array(11=>'11px', 12=>'12px', 13=>'13px', 14=>'14px', 15=>'15px', 16=>'16px'); - $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // moodle 1.* like setting - $name = 'theme_formal_white/noframe'; - $title = get_string('noframe', 'theme_formal_white'); - $description = get_string('noframedesc', 'theme_formal_white'); - $default = '0'; - $setting = new admin_setting_configcheckbox($name, $title, $description, $default); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Frame margin - $name = 'theme_formal_white/framemargin'; - $title = get_string('framemargin', 'theme_formal_white'); - $description = get_string('framemargindesc', 'theme_formal_white', get_string('noframe', 'theme_formal_white')); - $default = '15'; - $choices = array(0=>'0px', 5=>'5px', 10=>'10px', 15=>'15px', 20=>'20px', 25=>'25px', 30=>'30px', 35=>'35px', 40=>'40px', 45=>'45px', 50=>'50px'); - $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Display logo or heading - $name = 'theme_formal_white/headercontent'; - $title = get_string('headercontent', 'theme_formal_white'); - $description = get_string('headercontentdesc', 'theme_formal_white'); - $default = '1'; - $choices = array(1=>get_string('displaylogo', 'theme_formal_white'), 0=>get_string('displayheading', 'theme_formal_white')); - $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Trend colour settings - $name = 'theme_formal_white/trendcolor'; - $title = get_string('trendcolor', 'theme_formal_white'); - $description = get_string('trendcolordesc', 'theme_formal_white'); - $default = 'mink'; - $trends = get_directory_list($CFG->dirroot.'/theme/formal_white/pix/trend/', '', false, true, false); - $choices = array(); - foreach ($trends as $trend) { - $choices[$trend] = get_string($trend, 'theme_formal_white'); - } - $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Custom site logo setting - $name = 'theme_formal_white/customlogourl'; - $title = get_string('customlogourl', 'theme_formal_white'); - $description = get_string('customlogourldesc', 'theme_formal_white'); - $setting = new admin_setting_configstoredfile($name, $title, $description, 'customlogourl'); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Custom front page site logo setting - $name = 'theme_formal_white/frontpagelogourl'; - $title = get_string('frontpagelogourl', 'theme_formal_white'); - $description = get_string('frontpagelogourldesc', 'theme_formal_white'); - $setting = new admin_setting_configstoredfile($name, $title, $description, 'frontpagelogourl'); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // page header background colour setting - $name = 'theme_formal_white/headerbgc'; - $title = get_string('headerbgc', 'theme_formal_white'); - $description = get_string('headerbgcdesc', 'theme_formal_white'); - $default = '#E3DFD4'; - $previewconfig = array('selector'=>'#page-header', 'style'=>'backgroundColor'); - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // creditstomoodleorg: ctmo - $name = 'theme_formal_white/creditstomoodleorg'; - $title = get_string('creditstomoodleorg', 'theme_formal_white'); - $description = get_string('creditstomoodleorgdesc', 'theme_formal_white'); - $default = '2'; - $choices = array(2 => get_string('ctmo_ineverypage', 'theme_formal_white'), 1 => get_string('ctmo_onfrontpageonly', 'theme_formal_white'), 0 => get_string('ctmo_no', 'theme_formal_white')); - $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Block region width - $name = 'theme_formal_white/blockcolumnwidth'; - $title = get_string('blockcolumnwidth', 'theme_formal_white'); - $description = get_string('blockcolumnwidthdesc', 'theme_formal_white'); - $default = '200'; - $choices = array(150=>'150px', 170=>'170px', 200=>'200px', 240=>'240px', 290=>'290px', 350=>'350px', 420=>'420px'); - $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Block padding - $name = 'theme_formal_white/blockpadding'; - $title = get_string('blockpadding', 'theme_formal_white'); - $description = get_string('blockpaddingdesc', 'theme_formal_white'); - $default = '8'; - $choices = array(1=>'1px', 2=>'2px', 4=>'4px', 8=>'8px', 12=>'12px', 16=>'16px'); - $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Block content background colour setting - $name = 'theme_formal_white/blockcontentbgc'; - $title = get_string('blockcontentbgc', 'theme_formal_white'); - $description = get_string('blockcontentbgcdesc', 'theme_formal_white'); - $default = '#F6F6F6'; - $previewconfig = array('selector'=>'.block .content', 'style'=>'backgroundColor'); - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Left column colour setting - $name = 'theme_formal_white/lblockcolumnbgc'; - $title = get_string('lblockcolumnbgc', 'theme_formal_white'); - $description = get_string('lblockcolumnbgcdesc', 'theme_formal_white'); - $default = '#E3DFD4'; - $previewconfig = array('selector'=>'#page-content, #page-content #region-pre, #page-content #region-post-box', 'style'=>'backgroundColor'); - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Right column colour setting - $name = 'theme_formal_white/rblockcolumnbgc'; - $title = get_string('rblockcolumnbgc', 'theme_formal_white'); - $description = get_string('rblockcolumnbgcdesc', 'theme_formal_white'); - $default = ''; - $previewconfig = array('selector'=>'#page-content #region-post-box, #page-content #region-post', 'style'=>'backgroundColor'); - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Foot note setting - $name = 'theme_formal_white/footnote'; - $title = get_string('footnote', 'theme_formal_white'); - $description = get_string('footnotedesc', 'theme_formal_white'); - $default = ''; - $setting = new admin_setting_confightmleditor($name, $title, $description, $default); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Custom CSS file - $name = 'theme_formal_white/customcss'; - $title = get_string('customcss', 'theme_formal_white'); - $description = get_string('customcssdesc', 'theme_formal_white'); - $default = ''; - $setting = new admin_setting_configtextarea($name, $title, $description, $default); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); -} diff --git a/theme/formal_white/style/block.css b/theme/formal_white/style/block.css deleted file mode 100644 index 3ba884116eeff..0000000000000 --- a/theme/formal_white/style/block.css +++ /dev/null @@ -1,48 +0,0 @@ -/*** - *** block - ***/ - -.block {border:[[static:lb_blockborderwidth]] solid #C6BDA8;margin-bottom:[[setting:blockpadding]];} -.block .header h2 {margin:0;padding-left:0.3em;} -.block .header .title {background-image:url([[pix:theme|trend/__setting_trendcolor__/gradient_h]]);background-color:[[setting:blockheaderbackground]];background-repeat:repeat-x;clear:both;line-height:2em;} -.block .header .title .commands {padding-left:0.3em;text-align:right;} -.block .content {background-color:[[setting:blockcontentbgc]];} -.block img.icon {padding-right:0.2em} - -/* block login */ -.block_login .btn {margin-top:0.5em;text-align:center;} -.block_login .content {padding:[[static:lb_contentpadding]];} /* to overwrite canvas->blocks->padding: 5px 10% 5px 0; */ -.block_login label {margin-left:0;} -.block_login #login_username, .block_login #login_password {margin:4px 0 4px [[static:lb_fieldsmargin]];} -.block_login #login_username, .block_login #login_password {width:[[static:lb_fieldswidth]];} - -/* block_navigation */ -/*.block_navigation .block_tree li.type_category.contains_branch>p span { - padding-left: 20px; - background-image: url([[pix:theme|folderopen]]); - background-repeat: no-repeat; - background-position: 0 -1px; -} - -.block_navigation .block_tree li.type_category.contains_branch.collapsed>p span { - padding-left: 20px; - background-image: url([[pix:theme|folderclose]]); - background-repeat: no-repeat; - background-position: 0 -1px; -}*/ - -/* block_settings links */ -/* block_navigation links */ -.block_settings .block_tree .tree_item a:link, -.block_settings .block_tree .tree_item a:visited, -.block_settings .block_tree .tree_item a:active, -.block_navigation .block_tree .tree_item a:link, -.block_navigation .block_tree .tree_item a:visited, -.block_navigation .block_tree .tree_item a:active {color:#000;} -.block_navigation .block_tree .tree_item {padding-left:19px} - -/* block_adminblock */ -.block_adminblock .content .singleselect {width: 100%;} -.block_adminblock .content .singleselect {margin:0} - -.block.list_block .unlist > li > .column {margin-top:3px; margin-bottom:3px;} diff --git a/theme/formal_white/style/calendar.css b/theme/formal_white/style/calendar.css deleted file mode 100644 index e8496e8d8c676..0000000000000 --- a/theme/formal_white/style/calendar.css +++ /dev/null @@ -1,57 +0,0 @@ -/************************************************************* - * This file contains style information for calendar module * - *************************************************************/ - -/* the names of the months */ -.path-calendar .minicalendarblock h3 {font-size:1.0em;margin:0;text-align:center;} - -/* spacing between the month name and the corresponding minicalendar */ -.path-calendar .block .minicalendar {margin:5px 0 10px 0;} - -/* the grid of the calendar */ -.path-calendar .calendartable th, -.path-calendar .calendartable td {border:1px [[setting:lblockcolumnbgc]] solid;} - -/* the different current day in minicalendar */ -/*.path-calendar .calendartable td.today {border:2px #444444 solid;}*/ -.path-calendar .minicalendar td.today {border:2px #444444 solid;} - -/* the edge of the generic event in the list in the center of the page */ -.path-calendar .maincalendar .eventlist .event {border: 1px [[setting:lblockcolumnbgc]] solid;} - -/* if a duration exists... in the minicalendar */ -.path-calendar .minicalendar .calendar_event_user, -.path-calendar .minicalendar .duration_user {border-bottom:2px #A1BECB dotted;} -.path-calendar .minicalendar .calendar_event_course, -.path-calendar .minicalendar .duration_course {border-bottom:2px #FF9966 dotted;} -.path-calendar .minicalendar .calendar_event_global, -.path-calendar .minicalendar .duration_global {border-bottom:2px #66D14D dotted;} -.path-calendar .minicalendar .calendar_event_group, -.path-calendar .minicalendar .duration_group {border-bottom:2px #FBBB23 dotted;} - -/* if a duration exists... in the calendartable */ -/* take care: it is not needed because I might have more than one duration - * this is why the cell must not be displayed with a border-bottom - * but events need to to drawn inside - */ - -.path-calendar .maincalendar .calendarmonth th, -.path-calendar .minicalendar th {background:url([[pix:theme|trend/__setting_trendcolor__/gradient-sb]]) repeat-x 0 0;} - -/* settings for the block calendar */ -/* the grid of the calendar */ -.calendartable th, -.calendartable td {border:1px [[setting:lblockcolumnbgc]] solid;} - -/* the different current day in the block calendar */ -.calendartable .today {border:2px #444444 solid;} - -/* if a duration exists... in the block calendar */ -.calendartable .calendar_event_user, -.calendartable .duration_user {border-bottom:2px #A1BECB dotted;} -.calendartable .calendar_event_course, -.calendartable .duration_course {border-bottom:2px #FF9966 dotted;} -.calendartable .calendar_event_global, -.calendartable .duration_global {border-bottom:2px #66D14D dotted;} -.calendartable .calendar_event_group, -.calendartable .duration_group {border-bottom:2px #FBBB23 dotted;} \ No newline at end of file diff --git a/theme/formal_white/style/core.css b/theme/formal_white/style/core.css deleted file mode 100644 index b6f0aef514e6c..0000000000000 --- a/theme/formal_white/style/core.css +++ /dev/null @@ -1,165 +0,0 @@ -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2 { - font-size:130%; -} - -#notice { - padding:1em; -} - -label { - margin-right:0.3em; -} - -input[type="text"], -input[type="password"], -textarea { - width: auto; - padding: 2px 0 2px 0; - margin: 0.3em; -} - -.navbutton input[type="text"] { - width: auto; - padding: 0; - margin: 0 0.3em 0 0; -} - -/* Login -------------------------*/ - -.loginbox { - margin: 15px 25%; -} - -.loginbox .loginerrors { - color: #f00; -} - -.loginbox .loginform { - margin: 15px auto 0; - width: 50%; -} - -.loginbox .loginform .form-label { - float: left; - width: 40%; - margin: 0 auto; - text-align: right; -} - -.dir-rtl .loginbox .loginform .form-label { - float: none; - width: 100%; - margin: 0 auto; - text-align: right; -} - -.loginbox .loginform .form-input { - float: right; - width: 59%; - margin: 0 auto; -} - -.loginbox .loginform .form-input #username, -.loginbox .loginform .form-input #password { - width: 100%; - color: #000; -} - -.loginbox .loginform .form-input #loginbtn { - margin: 0.5em auto; -} - -.loginbox .forgetpass { - margin: 1em 0 0; - font-size:95%; -} - -.loginbox.twocolumns { - width:90%; - margin-left: 5%; -} - -.loginbox .guestsub { - border-top: 1px solid #DDDDDD; - margin: 5px 20% -} - -.loginbox.twocolumns .loginpanel { - border-color: #ddd; - padding-right: 0.5%; -} - -.loginbox.twocolumns .signuppanel { - padding-left: 1%; - width: 48%; -} - -#page-course-loginas #notice { - border: none; -} - -#page-login-forgot_password .generalbox { - margin: 0 auto 1.5em; - width: 75%; - padding: 10px; -} - -#page-login-signup .mform { - width: 85%; - margin: 0 auto; -} - -#page-login-signup .mform .fitem .fitemtitle { - width: 20%; -} - -#page-login-signup .mform .fitem .felement { - margin-left: 21%; -} - -/* Admin management ------------------------*/ -.plugincompattable { - font-size: 100%; - text-align: left; -} - -/* Forms ------------------------*/ -.form-description { - font-size:95%; -} - -/* do not push the field far from the label more than all the other mform elements */ -.mform .fitem input[type="text"], -.mform .fitem input[type="password"] { - margin: 0.3em 0 0.3em 0; -} - -/* needed to vertically align label of mform groups containing, for instance, select and text */ -.mform .fitem { - line-height: 1.4; - font-size: 108%; -} - -.mform .btn-cancel { - color: #000000; - text-decoration: none; -} - -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #000000; - text-decoration: underline; -} - -/* Redirect ------------------------*/ -.pagelayout-redirect #content {margin-bottom:10%;} - -/* Plugin compattable ------------------------*/ -.plugincompattable {font-size:90%;} diff --git a/theme/formal_white/style/course.css b/theme/formal_white/style/course.css deleted file mode 100644 index 132cd7c5994ec..0000000000000 --- a/theme/formal_white/style/course.css +++ /dev/null @@ -1,119 +0,0 @@ -/** Course formats **/ -.course-content .section li.activity {margin:7px 0;} -.course-content .navigationtitle {background-image:url([[pix:theme|trend/__setting_trendcolor__/gradient_h]]);background-color:[[setting:blockheaderbackground]];background-repeat:repeat-x;border-top:1px solid #C6BDA8;} -.course-content h2.header {padding-left:1em;} -.course-content ul.weeks li.section {border:1px solid #DDD;} -.course-content ul.weeks li.section .content {background-color:#FAFAFA;padding:5px 10px;} -.course-content ul.weeks li.section .content h3 {margin:0;color:#777;font-weight:normal;} -.course-content ul.weeks li.section .left {padding:5px 0;} -.course-content ul.weeks li.section .right {padding:5px 0;} -.course-content .single-section .section-navigation {margin-bottom:0;} - -/** coursebox **/ -#page-enrol-index .generalbox.info, -#page-course-info .generalbox.info {border:none;} -.coursebox {border:none} -.coursebox .info {margin:0;font-size:100%;} -.coursebox .name {margin:5px; width: 80%;} -.coursebox .content {font-size:90%;} -.coursebox .teachers {margin:5px 1em;} -.coursebox .summary, -.coursebox .coursecat, -.coursebox .content .courseimage, -.coursebox .content .coursefile {margin:5px;} -.coursebox > .content:after, -.coursebox > .info:after {clear:both;content:".";display:block;height:0;min-width:0;visibility:hidden;} -.coursebox .enrolmenticons img, .coursebox .moreinfo img {margin: 0.3em 0.2em -0.2em 0;} - -#page-course-recent h2 {font-size:110%;} -#page-course-recent .user {font-size:75%;} -#page-course-recent .grade {font-style:italic;font-size:90%;} -#page-course-recent .forum-recent .reply .title {font-style:italic;font-size:90%;} -#page-course-recent .forum-recent .discussion .title {font-weight:bold;font-style:italic;font-size:90%;} - -.path-course-view .availabilityinfo {font-size:85%;color:#aaa;} -.path-course-view .availabilityinfo strong {font-weight:normal;color:black;} -.path-course-view .dimmed_text img {opacity:0.3;filter:alpha(opacity='30');} -.path-course-view .section {line-height:1.2em;} -.path-course-view .section .activity {padding:0.2em 0;} -.path-course-view .section .activity a {line-height:1em;} -.path-course-view .section .weekdates {margin:0;font-weight:normal;font-size:100%;} -.path-course-view .section .groupinglabel {color:#666666;} -.path-course-view .section .groupinglabel.dimmed_text {color: #AAA;} -.path-course-view .section .left {font-weight:bold;} - -.path-course-view .weeks .section, -.path-course-view .topics .section, -.path-course-view .section td {border-color:#DDDDDD;} -.path-course-view .weeks .content , -.path-course-view .topics .content, -.path-course-view .weeks .section, -.path-course-view .topics .section {background:transparent;} -.path-course-view .section td.side {background:#FFFFFF;} -.path-course-view .weeks .current, -.path-course-view .topics .current, -.path-course-view .current td.side {background:#FFD991;} -.path-course-view .weeks .hidden, -.path-course-view .topics .hidden, -.path-course-view .hidden td.side {background:#DDDDDD;} -.path-course-view .section .weekdates {color:#777777;} -.path-course-view .weeks .weekdates , -.path-course-view .topics .weekdates {color:#333333;} - -.weeks li.section , -.topics li.section {border-style:solid;border-width:1px;} - -.weeks .content, -.topics .content {padding:5px;} - -#page-report-outline-user .section {border-color:#AAAAAA;} - -#page-admin-report .plugin, -#page-report .plugin, -#page-course-import .plugin {margin-bottom:20px;margin-left:10%;margin-right:10%;border:1px solid #cecece;background-color:[[setting:blockcontentbgc]];} - -.path-course-view .unread {background:#E3DFD4;} -.path-course-view .completionprogress {font-size:80%; padding:8px 26px 5px 5px;} - -.course_category_tree.category-browse {padding:20px;} - -#page-report #content {padding-top:15px;padding-bottom:15px;} - -#page-report #region-main p, -#page-report-log-index #region-main .info, -#page-report-loglive-index #region-main .info, -#page-report-stats-index #region-main .graph {text-align:center;} - -#page-report .logselectform, -#page-report .participationselectform, -#page-report-log-index .logselectform, -#page-report-participation-index .participationselectform {text-align:center;} - -.categorypicker {text-align:center;margin-bottom:10px;} -.path-report-outline .loginfo {text-align:center;margin:1em;} - -/* Course */ -.courses .coursebox.even {background-color:[[setting:lblockcolumnbgc]];border-color:#eee;} -.courses .coursebox.odd {background-color:[[setting:blockcontentbgc]];border-color:#eee;} -.courses .coursebox.even:hover, .course_category_tree .courses > .paging:hover {background-color:[[setting:hovercolor]];} -.courses .coursebox.odd:hover, .course_category_tree .courses > .paging:hover {background-color:[[setting:hovercolor]];} - -/* Category listings */ -.course_category_tree .category > .info {background-image:url([[pix:theme|trend/__setting_trendcolor__/hgradient]]);background-repeat:repeat-x;border:1px solid #ddd;} -.course_category_tree.frontpage-category-names .category > .info {background:none;border:none;} -.course_category_tree .category > .info {margin: 5px 0;} -.course_category_tree .category > .info .name {margin:5px 5px 4px 5px;padding-left:16px;} -.dir-rtl .course_category_tree .category > .info .name {padding-left:0;padding-right:16px;} -.course_category_tree .courses > .paging, -.course_category_tree .subcategories > .paging {padding:5px;} -.course_category_tree .subcategories .name {line-height: 1em;} - -/* Publication */ -#page-course-publish-metadata .metadatatext {width:400px;} -#page-course-publish-metadata .hubscreenshot {display:inline;float:left;margin-right:10px;} -#page-course-publish-metadata .hubscreenshot img {vertical-align:bottom;} -#page-course-publish-metadata .hubdescription {} -#page-course-publish-metadata .hubinfo {display:block; margin-bottom:20px;} -#page-course-publish-metadata .hublink {} -#page-course-publish-backup .courseuploadtextinfo {text-align:center;} -#page-course-publish-backup .sharecoursecontinue {text-align:center;} diff --git a/theme/formal_white/style/formal_white.css b/theme/formal_white/style/formal_white.css deleted file mode 100644 index ef81a82f8afd7..0000000000000 --- a/theme/formal_white/style/formal_white.css +++ /dev/null @@ -1,261 +0,0 @@ -/*** - *** Core - ***/ - -html, body { - font-family:Arial, Verdana, Helvetica, sans-serif; - margin:0; - padding:0; - background-color:[[setting:pagebackground]]; - font-size:[[setting:fontsizereference]]; -} - -a:link {text-decoration:none;color:black;} -a:visited {text-decoration:none;color:black;} -a:hover {text-decoration:underline;color:black;} - -a.autolink {text-decoration:underline;} - -h1 {font-size:140%;font-weight:bold;} -h2 {font-size:130%;} -h3 {font-size:120%;} -h4 {font-weight:bold;} - -h1.headerheading {margin:14px 11px 8px 11px;float:left;font-size:200%;} -h2, h3, h4 {padding:0;} - -/* page-header */ -#page-header{ - margin: 0; - overflow: hidden; - padding: 0; - width: 100%; -} - -/* headerlogo */ -#headerlogo { - float: left; - height: auto; - margin: 0; - padding: 0; - width: auto; - line-height: 0; -} - -.dir-rtl #headerlogo { - float: right; -} - -/* headermenu */ -.headermenu { - font-size: 90%; - line-height: 1.7em; - position: absolute; - top: 0; -} - -.dir-ltr .headermenu { - float: right; - margin: 1.7em [[calculated:headermenumargin]] 0 0; - right: 0; - text-align: right; - } - -.dir-rtl .headermenu { - float: left; - margin: 1.7em 0 0 [[calculated:headermenumargin]]; - left: 0; - text-align: left; -} - -.langmenu { - margin-right: 0.1em; -} - -#dock {background-color:[[setting:blockcontentbgc]];border-right:1px dashed #000;} -#dock .dockeditem_container {margin-top: 10px;} -#dock #dockeditempanel .dockeditempanel_hd {background-image:url([[pix:theme|trend/__setting_trendcolor__/gradient_h]]);background-color:[[setting:blockheaderbackground]];background-repeat:repeat-x;text-align:left;height:1.8em;} -#dock #dockeditempanel .dockeditempanel_hd h2 {display:block;padding-left:0.3em;margin-top:0;text-align:left;} -#dock #dockeditempanel .dockeditempanel_hd .commands {position:absolute;right:0.3em;top:0.25em;} - -/* navbar */ -.navbar {width:auto;background-image:url([[pix:theme|trend/__setting_trendcolor__/bg_bread]]);background-repeat:repeat-x;line-height:29px;} /* 30 pixel is the height if bg_bread */ -.navbar li span.arrow {color:black;font-size:50%;} -.navbar li span {color:white;} -.navbar li a:link, .navbar li a:visited {color:black;} - -#page-content { - /* min-width here is useless until min-width in frame.css/#frametop is gretaer enought to hold this #page-content min-width */ - /* #page-content min-width is inherited by parent themes */ - /* #page-content min-width = 0 frees me from possible related problems */ - min-width:0; -} - -/* navbutton */ -.navbutton {padding-right:0.5em;} -.navbutton table td {padding:0;} - -/* breadcrumb */ -.breadcrumb {margin-left:0.8em;} - -/* generalbox */ -.generalbox {border-color:#E3DFD4;padding:1em;} - -/* generalbox */ -#page-admin-setting-manageauths .generalbox {border:none;} - -/* generalbox */ -#page-enrol-instances .generalbox {border:none;} -#page-enrol-instances .select.menujump {margin-left:0.5em;} - -/* environmenttable */ -.environmenttable .error {background-color:red;} -.environmenttable .warn {background-color:yellow;} -.environmenttable .ok {background-color:lime;} - -/* adminsettings */ -#adminsettings .form-overridden {background-color:yellow;} -#adminsettings .form-warning {color:red;} - -/* tables */ -.editcourse th, -.editcourse td, -.generaltable th, -.generaltable td, -#page-admin-course-manage .generalbox th, -#page-admin-course-manage .generalbox td, -#attempts th, -#attempts td, -.plugincompattable th, -.plugincompattable td, -.environmenttable th, -.environmenttable td, -.forumheaderlist td, -.forumheaderlist th { - border: 1px solid #E3DFD4; - border-collapse: collapse; -} - -/* Filter table - MDL-32869 */ -.path-admin .cell .singleselect { - margin:0; -} - -th.header, -.formtable tbody th, -.generalbox th, -.generaltable th.header {background-image:url([[pix:theme|trend/__setting_trendcolor__/gradient_h]]);background-color:[[setting:blockheaderbackground]];background-repeat:repeat-x;border-top:1px solid #C6BDA8;} -#modules, #compatibleblockstable {margin-left:auto; margin-right:auto;} -table.flexible > tbody > tr:nth-of-type(odd), table.generaltable > tbody > tr:nth-of-type(odd) {background-color: #F0F0F0;} -table.flexible > tbody > tr:nth-of-type(even), table.generaltable > tbody > tr:nth-of-type(even) {background-color: #FAFAFA;} - -/* admin pages */ -div#chooseuser {border:0 transparent none;} -table.groupmanagementtable, -table.groupmanagementtable tr, -table.groupmanagementtable td {border-width:0px;} -table.groupmanagementtable td#buttonscell {vertical-align:middle;text-align:center;} -table#defineroletable tr.rolecapheading {background-image:url([[pix:theme|trend/__setting_trendcolor__/gradient_h]]);background-color:[[setting:blockheaderbackground]];background-repeat:repeat-x;} -/*table#defineroletable tr.rolecap {border-top:1px dashed #F30;}*/ -tr.rolecap {border-top:1px dashed #F30;} -tr.rolecapheading + tr.rolecap {border-top:none;} - -/* course categories */ -#page-admin-course-manage .editcourse td div.singleselect {text-align:left;} - -/* course */ -/* ul.topics .section span.commands {float:right;} /* distanza dei comandi dagli elementi del corso */ -ul.topics .section span.commands {position:absolute;right:1em;} - -.mform fieldset {border:1px solid #DDD;} -.mform .fitem .fitemtitle {width:25%;} -.mform .fitem .fitemtitle label {padding-right:5px;} -.mform .fitem .felement {margin-left:26%;width:73%;min-height: 0.8em;} -/*.mform .fitem fieldset.felement {padding-left:0}*/ -.mform .fitem .fitemtitle .helplink img {margin-right:-5px;} -.mform .fsubmit {text-align:left} -table td.cell p {margin:0;} - -/* pagelayout-report */ -.pagelayout-report #page-header {float:left;} -.pagelayout-report #page-content {overflow:hidden;} - -/* notice */ -#notice div.buttons {margin-bottom:0;} - -/* page-footer */ -#page-footer {text-align:center;width:100%;padding:0;} -.noframefooter {background-color:#FFF;clear: both;float: left;width:100%;} -#page-footer-content {text-align:center;border:7px double #E3DFD4;margin:0;padding:0.5em;} -#page-footer .logininfo {padding:0.3em 0 0.7em 0;} -#page-footer .moodledocs {text-align:center;padding:0.7em 0 0.8em 0;} - -/* pre, code, tt */ -pre, code, tt { - font: 1em/1.3 monospace; -} - -/* colors in XMLDB editor section are important */ -#listdirectories, -#listtables, -#listfields { - color:grey; -} - -#listdirectories > tbody > tr:nth-of-type(odd) -#listtables > tbody > tr:nth-of-type(odd), -#listfields > tbody > tr:nth-of-type(odd) { - background: none repeat scroll 0 0 #F0F0F0; -} - -#listdirectories > tbody > tr:nth-of-type(even), -#listtables > tbody > tr:nth-of-type(even), -#listfields > tbody > tr:nth-of-type(even) { - background: none repeat scroll 0 0 #FAFAFA; -} - -#listdirectories .highlight, -#listtables .highlight -#listfields .highlight { - background: none repeat scroll 0 0 [[setting:lblockcolumnbgc]]; -} - -.notifytiny { - font-size: 1em; -} - -/* MDL-29403 */ -.capdefault { - background-image:url([[pix:theme|trend/__setting_trendcolor__/gradient_h]]); - background-color:[[setting:blockheaderbackground]]; - background-repeat:repeat-x; -} -table#defineroletable th {border-top:none;} - -form.loginform .rememberusername { - padding-left:13px; - width: auto; -} - -form.loginform #rememberusername { - margin-right:0; -} - -/* RSS - MDL-28561 */ -.block_rss_client .list li { - border-top-color: #DDD; -} - -/* Upcoming events - MDL-29367 */ -/* to have the same separator as in .block_rss_client .list li */ -.block_calendar_upcoming .content > hr { - display:none; -} - -.block_calendar_upcoming .event { - border-bottom: 1px solid #DDDDDD; - padding: 5px; -} - -/** Custom CSS **/ -[[setting:customcss]] diff --git a/theme/formal_white/style/forum.css b/theme/formal_white/style/forum.css deleted file mode 100644 index 17167c89a3abd..0000000000000 --- a/theme/formal_white/style/forum.css +++ /dev/null @@ -1,34 +0,0 @@ -/********************************************************** - * This file contains style information for forum module * - **********************************************************/ - -.forumpost {border: 1px solid #CACACA;} -.forumpost .row {background-color:#FFF;} -.forumpost .row.header {background-color:#E3DFD4;background-image:none;} -.forumpost.firstpost .row.header {background-color:#E3DFD4;} -.forumpost .topic .author {font-size: 0.8em;padding:4px;} -.forumpost .topic .subject {font-weight: bold;padding:4px 4px 0;} -.forumpost .options div {border-top: 1px dotted #DBDBDB;} -.forumpost .content div, -.forumpost .options div {padding:4px;} -.forumpost.unread .content {background-color: [[setting:lblockcolumnbgc]];} /** inside of unread posts in nested format in */ -.forumpost .row .topic {background-color: #E3DFD4;} - -#page-mod-forum-view .forummode, -.path-mod-forum .forumheaderlist .replies {text-align: center;} -.path-mod-forum .forumheaderlist .discussion .lastpost {font-size: 0.7em;} -.path-mod-forum .forumnodiscuss {font-weight:bold;text-align:center;} -#page-mod-forum-subscribers .subscriberdiv, -#page-mod-forum-subscribers .subscribertable {background-color:#EEEEEE;border:1px solid #BBBBBB;} -#page-mod-forum-subscribers .subscriberdiv, -#page-mod-forum-subscribers .subscribertable tr td {padding:0.2em 0.3em;} -#page-mod-forum-discuss .ratingsubmit {text-align:center;padding:10px;} -#page-mod-forum-view .forumheaderlist .discussion .starter, /** Discussion column background in */ -#page-mod-forum-view .forumaddnew {margin-bottom: 20px;} -#page-mod-forum-view .forumheaderlist td {border-color: #FFFFFF;} /** wire frame around cells in */ -#page-mod-forum-view .unread {padding: 0 3px;} /** unread column background on */ -#page-mod-forum-view .forumheaderlist {border-color:#DDDDDD;} /** border around posts in */ -#email .unsubscribelink {border-width: 0px 1px 0px 0px;border-style: solid;text-align:center;} -#page-mod-forum-view .highlight2 {color:#AA0000;} -#page-mod-forum-view.dir-rtl .forumheaderlist .discussion .starter {text-align:right;} -#page-mod-forum-view .unread {background: #E3DFD4;} diff --git a/theme/formal_white/style/frame.css b/theme/formal_white/style/frame.css deleted file mode 100644 index e100dab189007..0000000000000 --- a/theme/formal_white/style/frame.css +++ /dev/null @@ -1,161 +0,0 @@ -/**** - * - * #frametop - * #framebottom - * ! #frametopright - * | |
---/
- * ! /#frametopright - * | #frameleft - * | | #frameright - * | | | #wrapper - * | | | | #page-header - * | | | | | #headerlogo - * | | | | | | - * | | | | | h1#headerheading---/h1#headerheading - * | | | | | #headermenu---/#headermenu - * | | | | /#page-header - * | | | | #custommenu---/#custommenu - * | | | | .navbar clearfix---/.navbar clearfix - * | | | | .breadcrumb---/.breadcrumb - * | | | | .navbutton---/.navbutton - * | | | | /.navbar clearfix - * | | | | #page-content - * | | | | . - * | | | | . - * | | | | . - * | | | | /#page-content - * | | | | .clearfix---/.clearfix - * | | | /#wrapper - * | | #frameright - * | /#frameleft - * | #framebottomright - * | |
---/
- * ! /#framebottomright - * /#framebottom - * /#frametop - * - * The body tag may also contain one of three layout specific classes that describe - * the regions of the page and allow us to theme more easily. - * - * default (no class) = Content + side pre + side post - * side-pre-only = Content + side pre - * side-post-only = Content + side post - * content-only = Content - * - ****/ - -#wrapper, -#footerwrapper { - padding:0 17px 0 17px; - float:none; /* serve a qualcosa? */ - /*clear:both;*/ - /*overflow:hidden;*/ -} - -#frametop, -#footerframetop { - background-image:url([[pix:theme|trend/__setting_trendcolor__/roundcorner/header]]); - margin:[[setting:framemargin]] [[setting:framemargin]] 0; - background-position:0 0; - background-repeat:repeat-x; - min-width:[[calculated:minwidth]]; -} - -#frametopright, -#footerframetopright { /* Frame background top right */ - background-image:url([[pix:theme|trend/__setting_trendcolor__/roundcorner/header_r]]); - background-repeat:no-repeat; - background-position:100% 0; - text-align:left; - height:17px; - margin-left:17px; -} - -#frametopright div, -#footerframetopright div { /* Frame background top left */ - background-color:transparent; - background-image:url([[pix:theme|trend/__setting_trendcolor__/roundcorner/header_l]]); - background-position:0 0; - background-repeat:no-repeat; - float:left; - font-size:1px; - height:17px; - line-height:1%; - margin-left:-17px; - position:relative; - width:17px; -} - -#frameleft, -#footerframeleft { /* Frame background left */ - background-image:url([[pix:theme|trend/__setting_trendcolor__/roundcorner/body_l]]); - background-repeat:repeat-y; - background-position:0 0; - background-color:#FFF; -} - -#frameright, -#footerframeright { /* Frame background right */ - background-image:url([[pix:theme|trend/__setting_trendcolor__/roundcorner/body_r]]); - background-repeat:repeat-y; - background-position:100% 0; - background-color:transparent; - /*margin-left:17px;*/ - /*padding-right:17px;*/ -} - -#framebottomright, -#footerframebottomright { /* Frame background bottom right */ - background-image:url([[pix:theme|trend/__setting_trendcolor__/roundcorner/footer_r]]); - background-position:100% 0; - background-repeat:no-repeat; - height: 17px; - margin-left:17px; - text-align:left; -} - -#framebottomright div, -#footerframebottomright div { /* Frame background bottom left */ - background-color:transparent; - background-image:url([[pix:theme|trend/__setting_trendcolor__/roundcorner/footer_l]]); - background-position:0 0; - background-repeat:no-repeat; - float: left; - font-size:1px; - height:17px; - line-height:1%; - margin-left:-17px; - position:relative; - width:17px; -} - -#framebottom, -#footerframebottom { /* Bottom Middle */ - background-attachment:scroll; - background-color:transparent; - background-image:url([[pix:theme|trend/__setting_trendcolor__/roundcorner/footer]]); - background-position:0 100%; - background-repeat:repeat-x; -} - -/*******************************************************************/ -/* Footer section */ -/*******************************************************************/ - -#footerwrapper { - background-color:white; - margin:0 17px 0 17px; -} - -#footerframetop { - margin-top:0; -} - -#footerwrapper p, -#footerwrapper div { - margin:0; -} - -/*******************************************************************/ -/* End of footer section */ -/*******************************************************************/ \ No newline at end of file diff --git a/theme/formal_white/style/menu.css b/theme/formal_white/style/menu.css deleted file mode 100644 index f6b8a18bd26a5..0000000000000 --- a/theme/formal_white/style/menu.css +++ /dev/null @@ -1,128 +0,0 @@ -div.yui3-menu-content { - border:none !important; -} - -/**************************************************************************************************/ - -#custommenu .yui3-menu { - background-image:url([[pix:theme|trend/__setting_trendcolor__/custommenubg]]); - background-repeat:repeat-x; - background-color:#e1e1df; -} - -/*YUI Reset */ -.yui3-skin-sam #page .yui3-menu-horizontal .yui3-menu-content{ - background-position: -10000px -10000px; -} - -.yui3-skin-sam #page .yui3-menu-horizontal .yui3-menu-label{ - background-position: -10000px -10000px; -} - -.yui3-skin-sam #page .yui3-menu-horizontal .yui3-menu-label-active, -.yui3-skin-sam #page .yui3-menu-horizontal .yui3-menuitem-active .yui3-menuitem-content, -.yui3-skin-sam #page .yui3-menu-horizontal .yui3-menu-label-menuvisible{ - background-position: -10000px -10000px; -} - -.yui3-skin-sam #page .yui3-menu-label, -.yui3-skin-sam #page .yui3-menu .yui3-menu .yui3-menu-label { - background-position: right center; -} - -.yui3-skin-sam #page .yui3-menubuttonnav .yui3-menu-label em { - background-position: right center; -} - -.yui3-skin-sam #page .yui3-splitbuttonnav .yui3-menu-label .yui3-menu-toggle { - background-position: 3px center; -} - -.yui3-skin-sam #page .yui3-splitbuttonnav .yui3-menu-label-menuvisible .yui3-menu-toggle { - background-position: 0% 50%; -} - -.yui3-skin-sam #page .yui3-menu-label, -.yui3-skin-sam #page .yui3-menuitem-content { - color: #35251B; - font-weight: 400; -} - -.custom_menu_submenu .yui3-menu-label, -.custom_menu_submenu .yui3-menuitem-content { - color: #35251B !important; -} - -.yui3-skin-sam #page .yui3-menu-label.yui3-menu-label-active, -.yui3-skin-sam #page .yui3-menuitem-active .yui3-menuitem-content { - color: #DA5013; -} - -.yui3-skin-sam #page .yui3-menu-content, -.yui3-skin-sam #page .yui3-menu-content, -.yui3-skin-sam #page .yui3-menu .yui3-menu .yui3-menu-content, -.yui3-skin-sam #page .yui3-menu-horizontal .yui3-menu-label, -.yui3-skin-sam #page .yui3-menu-horizontal .yui3-menuitem-content { - border: none; -} - -.yui3-skin-sam .yui3-menu-horizontal .yui3-menu-label, -.yui3-skin-sam .yui3-menu-horizontal .yui3-menuitem-content { - border-color:#808080; - border-style:solid; - border-width:0px 0; -} - -#page .custom_menu_submenu { - border: 2px solid #DA5013 !important; - background: #fff; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; - -webkit-box-shadow: 0px 1px 3px #ccc; - -moz-box-shadow: 0px 1px 3px #ccc; - box-shadow: 0px 1px 3px #ccc; -} - -/* riga della voce di menu */ -.yui3-skin-sam .yui3-menu-content, -.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-content { - border: 1px solid #808080; - font-size: 100%; - line-height: 1.5; - padding:3px 0; -} - -.yui3-menu ul li ul li, -.yui3-skin-sam .yui3-menu-content, -.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-content { - background-color:#E9E9E9; -} - -/* cancellazione della bordatura superiore alla lista delle voci di menu */ -.yui3-skin-sam .yui3-menu .yui3-menu { - border-top:none; - padding-left:-1px; - border-right:1px solid #CCC; - border-bottom:1px solid #CCC; - border-left:1px solid #CCC; -} - -/* color of selected item in FF */ -.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-label-menuvisible, -.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content, -.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-label-active, -.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-label-menuvisible { - background-color:#FFF; -} - -/* separatore vertical fra i nomi dei menu */ -.yui3-skin-sam .yui3-menu-content ul.first-of-type li{ - border-right:1px solid #ccc; -} - -/* inibizione del bordo destro nelle voci di menu */ -.yui3-skin-sam .yui3-menu-content ul.first-of-type li.yui3-menuitem { - border-right:none; - /*background-color:#E9E9E9;*/ -} \ No newline at end of file diff --git a/theme/formal_white/style/pagelayout.css b/theme/formal_white/style/pagelayout.css deleted file mode 100644 index 3b13d5f6de3ce..0000000000000 --- a/theme/formal_white/style/pagelayout.css +++ /dev/null @@ -1,136 +0,0 @@ -/************************************************************************ - questo file sovrascrive parzialmente - il corrispondente foglio di stile nel tema "base" - Lo ho ottenuto - - duplicando l'originale - - modificando quanto necessario - - cancellando quanto conservato dell'originale -************************************************************************/ - -/**** - * Three column floating div layout with 2,1,3 column order - * Based on: http://matthewjamestaylor.com/blog/holy-grail-no-quirks-mode.htm - * And: http://matthewjamestaylor.com/blog/ultimate-3-column-holy-grail-pixels.htm - * - * #page - * #page-header - * #page-content - * | #region-main-box - * | #region-post-box - * | #region-main-wrap - * | | #region-main - * | | .region-content - * | #region-pre - * | | .region-content - * | #region-post - * | | .region-content - * #page-footer - * - * The body tag may also contain one of three layout specific classes that describe - * the regions of the page and allow us to theme more easily. - * - * default (no class) = Content + side pre + side post - * side-pre-only = Content + side pre - * side-post-only = Content + side post - * content-only = Content - * - ****/ - -#page { - font-size: 100%; -} - -#page-header { - background-color:[[setting:headerbgc]]; - /* arrotonadamento angoli in alto dell'header */ - -moz-border-radius:6px 6px 0px 0px; /* Firefox */ - -webkit-border-radius:6px 6px 0px 0px; /* Safari, Chrome */ - border-radius:6px 6px 0px 0px; /* CSS3 */ -} - -#page-content { - /* arrotonadamento angolo in basso a sx */ - /* -moz-border-radius:0px 0px 0px 6px; /* Firefox */ - /* -webkit-border-radius:0px 0px 0px 6px; /* Safari, Chrome */ - /* border-radius:0px 0px 0px 6px; /* CSS3 */ - background-color:[[setting:lblockcolumnbgc]]; /* colore della colonna di sinistra */ - float:none; -} - -#page-content #region-main-box { - left:[[setting:blockcolumnwidth]]; - background-color:#FFF; -} - -.core_media_preview #page-content #region-post-box { - margin-left: 0; -} - -.core_media_preview #page-content #region-main-wrap { - width: 100%; -} - -.core_media_preview #page-content #region-main { - margin-left: 30px; -} - -#page-content #region-post-box { - margin-left:[[calculated:minusdoubleblockcolumnwidth]]; - /* arrotonadamento angolo in basso a dx */ - /* -moz-border-radius:0px 0px 6px 0px; /* Firefox */ - /* -webkit-border-radius:0px 0px 6px 0px; /* Safari, Chrome */ - /* border-radius:0px 0px 6px 0px; /* CSS3 */ - background-color:[[setting:rblockcolumnbgc]]; /* colore della colonna di destra */ -} - -#page-content #region-main { - margin-left:[[calculated:doubleblockcolumnwidth]]; - background-color:white; /* questo serve a togliere la curvatura dagli angoli della zona centrale */ -} - -#page-content #region-pre { - left:[[setting:blockcolumnwidth]]; /*400-[[setting:blockcolumnwidth]]*/ - width:[[setting:blockcolumnwidth]]; - background-color:[[setting:lblockcolumnbgc]]; /* colore della colonna di sx */ -} - -#page-content #region-post { - width:[[setting:blockcolumnwidth]]; - /* arrotonadamento angolo in basso a dx */ - /* -moz-border-radius:0px 0px 6px 0px; /* Firefox */ - /* -webkit-border-radius:0px 0px 6px 0px; /* Safari, Chrome */ - /* border-radius:0px 0px 6px 0px; /* CSS3 */ - background-color:[[setting:rblockcolumnbgc]]; /* colore del fondo della parte occupata dai contenuti della colonna centrale e della colonna dx */ -} - -#page-content .region-content { - padding:[[setting:blockpadding]] [[setting:blockpadding]] 0 [[setting:blockpadding]]; -} - -#maincontent { - margin-top:0; -} - -.pagelayout-report #page-content .region-content { - overflow: auto; -} - -/** Only side pre **/ - .side-pre-only #page-content #region-post-box {margin-left:-[[setting:blockcolumnwidth]];} - .side-pre-only #page-content #region-main {margin-left:[[setting:blockcolumnwidth]];} - -/** Only side post **/ - .side-post-only #page-content #region-post-box {margin-left:-[[setting:blockcolumnwidth]];} - .side-post-only #page-content #region-main {margin-left:[[setting:blockcolumnwidth]];} - .has_dock.side-post-only .page-middle #region-main {margin-left:[[setting:blockcolumnwidth]];} - -/** Report layout **/ - .pagelayout-report #report-main-content .region-content {background-color:white;margin-left:[[setting:blockcolumnwidth]];} - .pagelayout-report #report-region-pre {width:[[setting:blockcolumnwidth]];} - -/** Correct for right to left languages **/ - .dir-rtl.pagelayout-report #report-main-content .region-content {margin-left:0;margin-right:[[setting:blockcolumnwidth]];} - -/** Stabalise IE6 behaviour on the report layout **/ -/* aggiunti/sovrascritti da me */ - .ie6.pagelayout-report #report-region-wrap {float:none;width:[[setting:blockcolumnwidth]];left:auto;position:absolute;top:0;} diff --git a/theme/formal_white/style/quiz.css b/theme/formal_white/style/quiz.css deleted file mode 100644 index 64c09cca199d8..0000000000000 --- a/theme/formal_white/style/quiz.css +++ /dev/null @@ -1,32 +0,0 @@ -/********************************************************** - * This file contains style information for quiz module * - **********************************************************/ - -#page-mod-quiz-edit div.quizpage .pagecontent {background-color:[[setting:lblockcolumnbgc]];} -.questionbankwindow h2 {background-image:url([[pix:theme|trend/__setting_trendcolor__/gradient_h]]);background-color:[[setting:blockheaderbackground]];background-repeat:repeat-x;border-top:1px solid #C6BDA8;} -#page-mod-quiz-edit .questionbankwindow div.header {background-color:transparent;} -#page-mod-quiz-edit .questionbankwindow div.header .title {color:#000;} -#page-mod-quiz-edit .questionbankwindow div.header a:link, -#page-mod-quiz-edit .questionbankwindow div.header a:visited {color:#0000EF} -#page-mod-quiz-edit div.container div.generalbox {background-color:[[setting:lblockcolumnbgc]];padding:1.5em;} -#page-mod-quiz-edit div.questionbank .categoryquestionscontainer, -#page-mod-quiz-edit div.questionbank .categorysortopotionscontainer, -#page-mod-quiz-edit div.questionbank .categorypagingbarcontainer, -#page-mod-quiz-edit div.questionbank .categoryselectallcontainer {padding:0 0 1.5em 0;} -#page-mod-quiz-edit div.questionbank .categorypagingbarcontainer {padding:1em;background-color:[[setting:lblockcolumnbgc]];margin:0 -1.2em;border-top:1px [[setting:lblockcolumnbgc]] solid;border-bottom:1px [[setting:lblockcolumnbgc]] solid;} /* spaziatura sopra e sotto alla tabella con le domande da spostare */ -#page-mod-quiz-edit div.questionbank .categoryquestionscontainer {margin:0 -1.2em -1em -1.2em;} /* tabella con le domande da spostare nel quiz*/ - -#page-mod-quiz-edit div.editq div.question div.content {background-color:[[setting:blockcontentbgc]];} /* la signola domanda nel modello della pagina*/ - -#page-mod-quiz-edit div.question div.content div.questioncontrols {background-color:[[setting:blockcontentbgc]];} /* la X per eliminare la domanda dal modello della pagina */ - -#page-mod-quiz-edit div.question div.content div.points {margin-top:-0.5em;padding-bottom:0.5em;background-color:#EEE;} /* il quadratino del grade */ -#page-mod-quiz-edit div.question div.content div.points {border-color:[[setting:blockcontentbgc]];} - -#page-mod-quiz-edit div.quizpage .pagecontent .pagestatus {background-color:[[setting:blockcontentbgc]];} -#page-mod-quiz-edit .quizpagedelete, -#page-mod-quiz-edit .quizpagedelete img {background-color:transparent;} - -#page-mod-quiz-edit #page-footer {padding:0;} - -/*#page-mod-quiz-report.pagelayout-report .no-overflow {overflow: auto;}*/ \ No newline at end of file diff --git a/theme/formal_white/style/tabs.css b/theme/formal_white/style/tabs.css deleted file mode 100644 index c4f8db7f58698..0000000000000 --- a/theme/formal_white/style/tabs.css +++ /dev/null @@ -1,207 +0,0 @@ -/** - * Tabs - */ -.tabtree { - position:relative; - margin-bottom:3.5em; -} - -.tabtree .tabrow0 { - text-align:center; - width:100%; - margin:1em 0px; -} - -/* serve a qualcosa? */ -.tabtree ul li.here .empty { - display: none; -} - -.tabtree .tabrow0 li { - display:inline; - margin-right:-4px; -} - -.tabtree .tabrow0 li.here { - font-weight: bold; -} - -.tabtree .tabrow0 li.here .empty { - display: block; - height: 1px; - overflow: hidden; - padding: 0px; - position: absolute; - width: 100%; - bottom: -4px; -} - -.tabtree .tabrow0 li a:link, -.tabtree .tabrow0 li a:visited, -.tabtree .tabrow0 li a:active { - color:#000; -} - -.tabtree .tabrow0 li.here a { - position:relative; - z-index:102; -} - -.tabtree .tabrow0 li a { - background-image:url([[pix:theme|tab/left]]); - padding-left:14px; - padding-top:10px; - background-repeat:no-repeat; - padding-bottom:4px; /*to remove the border-bottom*/ - margin-bottom:-1px; - - background-color:transparent; - border:none; -} - -.tabtree .tabrow0 li a:hover { - background-image:url([[pix:theme|tab/left_hover]]); -} - -.tabtree .tabrow0 li a span { - background-image:url([[pix:theme|tab/right]]); - background-repeat:no-repeat; - background-position:100% 0%; - padding-right:14px; - padding-top:10px; - padding-bottom:4px; /*to remove the border-bottom*/ -} - -.tabtree .tabrow0 li a:hover span { - background-image:url([[pix:theme|tab/right_hover]]); -} - -.tabtree .tabrow0 ul, -.tabtree .tabrow0 div { - background-image:url([[pix:theme|tab/tabrow1]]); - background-position:0% 50%; - position:absolute; - width:100%; - border-top:1px solid #aaa; - padding:0.25em 0px; - top:100%; - margin:0px; -} - -.tabtree .tabrow0 .empty { - height:1px; - overflow:hidden; - padding:0px; - position:absolute; -} - -.tabtree .tabrow1 li a, -.tabtree .tabrow1 li a:hover, -.tabtree .tabrow1 li a span, -.tabtree .tabrow1 li a:hover span { - background-image:none !important; - padding: 0 0.3em; - text-decoration:none; -} - -.tabtree .tabrow1 li a:hover { - font-weight:bold; - text-decoration: underline; -} - -.tabtree .tabrow1 li { - font-weight: normal; -} - -.tabtree .tabrow1 li.here { - font-weight: bold; -} - -.groupmanagementtable { - width:90%; -} - -.groupmanagementtable td { - vertical-align:top; - border-width:0px; -} - -.groupmanagementtable td p { - margin:0px; -} - -.ie7 .tabtree .tabrow0 li { - margin-left: 0; -} - -.ie7 .tabtree .tabrow0 li.first { - margin-right: -4px; -} - -.ie7 .tabtree .tabrow0 li.onerow { - margin-right: 0; -} - -.ie7 .tabtree .tabrow0 a { - display: inline-block; - padding: 8px 0 0.35em 13px; - line-height: 1.5em; -} - -.ie7 .tabtree .tabrow0 a span { - padding: 10px 1em 10px 0; -} - -.ie7 .tabtree .tabrow0 div { - top: 2.6em; - padding: 0.2em 0; -} - -.ie7 .tabtree .tabrow0 div.empty { - margin-right: 0; -} - -.ie7.mod-quiz div.tabtree a span img.iconsmall { - margin: 0; - vertical-align: baseline; - position: relative; - top: 2px; -} - -.ie6 .tabtree { - height: 100%; -} - -.ie6 .tabtree .tabrow0 { - padding-top: 10px; -} - -.ie6 .tabtree .tabrow0 li { - margin-left: 0; -} - -.ie6 .tabtree .tabrow0 li.first { - margin-left: -4px; - margin-right: -4px; -} - -.ie6 .tabtree .tabrow0 li.last a { - margin-right: 0; -} - -.ie6 .tabtree .tabrow0 li.onerow { - margin-right: 0; -} - -.ie6 .tabtree .tabrow0 a { - padding: 0 0 0 13px; -} - -.ie6 .tabtree .tabrow0 a span { - padding: 12px 1em 4px 0; -} - -.ie6 .tabtree .tabrow0 div { - top: 3.5em; - padding: 0.2em 0; -} \ No newline at end of file diff --git a/theme/formal_white/version.php b/theme/formal_white/version.php deleted file mode 100644 index 3ec008ff2ebc3..0000000000000 --- a/theme/formal_white/version.php +++ /dev/null @@ -1,39 +0,0 @@ -. - -/** - * Moodle's formal_white theme - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_formal_white - * @copyright 2013 Mediatouch 2000, mediatouch.it - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_formal_white'; -$plugin->maturity = MATURITY_STABLE; -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/formfactor/config.php b/theme/formfactor/config.php deleted file mode 100644 index 229248181ba1a..0000000000000 --- a/theme/formfactor/config.php +++ /dev/null @@ -1,185 +0,0 @@ -. - -/** - * Configuration for Moodle's formfactor theme. - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_formfactor - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -// Name of the theme, and most likely the name -// of the directory in which this file resides. - -$THEME->name = 'formfactor'; - -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend? -// A theme can extend any number of themes. So rather -// than creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// by extending the theme you like and just add the -// changes you want to your theme. - -$THEME->parents = array('canvas','base'); - -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. - -$THEME->sheets = array( - 'selected', - 'core', - 'course', - 'mods', - 'blocks' -); - -// Do you want to use the new navigation dock? - -$THEME->enable_dock = false; - -// An array of stylesheets to include within the -// body of the editor. - -$THEME->editor_sheets = array('editor'); - -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. - -$THEME->layouts = array( - // Most backwards compatible layout without the blocks - this is the layout used by default - 'base' => array( - 'file' => 'general.php', - 'regions' => array(), - ), - // Standard layout with blocks, this is recommended for most pages with general information - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - // Main course page - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - // part of course, typical for modules - default page layout if $cm specified in require_login() - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - // The site home page. - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - // Server administration scripts. - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - // My dashboard page - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - // My public page - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - - // Pages that appear in pop-up windows - no navigation, no blocks, no header. - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologininfo'=>true, 'nocourseheaderfooter'=>true), - ), - // No blocks and minimal footer - used for legacy frame layouts only! - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - // Embeded pages, like iframe/object embeded in moodleform - it needs as much space as possible - 'embedded' => array( - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // Used during upgrade and install, and for the 'This site is undergoing maintenance' message. - // This must not have any blocks, and it is good idea if it does not have links to - // other places - for example there should not be a home link in the footer... - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>false, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // The pagelayout used when a redirection is occuring. - 'redirect' => array( - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // The pagelayout used for reports. - 'report' => array( - 'file' => 'report.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - // The pagelayout used for safebrowser and securewindow. - 'secure' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologinlinks'=>true, 'nocourseheaderfooter'=>true), - ), -); \ No newline at end of file diff --git a/theme/formfactor/lang/en/theme_formfactor.php b/theme/formfactor/lang/en/theme_formfactor.php deleted file mode 100644 index 41cc2730c393b..0000000000000 --- a/theme/formfactor/lang/en/theme_formfactor.php +++ /dev/null @@ -1,28 +0,0 @@ -. - -/** - * Strings for component 'theme_formfactor', language 'en'. - * - * @package theme_formfactor - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'FormFactor'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = '

About

FormFactor is a fluid-width, three-column theme for Moodle 2.0 that was created by Patrick Malley.

Tweaks

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

Credits

This theme was coded and is maintained by Patrick Malley of NewSchool Learning. He can be contacted by email at contact@newschoollearning.com.

License

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.

'; diff --git a/theme/formfactor/layout/embedded.php b/theme/formfactor/layout/embedded.php deleted file mode 100644 index b010c8984f188..0000000000000 --- a/theme/formfactor/layout/embedded.php +++ /dev/null @@ -1,47 +0,0 @@ -. - -/** - * The embedded layout for the FormFactor theme. - * - * @package theme_formfactor - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - - -
- main_content() ?> -
- - -
-standard_end_of_body_html() ?> - - diff --git a/theme/formfactor/layout/frontpage.php b/theme/formfactor/layout/frontpage.php deleted file mode 100644 index 857a7ff78559f..0000000000000 --- a/theme/formfactor/layout/frontpage.php +++ /dev/null @@ -1,135 +0,0 @@ -. - -/** - * The frontpage layout for the FormFactor theme. - * - * @package theme_formfactor - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($hassidepre && !$hassidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($hassidepost && !$hassidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$hassidepost && !$hassidepre) { - $bodyclasses[] = 'content-only'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - - - - - -
- - - - - - - - -
-
-
-
- -
-
-
- main_content() ?> -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- - - - - - - - - -
-standard_end_of_body_html() ?> - - diff --git a/theme/formfactor/layout/general.php b/theme/formfactor/layout/general.php deleted file mode 100644 index 486e9eff13c6d..0000000000000 --- a/theme/formfactor/layout/general.php +++ /dev/null @@ -1,164 +0,0 @@ -. - -/** - * The default layout for the FormFactor theme. - * - * @package theme_formfactor - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if ($hassidepre && !$hassidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($hassidepost && !$hassidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$hassidepost && !$hassidepre) { - $bodyclasses[] = 'content-only'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - - - - - - -
- - - - - - -
- - - - - - - - - -
-
-
-
- -
-
-
- - main_content() ?> - -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- - - - - - - - - -
-standard_end_of_body_html() ?> - - diff --git a/theme/formfactor/pix/favicon.ico b/theme/formfactor/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/formfactor/pix/favicon.ico and /dev/null differ diff --git a/theme/formfactor/pix/gradient-sb.jpg b/theme/formfactor/pix/gradient-sb.jpg deleted file mode 100644 index 6332f0bff26cb..0000000000000 Binary files a/theme/formfactor/pix/gradient-sb.jpg and /dev/null differ diff --git a/theme/formfactor/pix/header.gif b/theme/formfactor/pix/header.gif deleted file mode 100644 index 6cafcfbdde9cc..0000000000000 Binary files a/theme/formfactor/pix/header.gif and /dev/null differ diff --git a/theme/formfactor/pix/screenshot.jpg b/theme/formfactor/pix/screenshot.jpg deleted file mode 100644 index 2bd0a70df13ff..0000000000000 Binary files a/theme/formfactor/pix/screenshot.jpg and /dev/null differ diff --git a/theme/formfactor/style/blocks.css b/theme/formfactor/style/blocks.css deleted file mode 100644 index 3f579151a57e0..0000000000000 --- a/theme/formfactor/style/blocks.css +++ /dev/null @@ -1,52 +0,0 @@ -/* Blocks --------------------------*/ -.block { - border-width: 1px 0 0; - border-color: #ccc; - border-style: solid; - background-image: url([[pix:theme|gradient-sb]]); - background-repeat: repeat-x; - background-position: left top; -} -.block .header { - border-width: 0 1px; - border-style: solid; - border-color: #eee; - padding: 3px 10px; -} -.block .header h2 { - color: #333; - font-size: 1.2em; -} -.block .content { - padding: 5px 10px; - border-width: 0 1px 1px; - border-style:solid; - border-color: #eee; -} -.block_login { - border: 1px solid #ccc; - background-color: #fcffc8; -} -.block_login label { - font-size: 0.85em; - display: block; -} -.block_login .fld input { - margin: 1px 0 5px; - padding: 2px; - width: 95%; -} -.block_login .btn { - padding: 4px 0; -} -.block_login .footer { - font-size: 0.9em; - padding: 5px 0 3px; -} -.block_calendar_month .content { - padding: 5px -} -.block_course_summary .content { - padding: 10px; -} diff --git a/theme/formfactor/style/core.css b/theme/formfactor/style/core.css deleted file mode 100644 index b03f9d0b7282b..0000000000000 --- a/theme/formfactor/style/core.css +++ /dev/null @@ -1,163 +0,0 @@ -/* Core --------------------------*/ -body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea { - font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; -} - -/* Header --------------------------*/ -#page-header-wrapper { - margin: 0 50px; -} -#page-header { - float: none; -} -#page-header .headermain { - margin: 0.75em 0; - font-size: 2em; -} -#page-header .headermenu a:hover { - color: #fff; -} - -#page-site-index .headermain { - margin: 0.85em 0; - font-size: 2.5em; -} -#course-header { - margin: 0 50px; -} - -/* Page Navigation ---------------------------*/ -#page-navigation { - margin: 0; - padding: 0 40px; - font-size: 1.1em; -} -#page-navigation li { - list-style: none; - float: left; } -#page-navigation a { - display: block; - padding: 5px 10px; -} -/* Breadcrumb ----------------------------*/ -.navbar { - padding: 3px 50px; -} -.navbar .breadcrumb { - font-size: 0.8em; - color: #555; -} -/* Content ----------------------------*/ -#page-content-wrapper { - margin: 10px 50px; -} -/* Tabs ----------------------------*/ -.tabtree .tabrow0 li.here a { - background-color: #fff; - background-image: url([[pix:theme|gradient-sb]]); - background-repeat: repeat-x; - background-position: left top; -} -.tabtree .tabrow0 .tabrow1 li a { - background-image: none; -} -/* User ----------------------------*/ -.userinfobox .content { - border-width: 2px; - background-image: url([[pix:theme|gradient-sb]]); - background-repeat: repeat-x; - background-position: left top; -} -/* Forms -------------------------*/ -.mform fieldset { - border-color: #ddd; -} -.mform legend { - border: 1px solid #ddd; - padding: 2px 7px; - background-image: url([[pix:theme|gradient-sb]]); - background-repeat: repeat-x; - background-position: 0 -25%; -} -.mform .btn-cancel { - color: #bf3503; - text-decoration: none; -} -.mform .btn-cancel:hover, -.mform .btn-cancel:focus { - color: #3f5c10; - text-decoration: none; -} -/* Footer ---------------------------*/ -#page-footer { - margin: 25px 0; -} -#page-footer .logininfo { - margin: 1em 0; -} -#course-footer { - margin: 0 50px; -} -/* Custum menu --------------------------*/ -#custommenu { - margin: 0 50px; -} -#custommenu, -#custommenu .yui3-menu, -#custommenu .yui3-menu-content { - border-width: 0; -} -#custommenu { - background-image: url([[pix:theme|gradient-sb]]); - background-repeat: repeat-x; - background-position: 0 30%; - padding-top: 4px; - padding-bottom: 4px; - border-right: 1px solid #eee; - border-bottom: 1px solid #ccc; - border-left: 1px solid #eee; -} -#custommenu .yui3-menu-label, -#custommenu .yui3-menuitem-content { - border-width: 0; -} -#custommenu .yui3-menu-content .yui3-menu-content { - border: 1px solid #ccc; - border-top-width: 0; - margin-top: 3px; -} -#custommenu .yui3-menu-content .yui3-menu-content .yui3-menu-content { - border-top: 1px solid #ccc; -} -#custommenu .yui3-menu-content .yui3-menu-content .yui3-menuitem-content, -#custommenu .yui3-menu-content .yui3-menu-content .yui3-menu-label { - padding-top: 5px; -} -#custommenu .yui3-menu-label, -#custommenu .yui3-menuitem-content { - color: #bf3503; -} -#custommenu .yui3-menu .yui3-menuitem-active, -#custommenu .yui3-menu-label-menuvisible, -#custommenu .yui3-menu-label-active, -#custommenu .yui3-menuitem-active .yui3-menuitem-content { - background-color: #bf3503; -} -#custommenu .yui3-menu-label-active, -#custommenu .yui3-menu-label-menuvisible, -#custommenu .yui3-menuitem-active .yui3-menuitem-content { - color: #fff; -} -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content { - border-width: 0; -} diff --git a/theme/formfactor/style/course.css b/theme/formfactor/style/course.css deleted file mode 100644 index db4491219308b..0000000000000 --- a/theme/formfactor/style/course.css +++ /dev/null @@ -1,13 +0,0 @@ -/* Course --------------------------*/ -.path-course-view .course-content .section.main { - background-color: #f5f5f5; - border: 1px solid #ddd; -} -.course_category_tree .category > .info .name { - line-height: 1.4; - font-size: 1em; -} -.coursebox.collapsed { - border-bottom: 0 none; -} diff --git a/theme/formfactor/style/editor.css b/theme/formfactor/style/editor.css deleted file mode 100644 index 228483a31fa88..0000000000000 --- a/theme/formfactor/style/editor.css +++ /dev/null @@ -1,30 +0,0 @@ -body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea { - font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; -} -.small { - font-size: .8em; - margin-bottom: 1.875em; - line-height: 1.875em; -} -.large { - font-size: 1.25em; - line-height: 1.5em; - margin-bottom: 1em; -} -.quiet { - color: #999; -} -.hide { - display: none; -} -.highlight { - background: #ffc; -} -.top { - margin-top: 0; - padding-top: 0; -} -.bottom { - margin-bottom: 0; - padding-bottom: 0; -} diff --git a/theme/formfactor/style/mods.css b/theme/formfactor/style/mods.css deleted file mode 100644 index 81711a1fa2642..0000000000000 --- a/theme/formfactor/style/mods.css +++ /dev/null @@ -1,37 +0,0 @@ -/* Intro --------------------------*/ -#intro, -#pageintro { - background-color: #f7f7f7; -} - -/* Forum ----------------------------*/ - -.path-mod-forum .forumheaderlist th { - background-image: url([[pix:theme|gradient-sb]]); - background-repeat: repeat-x; - background-position: left top; -} -.path-mod-forum .forumheaderlist > tbody > tr:nth-of-type(even) td { - background-color: #f5f5f5; -} -.forumpost .topic { - background-color: #eee; - border-bottom: 2px solid #aaa; - padding-left: 7px; -} -.forumpost .topic .subject { - font-size: 1.25em; -} -.forumpost .topic .author { - font-style: italic; - color: #444; - font-size: 0.95em; -} -.forumpost .content .posting { - padding: 5px 7px 10px 7px; -} -.forumpost .options { - border-bottom: 5px solid #aaa; -} diff --git a/theme/formfactor/style/pagelayout.css b/theme/formfactor/style/pagelayout.css deleted file mode 100644 index 44288ebeda34f..0000000000000 --- a/theme/formfactor/style/pagelayout.css +++ /dev/null @@ -1,43 +0,0 @@ - -/*-----------------------------------------------------------------------------------| -|--------------LEFT--------------------MIDDLE-------------------RIGHT----------------| -|--------------210px--------------------------------------------210px----------------| -|-----------------------------------------------------------------------------------*/ - -#page-content #region-main-box { - left: 210px; /* Width of left sideblock */ -} -#page-content #region-main-box #region-post-box { - margin-left: -420px; /* Twice width of left sideblock */ - padding-top: 5px; -} -#page-content #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 420px; /* Twice width of left sideblock */ - padding: 0 15px; /* Padding around middle column */ -} -#page-content #region-main-box #region-post-box #region-pre { - left: 210px; /* Width of left sideblock */ - width: 210px; /* Width of left sideblock */ -} -#page-content #region-main-box #region-post-box #region-post { - width: 210px; /* Width of right sideblock */ -} -#page-content #region-main-box .region-content { - padding: 0; -} -/** Only side pre **/ -.side-pre-only #page-content #region-main-box #region-post-box { - margin-left: -210px; -} -.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 210px; -} - /** Only side post **/ - -.side-post-only #page-content #region-main-box #region-post-box { - margin-left: -210px; -} -.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 210px; -} - diff --git a/theme/formfactor/style/selected.css b/theme/formfactor/style/selected.css deleted file mode 100644 index 47b7788e6ceab..0000000000000 --- a/theme/formfactor/style/selected.css +++ /dev/null @@ -1,29 +0,0 @@ -a:link, -a:visited { - color: #bf3503; -} -a:hover, -a:active { - color: #3f5c10; -} -#page-header { - background-color: #333; - background-image: url([[pix:theme|header]]); - color: #fff; } - -.path-course-view .course-content .section.main.current, -#page-navigation { - background-color: #bf3503 -} -#page-navigation a:link, -#page-navigation a:visited, -.path-course-view .course-content .current .left { - color: #fff; -} -#page-navigation a:hover, -#page-navigation a:active { - background-color: #922803; -} -.path-course-view .section .content { - background-color: #fff; -} diff --git a/theme/formfactor/version.php b/theme/formfactor/version.php deleted file mode 100644 index 356a069b73f48..0000000000000 --- a/theme/formfactor/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_formfactor - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX). -$plugin->requires = 2013110500; // Requires this Moodle version. -$plugin->component = 'theme_formfactor'; // Full name of the plugin (used for diagnostics). -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/fusion/config.php b/theme/fusion/config.php deleted file mode 100644 index ff5acfd905fa0..0000000000000 --- a/theme/fusion/config.php +++ /dev/null @@ -1,254 +0,0 @@ -. - -/** - * Configuration for Moodle's fusion theme. - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_fusion - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'fusion'; - -//////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -//////////////////////////////////////////////////// - - -$THEME->parents = array( - 'canvas', - 'base', -); - -///////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -//////////////////////////////////////////////////// - - -$THEME->sheets = array( - 'core', - 'pagelayout', - 'menus', - 'settings', -); - -//////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -//////////////////////////////////////////////////// - -$THEME->parents_exclude_sheets = array( - 'base'=>array( - 'pagelayout', - ), - 'canvas'=>array( - 'pagelayout', - ), -); - - -$THEME->enable_dock = true; - -//////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -//////////////////////////////////////////////////// - - -$THEME->editor_sheets = array('editor'); - -//////////////////////////////////////////////////// -// An array of stylesheets to include within the -// body of the editor. -//////////////////////////////////////////////////// - -$THEME->layouts = array( - 'base' => array( - 'file' => 'general.php', - 'regions' => array(), - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post' - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'embedded' => array( - 'theme' => 'canvas', - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - 'report' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), -); - -/////////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. -/////////////////////////////////////////////////////////////// - -// $THEME->csspostprocess = 'fusion_process_css'; - -//////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -//////////////////////////////////////////////////// - -// $THEME->javascripts - -//////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -//////////////////////////////////////////////////// - -// $THEME->javascripts_footer - -//////////////////////////////////////////////////// -// As above but will be included in the page footer. -//////////////////////////////////////////////////// - -$THEME->larrow = '⟨'; - -//////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -//////////////////////////////////////////////////// - -$THEME->rarrow = '⟩'; - -//////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// - -// $THEME->layouts - -//////////////////////////////////////////////////// -// An array setting the layouts for the theme -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_javascripts - -//////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -//////////////////////////////////////////////////// - -// $THEME->plugins_exclude_sheets - -//////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -//////////////////////////////////////////////////// - -// $THEME->rendererfactory - -//////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -//////////////////////////////////////////////////// - -$THEME->csspostprocess = 'fusion_process_css'; \ No newline at end of file diff --git a/theme/fusion/lang/en/theme_fusion.php b/theme/fusion/lang/en/theme_fusion.php deleted file mode 100644 index a38eb1c5dc888..0000000000000 --- a/theme/fusion/lang/en/theme_fusion.php +++ /dev/null @@ -1,68 +0,0 @@ -. - -/** - * Strings for component 'theme_fusion', language 'en'. - * - * @package theme_fusion - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Fusion'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = ' -
-
- -

Fusion

- - -

Theme Discussion Forum:

-

http://moodle.org/mod/forum/view.php?id=46

- -

Theme Credits

-

http://docs.moodle.org/en/Theme_credits

- -

Theme Documentation:

-

http://docs.moodle.org/en/Themes

Report a bug:

http://tracker.moodle.org

-
- -
- -

About

-

Fusion is a two-column, fluid-width theme coded for Moodle 2.0. It makes use of custom menus that appear above the site title on every page. It also includes a basic settings page allowing you to change link color, add a tagline above the site name on the front page, and add text to the footer.

- -

Parents

-

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you wish to modify aspects of this theme beyond the settings offered, we advise creating a new theme using this theme, Base and Canvas all as parents so updates to any of those themes in the core will find their way into your new theme.

- -

Credits

-

This design was originally created by Digital Nature (hello@digitalnature.ro) before being ported to Moodle by Patrick Malley (patrick@newschoollearning.com). -

License

-

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License. -

-
'; - -$string['linkcolor'] = 'Link colour'; -$string['linkcolordesc'] = 'This sets the link colour for the theme.'; -$string['configtitle'] = 'Fusion settings'; -$string['customcss'] = 'Custom CSS'; -$string['customcssdesc'] = 'Any CSS you enter here will be added to every page allowing your to easily customise this theme.'; -$string['tagline'] = 'Tagline'; -$string['taglinedesc'] = 'A short tagline to be displayed under the site name on the front page.
'; -$string['footertext'] = 'Footertext'; -$string['footertextdesc'] = 'Set a footnote or footer text.'; diff --git a/theme/fusion/layout/frontpage.php b/theme/fusion/layout/frontpage.php deleted file mode 100644 index 4d48326f5afd6..0000000000000 --- a/theme/fusion/layout/frontpage.php +++ /dev/null @@ -1,166 +0,0 @@ -. - -/** - * The frontpage layout. - * - * @package theme_fusion - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepost) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - - -if (!empty($PAGE->theme->settings->tagline)) { - $tagline = $PAGE->theme->settings->tagline; -} else { - $tagline = ''; -} - -if (!empty($PAGE->theme->settings->footertext)) { - $footnote = $PAGE->theme->settings->footertext; -} else { - $footnote = ''; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- -
-
- -
- - - - - - - - - -
-
-
-
- -
-
-
- -
-

heading ?>

-

-
- - main_content() ?> - -
-
-
- - -
-
-
-
- blocks_for_region('side-post') ?> -
-
-
-
- - -
-
-
-
- - - -
- -
-
- - - - - - - -
- -standard_end_of_body_html() ?> - - diff --git a/theme/fusion/layout/general.php b/theme/fusion/layout/general.php deleted file mode 100644 index 729fea8d00fba..0000000000000 --- a/theme/fusion/layout/general.php +++ /dev/null @@ -1,201 +0,0 @@ -. - -/** - * The default layout. - * - * @package theme_fusion - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepost = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-post', $OUTPUT)); - -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); - if ($showsidepost) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -if (!empty($PAGE->theme->settings->footertext)) { - $footnote = $PAGE->theme->settings->footertext; -} else { - $footnote = ''; -} - - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- - - -
-
- -
- - - - - - - - - - -
- - - - - -
-
-
-
- -
-
-
- -
-

heading ?>

-
- - - - - - - main_content() ?> - -
-
-
- - -
-
-
-
- blocks_for_region('side-post') ?> -
-
-
-
- - -
-
-
-
- - - - - - - - -
- -
-
- - - - - - - - - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/fusion/lib.php b/theme/fusion/lib.php deleted file mode 100644 index 80bad2fd436a5..0000000000000 --- a/theme/fusion/lib.php +++ /dev/null @@ -1,83 +0,0 @@ -. - -/** - * This file contains functions specific to the needs of the Fusion theme. - * - * @package theme_fusion - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * Sets the link colour for the Fusion theme. - * @param string $css - * @param string $linkcolor - * @return string - */ -function fusion_set_linkcolor($css, $linkcolor) { - $tag = '[[setting:linkcolor]]'; - $replacement = $linkcolor; - if (is_null($replacement)) { - $replacement = '#2d83d5'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Adds custom CSS to the theme CSS before it is cached and delivered. - * - * @param string $css - * @param string $customcss - * @return string - */ -function fusion_set_customcss($css, $customcss) { - $tag = '[[setting:customcss]]'; - $replacement = $customcss; - if (is_null($replacement)) { - $replacement = ''; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Processes theme CSS adding customisations before it is cached and delivered. - * - * @param string $css - * @param theme_config $theme - * @return string - */ -function fusion_process_css($css, $theme) { - - if (!empty($theme->settings->linkcolor)) { - $linkcolor = $theme->settings->linkcolor; - } else { - $linkcolor = null; - } - $css = fusion_set_linkcolor($css, $linkcolor); - - if (!empty($theme->settings->customcss)) { - $customcss = $theme->settings->customcss; - } else { - $customcss = null; - } - $css = fusion_set_customcss($css, $customcss); - - return $css; -} - diff --git a/theme/fusion/pix/favicon.ico b/theme/fusion/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/fusion/pix/favicon.ico and /dev/null differ diff --git a/theme/fusion/pix/grad.png b/theme/fusion/pix/grad.png deleted file mode 100644 index f2a5e92bb587b..0000000000000 Binary files a/theme/fusion/pix/grad.png and /dev/null differ diff --git a/theme/fusion/pix/header-bg-sm.jpg b/theme/fusion/pix/header-bg-sm.jpg deleted file mode 100644 index 9767f383da38d..0000000000000 Binary files a/theme/fusion/pix/header-bg-sm.jpg and /dev/null differ diff --git a/theme/fusion/pix/header-bg.jpg b/theme/fusion/pix/header-bg.jpg deleted file mode 100644 index f74a7c633a9f5..0000000000000 Binary files a/theme/fusion/pix/header-bg.jpg and /dev/null differ diff --git a/theme/fusion/pix/header-center-sm.jpg b/theme/fusion/pix/header-center-sm.jpg deleted file mode 100644 index 18d01fa10e47c..0000000000000 Binary files a/theme/fusion/pix/header-center-sm.jpg and /dev/null differ diff --git a/theme/fusion/pix/header-center.jpg b/theme/fusion/pix/header-center.jpg deleted file mode 100644 index a2940b36d301d..0000000000000 Binary files a/theme/fusion/pix/header-center.jpg and /dev/null differ diff --git a/theme/fusion/pix/main-bg.gif b/theme/fusion/pix/main-bg.gif deleted file mode 100644 index 1ca81a2efd342..0000000000000 Binary files a/theme/fusion/pix/main-bg.gif and /dev/null differ diff --git a/theme/fusion/pix/menu-top.png b/theme/fusion/pix/menu-top.png deleted file mode 100644 index ef2ae4de53c6a..0000000000000 Binary files a/theme/fusion/pix/menu-top.png and /dev/null differ diff --git a/theme/fusion/pix/screenshot.jpg b/theme/fusion/pix/screenshot.jpg deleted file mode 100644 index d3525ff1fbefa..0000000000000 Binary files a/theme/fusion/pix/screenshot.jpg and /dev/null differ diff --git a/theme/fusion/pix/side-bg.png b/theme/fusion/pix/side-bg.png deleted file mode 100644 index 332d106425daf..0000000000000 Binary files a/theme/fusion/pix/side-bg.png and /dev/null differ diff --git a/theme/fusion/pix/side-start.png b/theme/fusion/pix/side-start.png deleted file mode 100644 index 5979b6074e1c7..0000000000000 Binary files a/theme/fusion/pix/side-start.png and /dev/null differ diff --git a/theme/fusion/settings.php b/theme/fusion/settings.php deleted file mode 100644 index d4a5dd82362c5..0000000000000 --- a/theme/fusion/settings.php +++ /dev/null @@ -1,63 +0,0 @@ -. - -/** - * Settings for the fusion theme. - * - * @package theme_fusion - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -if ($ADMIN->fulltree) { - - // link color setting - $name = 'theme_fusion/linkcolor'; - $title = get_string('linkcolor','theme_fusion'); - $description = get_string('linkcolordesc', 'theme_fusion'); - $default = '#2d83d5'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Tag line setting - $name = 'theme_fusion/tagline'; - $title = get_string('tagline','theme_fusion'); - $description = get_string('taglinedesc', 'theme_fusion'); - $setting = new admin_setting_configtext($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Foot note setting - $name = 'theme_fusion/footertext'; - $title = get_string('footertext','theme_fusion'); - $description = get_string('footertextdesc', 'theme_fusion'); - $setting = new admin_setting_confightmleditor($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Custom CSS file - $name = 'theme_fusion/customcss'; - $title = get_string('customcss','theme_fusion'); - $description = get_string('customcssdesc', 'theme_fusion'); - $setting = new admin_setting_configtextarea($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - -} diff --git a/theme/fusion/style/core.css b/theme/fusion/style/core.css deleted file mode 100644 index ac877f9462b35..0000000000000 --- a/theme/fusion/style/core.css +++ /dev/null @@ -1,416 +0,0 @@ -/* Global ----------------------------*/ - -html, body{ - height:100%; -} - -html{ - font-size: 100%; -} - -body { - min-height:100%; - height:auto !important; /* ie6 ignores it */ - height:100%; /* fix */ - position: relative; - background: #fff url([[pix:theme|main-bg]]) repeat-x left 150px; -} - -body#page-site-index { - background-position: left 200px; -} - -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - line-height: 1.5; - color: #333; -} - -a { - color: #2d83d5; -} - -a:hover{ - color: #333; - text-decoration: none; -} - -#wrapper { - padding:0 100px; - min-width: 910px; -} - - -blockquote { - border-left:1px solid #eee; - padding-left:15px; - color:#666; -} - -/* Moodle forms -----------------*/ - -.mform .btn-cancel { - color: #2d83d5; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #333333; - text-decoration: none; -} - -.mform fieldset { - border-color: #eee; -} - -.mform fieldset legend { - color: #444; - font-weight: normal; - font-size: 1.2em; - border: 1px solid #eee; - padding: 2px 5px; - background-color: #fff; -} - -img{ - border: 0; -} - -/* headings */ - -h1{ - font-size: 250%; - margin: .5em 0 .2em; - font-weight: bold; - letter-spacing:-0.06em; -} - -h2{ - font-family: "Palatino Linotype", Georgia, "Tahoma", "Century Schoolbook L", Arial, Helvetica; - font-size: 160%; - font-weight: bold; - margin: .2em 0 .2em; - letter-spacing: -0.04em; -} - -h2.helpheading { - font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - line-height: 1.5; - color: #333; -} - -h3{ - font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - font-size: 150%; - font-weight: bold; - margin: .2em 0 .2em; - letter-spacing:-0.06em; -} - -h4{ - font-family: Arial Narrow, Arial, Helvetica, Geneva; - font-size: 140%; - font-weight: bold; - margin: .2em 0 .2em; -} - -h5{ - font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - font-size: 115%; - font-weight: normal; - margin: .2em 0 .2em; - text-transform: uppercase; - font-style: italic; -} - -h6{ - font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - font-size: 110%; - font-weight: bold; - margin: .2em 0 .2em; -} - -#page-site-index #page-wrap1 { - background: transparent url([[pix:theme|header-bg]]) repeat-x left top; -} - -#page-site-index #page-wrap2 { - background: transparent url([[pix:theme|header-center]]) no-repeat center top; -} - - -#page-wrap1 { - background: transparent url([[pix:theme|header-bg-sm]]) repeat-x left top; -} - -#page-wrap2 { - background: transparent url([[pix:theme|header-center-sm]]) no-repeat center top; -} - -/* Header -----------------------------*/ - - -#page-header { - padding: 0; -} - -#page-site-index #region-header { - margin-bottom: 65px; -} - -#region-header { - margin-bottom: 40px; -} - -.headermain { - margin: 0; - float: none; - font-family: "Trajan Pro", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - float: none; - font-size: 3em; - line-height: 1; - text-shadow: -0.05em -0.05em 0 #000; - color: #fff -} - -#region-header.inside .headermain { - font-size: 2.5em; -} - -.tagline { - color: #a2a3a6; - text-shadow: -0.1em -0.1em 0 #000; -} - -.headermenu { - color: #fff; - float: none; - margin:5px 25px 0 0; -} - -.headermenu a { - color: #a2a3a6; -} - -.headermenu a:hover { - color: #fff; -} - -#page-header .logininfo, -#page-header .langmenu { - float: right; -} - -#page-header .logininfo { - padding: 2px 5px 0 0; -} - -#course-header, #course-footer { - margin:5px 20px 0 0; -} - -/* Navbar -----------------------------*/ - -.navbar { -margin-bottom: 1em; -} - -.breadcrumb .sep { - padding-left: 5px; - font-size: 0.9em; -} - -/* Blocks -----------------------------*/ - -#region-post-wrap-1 { - background: url([[pix:theme|side-start]]) no-repeat 0 0; - padding-left: 28px; -} - -#region-post-wrap-2 { - background: url([[pix:theme|side-bg]]) no-repeat 100% 0; - padding-right: 40px; - padding-top: 15px; -} - -.block { - border: none; -} - -.block .header { - border-bottom: 1px solid #eee; - padding: 0; -} - -.block .header h2 { - font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - font-weight: normal; - text-transform: uppercase; -font-size: 1.2em; -color: #777; -margin: 0; -} - -/* Courses -----------------------------*/ - -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2 { - font-weight: normal; - color:#999; - font-size: 1.5em; - border-bottom:1px dotted #eee; -} - -.coursebox { - border-color: #eee; -} - -.coursebox > .info > .name {font-size: 1.1em;} -.course_category_tree .category > .info .name { font-size: 1.2em;} - -.coursebox .content .teachers, -.coursebox .content .courseimage, -.coursebox .content .coursefile, -.coursebox.remotecoursebox .remotecourseinfo { - width: 35%; -} - -.coursebox .content .teachers { - font-size: 0.9em; - color: #888; -} - -.coursebox .content .summary, -.coursebox .content .coursecat { - width: 61%; -} - -.course-content .section.main { - border-bottom: 1px solid #eee; -} - -.course-content .section.main .content { - padding: 5px 5px 10px; -} - -.course-content .weeks .section.main .content { - margin-left: 0; -} - -.editing .course-content .weeks .section.main .content { - margin-left: 40px; -} - -.course-content .weeks .section.main .left { - display: none; -} - -.editing .course-content .weeks .section.main .left { - display: block; -} - -.course-content .section.main.current { - background-color: #fffcdc; -} - -.course-content .weeks .section.main h3.weekdates { - color: #999; -} - -.course-content .current .left, -.course-content .current h3.sectionname { - color: #2d83d5; -} - -/* Forum ---------------------------*/ - -.forumpost .topic { - background: #fff url([[pix:theme|grad]]) repeat-x 0 100%; - padding: 0 10px 0; - border: 1px solid #eee; -} - -.forumpost .subject { - font-size: 1.5em; - font-family: "Palatino Linotype", Georgia, "Tahoma", "Century Schoolbook L", Arial, Helvetica; -} - -.forumpost .author { - font-size: 0.9em; - font-style: italic; -} - -.forumpost .content { - border-width: 0 1px 1px; - border-style: solid; - border-color: #aaa #eee #eee; - padding: 5px 10px 10px; -} - -/* Dock -----------------------*/ - -#dock { - background-color: #eee; - border: none; -} - -#dock .firstdockitem { - margin-top: 15px; -} - -#dock .dockeditem { - background-color: #fff; - border: 1px solid #eee; - border-width: 0 1px 1px 0; - padding: 3px 0; -} - -#dock .dockeditem .dockedtitle { - border: none; -} - -#dock .dockeditem .dockedtitle h2 { - margin: 12px 0 12px 7px; - color: #666; -} - -#dockeditempanel .dockeditempanel_content { - border-color: #eee; -} - -#dockeditempanel .dockeditempanel_hd { - border-bottom: none; - padding: 3px 5px; - background-color: #eee; - text-align: left; -} - -#dockeditempanel .dockeditempanel_hd h2 { - color: #333; - text-align: right; - font-weight: normal; - font-size: 0.8em; - padding: 0 2px; -} - -#dockeditempanel .dockeditempanel_hd .commands { - float: right; -} - -.pagelayout-redirect { - background-position:0 0; -} - -.course-content ul.topics, -.course-content ul.weeks { - clear: both; -} diff --git a/theme/fusion/style/editor.css b/theme/fusion/style/editor.css deleted file mode 100644 index 7af59679683fa..0000000000000 --- a/theme/fusion/style/editor.css +++ /dev/null @@ -1,5 +0,0 @@ -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - line-height: 1.5; - color: #333; -} \ No newline at end of file diff --git a/theme/fusion/style/menus.css b/theme/fusion/style/menus.css deleted file mode 100644 index f5b7d70f34105..0000000000000 --- a/theme/fusion/style/menus.css +++ /dev/null @@ -1,40 +0,0 @@ -#custommenu {font-size: 1.2em;line-height: 1.2;float: left;width:60%;} - -#custommenu .yui3-menu .yui3-menuitem {padding-right:20px;} -#custommenu .yui3-menu .yui3-menu .yui3-menuitem {padding-right:0;} -#custommenu .yui3-menu .yui3-menu .yui3-menu-content {border-width: 0;background-color: #fff;padding: 5px 0;} - -#custommenu .yui3-menu .yui3-menu {padding-top: 5px;background-image: url([[pix:theme|menu-top]]);background-repeat: no-repeat;background-position: 20px 0;} -#custommenu .yui3-menu .yui3-menu .yui3-menu {padding-top: 0;background-image: none;} - -#custommenu .yui3-menuitem-content, -#custommenu .yui3-menu-label {color: #a2a3a6;} - -#custommenu .yui3-menu-label, -#custommenu .yui3-menuitem-content, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem-content {padding-top: 3px;padding-bottom: 4px;} - -#custommenu .yui3-menu-content, -#custommenu .yui3-menu-horizontal .yui3-menu-label, -#custommenu .yui3-menu-horizontal .yui3-menuitem-content {border-width: 0;} - -#custommenu .yui3-menuitem-active {background-color: transparent;} - -#custommenu .yui3-menu-label-active, -#custommenu .yui3-menu-label-menuvisible, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label-menuvisible, -#custommenu .yui3-menuitem-active .yui3-menuitem-content, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content {color: #fff;background-color: #2d83d5;} - -/** - * Don't set opacity in IE it prevents level 3+ submenu's from displaying due to - * a bug with the way IE applies opacity to children - */ -#custommenu .yui3-menu .yui3-menu {-moz-opacity:0.95;-khtml-opacity: 0.95;opacity: 0.95;} -#custommenu .yui3-menu .yui3-menu .yui3-menu {-moz-opacity:1;-khtml-opacity: 1;opacity: 1;} - -#custommenu .yui3-menu.javascript-disabled .yui3-menu-content, -#custommenu .yui3-menu.javascript-disabled .yui3-menu-content .ul {border:none;} -#custommenu .yui3-menu.javascript-disabled .yui3-menuitem {padding-right:20px;} -#custommenu .yui3-menu.javascript-disabled .yui3-menu .yui3-menuitem {padding-right:0;} \ No newline at end of file diff --git a/theme/fusion/style/pagelayout.css b/theme/fusion/style/pagelayout.css deleted file mode 100644 index 513a9bb0364ef..0000000000000 --- a/theme/fusion/style/pagelayout.css +++ /dev/null @@ -1,107 +0,0 @@ -/** Path: theme pagelayout **/ - -/********************************************************************************************* - - right column: 28% - padding left/right column: 10px - padding center column: 20px - -**********************************************************************************************/ - -body { - margin: auto 0px; - width: auto; -} - -#page { - width: 100%; -} - -#page-header { - float: left; - width: 100%; -} - -#page-content { - clear: both; - float: left; - overflow: hidden; - position: relative; - width: 100%; -} - -#page-content #region-main-box { - float: left; - right: 28%; - position: relative; - width: 100%; -} - -#page-content #region-post-box { - float: left; - right: 72%; - position: relative; - width: 100%; -} - -#page-content #region-main { - float: left; - overflow: hidden; - position: relative; - margin-right: 0px; - left: 100%; - width: 72%; -} - -#page-content #region-post { - float: left; - overflow: hidden; - position: relative; - left: 100%; - width: 28%; -} - -#page-content #region-main .region-content { - overflow: hidden; - padding: 50px 15px 20px 0; -} - -#page-content #region-post .region-content { - padding: 0 0 0 10px; -} - -#page-footer { - clear: both; - float: left; - width: 100%; -} - -/** No blocks whatsoever **/ - -.content-only #page-content #region-main-box { - right: 0%; -} - -.content-only #page-content #region-post-box { - right: 100%; -} - -.content-only #page-content #region-main { - left: 100%; - width: 100%; -} - -.content-only #page-content #region-pre { - width: 0%; -} - -.content-only #page-content #region-post { - width: 0%; -} - -.pagelayout-report #page-content #region-main {overflow:auto;} -.pagelayout-report #page-content #region-main .region-content {overflow:visible;} - -#page-enrol-manual-unenrolself #region-main .region-content #region-header.inside { - margin-bottom: 110px; -} \ No newline at end of file diff --git a/theme/fusion/style/settings.css b/theme/fusion/style/settings.css deleted file mode 100644 index 61645a630efad..0000000000000 --- a/theme/fusion/style/settings.css +++ /dev/null @@ -1,7 +0,0 @@ -a { - color:[[setting:linkcolor]]; -} - - -/** Custom CSS **/ -[[setting:customcss]] \ No newline at end of file diff --git a/theme/fusion/version.php b/theme/fusion/version.php deleted file mode 100644 index 362a96defbb63..0000000000000 --- a/theme/fusion/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_fusion - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_fusion'; // Full name of the plugin (used for diagnostics) -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/leatherbound/config.php b/theme/leatherbound/config.php deleted file mode 100644 index 46c0f15665c00..0000000000000 --- a/theme/leatherbound/config.php +++ /dev/null @@ -1,241 +0,0 @@ -. - -/** - * Configuration for Moodle's leatherbound theme. - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_leatherbound - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'leatherbound'; - -//////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -//////////////////////////////////////////////////// - - -$THEME->parents = array( - 'canvas', - 'base', -); - -///////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -//////////////////////////////////////////////////// - - -$THEME->sheets = array( - 'core', -); - -//////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -//////////////////////////////////////////////////// - -$THEME->enable_dock = true; - -//////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -//////////////////////////////////////////////////// - - -$THEME->editor_sheets = array('editor'); - -//////////////////////////////////////////////////// -// An array of stylesheets to include within the -// body of the editor. -//////////////////////////////////////////////////// - -$THEME->layouts = array( - 'base' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre' - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'embedded' => array( - 'theme' => 'canvas', - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - 'report' => array( - 'file' => 'report.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), -); - -/////////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. -/////////////////////////////////////////////////////////////// - -// $THEME->csspostprocess - -//////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -//////////////////////////////////////////////////// - -// $THEME->javascripts - -//////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -//////////////////////////////////////////////////// - -// $THEME->javascripts_footer - -//////////////////////////////////////////////////// -// As above but will be included in the page footer. -//////////////////////////////////////////////////// - -// $THEME->larrow - -//////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -//////////////////////////////////////////////////// - -// $THEME->rarrow - -//////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// - -// $THEME->layouts - -//////////////////////////////////////////////////// -// An array setting the layouts for the theme -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_javascripts - -//////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -//////////////////////////////////////////////////// - -// $THEME->plugins_exclude_sheets - -//////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -//////////////////////////////////////////////////// - -// $THEME->rendererfactory - -//////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -//////////////////////////////////////////////////// - diff --git a/theme/leatherbound/lang/en/theme_leatherbound.php b/theme/leatherbound/lang/en/theme_leatherbound.php deleted file mode 100644 index e822098921164..0000000000000 --- a/theme/leatherbound/lang/en/theme_leatherbound.php +++ /dev/null @@ -1,28 +0,0 @@ -. - -/** - * Strings for component 'theme_leatherbound', language 'en'. - * - * @package theme_leatherbound - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Leatherbound'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = '

About

Leatherbound is a fluid-width, three-column theme for Moodle 2.0 that was created by Patrick Malley.

Tweaks

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

Credits

This theme was coded and is maintained by Patrick Malley of NewSchool Learning. He can be contacted by email at contact@newschoollearning.com.

License

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.

'; \ No newline at end of file diff --git a/theme/leatherbound/layout/frontpage.php b/theme/leatherbound/layout/frontpage.php deleted file mode 100644 index 2e508e44e26ca..0000000000000 --- a/theme/leatherbound/layout/frontpage.php +++ /dev/null @@ -1,144 +0,0 @@ -. - -/** - * The frontpage layout. - * - * @package theme_leatherbound - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); - -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- - - - - - - -
- - - - -
- - - - -
-
-
- -
-
-
- main_content() ?> -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- - - - - - - - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/leatherbound/layout/general.php b/theme/leatherbound/layout/general.php deleted file mode 100644 index 529a4cd619833..0000000000000 --- a/theme/leatherbound/layout/general.php +++ /dev/null @@ -1,154 +0,0 @@ -. - -/** - * The default layout. - * - * @package theme_leatherbound - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if ($hassidepre && !$hassidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($hassidepost && !$hassidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$hassidepost && !$hassidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- - - - - -
- - - -
- - - - - - - -
-
-
-
- -
-
-
- - main_content() ?> - -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- - - - - - - - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/leatherbound/layout/report.php b/theme/leatherbound/layout/report.php deleted file mode 100644 index 40f2ad092593b..0000000000000 --- a/theme/leatherbound/layout/report.php +++ /dev/null @@ -1,140 +0,0 @@ -. - -/** - * The report layout. - * - * @package theme_leatherbound - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if ($hassidepre && !$hassidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($hassidepost && !$hassidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$hassidepost && !$hassidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- - - - - -
- - - -
- - - - - - - - -
-
-
-
- - main_content() ?> - -
-
- -
-
-
- blocks_for_region('side-pre') ?> -
-
-
- -
-
- - - - - - - - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/leatherbound/pix/favicon.ico b/theme/leatherbound/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/leatherbound/pix/favicon.ico and /dev/null differ diff --git a/theme/leatherbound/pix/header.jpg b/theme/leatherbound/pix/header.jpg deleted file mode 100644 index 3e85176f521eb..0000000000000 Binary files a/theme/leatherbound/pix/header.jpg and /dev/null differ diff --git a/theme/leatherbound/pix/screenshot.jpg b/theme/leatherbound/pix/screenshot.jpg deleted file mode 100644 index c0d0525a86d93..0000000000000 Binary files a/theme/leatherbound/pix/screenshot.jpg and /dev/null differ diff --git a/theme/leatherbound/style/core.css b/theme/leatherbound/style/core.css deleted file mode 100644 index a3cddd12a2dfe..0000000000000 --- a/theme/leatherbound/style/core.css +++ /dev/null @@ -1,370 +0,0 @@ -/******************************************************** -** -** Theme name: Leatherbound -** Description: A GPL theme for the Moodle core. -** Creation Date: 11/24/09 -** Author: Patrick Malley -** Author URI: http://newschoollearning.com -** -** Customize, edit, poke, prod, and adapt to your needs. -** -*********************************************************/ - -/* Global -------------------------*/ - -body { - background: #fff; - margin: 0; - padding: 0; - color: #281f18; -} - -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} - -.wrapper { - margin: 0 25px; -} - -a:link,a:visited { - color: #DA5013; -} - -a:hover,a:active { - color: #251c17; -} - -a img { - border: none; -} - -a:active { - outline: none; -} - -/* Header ------------------------*/ - -#page-header { - float: none; - padding: 10px 0 0; - background: url([[pix:theme|header]]); - border-bottom: 5px solid #DA5013; - color: #fff; -} - -#page-header h1 { - font-size: 2.25em; - margin: 30px 0 20px; -} - -#page-header h1.inside { - font-size: 1.8em; - margin: 20px 0 10px; -} - -.headermenu { - margin: 0; - font-size: 0.9em; -} - -/* Navbar ------------------------*/ - -.navbar { - border-width: 0 0 1px 0; - border-color: #ddddd7; - background: #f7f6f1; - margin: 0; - padding: 5px 0; -} - -.breadcrumb { - padding-left: 10px; -} - -.navbar .navbutton { - margin-top: 0; -} - -.breadcrumb .sep { - font-size: 0.8em; - color: #999; -} - -/* Content ------------------------*/ - -#page-content-wrapper { - float: none; - margin-top: 5px; -} - -/* Blocks ------------------------*/ - -.block { - margin-bottom: 20px; - border: none; -} - -.block .header { - border-top: 2px solid #da5013; - background: #f7f6f1; - padding: 4px 5px 5px; -} - -.block .title h2 { - color: #35251B; - font-weight: normal; - font-size: 1.2em; - margin: 0; -} - -/* Forum -------------------------*/ - -.forumpost .topic { - background: #dbd6c7; - border-bottom:1px solid #da5013; - padding:5px 4px 4px; -} - -.forumpost .topic .subject { - font-weight: bold; - font-size: 1.1em; -} - -.forumpost .topic .author { - font-size: 0.9em; -} - -.forumpost .content { - background: #f7f5f1; - border-width: 0 1px 1px; - border-style: solid; - border-color: #d9d8d4; -} - -/* Course ----------------------------*/ -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2 { - border-width: 0 0 1px 0; - padding: 5px 5px 2px; - font-weight: normal; - font-size: 1.2em; - background: #f7f5f1; - color: #251c17; -} - -.course_category_tree .coursebox > .info > .categoryname { - margin: 10px; -} -.course-content .main { - background: #f7f5f1; - border: 1px solid #ddd -} - -.course-content .current { - background: #da5013; -} - -.course-content .current .left.side { - color: #fff; -} - -.course-content .main .content { - background: #fff; -} - -/* Dock ----------------------------*/ - -#dock { - background-color: #f7f5f1; - border-right-color: #433b30; -} - -#dock .dockeditem_container { - margin-top: 10px; -} - -#dock .dockeditem { - background-color: #fff; -} - -#dock .firstdockitem { - margin-top: 1em; -} - -#dock .dockeditem .dockedtitle { - border-color: #dddddd; - border-top-color: #fff; -} - -#dock .dockeditem .dockedtitle.activeitem { - background: #f7f5f1; - border-top-color:#f7f5f1 ; -} - -#dock .firstdockitem .dockedtitle { - border-top-color: #ddd; -} - -#dock .dockeditem .dockedtitle h2 { - margin: 12px 0 12px 7px; -} - -#dockeditempanel .dockeditempanel_content { - border-color: #433b30; -} - -#dockeditempanel .dockeditempanel_hd { - border-bottom: none; - padding: 3px 5px; - background: #f7f6f1; - text-align: left; -} - -#dockeditempanel .dockeditempanel_hd h2 { - color: #333; - text-align: left; - font-weight: normal; - font-size: 1.25em; - padding: 0 2px; -} - -#dockeditempanel .dockeditempanel_hd .commands { - float: right; -} -/* block expansion code */ - -.block_js_expansion .block_tree { - overflow-x: scroll; -} - -.block_js_expansion.mouseover .content { - width: 200%; - z-index: 1000; - position: relative; -} - -.block_js_expansion.mouseover .content .block_tree { - width: 100%; - background-color: #FAFAFA; - padding-bottom: 0px; -} - -/** IE stylings */ - -.ie6 .block .block_tree { - width: 160px; - overflow-x: scroll; -} - -.ie6 .block_tree .tree_item { - width: 100%; -} - -.ie6 #dock { - position: absolute; -} - -.ie6 #dock hr { - display: none; - margin: 0px; - height: 0px; - padding: 0px; -} - -.ie6 #dock li p { - background-color: inherit; -} - -.ie6 #dock .bd.oversized_content .content, .ie7 #dock .bd.oversized_content .content { - padding-bottom: 0px; -} - -.ie6 .block_js_expansion.mouseover .content, .ie7 .block_js_expansion.mouseover .content { - padding-bottom: 2px; -} - -.ie6 #dock .bd.oversized_content { - width: 100%; -} - -/*custom menu styles */ -#custommenuwrap { - background-color: #F7F6F1; - border-bottom: 1px solid #DDDDDD; - padding: 3px 0px; -} - -#custommenu { - border-width: 0; - margin: 0 25px; -} - -/*YUI Reset */ -#custommenu .yui3-menu-label, -#custommenu .yui3-menuitem-content { - color: #35251B; - font-weight: 400; - border-width: 0; -} - -#custommenu .custom_menu_submenu .yui3-menu-label, -#custommenu .custom_menu_submenu .yui3-menuitem-content { - color: #35251B; -} - -#custommenu .yui3-menu-label.yui3-menu-label-active, -#custommenu .yui3-menuitem-active .yui3-menuitem-content { - color: #DA5013; -} - -#custommenu .yui3-menu-content, -#custommenu .yui3-menu .yui3-menu .yui3-menu-content, -#custommenu .yui3-menu-horizontal .yui3-menu-label, -#custommenu .yui3-menu-horizontal .yui3-menuitem-content { - border-width: 0; -} - -#custommenu .yui3-menu-label-active, -#custommenu .yui3-menu-label-menuvisible, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content { - background-color:#F6F6F6; -} - -#custommenu .custom_menu_submenu { - border: 2px solid #DA5013 !important; - background: #fff; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; - -webkit-box-shadow: 0px 1px 3px #ccc; - -moz-box-shadow: 0px 1px 3px #ccc; - box-shadow: 0px 1px 3px #ccc; -} - -#custommenu .yui3-menu.javascript-disabled .yui3-menu-content, -#custommenu .yui3-menu.javascript-disabled .yui3-menu-content .ul { - border-width:0; -} - -/* Moodle forms -----------------*/ - -.mform .btn-cancel { - color: #DA5013; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #251c17; - text-decoration: none; -} diff --git a/theme/leatherbound/style/editor.css b/theme/leatherbound/style/editor.css deleted file mode 100644 index fa254675272d1..0000000000000 --- a/theme/leatherbound/style/editor.css +++ /dev/null @@ -1,3 +0,0 @@ -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} \ No newline at end of file diff --git a/theme/leatherbound/version.php b/theme/leatherbound/version.php deleted file mode 100644 index 56fbb96383b45..0000000000000 --- a/theme/leatherbound/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_leatherbound - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_leatherbound'; // Full name of the plugin (used for diagnostics) -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/magazine/config.php b/theme/magazine/config.php deleted file mode 100644 index e219986ff1b4a..0000000000000 --- a/theme/magazine/config.php +++ /dev/null @@ -1,222 +0,0 @@ -. - -/** - * Magazine theme configuration. - * - * @package theme_magazine - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die(); - -$THEME->name = 'magazine'; - -//////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -//////////////////////////////////////////////////// - -$THEME->parents = array('canvas','base'); - -///////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -//////////////////////////////////////////////////// - -$THEME->sheets = array('layout','core','colors','css3'); - -//////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -//////////////////////////////////////////////////// - -$THEME->parents_exclude_sheets = array('base'=>array('pagelayout'),'canvas'=>array('pagelayout') ); - -//////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -//////////////////////////////////////////////////// - -$THEME->enable_dock = true; - -//////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -//////////////////////////////////////////////////// - -$THEME->editor_sheets = array('editor'); - -//////////////////////////////////////////////////// -// An array of stylesheets to include within the -// body of the editor. -//////////////////////////////////////////////////// - -$THEME->layouts = array( - // Most backwards compatible layout without the blocks - this is the layout used by default - 'base' => array( - 'file' => 'general.php', - 'regions' => array(), - ), - // Standard layout with blocks, this is recommended for most pages with general information - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre' - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'embedded' => array( - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - 'report' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), -); - -/////////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. -/////////////////////////////////////////////////////////////// - -$THEME->csspostprocess = 'magazine_process_css'; - -//////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -//////////////////////////////////////////////////// - -// $THEME->javascripts - -//////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -//////////////////////////////////////////////////// - -// $THEME->javascripts_footer - -//////////////////////////////////////////////////// -// As above but will be included in the page footer. -//////////////////////////////////////////////////// - -// $THEME->larrow = "<"; - -//////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -//////////////////////////////////////////////////// - -// $THEME->rarrow = ">"; - -//////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_javascripts - -//////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -//////////////////////////////////////////////////// - -// $THEME->plugins_exclude_sheets - -//////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -//////////////////////////////////////////////////// - -// $THEME->rendererfactory - -//////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -//////////////////////////////////////////////////// \ No newline at end of file diff --git a/theme/magazine/lang/en/theme_magazine.php b/theme/magazine/lang/en/theme_magazine.php deleted file mode 100644 index c4331619cf090..0000000000000 --- a/theme/magazine/lang/en/theme_magazine.php +++ /dev/null @@ -1,57 +0,0 @@ -. - -/** - * Language strings for the magazine theme. - * - * @package theme_magazine - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Magazine'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = '

About

Magazine is a three column fluid-width theme for Moodle 2.0.

Tweaks

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it, then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

Credits

This theme was coded and is maintained by John Stabinger of NewSchool Learning. He can be contacted by email at contact@newschoollearning.com.

License

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License. Some icons used in this theme are from the Splashy Icon set and are freely available at http://splashyfish.com/icons/.

'; -$string['configtitle'] = 'Magazine theme'; - -$string['logo'] = 'logo'; -$string['logodesc'] = 'Change the logo of this theme by entering the URL to a new one (i.e., http://www.somesite/animage.png). As a reference, the default logo is 300px wide by 80px high. A transparent .png will work best.'; - -$string['background'] = 'background'; -$string['backgrounddesc'] = 'Change the background image by entering the URL to a new image. (i.e., http://www.somesite/mybackground.jpg).'; - -$string['linkcolor'] = 'link'; -$string['linkcolordesc'] = 'Set the colour of links in the theme. Use html hex code.'; - -$string['linkhover'] = 'linkhover'; -$string['linkhoverdesc'] = 'Set the colour of links (on hover) in the theme. Use html hex code.'; - -$string['maincolor'] = 'Main colour'; -$string['maincolordesc'] = 'Set the colour hex code of the header, dock bar and other areas. Looks best as a dark or saturated colour.'; - -$string['maincoloraccent'] = 'Main colour accent'; -$string['maincoloraccentdesc'] = 'Dark accent colour for the dock bar and header borders. Should be slightly darker than the main colour.'; - -$string['headingcolor'] = 'Heading colour'; -$string['headingcolordesc'] = 'This is the heading colour for large headings (site news, my courses) and other headings.'; - -$string['blockcolor'] = 'Block colour'; -$string['blockcolordesc'] = 'This is for the block header font colour.'; - - -$string['forumback'] = 'forumback'; -$string['forumbackdesc'] = 'Set the background colour of forum post subject.'; \ No newline at end of file diff --git a/theme/magazine/layout/embedded.php b/theme/magazine/layout/embedded.php deleted file mode 100644 index 2ba6947a70f43..0000000000000 --- a/theme/magazine/layout/embedded.php +++ /dev/null @@ -1,46 +0,0 @@ -. - -/** - * The embedded layout. - * - * @package theme_magazine - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - -
- main_content() ?> -
- - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/magazine/layout/frontpage.php b/theme/magazine/layout/frontpage.php deleted file mode 100644 index 1977f87af4363..0000000000000 --- a/theme/magazine/layout/frontpage.php +++ /dev/null @@ -1,212 +0,0 @@ -. - -/** - * The frontpage layout. - * - * @package theme_magazine - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepre = $hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT); -$showsidepost = $hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - - - - - -
-
- theme->settings->logo)) { ?> -
-
-
-
- - - - - - -
- -
- -
-
- - - - - -
-
-
-
- -
-
- - - -
- -
- button; - } ?> -
-
- - -
-
-
- -
-
-
- - main_content() ?> -
-
-
- - -
-
- - - blocks_for_region('side-pre') ?> -
-
- - - -
-
- - blocks_for_region('side-post') ?> -
-
- - -
-
-
- - -
-
- - -
-
-
-
- - - -
- - -
- - -standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/magazine/layout/general.php b/theme/magazine/layout/general.php deleted file mode 100644 index c016a3f41c0e5..0000000000000 --- a/theme/magazine/layout/general.php +++ /dev/null @@ -1,230 +0,0 @@ -. - -/** - * The default layout. - * - * @package theme_magazine - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepre = $hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT); -$showsidepost = $hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - - - - - -
-
- theme->settings->logo)) { ?> -
-
-
-
- - - - -
- -
- -
-
- - -
- - - - - - -
-
-
-
- -
-
- - - -
- -
- button; - } ?> -
-
- - -
-
-
- -
-
-
- - main_content() ?> - -
-
-
- - -
-
- - - blocks_for_region('side-pre') ?> -
-
- - - -
-
- - blocks_for_region('side-post') ?> -
-
- - -
-
-
- - -
-
- - -
-
-
-
- - - - - - -
- - -
- - -standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/magazine/lib.php b/theme/magazine/lib.php deleted file mode 100644 index b7750f3ad70a3..0000000000000 --- a/theme/magazine/lib.php +++ /dev/null @@ -1,258 +0,0 @@ -. - -/** - * This file contains functions specific to the needs of the Magazine theme. - * - * @package theme_magazine - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * Makes our changes to the CSS - * - * @param string $css - * @param theme_config $theme - * @return string - */ -function magazine_process_css($css, $theme) { - - // Set the link color. - if (!empty($theme->settings->linkcolor)) { - $linkcolor = $theme->settings->linkcolor; - } else { - $linkcolor = null; - } - $css = magazine_set_linkcolor($css, $linkcolor); - - // Set the link hover color. - if (!empty($theme->settings->linkhover)) { - $linkhover = $theme->settings->linkhover; - } else { - $linkhover = null; - } - $css = magazine_set_linkhover($css, $linkhover); - - // Set the main color. - if (!empty($theme->settings->maincolor)) { - $maincolor = $theme->settings->maincolor; - } else { - $maincolor = null; - } - $css = magazine_set_maincolor($css, $maincolor); - - // Set the main accent color. - if (!empty($theme->settings->maincoloraccent)) { - $maincoloraccent = $theme->settings->maincoloraccent; - } else { - $maincoloraccent = null; - } - $css = magazine_set_maincoloraccent($css, $maincoloraccent); - - // Set the main headings color. - if (!empty($theme->settings->headingcolor)) { - $headingcolor = $theme->settings->headingcolor; - } else { - $headingcolor = null; - } - $css = magazine_set_headingcolor($css, $headingcolor); - - // Set the block headings color. - if (!empty($theme->settings->blockcolor)) { - $blockcolor = $theme->settings->blockcolor; - } else { - $blockcolor = null; - } - $css = magazine_set_blockcolor($css, $blockcolor); - - // Set the forum background color. - if (!empty($theme->settings->forumback)) { - $forumback = $theme->settings->forumback; - } else { - $forumback = null; - } - $css = magazine_set_forumback($css, $forumback); - - // Set the body background image. - if (!empty($theme->settings->background)) { - $background = $theme->settings->background; - } else { - $background = null; - } - $css = magazine_set_background($css, $background, $theme); - - // Set the logo image. - if (!empty($theme->settings->logo)) { - $logo = $theme->settings->logo; - } else { - $logo = null; - } - $css = magazine_set_logo($css, $logo, $theme); - - // Return the CSS. - return $css; -} - - - -/** - * Sets the link color variable in CSS. - * - * @param string $css - * @param string $linkcolor - * @return string - */ -function magazine_set_linkcolor($css, $linkcolor) { - $tag = '[[setting:linkcolor]]'; - $replacement = $linkcolor; - if (is_null($replacement)) { - $replacement = '#32529a'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the link hover colour in CSS. - * @param string $css - * @param string $linkhover - * @return string - */ -function magazine_set_linkhover($css, $linkhover) { - $tag = '[[setting:linkhover]]'; - $replacement = $linkhover; - if (is_null($replacement)) { - $replacement = '#4e2300'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the main colour used by the Magazine theme. - * @param string $css - * @param string $maincolor - * @return string - */ -function magazine_set_maincolor($css, $maincolor) { - $tag = '[[setting:maincolor]]'; - $replacement = $maincolor; - if (is_null($replacement)) { - $replacement = '#002f2f'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the colour for accents within the Magazine theme. - * @param string $css - * @param string $maincoloraccent - * @return string - */ -function magazine_set_maincoloraccent($css, $maincoloraccent) { - $tag = '[[setting:maincoloraccent]]'; - $replacement = $maincoloraccent; - if (is_null($replacement)) { - $replacement = '#092323'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the heading colour in CSS. - * @param string $css - * @param string $headingcolor - * @return string - */ -function magazine_set_headingcolor($css, $headingcolor) { - $tag = '[[setting:headingcolor]]'; - $replacement = $headingcolor; - if (is_null($replacement)) { - $replacement = '#4e0000'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the block colour in CSS. - * @param string $css - * @param string $blockcolor - * @return string - */ -function magazine_set_blockcolor($css, $blockcolor) { - $tag = '[[setting:blockcolor]]'; - $replacement = $blockcolor; - if (is_null($replacement)) { - $replacement = '#002f2f'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the forum back colour in CSS. - * @param string $css - * @param string $forumback - * @return string - */ -function magazine_set_forumback($css, $forumback) { - $tag = '[[setting:forumback]]'; - $replacement = $forumback; - if (is_null($replacement)) { - $replacement = '#e6e2af'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the background for the Magazine theme. - * @param string $css - * @param string $background - * @param theme_config $theme - * @return string - */ -function magazine_set_background($css, $background, $theme) { - $tag = '[[setting:background]]'; - $replacement = $background; - if (is_null($replacement)) { - $replacement = $theme->pix_url('bg4', 'theme'); - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the logo for the Magazine theme. - * - * @param string $css - * @param string $logo - * @param theme_config $theme - * @return string - */ -function magazine_set_logo($css, $logo, $theme) { - $tag = '[[setting:logo]]'; - $replacement = $logo; - if (is_null($replacement)) { - $replacement = $theme->pix_url('logo', 'theme'); - } - $css = str_replace($tag, $replacement, $css); - return $css; -} diff --git a/theme/magazine/pix/ajax-loader.gif b/theme/magazine/pix/ajax-loader.gif deleted file mode 100644 index d42f72c723644..0000000000000 Binary files a/theme/magazine/pix/ajax-loader.gif and /dev/null differ diff --git a/theme/magazine/pix/alert-overlay.png b/theme/magazine/pix/alert-overlay.png deleted file mode 100644 index 222cdc9131383..0000000000000 Binary files a/theme/magazine/pix/alert-overlay.png and /dev/null differ diff --git a/theme/magazine/pix/bart5.png b/theme/magazine/pix/bart5.png deleted file mode 100644 index dfa84b0914476..0000000000000 Binary files a/theme/magazine/pix/bart5.png and /dev/null differ diff --git a/theme/magazine/pix/bg4.jpg b/theme/magazine/pix/bg4.jpg deleted file mode 100644 index f8e5aed632849..0000000000000 Binary files a/theme/magazine/pix/bg4.jpg and /dev/null differ diff --git a/theme/magazine/pix/breadcrumb_separator_arrow_2_dots.png b/theme/magazine/pix/breadcrumb_separator_arrow_2_dots.png deleted file mode 100644 index 082aafbe67780..0000000000000 Binary files a/theme/magazine/pix/breadcrumb_separator_arrow_2_dots.png and /dev/null differ diff --git a/theme/magazine/pix/check.png b/theme/magazine/pix/check.png deleted file mode 100644 index a90236437e3fd..0000000000000 Binary files a/theme/magazine/pix/check.png and /dev/null differ diff --git a/theme/magazine/pix/contback.png b/theme/magazine/pix/contback.png deleted file mode 100644 index 26cf84fd31550..0000000000000 Binary files a/theme/magazine/pix/contback.png and /dev/null differ diff --git a/theme/magazine/pix/dockarrow.png b/theme/magazine/pix/dockarrow.png deleted file mode 100644 index cbe4ee214a14d..0000000000000 Binary files a/theme/magazine/pix/dockarrow.png and /dev/null differ diff --git a/theme/magazine/pix/error.png b/theme/magazine/pix/error.png deleted file mode 100644 index 3dd3b55dbe0eb..0000000000000 Binary files a/theme/magazine/pix/error.png and /dev/null differ diff --git a/theme/magazine/pix/favicon.ico b/theme/magazine/pix/favicon.ico deleted file mode 100644 index 13c167cc02cef..0000000000000 Binary files a/theme/magazine/pix/favicon.ico and /dev/null differ diff --git a/theme/magazine/pix/hr_grid.png b/theme/magazine/pix/hr_grid.png deleted file mode 100644 index b157dfcab4512..0000000000000 Binary files a/theme/magazine/pix/hr_grid.png and /dev/null differ diff --git a/theme/magazine/pix/information.png b/theme/magazine/pix/information.png deleted file mode 100644 index ada1f1e4733f4..0000000000000 Binary files a/theme/magazine/pix/information.png and /dev/null differ diff --git a/theme/magazine/pix/logo.png b/theme/magazine/pix/logo.png deleted file mode 100644 index baaee94174d0b..0000000000000 Binary files a/theme/magazine/pix/logo.png and /dev/null differ diff --git a/theme/magazine/pix/mbar.png b/theme/magazine/pix/mbar.png deleted file mode 100644 index 57035dbde0fe4..0000000000000 Binary files a/theme/magazine/pix/mbar.png and /dev/null differ diff --git a/theme/magazine/pix/menubarback.png b/theme/magazine/pix/menubarback.png deleted file mode 100644 index b23b3b9e23b62..0000000000000 Binary files a/theme/magazine/pix/menubarback.png and /dev/null differ diff --git a/theme/magazine/pix/post_grid.png b/theme/magazine/pix/post_grid.png deleted file mode 100644 index 521b9b106aad2..0000000000000 Binary files a/theme/magazine/pix/post_grid.png and /dev/null differ diff --git a/theme/magazine/pix/postline.png b/theme/magazine/pix/postline.png deleted file mode 100644 index 408d03d00dbdb..0000000000000 Binary files a/theme/magazine/pix/postline.png and /dev/null differ diff --git a/theme/magazine/pix/screenshot.png b/theme/magazine/pix/screenshot.png deleted file mode 100644 index 9d5e4dec98934..0000000000000 Binary files a/theme/magazine/pix/screenshot.png and /dev/null differ diff --git a/theme/magazine/pix/yuiarrow.png b/theme/magazine/pix/yuiarrow.png deleted file mode 100644 index 89fcfbeb7d014..0000000000000 Binary files a/theme/magazine/pix/yuiarrow.png and /dev/null differ diff --git a/theme/magazine/pix/yuiarrows.png b/theme/magazine/pix/yuiarrows.png deleted file mode 100644 index a68f1d869f5a3..0000000000000 Binary files a/theme/magazine/pix/yuiarrows.png and /dev/null differ diff --git a/theme/magazine/pix_core/docs.png b/theme/magazine/pix_core/docs.png deleted file mode 100644 index ada1f1e4733f4..0000000000000 Binary files a/theme/magazine/pix_core/docs.png and /dev/null differ diff --git a/theme/magazine/pix_core/help.png b/theme/magazine/pix_core/help.png deleted file mode 100644 index 0e41b83b407c8..0000000000000 Binary files a/theme/magazine/pix_core/help.png and /dev/null differ diff --git a/theme/magazine/pix_core/i/all.png b/theme/magazine/pix_core/i/all.png deleted file mode 100644 index 459c16cd6215a..0000000000000 Binary files a/theme/magazine/pix_core/i/all.png and /dev/null differ diff --git a/theme/magazine/pix_core/i/info.png b/theme/magazine/pix_core/i/info.png deleted file mode 100644 index ada1f1e4733f4..0000000000000 Binary files a/theme/magazine/pix_core/i/info.png and /dev/null differ diff --git a/theme/magazine/pix_core/i/navigationitem.png b/theme/magazine/pix_core/i/navigationitem.png deleted file mode 100644 index 1b70ad795cefc..0000000000000 Binary files a/theme/magazine/pix_core/i/navigationitem.png and /dev/null differ diff --git a/theme/magazine/pix_core/i/one.png b/theme/magazine/pix_core/i/one.png deleted file mode 100644 index eedeffdb6dec8..0000000000000 Binary files a/theme/magazine/pix_core/i/one.png and /dev/null differ diff --git a/theme/magazine/pix_core/t/block_to_dock.png b/theme/magazine/pix_core/t/block_to_dock.png deleted file mode 100644 index f6e1283563e6e..0000000000000 Binary files a/theme/magazine/pix_core/t/block_to_dock.png and /dev/null differ diff --git a/theme/magazine/pix_core/t/collapsed.png b/theme/magazine/pix_core/t/collapsed.png deleted file mode 100644 index 59ba1ceb047ac..0000000000000 Binary files a/theme/magazine/pix_core/t/collapsed.png and /dev/null differ diff --git a/theme/magazine/pix_core/t/delete.png b/theme/magazine/pix_core/t/delete.png deleted file mode 100644 index 9d06f5bfac387..0000000000000 Binary files a/theme/magazine/pix_core/t/delete.png and /dev/null differ diff --git a/theme/magazine/pix_core/t/dock_to_block.png b/theme/magazine/pix_core/t/dock_to_block.png deleted file mode 100644 index bf1565d416bab..0000000000000 Binary files a/theme/magazine/pix_core/t/dock_to_block.png and /dev/null differ diff --git a/theme/magazine/pix_core/t/expanded.png b/theme/magazine/pix_core/t/expanded.png deleted file mode 100644 index 233ac8490cb7a..0000000000000 Binary files a/theme/magazine/pix_core/t/expanded.png and /dev/null differ diff --git a/theme/magazine/settings.php b/theme/magazine/settings.php deleted file mode 100644 index c6712f82e9be6..0000000000000 --- a/theme/magazine/settings.php +++ /dev/null @@ -1,115 +0,0 @@ -. - -/** - * Settings for the magazine theme. - * - * @package theme_magazine - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -if ($ADMIN->fulltree) { - - // Background image setting. - $name = 'theme_magazine/background'; - $title = get_string('background','theme_magazine'); - $description = get_string('backgrounddesc', 'theme_magazine'); - $setting = new admin_setting_configtext($name, $title, $description, '', PARAM_URL); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // logo image setting. - $name = 'theme_magazine/logo'; - $title = get_string('logo','theme_magazine'); - $description = get_string('logodesc', 'theme_magazine'); - $setting = new admin_setting_configtext($name, $title, $description, '', PARAM_URL); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // link color setting. - $name = 'theme_magazine/linkcolor'; - $title = get_string('linkcolor','theme_magazine'); - $description = get_string('linkcolordesc', 'theme_magazine'); - $default = '#32529a'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // link hover color setting. - $name = 'theme_magazine/linkhover'; - $title = get_string('linkhover','theme_magazine'); - $description = get_string('linkhoverdesc', 'theme_magazine'); - $default = '#4e2300'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // main color setting. - $name = 'theme_magazine/maincolor'; - $title = get_string('maincolor','theme_magazine'); - $description = get_string('maincolordesc', 'theme_magazine'); - $default = '#002f2f'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // main color accent setting. - $name = 'theme_magazine/maincoloraccent'; - $title = get_string('maincoloraccent','theme_magazine'); - $description = get_string('maincoloraccentdesc', 'theme_magazine'); - $default = '#092323'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // heading color setting. - $name = 'theme_magazine/headingcolor'; - $title = get_string('headingcolor','theme_magazine'); - $description = get_string('headingcolordesc', 'theme_magazine'); - $default = '#4e0000'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // block heading color setting. - $name = 'theme_magazine/blockcolor'; - $title = get_string('blockcolor','theme_magazine'); - $description = get_string('blockcolordesc', 'theme_magazine'); - $default = '#002f2f'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // forum subject background color setting. - $name = 'theme_magazine/forumback'; - $title = get_string('forumback','theme_magazine'); - $description = get_string('forumbackdesc', 'theme_magazine'); - $default = '#e6e2af'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - -} diff --git a/theme/magazine/style/colors.css b/theme/magazine/style/colors.css deleted file mode 100644 index 969ae72889f34..0000000000000 --- a/theme/magazine/style/colors.css +++ /dev/null @@ -1,70 +0,0 @@ -/** colors file for magazine theme, contains colors, logo and background image **/ - -html,body { - background: #fff url([[setting:background]]); -} - -html a,body a, html a:visited,body a:visited { - color: [[setting:linkcolor]]; -} - -html a:hover,body a:hover { - color: [[setting:linkhover]]; -} - -/** header and dock, default #002f2f and #092323 **/ - -#page-header, #dock { - background-color: [[setting:maincolor]]; - border-bottom: 1px solid [[setting:maincoloraccent]]; -} - -/** logo is below **/ - -div.thetitle { - background: url([[setting:logo]]) no-repeat 0% 50%; -} - -/** block header font color and others default is #002f2f **/ - -td.category.number, .yui-module.yui-overlay.yui-panel div.hd, #navigation li a:link,#navigation li a:visited, div.tabtree li a span { - color: [[setting:maincolor]]; -} - -.title h2, div.dockeditempanel_hd h2, div.dockeditempanel_hd { - color: [[setting:blockcolor]]; -} - -.yui3-menu-content li a { - color: [[setting:maincolor]] !important; -} - -div.dockedtitle { - border-top: 1px solid #333333 !important; - border-bottom: 1px solid [[setting:maincoloraccent]] !important; -} - -/** main headings and forum post subject default color #4e0000 **/ - -#nologo, #nologo a, .generalbox h2,h3.sectionname, div.tabtree li.selected a span, .forumpost .subject, .blog_entry div.subject a, div.loginpanel h2, div.signuppanel h2, -#site-news-forum h2, #frontpage-course-list h2, #frontpage-category-names h2, #frontpage-category-combo h2 { - color: [[setting:headingcolor]]; -} - -/** forum post subject background default is #e6e2af **/ - -.forumpost .topic { - background: [[setting:forumback]] url([[pix:theme|alert-overlay]]) repeat-x; -} - -/** table header background color, default is #002f2f **/ - -td.maincalendar table.calendartable th, table.rolecap .header,.generaltable .header,.forumheaderlist .header,.files .header,.editcourse .header,.logtable .header,#attempts .header,table#categoryquestions th { - background-color: [[setting:maincolor]] !important; -} - -/** dock item hover, default is #4e0000 **/ - -div.dockeditem_container div.dockeditem:hover { - background: [[setting:headingcolor]] url([[pix:theme|mbar]]) repeat-y; -} \ No newline at end of file diff --git a/theme/magazine/style/core.css b/theme/magazine/style/core.css deleted file mode 100644 index 61b18f91d1a25..0000000000000 --- a/theme/magazine/style/core.css +++ /dev/null @@ -1,1148 +0,0 @@ -/** body font family and background image **/ - -html,body { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - margin: 0; - padding: 0; -} - -html a:hover,body a:hover { - text-decoration: underline; -} - -/** remove text decoration from some links **/ - -div.yui3-widget-bd a, .tabtree li a, .block div.content a, .unlist a, .course_category_tree a, .section a { - text-decoration: none; -} - -a:active { - outline: 0; /* for browsers that understand */ -} - -a:focus { - outline: 0; /* for browsers that understand */ -} - -/**header divs **/ - -#page-header { - top: 0; - left: 0; - width: 100%; -} - -div#headerinner { - width: 91%; - min-width: 910px; - height: 30px; - margin: 0 auto; - overflow: hidden; -} - -#headright { - float: right; - font-size: 10px; - font-weight: 200; - margin-top: 0; - padding-top: 0; - min-width: 180px; - text-align: right; - color: #eeeeee; - line-height: 30px; - min-width: 400px; -} -.dir-rtl #headright { - float: left; - min-width: 300px; -} - -#headright a { - color: #fff; -} - -#headright div.langmenu { - float: right !important; - display: inline !important; - padding: 0px 0px 0px 0px !important; - line-height: 28px !important; - margin: 0px 0px 0px 5px !important; - font-size: 9px; -} - -.dir-rtl #headright div.langmenu { - float: left !important; -} - -#headleft { - float: left; - height: 30px; - line-height: 30px; - color: #fff; - font-size: 12px; -} - -.dir-rtl #headleft { - float: right; -} - -/** Logo and menu bar divs and wrap **/ - -#textcontainer-wrap { - top: 0; - left: 0; - width: 100%; - border-top: 1px solid #fff; -} - -#textcontainer { - clear: both; - border: none; - width: 92%; - min-width: 910px; - height: 130px; - margin: 0 auto; - overflow: hidden; -} - -div.thetitle { - width: 340px; - height: 130px; - float: left; -} - -.dir-rtl div.thetitle { - float: right; -} - -#nologo { - width: 337px; - float: left; - overflow: hidden; - padding-left: 3px; - margin-top: 40px; - } - -.dir-rtl #nologo { - float: right; - padding-right: 3px; -} - -#nologo.nomenu { - width: 100%; -} - -#nologo a, #nologo { - font-size: 35px; - font-style: italic; - font-family: Palatino,"Palatino Linotype",Georgia,"Times New Roman",serif; - font-weight: 800; - letter-spacing: -1px; - line-height: 45px; -} - -#nologo a:hover { - text-decoration: none; -} - -div.rightinfo { - float: right; - min-width: 470px; - height: 130px; - overflow: hidden; -} -.dir-rtl div.rightinfo { - float: left; -} - -#menucontainer { - height: 45px; - margin-top: 40px; -} - -#course-header { - width: 93%; - min-width: 910px; - margin: 0 auto; - overflow: hidden; -} - -/** main content wraps **/ - -#outercontainer { - width: 91%; - min-width: 910px; - margin:0 auto; - background-position: 78% 100%; - padding: 1%; - background: url([[pix:theme|contback]]); - border: 1px solid #dadada; -} - -#container { - width: 100%; - margin:0 auto; - background: #fff url([[pix:theme|post_grid]]) repeat-y 21% 100%; - border: 1px solid #dadada; -} - -#innercontainer { - background: url([[pix:theme|post_grid]]) repeat-y 79% 100%; -} - -/** remove background image line for post or pre or content only **/ - -.side-pre-only #innercontainer, .content-only #innercontainer, .content-only #container, .side-post-only #container { - background-image: none !important; -} - -/** breadcrumb and button holders at top of page content **/ - -div#jcontrols_button { - width: 100%; - min-height: 35px; - border-top: 1px solid #fff; - background: #f9f9f9 url([[pix:theme|hr_grid]]) repeat-x 100% 100%; -} - -div#jcontrols_bottom { - width: 100%; - height: 35px; - background: url([[pix:theme|hr_grid]]) repeat-x 0% 0%; - clear: both; -} - -div.jcontrolsleft { - min-height: 35px; - line-height: 35px; - margin-left: 15px; - font-weight: 600; - font-size: 13px; - float: left; - min-width: 100px; -} -.dir-rtl div.jcontrolsleft { - float:right; - margin-right: 15px; -} - -div.jcontrolsright { - float: right; - min-width: 100px; - min-height: 35px; - margin-right: 15px; -} - -.dir-rtl div.jcontrolsright { - float: left; - margin-left: 15px; -} - -div.jcontrolsright div.singlebutton, div.jcontrolsright div.forumsearch { - margin: 5px 0px 0px; -} - -/** foot wraps and inner divs **/ - -#course-footer { - width: 93%; - min-width: 910px; - margin: 0 auto; - overflow: hidden; -} - -#footer { - width: 91%; - height: 35px; - position: relative; - margin: 0 auto; -} - -#page-footer { - position: relative; - bottom: 0; - left: 0; - width: 100%; - background: none; - margin-top: 10px; - height: 35px; -} - -.johndocs { - float: right; - height: 15px; - font-size: 8px; - margin: 10px 3px 0px 0px; - color: #333333; -} - -.johndocs a, div.johndocsleft a { - font-weight: 200; - text-decoration: none; -} - -div.johndocsleft { - float: left; - height: 15px; - margin-top: 10px; - width: 300px; - color: #333333; - font-size: 11px; -} -.dir-rtl div.johndocsleft { - float: right; -} - -/** Some breadcrumb style **/ - -.breadcrumb ul { - line-height: 35px; -} - -.breadcrumb li a,.breadcrumb li, .breadcrumb li a:visited { - font-weight: 200; - text-decoration: none; - color: #666666; - font-size: 12px; -} - -.breadcrumb li a:hover { - text-decoration: underline; - color: #333333; -} - -.breadcrumb li img { - vertical-align: middle; -} - -/** breadcrumb image replacement **/ - -div#jcontrols_button span.arrow.sep { - font-size: .01em; - color: #fafafa; - background: url([[pix:theme|breadcrumb_separator_arrow_2_dots]]) no-repeat; - background-position: 50% 7px; - display: inline-block; - width: 16px; -} - -/** Block styles **/ - -.block { - margin: 0 0 5px 0 !important; - padding: 0 0 0 0 !important; - border: none !important; -} - -.block div.header { - margin: 0 0 0 !important; - padding-top: 0 !important; - min-height: 33px; - height: auto !important; - height: 33px; - border-right: 1px solid #dadada; - border-top: 1px solid #dfdfdf; - border-left: 1px solid #dfdfdf; - border-bottom: 1px solid #cccccc; - background: #eeeeee url([[pix:theme|bart5]]) repeat-x; -} - -.block.hidden div.header { - border: 1px solid #dadada; -} - -.block.block_with_controls div.header div.commands { - text-align: center; - border-top: 1px solid #ccc; - padding: 2px; -} - -.block.block_with_controls div.header div.commands a img { - margin-right: 3px; -} - -.title h2 { - padding: 0px 0px 0px 10px; - font-size: 16px; - text-transform: none; - margin: 0 !important; - line-height: 32px; - font-weight: 800; -} - -.block div.block_action input, .block div.block_action img { - margin-top: 3px; - margin-right: 3px; - position: relative; - top: 6px; -} - -.block div.content { - font-size: 12px; - font-weight: 200; - padding: 10px 15px 15px; -} - -/** extra left padding on right side blocks **/ - -#region-post .block div.content { - padding-left: 20px; -} - -/** some specific block styles for calendar block, login block, my profile block, etc. **/ - -.block_calendar_month table.minicalendar.calendartable td,.block_calendar_month table.minicalendar.calendartable th { - border: none !important; -} - -.block_calendar_month table.minicalendar { - margin-bottom: 0px !important; -} - -.block_calendar_month table.minicalendar.calendartable th abbr { - border: none !important; - text-decoration: none; -} - -.block_comments div.content li { - list-style-type: none; -} - -.block_messages.block div.content .list a { - font-size: 10px; -} - -.block_login.block div.content div { - margin-bottom: 9px; - clear: both; -} - -.block_login.block div.content label { - font-size: 11px; - display: inline-block; - min-width: 50px; - margin-right: 3px; -} - -.block_myprofile div.content div { - font-size: 11px; -} - -.block_myprofile div.content div.myprofileitem.picture { - width: 105px; - float: left; -} - -.block_myprofile div.myprofileitem.fullname { - font-size: 12px; - font-weight: 800; -} - -.block_myprofile div.myprofileitem.edit { - clear: both; - font-weight: 800; - font-size: 12px; -} - -.block_news_items div.content li.post { - margin-bottom: 4px; - margin-top: 2px; -} - -.block_news_items div.content div.head.clearfix { - font-size: 11px; -} - -.block_news_items div.content div.info { - font-weight: 600; -} - -/** inner block style for decent display of recent news, etc **/ - -.block_recent_activity.block_docked div.content h2, -.block_recent_activity.block_docked div.content h3, -.side-pre .block div.content h2, -.side-post .block div.content h2, -.block div.content h3, -.block div.content h2 { - font-size: 13px; - color: #333; - font-weight: 800; - background: none; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} - -/** a few styles for the tabs **/ - -div.tabtree li a span { - font-size: 11px; -} - -/** yui overlays **/ - -div.yui3-widget.yui3-overlay.yui3-widget-positioned { - border: 1px solid #cccccc; -} - -div.yui3-overlay-content.yui3-widget-stdmod { - border: 1px solid #fff; - background: #ffff66 url([[pix:theme|alert-overlay]]) repeat-x; -} - -div.yui3-widget-bd { - border: none; - background: none; -} - -div.yui3-widget-bd h2.helpheading { - font-size: 16px !important; - font-weight: 800; - margin-top: 5px; -} - -.yui-module.yui-overlay.yui-panel div.hd { - background: #eeeeee url([[pix:theme|bart5]]) repeat-x 0% 90%; -} - -/**moodle dropdown css for yui menu **/ - -#custommenu { - font-size: 13px; - font-weight: 600; - border: none !important; - height: 45px; -} - -#custommenu .yui3-menu.yui3-menu-horizontal { - background: #fafafa url([[pix:theme|menubarback]]) repeat-x; - border-bottom: 1px solid #cccccc; - border-top: 1px solid #dadada; - border-left: none; - border-right: 1px solid #cccccc; - float: right; -} - -#custommenu .yui3-menu-content { - border-width: 0; -} - -#custommenu .yui3-menu-content li a { - font-size: 12px; - font-weight: 600; - text-transform: lowercase; - line-height: 45px; - cursor: pointer; - border-right-width: 0; - border-top-width: 0; - border-bottom-width: 0; -} - -#custommenu .yui3-menu-label { - padding-left: 16px !important; - background: url([[pix:theme|yuiarrows]]) no-repeat 7px 17px; -} - -#custommenu .yui3-menu-label-menuvisible { - background-position: 5px -23px; -} - -#custommenu .yui3-menu-content li { - border-left: 1px solid #dadada; - border-top-width: 0; -} - -#custommenu .yui3-menu-content li:hover { - background: #eee; -} - -#custommenu .yui3-menu.custom_menu_submenu { - background: url([[pix:theme|yuiarrow]]) no-repeat 40px 0; - border: none; - min-width: 100px; - z-index: 99998; -} - -#custommenu .yui3-menu.custom_menu_submenu .yui3-menu.custom_menu_submenu { - background-image: none; - background-color: transparent; - min-width: 100px; -} - -#custommenu .yui3-menu.custom_menu_submenu .yui3-menu-content { - background: #fff; - z-index: 99999; - min-width: 200px; - padding-top: 0; - padding-bottom: 0; - margin: 20px 0px 0px -40px; -} - -/** below style to move sub subs to the left to keep from going off the page **/ - -#custommenu .yui3-menu.custom_menu_submenu .yui3-menu-content .yui3-menu.custom_menu_submenu .yui3-menu-content { - margin-left: -400px !important; - /** double the width of the menu item **/ - position: absolute; - top: -15px; -} - -#custommenu .yui3-menu.custom_menu_submenu .yui3-menu-content li { - border-left: none; -} - -#custommenu .yui3-menu.custom_menu_submenu .yui3-menu-content li a { - font-size: 11px; - border-bottom: 1px solid #cccccc; - border-top-width: 0; - text-transform: none; - background: #eee; - text-decoration: none; - text-transform: lowercase; -} - -#custommenu .yui3-menu.custom_menu_submenu .yui3-menu-content li a:hover { - background: #cccccc; - cursor: pointer; - color: #000; - text-decoration: none; -} - -#custommenu .yui3-menu.custom_menu_submenu li a.yui3-menu-label { - background: #eee url([[pix:theme|yuiarrows]]) no-repeat 7px -72px; -} - -#custommenu .yui3-menu.custom_menu_submenu li a.yui3-menu-label:hover { - background: #ccc url([[pix:theme|yuiarrows]]) no-repeat 7px -72px; -} - -/** yui moodle dock bar **/ - -#dock { - padding-top: 0px; - width: 30px; -} - -div.dockeditem_container div.dockeditem { - background: url([[pix:theme|mbar]]) repeat-y; - border: none; - color: #fff; - font: 100% Constantia, Lucidabright, Lucida, Georgia, serif; -} - -div.dockeditem_container.firstdockitem { - border-top: none; -} - -div.dockedtitle { - border: none; - padding-top: 3px; - padding-bottom: 3px; -} - -.dockedtitle h2 { - font-weight: 200 !important; -} - -div.dockeditempanel_content { - border: 1px solid #dadada !important; - border-left: none !important; - font-size: 90%; -} - -div.dockeditempanel_content a { - text-decoration: none; -} - -div.dockeditempanel_hd { - text-align: left; - font-size: 12px; -} - -div.dockeditempanel_hd { - padding-top: 3px; - padding-bottom: 3px; - background: #eee; - border-bottom: 1px solid #dadada !important; -} - -div.dockeditempanel_hd h2 { - font-weight: 600; - font-size: 12px; -} - -div.dockeditempanel_bd ul, div.dockeditempanel_bd li { - list-style-type: none; - padding: 0; -} - -div.dockeditempanel_bd { - font-weight: 200; -} - -#dockeditempanel { - margin-left: 1px; -} - -html> - -/**/body #dockeditempanel { - margin-top: -20px; -} - -#dock div.controls { - margin-top: 20px; - padding-top: 0px; - position: relative; -} - -/** main headings **/ -.generalbox h2,h3.sectionname, div.loginpanel h2, div.signuppanel h2, -#site-news-forum h2, #frontpage-course-list h2, #frontpage-category-names h2, #frontpage-category-combo h2 { - font-size: 30px; - padding-bottom: 2px; - margin: 3px 0 2px; - border-bottom: none; - display: block; - font-family: Georgia, serif; - font-weight: normal; - letter-spacing: -1px; - line-height: 1em; - background: url([[pix:theme|hr_grid]]) repeat-x 0% 89% -} - -.course_category_tree .info > .categoryname { - display: inline; -} - -.generalbox h2, h3.sectionname, div.loginpanel h2, div.signuppanel h2, div.hd h3 { - font-size: 22px; - background: none; -} - -/** forum post style **/ - -.forumpost .content { - border: 1px solid #dadada; - border-top: none; - background: #fff; - padding: 1em 1em 1em 1em; -} - -.forumpost .content div.posting { - font-size: 90%; -} - -.forumpost .topic { - border: 1px solid #dadada; - padding-top: 0px; - padding-bottom: 0px; -} - -.forumpost .topic div { - margin:4px; -} - -.forumpost .subject, .blog_entry div.subject a { - font-size: 19px; -} - -td.picture { - border-right: none !important; -} - -td.author { - border-left: none !important; -} - -.forumpost { - border: none; -} - -.forumpost .commands a { - text-decoration: none; - font-weight: 200; -} - -.forumpost .left { - -} - -.forumpost .left.picture { - background-image: url([[pix:theme|postline]]); - background-repeat: no-repeat; - background-position: 180% 106%; -} - -.forumpost .left.picture img { - border: 1px solid #eee; - border-bottom: 1px solid #ccc; - border-right: 1px solid #dadada; - background: #fff; - margin: 4px 0 9px; -} - -.forumpost .starter { - background-color: #FFF; -} - -.forumpost .author { - font-size: 11px !important; - color: #666; - font-style: italic; - font-weight: 200; -} - -.forumpost .author a { - font-style: normal; - font-weight: 800; -} - -.indent { - margin-left: 30px; -} - -div.subscribelink { - text-align: right; -} - -.subscribelink a { - text-decoration: none; - font-size: 11px; -} - -/**tables and fields and foms oh my! **/ - -.mform fieldset,fieldset.clearfix { - border: 1px solid #dadada !important; - background: #f9f9f9; -} - -.mform .btn-cancel { - color: #32529A; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #4E2300; - text-decoration: none; -} - -.ftoggler { - font-size: 18px; - color: #333333; -} - -div.notifysuccess { - width: 80%; - margin: 0 auto; - font-size: 15px; - color: #008500; - border: 3px solid #dadada; - text-align: center; - background: #fff url([[pix:theme|check]]) no-repeat 2% 50%; - padding: 5px; -} - -table a { - text-decoration: none; -} - -td.maincalendar table.calendartable th, table.rolecap .header,.generaltable .header,.forumheaderlist .header,.files .header,.editcourse .header,.logtable .header,#attempts .header,table#categoryquestions th { - font-size: 11px; - font-weight: 200; - text-decoration: none; - color: #fff !important; - border-top: 1px solid #ccc !important; - padding: 5px; -} - -table#categoryquestions th a { - color: #fff; -} - -.generaltable .header a,.forumheaderlist .header a, th.header.questionnametext a { - border: none; - color: #fff !important; - font-size: 12px; - text-decoration: none; - padding: 5px; -} - -.generaltable .header, -.generaltable .header a { - padding: 0; -} - -> tbody > tr:nth-of-type(even) td { - background-color: #f9f9f9; -} - -table.rolecap td, table.rolecap th { - border-bottom: 1px solid #dadada; -} - -table.rolecap td.risk { - border-left: 1px solid #dadada; -} - -/** Course and category listings **/ - -ul.unlist, ul.unlist li, ul.unlist li div, ul.unlist li div ul, ul.unlist li div ul li { - list-style-type: none; - padding: 0; - margin: 0; -} - -div.coursebox { - margin-bottom: 7px; - border-color: #eeeeee; -} - -div.coursebox.collapsed { - margin-bottom: 0; -} - -div.coursebox > .info > .coursename { - font-weight: inherit; -} - -div.coursebox > .info > h3.coursename a { - font-size: 16px; - font-weight: 400; -} - -.coursebox div.summary { - font-size: 14px; - color: #666666; - font-style: italic; -} - -.coursebox .content ul.teachers li, -.coursebox .content .coursecat { - font-size: 10px; -} - -.coursebox .content ul.teachers li a, -.coursebox .content .coursecat a, -.coursebox .content .coursefile a { - font-size: 11px; -} - -div.course_category_tree .category > .info a { - font-size: 16px; - font-weight: 400; - text-decoration: none; -} - -div.course_category_tree div.coursebox.odd { - background: #eee; -} - -div.course_category_tree div.coursebox > .info > .categoryname > a { - font-size: 14px; -} - -/** inside of course **/ - -li.section { - border-bottom: 1px solid #dadada; - clear: both; - min-height: 30px; -} - -li#section-0 div.content { - margin-top: 0px; - padding-top: 0px; -} - -li.current { - background: #ffffe3; -} - -li.current div.content { - background: #fff; -} - -h3.weekdates { - border: 1px solid #ccc; - background: #eeeeee url([[pix:theme|bart5]]) repeat-x; - width: 170px; - font-size: 11px !important; - font-weight: 200; - text-transform: uppercase; - text-align: center; - margin: 0px 0px 3px; - color: #333333 !important; - padding: 3px; -} - -.current h3.weekdates { - color: black !important; - font-weight: 600; -} - -div.course-content div.left.side { - font-weight: 200; - font-size: 20px; - font-family: Georgia, serif; - color: #666; -} - -div.completionprogress { - font-size: 11px; - font-weight: 200; -} - -/**my moodle page style **/ - -div.assignment.overview { - margin-bottom: 5px; - padding-bottom: 3px; - border-bottom: 1px dashed #dadada; -} - -div.assignment.overview div.name { - font-weight: 600; -} - -div.assignment.overview div { - display: block !important; - float: none !important; - width: 100% !important; -} - -#page-my-index div.coursebox { - border-bottom: none; -} - - -/** glossary activity **/ - -table.glossarycategoryheader h2 { - text-align: center; - margin-bottom: 0; - margin-top: 0; -} - -table.glossarypost { - margin-top: 0; - width: 100%; - border-bottom: 1px dashed #dadada; -} - -table.glossarypost td.entry h3 { - font-size: 20px; -} - -/** a few quick wiki styles **/ - -#page-mod-wiki-view div.generalbox { - padding: 10px; -} - -#page-mod-wiki-view h2.wiki_headingtitle { - font-size: 22px; - font-family: Georgia, serif; - color: #333333; - font-weight: 600; - text-align: left; - margin-bottom: 3px; - margin-top: 2px; -} -#page-mod-wiki-view.dir-rtl h2.wiki_headingtitle { - text-align: right; -} - -/**HR in content blocks **/ - -.content hr { - height: 1px; - color: #dadada; - background-color: #dadada !important; - border: none; - border-style: none; -} - -/** some MISC styles to clean things up and keep the theme consistant **/ - -div#intro { - border: none; - text-align: left; - font-size: 14px; - color: #333333; -} - -div.que { - border: 1px solid #dadada; -} - -div.questionbankwindow.block div.header { - background: #eee !important; -} - -#page-mod-quiz-edit .questionbankwindow.block div.header div.title h2, -#page-mod-quiz-edit .questionbankwindow a#showbankcmd, -#page-mod-quiz-edit .questionbankwindow a#hidebankcmd { - color: #333333 !important; - font-size: 11px; -} - -div.generalbox, div.section { - border: 1px solid #dadada; -} - -/** take borders away from some generalboxes here **/ - -div.generalbox.sitetopic, div.generalbox.authsui,#page-admin-roles-assign div.generalbox, table.roleassigntable, table.roleassigntable td, #page-blocks-private-edit div.generalbox { - border: none; -} - -div.generalbox.firstpageoptions h3 { - font-size: 16px; -} - -div.redirectmessage { - width: 60%; - margin: 10px auto 0 auto; - border: none; - font-size: 13px; - background: #fff url([[pix:theme|ajax-loader]]) no-repeat 50% 100%; - padding: 20px; -} - -div.box.errorbox { - border: 1px solid #dadada; - color: #ff0000; - background: #fff url([[pix:theme|error]]) no-repeat 1% 3%; - padding: 10px; -} - -div#newmessageoverlay { - padding: 10px; -} - -div#newmessageoverlay a { - text-decoration: none; - font-size: 11px; -} - -#page-mod-page-view div.generalbox { - border-left: none; - border-right: none; - border-top: none; -} - -div#tablecontainer { - margin-bottom: 10px; -} - -div.course-content div.availabilityinfo { - font-size: 11px; - font-style: italic; - padding: 2px; - border-bottom: 1px dashed #dadada; - margin-bottom: 10px; -} - -div.singlebutton.forumaddnew { - text-align: center; -} diff --git a/theme/magazine/style/css3.css b/theme/magazine/style/css3.css deleted file mode 100644 index bd4b100dfe35d..0000000000000 --- a/theme/magazine/style/css3.css +++ /dev/null @@ -1,22 +0,0 @@ -#outercontainer { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -#container, #innercontainer { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -div.yui3-menu.yui3-menu-horizontal { - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -div.yui3-widget.yui3-overlay, div.yui3-menu.custom_menu_submenu div.yui3-menu-content, div.dockeditempanel_content { - -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.2); - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); -} \ No newline at end of file diff --git a/theme/magazine/style/editor.css b/theme/magazine/style/editor.css deleted file mode 100644 index 2302a628aa9f4..0000000000000 --- a/theme/magazine/style/editor.css +++ /dev/null @@ -1,3 +0,0 @@ -html,body { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} \ No newline at end of file diff --git a/theme/magazine/style/layout.css b/theme/magazine/style/layout.css deleted file mode 100644 index c54cb05342496..0000000000000 --- a/theme/magazine/style/layout.css +++ /dev/null @@ -1,174 +0,0 @@ -#page-content { - clear: both; - float: left; - overflow: visible; - position: relative; - width: 100%; -} - -#page-content #region-main-box { - float: left; - right: 23%; - position: relative; - width: 100%; - border: 0px solid #3333cc; -} - -#page-content #region-post-box { - float: left; - right: 54%; - position: relative; - width: 100%; - border: 0px solid #3333cc; -} - -#page-content #region-main { - float: left; - left: 101%; - overflow: visible; - position: relative; - width: 52%; -} - -#page-content #region-pre { - float: left; - left: 26%; - position: relative; - width: 21%; -} - -#page-content #region-post { - float: left; - left: 82%; - position: relative; - width: 21%; -} - -#page-content .region-content { - padding: 10px 0; - border: 0px solid #3333cc; -} - -#page-content { - overflow: hidden -} - -/** Only side pre **/ - -.side-pre-only #page-content #region-main-box { - right: 0%; -} - -.side-pre-only #page-content #region-post-box { - right: 77%; -} - -.side-pre-only #page-content #region-main { - left: 100%; - width: 77%; -} - -.side-pre-only #page-content #region-main .region-content { - overflow: hidden; - padding: 20px 10px; - padding-top: 10px; -} - -.side-pre-only #page-content #region-pre { - left: 1%; - width: 21%; -} - -.side-pre-only #page-content #region-post { - width: 0%; -} - -/** Only side post **/ - -.side-post-only #page-content #region-main-box { - right: 23%; -} - -.side-post-only #page-content #region-post-box { - right: 76%; -} - -.side-post-only #page-content #region-main { - left: 100%; - width: 77%; -} - -.side-post-only #page-content #region-main .region-content { - overflow: hidden; - padding: 20px 10px; -} - -.side-post-only #page-content #region-post { - left: 100%; - width: 21%; -} - -.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 23%; -} - -/** Moving blocks when side-post-only **/ - -.blocks-moving.side-post-only #page-content #region-main-box { - right: 23%; - width: 100%; -} - -.blocks-moving.side-post-only #page-content #region-post-box { - right: 54%; -} - -.blocks-moving.side-post-only #page-content #region-main { - left: 101%; - width: 52%; -} - -.blocks-moving.side-post-only #page-content #region-pre { - left: 26%; - width: 21%; -} - -.blocks-moving.side-post-only #page-content #region-post { - left: 82%; - width: 21%; -} - -/** No blocks whatsoever **/ - -.content-only #page-content #region-main-box { - right: 0%; -} - -.content-only #page-content #region-post-box { - right: 100%; -} - -.content-only #page-content #region-main { - width: 98%; -} - -.content-only #page-content #region-pre { - width: 0%; -} - -#region-pre { - padding-top: 0px; -} - -/** fix for some extra padding in side-post-only view **/ - -.side-post-only div.region-content { - padding-top: 0px !important; -} - -#region-post { - padding-top: 0px; -} - -.pagelayout-report #page-content #region-main {overflow:auto;} -.pagelayout-report #page-content #region-main .region-content {overflow:visible;} \ No newline at end of file diff --git a/theme/magazine/version.php b/theme/magazine/version.php deleted file mode 100644 index bbd8b49d25681..0000000000000 --- a/theme/magazine/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_magazine - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX). -$plugin->requires = 2013110500; // Requires this Moodle version. -$plugin->component = 'theme_magazine'; // Full name of the plugin (used for diagnostics). -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/nimble/config.php b/theme/nimble/config.php deleted file mode 100644 index 82574fce981c3..0000000000000 --- a/theme/nimble/config.php +++ /dev/null @@ -1,254 +0,0 @@ -. - -/** - * Configuration for Moodle's nimble theme. - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_nimble - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'nimble'; - -//////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -//////////////////////////////////////////////////// - - -$THEME->parents = array( - 'canvas', - 'base', -); - -///////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -//////////////////////////////////////////////////// - - -$THEME->sheets = array( - 'core', - 'pagelayout', - 'colors', - 'menu', -); - -//////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -//////////////////////////////////////////////////// - -$THEME->parents_exclude_sheets = array( - 'base'=>array( - 'pagelayout', - ), - 'canvas'=>array( - 'pagelayout', - ), -); - - -$THEME->enable_dock = true; - -//////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -//////////////////////////////////////////////////// - - -$THEME->editor_sheets = array('editor'); - -//////////////////////////////////////////////////// -// An array of stylesheets to include within the -// body of the editor. -//////////////////////////////////////////////////// - -$THEME->layouts = array( - 'base' => array( - 'file' => 'general.php', - 'regions' => array(), - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post' - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'embedded' => array( - 'theme' => 'canvas', - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - 'report' => array( - 'file' => 'general.php', - 'regions' => array('side-post'), - 'defaultregion' => 'side-post', - ), -); - -/////////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. -/////////////////////////////////////////////////////////////// - -// $THEME->csspostprocess = 'nimble_process_css'; - -//////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -//////////////////////////////////////////////////// - -// $THEME->javascripts - -//////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -//////////////////////////////////////////////////// - -// $THEME->javascripts_footer - -//////////////////////////////////////////////////// -// As above but will be included in the page footer. -//////////////////////////////////////////////////// - -$THEME->larrow = '⟨'; - -//////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -//////////////////////////////////////////////////// - -$THEME->rarrow = '⟩'; - -//////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// - -// $THEME->layouts - -//////////////////////////////////////////////////// -// An array setting the layouts for the theme -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_javascripts - -//////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -//////////////////////////////////////////////////// - -// $THEME->plugins_exclude_sheets - -//////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -//////////////////////////////////////////////////// - -// $THEME->rendererfactory - -//////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -//////////////////////////////////////////////////// - -$THEME->csspostprocess = 'nimble_process_css'; diff --git a/theme/nimble/lang/en/theme_nimble.php b/theme/nimble/lang/en/theme_nimble.php deleted file mode 100644 index 696a60eea6b6e..0000000000000 --- a/theme/nimble/lang/en/theme_nimble.php +++ /dev/null @@ -1,74 +0,0 @@ -. - -/** - * Strings for component 'theme_nimble', language 'en'. - * - * @package theme_nimble - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Nimble'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = ' -
-
- -

Nimble

- - -

Theme Discussion Forum:

-

http://moodle.org/mod/forum/view.php?id=46

- -

Theme Credits

-

http://docs.moodle.org/en/Theme_credits

- -

Theme Documentation:

-

http://docs.moodle.org/en/Themes

Report a bug:

http://tracker.moodle.org

-
- -
- -

About

-

Nimble is a two-column, fluid-width theme coded for Moodle 2.0. It makes use of custom menus that appear above the site title on every page. It also includes a basic settings page allowing you to change link color, add a tagline next the site name on the front page, and add text to the footer.

- -

Parents

-

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you wish to modify aspects of this theme beyond the settings offered, we advise creating a new theme using this theme, Base and Canvas all as parents so updates to any of those themes in the core will find their way into your new theme.

- -

Credits

-

This design was created for Moodle by Patrick Malley (patrick@newschoollearning.com) with help from John Stabinger (john@newschoollearning.com). -

License

-

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License. -

-
'; - -$string['tagline'] = 'Tagline'; -$string['taglinedesc'] = 'Set a tagline to appear under the site name on the front page.'; - -$string['footerline'] = 'Footerline'; -$string['footerlinedesc'] = 'Add some text (copyright info, etc.) to the footer.'; - -$string['backgroundcolor'] = 'Header background'; -$string['backgroundcolordesc'] = 'Change the background colour of the header.'; - -$string['linkcolor'] = 'Link colour'; -$string['linkcolordesc'] = 'Set the colour of links in the theme. Use html hex code.'; - -$string['linkhover'] = 'Menu hover colour'; -$string['linkhoverdesc'] = 'Set the colour of the menu on hover in the theme. Use html hex code.'; - diff --git a/theme/nimble/layout/frontpage.php b/theme/nimble/layout/frontpage.php deleted file mode 100644 index 430204a2dbf70..0000000000000 --- a/theme/nimble/layout/frontpage.php +++ /dev/null @@ -1,168 +0,0 @@ -. - -/** - * The frontpage layout. - * - * @package theme_nimble - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepost) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - - -if (!empty($PAGE->theme->settings->tagline)) { - $tagline = $PAGE->theme->settings->tagline; -} else { - $tagline = "Another Moodle Theme"; -} - -if (!empty($PAGE->theme->settings->footerline)) { - $footnote = $PAGE->theme->settings->footerline; -} else { - $footnote = ''; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- -
-
- -
- - - - - - - - - -
-
-
-
- -
-
-
- -
-

heading ?>

-

-
- - main_content() ?> - -
-
-
- - -
-
-
-
- blocks_for_region('side-post') ?> -
-
-
-
- - -
-
-
-
- - - -
- -
-
- - - - - - - -
- -standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/nimble/layout/general.php b/theme/nimble/layout/general.php deleted file mode 100644 index d94902adeb7d0..0000000000000 --- a/theme/nimble/layout/general.php +++ /dev/null @@ -1,201 +0,0 @@ -. - -/** - * The default layout. - * - * @package theme_nimble - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepost = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-post', $OUTPUT)); - -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); - if ($showsidepost) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -if (!empty($PAGE->theme->settings->footertext)) { - $footnote = $PAGE->theme->settings->footertext; -} else { - $footnote = ''; -} - - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- - - -
-
- -
- - - - - - - - - - - - -
-
-
-
- -
-
-
- -
-

heading ?>

-
- - -
- - - - - - - main_content() ?> - -
-
-
- - -
-
-
-
- blocks_for_region('side-post') ?> -
-
-
-
- - -
-
-
-
- - - - -
- -
-
- - - - - - - - - - - - - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/nimble/lib.php b/theme/nimble/lib.php deleted file mode 100644 index a6f9c81c9b073..0000000000000 --- a/theme/nimble/lib.php +++ /dev/null @@ -1,110 +0,0 @@ -. - -/** - * This file contains functions specific to the needs of the Nimble theme. - * - * @package theme_nimble - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * Makes our changes to the CSS - * - * @param string $css - * @param theme_config $theme - * @return string - */ -function nimble_process_css($css, $theme) { - - // Set the link color. - if (!empty($theme->settings->linkcolor)) { - $linkcolor = $theme->settings->linkcolor; - } else { - $linkcolor = null; - } - $css = nimble_set_linkcolor($css, $linkcolor); - - // Set the link hover color. - if (!empty($theme->settings->linkhover)) { - $linkhover = $theme->settings->linkhover; - } else { - $linkhover = null; - } - $css = nimble_set_linkhover($css, $linkhover); - - // Set the background color. - if (!empty($theme->settings->backgroundcolor)) { - $backgroundcolor = $theme->settings->backgroundcolor; - } else { - $backgroundcolor = null; - } - $css = nimble_set_backgroundcolor($css, $backgroundcolor); - - // Return the CSS. - return $css; -} - -/** - * Sets the link color variable in CSS - * - * @param string $css - * @param string $linkcolor - * @return string - */ -function nimble_set_linkcolor($css, $linkcolor) { - $tag = '[[setting:linkcolor]]'; - $replacement = $linkcolor; - if (is_null($replacement)) { - $replacement = '#2a65b1'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the link hover colour in CSS. - * - * @param string $css - * @param string $linkhover - * @return string - */ -function nimble_set_linkhover($css, $linkhover) { - $tag = '[[setting:linkhover]]'; - $replacement = $linkhover; - if (is_null($replacement)) { - $replacement = '#222222'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the background colour in CSS. - * @param string $css - * @param string $backgroundcolor - * @return string - */ -function nimble_set_backgroundcolor($css, $backgroundcolor) { - $tag = '[[setting:backgroundcolor]]'; - $replacement = $backgroundcolor; - if (is_null($replacement)) { - $replacement = '#454545'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} diff --git a/theme/nimble/pix/horizontal-menu-submenu-indicator.png b/theme/nimble/pix/horizontal-menu-submenu-indicator.png deleted file mode 100644 index 62a2772da3825..0000000000000 Binary files a/theme/nimble/pix/horizontal-menu-submenu-indicator.png and /dev/null differ diff --git a/theme/nimble/pix/screenshot.png b/theme/nimble/pix/screenshot.png deleted file mode 100644 index 36e6d94bd6f9b..0000000000000 Binary files a/theme/nimble/pix/screenshot.png and /dev/null differ diff --git a/theme/nimble/pix/vertical-menu-submenu-indicator.png b/theme/nimble/pix/vertical-menu-submenu-indicator.png deleted file mode 100644 index 2081588c28150..0000000000000 Binary files a/theme/nimble/pix/vertical-menu-submenu-indicator.png and /dev/null differ diff --git a/theme/nimble/settings.php b/theme/nimble/settings.php deleted file mode 100644 index 70840bcf84ca5..0000000000000 --- a/theme/nimble/settings.php +++ /dev/null @@ -1,74 +0,0 @@ -. - -/** - * Settings for the Nimble theme. - * - * @package theme_nimble - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -if ($ADMIN->fulltree) { - - // Tagline setting - $name = 'theme_nimble/tagline'; - $title = get_string('tagline','theme_nimble'); - $description = get_string('taglinedesc', 'theme_nimble'); - $setting = new admin_setting_configtext($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // footerline setting - $name = 'theme_nimble/footerline'; - $title = get_string('footerline','theme_nimble'); - $description = get_string('footerlinedesc', 'theme_nimble'); - $setting = new admin_setting_configtext($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Background color setting - $name = 'theme_nimble/backgroundcolor'; - $title = get_string('backgroundcolor','theme_nimble'); - $description = get_string('backgroundcolordesc', 'theme_nimble'); - $default = '#454545'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // link color setting - $name = 'theme_nimble/linkcolor'; - $title = get_string('linkcolor','theme_nimble'); - $description = get_string('linkcolordesc', 'theme_nimble'); - $default = '#2a65b1'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // link hover color setting - $name = 'theme_nimble/linkhover'; - $title = get_string('linkhover','theme_nimble'); - $description = get_string('linkhoverdesc', 'theme_nimble'); - $default = '#222222'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); -} diff --git a/theme/nimble/style/colors.css b/theme/nimble/style/colors.css deleted file mode 100644 index c0883bebd48b2..0000000000000 --- a/theme/nimble/style/colors.css +++ /dev/null @@ -1,31 +0,0 @@ -#page-header-wrapper { - background: [[setting:backgroundcolor]]; -} - -a { - color: [[setting:linkcolor]]; -} - -a:hover { - color: #000; -} - -#custommenu .yui3-menu-content .yui3-menu-content, -#custommenu .yui3-menu-label.yui3-menu-label-active, -#custommenu .yui3-menuitem.yui3-menuitem-active .yui3-menuitem-content, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem .yui3-menuitem-content { - background-color: [[setting:linkhover]]; - background-image:none; -} - - -#custommenu .yui3-menu .yui3-menu .yui3-menu-label-active, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content { - background-color:#333; - background-image:none; -} - -#custommenu .yui3-menu-horizontal.javascript-disabled li:hover a { - background-color: [[setting:linkhover]]; -} \ No newline at end of file diff --git a/theme/nimble/style/core.css b/theme/nimble/style/core.css deleted file mode 100644 index b8384439b3c77..0000000000000 --- a/theme/nimble/style/core.css +++ /dev/null @@ -1,240 +0,0 @@ -/* Core */ - -html,body { - background: #f7f7f7; -} -html,body { - font-family: Tahoma,Arial,Helvetica,sans-serif; -} - -h1,h2,h3,h4,h5,h6 { - font-family: Georgia, Times, "Times New Roman", serif; - color: #333; -} - -.shrinkwrapper { - width: 90%; - margin: 0 auto; -} - - -/* Header */ - - - -.headermenu { - float: right; - color: #ddd; -} - -.headermenu a { - color: #aaa; -} - -.headermenu a:hover { - color: #fff; -} - -#custommenu { - float: left; - margin-top: 40px; -} - -h1.headermain { - margin: 0 20px 25px 0; - font-size: 2.5em; - text-shadow: 0.03em 0.03em 0.05em #333; - color: #222; -} - -.inside h1.headermain { - font-size: 2.25em; - margin-bottom: 15px; -} - -.tagline { - float: left; - margin:13px 0 0 0; - font-size: 1em; - color: #333; - font-family: Georgia, Times, "Times New Roman", serif; - text-shadow: 0.1em 0.1em 0 #fff; -} - -.navbar { - margin-bottom: 15px; - border: 1px solid #e3e3e3; - border-radius: 10px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; -} - -.navbar .wrapper { - border: 1px solid #fff; - padding: 5px; - border-radius: 10px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; -} - -/* Content */ - -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2 { - text-shadow: 1px 1px 3px #aaa; - color: #445566; -} - -/* Region Post */ - -#region-post-wrap-1 { - border: 1px solid #ccc; - border-radius: 10px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; - margin-top: 25px; -} -#region-post-wrap-2 { - border: 1px solid #fff; - border-radius: 10px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; - padding: 10px; -} - -/* Blocks */ - -.block { - border: none; -} - -.block .title { - border-bottom: 1px solid #eee; -} -.block .title h2 { - text-shadow: 1px 1px 3px #aaa; - color: #333; - font-size: 1.25em; - border-bottom: 1px solid #fff; - margin: 0; -} - -/* Calendar */ - -.minicalendar td, -.minicalendar th { - font-size: 0.85em; - padding: 0 2px; - border-width: 2px 0; - border-color: #f7f7f7; -} - -.minicalendar .calendar_event_user, -.minicalendar .duration_user { - border-color: #dce7ec; -} - -.minicalendar .calendar_event_course, -.minicalendar .duration_course { - border-color: #ffd3bd; -} - -.minicalendar .calendar_event_global, -.minicalendar .duration_global { - border-color: #d6f8cd; -} - -.minicalendar .calendar_event_group, -.minicalendar .duration_group { - border-color: #fee7ae; -} - -/* Forums */ - -.forumpost .topic { - border: 1px solid #ddd; - border-radius: 10px 10px 0 0; - -moz-border-radius: 10px 10px 0 0; - -webkit-border-radius: 10px 10px 0 0; - border-bottom: 0; - padding: 5px 10px; - background: #eee; -} - -.forumpost .topic .subject { - font-weight: bold; - font-size: 1.2em; - color: #444; -} - -.forumpost .content { - border-width: 0 1px 0; - border-color: #ddd; - border-style: solid; - padding: 5px 10px; -} - -.forumpost .options { - border-width: 0 1px 1px; - border-color: #ddd; - border-style: solid; - border-radius: 0 0 10px 10px; - -moz-border-radius: 0 0 10px 10px; - -webkit-border-radius: 0 0 10px 10px; - font-size: 0.9em; - color: #333; - padding: 5px 10px; - background: #eee; -} - -/* Course */ - -.path-course-view .course-content li.section { - border-bottom: 1px solid #ddd; - border-top: 1px solid #fff; - margin-top: 0 !important; -} - -.path-course-view .course-content #section-0 { - border-top: 0; -} - -#page-course-view-weeks .course-content .section .content { - margin-left: 0; -} - -#page-course-view-weeks .course-content .left { - display: none; -} - -.path-course-view .course-content .current { - background: #fcfde0; -} - -#page-course-view-topics .course-content .section .left { - font-family: Georgia, Times, "Times New Roman", serif; - font-size: 1.5em; - text-shadow: 2px 2px 5px #fff; - font-weight: bold; - color: #445566; -} - - -/* Footer */ - -#page-footer { - margin-bottom: 25px; -} - -/* Moodle forms -----------------*/ -.mform .btn-cancel { - color: #2A65B1; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #000000; - text-decoration: none; -} diff --git a/theme/nimble/style/menu.css b/theme/nimble/style/menu.css deleted file mode 100644 index d1daba6d616e3..0000000000000 --- a/theme/nimble/style/menu.css +++ /dev/null @@ -1,72 +0,0 @@ -/** - * These are the styles for the custom menu in the nimble theme. - * Please note there are settings to alter the active menu background colour. - * The CSS for these settings is in colors.css - */ -#custommenu { - font-size: 1.2em; - line-height:2em; - float: left; - width:60%; - border-bottom:1px solid #454545; -} - -#custommenu .yui3-menu-label { - margin-right:10px; - padding: 0 20px; -} - -#custommenu .yui3-menu-label, -#custommenu .yui3-menuitem-content { - border: 1px solid #555; - border-bottom-width: 0; - color:#FFF; - background-color:#333; - border-radius: 10px 10px 0 0; - -moz-border-radius: 10px 10px 0 0; - -webkit-border-radius: 10px 10px 0 0; -} - -#custommenu .yui3-menu .yui3-menu .yui3-menu-label, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem-content { - margin-right:0; - border-width:0; - padding:3px 20px 4px; - border-radius:0; - -moz-border-radius: 0; - -webkit-border-radius: 0; -} - -#custommenu .yui3-menu-content { - border-width:0; - padding:0; -} - -#custommenu .yui3-menu-content .yui3-menu-content { - padding-top:5px; -} - -#custommenu .yui3-menu-content .yui3-menu-content .yui3-menu-content { - padding-top:0; -} - -#custommenu .yui3-menuitem-active { - background-color: transparent; -} - -#custommenu .yui3-menu-horizontal.javascript-disabled li a { - padding:3px 20px 4px; -} - -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content .ul { - border-width:0; -} -#custommenu .yui3-menu-label, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label { - background:url([[pix:theme|vertical-menu-submenu-indicator]]) no-repeat 100% 50%; -} - -#custommenu .yui3-menu .yui3-menu .yui3-menu-label-menuvisible { - background:url([[pix:theme|horizontal-menu-submenu-indicator]]) no-repeat 100% 50%; -} diff --git a/theme/nimble/style/pagelayout.css b/theme/nimble/style/pagelayout.css deleted file mode 100644 index 5929e8ae32392..0000000000000 --- a/theme/nimble/style/pagelayout.css +++ /dev/null @@ -1,104 +0,0 @@ -/** Path: theme pagelayout **/ - -/********************************************************************************************* - - right column: 28% - padding left/right column: 10px - padding center column: 20px - -**********************************************************************************************/ - -body { - margin: auto 0px; - width: auto; -} - -#page { - width: 100%; - overflow: hidden; -} - -#page-header { - float: left; - width: 100%; -} - -#page-content { - clear: both; - float: left; - overflow: hidden; - position: relative; - width: 100%; -} - -#page-content #region-main-box { - float: left; - right: 28%; - position: relative; - width: 100%; -} - -#page-content #region-post-box { - float: left; - right: 72%; - position: relative; - width: 100%; -} - -#page-content #region-main { - float: left; - overflow: hidden; - position: relative; - margin-right: 0px; - left: 100%; - width: 72%; -} - -#page-content #region-post { - float: left; - overflow: hidden; - position: relative; - left: 100%; - width: 28%; -} - -#page-content #region-main .region-content { - overflow: hidden; - padding: 20px 25px 20px 0; -} - -#page-content #region-post .region-content { - padding: 0 0 0 0; -} - -#page-footer { - clear: both; - float: left; - width: 100%; -} - -/** No blocks whatsoever **/ - -.content-only #page-content #region-main-box { - right: 0%; -} - -.content-only #page-content #region-post-box { - right: 100%; -} - -.content-only #page-content #region-main { - left: 100%; - width: 100%; -} - -.content-only #page-content #region-pre { - width: 0%; -} - -.content-only #page-content #region-post { - width: 0%; -} - -.pagelayout-report #page-content #region-main {overflow:auto;} -.pagelayout-report #page-content #region-main .region-content {overflow:visible;} \ No newline at end of file diff --git a/theme/nimble/version.php b/theme/nimble/version.php deleted file mode 100644 index 4e521abd877b5..0000000000000 --- a/theme/nimble/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_nimble - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_nimble'; // Full name of the plugin (used for diagnostics) -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/nonzero/config.php b/theme/nonzero/config.php deleted file mode 100644 index 6a6e1bd246f4b..0000000000000 --- a/theme/nonzero/config.php +++ /dev/null @@ -1,252 +0,0 @@ -. - -/** - * Configuration for Moodle's nonzero theme. - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_nonzero - * @copyright 2008 NodeThirtyThree (http://nodethirtythree.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'nonzero'; - -//////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -//////////////////////////////////////////////////// - - -$THEME->parents = array( - 'canvas', - 'base', -); - -///////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -//////////////////////////////////////////////////// - - -$THEME->sheets = array( - 'core', - 'pagelayout', -); - -//////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -//////////////////////////////////////////////////// - -$THEME->parents_exclude_sheets = array( - 'base'=>array( - 'pagelayout', - ), - 'canvas'=>array( - 'pagelayout', - ), -); - - -$THEME->enable_dock = true; - -//////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -//////////////////////////////////////////////////// - - -$THEME->editor_sheets = array('editor'); - -//////////////////////////////////////////////////// -// An array of stylesheets to include within the -// body of the editor. -//////////////////////////////////////////////////// - -$THEME->layouts = array( - 'base' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post' - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'embedded' => array( - 'theme' => 'canvas', - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - 'report' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), -); - -/////////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. -/////////////////////////////////////////////////////////////// - -$THEME->csspostprocess = 'nonzero_process_css'; - -//////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -//////////////////////////////////////////////////// - -// $THEME->javascripts - -//////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -//////////////////////////////////////////////////// - -// $THEME->javascripts_footer - -//////////////////////////////////////////////////// -// As above but will be included in the page footer. -//////////////////////////////////////////////////// - -// $THEME->larrow - -//////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -//////////////////////////////////////////////////// - -// $THEME->rarrow - -//////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// - -// $THEME->layouts - -//////////////////////////////////////////////////// -// An array setting the layouts for the theme -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_javascripts - -//////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -//////////////////////////////////////////////////// - -// $THEME->plugins_exclude_sheets - -//////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -//////////////////////////////////////////////////// - -// $THEME->rendererfactory - -//////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -//////////////////////////////////////////////////// - diff --git a/theme/nonzero/lang/en/theme_nonzero.php b/theme/nonzero/lang/en/theme_nonzero.php deleted file mode 100644 index dd341fefff7ae..0000000000000 --- a/theme/nonzero/lang/en/theme_nonzero.php +++ /dev/null @@ -1,38 +0,0 @@ -. - -/** - * Strings for component 'theme_nonzero', language 'en'. - * - * @package theme_nonzero - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Nonzero'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = '

About

Nonzero is a nontraditional, three-column, fluid-width theme for Moodle. It\'s nontraditional in the sense that it uses a fresh three-column layout that displays the content to the left of both block columns.

Tweaks

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it, then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

Credits

This theme was coded and is maintained by Patrick Malley of NewSchool Learning. He can be contacted by email at contact@newschoollearning.com.

License

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.

'; - -// Config - -$string['configtitle'] = 'Nonzero settings'; -$string['customcss'] = 'Custom CSS'; -$string['customcssdesc'] = 'Any CSS you enter here will be added to every page allowing your to easily customise this theme.'; -$string['regionprewidth'] = 'Left column width'; -$string['regionprewidthdesc'] = 'This sets the width of the block region that forms the left column. This column is displayed in the middle of the page while using blog layout'; -$string['regionpostwidth'] = 'Right column width'; -$string['regionpostwidthdesc'] = 'This sets the width of the block region that forms the right column.'; diff --git a/theme/nonzero/layout/frontpage.php b/theme/nonzero/layout/frontpage.php deleted file mode 100644 index b0abe41fb6220..0000000000000 --- a/theme/nonzero/layout/frontpage.php +++ /dev/null @@ -1,144 +0,0 @@ -. - -/** - * The frontpage layout. - * - * @package theme_nonzero - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); - -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- - - - - - - -
- -
-
-
-
- -
-
-
- main_content() ?> -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- -
- - - - - - - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/nonzero/layout/general.php b/theme/nonzero/layout/general.php deleted file mode 100644 index 9cda44ca58d7c..0000000000000 --- a/theme/nonzero/layout/general.php +++ /dev/null @@ -1,168 +0,0 @@ -. - -/** - * The default layout. - * - * @package theme_nonzero - * @copyright 2010 Patrick Malley - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); - -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- - - -
- - -
- - - - - - - - - -
-
-
-
- -
-
-
- - main_content() ?> - -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- - -
- - - - - - - - - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/nonzero/lib.php b/theme/nonzero/lib.php deleted file mode 100644 index a97045c80775d..0000000000000 --- a/theme/nonzero/lib.php +++ /dev/null @@ -1,95 +0,0 @@ -. - -/** - * This file contains the settings for the Nonzero theme. - * - * Currently you can set the following settings: - * - Region pre width - * - Region post width - * - Some custom CSS - * - * @package theme_nonzero - * @copyright 2010 Dietmar Wagner - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -function nonzero_process_css($css, $theme) { - - // Set the region-pre and region-post widths. - if (!empty($theme->settings->regionprewidth) && !empty($theme->settings->regionpostwidth)) { - $regionprewidth = $theme->settings->regionprewidth; - $regionpostwidth = $theme->settings->regionpostwidth; - } else { - $regionprewidth = null; - $regionpostwidth = null; - } - $css = nonzero_set_regionwidths($css, $regionprewidth, $regionpostwidth); - - // Set the custom CSS. - if (!empty($theme->settings->customcss)) { - $customcss = $theme->settings->customcss; - } else { - $customcss = null; - } - $css = nonzero_set_customcss($css, $customcss); - - // Return the CSS. - return $css; -} - -/** - * Sets the region width variable in CSS - * - * @param string $css - * @param string $regionprewidth - * @param string $regionpostwidth - * @return string - */ -function nonzero_set_regionwidths($css, $regionprewidth, $regionpostwidth) { - $tag1 = '[[setting:regionprewidth]]'; - $tag2 = '[[setting:regionpostwidth]]'; - $tag3 = '[[setting:regionsumwidth]]'; - $tag4 = '[[setting:regiondoublepresumwidth]]'; - $replacement1 = $regionprewidth; - $replacement2 = $regionpostwidth; - if (is_null($replacement1) or is_null($replacement2)) { - $replacement1 = 200; - $replacement2 = 200; - } - $css = str_replace($tag1, $replacement1.'px', $css); - $css = str_replace($tag2, $replacement2.'px', $css); - $css = str_replace($tag3, ($replacement1 + $replacement2).'px', $css); - $css = str_replace($tag4, (2 * $replacement1 + $replacement2).'px', $css); - return $css; -} - -/** - * Sets the custom css variable in CSS - * - * @param string $css - * @param string $customcss - * @return string - */ -function nonzero_set_customcss($css, $customcss) { - $tag = '[[setting:customcss]]'; - $replacement = $customcss; - if (is_null($replacement)) { - $replacement = ''; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} \ No newline at end of file diff --git a/theme/nonzero/pix/favicon.ico b/theme/nonzero/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/nonzero/pix/favicon.ico and /dev/null differ diff --git a/theme/nonzero/pix/n1.gif b/theme/nonzero/pix/n1.gif deleted file mode 100644 index 74e848092078f..0000000000000 Binary files a/theme/nonzero/pix/n1.gif and /dev/null differ diff --git a/theme/nonzero/pix/n2.gif b/theme/nonzero/pix/n2.gif deleted file mode 100644 index 79287202beb9b..0000000000000 Binary files a/theme/nonzero/pix/n2.gif and /dev/null differ diff --git a/theme/nonzero/pix/screenshot.jpg b/theme/nonzero/pix/screenshot.jpg deleted file mode 100644 index 6ab0904ecc35b..0000000000000 Binary files a/theme/nonzero/pix/screenshot.jpg and /dev/null differ diff --git a/theme/nonzero/settings.php b/theme/nonzero/settings.php deleted file mode 100644 index 68e52a07be4ca..0000000000000 --- a/theme/nonzero/settings.php +++ /dev/null @@ -1,60 +0,0 @@ -. - -/** - * This file contains the settings for the Nonzero theme. - * - * Currently you can set the following settings: - * - Region pre width - * - Region post width - * - Some custom CSS - * - * @package theme_nonzero - * @copyright 2010 Dietmar Wagner - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -if ($ADMIN->fulltree) { - // Block region-pre width. - $name = 'theme_nonzero/regionprewidth'; - $title = get_string('regionprewidth','theme_nonzero'); - $description = get_string('regionprewidthdesc', 'theme_nonzero'); - $default = 200; - $choices = array(180=>'180px', 190=>'190px', 200=>'200px', 210=>'210px', 220=>'220px', 230=>'230px', 240=>'240px', 250=>'250px', 260=>'260px'); - $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Block region-post width. - $name = 'theme_nonzero/regionpostwidth'; - $title = get_string('regionpostwidth','theme_nonzero'); - $description = get_string('regionpostwidthdesc', 'theme_nonzero'); - $default = 200; - $choices = array(180=>'180px', 190=>'190px', 200=>'200px', 210=>'210px', 220=>'220px', 230=>'230px', 240=>'240px', 250=>'250px', 260=>'260px'); - $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Custom CSS file. - $name = 'theme_nonzero/customcss'; - $title = get_string('customcss','theme_nonzero'); - $description = get_string('customcssdesc', 'theme_nonzero'); - $setting = new admin_setting_configtextarea($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); -} \ No newline at end of file diff --git a/theme/nonzero/style/core.css b/theme/nonzero/style/core.css deleted file mode 100644 index 9bd837ab45365..0000000000000 --- a/theme/nonzero/style/core.css +++ /dev/null @@ -1,236 +0,0 @@ -/******************************************************** -** -** Theme name: Nonzero -** Description: A GPL theme for the Moodle core. -** Creation Date: 06/22/10 -** Author: Patrick Malley -** Author URI: http://newschoollearning.com -** -** Customize, edit, poke, prod, and adapt to your needs. -** -*********************************************************/ - -/* Global ---------------------------*/ - -body { - background: #fff; - margin: 0; - padding: 0; - color: #281f18; -} - -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family:"Trebuchet MS", Helvetica, Arial, sans-serif; -} - -.wrapper { - margin: 0 35px; -} - -a:link,a:visited { - color: #27608d; -} - -a:hover,a:active { - color: #000; -} - -a img { - border: none; -} - -a:active { - outline: none; -} - -/* Header ----------------------------*/ - -#page-header { - background: url([[pix:theme|n1]]) repeat-x 0 0; - color: #fff; - height: 122px; -} - -#page-header h1 { - font-size:2.5em; - padding-top:70px; - margin: 0; - text-shadow: 0 -1px 1px #000; -} - -.has_custom_menu #page-header h1 { - padding-top:60px; -} - -#page-header.inside { - height: 75px; -} - -#page-header.inside h1 { - font-size: 1.7em; - padding-top: 40px; -} - -#page-header a:link, -#page-header a:visited { - color: #fff; - text-decoration: underline; -} - -/* Navbar ---------------------------*/ - -.navbar { - padding-top: 3px; -} - -.breadcrumb .sep { - color: #777; - font-size: 0.8em; -} - -/* Content ---------------------------*/ - -#top { - background:url([[pix:theme|n2]]) repeat-x 0 0; -} - -/* Blocks ----------------------------*/ - -.block { - border: none; - margin-bottom: 25px; -} - -.block .header { - border-bottom: 1px solid #ccc; - text-transform: lowercase; -} - -.block .title h2 { - font-weight: normal; - font-size: 1.2em; - margin: 0; -} - -.block .content { - font-size: 0.95em; -} - -/* Forums ----------------------------*/ - -.forumpost .subject { - font-size: 1.2em; -} - -.forumpost .author { - font-size: 0.9em; -} - -.forumpost .content { - border-bottom:5px solid #aaa; - padding:5px 7px 10px 7px; -} - -.forumpost .topic { - background: #eee; - border-bottom: 1px solid #aaa; -} - -/* Course --------------------------------*/ - -.course-content .main { - border: 1px solid #eee; - background: #eee; -} - -.course-content .current { - background: #1f5480; -} - -.course-content .current .left.side { - color: #fff; -} - -.course-content .main .content { - background: #fff; -} - -/* Custom Menu */ -#custommenuwrap { - clear: both; - padding-top: 4px; -} - -#custommenu { - border-width: 0; -} - -#page-header #custommenu .yui3-menu-label, -#page-header #custommenu .yui3-menuitem-content { - color: #fff; - font-weight: 600; - text-decoration: none; - padding-left: 0px; - padding-right: 20px ; - text-shadow: 0 -1px 1px #000; - margin: -2px 0; -} - -#page-header #custommenu .custom_menu_submenu .yui3-menu-label, -#page-header #custommenu .custom_menu_submenu .yui3-menuitem-content { - color: #333; - padding-left: 5px; - text-shadow: none; -} - -#custommenu .yui3-menu-label-active, -#custommenu .yui3-menuitem-active .yui3-menuitem-content { - color: #ccc; -} - -#custommenu .yui3-menu-content, -#custommenu .yui3-menu-label, -#custommenu .yui3-menuitem-content { - border-width: 0; -} - -#custommenu .custom_menu_submenu { - border: 1px solid #27608d; - border-top-width: 0; - background: #fff; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; - -webkit-box-shadow: 0px 1px 3px #ccc; - -moz-box-shadow: 0px 1px 3px #ccc; - box-shadow: 0px 1px 3px #ccc; -} - -#custommenu .custom_menu_submenu .custom_menu_submenu .yui3-menu-content { - border-top:1px solid #333; -} - -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content { - border-width:0; -} - -/* Moodle forms -----------------*/ -.mform .btn-cancel { - color: #27608d; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #000000; - text-decoration: none; -} - -/** Custom CSS **/ -[[setting:customcss]] diff --git a/theme/nonzero/style/editor.css b/theme/nonzero/style/editor.css deleted file mode 100644 index 5f71a0d26fcf0..0000000000000 --- a/theme/nonzero/style/editor.css +++ /dev/null @@ -1,4 +0,0 @@ - -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family:"Trebuchet MS", Helvetica, Arial, sans-serif; -} \ No newline at end of file diff --git a/theme/nonzero/style/pagelayout.css b/theme/nonzero/style/pagelayout.css deleted file mode 100644 index 2fb011530d68b..0000000000000 --- a/theme/nonzero/style/pagelayout.css +++ /dev/null @@ -1,180 +0,0 @@ -/** Path: theme pagelayout **/ -body {margin:auto 0px;width:auto;} -#page {width:100%;overflow:hidden;} -#page-content { - clear: both; - overflow: hidden; - position: relative; - width: 100%; -} - -#page-content #region-main-box { - float: left; - margin-left: -[[setting:regionpostwidth]]; - position: relative; - width: 200%; - right: 100%; -} - -#page-content #region-post-box { - float: left; - margin-left: -[[setting:regionprewidth]]; - width: 100%; -} - -#page-content #region-main-wrap { - float: left; - width: 50%; -} - -#page-content #region-main { - overflow: hidden; - position: relative; - margin-left: [[setting:regionsumwidth]]; - left: 100%; -} - -#page-content #region-pre { - float: right; - position: relative; - width: [[setting:regionprewidth]]; - left: [[setting:regionprewidth]]; -} - -#page-content #region-post { - float: right; - position: relative; - left: [[setting:regiondoublepresumwidth]]; - width: [[setting:regionpostwidth]]; -} - -#page-content #region-main .region-content { - overflow: hidden; - padding: 20px 20px 20px 0; -} - -#page-content #region-pre .region-content, -#page-content #region-post .region-content { - padding: 20px 10px; -} - -#page-footer { - clear: both; - float: left; - width: 100%; -} - -/** Only side pre **/ -.side-pre-only #page-content #region-main-box { - margin-left: 0; -} - -.side-pre-only #page-content #region-post-box { - margin-left: -[[setting:regionprewidth]]; -} - -.side-pre-only #page-content #region-main { - margin-left: [[setting:regionprewidth]]; -} - -.side-pre-only #page-content #region-pre { - left: [[setting:regionprewidth]]; - width: [[setting:regionprewidth]]; -} - -.side-pre-only #page-content #region-post { - left: 0; - width: 0; -} - -/** Only side post **/ -.side-post-only #page-content #region-main-box { - margin-left: 0; - -} - -.side-post-only #page-content #region-post-box { - margin-left: -[[setting:regionpostwidth]]; -} - -.side-post-only #page-content #region-main { - margin-left: [[setting:regionpostwidth]]; -} - -.side-post-only #page-content #region-pre { - left: 0; - width: 0; -} -.side-post-only #page-content #region-post { - left: [[setting:regionpostwidth]]; - width: [[setting:regionpostwidth]]; -} - -.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: [[setting:regionprewidth]]; -} - -.blocks-moving.side-post-only #page-content #region-main-box { - float: left; - margin-left: -[[setting:regionpostwidth]]; - position: relative; - width: 200%; - right: 100%; -} - -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box { - float: left; - margin-left: - -[[setting:regionprewidth]]; - width: 100%; -} - -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap { - float: left; - width: 50%; -} - -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { - overflow: hidden; - position: relative; - margin-left: [[setting:regionsumwidth]]; - left: 100%; -} - -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box #region-pre { - float: right; - position: relative; - left: [[setting:regionprewidth]]; - width: [[setting:regionprewidth]]; -} - -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box #region-post { - float: right; - position: relative; - left: [[setting:regiondoublepresumwidth]]; - width: [[setting:regionpostwidth]]; -} - -/** No blocks whatsoever **/ -.content-only #page-content #region-main-box { - margin-left: 0px; -} - -.content-only #page-content #region-post-box { - margin-left: 0px; -} - -.content-only #page-content #region-main { - margin-left: 0px; -} - -.content-only #page-content #region-pre { - width: 0px; -} - -.content-only #page-content #region-post { - width: 0px; -} - -.pagelayout-report #page-content #region-main {overflow:auto;} -.pagelayout-report #page-content #region-main .region-content {overflow:visible;} \ No newline at end of file diff --git a/theme/nonzero/version.php b/theme/nonzero/version.php deleted file mode 100644 index ecef3a9544f67..0000000000000 --- a/theme/nonzero/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_nonzero - * @copyright 2010 Dietmar Wagner - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_nonzero'; // Full name of the plugin (used for diagnostics) -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/overlay/config.php b/theme/overlay/config.php deleted file mode 100644 index 4ab175d6438a1..0000000000000 --- a/theme/overlay/config.php +++ /dev/null @@ -1,247 +0,0 @@ -. - -/** - * Configuration for Moodle's overlay theme. - * - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_overlay - * @copyright 2008 NodeThirtyThree (http://nodethirtythree.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'overlay'; - -//////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -//////////////////////////////////////////////////// - - -$THEME->parents = array( - 'canvas', - 'base', -); - -///////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -//////////////////////////////////////////////////// - - -$THEME->sheets = array( - 'core', - 'settings', - 'pagelayout', -); - -//////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -//////////////////////////////////////////////////// - -$THEME->parents_exclude_sheets = array( - 'base'=>array( - 'pagelayout', - ), - 'canvas'=>array( - 'pagelayout', - ), -); - - -$THEME->enable_dock = true; - -//////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -//////////////////////////////////////////////////// - - -$THEME->editor_sheets = array('editor'); - -//////////////////////////////////////////////////// -// An array of stylesheets to include within the -// body of the editor. -//////////////////////////////////////////////////// - -$THEME->layouts = array( - 'base' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post' - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'embedded' => array( - 'theme' => 'canvas', - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'report' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), -); - -/////////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. -/////////////////////////////////////////////////////////////// - -$THEME->csspostprocess = 'overlay_process_css'; - -//////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -//////////////////////////////////////////////////// - -// $THEME->javascripts - -//////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -//////////////////////////////////////////////////// - -// $THEME->javascripts_footer - -//////////////////////////////////////////////////// -// As above but will be included in the page footer. -//////////////////////////////////////////////////// - -// $THEME->larrow - -//////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -//////////////////////////////////////////////////// - -// $THEME->rarrow - -//////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// - -// $THEME->layouts - -//////////////////////////////////////////////////// -// An array setting the layouts for the theme -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_javascripts - -//////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -//////////////////////////////////////////////////// - -// $THEME->plugins_exclude_sheets - -//////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -//////////////////////////////////////////////////// - -// $THEME->rendererfactory - -//////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -//////////////////////////////////////////////////// - diff --git a/theme/overlay/lang/en/theme_overlay.php b/theme/overlay/lang/en/theme_overlay.php deleted file mode 100644 index 32bc1259bdad8..0000000000000 --- a/theme/overlay/lang/en/theme_overlay.php +++ /dev/null @@ -1,40 +0,0 @@ -. - -/** - * Strings for component 'theme_overlay', language 'en'. - * - * @package theme_overlay - * @copyright 2010 John Stabinger - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Overlay'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = '

About

overlay is a nontraditional, three-column, fluid-width theme for Moodle. It\'s nontraditional in the sense that it uses a fresh three-column layout that displays the content to the left of both block columns.

Tweaks

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it, then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

Credits

This theme was coded and is maintained by John Stabinger of NewSchool Learning. He can be contacted by email at contact@newschoollearning.com.

License

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.

'; - -// Config - -$string['linkcolor'] = 'Link colour'; -$string['linkcolordesc'] = 'This sets the link colour for the theme.'; -$string['configtitle'] = 'Overlay settings'; -$string['customcss'] = 'Custom CSS'; -$string['customcssdesc'] = 'Any CSS you enter here will be added to every page allowing your to easily customise this theme.'; -$string['headercolor'] = 'Header colour'; -$string['headercolordesc'] = 'Header background colour.'; -$string['footertext'] = 'Footertext'; -$string['footertextdesc'] = 'Set a footnote or footer text.'; diff --git a/theme/overlay/layout/frontpage.php b/theme/overlay/layout/frontpage.php deleted file mode 100644 index 6a796eaf1c7ee..0000000000000 --- a/theme/overlay/layout/frontpage.php +++ /dev/null @@ -1,156 +0,0 @@ -. - -/** - * The frontpage layout. - * - * @package theme_overlay - * @copyright 2008 NodeThirtyThree (http://nodethirtythree.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); - -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} - -if (!empty($PAGE->theme->settings->footertext)) { - $footnote = $PAGE->theme->settings->footertext; -} else { - $footnote = ''; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- - - - - - - -
- -
-
-
-
- -
- -
-
-
-

heading ?>

- -
-
- - - - main_content() ?> -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- -
- - - -
- - - - - - -standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/overlay/layout/general.php b/theme/overlay/layout/general.php deleted file mode 100644 index 773c07f36c94b..0000000000000 --- a/theme/overlay/layout/general.php +++ /dev/null @@ -1,187 +0,0 @@ -. - -/** - * The default layout. - * - * @package theme_overlay - * @copyright 2008 NodeThirtyThree (http://nodethirtythree.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); - -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} - -if (!empty($PAGE->theme->settings->footertext)) { - $footnote = $PAGE->theme->settings->footertext; -} else { - $footnote = ''; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - - -standard_top_of_body_html() ?> - -
- - - - - - - -
- -
-
-
-
- -
- -
-
-
-

heading ?>

- - - - -
- - -
- - - - - - -
- - - - main_content() ?> - -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- -
- - - - - - -
- - - - - - -standard_end_of_body_html() ?> - - diff --git a/theme/overlay/lib.php b/theme/overlay/lib.php deleted file mode 100644 index a77d8123af6ed..0000000000000 --- a/theme/overlay/lib.php +++ /dev/null @@ -1,104 +0,0 @@ -. - -/** - * This file contains functions specific to the needs of the Overlay theme. - * - * @package theme_overlay - * @copyright 2008 NodeThirtyThree (http://nodethirtythree.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * Sets the link colour in CSS. - * @param string $css - * @param string $linkcolor - * @return string - */ -function overlay_set_linkcolor($css, $linkcolor) { - $tag = '[[setting:linkcolor]]'; - $replacement = $linkcolor; - if (is_null($replacement)) { - $replacement = '#428ab5'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Sets the header colour in CSS. - * @param string $css - * @param string $headercolor - * @return string - */ -function overlay_set_headercolor($css, $headercolor) { - $tag = '[[setting:headercolor]]'; - $replacement = $headercolor; - if (is_null($replacement)) { - $replacement = '#2a4c7b'; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Adds custom CSS to the theme CSS before it is cached and delivered. - * @param string $css - * @param string $customcss - * @return string - */ -function overlay_set_customcss($css, $customcss) { - $tag = '[[setting:customcss]]'; - $replacement = $customcss; - if (is_null($replacement)) { - $replacement = ''; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Processes CSS before it is cached and delivered, applying theme customisations. - * @param string $css - * @param theme_config $theme - * @return string - */ -function overlay_process_css($css, $theme) { - - if (!empty($theme->settings->linkcolor)) { - $linkcolor = $theme->settings->linkcolor; - } else { - $linkcolor = null; - } - $css = overlay_set_linkcolor($css, $linkcolor); - - if (!empty($theme->settings->headercolor)) { - $headercolor = $theme->settings->headercolor; - } else { - $headercolor = null; - } - $css = overlay_set_headercolor($css, $headercolor); - - if (!empty($theme->settings->customcss)) { - $customcss = $theme->settings->customcss; - } else { - $customcss = null; - } - $css = overlay_set_customcss($css, $customcss); - - return $css; -} - diff --git a/theme/overlay/pix/favicon.ico b/theme/overlay/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/overlay/pix/favicon.ico and /dev/null differ diff --git a/theme/overlay/pix/header.png b/theme/overlay/pix/header.png deleted file mode 100644 index 059647257f1aa..0000000000000 Binary files a/theme/overlay/pix/header.png and /dev/null differ diff --git a/theme/overlay/pix/horizontal-menu-submenu-indicator.png b/theme/overlay/pix/horizontal-menu-submenu-indicator.png deleted file mode 100644 index 62a2772da3825..0000000000000 Binary files a/theme/overlay/pix/horizontal-menu-submenu-indicator.png and /dev/null differ diff --git a/theme/overlay/pix/screenshot.png b/theme/overlay/pix/screenshot.png deleted file mode 100644 index 97cdb7342f012..0000000000000 Binary files a/theme/overlay/pix/screenshot.png and /dev/null differ diff --git a/theme/overlay/pix/vertical-menu-submenu-indicator.png b/theme/overlay/pix/vertical-menu-submenu-indicator.png deleted file mode 100644 index 2081588c28150..0000000000000 Binary files a/theme/overlay/pix/vertical-menu-submenu-indicator.png and /dev/null differ diff --git a/theme/overlay/settings.php b/theme/overlay/settings.php deleted file mode 100644 index 8400f0167f03a..0000000000000 --- a/theme/overlay/settings.php +++ /dev/null @@ -1,64 +0,0 @@ -. - -/** - * Settings for the overlay theme. - * - * @package theme_overlay - * @copyright 2008 NodeThirtyThree (http://nodethirtythree.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -if ($ADMIN->fulltree) { - - // link color setting. - $name = 'theme_overlay/linkcolor'; - $title = get_string('linkcolor','theme_overlay'); - $description = get_string('linkcolordesc', 'theme_overlay'); - $default = '#428ab5'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Tag line setting. - $name = 'theme_overlay/headercolor'; - $title = get_string('headercolor','theme_overlay'); - $description = get_string('headercolordesc', 'theme_overlay'); - $default = '#2a4c7b'; - $previewconfig = NULL; - $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Foot note setting. - $name = 'theme_overlay/footertext'; - $title = get_string('footertext','theme_overlay'); - $description = get_string('footertextdesc', 'theme_overlay'); - $setting = new admin_setting_confightmleditor($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Custom CSS file. - $name = 'theme_overlay/customcss'; - $title = get_string('customcss','theme_overlay'); - $description = get_string('customcssdesc', 'theme_overlay'); - $setting = new admin_setting_configtextarea($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); -} \ No newline at end of file diff --git a/theme/overlay/style/core.css b/theme/overlay/style/core.css deleted file mode 100644 index c8b20b67f8087..0000000000000 --- a/theme/overlay/style/core.css +++ /dev/null @@ -1,301 +0,0 @@ -/* Global ---------------------------*/ -body { - background: #fff; - margin: 0; - padding: 0; - color: #281f18; -} - -html { - height: 100%; -} -body { - margin: 0; - padding: 0; - height: 100%; -} - -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: 'Myriad Pro', 'Myriad', helvetica, arial, sans-serif; -} - -.wrapper { - margin: 0 35px; - min-width: 910px; -} - -a:hover,a:active { - color: #000; -} - -a img { - border: none; -} - -a:active { - outline: none; -} - -/* Header ----------------------------*/ -#page-header { - background: #333; - color: #fff; - height: 30px; - z-index: 99999; - position: relative; -} - -#page-header div.headermenu { - height: 30px; - padding-bottom: 0px; - margin-bottom: 0px; - padding-top: 0px; - margin-top: 0px; - line-height: 30px; -} - -#page-header a:link, -#page-header a:visited { - color: #fff; - text-decoration: underline; -} - -#newheader { - height: 100px; - position: relative; -} - -#newheaderleft { - height: 100px; - width: 50px; - position: absolute; - left: -50px; -} - -h1.headermain { - margin-left: 0px; - padding-left: 0px; - color: #fff; - margin-top: 35px; - font-family: 'Myriad Pro', 'Myriad', helvetica, arial, sans-serif; - text-shadow: 2px 3px 3px #292929; - letter-spacing: -1px; - -webkit-text-stroke: 1px white; -} - -.headermenu .logininfo, -.headermenu .langmenu, -.headermenu .langmenu div, -.headermenu .langmenu form, -.headermenu .langmenu select, -.headermenu .langmenu label { - display: inline !important; -} - -.headermenu .logininfo { - padding-right: 5px; -} - -#region-main-box { - background: #eee; -} - -#region-post-box { - background: #fff; -} - -#page-footer { - background: #333; - color: #fff; -} - -#page-content, #region-main-box, #region-main-wrap, #page-content-wrapper, #top, div.region-content { - min-height: 100%; - position: relative; -} - -#region-main-box { - -webkit-box-shadow: 6px 0px 8px #ccc; - -moz-box-shadow: 6px 0px 8px #ccc; - box-shadow: 6px 0px 8px #ccc; - } - - #region-main { - -webkit-box-shadow: 6px 0px 8px #ccc; - -moz-box-shadow: 6px 0px 8px #ccc; - box-shadow: 6px 0px 8px #ccc; - } - -.side-pre-only #region-main, .content-only #region-main, .content-only #region-main-box { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - } - -/* Navbar ---------------------------*/ -.navbar { - margin-top: 10px; -} - -.navbar .wrapper { - margin-left: 0px !important; - padding-left: 0px !important; -} - -.breadcrumb .sep { - color: #777; - font-size: 0.8em; -} - -.navbutton { - margin-top: 40px; - margin-right: 10px; - font-size: 12px; -} - -/* Blocks ----------------------------*/ -.block { - border: none; - margin-bottom: 25px; -} - -.block .header { - border-bottom:none; - text-transform: uppercase; -} - -.block.hidden .header { - border-top: 1px solid #dadada; - border-bottom: 1px solid #dadada; -} -.block .title h2 { - font-weight: normal; - font-size: 1.1em; - margin: 0; -} - -.block .content { - font-size: 0.95em; -} - -. -/* Forums ----------------------------*/ -.forumpost .subject { - font-size: 1.2em; -} - -.forumpost .author { - font-size: 0.9em; -} - -.forumpost .content { - border-bottom:5px solid #aaa; - padding:5px 7px 10px 7px; -} - -.forumpost .topic { - background: #eee; - border-bottom: 1px solid #aaa; -} - -/* Course --------------------------------*/ -.course-content .main { - border: 1px solid #eee; - background: #eee; -} - -.course-content .current { - background: #1f5480; -} - -.course-content .current .left { - background: #1f5480; - color: #fff; -} - -.course-content .main .content { - background: #fff; -} - -/* YUI Menu - custom menu --------------------------------*/ -#custommenu { - width: 60%; - float: left; -} - -#custommenu .yui3-menu-label-active, -#custommenu .yui3-menu-label-menuvisible, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label-active, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label-menuvisible, -#custommenu .yui3-menuitem-active .yui3-menuitem-content, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content, -#custommenu .yui3-menu-horizontal.javascript-disabled li a:hover { - background-color:#666; -} - -#custommenu .yui3-menu-content, -#custommenu .yui3-menu .yui3-menu .yui3-menu-content { - background-image:none; - background-color:#333; - border-width:0; - padding:0; -} - -#custommenu .yui3-menuitem-active .yui3-menuitem-content { - background-image: none; -} - -#custommenu .yui3-menu-label, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label { - background-image:url([[pix:theme|vertical-menu-submenu-indicator]]); - background-position:right center; - background-repeat:no-repeat; -} - -#custommenu .yui3-menu-label.yui3-menu-label-menuvisible, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label.yui3-menu-label-menuvisible { - background-image:url([[pix:theme|horizontal-menu-submenu-indicator]]); -} - -#custommenu .yui3-menu-horizontal .yui3-menu-label, -#custommenu .yui3-menu-horizontal .yui3-menuitem-content { - border-width:0; - text-transform: uppercase; - text-decoration:none; - font-size:1em; - font-weight: 200; - line-height:30px; - cursor: pointer; - padding:0 20px; -} - -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content .ul { - border-width:0; -} - -#custommenu .yui3-menu-horizontal.javascript-disabled li a { - padding: 0 20px; - display: block; -} - -/** Dock **/ -#dock .firstdockitem {margin-top: 30px;} - -/* Moodle forms -----------------*/ -.mform .btn-cancel { - color: #428AB5; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #428AB5; - text-decoration: none; -} \ No newline at end of file diff --git a/theme/overlay/style/editor.css b/theme/overlay/style/editor.css deleted file mode 100644 index 80d7d22a04bb2..0000000000000 --- a/theme/overlay/style/editor.css +++ /dev/null @@ -1,4 +0,0 @@ -body {color: #281f18;} -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: 'Myriad Pro', 'Myriad', helvetica, arial, sans-serif; -} \ No newline at end of file diff --git a/theme/overlay/style/pagelayout.css b/theme/overlay/style/pagelayout.css deleted file mode 100644 index 85934c388985e..0000000000000 --- a/theme/overlay/style/pagelayout.css +++ /dev/null @@ -1,171 +0,0 @@ -/** Path: theme pagelayout **/ -body {margin:auto 0px; - width:auto; - height: 100% -} -#page { - width:100%; - min-height: 100%; -} -#page-content { - clear: both; - position: relative; - width: 100%; - min-height: 100%; -} -#page-content #region-main-box { - float: left; - margin-left: -200px; - position: relative; - width: 200%; - right: 100%; - min-height: 100%; -} -#page-content #region-post-box { - float: left; - margin-left: -200px; - width: 100%; - min-height: 100%; -} -#page-content #region-main-wrap { - float: left; - width: 50%; - min-height: 100%; -} -#page-content #region-main { - position: relative; - margin-left: 400px; - left: 100%; - min-height: 100%; -} -#page-content #region-pre { - float: right; - position: relative; - width: 200px; - left: 200px; -} -#page-content #region-post { - float: right; - position: relative; - left: 600px; - width: 200px; -} -#page-content #region-main .region-content { - padding: 20px 20px 20px 0; - min-height: 100%; -} -#page-content #course-header { - padding-right: 20px; -} -.pagelayout-report #page-content #region-main .region-content { - overflow: auto; - padding-bottom: 0; - margin-bottom: 20px; -} -#page-content #region-pre .region-content, -#page-content #region-post .region-content { - padding: 20px 10px; - min-height: 100%; -} -#page-footer { - clear: both; - float: left; - width: 100%; -} - -/** Only side pre **/ - -.side-pre-only #page-content #region-main-box { - margin-left: 0; -} -.side-pre-only #page-content #region-main-box #region-post-box { - margin-left: -200px; -} -.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 200px; -} -.side-pre-only #page-content #region-main-box #region-post-box #region-pre { - left: 200px; - width: 200px; -} -.side-pre-only #page-content #region-main-box #region-post-box #region-post { - width: 0; -} - -/** Only side post **/ - -.side-post-only #page-content #region-main-box { - margin-left: 0; -} -.side-post-only #page-content #region-main-box #region-post-box { - margin-left: -200px; -} -.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 200px; -} -.side-post-only #page-content #region-main-box #region-post-box #region-pre { - left: 0; - width: 0; -} -.side-post-only #page-content #region-main-box #region-post-box #region-post { - left: 200px; - width: 200px; -} -.blocks-moving.side-post-only #page-content #region-main-box { - float: left; - margin-left: -200px; - position: relative; - width: 200%; - right: 100%;min-height: 100%; -} -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box { - float: left; - margin-left: -200px; - width: 100%;min-height: 100%; -} -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap { - float: left; - width: 50%; - min-height: 100%; -} -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { - position: relative; - margin-left: 400px; - left: 100%; - min-height: 100%; -} -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box #region-pre { - float: right; - position: relative; - width: 200px; - left: 200px; - min-height: 100%; -} -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box #region-post { - float: right; - position: relative; - left: 600px; - width: 200px; - min-height: 100%; -} -.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 200px; -} - -/** No blocks whatsoever **/ - -.content-only #page-content #region-main-box { - margin-left: 0; -} -.content-only #page-content #region-main-box #region-post-box { - margin-left: 0; -} -.content-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 0; -} -.content-only #page-content #region-main-box #region-post-box #region-pre { - width: 0; -} -.content-only #page-content #region-main-box #region-post-box #region-post { - width: 0; -} \ No newline at end of file diff --git a/theme/overlay/style/settings.css b/theme/overlay/style/settings.css deleted file mode 100644 index 83a2e9daf8413..0000000000000 --- a/theme/overlay/style/settings.css +++ /dev/null @@ -1,10 +0,0 @@ -#newheaderleft, #newheader { - background: [[setting:headercolor]] url([[pix:theme|header]]) repeat-x 0 100%; -} - -a:link,a:visited { - color: [[setting:linkcolor]]; -} - -/** Custom CSS **/ -[[setting:customcss]] \ No newline at end of file diff --git a/theme/overlay/version.php b/theme/overlay/version.php deleted file mode 100644 index 8c224ad939e4c..0000000000000 --- a/theme/overlay/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_overlay - * @copyright 2008 NodeThirtyThree (http://nodethirtythree.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX). -$plugin->requires = 2013110500; // Requires this Moodle version. -$plugin->component = 'theme_overlay'; // Full name of the plugin (used for diagnostics). -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/serenity/config.php b/theme/serenity/config.php deleted file mode 100644 index 60d23488819ae..0000000000000 --- a/theme/serenity/config.php +++ /dev/null @@ -1,136 +0,0 @@ -. - -/** - * Serenity theme configuration. - * - * @package theme_serenity - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'serenity'; - -//////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -//////////////////////////////////////////////////// - - -$THEME->parents = array('canvas','base'); - -///////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -//////////////////////////////////////////////////// - - -$THEME->sheets = array('core'); - -//////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -//////////////////////////////////////////////////// - - -$THEME->enable_dock = true; - -//////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -//////////////////////////////////////////////////// - - -$THEME->editor_sheets = array('editor'); - -//////////////////////////////////////////////////// -// An array of stylesheets to include within the -// body of the editor. -//////////////////////////////////////////////////// - -// $THEME->csspostprocess - -//////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -//////////////////////////////////////////////////// - -// $THEME->javascripts - -//////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -//////////////////////////////////////////////////// - -// $THEME->javascripts_footer - -//////////////////////////////////////////////////// -// As above but will be included in the page footer. -//////////////////////////////////////////////////// - -// $THEME->larrow - -//////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -//////////////////////////////////////////////////// - -// $THEME->rarrow - -//////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// - -// $THEME->layouts - -//////////////////////////////////////////////////// -// An array setting the layouts for the theme -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_javascripts - -//////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_sheets - -//////////////////////////////////////////////////// -// An array of stylesheets not to inherit from the -// themes parents -//////////////////////////////////////////////////// - -// $THEME->plugins_exclude_sheets - -//////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -//////////////////////////////////////////////////// - -// $THEME->rendererfactory - -//////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -//////////////////////////////////////////////////// - diff --git a/theme/serenity/lang/en/theme_serenity.php b/theme/serenity/lang/en/theme_serenity.php deleted file mode 100644 index fd918b2a2d931..0000000000000 --- a/theme/serenity/lang/en/theme_serenity.php +++ /dev/null @@ -1,28 +0,0 @@ -. - -/** - * Strings for component 'theme_standard', language 'en', branch 'MOODLE_20_STABLE' - * - * @package theme_serenity - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Serenity'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = '

About

Serenity is a fluid-width, three-column theme for Moodle 2.0.

Tweaks

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

Credits

This theme was coded and is maintained by Patrick Malley of NewSchool Learning. He can be contacted by email at contact@newschoollearning.com.

License

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.

'; \ No newline at end of file diff --git a/theme/serenity/pix/body.png b/theme/serenity/pix/body.png deleted file mode 100644 index b9b4399e6ba1a..0000000000000 Binary files a/theme/serenity/pix/body.png and /dev/null differ diff --git a/theme/serenity/pix/breadcrumb.png b/theme/serenity/pix/breadcrumb.png deleted file mode 100644 index faff6a6b982e8..0000000000000 Binary files a/theme/serenity/pix/breadcrumb.png and /dev/null differ diff --git a/theme/serenity/pix/favicon.ico b/theme/serenity/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/serenity/pix/favicon.ico and /dev/null differ diff --git a/theme/serenity/pix/header_grass.jpg b/theme/serenity/pix/header_grass.jpg deleted file mode 100644 index 5c9f99f9912af..0000000000000 Binary files a/theme/serenity/pix/header_grass.jpg and /dev/null differ diff --git a/theme/serenity/pix/headingblock.jpg b/theme/serenity/pix/headingblock.jpg deleted file mode 100644 index 89338033c03d9..0000000000000 Binary files a/theme/serenity/pix/headingblock.jpg and /dev/null differ diff --git a/theme/serenity/pix/screenshot.png b/theme/serenity/pix/screenshot.png deleted file mode 100644 index 2c1f71d9ac4ab..0000000000000 Binary files a/theme/serenity/pix/screenshot.png and /dev/null differ diff --git a/theme/serenity/pix_core/t/block_to_dock.png b/theme/serenity/pix_core/t/block_to_dock.png deleted file mode 100644 index 8f1bd4d60b60f..0000000000000 Binary files a/theme/serenity/pix_core/t/block_to_dock.png and /dev/null differ diff --git a/theme/serenity/pix_core/t/dock_to_block.png b/theme/serenity/pix_core/t/dock_to_block.png deleted file mode 100644 index c85afa595ace1..0000000000000 Binary files a/theme/serenity/pix_core/t/dock_to_block.png and /dev/null differ diff --git a/theme/serenity/pix_core/t/dockclose.png b/theme/serenity/pix_core/t/dockclose.png deleted file mode 100644 index 5f282a0212d2f..0000000000000 Binary files a/theme/serenity/pix_core/t/dockclose.png and /dev/null differ diff --git a/theme/serenity/pix_core/t/switch_minus.png b/theme/serenity/pix_core/t/switch_minus.png deleted file mode 100644 index 5c9ced92efaa8..0000000000000 Binary files a/theme/serenity/pix_core/t/switch_minus.png and /dev/null differ diff --git a/theme/serenity/pix_core/t/switch_plus.png b/theme/serenity/pix_core/t/switch_plus.png deleted file mode 100644 index a69c0e42d3021..0000000000000 Binary files a/theme/serenity/pix_core/t/switch_plus.png and /dev/null differ diff --git a/theme/serenity/style/core.css b/theme/serenity/style/core.css deleted file mode 100644 index 72f7366967aaa..0000000000000 --- a/theme/serenity/style/core.css +++ /dev/null @@ -1,331 +0,0 @@ -.pagelayout-frontpage, -.pagelayout-incourse, -.pagelayout-general, -.pagelayout-course, -.pagelayout-coursecategory, -.pagelayout-admin, -.pagelayout-mydashboard, -.pagelayout-mypublic, -.pagelayout-login, -.pagelayout-report { - background: url([[pix:theme|body]]); - border-top:1px solid #c1bc9d; -} - -html { - background: none; -} - -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: Georgia, "Times New Roman", Times, serif; - color: #2a2513; -} - -#wrapper { - background: #fff; - margin: 2% 5%; - padding: 5px; - border: 1px solid #c1bc9d; -} - -a { - color: #336699; -} - -a:hover { - text-decoration: underline; -} - -.pagelayout-frontpage #page-content #region-main-box #region-post-box { - padding-top: 0; -} - -/* Header -------------------------*/ - -#page-header { - background: #ddd6cc url([[pix:theme|header_grass]]) repeat-x 0 100%; - margin-bottom: 5px; -} - -.has_custom_menu #page-header { - margin-bottom: 0px; -} - -.headermain { - font-weight: normal; - margin: 1em 0.5em 0.75em; -} - -#page-content { - float: none; -} - -/* Footer --------------------------*/ -#page-footer { - float:none; -} - -/* Navbar --------------------------*/ - -.navbar { - background: #aeb9c6 url([[pix:theme|breadcrumb]]) repeat-x 0 100%; - padding: 5px; -} -.navbar a.dimmed_text { - color:#f2f2f2; -} -/* Blocks --------------------------*/ - -.block { - border-color: #eee; -} - -.block .header { - background: #9eb1bf; - padding-left: 5px; -} - -.block .title { - background: #867f6a; - padding-left: 5px; -} - -.block .title h2 { - background: #6e6855; - margin: 0; - padding: 5px; - font-size: 1em; - color: #fff; -} - -.block_action { - padding: 5px 0 0; -} - -.block .content { - background: #d8d2c6; - border: 1px solid #867f6a; -} - -.block .minicalendar td, -.block .minicalendar th { - border-color: #d8d2c6; -} - -/* Course -----------------------------*/ -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2, -.course-content .single-section .section-navigation.navigationtitle { - background: url([[pix:theme|headingblock]]) repeat-x 0 0; - color: #fff; - font-weight: normal; - border: none; - padding: 2px 5px; -} -.course-content .single-section .navigationtitle h3 { - color: #FFF; -} - -.course-content .main { - border: 1px solid #eee; - background: #eee; -} - -.course-content .current { - background: #9ca7b4; -} - -.course-content .current .left { - color: #fff; -} - -.course-content .main .content { - background: #fff; -} - -/* Forums ------------------------------*/ - -.forumpost .topic { - background: #cad5e1; - border-width: 1px; - border-color: #eee #eee #aaa; - border-style: solid; -} - -.forumpost .topic div, -.forumpost .content div { - margin:4px; -} - - -.forumpost .starter .subject { - font-weight: bold; -} - -.forumpost .content { - border-color: #eee; - border-width: 0 1px 1px; - border-style: solid; - background: #f6f6f6; -} - -/* Dock ------------------------------*/ - -body.has_dock { - margin: 0; -} - -#dock { - left: 5%; - margin-left: -29px; - border-width: 0; - background-color: transparent; -} - -#dock .controls { - bottom: auto; - background-color: #DDD6CC; -} - -#dock .dockeditem_container { - position: relative; -} - -#dock .dockeditem.firstdockitem { - margin-top: 50px; -} - -#dock .dockeditem { - background-color: #fff; - padding: 2px; - padding-right: 0px; -} - -#dock .dockedtitle { - border-width: 0; -} - -#dock .dockedtitle h2 { - margin: 0; - padding: 10px 3px; -} - -#dock .dockedtitle.activeitem { - background-color: #817b65; - width: 35px; -} - -#dockeditempanel { - background-color: #817b65; - margin-left: 5px; -} - -#dockeditempanel .dockeditempanel_content { - background-color: #eee9e0; - margin: 0 3px; - position: relative; - top: -3px; - min-height: 100px; - border-color: #6f6856; -} - -#dockeditempanel .dockeditempanel_hd { - background-image: url([[pix:theme|headingblock]]); - border-width: 0; -} - -#dockeditempanel .dockeditempanel_hd h2 { - font-size: 1em; - color: #fff; -} - -/*cutom menu */ -/*YUI Reset */ -#custommenu .yui3-menu-horizontal .yui3-menu-content, -#custommenu .yui3-menu-horizontal .yui3-menu-label, -#custommenu .yui3-menu-horizontal .yui3-menu-label-active, -#custommenu .yui3-menu-horizontal .yui3-menuitem-active .yui3-menuitem-content, -#custommenu .yui3-menu-horizontal .yui3-menu-label-menuvisible { - background-position: -10000px -10000px; -} -#custommenu .yui3-menu-label, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label, -#custommenu .yui3-menubuttonnav .yui3-menu-label em { - background-position: right center; -} -#custommenu .yui3-splitbuttonnav .yui3-menu-label .yui3-menu-toggle { - background-position: 3px center; -} -#custommenu .yui3-splitbuttonnav .yui3-menu-label-menuvisible .yui3-menu-toggle { - background-position: 0% 50%; -} -#custommenu { - clear: both; - background-image: url([[pix:theme|headingblock]]); - margin-bottom: 5px; -} -#custommenu .yui3-menu-label, -#custommenu .yui3-menuitem-content { - color: #fff; - font-weight: 800; - line-height: 30px; -} -#custommenu .custom_menu_submenu .yui3-menu-label, -#custommenu .custom_menu_submenu .yui3-menuitem-content { - color: #333; - text-shadow: none; - line-height: 25px; -} -#custommenu .yui3-menu-label.yui3-menu-label-active, -#custommenu .yui3-menu-label.yui3-menu-label-menuvisible, -#custommenu .yui3-menuitem-active .yui3-menuitem-content { - color: #000; - background-color: #d8d2c6; -} -#custommenu .yui3-menu-content, -#custommenu .yui3-menu-content, -#custommenu .yui3-menu .yui3-menu .yui3-menu-content, -#custommenu .yui3-menu-horizontal .yui3-menu-label, -#custommenu .yui3-menu-horizontal .yui3-menuitem-content { - border: 0 none; -} -#custommenu .yui3-menu-horizontal .yui3-menu-label, -#custommenu .yui3-menu-horizontal .yui3-menuitem-content { - border: 0 none; -} -#custommenu .custom_menu_submenu { - border: 2px solid #d8d2c6; - background: #fff; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; - -webkit-box-shadow: 0px 1px 3px #ccc; - -moz-box-shadow: 0px 1px 3px #ccc; - box-shadow: 0px 1px 3px #ccc; -} -/* Question Bank Window --------------------------*/ -#page-mod-quiz-edit .questionbankwindow.block div.header { - background-color: #9EB1BF; - padding-top: 0; -} - -/* Moodle forms -----------------*/ -.mform .btn-cancel { - color: #336688; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #336688; - text-decoration: underline; -} diff --git a/theme/serenity/style/editor.css b/theme/serenity/style/editor.css deleted file mode 100644 index 141af3005692a..0000000000000 --- a/theme/serenity/style/editor.css +++ /dev/null @@ -1,4 +0,0 @@ -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: Georgia, "Times New Roman", Times, serif; - color: #2a2513; -} \ No newline at end of file diff --git a/theme/serenity/version.php b/theme/serenity/version.php deleted file mode 100644 index 0b0b17879a2ca..0000000000000 --- a/theme/serenity/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_serenity - * @copyright 2010 Patrick Malley (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_serenity'; // Full name of the plugin (used for diagnostics) -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/sky_high/config.php b/theme/sky_high/config.php deleted file mode 100644 index e4549c3502c06..0000000000000 --- a/theme/sky_high/config.php +++ /dev/null @@ -1,247 +0,0 @@ -. - -/** - * DO NOT MODIFY THIS THEME! - * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_sky_high - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'sky_high'; - -//////////////////////////////////////////////////// -// Name of the theme. Most likely the name of -// the directory in which this file resides. -//////////////////////////////////////////////////// - - -$THEME->parents = array( - 'canvas', - 'base', -); - -///////////////////////////////////////////////////// -// Which existing theme(s) in the /theme/ directory -// do you want this theme to extend. A theme can -// extend any number of themes. Rather than -// creating an entirely new theme and copying all -// of the CSS, you can simply create a new theme, -// extend the theme you like and just add the -// changes you want to your theme. -//////////////////////////////////////////////////// - - -$THEME->sheets = array( - 'pagelayout', - 'core', - 'menu', - 'report', - 'admin', - 'settings' -); - -//////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in -// this theme's /styles/ directory. -//////////////////////////////////////////////////// - -$THEME->parents_exclude_sheets = array( - 'base'=>array( - 'pagelayout', - ), - 'canvas'=>array( - 'pagelayout', - ), -); - - -$THEME->enable_dock = true; - -//////////////////////////////////////////////////// -// Do you want to use the new navigation dock? -//////////////////////////////////////////////////// - - -$THEME->editor_sheets = array('editor'); - -//////////////////////////////////////////////////// -// An array of stylesheets to include within the -// body of the editor. -//////////////////////////////////////////////////// - -$THEME->layouts = array( - 'base' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post' - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'admin' => array( - 'file' => 'report.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-post', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - 'embedded' => array( - 'theme' => 'canvas', - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - // The pagelayout used when a redirection is occuring. - 'redirect' => array( - 'theme' => 'canvas', - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - 'report' => array( - 'file' => 'report.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ) -); - -/////////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. The -// simplest way to do this is to keep the theme and file -// variables the same for every layout. Including them -// all in this way allows some flexibility down the road -// if you want to add a different layout template to a -// specific page. -/////////////////////////////////////////////////////////////// - -$THEME->csspostprocess = 'sky_high_process_css'; - -//////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being -// delivered. -//////////////////////////////////////////////////// - -// $THEME->javascripts - -//////////////////////////////////////////////////// -// An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. -// (gets included in the head) -//////////////////////////////////////////////////// - -// $THEME->javascripts_footer - -//////////////////////////////////////////////////// -// As above but will be included in the page footer. -//////////////////////////////////////////////////// - -// $THEME->larrow - -//////////////////////////////////////////////////// -// Overrides the left arrow image used throughout -// Moodle -//////////////////////////////////////////////////// - -// $THEME->rarrow - -//////////////////////////////////////////////////// -// Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// - -// $THEME->parents_exclude_javascripts - -//////////////////////////////////////////////////// -// An array of JavaScript files NOT to inherit from -// the themes parents -//////////////////////////////////////////////////// - -// $THEME->plugins_exclude_sheets - -//////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not -// include. -//////////////////////////////////////////////////// - -// $THEME->rendererfactory - -//////////////////////////////////////////////////// -// Sets a custom render factory to use with the -// theme, used when working with custom renderers. -//////////////////////////////////////////////////// diff --git a/theme/sky_high/lang/en/theme_sky_high.php b/theme/sky_high/lang/en/theme_sky_high.php deleted file mode 100644 index f100398bc72bb..0000000000000 --- a/theme/sky_high/lang/en/theme_sky_high.php +++ /dev/null @@ -1,39 +0,0 @@ -. - -/** - * Strings for component 'theme_sky_high', language 'en'. - * - * @package theme_sky_high - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Sky High'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = '

About

Sky High is a fluid-width, three-column (blog style) theme for Moodle 2.0.

Tweaks

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

Credits

This theme was designed by Julian Ridden (julian@moodle.com.au). It was coded and is maintained by John Stabinger of NewSchool Learning (contact@newschoollearning.com).

License

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.

'; -$string['configtitle'] = 'Sky High settings'; -$string['customcss'] = 'Custom CSS'; -$string['customcssdesc'] = 'Any CSS you enter here will be added to every page allowing your to easily customise this theme.'; -$string['footnote'] = 'Footnote'; -$string['footnotedesc'] = 'The content from this textarea will be displayed in the footer of every page.'; -$string['tagline'] = 'Tagline'; -$string['taglinedesc'] = 'The content from this textarea will be displayed under the Site name on the Homepage'; -$string['logo'] = 'Logo'; -$string['logodesc'] = 'Enter the URL to an image to use as the logo for this site. Should be http://www.yoursite.com/path/to/logo.png. The logo should be 50px high.'; -$string['regionwidth'] = 'Column width'; -$string['regionwidthdesc'] = 'This sets the width of the two block regions that form the left and right columns.'; diff --git a/theme/sky_high/layout/frontpage.php b/theme/sky_high/layout/frontpage.php deleted file mode 100644 index 87edb13f6b563..0000000000000 --- a/theme/sky_high/layout/frontpage.php +++ /dev/null @@ -1,167 +0,0 @@ -. - -/** - * The frontpage layout. - * - * @package theme_sky_high - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepre = $hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT); -$showsidepost = $hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} -if (!empty($PAGE->theme->settings->logo)) { - $logourl = $PAGE->theme->settings->logo; -} else { - $logourl = NULL; -} -if (!empty($PAGE->theme->settings->footnote)) { - $footnote = $PAGE->theme->settings->footnote; -} else { - $footnote = ''; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
-
- - - - - - - - - -
- - -
-
-
-
- -
-
-
- main_content() ?> -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- - - -
- - - - - - - - - -
- - -standard_end_of_body_html() ?> - - diff --git a/theme/sky_high/layout/general.php b/theme/sky_high/layout/general.php deleted file mode 100644 index dd6f53538e285..0000000000000 --- a/theme/sky_high/layout/general.php +++ /dev/null @@ -1,202 +0,0 @@ -. - -/** - * The default layout. - * - * @package theme_sky_high - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT)); -$hassidepost = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-post', $OUTPUT)); -$haslogininfo = (empty($PAGE->layout_options['nologininfo'])); - -$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} -if ($hassidepre || $hassidepost) { - $bodyclasses[] = 'background'; -} -if (!empty($PAGE->theme->settings->logo)) { - $logourl = $PAGE->theme->settings->logo; -} else { - $logourl = NULL; -} -if (!empty($PAGE->theme->settings->footnote)) { - $footnote = $PAGE->theme->settings->footnote; -} else { - $footnote = ''; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
-
- - - - - - - - - -
- - -
- - - -
-
-
-
- -
-
-
- - main_content() ?> - -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- - -
-
-
-
- - - - - - -
- - - - - - - - - - -
- - -standard_end_of_body_html() ?> - - diff --git a/theme/sky_high/layout/report.php b/theme/sky_high/layout/report.php deleted file mode 100644 index 10117912e5640..0000000000000 --- a/theme/sky_high/layout/report.php +++ /dev/null @@ -1,181 +0,0 @@ -. - -/** - * The report layout. - * - * @package theme_sky_high - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT)); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if ($showsidepre) { - $bodyclasses[] = 'side-pre-only'; -} else { - $bodyclasses[] = 'content-only'; -} - -if (!empty($PAGE->theme->settings->logo)) { - $logourl = $PAGE->theme->settings->logo; -} else { - $logourl = NULL; -} - -if (!empty($PAGE->theme->settings->footnote)) { - $footnote = $PAGE->theme->settings->footnote; -} else { - $footnote = ''; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
-
- - - - - - - - - -
- - -
- - - -
-
-
-
- -
-
- - main_content() ?> - -
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - -
-
-
-
- - - - - - -
- - - - - - - - - - -
- - -standard_end_of_body_html() ?> - - diff --git a/theme/sky_high/lib.php b/theme/sky_high/lib.php deleted file mode 100644 index f3cbf558dd56f..0000000000000 --- a/theme/sky_high/lib.php +++ /dev/null @@ -1,89 +0,0 @@ -. - -/** - * This file contains functions specific to the needs of the Sky High theme. - * - * @package theme_sky_high - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * Processes CSS applying theme customisations before it is cached and delivered. - * - * @param string $css - * @param theme_config $theme - * @return string - */ -function sky_high_process_css($css, $theme) { - - if (!empty($theme->settings->regionwidth)) { - $regionwidth = $theme->settings->regionwidth; - } else { - $regionwidth = null; - } - $css = sky_high_set_regionwidth($css, $regionwidth); - - if (!empty($theme->settings->customcss)) { - $customcss = $theme->settings->customcss; - } else { - $customcss = null; - } - $css = sky_high_set_customcss($css, $customcss); - - return $css; -} - -/** - * Sets the region width variable in CSS - * - * @param string $css - * @param string $regionwidth - * @return string - */ -function sky_high_set_regionwidth($css, $regionwidth) { - $tag = '[[setting:regionwidth]]'; - $doubletag = '[[setting:regionwidthdouble]]'; - $leftmargintag = '[[setting:leftregionwidthmargin]]'; - $rightmargintag = '[[setting:rightregionwidthmargin]]'; - $replacement = $regionwidth; - if (is_null($replacement)) { - $replacement = 240; - } - $css = str_replace($tag, $replacement.'px', $css); - $css = str_replace($doubletag, ($replacement * 2).'px', $css); - $css = str_replace($rightmargintag, ($replacement * 3 - 5).'px', $css); - $css = str_replace($leftmargintag, ($replacement + 5).'px', $css); - return $css; -} - -/** - * Sets the custom css variable in CSS - * - * @param string $css - * @param string $customcss - * @return string - */ -function sky_high_set_customcss($css, $customcss) { - $tag = '[[setting:customcss]]'; - $replacement = $customcss; - if (is_null($replacement)) { - $replacement = ''; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} \ No newline at end of file diff --git a/theme/sky_high/pix/body.jpg b/theme/sky_high/pix/body.jpg deleted file mode 100644 index c48cb10719d8a..0000000000000 Binary files a/theme/sky_high/pix/body.jpg and /dev/null differ diff --git a/theme/sky_high/pix/breadcrumb.png b/theme/sky_high/pix/breadcrumb.png deleted file mode 100644 index faff6a6b982e8..0000000000000 Binary files a/theme/sky_high/pix/breadcrumb.png and /dev/null differ diff --git a/theme/sky_high/pix/dock.jpg b/theme/sky_high/pix/dock.jpg deleted file mode 100644 index 1a59880b3a6c2..0000000000000 Binary files a/theme/sky_high/pix/dock.jpg and /dev/null differ diff --git a/theme/sky_high/pix/favicon.ico b/theme/sky_high/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/sky_high/pix/favicon.ico and /dev/null differ diff --git a/theme/sky_high/pix/footer-rtl.png b/theme/sky_high/pix/footer-rtl.png deleted file mode 100644 index 7ba37031434cb..0000000000000 Binary files a/theme/sky_high/pix/footer-rtl.png and /dev/null differ diff --git a/theme/sky_high/pix/footer.png b/theme/sky_high/pix/footer.png deleted file mode 100644 index f2d649ceb8d5b..0000000000000 Binary files a/theme/sky_high/pix/footer.png and /dev/null differ diff --git a/theme/sky_high/pix/header-rtl.jpg b/theme/sky_high/pix/header-rtl.jpg deleted file mode 100644 index a335345d95866..0000000000000 Binary files a/theme/sky_high/pix/header-rtl.jpg and /dev/null differ diff --git a/theme/sky_high/pix/header.gif b/theme/sky_high/pix/header.gif deleted file mode 100644 index 9cb64baa952b5..0000000000000 Binary files a/theme/sky_high/pix/header.gif and /dev/null differ diff --git a/theme/sky_high/pix/headingblock.jpg b/theme/sky_high/pix/headingblock.jpg deleted file mode 100644 index 89338033c03d9..0000000000000 Binary files a/theme/sky_high/pix/headingblock.jpg and /dev/null differ diff --git a/theme/sky_high/pix/screenshot.png b/theme/sky_high/pix/screenshot.png deleted file mode 100644 index 2fd5ccb9694f5..0000000000000 Binary files a/theme/sky_high/pix/screenshot.png and /dev/null differ diff --git a/theme/sky_high/pix/sprite.png b/theme/sky_high/pix/sprite.png deleted file mode 100644 index afd65e05aaabc..0000000000000 Binary files a/theme/sky_high/pix/sprite.png and /dev/null differ diff --git a/theme/sky_high/pix/submenu.png b/theme/sky_high/pix/submenu.png deleted file mode 100644 index 2ef3454cac8bb..0000000000000 Binary files a/theme/sky_high/pix/submenu.png and /dev/null differ diff --git a/theme/sky_high/pix/top_bg.gif b/theme/sky_high/pix/top_bg.gif deleted file mode 100644 index a75b5987f1d3d..0000000000000 Binary files a/theme/sky_high/pix/top_bg.gif and /dev/null differ diff --git a/theme/sky_high/pix_core/t/block_to_dock.png b/theme/sky_high/pix_core/t/block_to_dock.png deleted file mode 100644 index d69182a9551be..0000000000000 Binary files a/theme/sky_high/pix_core/t/block_to_dock.png and /dev/null differ diff --git a/theme/sky_high/pix_core/t/dock_to_block.png b/theme/sky_high/pix_core/t/dock_to_block.png deleted file mode 100644 index 50e99b8a19612..0000000000000 Binary files a/theme/sky_high/pix_core/t/dock_to_block.png and /dev/null differ diff --git a/theme/sky_high/pix_core/t/dockclose.png b/theme/sky_high/pix_core/t/dockclose.png deleted file mode 100644 index 73388cc4d0ba9..0000000000000 Binary files a/theme/sky_high/pix_core/t/dockclose.png and /dev/null differ diff --git a/theme/sky_high/pix_core/t/switch_minus.gif b/theme/sky_high/pix_core/t/switch_minus.gif deleted file mode 100644 index de0428b6cdba7..0000000000000 Binary files a/theme/sky_high/pix_core/t/switch_minus.gif and /dev/null differ diff --git a/theme/sky_high/pix_core/t/switch_plus.gif b/theme/sky_high/pix_core/t/switch_plus.gif deleted file mode 100644 index f61f4ac66f6cb..0000000000000 Binary files a/theme/sky_high/pix_core/t/switch_plus.gif and /dev/null differ diff --git a/theme/sky_high/settings.php b/theme/sky_high/settings.php deleted file mode 100644 index b5ceb8bc81c04..0000000000000 --- a/theme/sky_high/settings.php +++ /dev/null @@ -1,64 +0,0 @@ -. - -/** - * Settings for the sky_high theme - * - * @package theme_sky_high - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -if ($ADMIN->fulltree) { - - // Logo file setting. - $name = 'theme_sky_high/logo'; - $title = get_string('logo', 'theme_sky_high'); - $description = get_string('logodesc', 'theme_sky_high'); - $setting = new admin_setting_configtext($name, $title, $description, '', PARAM_URL); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Block region width. - $name = 'theme_sky_high/regionwidth'; - $title = get_string('regionwidth', 'theme_sky_high'); - $description = get_string('regionwidthdesc', 'theme_sky_high'); - $default = 240; - $choices = array(200 => '200px', 240 => '240px', 290 => '290px', 350 => '350px', 420 => '420px'); - $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Foot note setting. - $name = 'theme_sky_high/footnote'; - $title = get_string('footnote', 'theme_sky_high'); - $description = get_string('footnotedesc', 'theme_sky_high'); - $setting = new admin_setting_confightmleditor($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Custom CSS file. - $name = 'theme_sky_high/customcss'; - $title = get_string('customcss', 'theme_sky_high'); - $description = get_string('customcssdesc', 'theme_sky_high'); - $setting = new admin_setting_configtextarea($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Add our page to the structure of the admin tree. -} \ No newline at end of file diff --git a/theme/sky_high/style/admin.css b/theme/sky_high/style/admin.css deleted file mode 100644 index 92264aee69bf7..0000000000000 --- a/theme/sky_high/style/admin.css +++ /dev/null @@ -1,113 +0,0 @@ -/** Admin layout **/ - -body.pagelayout-admin.has_dock { - margin-left: 30px; -} -.pagelayout-admin #page { - width: 100%; - margin: 0 auto; - position: relative; - max-width: 1664px; -} -.pagelayout-admin #page-footer { - float: none; - width: 100%; - margin: 0; - padding: 0; - text-align: left; -} -.pagelayout-admin #page-header #custommenu { - display: none; -} -.pagelayout-admin .navbar { - background-color: #FFF; - height: 20px; - margin: 0; - padding: 5px 0; -} -.pagelayout-admin #page-footer { - text-align: center; - height: auto; -} -.pagelayout-admin #page-footer .logininfo, -.pagelayout-admin #page-footer .homelink { - margin: 1em 0 0; - padding: 0; - text-align: center; -} -.pagelayout-admin #page-content { - background: #FFF url([[pix:theme|top_bg]]) repeat-x center top; - float: none; - overflow: visible; - width: auto; - padding-top: 1em; -} -.pagelayout-admin #report-main-content { - float: left; - width: 100%; -} -.pagelayout-admin #report-main-content .region-content { - margin-left: 210px; - overflow: visible; - padding-bottom: 20px; -} -.pagelayout-admin #report-main-content .region-content table.generaltable { - background-color: #FFF; - width: 98%; - margin: 0 auto; - padding: 0; -} -.pagelayout-admin #report-region-wrap { - width: 0; - float: right; - position: relative; - left: -100%; -} -.pagelayout-admin #report-region-pre { - width: 200px; - margin-left: 5px; -} - -/** CONTENT ONLY **/ -.pagelayout-admin.content-only #report-main-content .region-content { - margin-left: 10px; -} -.pagelayout-admin.content-only #report-region-pre { - width: 0; -} - -/** Correct for right to left languages **/ -.dir-rtl.pagelayout-admin #report-main-content .region-content { - margin-left: 0; - margin-right: 210px; -} -.dir-rtl.pagelayout-admin #report-region-wrap { - left:0; -} - -/** Stabalise IE6 behaviour on the report layout **/ -.ie6.pagelayout-admin #report-main-content { - float: none; - width: auto; -} -.ie6.pagelayout-admin #report-region-wrap { - float: none; - width: 200px; - left: auto; - position: absolute; - top: 0; -} -.ie6.pagelayout-admin #report-region-pre, -.ie6.pagelayout-admin #report-region-pre .block { - width: 100%; -} - -@media print { - .pagelayout-admin .region-content {margin-left: 0px !important;} - .pagelayout-admin #report-region-pre {width: 0px !important;} - .pagelayout-admin .region-content table.generaltable {font-size:70% !important;} - .pagelayout-admin #report-region-pre, - .pagelayout-admin #page-header, - .pagelayout-admin #page-footer, - .pagelayout-admin #dock { display: none;} -} diff --git a/theme/sky_high/style/core.css b/theme/sky_high/style/core.css deleted file mode 100644 index 8a368af5fcffd..0000000000000 --- a/theme/sky_high/style/core.css +++ /dev/null @@ -1,351 +0,0 @@ -/* @group Core */ - -html, body { - background: #dcecf9 url([[pix:theme|body]]) left top repeat-x fixed; -} -body.pagelayout-popup.background { - background: #dcecf9 url([[pix:theme|body]]) left top repeat-x fixed !important; -} -#page, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea { - font-family: Arial, Helvetica, sans-serif; - color: #333; -} -#wrapper { - background: #fff; - margin: 20px 5% 0; - padding: 0px; - border: 1px solid #c1bc9d; -} -#page-content-wrapper { - padding: 0px; - padding-top: 0px; - background: #ebf6f9; - border-top: 1px solid #ccc; -} -.pagelayout-frontpage #page-content #region-main-box #region-post-box { - padding-top: 0; -} -a:link, a:visited { - color: #003466; - text-decoration: none; -} -a:active, a:hover, a:focus { - color: #4785ac; - text-decoration: none; -} -#region-main-box { - border: 0px none; -} -#newmessageoverlay { - background: #f9f9d4; - margin-left: 55px; - margin-top: 10px; - padding: 10px; - border-right: 2px solid #5ea4dc; - border-bottom: 2px solid #5ea4dc; - filter:alpha(opacity=90); - -khtml-opacity: 0.9; - -moz-opacity: 0.9; - opacity: 0.9; -} -#newmessageoverlay #newmessagelinks { - border-top: 1px dashed #ccc; - padding-top: 5px; - margin-top: 5px; -} -#newmessageoverlay a { - font-weight: bold; - font-style: italic; -} -/* @end */ - -/* @group Header */ - -#page-header { - background:#97d3f4 url([[pix:theme|header]]) no-repeat top right; - margin-bottom: 0px; - height: 80px; - border-bottom: 1px solid #fff; - width: 100%; -} -.dir-rtl #page-header { - background-image: url([[pix:theme|header-rtl]]); - background-repeat: no-repeat; - background-position: left top; -} -.logo { - height: 50px; - float: left; - padding-left: 10px; - padding-top: 18px; - padding-right: 0px; -} -.headermain { - font-weight:normal; - margin:.8em 0.5em 0.75em; -} -h1.headermain { - color: #006699; - font-weight: normal; - font-size: 1.85em !important; - padding-left: 0px; - margin-top: 30px; -} -h1.headerwlogo { - color: #006699; - font-weight: normal; - font-size: 1.45em !important; - display: block; - float: left; - margin-top: 35px; -} -.tagline { - color: #006699 !important; - padding-top: 7px; - font-size: .45em; - text-transform: uppercase; -} -.headermenu { - font-size: .9em; -} -p.helplink a { - display: block; - width: 25%; - margin: 0 auto; - padding: 10px; -} - -/* @end */ - -/* @group Navbar */ - -.navbar { - background: #fff; - height: 20px; - padding-top: 5px; - padding-bottom: 4px; - margin-left: 4px; - margin-right: 4px; -} -.breadcrumb { - text-transform: uppercase; - font-weight: bold; - font-size: .9em; - margin-left: 7px; -} -.breadcrumb a { - color: #336699 !important; -} -.breadcrumb ul { - color: #666; -} -.arrow, .arrow_button input { - color: #aaa; -} -/* @end */ - -/* @group Blocks */ - -.block_action { - padding:0px; -} -.block .content { - background:#c7eafd; - border:1px solid #867f6a; -} -.block .minicalendar td, -.block .minicalendar th { - border: none; -} -.block { - border: 0px none; -} -.block .header { - border: 1px solid #ccc; - background: #fff; - padding-left:5px; -} -.block .title h2 { - text-transform: uppercase; - padding-bottom: 0px; - color: #336699; - font-size: .95em; -} -.block .content { - background: #fff; - border: 1px solid #ccc; - padding: 10px; - margin-top: -2px; -} -.block_calendar_month table.minicalendar.calendartable td,.block_calendar_month table.minicalendar.calendartable th { - border: none !important; -} -/* @end */ - -/* @group Course */ - -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2 { - border: 0px none; - border-bottom: 1px solid #98bcd6; - padding-bottom: 0px; - padding-top: 5px; - color: #336699; - font-size: 1.8em; - font-weight: normal; -} -.completionprogress { - color: #336699; - text-transform: uppercase; - font-size: .85em; -} -.course-content ul.topics li.section, -.course-content ul.weeks li.section { - border: 1px solid #ccc; - margin-right: 20px; -} -.path-course-view li.activity { - border-bottom: 1px dashed #c3daf9; - padding-top: 10px; - padding-bottom: 5px; -} -/* @end */ - -/* @group Dock */ - -body.has_dock { - margin: 0; -} -#dock { - border-right: 0px none; - background: url([[pix:theme|dock]]) repeat-y top right #fff; -} -#dock .controls { - bottom:auto; - background-color:#5ea4dc; -} -#dock .dockeditem { - background: url([[pix:theme|dock]]) repeat-y top right #fff; - padding:2px; - padding-right:0px; -} -#dock .dockedtitle { - border-width:0; -} -#dock .dockedtitle h2 { - margin:0; - padding:10px 3px; -} -#dock .dockedtitle.activeitem { - background-color:#407ea8; - border-top: 1px solid #6f6856; -} -#dockeditempanel { - background-color:#5ea4dc; - margin-left:0px; - border-left: none; -} -#dockeditempanel .dockeditempanel_content { - border-color:#6f6856; - border-left: none; -} -#dockeditempanel .dockeditempanel_hd { - background: #407ea8; - border-width:0; -} -#dockeditempanel .dockeditempanel_hd h2 { - font-size:1em; - color:#fff; -} -#dockeditempanel .dockeditempanel_bd .block_navigation .block_tree li { - overflow:visible; -} - -/* @end */ - -/* @group Footer */ - -#page-footer { - text-align: center; - margin: 0; - padding: 0; -} -#page-footer-inner{ - padding: 20px 0 30px; - clear: both; - background: url([[pix:theme|footer]]) no-repeat top right #dfdfdf; - margin: 0px 5%; - border: 1px solid #98bcd6; - border-top: 5px solid #98bcd6; - height: 75px; - text-align: left; -} -.dir-rtl #page-footer-inner { - background-image: url([[pix:theme|footer-rtl]]); - background-repeat: no-repeat; - background-position: left top; -} -#page-footer .footnote { - float: left; - padding-top: 80px; - padding-left: 20px; -} -#page-footer .logininfo { - padding-top: 80px; - text-align: right; -} -.purgecaches { - padding-bottom: 10px; -} -.purgecaches a { - text-decoration: none; - padding: 0 1em; -} -.purgecaches a:link, -.purgecaches a:hover { - border-style: solid; -} -.purgecaches a:link { - border-width: 1px 2px 2px 1px; - border-color: #CECECE #8A8A8A #8A8A8A #CECECE; -} -.purgecaches a:hover { - border-width: 2px 1px 1px 2px; - border-color: #8A8A8A #CECECE #CECECE #8A8A8A; -} -/* @end */ - -/* @group Forums */ - -.forumpost { - border: 1px solid #ccc; - background: #c7eafd; -} -.forumpost .left { - background: #c7eafd; -} -.forumpost .header { - background: #d6e2f2; -} -.forumpost .no-overflow { - border-top: 2px solid #94b9d3;background: #FFF; -} -.forumpost .content .posting { - padding:4px; -} -.forumpost .options { - background: #FFF; - padding:4px; -} -/* @end */ - -.mform .btn-cancel { - color: #003466; - text-decoration: none; -} -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #4785ac; - text-decoration: none; -} \ No newline at end of file diff --git a/theme/sky_high/style/editor.css b/theme/sky_high/style/editor.css deleted file mode 100644 index 12340c634f3c0..0000000000000 --- a/theme/sky_high/style/editor.css +++ /dev/null @@ -1,5 +0,0 @@ -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea -{ - font-family:Arial, Helvetica, sans-serif; - color:#333; -} \ No newline at end of file diff --git a/theme/sky_high/style/menu.css b/theme/sky_high/style/menu.css deleted file mode 100644 index b3a4ff66a4744..0000000000000 --- a/theme/sky_high/style/menu.css +++ /dev/null @@ -1,37 +0,0 @@ - -#custommenu .yui3-menu-content, -#custommenu .yui3-menu-label, -#custommenu .yui3-menuitem-content { - border-width: 0; -} - -#custommenu .yui3-menu ul{ - background:url([[pix:theme|sprite]]) repeat-x 0 0; -} - -#custommenu .yui3-menu ul li ul{ - background:#fff; -} - -#custommenu .yui3-menu ul li{ - border-right: 1px solid #ccc; -} - -#custommenu .yui3-menu ul li ul li{ - border-right: none; - border-bottom: 1px dashed #ccc; - padding: 3px; -} -#custommenu .yui3-menu-content { - border: none !important; -} - -#custommenu ul.first-of-type li a { - border-top-width: 0; - border-bottom-width: 0; -} - -#custommenu ul.first-of-type li a:hover { - color: #003466; - -} diff --git a/theme/sky_high/style/pagelayout.css b/theme/sky_high/style/pagelayout.css deleted file mode 100644 index 99ac3e5cb3b7c..0000000000000 --- a/theme/sky_high/style/pagelayout.css +++ /dev/null @@ -1,219 +0,0 @@ -/** Path: theme pagelayout **/ - -/********************************************************************************************* - column witdh: [[setting:regionwidth]] -**********************************************************************************************/ - -body { - margin:auto 0px; - width:auto; -} - -#page { - width: 100%; - max-width: 1760px; - margin: 0 auto; -} - -#page-content { - clear: both; - overflow: hidden; - position: relative; - width: 100%; -} - -/* @group Pre and Post */ - -#page-content #region-main-box { - float: left; - margin-left: -[[setting:regionwidth]]; - position: relative; - width: 200%; - right: 100%; -} - -#page-content #region-post-box { - float: left; - margin-left: -[[setting:regionwidth]]; - width: 100%; - border-right: 2px solid #98bcd6; - background: url([[pix:theme|top_bg]]) repeat-x top #fff; -} - -#page-content #region-main-wrap { - float: left; - width: 50%; -} - -#page-content #region-main { - overflow: hidden; - position: relative; - margin-left: [[setting:regionwidthdouble]]; - left: 100%; -} - -#page-content #region-pre { - float: right; - position: relative; - left: [[setting:leftregionwidthmargin]]; - width: [[setting:regionwidth]]; - background: transparent; -} - -#page-content #region-post { - float: right; - position: relative; - left: [[setting:rightregionwidthmargin]]; - width: [[setting:regionwidth]]; - background: transparent; -} - -#page-content #region-main .region-content { - margin: 20px; - padding-bottom: 20px; -} - -#page-content #region-pre .region-content, -#page-content #region-post .region-content { - padding: 20px 10px; -} - -#page-footer { - clear: both; - float: left; - width: 100%; -} - -/* @end */ - -/* @group Pre Side Only */ - -.side-pre-only #page-content #region-main-box { - margin-left: 0px; -} - -.side-pre-only #page-content #region-post-box { - margin-left: -[[setting:regionwidth]]; -} - -.side-pre-only #page-content #region-main { - margin-left: [[setting:regionwidth]]; -} - -.side-pre-only #page-content #region-pre { - left: [[setting:regionwidth]]; - width: [[setting:regionwidth]]; -} - -.side-pre-only #page-content #region-post { - width: 0%; -} - -/* @end */ - -/* @group Post Side Only */ - -.side-post-only #page-content #region-main-box { - margin-left: 0px; -} - -.side-post-only #page-content #region-main-box #region-post-box { - margin-left: -[[setting:regionwidth]]; -} - -.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: [[setting:regionwidth]]; -} - -.side-post-only #page-content #region-main-box #region-post-box #region-pre { - left: 0; - width: 0; -} - -.side-post-only #page-content #region-main-box #region-post-box #region-post { - left: [[setting:regionwidth]]; - width: [[setting:regionwidth]]; -} - -.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 200px; -} - -.blocks-moving.side-post-only #page-content #region-main-box { - float: left; - margin-left: -[[setting:regionwidth]]; - position: relative; - width: 200%; - right: 100%; -} - -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box { - float: left; - margin-left: -[[setting:regionwidth]]; - width: 100%; - border-right: 2px solid #98bcd6; - background: url([[pix:theme|top_bg]]) repeat-x top #fff; -} - -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap { - float: left; - width: 50%; -} - -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { - overflow: hidden; - position: relative; - margin-left: [[setting:regionwidthdouble]]; - left: 100%; -} - -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box #region-pre { - float: right; - position: relative; - left: [[setting:leftregionwidthmargin]]; - width: [[setting:regionwidth]]; - background: transparent; -} - -.blocks-moving.side-post-only #page-content #region-main-box #region-post-box #region-post { - float: right; - position: relative; - left: [[setting:rightregionwidthmargin]]; - width: [[setting:regionwidth]]; - background: transparent; -} - -/* @end */ - -/* @group No Blocks */ - -.content-only #page-content #region-main-box { - margin-left: 0px; -} - -.content-only #page-content #region-main-box #region-post-box { - margin-left: 0px; -} - -.content-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { - margin-left: 0px; -} - -.content-only #page-content #region-main-box #region-post-box #region-pre { - width: 0px; -} - -.content-only #page-content #region-main-box #region-post-box #region-post { - width: 0px; -} - -/* @end */ - -/* @pagelayout-report - overflow */ - -.pagelayout-report #page-content #region-main { - overflow: auto; -} -.pagelayout-report #page-content #region-main .region-content { - overflow: visible; -} \ No newline at end of file diff --git a/theme/sky_high/style/report.css b/theme/sky_high/style/report.css deleted file mode 100644 index 0859374cd93b3..0000000000000 --- a/theme/sky_high/style/report.css +++ /dev/null @@ -1,141 +0,0 @@ -/** Report layout **/ - -.pagelayout-report #page { - max-width: 1664px; -} -#report-wrapper { - background: #fff; - margin: 20px 2% 0; - padding: 0px; - border: 1px solid #c1bc9d; -} -#report-page-content { - clear: both; - float: left; - overflow: hidden; - position: relative; - width: 100%; -} -#report-page-content #report-region-main-box { - float: left; - right: 0%; - position: relative; - width: 100%; -} -#report-page-content #report-region-main-box #report-region-post-box { - float: left; - right: 82%; - position: relative; - width: 100%; -} -#report-page-content #report-region-main-box - #report-region-post-box #report-region-main { - float: left; - overflow: hidden; - position: relative; - margin-right: 0px; - left: 101%; - width: 80%; -} -#report-page-content #report-region-main-box - #report-region-post-box #report-region-pre { - float: left; - overflow: hidden; - position: relative; - left: 3%; - width: 16%; -} -#report-page-content #report-region-main-box - #report-region-post-box #report-region-main .region-content { - overflow: hidden; - padding: 20px 0px; -} -#report-page-content #report-region-main-box - #report-region-post-box #report-region-pre .region-content { - overflow: hidden; - padding: 20px 0 0; -} -#report-page-content-wrapper .generaltable { - width: 100%; -} - -/* REPORT FOOTER --------------------------*/ - -.pagelayout-admin #page-footer-inner, -.pagelayout-report #page-footer-inner { - margin: 0 2%; -} - -/* REPORT DOCK --------------------------*/ -body.pagelayout-report.has_dock { - margin-left: 3% -} -.pagelayout-report #dock { - width: 3%; -} - - -/* CONTENT-ONLY --------------------------*/ - .pagelayout-admin.content-only #report-page-content-wrapper - #report-page-content #report-region-main-box #report-region-post-box, - .pagelayout-report.content-only #report-page-content-wrapper - #report-page-content #report-region-main-box #report-region-post-box { - right: 1%; - width: 100%; -} - .pagelayout-admin.content-only #report-page-content-wrapper - #report-page-content #report-region-main-box #report-region-post-box #report-region-main, - .pagelayout-report.content-only #report-page-content-wrapper - #report-page-content #report-region-main-box #report-region-post-box #report-region-main { - left: 1%; - width: 100%; -} - .pagelayout-admin.content-only #report-page-content-wrapper #report-page-content - #report-region-main-box #report-region-post-box #report-region-pre, - .pagelayout-report.content-only #report-page-content-wrapper #report-page-content - #report-region-main-box #report-region-post-box #report-region-pre { - left: 0; - width: 0; -} - .pagelayout-admin.content-only #report-page-content-wrapper - #report-page-content #report-region-main-box #report-region-post-box - #report-region-main .region-content, - .pagelayout-report.content-only #report-page-content-wrapper - #report-page-content #report-region-main-box #report-region-post-box - #report-region-main .region-content { - padding: 0 1%; -} - -/* @pagelayout-report - overflow */ -.pagelayout-admin #report-page-content #report-region-main, -.pagelayout-report #report-page-content #report-region-main { - overflow: auto; -} -.pagelayout-admin #report-page-content #report-region-main .region-content, -.pagelayout-report #report-page-content #report-region-main .region-content { - overflow: visible; -} - -/* @pagelayout-report - horizontal overflow */ -.pagelayout-admin #report-page-content-wrapper #report-page-content #report-region-main-box - #report-region-post-box #report-region-main .region-content .no-overflow, -.pagelayout-report #report-page-content-wrapper #report-page-content #report-region-main-box - #report-region-post-box #report-region-main .region-content .no-overflow { - overflow: auto; - } - -@media print { - #report-page-content #report-region-main-box {right: 0%;} - #report-page-content #report-region-main-box #report-region-post-box {right: 100%;} - #report-page-content #report-region-main-box #report-region-post-box #report-region-main {left: 101%; width: 98%;} - #report-page-content #report-region-main-box #report-region-post-box #report-region-pre {width: 0%; left: 0%} - - #report-page-content-wrapper table.generaltable { font-size: 70% !important;} - - #page-header, - #page-footer, - #dock { display: none;} -} \ No newline at end of file diff --git a/theme/sky_high/style/settings.css b/theme/sky_high/style/settings.css deleted file mode 100644 index 9d3e41b8072fd..0000000000000 --- a/theme/sky_high/style/settings.css +++ /dev/null @@ -1,5 +0,0 @@ -/* @group Custom CSS */ - -[[setting:customcss]] - -/* @end */ \ No newline at end of file diff --git a/theme/sky_high/version.php b/theme/sky_high/version.php deleted file mode 100644 index e1f77141fea7d..0000000000000 --- a/theme/sky_high/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_sky_high - * @copyright 2010 John Stabinger (http://newschoollearning.com/) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX). -$plugin->requires = 2013110500; // Requires this Moodle version. -$plugin->component = 'theme_sky_high'; // Full name of the plugin (used for diagnostics). -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/splash/config.php b/theme/splash/config.php deleted file mode 100644 index 3dea47d296aa6..0000000000000 --- a/theme/splash/config.php +++ /dev/null @@ -1,156 +0,0 @@ -. - -/** - * Config for the splash theme - * - * @package theme_splash - * @copyright 2010 Caroline Kennedy - Synergy Learning - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'splash'; - -$THEME->parents = array( - 'canvas', - 'base', -); - -$THEME->sheets = array( - 'pagelayout', - 'core', - 'menus', - 'orange', - 'blue', - 'green', - 'red', - 'settings', -); - -$THEME->editor_sheets = array('editor'); - -$THEME->enable_dock = true; - -$THEME->layouts = array( - // Most pages - if we encounter an unknown or a missing page type, this one is used. - 'base' => array( - 'file' => 'general.php', - 'regions' => array() - ), - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - // Course page - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - // Course page - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'frontpage' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - // Pages that appear in pop-up windows - no navigation, no blocks, no header. - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - // No blocks and minimal footer - used for legacy frame layouts only! - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter', 'noblocks'=>true, 'nocoursefooter'=>true), - ), - // Embeded pages, like iframe embeded in moodleform - 'embedded' => array( - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true), - ), - // Used during upgrade and install, and for the 'This site is undergoing maintenance' message. - // This must not have any blocks, and it is good idea if it does not have links to - // other places - for example there should not be a home link in the footer... - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true), - ), - // The pagelayout used when a redirection is occuring. - 'redirect' => array( - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - 'report' => array( - 'file' => 'report.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), -); - -$THEME->csspostprocess = 'splash_process_css'; - -$THEME->javascripts = array('colourswitcher'); diff --git a/theme/splash/javascript/colourswitcher.js b/theme/splash/javascript/colourswitcher.js deleted file mode 100644 index 578f96beefac5..0000000000000 --- a/theme/splash/javascript/colourswitcher.js +++ /dev/null @@ -1,63 +0,0 @@ -YUI.add('moodle-theme_splash-colourswitcher', function(Y) { - -// Available colours -var COLOURS = ['red','green','blue','orange']; - -/** - * Splash theme colour switcher class. - * Initialise this class by calling M.theme_splash.init - */ -var ColourSwitcher = function() { - ColourSwitcher.superclass.constructor.apply(this, arguments); -}; -ColourSwitcher.prototype = { - /** - * Constructor for this class - * @param {object} config - */ - initializer : function(config) { - var i, c; - // Attach events to the links to change colours so we can do it with - // JavaScript without refreshing the page - for (i in COLOURS) { - c = COLOURS[i]; - // Check if this is the current colour - if (Y.one(document.body).hasClass('splash-'+c)) { - this.set('colour', c); - } - Y.all(config.div+' .colour-'+c).on('click', this.setColour, this, c); - } - }, - /** - * Sets the colour being used for the splash theme - * @param {Y.Event} e The event that fired - * @param {string} colour The new colour - */ - setColour : function(e, colour) { - // Prevent the event from refreshing the page - e.preventDefault(); - // Switch over the CSS classes on the body - Y.one(document.body).replaceClass('splash-'+this.get('colour'), 'splash-'+colour); - // Update the current colour - this.set('colour', colour); - // Store the users selection (Uses AJAX to save to the database) - M.util.set_user_preference('theme_splash_chosen_colour', colour); - } -}; -// Make the colour switcher a fully fledged YUI module -Y.extend(ColourSwitcher, Y.Base, ColourSwitcher.prototype, { - NAME : 'Splash theme colour switcher', - ATTRS : { - colour : { - value : 'red' - } - } -}); -// Our splash theme namespace -M.theme_splash = M.theme_splash || {}; -// Initialisation function for the colour switcher -M.theme_splash.initColourSwitcher = function(cfg) { - return new ColourSwitcher(cfg); -} - -}, '@VERSION@', {requires:['base','node']}); diff --git a/theme/splash/lang/en/theme_splash.php b/theme/splash/lang/en/theme_splash.php deleted file mode 100644 index bb3412dc8f1a9..0000000000000 --- a/theme/splash/lang/en/theme_splash.php +++ /dev/null @@ -1,43 +0,0 @@ -. - -/** - * Strings for component 'theme_splash', language 'en' - * - * @package theme_splash - * @copyright 2010 Caroline Kennedy of Synergy Learning - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['choosereadme'] = '

About

Splash is a fluid-width, three-column theme for Moodle 2.0.

Tweaks

This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.

Credits

This theme was coded and is maintained by Caroline Kennedy of Synergy Learning. She can be contacted by email at caroline.kennedy@synergy-learningw.com.

License

This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.

'; -$string['configtitle'] = 'Splash Theme settings'; -$string['customcss'] = 'Custom CSS'; -$string['customcssdesc'] = 'Any CSS you enter here will be added to every page allowing your to easily customise this theme.'; -$string['defaulttagline'] = 'Virtual learning center'; -$string['footnote'] = 'Footnote'; -$string['footnotedesc'] = 'The content from this textarea will be displayed in the footer of every page. E.g: your copyright info.'; -$string['hide_tagline'] = 'Hide tagline'; -$string['hide_taglinedesc'] = 'Check this box to hide the tagline under the logo.'; -$string['loginhere'] = 'Login here!'; -$string['logo'] = 'Logo'; -$string['logodesc'] = 'Enter the URL to an image to use as the logo for this site. E.g: http://www.yoursite.com/path/to/logo.png. The logo should be max 230px wide.'; -$string['pluginname'] = 'Splash'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['tagline'] = 'Tagline'; -$string['taglinedesc'] = 'The content from this textarea will be displayed under the Site logo on the Homepage'; -$string['usergreeting'] = 'Hi {$a}!'; -$string['welcome'] = 'Welcome, {$a}'; diff --git a/theme/splash/layout/embedded.php b/theme/splash/layout/embedded.php deleted file mode 100644 index f31a08055cebc..0000000000000 --- a/theme/splash/layout/embedded.php +++ /dev/null @@ -1,48 +0,0 @@ -. - -/** - * Embedded layout for the splash theme - * - * @package theme_splash - * @copyright 2012 Caroline Kennedy - Synergy Learning - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - - -
- main_content() ?> -
- - - -
-standard_end_of_body_html() ?> - - diff --git a/theme/splash/layout/general.php b/theme/splash/layout/general.php deleted file mode 100644 index 29f9ea778d5ea..0000000000000 --- a/theme/splash/layout/general.php +++ /dev/null @@ -1,242 +0,0 @@ -. - -/** - * General layout for the splash theme - * - * @package theme_splash - * @copyright 2012 Caroline Kennedy - Synergy Learning - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -splash_check_colourswitch(); -splash_initialise_colourswitcher($PAGE); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -$bodyclasses[] = 'splash-'.splash_get_colour(); -if ($hassidepre && !$hassidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($hassidepost && !$hassidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$hassidepost && !$hassidepre) { - $bodyclasses[] = 'content-only'; -} - -$haslogo = (!empty($PAGE->theme->settings->logo)); -$hasfootnote = (!empty($PAGE->theme->settings->footnote)); -$hidetagline = (!empty($PAGE->theme->settings->hide_tagline) && $PAGE->theme->settings->hide_tagline == 1); - -if (!empty($PAGE->theme->settings->tagline)) { - $tagline = $PAGE->theme->settings->tagline; -} else { - $tagline = get_string('defaulttagline', 'theme_splash'); -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - -standard_top_of_body_html() ?> -
- - - - - -
-
-
-
-
-
- - main_content() ?> - -
-
-
- - -
-
- blocks_for_region('side-pre') ?> -
-
- - - -
-
- blocks_for_region('side-post') ?> -
-
- -
-
-
- - - - -
- -
- - - - -standard_end_of_body_html() ?> - - diff --git a/theme/splash/layout/report.php b/theme/splash/layout/report.php deleted file mode 100644 index 1ce85c32d9e7d..0000000000000 --- a/theme/splash/layout/report.php +++ /dev/null @@ -1,230 +0,0 @@ -. - -/** - * Report layout for the splash theme - * - * @package theme_splash - * @copyright 2012 Caroline Kennedy - Synergy Learning - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -splash_check_colourswitch(); -splash_initialise_colourswitcher($PAGE); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -$bodyclasses[] = 'splash-'.splash_get_colour(); -if ($hassidepre && !$hassidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($hassidepost && !$hassidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$hassidepost && !$hassidepre) { - $bodyclasses[] = 'content-only'; -} - -$haslogo = (!empty($PAGE->theme->settings->logo)); -$hasfootnote = (!empty($PAGE->theme->settings->footnote)); -$hidetagline = (!empty($PAGE->theme->settings->hide_tagline) && $PAGE->theme->settings->hide_tagline == 1); - -if (!empty($PAGE->theme->settings->tagline)) { - $tagline = $PAGE->theme->settings->tagline; -} else { - $tagline = get_string('defaulttagline', 'theme_splash'); -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - -standard_top_of_body_html() ?> -
- - - - - - -
-
-
- - main_content() ?> - -
-
- -
-
-
- blocks_for_region('side-pre') ?> -
-
-
- -
- - - - - -
- -
- - - - -standard_end_of_body_html() ?> - - diff --git a/theme/splash/lib.php b/theme/splash/lib.php deleted file mode 100644 index f9f1fb60a0fd1..0000000000000 --- a/theme/splash/lib.php +++ /dev/null @@ -1,126 +0,0 @@ -. - -/** - * Library functions for theme_splash - * - * @package theme_splash - * @copyright 2011 Synergy Learning - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** - * theme_splash post process function for CSS - * @param string $css Incoming CSS to process - * @param stdClass $theme The theme object - * @return string The processed CSS - */ -function splash_process_css($css, $theme) { - - if (!empty($theme->settings->regionwidth)) { - $regionwidth = $theme->settings->regionwidth; - } else { - $regionwidth = null; - } - $css = splash_set_regionwidth($css, $regionwidth); - - if (!empty($theme->settings->customcss)) { - $customcss = $theme->settings->customcss; - } else { - $customcss = null; - } - $css = splash_set_customcss($css, $customcss); - - return $css; -} - -/** - * Sets the region width variable in CSS - * - * @param string $css - * @param mixed $regionwidth - * @return string - */ -function splash_set_regionwidth($css, $regionwidth) { - $tag = '[[setting:regionwidth]]'; - $doubletag = '[[setting:regionwidthdouble]]'; - $leftmargintag = '[[setting:leftregionwidthmargin]]'; - $rightmargintag = '[[setting:rightregionwidthmargin]]'; - $replacement = $regionwidth; - if (is_null($replacement)) { - $replacement = 240; - } - $css = str_replace($tag, $replacement.'px', $css); - $css = str_replace($doubletag, ($replacement*2).'px', $css); - $css = str_replace($rightmargintag, ($replacement*3-5).'px', $css); - $css = str_replace($leftmargintag, ($replacement+5).'px', $css); - return $css; -} - -/** - * Sets the custom css variable in CSS - * - * @param string $css - * @param mixed $customcss - * @return string - */ -function splash_set_customcss($css, $customcss) { - $tag = '[[setting:customcss]]'; - $replacement = $customcss; - if (is_null($replacement)) { - $replacement = ''; - } - $css = str_replace($tag, $replacement, $css); - return $css; -} - -/** - * Adds the JavaScript for the colour switcher to the page. - * - * The colour switcher is a YUI moodle module that is located in - * theme/splash/yui/splash/splash.js - * - * @param moodle_page $page - */ -function splash_initialise_colourswitcher(moodle_page $page) { - user_preference_allow_ajax_update('theme_splash_chosen_colour', PARAM_ALPHA); - $page->requires->yui_module('moodle-theme_splash-colourswitcher', 'M.theme_splash.initColourSwitcher', array(array('div'=>'#colourswitcher'))); -} - -/** - * Gets the colour the user has selected, or the default if they have never changed - * - * @param string $default The default colour to use, normally red - * @return string The colour the user has selected - */ -function splash_get_colour($default='red') { - return get_user_preferences('theme_splash_chosen_colour', $default); -} - -/** - * Checks if the user is switching colours with a refresh (JS disabled) - * - * If they are this updates the users preference in the database - * - * @return bool - */ -function splash_check_colourswitch() { - $changecolour = optional_param('splashcolour', null, PARAM_ALPHA); - if (in_array($changecolour, array('red', 'green', 'blue', 'orange'))) { - return set_user_preference('theme_splash_chosen_colour', $changecolour); - } - return false; -} diff --git a/theme/splash/pix/arrow-menu.gif b/theme/splash/pix/arrow-menu.gif deleted file mode 100644 index 484dc171c1f45..0000000000000 Binary files a/theme/splash/pix/arrow-menu.gif and /dev/null differ diff --git a/theme/splash/pix/bg.jpg b/theme/splash/pix/bg.jpg deleted file mode 100644 index 574469a556962..0000000000000 Binary files a/theme/splash/pix/bg.jpg and /dev/null differ diff --git a/theme/splash/pix/bgblue.jpg b/theme/splash/pix/bgblue.jpg deleted file mode 100644 index da347368b9fb0..0000000000000 Binary files a/theme/splash/pix/bgblue.jpg and /dev/null differ diff --git a/theme/splash/pix/bggreen.jpg b/theme/splash/pix/bggreen.jpg deleted file mode 100644 index e4d36fc56ee8a..0000000000000 Binary files a/theme/splash/pix/bggreen.jpg and /dev/null differ diff --git a/theme/splash/pix/bgorange.jpg b/theme/splash/pix/bgorange.jpg deleted file mode 100644 index 7f23cd0d9222e..0000000000000 Binary files a/theme/splash/pix/bgorange.jpg and /dev/null differ diff --git a/theme/splash/pix/blue-theme2.gif b/theme/splash/pix/blue-theme2.gif deleted file mode 100644 index 972947cbaf48e..0000000000000 Binary files a/theme/splash/pix/blue-theme2.gif and /dev/null differ diff --git a/theme/splash/pix/colour.jpg b/theme/splash/pix/colour.jpg deleted file mode 100644 index 63014131ebffb..0000000000000 Binary files a/theme/splash/pix/colour.jpg and /dev/null differ diff --git a/theme/splash/pix/footerbg.jpg b/theme/splash/pix/footerbg.jpg deleted file mode 100644 index 8b936864cbafc..0000000000000 Binary files a/theme/splash/pix/footerbg.jpg and /dev/null differ diff --git a/theme/splash/pix/green-theme2.gif b/theme/splash/pix/green-theme2.gif deleted file mode 100644 index 1efc9859505be..0000000000000 Binary files a/theme/splash/pix/green-theme2.gif and /dev/null differ diff --git a/theme/splash/pix/lbgv2.jpg b/theme/splash/pix/lbgv2.jpg deleted file mode 100644 index 644e7c32f8ffa..0000000000000 Binary files a/theme/splash/pix/lbgv2.jpg and /dev/null differ diff --git a/theme/splash/pix/lbgv2blue.jpg b/theme/splash/pix/lbgv2blue.jpg deleted file mode 100644 index 95d9d2f8f4cbd..0000000000000 Binary files a/theme/splash/pix/lbgv2blue.jpg and /dev/null differ diff --git a/theme/splash/pix/lbgv2green.jpg b/theme/splash/pix/lbgv2green.jpg deleted file mode 100644 index 2e0d39063174a..0000000000000 Binary files a/theme/splash/pix/lbgv2green.jpg and /dev/null differ diff --git a/theme/splash/pix/lbgv2orange.jpg b/theme/splash/pix/lbgv2orange.jpg deleted file mode 100644 index 14f71a216efa1..0000000000000 Binary files a/theme/splash/pix/lbgv2orange.jpg and /dev/null differ diff --git a/theme/splash/pix/orange-theme2.gif b/theme/splash/pix/orange-theme2.gif deleted file mode 100644 index 0d909c5709a1f..0000000000000 Binary files a/theme/splash/pix/orange-theme2.gif and /dev/null differ diff --git a/theme/splash/pix/pageheaderbgblue.jpg b/theme/splash/pix/pageheaderbgblue.jpg deleted file mode 100644 index a18ee872b8f3f..0000000000000 Binary files a/theme/splash/pix/pageheaderbgblue.jpg and /dev/null differ diff --git a/theme/splash/pix/pageheaderbggreen.jpg b/theme/splash/pix/pageheaderbggreen.jpg deleted file mode 100644 index 2c83993473f43..0000000000000 Binary files a/theme/splash/pix/pageheaderbggreen.jpg and /dev/null differ diff --git a/theme/splash/pix/pageheaderbgorange.jpg b/theme/splash/pix/pageheaderbgorange.jpg deleted file mode 100644 index a8062f8e0ed14..0000000000000 Binary files a/theme/splash/pix/pageheaderbgorange.jpg and /dev/null differ diff --git a/theme/splash/pix/pageheaderbgred.jpg b/theme/splash/pix/pageheaderbgred.jpg deleted file mode 100644 index ba064613c35c5..0000000000000 Binary files a/theme/splash/pix/pageheaderbgred.jpg and /dev/null differ diff --git a/theme/splash/pix/red-theme2.gif b/theme/splash/pix/red-theme2.gif deleted file mode 100644 index 336dc34da0d75..0000000000000 Binary files a/theme/splash/pix/red-theme2.gif and /dev/null differ diff --git a/theme/splash/pix/sbheaderbg2.jpg b/theme/splash/pix/sbheaderbg2.jpg deleted file mode 100644 index 71eace935a6ad..0000000000000 Binary files a/theme/splash/pix/sbheaderbg2.jpg and /dev/null differ diff --git a/theme/splash/pix/sbheaderbg2blue.jpg b/theme/splash/pix/sbheaderbg2blue.jpg deleted file mode 100644 index 4a31d2362dc78..0000000000000 Binary files a/theme/splash/pix/sbheaderbg2blue.jpg and /dev/null differ diff --git a/theme/splash/pix/sbheaderbg2green.jpg b/theme/splash/pix/sbheaderbg2green.jpg deleted file mode 100644 index 54681d294b986..0000000000000 Binary files a/theme/splash/pix/sbheaderbg2green.jpg and /dev/null differ diff --git a/theme/splash/pix/sbheaderbg2orange.jpg b/theme/splash/pix/sbheaderbg2orange.jpg deleted file mode 100644 index e46a8efebd91d..0000000000000 Binary files a/theme/splash/pix/sbheaderbg2orange.jpg and /dev/null differ diff --git a/theme/splash/pix/screenshot.jpg b/theme/splash/pix/screenshot.jpg deleted file mode 100644 index c8b849c67531a..0000000000000 Binary files a/theme/splash/pix/screenshot.jpg and /dev/null differ diff --git a/theme/splash/pix/selectbg.jpg b/theme/splash/pix/selectbg.jpg deleted file mode 100644 index 3193718b97275..0000000000000 Binary files a/theme/splash/pix/selectbg.jpg and /dev/null differ diff --git a/theme/splash/settings.php b/theme/splash/settings.php deleted file mode 100644 index 6a60dfcdee42a..0000000000000 --- a/theme/splash/settings.php +++ /dev/null @@ -1,78 +0,0 @@ -. - -/** - * Settings for the splash theme - * - * @package theme_splash - * @copyright 2010 Caroline Kennedy of Synergy Learning - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -if ($ADMIN->fulltree) { - - // Logo file setting - $name = 'theme_splash/logo'; - $title = get_string('logo', 'theme_splash'); - $description = get_string('logodesc', 'theme_splash'); - $setting = new admin_setting_configtext($name, $title, $description, '', PARAM_URL); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Tagline setting - $name = 'theme_splash/tagline'; - $title = get_string('tagline', 'theme_splash'); - $description = get_string('taglinedesc', 'theme_splash'); - $setting = new admin_setting_configtextarea($name, $title, $description, get_string('defaulttagline', 'theme_splash')); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - $name = 'theme_splash/hide_tagline'; - $title = get_string('hide_tagline', 'theme_splash'); - $description = get_string('hide_taglinedesc', 'theme_splash'); - $setting = new admin_setting_configcheckbox($name, $title, $description, 0); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Block region width - //$name = 'theme_splash/regionwidth'; - //$title = get_string('regionwidth', 'theme_splash'); - //$description = get_string('regionwidthdesc', 'theme_splash'); - //$default = 240; - //$choices = array(200=>'200px', 240=>'240px', 290=>'290px', 350=>'350px', 420=>'420px'); - //$setting = new admin_setting_configselect($name, $title, $description, $default, $choices); - //$setting->set_updatedcallback('theme_reset_all_caches'); - //$temp->add($setting); - - // Foot note setting - $name = 'theme_splash/footnote'; - $title = get_string('footnote', 'theme_splash'); - $description = get_string('footnotedesc', 'theme_splash'); - $setting = new admin_setting_confightmleditor($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - - // Custom CSS file - $name = 'theme_splash/customcss'; - $title = get_string('customcss', 'theme_splash'); - $description = get_string('customcssdesc', 'theme_splash'); - $setting = new admin_setting_configtextarea($name, $title, $description, ''); - $setting->set_updatedcallback('theme_reset_all_caches'); - $settings->add($setting); - -} diff --git a/theme/splash/style/blue.css b/theme/splash/style/blue.css deleted file mode 100644 index 5c8e00a22887e..0000000000000 --- a/theme/splash/style/blue.css +++ /dev/null @@ -1,85 +0,0 @@ -/******************************************************** -** -** Theme name: Splash -** Creation Date: 30/06/09 -** Author: Caroline Kennedy - Synergy Learning -** Author URI: http://synergylearning.com -** -*********************************************************/ - -body.splash-blue { - background: url([[pix:theme|bgblue]]) top left repeat-x #fff; -} -.splash-blue a:link, -.splash-blue a:visited, -.splash-blue a:active { - color: #3d6276; -} -.splash-blue a:hover { - color: #294b5d; -} -.splash-blue #region-main h1, -.splash-blue #region-main h3, -.splash-blue #region-main h6 { - color:#3d6276; -} -.splash-blue #page-header { - background: url([[pix:theme|pageheaderbgblue]]) top center no-repeat; -} -.splash-blue #logobox{ - background: url([[pix:theme|lbgv2blue]]) no-repeat; -} -.splash-blue #colourswitcher p{ - color:#3d6276; -} -.splash-blue .navbar .breadcrumb a { - color:#3d6276; -} -.splash-blue .navbar .arrow { - color:#3d6276; -} -.splash-blue .course-content ul.topics li.section .left { - color:#3d6276; -} -.splash-blue .mform fieldset legend { - color:#3d6276; -} -.splash-blue .tabtree .tabrow0 a:hover{ - color:#294b5d; -} -.splash-blue .tabtree .tabrow0 .here a { - color:#3d6276; -} -.splash-blue .tabtree .tabrow0 .here a:hover{ - background:#fff;color: #294b5d; -} -.splash-blue .tabtree .here ul .here a.nolink:hover { - color:#3d6276; -} -.splash-blue .coursebox{ - border-bottom: 1px dashed #cbd3d6; -} -.splash-blue .path-mod-quiz .qnbutton { - background:#3d6276; - color:#fff; -} -.splash-blue .path-mod-quiz .qnbutton.open { - background:#3d6276; -} -.splash-blue .block-region .block .header { - background: url([[pix:theme|sbheaderbg2blue]]) top center no-repeat -} -.splash-blue .block .minicalendar td.weekend { - color:#3d6276; -} -.splash-blue .pagelayout-redirect { - border-top: 1px solid #294b5d; -} -.splash-blue #dock { - background-color:#3d6276; - border-right:1px solid #3d6276; -} -.splash-blue #dock .dockedtitle { - border-top:1px solid #627680; - border-bottom:1px solid #294b5d; -} diff --git a/theme/splash/style/core.css b/theme/splash/style/core.css deleted file mode 100644 index 4f257fa83a424..0000000000000 --- a/theme/splash/style/core.css +++ /dev/null @@ -1,511 +0,0 @@ -/******************************************************** -** -** Theme name: Splash -** Creation Date: 27/1/2012 -** Author: Caroline Kennedy - Synergy Learning -** Author URI: http://synergylearning.com -** -*********************************************************/ - -/* Reset --------------------------*/ -html{ - color:#000; -} -body,div,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,code{ - margin:0; - padding:0; -} -table{ - border-collapse:collapse; - border-spacing:0; -} -del,ins{ - text-decoration:none; -} -caption,th{ - text-align:left; -} -h1,h2,h3,h4,h5,h6{ - font-size:100%; - font-weight:normal; -} -q:before,q:after{ - content:''; -} -abbr,acronym{ - border:0; - font-variant:normal -} -sup{ - vertical-align:baseline; -} -sub{ - vertical-align:baseline; -} -legend{ - color:#000; -} -input,button,textarea,select,optgroup,option{ - font-family:inherit; - font-size:inherit; - font-style:inherit; - font-weight:inherit; -} -input,button,textarea,select{ - *font-size:100%; -} - -/* Structure --------------------------*/ -html, body#tinymce { - margin:0; - padding:0; -} -body { - margin:0; - padding:0; -} -body.lang-vi { - font:0.75em Arial, Helvetica, sans-serif; -} -.clearfix { - margin:0; - padding:0; - clear:both; -} -#page { - font-family: Arial, Helvetica, sans-serif; - margin:0 auto; - padding:0; - width:960px; - font-size:0.75em; -} -#page-content { - margin:0 auto; - padding:0; - width:960px; - float:none; -} -#page-content #region-main { - padding:0 10px; -} -/* Report pages --------------------------*/ -.pagelayout-report #page { - width:960px; -} -.pagelayout-report #page-content { - width:960px; - margin:0 auto; - padding:0; -} -.pagelayout-report #page-footer { - width:960px; - margin:0 auto; - padding:0; -} -.pagelayout-report #report-main-content .region-content { - margin-left:230px; -} -.pagelayout-report #page-content .region-content { - padding:10px 0; -} -.pagelayout-report #page-content .region-content .generaltable { - font-size: 0.9em; - margin: 0; - padding: 0; - width: 100%; -} -/* Headers --------------------------*/ -#page-header { - display:block; - margin:0 auto; - padding:0; -} -/* Login Page --------------------------*/ -#page-login-index #content { - font-size: 0.85em; -} -.loginbox { - margin:15px 25%; - width:50%;border:none; -} -.loginbox.twocolumns { - width:90%; - margin:15px 5%; -} -.loginbox, -.loginbox.twocolumns .loginpanel, -.loginbox .subcontent { - border-color:#ddd; -} -.loginbox .guestsub, -.loginbox .forgotsub, -.loginbox .potentialidps { - border-top:1px solid #ddd; -} -.loginbox .loginform .form-input #username, -.loginbox .loginform .form-input #password { - border:1px solid #ddd; -} -/* Tiny MCE --------------------------*/ -.mceContentBody { - background-color:#fff; - color:#000; -} -/* Moodle Forms --------------------------*/ -.mform .fitem fieldset.felement { - margin:0;padding:0; -} -.mform .fpassword .unmask input { - margin:0;padding:0; -} -.mform .fitem .fitemtitle { - font-weight:bold; - width:25%; - text-align:left; -} -.mform .fitem .felement { - margin-left:25%; - width:70%; -} -.mform .fitem { - margin:0; - padding:5px 0; -} -.mform fieldset{ - overflow: visible; - } -#page-admin-register .mform .fsubmit { - padding:20px; - text-align:center; -} -.mform .btn-cancel, -.mform .btn-cancel:hover, .mform .btn-cancel:focus { - color: #853650; - text-decoration: underline; -} -/* html editor fixed width --------------------------*/ -textarea#id_summary_editor {width:420px;} -textarea#id_description {width:420px;} -textarea#id_message {width:420px;} - -.felement .feditorselect select { - margin-top:10px !important; -} -/* Admin forms --------------------------*/ -#adminsettings .form-item .form-label .form-shortname { - word-wrap:break-word; /*CSS3*/ -} -#adminsettings .form-item .form-label { - margin-right:10px; -} -#page-question-type-multianswer fieldset { - text-align: right; -} -/* Filters --------------------------*/ -.mediaplugin { - display:block; - clear:both; - margin-top:5px; - margin-bottom:5px; -} -.mediaplugin_mp3, -.mediaplugin_swf, -.mediaplugin_flv { - display:inline; - clear:none; - margin:0px; - margin-left:0.5em; - } -.texrender { - border:0px; - vertical-align:middle; -} -/* Groups -------------------------*/ -#page-group-groupings .buttons { - margin: 20px; - text-align:center; -} -#page-group-groupings .buttons .singlebutton { - display: inline; - padding: 5px; -} -.groupmanagementtable { - width: 90%; -} -.groupmanagementtable p { - text-align: left; - margin-bottom: 0.2em; -} -.groupmanagementtable #existingcell label, -.groupmanagementtable #potentialcell label { - font-weight: bold; -} -.groupmanagementtable #buttonscell p { - text-align: center; -} -.groupmanagementtable #buttonscell input { - padding:3px 0; -} -.groupmanagementtable #buttonscell #remove { - margin: 7em 0; -} -.groupmanagementtable #backcell { - padding-top: 2em; - text-align: center; -} -/* Custom styling login block -------------------------------*/ -.block-region .block_login .content { - padding:10px; -} -.block-region .block_login label{ - margin: 5px 0px 10px 5px; -} -.block-region .block_login input[type=text] { - margin: 5px 0; - padding: 5px; -} -.block-region .block_login input[type=password] { - margin: 5px 0; - padding: 5px; -} -/* Messages --------------------------*/ -.block_messages .info, -.block_online_users .info { - font-size:1em; -} -/* Help link/box --------------------------*/ -.helplink img { - margin-left:5px; -} -/* Icons --------------------------*/ -img.icon { - margin-right:5px; -} -.action-icon { - margin-right:5px; -} -/* Reports --------------------------*/ -.path-grade-report-grader div.userpic { - float:none; -} -.path-admin-report-customlang #translator textarea { - width:90%; -} -.path-admin-report-customlang .mform.filterform { - width:90%; -} -/* My Moodle --------------------------*/ -#page-my-index .block { - width:auto !important; -} -/* Course topics format --------------------------*/ -.course-content ul.topics li.section .content h1, -.course-content ul.topics li.section .content h2, -.course-content ul.topics li.section .content h3, -.course-content ul.topics li.section .content h4, -.course-content ul.topics li.section .content h5, -.course-content ul.topics li.section .content h6 { - padding:0; - margin:0; -} -/* Course weeks format --------------------------*/ -.course-content ul.weeks li.section .content h1, -.course-content ul.weeks li.section .content h2, -.course-content ul.weeks li.section .content h3, -.course-content ul.weeks li.section .content h4, -.course-content ul.weeks li.section .content h5, -.course-content ul.weeks li.section .content h6 { - padding:0; - margin:0; -} -li.activity { - padding-bottom:5px; -} -.coursebox > .info > .coursename, #region-main .coursebox > .info > .coursename { - margin: 5px; - padding: 0; -} -#region-main .course_category_tree .category > .info > .categoryname { - padding: 2px 18px; -} -#region-main .course-content .single-section .section-navigation h3 { - font-size: 1.7em; - font-weight: bold; -} -.que .info{ - width: 10em; -} -.que .content{ - margin: 0 0 0 11.5em; -} -/* Quiz --------------------------*/ -#page-mod-quiz-edit h2{ - display: block; -} -#page-mod-quiz-edit div.question div.content div.questioncontrols{ - padding: 0; -} -#page-mod-quiz-edit .reorder div.question div.content { - line-height: 2em; -} -#page-mod-quiz-edit div.question div.content div.qorder { - line-height: 2em; -} -#page-mod-quiz-edit div.reorder .reordercontrols .addnewpagesafterselected, -#page-mod-quiz-edit .repaginatecommand{ - padding-right: 3px; -} - -/* Tabs --------------------------*/ -.tabtree .tabrow0 li.here .empty { - display: none; -} -.tabtree .tabrow0 .tabrow1 { - margin-top: -1px; - line-height: 1.3em; -} -/* Misc Fixes --------------------------*/ -.editing #big-tag-cloud-box{ - width: 480px; -} -.generalbox{ - padding: 5px; -} -.graph{ - overflow: auto; -} -.path-mod-forum .forumheaderlist .discussion .starter{ - vertical-align: top; -} -.boxwidthwide{ - width: 96%; -} -.path-backup .mform .fitem fieldset.felement{ - width: 100%; -} -.moveselectedonpage input[type=submit]{ - margin-top: 2px; -} -.userselector div { - margin-top: 0; -} -#reportuser_wrapper{ - margin-bottom: 20px; -} -#page-course-user .graph img{ - width: 99%; -} -#page-mod-survey-view #surveyform textarea { - float: right; -} -.path-admin table.rolecap tr.rolecap th, -.path-admin table.rolecap tr.rolecap td { - border: 1px solid #dedede; -} -#page-admin-roles-explain #chooseuser h3, -#page-admin-roles-usersroles .contextname { - margin-top: 0; - padding: 5px; -} -.section_add_menus { - text-align:left; -} -#page-admin-course-manage .generalbox td, -#attempts td, -.editcourse td, -.generaltable td, -.plugincompattable td, -.environmenttable td, -.forumheaderlist td { - border: 0 none; -} -.groupmanagementtable #buttonscell input { - padding: 3px 40px; -} -/* Jump to menu block --------------------------*/ -.jumpto_menu ul li form fieldset, -.jumpto_menu ul li form div select { - width:190px; -} -.block-region .block_jumpto_menu .content { - padding-left:0; - padding-right:0; -} -/* reduce font size in table overflow --------------------------------------*/ -#page-course-report .logselectform, -#page-course-report .participationselectform, -#page-course-report-log-index .logselectform, -#page-course-report-participation-index .participationselectform { - font-size: 0.9em; -} -#page-admin-plugins #plugins-control-panel { - font-size:0.9em; -} -/* php table --------------------------*/ -.phpinfo{ - overflow-x: scroll; -} - -/* table paging --------------------------*/ -.paging { - padding:10px 0; -} -/* user profiles --------------------------*/ -.profileeditor { - text-align:center; -} -hr { - background:none; - border-top:1px solid #ddd; -} -/* fix table overflow --------------------------*/ -#page-admin-setting-htmlsettings .generaltable{ - font-size:0.9em -} -#adminsettings #admin-emoticons.form-item .form-setting { - clear:both; - margin:0 0 0 50px; -} -/* icons --------------------------*/ -img.icon { - width:auto; - height:auto; -} -/* italic text --------------------------*/ -strong em, em strong{ - font-weight: bold; - font-style: italic; -} -.initialbar a { - padding:0 2px; -} diff --git a/theme/splash/style/editor.css b/theme/splash/style/editor.css deleted file mode 100644 index af4f179442c57..0000000000000 --- a/theme/splash/style/editor.css +++ /dev/null @@ -1,3 +0,0 @@ -body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} diff --git a/theme/splash/style/green.css b/theme/splash/style/green.css deleted file mode 100644 index 9a193200d18f1..0000000000000 --- a/theme/splash/style/green.css +++ /dev/null @@ -1,83 +0,0 @@ -/******************************************************** -** -** Theme name: Splash -** Creation Date: 30/06/09 -** Author: Caroline Kennedy - Synergy Learning -** Author URI: http://synergylearning.com -** -*********************************************************/ - -body.splash-green { background:url([[pix:theme|bggreen]]) top left repeat-x; -} -.splash-green a:link, -.splash-green a:visited, -.splash-green a:active{color:#446e4c; -} -.splash-green a:hover{ - color:#335a3a; -} -.splash-green #region-main h1, -.splash-green #region-main h3, -.splash-green #region-main h6{ - color:#446e4c; -} -.splash-green #page-header{ - background:url([[pix:theme|pageheaderbggreen]]) top center no-repeat; -} -.splash-green #logobox{ - background:url([[pix:theme|lbgv2green]]) no-repeat; -} -.splash-green #colourswitcher p{ - color:#446e4c; -} -.splash-green .navbar .breadcrumb a { - color:#446e4c; -} -.splash-green .navbar .arrow{ - color:#446e4c; -} -.splash-green .course-content ul.topics li.section .left{ - color:#446e4c; -} -.splash-green .mform fieldset legend{ - color:#446e4c; -} -.splash-green .tabtree .tabrow0 a:hover{ - color:#335a3a; -} -.splash-green .tabtree .tabrow0 .here a { - color:#446e4c; -} -.splash-green .tabtree .tabrow0 .here a:hover{ - background:#fff;color:#335a3a; -} -.splash-green .tabtree .here ul .here a.nolink:hover { - color:#446e4c; -} -.splash-green .coursebox{ - border-bottom: 1px dashed #dae0dc; -} -.splash-green .path-mod-quiz .qnbutton{ - background:#446e4c; - color:#fff; -} -.splash-green .path-mod-quiz .qnbutton.open{ - background:#446e4c; -} -.splash-green .block-region .block .header{ - background:url([[pix:theme|sbheaderbg2green]]) top center no-repeat; -} -.splash-green .block .minicalendar td.weekend{ - color:#446e4c; -} -.pagelayout-redirect { - border-top: 1px solid #335a3a; -} -.splash-green #dock { - background-color:#446e4c; - border-right:1px solid #335a3a; -} -.splash-green #dock .dockedtitle { - border-top:1px solid #5C6E5F; - border-bottom:1px solid #335a3a; -} diff --git a/theme/splash/style/menus.css b/theme/splash/style/menus.css deleted file mode 100644 index 9a656017eaf40..0000000000000 --- a/theme/splash/style/menus.css +++ /dev/null @@ -1,156 +0,0 @@ -/******************************************************** -** -** Theme name: Splash -** Creation Date: 27/01/12 -** Author: Caroline Kennedy - Synergy Learning -** Author URI: http://synergylearning.com -** -*********************************************************/ - -#moodlemenu { - clear: both; - border: none; - background: none; - height: 25px; - margin: 6px 0 0; - padding: 0; - width: 100% -} - -/* top level */ -#custommenu{ - float: left; - text-align: left; - background-image: none; - font-size: 1.2em; -} -#custommenu .yui3-menu li{ - height: 26px; -} -#custommenu .yui3-menu li:hover{ - background: none; -} -#custommenu .yui3-menu li li{ - height: auto -} -#custommenu .yui3-menu-label, -#custommenu .yui3-menuitem-content{ - cursor: pointer -} -#custommenu .yui3-menu-content, -#custommenu .yui3-menu .yui3-menu .yui3-menu-content{ - border: none; -} -#custommenu .yui3-menu-horizontal .yui3-menu-label, -#custommenu .yui3-menu-horizontal .yui3-menuitem .yui3-menuitem-content{ - border: none; - display: block; - color: #666; - padding: 6px 20px 0; - margin: 0; - height: 20px; - border-right: 1px solid #e3e3e3; -} -#custommenu .yui3-menu-horizontal .yui3-menu-label:hover, -#custommenu .yui3-menu-horizontal .yui3-menuitem .yui3-menuitem-content:hover{ - color: #000; - text-decoration: underline; - background: none; -} -#custommenu .yui3-menu-horizontal .yui3-menuitem-content {height: auto;} - -/* drop down levels */ -#custommenu .custom_menu_submenu li{ - padding: 0; - border-bottom: 1px solid #ddd; -} - -#custommenu .custom_menu_submenu li a{ - padding: 10px 15px; -} - -#custommenu .custom_menu_submenu .yui3-menuitem .yui3-menuitem-content{ - height: auto; - padding: 5px 15px; - margin: 0; - color: #373737; - border: none; -} -#custommenu .custom_menu_submenu .yui3-menuitem .yui3-menuitem-content:hover { - color: #000; -} -#custommenu .custom_menu_submenu .yui3-menuitem-active .yui3-menuitem-content{ - background-color: #efefef; color: #373737; -} -#custommenu .custom_menu_submenu .yui3-menu-label-menuvisible{ - background-color: #efefef; - color: #373737; -} -#custommenu .yui3-menu-label { background-image: none;} - -#custommenu .yui3-menu .yui3-menu .yui3-menu-label, -#custommenu .yui3-menu .yui3-menu .yui3-menu-label:hover { - background-image: url([[pix:theme|arrow-menu]]); - background-position: right center; - background-repeat: no-repeat; - background-color: #efefef; -} -#custommenu .custom_menu_submenu .yui3-menu-label { - height: auto; - font-weight: normal; - color: #373737; - padding: 5px 15px; - background: #efefef url([[pix:theme|arrow-menu]]) no-repeat right center; - border-right: 1px solid #e3e3e3; -} -#custommenu .custom_menu_submenu .yui3-menu-label:hover { - color: #000; - text-decoration: underline; -} -#custommenu .custom_menu_submenu .yui3-menu-content{ - background-color: #efefef; - border-width: 0; - margin: 2px 0 0 2px; - padding: 0; - position: relative; -} -#custommenu .custom_menu_submenu .yui3-menu-content ul{ - background-color: #efefef; - border: 1px solid #ddd; - margin: -2px 0 0 -2px -} -#custommenu .yui3-menu-horizontal .yui3-menu-label, -#custommenu .yui3-menu-horizontal .yui3-menu-label:hover -{ - background-image: none; -} - -#page-site-index #moodlemenu, -#page-my-index #moodlemenu{ - border-bottom-color: #ddd -} -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content .ul { - border: 0 none; -} - -#custommenu .javascript-disabled .yui3-menu-label, -#custommenu .javascript-disabled .yui3-menuitem-content{ - text-decoration: none -} -#custommenu .javascript-disabled .custom_menu_submenu .yui3-menuitem{ - padding: 0 -} -#custommenu .yui3-menu-horizontal.javascript-disabled li a { - padding: 6px 20px 0; -} - - -.ie6 #custommenu, -.ie6 #custommenu .yui3-menu, -.ie6 #custommenu .yui3-menu .yui3-menu-content, -.ie6 #custommenu .yui3-menu .yui3-menu-content ul, -.ie6 #custommenu .yui3-menu .yui3-menu-content ul li{ - float: left; - display: inline -} diff --git a/theme/splash/style/orange.css b/theme/splash/style/orange.css deleted file mode 100644 index 0bc0168c95141..0000000000000 --- a/theme/splash/style/orange.css +++ /dev/null @@ -1,84 +0,0 @@ -/******************************************************** -** -** Theme name: Splash -** Creation Date: 30/06/09 -** Author: Caroline Kennedy - Synergy Learning -** Author URI: http://synergylearning.com -** -*********************************************************/ - -body.splash-orange { - background:url([[pix:theme|bgorange]]) top left repeat-x -} -.splash-orange a:link, -.splash-orange a:visited, -.splash-orange a:active{ - color:#7c7165; -} -.splash-orange a:hover{ - color:#5f564c; -} -.splash-orange #region-main h1, -.splash-orange #region-main h3, -.splash-orange #region-main h6{ - color:#cb8f47; -} -.splash-orange #page-header{ - background:url([[pix:theme|pageheaderbgorange]]) top center no-repeat; -} -.splash-orange #logobox{ - background:url([[pix:theme|lbgv2orange]]) no-repeat; -} -.splash-orange #colourswitcher p{ - color:#cb8f47; -} -.splash-orange .navbar .breadcrumb a { - color:#cb8f47; -} -.splash-orange .navbar .arrow{color:#cb8f47; -} -.splash-orange .course-content ul.topics li.section .left{ - color:#cb8f47; -} -.splash-orange .mform fieldset legend{ - color:#cb8f47; -} -.splash-orange .tabtree .tabrow0 a:hover{ - color:#5f564c; -} -.splash-orange .tabtree .tabrow0 .here a { - color:#cb8f47; -} -.splash-orange .tabtree .tabrow0 .here a:hover{ - background:#fff; - color: #5f564c; -} -.splash-orange .tabtree .here ul .here a.nolink:hover{ - color:#cb8f47; -} -.splash-orange .coursebox{ - border-bottom:1px dashed #f0e7de; -} -.splash-orange .path-mod-quiz .qnbutton{ - background:#cb8f47; -} -.splash-orange .path-mod-quiz .qnbutton.open{ - background:#cb8f47; -} -.splash-orange .block-region .block .header{ - background:url([[pix:theme|sbheaderbg2orange]]) top center no-repeat; -} -.splash-orange .block .minicalendar td.weekend{ - color:#cb8f47; -} -.splash-orange.pagelayout-redirect { - border-top: 1px solid #5f564c; -} -.splash-orange #dock { - background-color:#cb8f47; - border-right:1px solid #7c7165; -} -.splash-orange #dock .dockedtitle { - border-top:1px solid #b6916a; - border-bottom:1px solid #5f564c; -} diff --git a/theme/splash/style/pagelayout.css b/theme/splash/style/pagelayout.css deleted file mode 100644 index 93ca683266f8e..0000000000000 --- a/theme/splash/style/pagelayout.css +++ /dev/null @@ -1,794 +0,0 @@ -/******************************************************** -** -** Theme name: Splash -** Creation Date: 29/01/12 -** Author: Caroline Kennedy - Synergy Learning -** Author URI: http://synergylearning.com -** -*********************************************************/ - -html, body{ - background:#fff; -} -#page{ - background:#fff; - padding:0; - width:960px; -} -#page-header{ - height:315px; - width:100%; -} -#page-content{ - background:#fff; - padding:0 0 20px; - width:960px; -} -#page-footer{ - color:#000; - margin-top:-2px; - position:relative; - width:100%; -} -#page-footer .logininfo { - color: #000; - padding: 1em 0; -} -#page-content #region-post, -#page-content #region-pre{ - padding-top:5px; -} -.headermain{ - float:left; - margin:0 0 3px; - padding:0; -} -.langmenu{ - text-align:left; -} -.headermain.inside{ - font-size:1em; - margin-left:10px; - margin-top:45px; -} -#userdetails{ - float:left; - height:60px; - margin-right:10px; - width:auto; -} -#userdetails h1{ - font-size:1.5em; - line-height:1; - margin-bottom:.5em; - text-align:left; - color:#fff; -} -#userdetails_loggedout{ - float:left; - height:60px; - margin-right:10px; -} -#userdetails_loggedout h1{ - font-size:1.5em; - padding-top:40px; - text-align:left; - color:#fff; -} -p.prolog{ - margin-bottom:0; - margin-top:25px; -} -p.prolog a:link { - color: #fff; - text-decoration: none; -} -#userimg{ - float:right; - margin-left:4px; -} -#colourswitcher{ - float:right; - height:30px; - padding:2px 0 0; - position:absolute; - right:4px; - text-align:left; - top:66px; - width:210px; -} -#colourswitcher ul{ - margin:0; - padding:0; -} -#colourswitcher ul li{ - display:inline; - list-style:none; - margin:0; - padding:0; -} -#colourswitcher p{ - color:#7c3041; -} -#logobox{ - float:left; - height:185px; - margin:auto; - padding:0 10px; - text-align:center; - width:200px; -} -#logobox a.nologoimage{ - display:block; - font-size:17px; - font-weight:600; - margin-top:40px; -} -#logobox img{ - max-width:230px; -} -#logobox h1{ - font-size:2em; - padding-top:40px; - text-align:center; -} -#logobox h4{ - font-size:.9em; - margin:0; - padding-top:20px; - text-align:center; -} -.navbar{ - border:none; - clear:both; - margin:0 10px; - padding:8px 10px 0; - width:98%; -} -.navbar .breadcrumb{ - font-size:.9em; - margin:0; - padding:10px 0; -} -.navbar .breadcrumb ul{ - display:inline; - padding-left:0; -} -.navbar .breadcrumb a, -.navbar .breadcrumb a:hover{ - text-decoration:underline; -} -.navbar .navbutton{ - margin:0; - padding:5px 0 0; -} -.navbutton input[type=submit]{ - cursor:pointer; - margin:0; - padding:3px 5px; -} -.navbutton input[type=submit], -.navbutton input[type=submit]:hover{ - border:0 none; -} -#frontbox{ - height:155px; - margin-bottom:20px; - padding:0 0 0 400px; -} -#region-main #frontbox h1{ - padding-top:25px; -} -#region-main #frontbox p{ - padding-top:15px; -} -#headermenu{ - float:right; - font-size:.9em; - height:80px; - margin:20px 0 0; - padding:5px; - position:relative; - text-align:right; - width:210px; -} -.headermenu{ - clear:right; - float:right; - font-size:.9em; - margin:10px 0 0 15px; -} -.logininfo{ - color:#fff; - margin:0; - padding:10px 10px 10px 40px; -} -.logininfo a{ - color:#fff; - text-decoration:underline; -} -.logininfo a:hover{ - color:#fff; -} -#headermenu .langmenu{ - position:relative; - top:30px; - width:210px; -} -a, -.img-text a:hover, -.homelink a, -.homelink a:hover{ - text-decoration:none; -} -a:hover, -.img-text a:hover span{ - text-decoration:underline; -} -#region-main h1{ - font-size:1.8em; - font-weight:400; - line-height:1.8em; - padding:10px 0; -} -#region-main h2{ - font-size:1.6em; - font-weight:400; - line-height:1.6em; - margin:0!important; - padding:3px; - border-bottom:1px solid #d1cece; - color:#333; -} -#region-main h3{ - font-size:1.4em; - font-weight:400; - line-height:1.4em; - padding:10px 0; -} -#region-main h4{ - font-size:1.2em; - font-weight:400; - line-height:1.2em; - padding:10px 0; -} -#region-main h5{ - font-size:1.1em; - font-weight:700; - line-height:1em; - padding:10px 0; - font-style:italic; - color:#333; -} -#region-main h6{ - font-size:1.1em; - font-weight:700; - line-height:1em; - padding:10px 0; -} -h2,h3,h4,h5,h6{ - text-align:left; -} -#region-main h2{ - font-size:1.6em; - font-weight:400; - line-height:1.6em; - margin:0 0 10px; - padding:3px; -} -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2 { - font-size:1.6em; - font-weight:400; - line-height:1.6em; - margin:0 0 10px; - padding:3px; -} -#region-main .coursebox h3{ - font-size:1em; -} -#region-main p{ - line-height:1.5em; - margin:0; - padding:0 0 5px; -} -.no-overflow{ - margin:0; - padding:0 0 5px; -} -#region-main blockquote{ - font-style:italic; - padding:10px 30px; -} -.generalbox{ - display:block; - margin-top:2px; - width:98%; -} -.generalbox ul{ - padding:0 0 0 20px; -} -.generalbox ul li{ - list-style:disc; - padding:5px 0 5px 10px; -} -.generalbox ol{ - padding:0 0 0 20px; -} -.generalbox ol li{ - padding:5px 0 5px 10px; -} -.summary ul{ - padding:10px 0 0 40px; -} -.summary ul li{ - list-style:disc; - padding:0 0 10px 5px; -} -.summary ol{ - padding:0 0 0 20px; -} -.summary ol li{ - padding:5px 0 5px 10px; -} -input[type=submit]{ - border:none; - cursor:pointer; - margin:1px 5px; - padding:3px 5px; -} -input[type=submit]:hover{ - border:0 none; -} -input[type=button]{ - border:none; - cursor:pointer; - margin:1px 5px; - padding:3px 5px; -} -input[type=button]:hover{ - border:none; -} -input[disabled=disabled]{ - border:none; - cursor:crosshair; - font-size:1.2em; - font-weight:400; - margin:0 5px; - padding:3px 5px; -} -input[disabled=disabled]:hover{ - border:none; -} -#headersearch input[type=submit]{ - border:none; - clear:none; - cursor:pointer; - float:right; - font-weight:400; - height:26px; - margin:0; - padding:3px 6px 4px 4px; - vertical-align:top; - width:30px; -} -#headersearch input[type=submit]:hover{ - border:none; - clear:none; - cursor:pointer; - float:right; - font-weight:400; - height:26px; - margin:0; - padding:3px 6px 4px 4px; - vertical-align:top; - width:30px; -} -input[type=text],textarea,select,input[type=password]{ - margin-right:2px; - padding:3px; -} -#headersearch input[type=text], -#headersearch textarea, -#headersearch select, -#headersearch input[type=password]{ - border:none; - clear:none; - float:right; - font-size:.9em; - height:15px; - margin-top:0; - padding-top:5px; - width:150px; -} -.block{ - border:none; - margin-bottom:20px; - width:210px!important; -} -.block hr{ - display:none; -} -.searchform{ - padding-top:10px; -} -.block .header .block_action{ - padding:15px 10px 0 0; -} -.block-region .block .header h2{ - font-size:1.2em; - margin:0; - padding:15px 0 10px 10px; -} -.block-region .commands{ - border:none; - clear:both; - margin:0; - padding:5px 0 0 10px; - margin: 0 10px; -} -.block-region .block .content .commands{ - border:0 none; - clear:both; - margin:0; - padding:5px 0 0 10px; -} -.block .header .commands{ - margin-left:0; -} -.block-region .block .content{ - padding:10px; -} -.tree_item{ - border-bottom:#ddd 1px solid; - padding:5px; -} -.block_navigation .block_tree li.depth_2 ul{ - padding-left:8px; -} -.unlist, -.unlist li, -.inline-list, -.inline-list li, -.block .list, -.block .list li, -.sitetopic .section li, -.course-content .section li.activity { - padding-bottom:5px; -} -.minicalendar{ - background:none; - font-size:1em; -} -.minicalendar td,.minicalendar th{ - border:none; - padding:5px 0!important; -} -.minicalendar th{ - font-weight:700; -} -.block-region .block_myprofile .fullname{ - clear:both; - font-size:1.2em; - padding-bottom:10px; - text-align:center; -} -.block_myprofile img.profilepicture{ - margin-left:50px; -} -.course-content ul.topics li.section .left{ - font-size:1.2em; - font-weight:700; - padding:10px 0 0; -} -.coursebox{ - border:none; - padding-bottom:20px; -} -.generaltable{ - border:1px solid #ddd; - border-collapse:collapse; -} -.generaltable th.header{ - border-left:none; - border-right:none; - padding:5px; -} -.generaltable.mdl-align{ - margin:0 auto; -} -.generaltable td{ - padding:5px; - vertical-align:top; -} -.generaltable .cell{ - padding:5px; -} -.generalbox th.header{ - border-left:none; - border-right:none; - padding:5px; -} -.generalbox.mdl-align{ - margin:0 auto; -} -.generalbox td{ - padding:5px; - vertical-align:top; -} -.generalbox .cell{ - padding:5px; -} -.editcourse th, -.generaltable th, -#page-admin-course-manage .generalbox th, -#attempts th, -.plugincompattable th, -.environmenttable th,.forumheaderlist th { - padding:5px; -} -.editcourse td,.generaltable td, -#page-admin-course-manage .generalbox td, -#attempts td, -.plugincompattable td, -.environmenttable td, -.forumheaderlist td{ - padding:5px; - vertical-align:top; -} -.box.generalbox.sitetopic{ - margin-bottom:20px; -} -.pagelayout-report #report-main-content .region-content table{ - width:90%; - margin:0 auto; - word-wrap:break-word; -} -.mform fieldset{ - margin:20px 0; - padding:0; -} -.mform fieldset legend{ - font-size:1.3em; -} -.filepicker-filelist{ - margin-top:10px; -} - -.tabtree{ - margin-bottom:3.5em; - margin-top:20px; -} -.tabtree .tabrow0{ - font-size:1em; - line-height:1.8em; - list-style:none; - margin:0; - padding:0; - text-align:center; -} -.tabtree .tabrow0 li{ - margin:0; -} -.tabtree .tabrow0 a, -.tabtree .tabrow0 .here a, -.tabtree .tabrow0 a:link, -.tabtree .tabrow0 .here a:link, -.tabtree .tabrow0 a:visited, -.tabtree .tabrow0 .here a:visited{ - font-weight:400; - margin:0!important; - padding:4px 10px!important; - text-decoration:none; -} -.tabtree .tabrow0 a:hover{ - padding:4px 10px; -} -.tabtree .tabrow0 a span, -.tabtree .tabrow0 .here a span, -.tabtree .tabrow0 a:hover span, -.tabtree .tabrow0 .here a:hover span{ - background-image:none; - margin:0; - padding:0!important; -} -.tabtree .tabrow0 .empty{ - display:none; -} - -.tabtree .tabrow0 div, -.tabtree .tabrow0 ul{ - left:0; - line-height:normal; - list-style:none; - padding:5px 0; - position:absolute; - top:1.8em; - width:100%; -} -.tabtree .here a.nolink, -.tabtree .here ul .here a.nolink, -.tabtree .here a.nolink:hover, -.tabtree .here ul .here a.nolink:hover{ - margin:0!important; - padding:4px 10px!important; -} -.tabtree .tabrow0 .tabrow1{ - margin-top:-1px; -} -.que{ - margin-bottom:10px; - padding:10px; -} -.que .formulation{ - margin:0; - padding:0; -} -.que .content{ - margin:0; - padding:0; - width:auto; -} -.que .prompt{ - margin:0; - padding:0; - width:auto; -} -.grading{ - font-weight:700; - padding:10px 0; -} -.qtext{ - font-size:1.2em; - font-weight:700; - padding-top:12px; -} -table.quizreviewsummary { - margin:10px 0 10px 30px; - width:90%; -} -#page-mod-quiz-attempt .submitbtns, -#page-mod-quiz-review .submitbtns, -#page-mod-quiz-summary .submitbtns{ - padding:10px; -} -#page-mod-quiz-edit .questionbankwindow div.header { - font-size:1em; - margin:0; - padding:0; -} -#page-mod-quiz-edit #region-main .questionbankwindow h2 { - background:none; - font-size:1em; - font-weight:700; - margin:0; - padding:10px 0 10px 10px; -} -#page-mod-quiz-edit .questionbankwindow div.header a { - font-weight:400; -} -#page-mod-quiz-edit div.quizpage .pagecontent .pagestatus { - font-weight:700; -} -#page-mod-quiz-edit div.quizpage span.pagetitle { - font-weight:700; - margin-top:10px; -} -#page-mod-quiz-edit .editq div.question div.qnum { - font-size:1.2em; - font-weight:700; - padding-top:3px; -} -#page-mod-quiz-edit .questionbank div.categoryquestionscontainer, -#page-mod-quiz-edit .questionbank .categorysortopotionscontainer, -#page-mod-quiz-edit .questionbank .categorypagingbarcontainer, -#page-mod-quiz-edit .questionbank .categoryselectallcontainer { - padding: 0; - margin: 0 0.3em; -} -#page-mod-quiz-edit form#displayoptions fieldset.invisiblefieldset div { - margin: 0.3em; -} -#page-mod-quiz-edit div.container div.generalbox { - width: 100%; -} -#page-mod-quiz-edit #categoryquestions .header { - background: 0 none; -} -#page-admin-plugins #plugins-control-panel{ - display:block; - font-size:.9em; - overflow:hidden; - width:99%; -} -.forumpost{ - padding-bottom:30px; -} - -.forumpost .row.header{ - background:none; - border-bottom:none; -} - -.forumpost .content .posting{ - padding-top:5px; -} - -.forumpost .subject{ - padding-top:5px; -} -.helplink{ - padding-top:5px; -} - -#footer-wrapper{ - margin:auto; - padding-top:20px; - width:960px; -} - -#footnote -{ - margin:20px 0; - padding:0 5px; - text-align:right; -} -.pagelayout-redirect{ - background-position:0 0; -} - -.pagelayout-redirect #content{ - margin-top:150px; -} -.pagelayout-report #page #page-header{ - margin:0 auto; - width:960px; -} -.pagelayout-report #page-content #report-main-content .region-content h2{ - margin:5px 0; -} -.jsenabled .collapsed .collapsibleregioninner{ - visibility:visible; -} -.dir-ltr,.mdl-left,.dir-rtl .mdl-right{ - margin-bottom:10px; - text-align:left; -} -#dock { - width:30px; - position:fixed; - top:0px; - left:0px; - height:100%; - z-index:11000; -} -#dock.nothingdocked { - visibility: hidden; - display:none; -} -#dock .dockeditem .firstdockitem { - margin-top:1em; -} -#dock .dockedtitle { - cursor:pointer; -} -/* SIDE-POST-ONLY --------------------------*/ -.side-post-only #page-content #region-main-box{ - left:0; - padding-top:10px; -} - -body#page-lib-editor-tinymce-plugins-moodlemedia-preview #page { - width: 100%; -} -body#page-lib-editor-tinymce-plugins-moodlemedia-preview { - min-height: 100%; - margin-bottom: 0; -} - -body#page-lib-editor-tinymce-plugins-moodlemedia-preview .mediaplugin { - padding-top: 10px; -} \ No newline at end of file diff --git a/theme/splash/style/red.css b/theme/splash/style/red.css deleted file mode 100644 index 3c1041d23737f..0000000000000 --- a/theme/splash/style/red.css +++ /dev/null @@ -1,97 +0,0 @@ -/******************************************************** -** -** Theme name: Splash -** Creation Date: 30/06/09 -** Author: Caroline Kennedy - Synergy Learning -** Author URI: http://synergylearning.com -** -*********************************************************/ - -body { - background: url([[pix:theme|bg]]) top left repeat-x; -} -a, a:link, a:active { - color:#853650; - text-decoration:none; -} -a.autolink { - color:#853650; - background:#fff; -} -a:hover { - text-decoration:underline; - color:#6d1523; -} -.homelink a { - color:#853650; -} -#region-main h1, -#region-main h3, -#region-main h6 { - color:#853650; -} -#page-header { - background: url([[pix:theme|pageheaderbgred]]) top center no-repeat; - width:100%; -} -.pagelayout-report #page-header { - background: url([[pix:theme|pageheaderbgred]]) top center no-repeat; -} -#colourswitcher { - background: url([[pix:theme|selectbg]]) top left repeat-x;} -#colourswitcher p { - color:#7c3041; -} -#logobox { - background: url([[pix:theme|lbgv2]]) no-repeat; -} -.navbar .breadcrumb a { - color:#853650; -} -.navbar .arrow { - color:#853650; -} -.block-region .block .header { - background: url([[pix:theme|sbheaderbg2]]) top center no-repeat; -} -.mform fieldset legend { - color:#853650; -} -.tabtree .tabrow0 a:hover{ - color:#6d1523; -} -.tabtree .tabrow0 .here a { - color:#853650; -} -.tabtree .tabrow0 .here a:hover{ - background:#fff; - color: #6d1523; -} -.tabtree .here ul .here a.nolink:hover { - color:#853650; -} -.coursebox { - border-bottom: 1px dashed #cbd3d6; -} -.path-mod-quiz .qnbutton { - background:#853650; - color:#fff; -} -.path-mod-quiz .qnbutton.open { - background:#853650; -} -.pagelayout-redirect { - border-top: 1px solid #6d1523; -} -#dock { - background-color:#853650; - border-right:1px solid #853650; -} -#dock .dockedtitle { - border-top:1px solid #7B4F5F; - border-bottom:1px solid #6d1523; -} -#dock .dockedtitle h2 { - color: #fff; - padding: 10px 0; -} diff --git a/theme/splash/style/settings.css b/theme/splash/style/settings.css deleted file mode 100644 index 08d1bea660b4a..0000000000000 --- a/theme/splash/style/settings.css +++ /dev/null @@ -1,10 +0,0 @@ -/******************************************************** -** -** Theme name: Splash -** Creation Date: 29/01/12 -** Author: Caroline Kennedy - Synergy Learning -** Author URI: http://synergylearning.com -** -*********************************************************/ - -[[setting:customcss]] diff --git a/theme/splash/version.php b/theme/splash/version.php deleted file mode 100644 index dcfa59929ebd3..0000000000000 --- a/theme/splash/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_splash - * @copyright 2012 Caroline Kennedy - Synergy Learning - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_splash'; // Full name of the plugin (used for diagnostics) -$plugin->dependencies = array( - 'theme_canvas' => 2013110500, -); diff --git a/theme/standard/config.php b/theme/standard/config.php deleted file mode 100644 index 73c25950d622f..0000000000000 --- a/theme/standard/config.php +++ /dev/null @@ -1,47 +0,0 @@ -. - -/** - * Configuration for Moodle's standard theme. - * - * This theme is the default theme within Moodle 2.0, it builds upon the base theme - * adding only CSS to create the simple look and feel Moodlers have come to recognise. - * - * For full information about creating Moodle themes, see: - * http://docs.moodle.org/dev/Themes_2.0 - * - * @package theme_standard - * @copyright 2010 Sam Hemelryk - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$THEME->name = 'standard'; -$THEME->parents = array('base'); -$THEME->sheets = array( - 'core', /** Must come first**/ - 'admin', - 'blocks', - 'calendar', - 'course', - 'user', - 'dock', - 'grade', - 'message', - 'modules', - 'question', - 'css3' /** Sets up CSS 3 + browser specific styles **/ -); -$THEME->enable_dock = true; diff --git a/theme/standard/lang/en/theme_standard.php b/theme/standard/lang/en/theme_standard.php deleted file mode 100644 index d97992c829a5f..0000000000000 --- a/theme/standard/lang/en/theme_standard.php +++ /dev/null @@ -1,29 +0,0 @@ -. - -/** - * Strings for component 'theme_standard', language 'en', branch 'MOODLE_20_STABLE' - * - * @package theme_standard - * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Standard'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = 'This theme is a very basic white theme, with a minimum amount of CSS added to the base theme to make it actually usable.'; diff --git a/theme/standard/pix/favicon.ico b/theme/standard/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/standard/pix/favicon.ico and /dev/null differ diff --git a/theme/standard/pix/hgradient.jpg b/theme/standard/pix/hgradient.jpg deleted file mode 100644 index 96825ddc1ca22..0000000000000 Binary files a/theme/standard/pix/hgradient.jpg and /dev/null differ diff --git a/theme/standard/pix/screenshot.png b/theme/standard/pix/screenshot.png deleted file mode 100644 index 7dfa0b5d67a75..0000000000000 Binary files a/theme/standard/pix/screenshot.png and /dev/null differ diff --git a/theme/standard/pix/tab/left.gif b/theme/standard/pix/tab/left.gif deleted file mode 100644 index 48b6628891308..0000000000000 Binary files a/theme/standard/pix/tab/left.gif and /dev/null differ diff --git a/theme/standard/pix/tab/left_active.gif b/theme/standard/pix/tab/left_active.gif deleted file mode 100644 index bd72d635568f9..0000000000000 Binary files a/theme/standard/pix/tab/left_active.gif and /dev/null differ diff --git a/theme/standard/pix/tab/left_active_hover.gif b/theme/standard/pix/tab/left_active_hover.gif deleted file mode 100644 index f1af440a15fdc..0000000000000 Binary files a/theme/standard/pix/tab/left_active_hover.gif and /dev/null differ diff --git a/theme/standard/pix/tab/left_hover.gif b/theme/standard/pix/tab/left_hover.gif deleted file mode 100644 index ea8c9705ed139..0000000000000 Binary files a/theme/standard/pix/tab/left_hover.gif and /dev/null differ diff --git a/theme/standard/pix/tab/right.gif b/theme/standard/pix/tab/right.gif deleted file mode 100644 index feddbb73d55bf..0000000000000 Binary files a/theme/standard/pix/tab/right.gif and /dev/null differ diff --git a/theme/standard/pix/tab/right_active.gif b/theme/standard/pix/tab/right_active.gif deleted file mode 100644 index ad87b27a4ee58..0000000000000 Binary files a/theme/standard/pix/tab/right_active.gif and /dev/null differ diff --git a/theme/standard/pix/tab/right_active_hover.gif b/theme/standard/pix/tab/right_active_hover.gif deleted file mode 100644 index c8b2883d53875..0000000000000 Binary files a/theme/standard/pix/tab/right_active_hover.gif and /dev/null differ diff --git a/theme/standard/pix/tab/right_end.gif b/theme/standard/pix/tab/right_end.gif deleted file mode 100644 index 2cb44de6c571a..0000000000000 Binary files a/theme/standard/pix/tab/right_end.gif and /dev/null differ diff --git a/theme/standard/pix/tab/right_hover.gif b/theme/standard/pix/tab/right_hover.gif deleted file mode 100644 index 301b3f670862b..0000000000000 Binary files a/theme/standard/pix/tab/right_hover.gif and /dev/null differ diff --git a/theme/standard/pix/tab/right_last.gif b/theme/standard/pix/tab/right_last.gif deleted file mode 100644 index dd346f6c52692..0000000000000 Binary files a/theme/standard/pix/tab/right_last.gif and /dev/null differ diff --git a/theme/standard/pix/tab/rtlbg.gif b/theme/standard/pix/tab/rtlbg.gif deleted file mode 100644 index ba7831333af59..0000000000000 Binary files a/theme/standard/pix/tab/rtlbg.gif and /dev/null differ diff --git a/theme/standard/pix/tab/tabrow1.gif b/theme/standard/pix/tab/tabrow1.gif deleted file mode 100644 index db1ffa66c4730..0000000000000 Binary files a/theme/standard/pix/tab/tabrow1.gif and /dev/null differ diff --git a/theme/standard/pix/vgradient.jpg b/theme/standard/pix/vgradient.jpg deleted file mode 100644 index 85849e5dae3f8..0000000000000 Binary files a/theme/standard/pix/vgradient.jpg and /dev/null differ diff --git a/theme/standard/style/admin.css b/theme/standard/style/admin.css deleted file mode 100644 index a95c0482f2b16..0000000000000 --- a/theme/standard/style/admin.css +++ /dev/null @@ -1,152 +0,0 @@ -/** Admin **/ - -#page-admin-course-manage .rolelink {text-align:right;padding:10px;} - -#page-admin-lang .generalbox, -#page-admin-course-manage .singlebutton, -#page-admin-course-manage .addcategory, -#page-admin-stickyblocks .generalbox, -#page-admin-maintenance .buttons, -#page-admin-course-manage .buttons, -#page-admin-index .copyright, -#page-admin-index .copyrightnotice, -#page-admin-index .adminerror, -#page-admin-index .adminwarning, -#page-admin-index .adminerror .singlebutton, -#page-admin-index .adminwarning .singlebutton, -#page-admin-index #layout-table .singlebutton {text-align: center;} - -#page-admin-index .adminerror, -#page-admin-index .adminwarning {margin:20px;} - -#page-admin-index .releasenoteslink {margin-left:auto;margin-right:auto;text-align:center;width:60%;} - -#page-admin-enrol .enrolplugintable {width:700px;margin:1em auto;} - -#page-admin-report-capability-index #settingsform h2, -#page-admin-report-capability-index #settingsform p, -#page-admin-report-capability-index #settingsform #menucapability, -#page-admin-report-capability-index #settingsform #menuroles, -#page-admin-report-capability-index #settingsform #capabilitysearchui {margin:0.5em 1em 0.2em 1em;} -#page-admin-report-questioninstances-index #settingsform h2 {margin-top: 0;} -#page-admin-report-questioninstances-index #settingsform p {margin-bottom: 0;} -#page-admin-report-questioninstances-index #settingsform p {margin-bottom: 0;} - -.plugincheckwrapper {text-align: center;} - -#page-admin-index .explanation, -.path-admin-roles .cell.c1, -.path-admin-roles .cell.c3 {font-size: 0.7em;} -#adminsettings .form-shortname, -#admin-lang .translator .strkey {font-size: 0.75em;} -#page-admin-index .copyright, -.environmenttable, -#adminsettings .form-defaultinfo, -#page-admin-uploaduser table#uupreview, -#adminsettings .form-warning, -#adminsettings .form-overridden, -#page-admin-uploaduser table#uuresults {font-size: 0.9em;} -#page-admin-auth_config .required {background-color:#DDDDDD;} -#page-admin-tool-unittest-index .sep {color:#AAAAAA;} -.path-admin-roles .capabilitysearchui {text-align:center;margin:0.5em;} - -.path-admin .rolecap .cap-name, -.path-admin .rolecap .note {color: #888;font-size: 0.75em;} - -#page-admin-blocks table.generaltable th, -#page-admin-blocks table.generaltable td.cell, -#page-admin-filters table.generaltable th, -#page-admin-filters table.generaltable td.cell, -#page-admin-modules table.generaltable th, -#page-admin-modules table.generaltable td.cell, -#page-admin-auth table.generaltable th, -#page-admin-auth table.generaltable td.cell{text-align: center;vertical-align: middle;} -#page-admin-blocks table.generaltable th.c0, -#page-admin-blocks table.generaltable td.c0, -#page-admin-filters table.generaltable th.c0, -#page-admin-filters table.generaltable td.c0, -#page-admin-modules table.generaltable th.c0, -#page-admin-modules table.generaltable td.c0, -#page-admin-auth table.generaltable th.c0, -#page-admin-auth table.generaltable td.c0 {text-align: left;} - -#page-filter-manage .buttons, -.path-admin-roles .buttons {margin: 20px;text-align:center;} - -#filter-manage .backlink, -.path-admin-roles .backlink {text-align: right;width: 90%;margin: 2em auto 1em auto;} - -.admin .generalboxcontent {background-color:#EEEEEE;} -.admin .generalbox {border-color:#BBBBBB;background-color:#EEEEEE;} -.admin .informationbox {border-color:#BBBBBB;background-color:#FFFFFF;} -#page-admin-index .adminwarning {background-color:#f3f2aa;} -#page-admin-index .adminerror {background-color:#ffd3d9;} -#page-admin-index .c0 {background-color: #FAFAFA;} -.path-admin .blockstable > tbody > tr:nth-of-type(odd) {background-color: #F0F0F0;} -.path-admin .blockstable > tbody > tr:nth-of-type(even) {background-color: #FAFAFA;} -.path-admin .incompatibleblockstable td.c0 {color: #ff0000;} -table.flexible > tbody > tr:nth-of-type(odd) {background-color: #F0F0F0;} -table.flexible > tbody > tr:nth-of-type(even) {background-color: #FAFAFA;} -#page-admin-report-security-index #timewarning {text-align:center;} - -#adminsettings fieldset {background-color: #EEE;border:1px solid #BBB;color: #000;} -#adminsettings fieldset.error {border: 1px solid red;} -#adminsettings fieldset.error legend {color: red;} -#adminsettings .form-shortname {color: #888;} -#adminsettings .form-overridden {background-color: #ff6;} -#adminsettings .form-warning {background-color: #f88;} -#adminsettings .form-defaultinfo {color: #888;} -#adminsettings .form-item .pathok {color: green;} -#adminsettings .form-item .patherror {color: red;} - -#page-admin-qtypes .cell.c1, -#page-admin-qtypes .cell.c2 {text-align: center;} -#page-admin-qtypes .cell.c3 {font-size: 0.7em;} - -#page-admin-lang .translator {border-color: #DDDDDD;} -#page-admin-lang .translator > tbody > tr:nth-of-type(odd) {background-color: #F0F0F0;} -#page-admin-lang .translator > tbody > tr:nth-of-type(even) {background-color: #FAFAFA;} -#page-admin-lang .translator .strkey {color: #666666;} -#page-admin-lang .translator .bothmissing {background-color: #EF6868;} -#page-admin-lang .translator .mastermissing {background-color: #FEFF7F;} -#page-admin-lang .translator .localdifferent {background-color: #AAFFAA;} -.environmenttable .error {background-color : red;color : inherit;} -.environmenttable .warn {background-color : yellow;} -.environmenttable .ok {background-color : lime;} -#page-admin-uploaduser .uuinfo {background-color: #8e8;} -#page-admin-uploaduser .uuwarning {background-color: #ee8;} -#page-admin-uploaduser .uuerror {background-color: #e99;} -#page-admin-xmldb-index .button, -#page-admin-xmldb-index .buttons {color: gray;} -#adminthemeselector .selectedtheme td.c0 {border-width:2px;} -#adminthemeselector .selectedtheme td.c1 {border-width:2px;} -#page-admin-roles-override .capcurrent {background-color:#FFFFFF;border: 1px solid #CECECE;} - -#page-admin-roles-define .capdefault {background-color:#DDDDDD;border: 1px solid #CECECE;} -#page-admin-roles-manage .rolecap, -#page-admin-roles-override .rolecap {border:none;border-bottom:1px solid #CECECE;} - -.path-admin #manageauthtable {width:90%;margin:0 auto;} - -#explaincaps .rolecap.yes {background-color: #DDFFDD;} -#explaincaps .rolecap.no {background-color: #FFDDDD;} - - -/** -* Web services -*/ -#page-admin-webservice-service_users .missingcaps {color: #ff6600;font-size: 90%;} -#page-admin-setting-webservicetokens .missingcaps {color: #ff6600;font-size: 90%;} -#page-admin-webservice-service_functions .functiondesc {font-size: 90%;} - -/** - * Right to left fixes - */ -#page-admin-blocks.dir-rtl .generaltable th.c0, -#page-admin-blocks.dir-rtl .generaltable td.c0, -#page-admin-filters.dir-rtl .generaltable th.c0, -#page-admin-filters.dir-rtl .generaltable td.c0, -#page-admin-modules.dir-rtl .generaltable th.c0, -#page-admin-modules.dir-rtl .generaltable td.c0, -#page-admin-auth.dir-rtl .generaltable th.c0, -#page-admin-auth.dir-rtl .generaltable td.c0 {text-align: right;} diff --git a/theme/standard/style/blocks.css b/theme/standard/style/blocks.css deleted file mode 100644 index 88e8cdade530e..0000000000000 --- a/theme/standard/style/blocks.css +++ /dev/null @@ -1,85 +0,0 @@ -/** General **/ -.block {border:1px solid #DDD;} -.block .header {border-bottom:1px solid #DDD;border-color: #dddddd;} -.block .header h2 {font-size:1em;} -.block .content {border-color: #dddddd;background-color:#FCFCFC;} -.block .content hr {border-top-color:#999999;} -.block .header .commands {font-size:0.9em;clear:both;} -.block .footer {font-size:0.9em;text-align:center;clear:both;} -.block.beingmoved {border-color: #f88;} - -.block .header, -.block h2.header {text-align: left;margin:0;padding:4px;border-bottom-width: 0;} -.block .content h2 {text-align: left;margin:1.5em 0 0;padding:0;} -.block .content h3 {text-align: left;} -.dir-rtl .block .content h3 {text-align: right;} -.block .content hr {height:1px;margin-top:4px;margin-bottom:4px;border:none;border-top:1px solid;padding:0;} -.block .content .head {margin-top: 10px;} -.block .header .icon.hide, -.block .header .icon.edit {margin-right: 6px;} - -.block-region .hidden .header {border-bottom-color: #dddddd;} -.blockannotation {color:#aaa;} -.blockmovetarget {background-color: #fcc;border-color: #f88;} -.blockmovetarget:hover {background-color: #f88;border-color: #c00;} - -/** Admin tree **/ -.block_admin_tree .link.current {background-color:#EEEEEE;} -.block_admin_tree .link.criticalnotification {background-color:#FF6666;} -.block_admin_tree .link.hidden {color:#999999;} - -/** Blog Tags **/ -.block_blog_tags .official {color: #0000cc;} -.block_blog_tags .personal {color: #666699;} - -/** Calendar Month **/ -.block_calendar_month abbr {border-width:0;} -.block_calendar_month .eventnone a {text-decoration:none;color:black;cursor:text;} -.calendar-event-panel .yui3-widget-hd {background-image:url([[pix:theme|hgradient]]);background-repeat: repeat-x;background-color:#e1e1df;border-bottom:1px solid #ddd;} - -/** Calendar Upcoming **/ -.block_calendar_upcoming .event .date {text-align:right;} -.dir-rtl .block_calendar_upcoming .event .date {text-align:left;} - -/** Course Overview **/ -.block_course_overview .coursebox h3 {margin: 10px;} - -/** Login Block **/ -.block_login .loginform .c1 {margin:0.3em 0.8em;text-align:right;} -.block_login .loginform .c1.fld input {width:5em;} -.block_login .loginform .c1.fld label {padding-right: 4px;} -.block_login .loginform .c1.btn {text-align:center;} - -/** Latest News Block **/ -.block_news_items .newlink {text-align: center;} -.block_news_items .post .head {margin-top:10px;} -.block_news_items .post .head .date {font-style: italic;} -.block_news_items .post .info {text-align:center;} - -/** Messages **/ -.block_messages .content .list li.listentry {font-size:0.75em;} - -/** Online Users **/ -.block_online_users .content .list li.listentry {font-size:0.75em;} -.block_online_users .content .list li.listentry img {border:#888} - -/** Quiz Results **/ -.block_quiz_results {text-align: center;} -.block_quiz_results h1 {margin: 4px;font-size: 1.1em;} -.block_quiz_results table.grades {text-align: left;width: 100%;} -.block_quiz_results table.grades .number, -.block_quiz_results table.grades .grade {text-align: right;width: 10%;} -.block_quiz_results table.grades caption {margin: 1em 0px 0px 0px;border-bottom-width: 1px;border-bottom-style: solid;font-weight: bold;} - -/** Recent Activity **/ -.block_recent_activity .activitydate, -.block_recent_activity .activityhead {font-size:0.9em;} - -/** RSS Client **/ -.block_rss_client .image {text-align:center;} -.block_rss_client .list li {font-size:0.85em;border-top-color:#DDD;} -.block_rss_client .list li .description {color:#555555;font-size:0.8em;padding-left:1em;} - -/** Site main menu **/ -.block_site_main_menu .footer select, -.block_site_main_menu .footer input {font-size: 0.8em;} diff --git a/theme/standard/style/calendar.css b/theme/standard/style/calendar.css deleted file mode 100644 index dc8bdfb96f830..0000000000000 --- a/theme/standard/style/calendar.css +++ /dev/null @@ -1,59 +0,0 @@ -/** Calendar **/ -.path-calendar .region-main h1 {font-size:1.0em;margin:0;} -.path-calendar .region-main h2, -.path-calendar .region-main h3 {text-align: center;} - -.path-calendar .maincalendar {border:1px solid #DDDDDD;} -.path-calendar .maincalendar div.header {font-weight:bold;padding:2px 4px 6px;} -.path-calendar .maincalendar .filters {width:98%;margin:10px auto;} -.path-calendar .maincalendar .filters table {background-color: #EEEEEE;} -.path-calendar .maincalendar .eventlist {padding: 10px;} -.path-calendar .maincalendar .eventlist .event {border-color:#DDDDDD;} -.path-calendar .maincalendar .eventlist .event .referer {font-weight:bold;} -.path-calendar .maincalendar .eventlist .event .course {font-size:0.8em;} -.path-calendar .maincalendar .eventlist .event .description {padding:5px;} -.path-calendar .maincalendar .eventlist .event .description .commands {text-align: right;} -.dir-rtl.path-calendar .maincalendar .eventlist .event .description .commands {text-align: left;} -.path-calendar .maincalendar .eventlist .event .topic {background-color:#EEEEEE;padding: 5px;border:0px solid #EEEEEE;border-bottom-width: 1px;} -.path-calendar .maincalendar .eventlist .event .picture {background-color:#EEEEEE;padding:8px;} -.path-calendar .maincalendar .eventlist .event .side {background-color:#EEEEEE;} -.path-calendar .maincalendar .calendarmonth th {border-color: #000000;} -.path-calendar .maincalendar .calendarmonth td {font-size:0.8em;} -.path-calendar .maincalendar .calendarmonth ul.events-underway {color:#999999;} -.path-calendar .maincalendar .controls {font-size:1.2em;} -.path-calendar .maincalendar .day {font-weight: bold;} -.path-calendar .maincalendar .cal_courses_flt {text-align:center;margin:5px;} -.path-calendar .maincalendar .calendar-controls .current {font-weight: bold;} - -.path-calendar .minicalendarblock h3 {font-size:1.0em;margin:0;font-weight:normal;text-align:center;} - -.calendartable a {color:#000077;} -.calendartable th, -.calendartable td {border-width:0;} - -.calendartable .hasevent {border:2px solid;} -.calendar_event_course {border-color: #FFD3BD;} -.calendar_event_global {border-color: #D6F8CD;} -.calendar_event_group {border-color: #FEE7AE;} -.calendar_event_user {border-color: #DCE7EC;} - -.calendartable .duration.duration_global {border-top-color:#66D14D; border-bottom-color:#66D14D;} -.calendartable .duration.duration_course {border-top-color:#FF9966; border-bottom-color:#FF9966;} -.calendartable .duration.duration_course0 {border-top-color:#FF9966; border-bottom-color:#FF9966;} -.calendartable .duration.duration_course1 {border-top-color:#0099FF; border-bottom-color:#0099FF;} -.calendartable .duration.duration_course2 {border-top-color:#FFFF00; border-bottom-color:#FFFF00;} -.calendartable .duration.duration_group {border-top-color:#FBBB23; border-bottom-color:#FBBB23;} -.calendartable .duration.duration_user {border-top-color:#A1BECB; border-bottom-color:#A1BECB;} - -.calendartable .weekend {color:#990000;} -.calendartable .today {border:2px solid #444444;} -.calendartable .nottoday {border-color:#EEEEEE;} -.calendartable .eventnone a {text-decoration:none;color:black;cursor:text;} - -.block .minicalendar {font-size:0.85em;border:1px solid #DDDDDD;margin: 10px 0;border-collapse:separate;border-spacing:1px;} -.block .minicalendar .duration {border-width:1px 0;} - -.calendar_event_global {border-color: #D6F8CD; background-color:#D6F8CD;} -.calendar_event_course {border-color: #FFD3BD; background-color:#FFD3BD;} -.calendar_event_user {border-color: #DCE7EC; background-color:#DCE7EC;} -.calendar_event_group {border-color: #FEE7AE; background-color:#FEE7AE;} \ No newline at end of file diff --git a/theme/standard/style/core.css b/theme/standard/style/core.css deleted file mode 100644 index edc9ef3a9e142..0000000000000 --- a/theme/standard/style/core.css +++ /dev/null @@ -1,470 +0,0 @@ -html, body#tinymce {background-color:#FAFAFA;} -body {font-family:Arial, Verdana, Helvetica, sans-serif;padding: 4px;} -body.lang-vi {font-family:Arial, Verdana, Helvetica, sans-serif !important;} - -/** - * Links - */ -a {text-decoration:none;color:#0000FF;} -a.autolink {color:#000000;background: #DDDDDD;} -a:hover {text-decoration:underline;color:#FF0000;} - -.img-text a:hover {text-decoration: none;} -.img-text a:hover span {text-decoration: underline;} - -.homelink a {color: #000;text-decoration: none;border-top: 1px solid #cecece;border-bottom: 2px solid #4a4a4a;border-left: 1px solid #cecece;border-right: 2px solid #4a4a4a;} -.homelink a:hover {text-decoration: none;border-bottom: 1px solid #cecece;border-top: 2px solid #4a4a4a;border-right: 1px solid #cecece;border-left: 2px solid #4a4a4a;} - -/** - * Headings - */ -h1, -h2, -h3, -h4, -h5, -h6 {text-align:center;font-weight:bold;} - -th.header, -td.header, -div.header, -.navbar {border-color:#DDDDDD;} - -/** - * Boxes - */ -.generalbox, -.informationbox, -.noticebox, -.tabledivider {border-color:#DDD;} -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2 {border:1px solid #DDD;padding:5px;margin-top:0;} - -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2, -.navigationtitle, -.header, -.navbar {background-image:url([[pix:theme|hgradient]]);background-repeat: repeat-x;background-color:#e1e1df;} - -.sitetopic {margin-bottom:1em;} -.sitetopiccontent {border-color:#DDDDDD;background-color:#FFFFFF;} - -.notifytiny {padding:10px;color:#000044;text-align:center;} - -.warning {font-style: italic;} -.error {color:#ff0000;} -.errorbox {color:#ffffff;border-color:#660000;background-color:#990000;font-style: italic;} -.errorbox .title {font-size: 1.2em;text-align: center;background-color:#FFBBBB;} -.errorboxcontent {text-align: center;} -.errorcode {font-size: 0.7em;} - -.generaltable {border:1px solid #DDD;border-collapse: collapse;background-color:#FFF;border-color:#EEEEEE;} -.generaltable.mdl-align {margin:0 auto;} -.generaltable td {border:1px solid #DDD;vertical-align:top;} -.generaltable .cell {background-color:#FFFFFF;border-color:#EEEEEE;} - -#page-site-index .subscribelink, -.path-course-view .subscribelink {font-size: 0.8em;} - -.files .file, -.files .folder {font-size: 0.9em;} -.files .folder .size {font-weight: bold;} -.coursefilesbreadcrumb {margin: .5em 0; padding: .5em 0;} - -a.useredit, -a:hover.useredit, -.blink {color: black;cursor: help;} - -.navigation button {font-size: 80%;} - -img.userpicture, -img.grouppicture {border:0px solid #000} - -table.formtable tbody th {background-color: transparent;background-image: none;} - -.highlight {background-color:#AAFFAA;} - -.unread {background: #FFD991;} - -.censoredtext {color:#000000;background:#000000;} -.censoredtexthighlight {color:#000000;background:#B0B0B0;} - -.navigation select {background-color:#FFFFFF;} -.navigation optgroup {background-color:#EEEEEE;} -.navigation optgroup option {background-color:#FFFFFF;} - -.mod_introbox {border-color:#DDDDDD;} - -.block_navigation .dimmed img, -.block_site_main_menu .dimmed img, -.sitetopic .dimmed img.activityicon, -.path-course-view .dimmed img.activityicon {opacity:0.5;filter: alpha(opacity=50);} - -/** - * Docs - */ -#doc-contents h1 {font-size: 0.9em;} -#doc-contents ul {font-size: 0.8em;} - -/** - * Login - */ -#page-login-index #content {font-size: 0.85em;} -.loginbox {margin:15px 25%;width:50%;border:1px solid;} -.loginbox.twocolumns {width:90%;margin:15px 5%;} -.loginbox, -.loginbox.twocolumns .loginpanel, -.loginbox .subcontent {border-color:#DDDDDD;} -.loginbox .guestsub, -.loginbox .forgotsub, -.loginbox .potentialidps {border-top:1px solid;} - -/** - * Logs - */ -.logtable {margin-left:auto;margin-right:auto;} -.logtable td {font-size: 0.8em;} -.logtable th {font-size: 0.9em;} -.logtable > tbody > tr:nth-of-type(even) {background-color:#EEEEEE;} - -/** - * Blog - */ -.blog_entry .audience, -.blog_entry .tags {font-size: 0.85em;} -.blog_entry.blogdraft .content {background-color:#EEEEEE;} - -/** - * My Moodle - */ -.my .courseboxcontent .overview .info {font-size:0.7em;} - -/** - * Tiny MCE - */ -.mceContentBody {background-color:#FAFAFA;color:#000;} - -/** - * General - */ -#layout-table {margin-top: 8px;} -#layout-table #content {padding-left:12px;padding-right:12px;} -.redirectmessage {text-align: center;margin-top:10%;} -.continuebutton {text-align: center;} -#grouppicture {text-align: center;} -.notifyproblem {text-align: center;padding: 10px;} -.notifysuccess {text-align:center;padding: 10px;} -.notifytiny {text-align:left;padding: 0;} -.collapsibleregion .collapsibleregioncaption a {color: inherit;text-decoration: none;} -.noticebox {border-width:1px;border-style:solid;padding:10px;} -#notice.generalbox {width: 60%;margin-left:auto;margin-right:auto;} -#notice .buttons {text-align:center} -#notice .buttons div, -#notice .buttons form {display:inline;} -#notice .singlebutton {text-align:center;padding: 5px;margin: 0px;} -.generalbox {border-width:1px;border-style:solid;margin-bottom: 15px;padding:10px;} -.generalbox#intro {width:70%;margin-left:auto;margin-right:auto;padding-bottom:15px;} -.errorbox {border-width:1px;border-style:solid;margin: 1em 15%;width: 70%;padding:10px;} -.errorbox .title {padding: 5px;} -.informationbox {border-width:1px;border-style:solid;padding: 10px;} -.feedbackbox {border-width:1px;border-style:solid;} -.rsslink {padding: 0 0 0 0.3em;} -.printicon {padding: 0 0 0 0.3em;} -.generaltable {border-width: 1px;border-style: solid;} -.generaltable .cell {border-width: 1px;border-style: solid;} -.paging {text-align: center;margin: 10px 0 10px 0;} -.pagingbar {text-align:center;} -.pagingbar a {padding-left: 10px;} -.pagingbar .thispage {padding-left: 10px;} -table.rotateheaders th.header {vertical-align: bottom;} -#participationreport .reporttable {text-align: center;margin-left:auto;margin-right:auto;} -#participationreport {text-align: center;} -#participationreport .modulename {font-weight: bold;} -#participationreportselector {text-align: center;} -#participationreportactions {text-align: center;} -.initialbar {text-align: center;} -.closewindow, -.tabledivider {border-width:1px;border-style:solid;border-left:0;border-right:0;border-top:0;} -.sitetopic {margin-bottom:20px;} -.sitetopiccontent {border-width:1px;border-style:solid;} -table.formtable {margin: auto;} -table.formtable tbody td, -table.formtable tbody th{padding: 5px;} -table.formtable tbody .htmlarea td, -table.formtable tbody .htmlarea th{padding: 0;} -.unread {padding-right:2px;} -.heading-with-help {text-align:center;margin:0.83em 0;} -.heading-with-help h2 {margin:0;} -form.popupform label {margin-right: 0.5em;} -.arrow_button {margin-top:3em;} -.arrow_button input {padding:0.3em;} - -/** - * User - **/ -#userselector_options {font-size: 0.75em;} -.userinfobox {border-color: #DDDDDD;} -.userinfobox .links {font-size: 0.7em;} -.iplookup #header h1.headermain {font-size:1em;} -.iplookup #note {font-size:0.8em;font-style: italic;} -.groupinfobox {border-color: #DDDDDD;width: 60%;margin-left: 20%;margin-right: 20%;} -.userinfobox {width:80%;margin:10px auto;} -#page-user-index h2 {text-align: center;} -#page-user-index #showall {text-align: center;} -#page-user-profile .remoteuserinfo, #page-user-view .remoteuserinfo{background-color:#D2EBFF;text-align:center;padding:3px;} -#page-user-profile .messagebox {text-align:center;margin-left:auto;margin-right:auto;padding:5px;} - -/** - * Moodle Forms - */ -.mform {} -.mform fieldset {border: 1px solid #DDDDDD;padding: 10px 0;margin: 0.7em 0;width:100%;} -.mform .fitem fieldset.felement {margin-top:0;padding-top:0;margin-bottom:0;padding-bottom:0;} -.mform .fpassword .unmask input {margin-left:5px;margin-right:3px;} -#page-admin-register .mform .fsubmit {padding:20px;text-align:center;} -.mform .btn-cancel {color: #0000ff;} -.mform .btn-cancel:hover, .mform .btn-cancel:focus {color: #ff0000;} - -/** - * Filters - */ -.texrender {border:0px;vertical-align:middle;} - -/** - * Groups - */ -.groupmanagementtable {width: 90%;} -.groupmanagementtable p {text-align: left;margin-bottom: 0.2em;} -.groupmanagementtable #existingcell label, -.groupmanagementtable #potentialcell label {font-weight: bold;} -.groupmanagementtable #buttonscell p {text-align: center;} -.groupmanagementtable #buttonscell input {padding: 1em 0;} -.groupmanagementtable #buttonscell #remove {margin: 7em 0;} -.groupmanagementtable #backcell {padding-top: 2em;text-align: center;} -#page-group-groupings .buttons {margin: 20px;text-align:center;} -#page-group-groupings .buttons .singlebutton {display: inline;padding: 5px;} - -/** - * Notes - */ -.notepost {background-color: #EEE;} -.notepost .header {background: #DDD;padding: 5px;} -.notepost .user {font-weight: bolder;} -.notepost .info {font-size: smaller;} -.path-notes .generalbox {margin-left:auto;margin-right:auto;width:90%;} - -/** - * Logs - */ -.logtable td, -.logtable th {padding-left: 10px;padding-right: 10px;} - -/** - * Help - */ -#help .indent {margin-left:3em;} -#help .helpindex {text-align: center;} -#help_icon_tooltip {font-size: 0.7em;} -#help_icon_tooltip h1 {font-size: 1.1em;font-weight: bold;} -#help_icon_tooltip .readmore {display: block;font-style: italic;margin-top:10px;} -#help .example1 {color: #a00;} -#help .success {color: #080;} -#help pre, -#help code {background: #eee;border: 1px dashed #ddd;padding: 3px;} - -/** - * Tags - */ -h2.tag-heading {text-align:center;margin-left:auto;margin-right:auto;width:95%;} -#tag-user-table, -#tag-description, -#tag-blogs {width:95%;margin-left:auto;margin-right:auto;} -#page-tag-index .moreblogs, -#tag-management-box, -.tag .relatedpages, -#page-tag-index .moreblogs {text-align:center;} -#tags-management-links, -.tag .managelink {text-align:right;} -table#tag-management-list {margin: 10px auto;width: 80%;} -#page-tag-index.dir-rtl .relatedpages {text-align:center;} -#page-tag-index.dir-rtl .user-box {float:right;} - -/** - * Overriding base - */ -#page-header .headermain {font-size:1.5em;} -.pagelayout-frontpage #page-header {border-bottom:2px groove #999;margin:0 0.5%;width:99%;} -.has_custom_menu.pagelayout-frontpage #page-header {border-bottom-width:0;} - -.navbar {margin:5px 10px;border:1px solid #DDD;} -.navbar .breadcrumb {margin:5px;} -.navbar .navbutton {margin:5px;} -.mform fieldset {border-color:#DDD;} - -#course-footer, #course-header {margin:0px 10px;} -/** - * Tabs - */ -.tabtree ul {text-align:center;} -.tabtree .tabrow0 {width:100%;margin:1em 0px;} -.tabtree .tabrow0 li {margin-right:-4px;} -.tabtree .tabrow0 li.here {font-weight: bold;} -.tabtree .tabrow0 li.here a {position:relative;z-index:102;} -.tabtree .tabrow0 li a {background-image:url([[pix:theme|tab/left]]);padding-left:14px;padding-top:10px;background-repeat:no-repeat;padding-bottom:3px;margin-bottom:-1px;} -.tabtree .tabrow0 li a:hover {background-image:url([[pix:theme|tab/left_hover]]);} -.tabtree .tabrow0 li a span { background-image:url([[pix:theme|tab/right]]);background-repeat:no-repeat;background-position:100% 0%;padding-right:14px;padding-top:10px;padding-bottom:3px;} -.tabtree .tabrow0 li a:hover span {background-image:url([[pix:theme|tab/right_hover]]);} -.tabtree .tabrow0 ul, -.tabtree .tabrow0 div {font-weight: normal;background-image:url([[pix:theme|tab/tabrow1]]);background-position:0% 50%;border-top:1px solid #aaa;padding:0.25em 0px;margin:0px;} -.tabtree .tabrow0 li.here .empty {display:block;height:1px;overflow:hidden;padding:0px;position:absolute;width:100%;bottom:-4px;} -.tabtree .tabrow1 li a, -.tabtree .tabrow1 li a:hover, -.tabtree .tabrow1 li a span, -.tabtree .tabrow1 li a:hover span {background-image:none !important;} - -.tabtree a.nolink, -.tabtree .here ul a.nolink, -.tabtree a.nolink:hover, -.tabtree .here ul a.nolink:hover {color: #888;text-decoration: none;} -.tabtree .here a.nolink, -.tabtree .here ul .here a.nolink, -.tabtree .here a.nolink:hover, -.tabtree .here ul .here a.nolink:hover {color: black;text-decoration: none;} - -.ie7 .tabtree .tabrow0 li {margin-left: 0;} -.ie7 .tabtree .tabrow0 li.first {margin-right: -4px;} -.ie7 .tabtree .tabrow0 li.onerow {margin-right: 0;} -.ie7 .tabtree .tabrow0 a {display: inline-block;padding: 8px 0 0.35em 13px;line-height: 1.5em;} -.ie7 .tabtree .tabrow0 a span {padding: 10px 1em 10px 0;} -.ie7 .tabtree .tabrow0 div {top: 2.6em;padding: 0.2em 0;} -.ie7 .tabtree .tabrow0 div.empty {margin-right: 0;} -.ie7.mod-quiz div.tabtree a span img.iconsmall {margin: 0;vertical-align: baseline;position: relative;top: 2px;} - -.ie6 .tabtree {height: 100%;} -.ie6 .tabtree .tabrow0 {padding-top: 10px;} -.ie6 .tabtree .tabrow0 li {margin-left: 0;} -.ie6 .tabtree .tabrow0 li.first {margin-left: -4px;margin-right: -4px;} -.ie6 .tabtree .tabrow0 li.last a {margin-right: 0;} -.ie6 .tabtree .tabrow0 li.onerow {margin-right: 0;} -.ie6 .tabtree .tabrow0 a {padding: 0 0 0 13px;} -.ie6 .tabtree .tabrow0 a span {padding: 12px 1em 4px 0;} -.ie6 .tabtree .tabrow0 div {top: 3.5em;padding: 0.2em 0;} - -/** - * Comment - */ -.comment-area textarea {border: 1px solid gray;} - -.ie6 .que .info {display: inline;} -.ie6.course-view li.activity {height:0;} -.ie6 #help_icon_tooltip .yui-tt-shadow-visible {background-color: transparent;} - -/* - * Backup CSS - */ -.path-backup .mform .grouped_settings.section_level {border:1px solid #aaa;margin:10px;clear:both;background-color:#EEE;} -.path-backup .mform .grouped_settings.section_level .grouped_settings.activity_level {background-color:#fff;border:1px solid #fff;border-top-color:#DDD;} -.path-backup .mform .grouped_settings.section_level .include_setting {font-weight:bold;} -.path-backup .mform .grouped_settings.activity_level .include_setting label {font-weight:normal;} -.path-backup .backup_progress {margin:10px;} -.path-backup .backup_progress .backup_stage {margin:5px 20px;} -.backup-files-table .c0 {min-width:300px;} -.backup-files-table .c1 {width:300px;} -.backup-files-table .c2 {width:80px;} -.backup-files-table .c3 {width:80px;} -.backup-files-table .c4 {width:80px;} - -/** - * Site registration - */ - - #page-admin-registration-index .centeredbutton {text-align: center} - #page-admin-registration-index .cell {border-width: 0 1px;} - #page-admin-registration-index .justifytext {text-align: justify} - - - /** - * Course publication - */ - - #page-course-publish-index .centeredbutton {text-align: center} - #page-course-publish-index .cell {border-width: 0 1px;} - #page-course-publish-index .justifytext {text-align: justify} - #page-course-publish-index .publicationwarning {color: #6666ff;} - -/** - * Custom menu - */ -.pagelayout-frontpage #custommenu {padding:0 2px;} -#custommenu {padding:0 10px;} -#custommenu .yui3-menu {background-image:url([[pix:theme|hgradient]]);background-repeat: repeat-x;background-color:#e1e1df;} -#custommenu .yui3-menu .yui3-menu {background-image:none;background-color:#FFF;} -#custommenu .yui3-menu .yui3-menu-label, -#custommenu .yui3-menu .yui3-menuitem-content, -#custommenu .yui3-menu .yui3-menu-content, -#custommenu .yui3-menu .yui3-menu .yui3-menu-content, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content, -#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content ul {border-color:#CCC;} -#custommenu .yui3-menu .yui3-menuitem-content, -#custommenu .yui3-menu .yui3-menu .yui3-menuitem-content {cursor:pointer;} -#custommenu .yui3-menu .yui3-menu-label-menuvisible, -#custommenu .yui3-menu .yui3-menuitem-active {background-color:#e1e1df;} -#custommenu .yui3-menu-horizontal.javascript-disabled a {color:inherit;} -#custommenu .yui3-menu-horizontal.javascript-disabled a:hover {color:blue;text-decoration:none;} -#custommenu .yui3-menu-content, -#custommenu .yui3-menu .yui3-menu .yui3-menu-content { padding: 0; line-height: 2;} - -.smartselect .smartselect_menuitem:hover, -.smartselect .smartselect_submenuitem:hover {background-color:#C2EAFF;} -.smartselect .smartselect_submenu {border-color:#999;} -.smartselect .smartselect_menu, -.smartselect .smartselect_submenu {-moz-border-radius:4px;-webkit-border-radius: 5px;} - -/** - * Enrol - */ -.userenrolment {border:1px solid #999;} -.userenrolment > tbody > tr:nth-of-type(odd) {background-color:#F9F9F9;} -.userenrolment > tbody > tr:nth-of-type(even) {background-color:#F3F3F3;} -.userenrolment td {border:1px solid #E9E9E9;border-top-color:#F6F6F6;border-right-color:#EEE;border-left-color:#F3F3F3;} -.userenrolment td.c0 {border-left-width:0;} -.userenrolment td.lastcol {border-right-color:#999;} -.userenrolment .col_bulkops {vertical-align:middle;text-align:center;} -.userenrolment > tbody > tr:nth-of-type(odd) .col_bulkops {background-color:#FFFFFF;} -.userenrolment > tbody > tr:nth-of-type(even) .col_bulkops {background-color:#F9F9F9;} -.userenrolment tr.lastrow td {border-bottom-width:0;} -.userenrolment .col_userdetails {min-width:35%;} -.userenrolment .col_role .role a img {height:8px;} -.userenrolment .col_role .addrole > * {padding-bottom:3px;} -.userenrolment .col_role .addrole > *:hover {border-bottom:1px solid #666;} -.userenrolment .col_group {max-width:300px;} -.userenrolment .col_group .group a img {height:8px;} -.userenrolment .col_group .addgroup > * {padding-bottom:3px;} -.userenrolment .col_group .addgroup > *:hover {border-bottom:1px solid #666;} -.userenrolment .col_enrol {max-width:300px;} -.userenrolment .col_enrol .enrolment {border:1px outset #E6E6E6;background-color:#EEE;-moz-border-radius:5px;} -.userenrolment.otheruserenrolment .col_role .role {float:none;} -.path-enrol .enrolusersbutton, -.path-enrol .enrolcohortbutton {float:left;} -.path-enrol .enrolusersbutton.instance1, -.path-enrol .enrolcohortbutton.instance1, -.path-enrol .assignuserrole.instance1 {float:right;} -.path-enrol .singleselect.bulkuserop {float:left;} - -/* Registration */ -#page-admin-registration-hubselector .registration_textfield {width: 400px;} - -/* Portfolio */ -.path-portfolio .exportsummary {margin:0px auto 1em auto;} -.portfolio-add-icon {margin-left:5px;} - -/* Messaging options */ -#page-message-edit .mform fieldset div.messagesettingcomponent {float: left;} -#page-message-edit table.generaltable th.c0 {text-align: left;} -#page-message-edit table.generaltable td.c0 {text-align: right;} -#page-message-edit table.generaltable td.disallowed {text-align: center;vertical-align:middle;} -#messagewarning {font-style:italic;} diff --git a/theme/standard/style/course.css b/theme/standard/style/course.css deleted file mode 100644 index aefcaaacaad96..0000000000000 --- a/theme/standard/style/course.css +++ /dev/null @@ -1,110 +0,0 @@ -/** Course formats **/ -.course-content ul.weeks li.section {border:1px solid #DDD;} -.course-content ul.weeks li.section .content {background-color:#FAFAFA;padding:5px 10px;} -.course-content ul.weeks li.section .content h3 {margin:0;color:#777;font-weight: normal;} -.course-content ul.weeks li.section .left {padding:4px 0;} -.course-content ul.weeks li.section .right {padding:4px 0;} - -/** Course **/ -#page-course-recent h2 {font-size:1.1em;} -#page-course-recent .user {font-size:0.75em;} -#page-course-recent .grade {font-style: italic;font-size:0.9em;} -#page-course-recent .forum-recent .reply .title {font-style: italic;font-size:0.9em;} -#page-course-recent .forum-recent .discussion .title {font-weight:bold;font-style: italic;font-size:0.9em;} - -.path-site .availabilityinfo, -.path-course-view .availabilityinfo {font-size:0.85em;color:#aaa;} -.path-site .availabilityinfo strong, -.path-course-view .availabilityinfo strong {font-weight:normal;color:black;} -.path-course-view .dimmed_text img {opacity:0.3;filter: alpha(opacity='30');} -.path-course-view .section {font-size:1em;line-height:1.2em;} -.path-course-view .section .weekdates {margin: 0;font-weight: normal;font-size: 1em;} -.path-course-view .section .groupinglabel {color: #666666;} -.path-course-view .section .groupinglabel.dimmed_text {color: #AAA;} -.path-course-view .section .left {font-weight:bold;} - -.path-course-view .weeks .section, -.path-course-view .topics .section, -.path-course-view .section td {border-color:#DDDDDD;} -.path-course-view .weeks .content , -.path-course-view .topics .content, -.path-course-view .weeks .section, -.path-course-view .topics .section {background: #FAFAFA;} -.path-course-view .section td.side {background: #FFFFFF;} -.path-course-view .weeks .current, -.path-course-view .topics .current, -.path-course-view .current td.side {background: #9fc6fb;} -.path-course-view .section-summary.current {border-color: #9fc6fb;} -.path-course-view .weeks .hidden, -.path-course-view .topics .hidden, -.path-course-view .hidden td.side {background: #DDDDDD;} -.path-course-view .section .weekdates {color: #777777;} -.path-course-view .weeks .weekdates , -.path-course-view .topics .weekdates {color: #333333;} - -.weeks li.section , -.topics li.section {border-style:solid;border-width:1px;} - -.weeks .content, -.topics .content {padding: 5px;} - -#page-report-outline-user .section {border-color:#AAAAAA;} - -#page-admin-report .plugin, -#page-report .plugin, -#page-import .plugin {margin-bottom: 20px;margin-left:10%;margin-right:10%;border: 1px solid #cecece;background-color: #fdfdfd;} - -.path-course-view .unread {background: #9EBEFF;} -.path-course-view .completionprogress {font-size:0.80em; margin-right: 1.5em; } - -#page-report #content {padding-top:15px;padding-bottom:15px;} - -#page-report #region-main p, -#page-report-log-index #region-main .info, -#page-report-loglive-index #region-main .info, -#page-report-stats-index #region-main .graph {text-align: center;} - -#page-report .logselectform, -#page-report .participationselectform, -#page-report-log-index .logselectform, -#page-report-participation-index .participationselectform {text-align:center;} - -.addcoursebutton {text-align:center;} -.categorypicker {text-align:center;margin-bottom:10px;} -.path-report-outline .loginfo {text-align:center;margin: 1em;} - -/* Courses and categories lists */ - -.coursebox {border:1px solid #DDD;border-color:#DDDDDD;padding:3px 0;} -#page-enrol-index .generalbox.info, -#page-course-info .generalbox.info {border:none;} -.coursebox .content .teachers, -.coursebox .content .coursecat, -.coursebox .content .summary, -.coursebox .content .courseimage, -.coursebox .content .coursefile, -.coursebox.remotecoursebox .remotecourseinfo {font-size:0.9em;} - -.course_category_tree .category >.info {background-image:url([[pix:theme|hgradient]]);background-repeat: repeat-x;background-color:#e1e1df;border:1px solid #ddd;margin:3px 0;} -.course_category_tree.frontpage-category-names .category >.info {background:none;border:none;margin:0;} - -.courses .coursebox.collapsed {border:1px solid #eeeeee;padding:3px 0;} -.courses .coursebox.even {background-color:#f6f6f6;} -.courses .coursebox:hover, -.course_category_tree .courses > .paging.paging-morelink:hover {background-color:#eeeeee;} - -.course_category_tree .paging.paging-morelink a {font-size:90%} - -/* Publication */ -#page-course-publish-metadata .metadatatext {width: 400px;} -#page-course-publish-metadata .hubscreenshot { - display:inline; - float:left; - margin-right:10px; -} -#page-course-publish-metadata .hubscreenshot img {vertical-align: bottom;} -#page-course-publish-metadata .hubdescription {} -#page-course-publish-metadata .hubinfo {display:block; margin-bottom:20px;} -#page-course-publish-metadata .hublink {} -#page-course-publish-backup .courseuploadtextinfo {text-align: center;} -#page-course-publish-backup .sharecoursecontinue {text-align: center;} diff --git a/theme/standard/style/css3.css b/theme/standard/style/css3.css deleted file mode 100644 index a73c41e26f667..0000000000000 --- a/theme/standard/style/css3.css +++ /dev/null @@ -1,250 +0,0 @@ -/** - * Rounded Corner Syntax Guide - * - * The following are CSS means for getting rounded corners. Sorry no IE yet, and - * please note that each uses a slightly different style of syntax for specific - * definition (top, bottom, left, right). - * - * CSS3 rounded corners - * border-radius - * border-top-left-radius - * border-top-right-radius - * border-bottom-left-radius - * border-bottom-right-radius - * - * Mozilla rounded corners - * -moz-border-radius - * -moz-border-radius-topleft - * -moz-border-radius-topright - * -moz-border-radius-bottomleft - * -moz-border-radius-bottomright - * - * Webkit rounded corners - * -webkit-border-radius - * -webkit-border-top-left-radius - * -webkit-border-top-right-radius - * -webkit-border-bottom-left-radius - * -webkit-border-bottom-right-radius - */ - -.block.hidden { - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} -#site-news-forum h2, -#frontpage-course-list h2, -#frontpage-category-names h2, -#frontpage-category-combo h2, -table.minicalendar td, -.path-calendar .maincalendar .filters table, -.path-calendar .sidecalendar .filters table, -.block.block_calendar_month .filters table, -.path-calendar .maincalendar li.calendar_event_course, -.path-calendar .maincalendar li.calendar_event_global, -.path-calendar .maincalendar li.calendar_event_user, -.path-calendar .maincalendar li.calendar_event_group, -.path-calendar .filters td.calendar_event_course, -.path-calendar .filters td.calendar_event_global, -.path-calendar .filters td.calendar_event_user, -.path-calendar .filters td.calendar_event_group { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.noticebox, -.gradingform_rubric_editform .status { - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; -} - -.coursebox, -.notifyproblem, -.notifysuccess, -table.minicalendar { - -moz-border-radius: 10px; - -webkit-border-radius: 10px; - border-radius: 10px; -} - -.sitetopiccontent { - -moz-border-radius: 10px; - -webkit-border-radius: 10px; - border-radius: 10px; -} - -#page-report-outline-user .section { - -moz-border-radius:10px; - -webkit-border-radius: 10px; - border-radius: 10px; -} - -.generalbox, -.generalboxcontent, -.informationbox, -.informationboxcontent { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} - -.editing .block_course_summary .content { - -moz-border-radius-topleft:0; - -moz-border-radius-topright:0; - -webkit-border-top-left-radius: 0; - -webkit-border-top-right-radius: 0; - border-top-left-radius: 0; - border-top-right-radius: 0; -} - -.entryboxheader { - -moz-border-radius-topleft:10px; - -moz-border-radius-topright:10px; - -webkit-border-top-left-radius: 10px; - -webkit-border-top-right-radius: 10px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; -} - -.generaltabselected, -.generaltab, .generaltabinactive, -.glossarycategoryheader, -.glossaryformatheader { - -moz-border-radius-topleft:15px; - -moz-border-radius-topright:15px; - -webkit-border-top-left-radius: 15px; - -webkit-border-top-right-radius: 15px; - border-top-left-radius: 15px; - border-top-right-radius: 15px; -} - -.entrybox { - -moz-border-radius-bottomleft:10px; - -moz-border-radius-bottomright:10px; - -webkit-border-bottom-left-radius: 10px; - -webkit-border-bottom-right-radius: 10px; - border-bottom-left-radius: 10px; - border-bottom-right-radius: 10px; -} - -.path-calendar .eventlist .event, -.glossarypost, -#page-mod-journal-view .feedbackbox{ - -moz-border-radius-bottomleft:15px; - -moz-border-radius-bottomright:15px; - -webkit-border-bottom-left-radius: 15px; - -webkit-border-bottom-right-radius: 15px; - border-bottom-left-radius: 15px; - border-bottom-right-radius: 15px; -} - -.path-calendar .eventlist .event .side, -.glossarypost .side, -#page-mod-journal-view .feedbackbox .side { - -moz-border-radius-bottomleft:15px; - -webkit-border-bottom-left-radius: 15px; - border-bottom-left-radius: 15px; -} -.dir-rtl.path-calendar .eventlist .event .side, -.dir-rtl .glossarypost .side, -.dir-rtl#page-mod-journal-view .feedbackbox .side { - -moz-border-radius-bottomleft:0; - -webkit-border-bottom-left-radius: 0; - border-bottom-left-radius: 0; - -moz-border-radius-bottomright:15px; - -webkit-border-bottom-right-radius: 15px; - border-bottom-right-radius: 15px; -} - -.path-calendar .eventlist .event .description, -.encyclopedia .entrylowersection, -#page-mod-journal-view .feedbackbox .entrycontent { - -moz-border-radius-bottomright:15px; - -webkit-border-bottom-right-radius: 15px; - border-bottom-right-radius: 15px; -} -.dir-rtl.path-calendar .eventlist .event .description, -.dir-rtl .encyclopedia .entrylowersection, -.dir-rtl#page-mod-journal-view .feedbackbox .entrycontent { - -moz-border-radius-bottomright:0; - -webkit-border-bottom-right-radius: 0; - border-bottom-right-radius: 0; - -moz-border-radius-bottomleft:15px; - -webkit-border-bottom-left-radius: 15px; - border-bottom-left-radius: 15px; -} - -.path-calendar .maincalendar, -.path-calendar .sidecalendar, -.path-calendar td.sidecalendar .block, -.loginbox, -.userinfobox, -.groupinfobox, -.forumpost, -.block .content, -.glossarycomment { - -moz-border-radius-bottomright:10px; - -moz-border-radius-bottomleft:10px; - -webkit-border-bottom-left-radius: 10px; - -webkit-border-bottom-right-radius: 10px; - border-bottom-left-radius: 10px; - border-bottom-right-radius: 10px; -} - -.loginbox .content.left, -#page-user-view .left, -.forumpost .side, -.glossarycomment .side { - -moz-border-radius-bottomleft:10px; - -webkit-border-bottom-left-radius: 10px; - border-bottom-left-radius: 10px; -} - -.loginbox .content.right, -.forumpost .content, -.forumpost .message, -.forumpost .side, -.glossarycomment .entry { - -moz-border-radius-bottomright:10px; - -webkit-border-bottom-right-radius: 10px; - border-bottom-right-radius: 10px; -} - -#quiznavigation .qnbutton { - -moz-box-sizing: content-box; -} - -#page-mod-quiz-edit div.editq div.question div.content, -#page-mod-quiz-edit div.quizpage .pagecontent { - -moz-border-radius-topright: 0.6em; - -moz-border-radius-bottomright: 0.6em; - -webkit-border-top-right-radius: 0.6em; - -webkit-border-bottom-right-radius: 0.6em; - border-top-right-radius: 0.6em; - border-bottom-right-radius: 0.6em; -} -#page-mod-quiz-edit div.quizpage .pagecontent .pagestatus, -#page-mod-quiz-edit .reorder div.question div.content{ - -moz-border-radius-topright: 0.3em; - -moz-border-radius-bottomright: 0.3em; - -webkit-border-top-right-radius: 0.3em; - -webkit-border-bottom-right-radius: 0.3em; - border-top-right-radius: 0.3em; - border-bottom-right-radius: 0.3em; -} -#page-mod-quiz-edit div.question div.content div.points, -#page-mod-quiz-edit div.question div.content div.qorder { - -moz-border-radius-topright: 0.2em; - -moz-border-radius-bottomright: 0.2em; - -webkit-border-top-right-radius: 0.2em; - -webkit-border-bottom-right-radius: 0.2em; - border-top-right-radius: 0.2em; - border-bottom-right-radius: 0.2em; -} -#page-mod-quiz-edit div.quizpage .pagecontent form#addquestion{ - -moz-border-radius:0.2em; - -webkit-border-radius: 0.2em; - border-radius: 0.2em; -} diff --git a/theme/standard/style/dock.css b/theme/standard/style/dock.css deleted file mode 100644 index fd43db31891d3..0000000000000 --- a/theme/standard/style/dock.css +++ /dev/null @@ -1,28 +0,0 @@ -/* For the dock and items on the dock */ -#dock {background-image:url([[pix:theme|vgradient]]);background-repeat: repeat-y;background-position:100% 0;background-color:#DDD;border-right-color:#AAA;} -#dock .dockeditem_container {margin-top:10px;} -#dock .dockeditem {background-color:#DDD;} -#dock .dockeditem .firstdockitem {margin-top:1em;} -#dock .dockeditem .dockedtitle {border-color:#AAA;background-image:url([[pix:theme|vgradient]]);background-position:90% 0;background-repeat: repeat-y;} -#dock .dockeditem .dockedtitle.activeitem {background-position:80% 0;} -#dock .dockeditem .dockedtitle h2 {margin:12px 0px;} - -/** For the panel the docked blocks are shown in */ -#dockeditempanel .dockeditempanel_content {border-color:#AAA;} -#dockeditempanel .dockeditempanel_hd {border-bottom-color:#AAA;padding:4px;background-image:url([[pix:theme|hgradient]]);} -#dockeditempanel .dockeditempanel_hd h2 {font-size:95%;color:#999;} - -/* block expansion code */ -.block_js_expansion .block_tree {overflow-x:scroll;} -.block_js_expansion.mouseover .content {width:200%;z-index:1000;position:relative;} -.block_js_expansion.mouseover .content .block_tree {width:100%; background-color:#FAFAFA; padding-bottom:0px;} - -/** IE stylings */ -.ie6 .block .block_tree {width:160px;overflow-x:scroll;} -.ie6 .block_tree .tree_item {width:100%;} -.ie6 #dock {position:absolute;} -.ie6 #dock hr {display:none;margin:0px;height:0px;padding:0px;} -.ie6 #dock li p {background-color:inherit;} -.ie6 #dock .bd.oversized_content .content, .ie7 #dock .bd.oversized_content .content {padding-bottom:0px;} -.ie6 .block_js_expansion.mouseover .content, .ie7 .block_js_expansion.mouseover .content{ padding-bottom:2px;} -.ie6 #dock .bd.oversized_content {width:100%;} diff --git a/theme/standard/style/grade.css b/theme/standard/style/grade.css deleted file mode 100644 index 3beba71ea7800..0000000000000 --- a/theme/standard/style/grade.css +++ /dev/null @@ -1,37 +0,0 @@ -/** Grades **/ -#page-grade-index .grades .header {font-weight: bold; font-size: 0.7em;} - -#grade-aggregation-help dt {font-weight: bold;} -#grade-aggregation-help dd.example {font-style: italic;} -#grade-aggregation-help code {font-style: normal;} - -#page-grade-index .grades {border-color:#000;} -#page-grade-index .grades td {border-color:#E0E0E0;} -#page-grade-index .grades > tbody > tr:nth-of-type(odd) {background-color: #FFF;} -#page-grade-index .grades > tbody > tr:nth-of-type(even) {background-color: #F0F0F0;} - -td.grade div.overridden {background-color: #DDDDDD;} - -.path-grade-report-grader table#user-grades td.cell span.gradepass {background-color: #C2EBBD;} -.path-grade-report-grader table#user-grades td.cell span.gradefail {background-color: #EBC4BD;} -.path-grade-report-grader table#user-grades td.clickable {cursor: pointer;} -.path-grade-report-grader .graderreportoverlay {background-color:#EEEEEE;border:1px solid black;padding:10px;} - -.path-grade-edit-tree .moving {background-color: #E8EEF7;} -.path-grade-edit-tree .gradetreebox {width:70%;padding-bottom:15px;} - -.path-grade-edit-scale .scale_options, -#page-admin-grade-edit-scale-index .scale_options {font-size: 0.8em;} -.path-grade-edit-scale .generaltable {margin: 10px auto;} - -.gradetreebox {margin:10px auto;width:90%;} -.gradetreebox table {font-size: 0.8em;border: 1px solid #AAA;} -.gradetreebox tr.category th.cell.rowspan {border-width:0; border-left:1px solid #AAA;} -.gradetreebox tr.category th.cell.rowspan:hover {background-color: #EEE;} -.gradetreebox td.name {border-left: 0px;} -.gradetreebox td.colspan {border-left: 1px solid #AAA;border-bottom: 1px solid #AAA;border-top: 0;background-color: #DDD;} -.gradetreebox tr .cell.level1 {background-color: #F3DFD0; width: 10px;} -.gradetreebox tr .cell.level2 {background-color: #D0DBD3; width: 10px;} -.gradetreebox tr .cell.level3 {background-color: #D0F3D6; width: 10px;} -.gradetreebox tr .cell.level4 {background-color: #F0F0AA; width: 10px;} -.gradetreebox tr .cell.level5 {background-color: #EBDEF6; width: 10px;} diff --git a/theme/standard/style/message.css b/theme/standard/style/message.css deleted file mode 100644 index e69de29bb2d1d..0000000000000 diff --git a/theme/standard/style/modules.css b/theme/standard/style/modules.css deleted file mode 100644 index 79f3a0e518eae..0000000000000 --- a/theme/standard/style/modules.css +++ /dev/null @@ -1,164 +0,0 @@ -/********************************************************** - * This file contains style information for the modules * - * for this particular theme. * - **********************************************************/ - -/** General **/ -#page-mod-chat-index .cell, -#page-mod-choice-index .cell, -#page-mod-forum-index .generalbox .cell, -#page-mod-glossary-index .cell, -#page-mod-resource-index .cell, -#page-mod-scorm-index .cell, -#page-mod-survey-index .cell, -#page-mod-wiki-index .cell {font-size:0.8em;} -.mod_introbox {width:90%;margin:1em auto;} -table.mod_index {width:90%;margin:1em auto;} - -/** Chat **/ -.path-mod-chat .time {font-weight: bold;} -.path-mod-chat .user {color:blue;} -.path-mod-chat .chat-event {text-align:center;color:gray;} -.path-mod-chat .chat-event .event, -.path-mod-chat .chat-message .title {color:#888} -.path-mod-chat #chat-header {background: transparent;font-size: 200%;} -.path-mod-chat #chat-header p {font-size: 50%;color: gray;} -#page-mod-chat-gui_basic h1 {font-size:1.4em;} -#page-mod-chat-gui_header_js-chatinput .wait {background: #dddddd;} -#page-mod-chat-gui_header_js-jsupdate {margin:10px} -#page-mod-chat-gui_header_js-jsupdate .chat-event, -#page-mod-chat-gui_header_js-jsupdate .chat-message {padding:0;margin-top:7px;} -#page-mod-chat-view .nextchatsession {text-align:center;} -#page-mod-chat-view #enterlink {text-align: center;margin-left: auto;margin-right: auto;width: 50%;} -#page-mod-chat-view #chatcurrentusers .idletime {color: #888888;} -#page-mod-chat-gui_basic #participants .idle, -#page-mod-chat-view #chatcurrentusers .chatuserdetails {font-size: 0.6em;} - -/** Choice **/ -.path-mod-choice .results .data {border:1px solid #999;} - -/** Feedback **/ -.feedback_required_mark {color: #FF0000;} - -/** Folder **/ -#page-mod-folder-view .foldertree {width: 90%;margin:0 auto;} - -/** Forum **/ -.forumpost {border-color:#DDDDDD;} -.forumpost .row {background-color:#FFF;} -.forumpost .row.header {background-color:#EEE;background-image:none;} -.forumpost.firstpost .row.header {background-color:#DDD;} -.forumpost .topic .author {font-size: 0.8em;padding:4px;} -.forumpost .topic .subject {font-weight: bold;padding:4px 4px 0;} -.forumpost .content > div, -.forumpost .options > div {padding:4px;} -.forumpost.unread {background: #9EBEFF;} -.forumpost.unread .content {border:2px solid #0046C7;} /** inside border of unread posts in nested format in */ -.forumpost .comment-ctrl, -.forumpost .comment-ctrl div { padding: 0; } -.forumpost .comment-ctrl .picture img { margin: 0; } - -#page-mod-forum-view .forummode, -.path-mod-forum .forumheaderlist .replies {text-align: center;} -.path-mod-forum .forumheaderlist .discussion .lastpost {font-size: 0.7em;} -.path-mod-forum .forumnodiscuss {font-weight:bold;text-align:center;} -#page-mod-forum-subscribers .subscriberdiv, -#page-mod-forum-subscribers .subscribertable {background-color:#EEEEEE;border:1px solid #BBBBBB;} -#page-mod-forum-subscribers .subscriberdiv, -#page-mod-forum-subscribers .subscribertable tr td {padding:0.2em 0.3em;} -#page-mod-forum-discuss .ratingsubmit {text-align:center;padding:10px;} -#page-mod-forum-view .forumheaderlist .discussion .starter, /** Discussion column background in */ -#page-mod-forum-view .forumaddnew {margin-bottom: 20px;text-align:center;} -#page-mod-forum-view .forumheaderlist td {border-color: #FFFFFF;} /** wire frame around cells in */ -#page-mod-forum-view .unread {padding: 0 3px;} /** unread column background on */ -#page-mod-forum-view .forumheaderlist {border-color:#DDDDDD;} /** border around posts in */ -#email .unsubscribelink {border-width: 0px 1px 0px 0px;border-style: solid;text-align:center;} -#page-mod-forum-view .highlight2 {color:#AA0000;} -#page-mod-forum-view.dir-rtl .forumheaderlist .discussion .starter {text-align:right;} - -/** Glossary **/ -.path-mod-glossary .glossarypost {border:1px solid #DDD;} -#page-mod-glossary-view.dir-rtl .glossarypost {text-align: right;} -.path-mod-glossary .glossarypost .entry {padding: 3px;} -.path-mod-glossary .glossarypost .concept h3 {font-size: 1em;margin: 0;font-weight: normal;text-align: left;} -#page-mod-glossary-view.dir-rtl .glossarypost .concept h3 {text-align: right;} -.path-mod-glossary .glossarypost .entryheader {font-weight: normal;text-align: left;} -#page-mod-glossary-view.dir-rtl .glossarypost .entryheader {text-align:right;} -.path-mod-glossary .glossarypost .entryheader h3 {display:inline;} -.path-mod-glossary .glossarypost .entryheader, -.path-mod-glossary .glossarypost .entryapproval, -.path-mod-glossary .glossarypost .picture, -.path-mod-glossary .glossarypost .entryattachment, -.path-mod-glossary .glossarypost .left {background-color: #F0F0F0;} -.path-mod-glossary .comment-message .picture { background-color: transparent; } -.path-mod-glossary .glossarypost .entrylowersection {padding-top: 10px;} -.path-mod-glossary .glossarypost .commands, -.path-mod-glossary .glossarypost .author, -.path-mod-glossary .glossarypost .time, -.path-mod-glossary .glossarypost .entrylowersection .icons, -.path-mod-glossary .glossarypost .entrylowersection .ratings, -.path-mod-glossary .glossarypost .entrylowersection .aliases {font-size: 0.8em;} -.path-mod-glossary .glossaryexplain, -#page-mod-glossary-view .glossaryaddentry, -#page-mod-glossary-import table.glossaryimportexport {text-align: center;} -.path-mod-glossary .glossarydisplay {width: 90%;text-align:center;} -.path-mod-glossary .entrybox {border-width: 0px 1px 1px 1px;border-style: solid;border-color: #BBB;} -.path-mod-glossary .entrybox hr {border-left:0;border-right:0;} -#page-mod-glossary-report table tr.teacher {background: #F0F0F0;} -#page-mod-glossary-view table.glossarycategoryheader {background-color: #DDD;} -#page-mod-glossary-view table.glossarycategoryheader h2 {font-size: 1em;margin: 0;} -#page-mod-glossary-view .tabtree {margin-bottom: -12px;} - -/** Lesson **/ -.path-mod-lesson .compacttable, -.path-mod-lesson .standardtable, -.path-mod-lesson .mform .box.contents {margin:1em auto;width:80%;} -.path-mod-lesson .addlinks {font-size: 0.8em;margin:5px auto;} -.path-mod-lesson .response {padding-top: 10px;} -.path-mod-lesson .menu .content {padding: 0;} -.path-mod-lesson .edit_pages_box {width:80%;margin-left:10%;} -.path-mod-lesson .lessonbutton a {padding-left:1em;padding-right:1em;color: #000;text-decoration: none;border-top: 1px solid #cecece;border-bottom: 2px solid #4a4a4a;border-left: 1px solid #cecece;border-right: 2px solid #4a4a4a;} -.path-mod-lesson .lessonbutton a:hover {border-bottom: 1px solid #cecece;border-top: 2px solid #4a4a4a;border-right: 1px solid #cecece;border-left: 2px solid #4a4a4a;} -.path-mod-lesson .progress_bar {padding: 20px;} -.path-mod-lesson .progress_bar_table {width: 80%;} -.path-mod-lesson .progress_bar_completed {background-color: green;} -.path-mod-lesson .progress_bar_todo {background-color: red;text-align: left;} -.path-mod-lesson .progress_bar_token {background-color: #000000;} -#page-mod-lesson-view .password-form {margin-top: 20px;} -#page-mod-lesson-essay .graded {color:#DF041E;} -#page-mod-lesson-essay .sent {color:#006600;} -#page-mod-lesson-essay .ungraded {color:#999999;} -#page-mod-lesson-essay .gradetable {margin-bottom: 20px;} -.path-mod-lesson .branchbuttoncontainer.vertical .lessonbutton {padding:5px;} -#page-mod-lesson-essay .buttons, -.path-mod-lesson .center, -.path-mod-lesson .firstpageoptions, -.path-mod-lesson .clock .content, -#page-mod-lesson-view .password-form, -.path-mod-lesson .edit_pages_box .addlinks {text-align:center;} - -/** Page **/ -.path-mod-page .modified {font-size:0.6em;} - -/** Resource **/ -#page-mod-resource-view .resourcecontent {text-align:center;margin:20px;} -#page-mod-resource-view .resourcecontent.resourcepdf {padding-top: 15px;text-align: center;} -.path-mod-resource .modified {text-align:center;font-size:0.6em;} - -/** Scorm **/ -.path-mod-scorm .orgtitle {font-weight: bold;font-size: small;} -#page-mod-scorm-player .toc {width: 80%;margin-left: 20%;} -#page-mod-scorm-player .structlist {font-size: small;} -#page-mod-scorm-view .structurehead {text-align: center;} -a#mod-scorm-log-toggle {font-size: 0.7em;font-weight: bold;} - -/** Survey **/ -.path-mod-survey .resultgraph {text-align:center;border-width:1px;border-style: solid;} -.path-mod-survey .questiontext {font-size:1em;} -.path-mod-survey .surveytable .rblock label {text-align: center;} -#page-mod-survey-view > tbody > tr:nth-of-type(odd) {background-color: #EEEEEE;} -#page-mod-survey-view > tbody > tr:nth-of-type(even) {background-color: #DDDDDD;} -#page-mod-survey-report .reportsummary, -#page-mod-survey-report .studentreport, -#page-mod-survey-report .reportbuttons, -#page-mod-survey-report .centerpara {text-align:center;} diff --git a/theme/standard/style/question.css b/theme/standard/style/question.css deleted file mode 100644 index 64d1399f51060..0000000000000 --- a/theme/standard/style/question.css +++ /dev/null @@ -1,22 +0,0 @@ -/** Question **/ - -.que {border-color: #DDD;} -.que .correct {background-color: #afa;} -.que .feedback {border-color: #DDD;} -.que .history {font-size:0.8em;} -.que .incorrect {background-color: #faa;} -.que .partiallycorrect {background-color: #ff9;} -.que > tbody > tr:nth-of-type(odd) {background-color: #F5F5F5;} -.que > tbody > tr:nth-of-type(even) {background-color: #EEE;} - -#chooseqtype .qtypename {font-weight: bold;} - -#qtypechoicecontainer #chooseqtype .qtypename {font-weight: normal;} -#qtypechoicecontainer #chooseqtype .instruction, -#qtypechoicecontainer #chooseqtype .qtypesummary {border-left-color: gray;} - -.calculated .answer, -.numerical .answer, -.shortanswer .answer {background-color: #EEE;} - -.essay .answerreview {background-color: #EEE;} diff --git a/theme/standard/version.php b/theme/standard/version.php deleted file mode 100644 index 4e23817ce6b91..0000000000000 --- a/theme/standard/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_standard - * @copyright 2011 Petr Skoda {@link http://skodak.org} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_standard'; // Full name of the plugin (used for diagnostics) -$plugin->dependencies = array( - 'theme_base' => 2013110500, -); diff --git a/theme/standardold/README b/theme/standardold/README deleted file mode 100644 index f0468c7949000..0000000000000 --- a/theme/standardold/README +++ /dev/null @@ -1,19 +0,0 @@ -This theme is designed specifically to work on IE6 and other old browsers. - -The Moodle 2.0 release notes state that IE6 is no longer supported however we -have not gone out of our way to ensure it does not work and as such it should -in the most part work fine barring numerous minor visual issues. - -This theme is here so that those who are stuck with IE6 can still have a usable -theme, although specific areas of Moodle may still cause problems or fail -to function correctly. -It differs from the standard theme only by the layouts, rather than using -the floating div layout that puts the content first this theme uses a table for -layout much like the theme's in Moodle 1.9. - -Because IE6 is not supported Moodle HQ will not be spending copious amounts of -time on getting it 100% functional. Please if you find a bug with IE6 and this -theme - find a solution as well. Then create a bug report at tracker.moodle.org -and provide both a detailed example of where to find and how to replicate the -bug as well as the solution you found. This way we can continue to improve the -theme and it's IE6 support. \ No newline at end of file diff --git a/theme/standardold/config.php b/theme/standardold/config.php deleted file mode 100644 index 0c9a219e662d6..0000000000000 --- a/theme/standardold/config.php +++ /dev/null @@ -1,136 +0,0 @@ -. - -/** - * Configuration for Moodle's legacy standard theme. - * - * Use standard theme or new bootstrapbase instead!!! - * - * @package theme_standardold - * @copyright 2009 Tim Hunt - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - - -$THEME->parents = array('standard', 'base'); - -// TODO: All old styles are now moved into this standard theme because -// we need to go through all these and fix them. -// This means we will gradually put these back into plugins -// directories -$THEME->sheets = array('pagelayout'); - -$THEME->parents_exclude_sheets = array('base'=>array('pagelayout')); - -$THEME->layouts = array( - // Most backwards compatible layout without the blocks - this is the layout used by default - 'base' => array( - 'file' => 'general.php', - 'regions' => array(), - ), - // Standard layout with blocks, this is recommended for most pages with general information - 'standard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - // Main course page - 'course' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - 'coursecategory' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - // part of course, typical for modules - default page layout if $cm specified in require_login() - 'incourse' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - // The site home page. - 'frontpage' => array( - 'file' => 'frontpage.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - // Server administration scripts. - 'admin' => array( - 'file' => 'general.php', - 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre', - ), - // My dashboard page - 'mydashboard' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - 'options' => array('langmenu'=>true), - ), - // My public page - 'mypublic' => array( - 'file' => 'general.php', - 'regions' => array('side-pre', 'side-post'), - 'defaultregion' => 'side-pre', - ), - 'login' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('langmenu'=>true), - ), - - // Pages that appear in pop-up windows - no navigation, no blocks, no header. - 'popup' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // No blocks and minimal footer - used for legacy frame layouts only! - 'frametop' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nocoursefooter'=>true), - ), - // Embeded pages, like iframe/object embeded in moodleform - it needs as much space as possible - 'embedded' => array( - 'file' => 'embedded.php', - 'regions' => array(), - 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // Used during upgrade and install, and for the 'This site is undergoing maintenance' message. - // This must not have any blocks, and it is good idea if it does not have links to - // other places - for example there should not be a home link in the footer... - 'maintenance' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), - // Should display the content and basic headers only. - 'print' => array( - 'file' => 'general.php', - 'regions' => array(), - 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>false, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), - ), -); - -/** - * This enables the dock on the side of the page as this theme supports it. - */ -$THEME->enable_dock = false; diff --git a/theme/standardold/lang/en/theme_standardold.php b/theme/standardold/lang/en/theme_standardold.php deleted file mode 100644 index 0d51dcb89bdc3..0000000000000 --- a/theme/standardold/lang/en/theme_standardold.php +++ /dev/null @@ -1,36 +0,0 @@ -. - -/** - * Strings for 'standardold' theme - * - * @package theme_standardold - * @copyright 2010 David Mudrak - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$string['pluginname'] = 'Standard (legacy)'; -$string['region-side-post'] = 'Right'; -$string['region-side-pre'] = 'Left'; -$string['choosereadme'] = 'This theme is designed specifically to work on IE6 and other old browsers. - -The Moodle 2.0 release notes state that IE6 is no longer supported however we have not gone out of our way to ensure it does not work and as such it should in the most part work fine barring numerous minor visual issues. - -This theme is here so that those who are stuck with IE6 can still have a usable theme, although specific areas of Moodle may still cause problems or fail to function correctly. -It differs from the standard theme only by the layouts, rather than using the floating div layout that puts the content first this theme uses a table for layout much like the theme\'s in Moodle 1.9. - -Because IE6 is not supported Moodle HQ will not be spending copious amounts of time on getting it 100% functional. Please if you find a bug with IE6 and this theme - find a solution as well. Then create a bug report at tracker.moodle.org and provide both a detailed example of where to find and how to replicate the bug as well as the solution you found. This way we can continue to improve the theme and it\'s IE6 support.'; \ No newline at end of file diff --git a/theme/standardold/layout/embedded.php b/theme/standardold/layout/embedded.php deleted file mode 100644 index c973e67c4ea5e..0000000000000 --- a/theme/standardold/layout/embedded.php +++ /dev/null @@ -1,47 +0,0 @@ -. - -/** - * The embedded layout. - * - * @package theme_standardold - * @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - - -
- main_content() ?> -
- - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/standardold/layout/frontpage.php b/theme/standardold/layout/frontpage.php deleted file mode 100644 index 6219f795548fd..0000000000000 --- a/theme/standardold/layout/frontpage.php +++ /dev/null @@ -1,114 +0,0 @@ -. - -/** - * The frontpage layout. - * - * @package theme_standardold - * @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); -$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); -$showsidepre = $hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT); -$showsidepost = $hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - - standard_head_html() ?> - - -standard_top_of_body_html() ?> - -
- - - - -
- - - - - - - - - - -
-
- blocks_for_region('side-pre') ?> -
-
-
-
- main_content() ?> -
-
-
-
- blocks_for_region('side-post') ?> -
-
-
- - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/standardold/layout/general.php b/theme/standardold/layout/general.php deleted file mode 100644 index 118dac9e50e44..0000000000000 --- a/theme/standardold/layout/general.php +++ /dev/null @@ -1,143 +0,0 @@ -. - -/** - * The default layout. - * - * @package theme_standardold - * @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -$hasheading = ($PAGE->heading); -$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); -$hasfooter = (empty($PAGE->layout_options['nofooter'])); -$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT)); -$hassidepost = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-post', $OUTPUT)); - -$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)); -$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); - -$custommenu = $OUTPUT->custom_menu(); -$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); - -$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = ''; -if (empty($PAGE->layout_options['nocourseheaderfooter'])) { - $courseheader = $OUTPUT->course_header(); - $coursecontentheader = $OUTPUT->course_content_header(); - if (empty($PAGE->layout_options['nocoursefooter'])) { - $coursecontentfooter = $OUTPUT->course_content_footer(); - $coursefooter = $OUTPUT->course_footer(); - } -} - -$bodyclasses = array(); -if ($showsidepre && !$showsidepost) { - $bodyclasses[] = 'side-pre-only'; -} else if ($showsidepost && !$showsidepre) { - $bodyclasses[] = 'side-post-only'; -} else if (!$showsidepost && !$showsidepre) { - $bodyclasses[] = 'content-only'; -} -if ($hascustommenu) { - $bodyclasses[] = 'has_custom_menu'; -} - -echo $OUTPUT->doctype() ?> -htmlattributes() ?>> - - <?php echo $PAGE->title ?> - - standard_head_html() ?> - - -standard_top_of_body_html() ?> -
- - - - - -
- - - - - - - - - - -
-
- blocks_for_region('side-pre') ?> -
-
-
-
- - main_content() ?> - -
-
-
-
- blocks_for_region('side-post') ?> -
-
-
- - - - - - - - -
-standard_end_of_body_html() ?> - - \ No newline at end of file diff --git a/theme/standardold/pix/favicon.ico b/theme/standardold/pix/favicon.ico deleted file mode 100644 index 5a7a36a68e695..0000000000000 Binary files a/theme/standardold/pix/favicon.ico and /dev/null differ diff --git a/theme/standardold/style/pagelayout.css b/theme/standardold/style/pagelayout.css deleted file mode 100644 index e2227b52f10c2..0000000000000 --- a/theme/standardold/style/pagelayout.css +++ /dev/null @@ -1,10 +0,0 @@ -table.layout-table {width:100%; border-collapse:separate; margin-top: 8px;} -table.layout-table td {border: 0;} -table.layout-table #region-main-wrap {padding-left:12px; padding-right:12px;vertical-align:top;width: auto;} -table.layout-table #region-pre, -table.layout-table #region-post {vertical-align:top;width: 12em;} - -table.layout-table #region-pre .block, -table.layout-table #region-post .block {position:relative;width:100%;} -table.layout-table #region-pre .block .header, -table.layout-table #region-post .block .header {width:100%;} \ No newline at end of file diff --git a/theme/standardold/version.php b/theme/standardold/version.php deleted file mode 100644 index ca67801cb555d..0000000000000 --- a/theme/standardold/version.php +++ /dev/null @@ -1,32 +0,0 @@ -. - -/** - * Theme version info - * - * @package theme_standardold - * @copyright 2011 Petr Skoda {@link http://skodak.org} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die; - -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_standardold'; // Full name of the plugin (used for diagnostics) -$plugin->dependencies = array( - 'theme_standard' => 2013110500, -); diff --git a/theme/upgrade.txt b/theme/upgrade.txt index 3de0fbb905212..6cbd99ef1823c 100644 --- a/theme/upgrade.txt +++ b/theme/upgrade.txt @@ -15,6 +15,12 @@ information provided here is intended especially for theme designer. table.generaltable > tbody > tr:nth-of-type(odd) {background-color: #F0F0F0;} table.generaltable > tbody > tr:nth-of-type(even) {background-color: #F0F0F0;} +Removed themes: +* afterburner, anomaly, arialist, binarius, boxxie, brick, formal_white, formfactor, fusion, leatherbound, + magazine, nimble, nonzero, overlay, serenity, sky_high, splash, standard and standardold have been removed. + During the upgrade process the themes will be uninstalled and all their settings will be deleted. + If you wish to keep your theme and its settings, download it from moodle.org and put it back in + the theme/ directory BEFORE UPGRADING. === 2.6 === diff --git a/version.php b/version.php index 8404826b6ac5a..8477a5dc23c56 100644 --- a/version.php +++ b/version.php @@ -29,7 +29,7 @@ defined('MOODLE_INTERNAL') || die(); -$version = 2014032000.00; // YYYYMMDD = weekly release date of this DEV branch. +$version = 2014032000.01; // YYYYMMDD = weekly release date of this DEV branch. // RR = release increments - 00 in DEV branches. // .XX = incremental changes.