Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding new core theme splash MDL-23661

  • Loading branch information...
commit 9e390914a9136ac07688fe6a84477c520232eda1 1 parent ff065f9
epsd epsd authored
Showing with 1,740 additions and 0 deletions.
  1. +138 −0 theme/splash/config.php
  2. +64 −0 theme/splash/javascript/styleswitcher.js
  3. +45 −0 theme/splash/lang/en/theme_splash.php
  4. +236 −0 theme/splash/layout/general.php
  5. +62 −0 theme/splash/lib.php
  6. BIN  theme/splash/pix/bg.jpg
  7. BIN  theme/splash/pix/bgblue.jpg
  8. BIN  theme/splash/pix/bggreen.jpg
  9. BIN  theme/splash/pix/bgorange.jpg
  10. BIN  theme/splash/pix/blue-theme.jpg
  11. BIN  theme/splash/pix/blue-theme2.gif
  12. BIN  theme/splash/pix/blue-theme2.jpg
  13. BIN  theme/splash/pix/blue.jpg
  14. BIN  theme/splash/pix/colour.jpg
  15. BIN  theme/splash/pix/contentbg.jpg
  16. BIN  theme/splash/pix/contentbgright.jpg
  17. BIN  theme/splash/pix/csmenubg.jpg
  18. BIN  theme/splash/pix/dropdownbg.jpg
  19. BIN  theme/splash/pix/footerbg.jpg
  20. BIN  theme/splash/pix/green-theme.jpg
  21. BIN  theme/splash/pix/green-theme2.gif
  22. BIN  theme/splash/pix/green-theme2.jpg
  23. BIN  theme/splash/pix/green.jpg
  24. BIN  theme/splash/pix/header.jpg
  25. BIN  theme/splash/pix/lbgv2.jpg
  26. BIN  theme/splash/pix/lbgv2blue.jpg
  27. BIN  theme/splash/pix/lbgv2green.jpg
  28. BIN  theme/splash/pix/lbgv2orange.jpg
  29. BIN  theme/splash/pix/loginpanel.jpg
  30. BIN  theme/splash/pix/logobgleft.jpg
  31. BIN  theme/splash/pix/logobgleftblue.jpg
  32. BIN  theme/splash/pix/logobgleftgreen.jpg
  33. BIN  theme/splash/pix/logobgleftorange.jpg
  34. BIN  theme/splash/pix/logobgright.jpg
  35. BIN  theme/splash/pix/logobgrightblue.jpg
  36. BIN  theme/splash/pix/logobgrightgreen.jpg
  37. BIN  theme/splash/pix/logobgrightorange.jpg
  38. BIN  theme/splash/pix/orange-theme.jpg
  39. BIN  theme/splash/pix/orange-theme2.gif
  40. BIN  theme/splash/pix/orange-theme2.jpg
  41. BIN  theme/splash/pix/orange.jpg
  42. BIN  theme/splash/pix/pageheaderbgblue.jpg
  43. BIN  theme/splash/pix/pageheaderbggreen.jpg
  44. BIN  theme/splash/pix/pageheaderbgorange.jpg
  45. BIN  theme/splash/pix/pageheaderbgred.jpg
  46. BIN  theme/splash/pix/post-sbbg.jpg
  47. BIN  theme/splash/pix/post-sbheaderbg.jpg
  48. BIN  theme/splash/pix/pre-sbbg.jpg
  49. BIN  theme/splash/pix/pre-sbheaderbg.jpg
  50. BIN  theme/splash/pix/red-theme.jpg
  51. BIN  theme/splash/pix/red-theme2.gif
  52. BIN  theme/splash/pix/red-theme2.jpg
  53. BIN  theme/splash/pix/red.jpg
  54. BIN  theme/splash/pix/sbheaderbg.jpg
  55. BIN  theme/splash/pix/sbheaderbg2.jpg
  56. BIN  theme/splash/pix/sbheaderbg2blue.jpg
  57. BIN  theme/splash/pix/sbheaderbg2green.jpg
  58. BIN  theme/splash/pix/sbheaderbg2orange.jpg
  59. BIN  theme/splash/pix/screenshot.jpg
  60. BIN  theme/splash/pix/selectbg.jpg
  61. BIN  theme/splash/pix/switchbg.jpg
  62. BIN  theme/splash/pix/userinfobg.jpg
  63. +56 −0 theme/splash/settings.php
  64. +128 −0 theme/splash/style/blue.css
  65. +132 −0 theme/splash/style/green.css
  66. +66 −0 theme/splash/style/ie.css
  67. +130 −0 theme/splash/style/orange.css
  68. +683 −0 theme/splash/style/sl.css
138 theme/splash/config.php
View
@@ -0,0 +1,138 @@
+<?php
+
+$THEME->name = 'splash';
+
+////////////////////////////////////////////////////
+// Name of the theme.
+////////////////////////////////////////////////////
+
+
+$THEME->parents = array(
+ 'canvas',
+ 'base',
+);
+
+/////////////////////////////////////////////////////
+// List exsisting theme(s) to use as parents.
+////////////////////////////////////////////////////
+
+
+$THEME->sheets = array(
+ 'green','blue','orange','sl','ie',
+);
+
+////////////////////////////////////////////////////
+// Name of the stylesheet(s) you are including in
+// this new theme's /styles/ directory.
+////////////////////////////////////////////////////
+
+$THEME->enable_dock = true;
+
+////////////////////////////////////////////////////
+// Do you want to use the new navigation dock?
+////////////////////////////////////////////////////
+
+
+$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-post'
+ ),
+ // Course page
+ 'course' => array(
+ 'file' => 'general.php',
+ 'regions' => array('side-pre', 'side-post'),
+ 'defaultregion' => 'side-post'
+ ),
+ // Course page
+ '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' => 'general.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'
+ ),
+ 'mypublic' => array(
+ 'file' => 'general.php',
+ 'regions' => array('side-pre', 'side-post'),
+ 'defaultregion' => 'side-post'
+ ),
+ '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),
+ ),
+ // No blocks and minimal footer - used for legacy frame layouts only!
+ 'frametop' => array(
+ 'file' => 'general.php',
+ 'regions' => array(),
+ 'options' => array('nofooter', 'noblocks'=>true),
+ ),
+ // Embeded pages, like iframe embeded in moodleform
+ 'embedded' => array(
+ 'theme' => 'canvas',
+ 'file' => 'embedded.php',
+ 'regions' => array(),
+ 'options' => array('nofooter'=>true, 'nonavbar'=>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),
+ )
+);
+
+
+///////////////////////////////////////////////////////////////
+// These are all of the possible layouts in Moodle.
+///////////////////////////////////////////////////////////////
+
+
+$THEME->csspostprocess = 'splash_process_css';
+
+
+
+///////////////////////////////////////////////////////////////
+// Splash Theme Specific settings for Administrators to customise
+// css.
+///////////////////////////////////////////////////////////////
+
+
+
+$THEME->javascripts = array('styleswitcher');
+
+///////////////////////////////////////////////////////////////
+// Referencing the javascript files required for theme elements.
+///////////////////////////////////////////////////////////////
64 theme/splash/javascript/styleswitcher.js
View
@@ -0,0 +1,64 @@
+function setActiveStyleSheet(title) {
+ var i, a, main;
+ for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
+ if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
+ a.disabled = true;
+ if(a.getAttribute("title") == title) a.disabled = false;
+ }
+ }
+}
+
+function getActiveStyleSheet() {
+ var i, a;
+ for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
+ if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) return a.getAttribute("title");
+ }
+ return null;
+}
+
+function getPreferredStyleSheet() {
+ var i, a;
+ for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
+ if(a.getAttribute("rel").indexOf("style") != -1
+ && a.getAttribute("rel").indexOf("alt") == -1
+ && a.getAttribute("title")
+ ) return a.getAttribute("title");
+ }
+ return null;
+}
+
+function createCookie(name,value,days) {
+ if (days) {
+ var date = new Date();
+ date.setTime(date.getTime()+(days*24*60*60*1000));
+ var expires = "; expires="+date.toGMTString();
+ }
+ else expires = "";
+ document.cookie = name+"="+value+expires+"; path=/";
+}
+
+function readCookie(name) {
+ var nameEQ = name + "=";
+ var ca = document.cookie.split(';');
+ for(var i=0;i < ca.length;i++) {
+ var c = ca[i];
+ while (c.charAt(0)==' ') c = c.substring(1,c.length);
+ if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
+ }
+ return null;
+}
+
+window.onload = function(e) {
+ var cookie = readCookie("style");
+ var title = cookie ? cookie : getPreferredStyleSheet();
+ setActiveStyleSheet(title);
+}
+
+window.onunload = function(e) {
+ var title = getActiveStyleSheet();
+ createCookie("style", title, 365);
+}
+
+var cookie = readCookie("style");
+var title = cookie ? cookie : getPreferredStyleSheet();
+setActiveStyleSheet(title);
45 theme/splash/lang/en/theme_splash.php
View
@@ -0,0 +1,45 @@
+<?php
+
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * 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'] = 'Splash';
+$string['choosereadme'] = 'Splash, a Moodle 2.0 theme by Caroline Kennedy of Synergy Learning)';
+
+$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['footnote'] = 'Footnote';
+$string['footnotedesc'] = 'The content from this textarea will be displayed in the footer of every page. E.g: your copyright info.';
+$string['tagline'] = 'Tagline';
+$string['taglinedesc'] = 'The content from this textarea will be displayed under the Site logo on the Homepage';
+$string['hide_tagline'] = 'Hide Tagline';
+$string['hide_taglinedesc'] = 'Check this box to hide the tagline under the logo.';
+
+
+$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['welcome'] = "Welcome";
+$string['loginhere'] = "Login here!";
236 theme/splash/layout/general.php
View
@@ -0,0 +1,236 @@
+<?php
+
+$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 (!empty($PAGE->theme->settings->logo)) {
+ $logourl = $PAGE->theme->settings->logo;
+} else {
+ $logourl = NULL;
+}
+
+if (!empty($PAGE->theme->settings->tagline)) {
+ $tagline = $PAGE->theme->settings->tagline;
+} else {
+ $tagline = "Virtual Learning Center";
+}
+
+if (!empty($PAGE->theme->settings->footnote)) {
+ $footnote = $PAGE->theme->settings->footnote;
+} else {
+ $footnote = "";
+}
+
+if (!empty($PAGE->theme->settings->hide_tagline) && $PAGE->theme->settings->hide_tagline == 1)
+{
+ $hidetagline = $PAGE->theme->settings->hide_tagline;
+} else {
+ $hidetagline = "";
+}
+
+
+
+echo $OUTPUT->doctype() ?>
+<head>
+ <title><?php echo $PAGE->title ?></title>
+ <link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
+ <meta name="description" content="<?php echo strip_tags(format_text($SITE->summary, FORMAT_HTML)) ?>" />
+ <?php echo $OUTPUT->standard_head_html() ?>
+
+ <link rel="alternate stylesheet" type="text/css" href="<?php echo $CFG->wwwroot .'/theme/'. current_theme() ?>/style/green.css" title="green" media="screen" />
+
+ <link rel="alternate stylesheet" type="text/css" href="<?php echo $CFG->wwwroot .'/theme/'. current_theme() ?>/style/blue.css" title="blue" media="screen" />
+ <link rel="alternate stylesheet" type="text/css" href="<?php echo $CFG->wwwroot .'/theme/'. current_theme() ?>/style/orange.css" title="orange" media="screen" />
+
+ <noscript>
+<style type="text/css">
+#colourswitcher
+{
+ display:none;
+}
+</style>
+</noscript>
+
+</head>
+
+
+<body id="<?php echo $PAGE->bodyid ?>" class="<?php echo $PAGE->bodyclasses.' '.join(' ', $bodyclasses) ?>">
+<?php echo $OUTPUT->standard_top_of_body_html() ?>
+
+
+<div id="page">
+
+ <?php if ($hasheading || $hasnavbar) { ?>
+ <div id="page-header">
+ <div id="page-header-wrapper" class="wrapper clearfix">
+ <?php if ($hasheading) { ?>
+
+ <div id="headermenu">
+ <?php
+ if (isloggedin())
+ {
+
+ echo '<div id="userdetails"><h1>Hi '.$USER->firstname.'!</h1>';
+ echo '<p class="prolog"><a href="'.$CFG->wwwroot.'/user/profile.php?id='.$USER->id.'">'.get_string('myprofile').'</a> | <a href="'.$CFG->wwwroot.'/login/logout.php?sesskey='.sesskey().'">'.get_string('logout').'</a></p></div>';
+ echo '<div id="userimg">'.$OUTPUT->user_picture($USER, array('size'=>55)).'</div>';
+
+ } else {
+ echo '<div id="userdetails_loggedout"><h1>Welcome,
+ <a href="'.$CFG->wwwroot.'/login/index.php?">Login here!</a></h1></div>';
+ }
+
+
+ ?>
+ <div class="clearer"></div>
+ <div id="colourswitcher" align="right">
+ <ul>
+ <li><img src="<?php echo $CFG->wwwroot .'/theme/'. current_theme().'/pix/colour.jpg' ?>" /></li>
+ <li><a onclick="setActiveStyleSheet('sl'); return false;" href="<?php echo $CFG->wwwroot ?>" rel="sl" class="styleswitch"><img src="<?php echo $OUTPUT->pix_url('red-theme2', 'theme'); ?>" /></a></li>
+ <li><a onclick="setActiveStyleSheet('green'); return false;" href="<?php echo $CFG->wwwroot ?>" rel="green" class="styleswitch"><img src="<?php echo $OUTPUT->pix_url('green-theme2', 'theme'); ?>" /></a></li>
+ <li><a onclick="setActiveStyleSheet('blue'); return false;" href="<?php echo $CFG->wwwroot ?>" rel="blue" class="styleswitch"><img src="<?php echo $OUTPUT->pix_url('blue-theme2', 'theme'); ?>" /></a></li>
+ <li><a onclick="setActiveStyleSheet('orange'); return false;" href="<?php echo $CFG->wwwroot?>" rel="orange" class="styleswitch"><img src="<?php echo $OUTPUT->pix_url('orange-theme2', 'theme'); ?>" /></a></li>
+ </ul>
+ </div>
+
+ </div>
+
+
+ <div id="logobox">
+ <?php if ($logourl == NULL) { ?>
+ <a class="nologoimage" href="<?php echo $CFG->wwwroot ?>">
+ <?php echo $PAGE->heading ?>
+ <?php } else { ?>
+ <a href="<?php echo $CFG->wwwroot ?>">
+ <img src="<?php echo $logourl ?>" />
+ <?php } ?>
+ </a>
+
+ <?php if ($hidetagline == 0) { ?>
+ <h4><?php echo $tagline ?></h4>
+ <?php } ?>
+
+ </div>
+
+ <div class="clearer"></div>
+ <?php if ($logourl == NULL) { ?>
+ <h4 class="headermain inside">&nbsp;</h4>
+ <?php } else { ?>
+ <h4 class="headermain inside"><?php echo $PAGE->heading ?></h4>
+ <?php } ?>
+
+ <?php } ?>
+
+
+
+
+ <!-- DROP DOWN MENU -->
+ <div class="clearer"></div>
+ <div id="dropdownmenu">
+ <?php if ($hascustommenu) { ?>
+ <div id="custommenu"><?php echo $custommenu; ?></div>
+ <?php } ?>
+
+ <div class="navbar">
+ <div class="wrapper clearfix">
+ <div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
+ <div class="navbutton"> <?php echo $PAGE->button; ?></div>
+ </div>
+ </div>
+
+ </div>
+
+
+ </div>
+<!-- END DROP DOWN MENU -->
+
+
+
+ </div>
+
+
+<?php } ?>
+
+
+
+
+<!-- END OF HEADER -->
+
+
+
+
+
+<!-- START OF CONTENT -->
+
+ <div id="page-content">
+ <div id="region-main-box">
+ <div id="region-post-box">
+
+ <div id="region-main-wrap">
+ <div id="region-main">
+ <div class="region-content">
+ <?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
+ </div>
+ </div>
+ </div>
+
+ <?php if ($hassidepre) { ?>
+ <div id="region-pre" class="block-region">
+ <div class="region-content">
+ <?php echo $OUTPUT->blocks_for_region('side-pre') ?>
+ </div>
+ </div>
+ <?php } ?>
+
+ <?php if ($hassidepost) { ?>
+ <div id="region-post" class="block-region">
+ <div class="region-content">
+ <?php echo $OUTPUT->blocks_for_region('side-post') ?>
+ </div>
+ </div>
+ <?php } ?>
+
+ </div>
+ </div>
+ </div>
+
+
+ <!-- END OF CONTENT -->
+ <div class="clearfix"></div>
+<!-- END OF #Page -->
+</div>
+
+<!-- START OF FOOTER -->
+<?php if ($hasfooter) { ?>
+<div id="page-footer">
+ <div id="footer-wrapper">
+ <?php if ($footnote != "") { ?>
+ <div id="footnote"><?php echo $footnote; ?></div>
+ <?php } ?>
+ <p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
+ <?php
+ echo $OUTPUT->login_info();
+ echo $OUTPUT->home_link();
+ echo $OUTPUT->standard_footer_html();
+ ?>
+ </div>
+</div>
+ <?php } ?>
+
+<?php echo $OUTPUT->standard_end_of_body_html() ?>
+</body>
+</html>
62 theme/splash/lib.php
View
@@ -0,0 +1,62 @@
+<?php
+
+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;
+}
+
+?>
BIN  theme/splash/pix/bg.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/bgblue.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/bggreen.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/bgorange.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/blue-theme.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/blue-theme2.gif
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/blue-theme2.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/blue.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/colour.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/contentbg.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/contentbgright.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/csmenubg.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/dropdownbg.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/footerbg.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/green-theme.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/green-theme2.gif
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/green-theme2.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/green.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/header.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/lbgv2.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/lbgv2blue.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/lbgv2green.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/lbgv2orange.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/loginpanel.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/logobgleft.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  theme/splash/pix/logobgleftblue.jpg
View
Diff not rendered
BIN  theme/splash/pix/logobgleftgreen.jpg
View
Diff not rendered
BIN  theme/splash/pix/logobgleftorange.jpg
View
Diff not rendered
BIN  theme/splash/pix/logobgright.jpg
View
Diff not rendered
BIN  theme/splash/pix/logobgrightblue.jpg
View
Diff not rendered
BIN  theme/splash/pix/logobgrightgreen.jpg
View
Diff not rendered
BIN  theme/splash/pix/logobgrightorange.jpg
View
Diff not rendered
BIN  theme/splash/pix/orange-theme.jpg
View
Diff not rendered
BIN  theme/splash/pix/orange-theme2.gif
View
Diff not rendered
BIN  theme/splash/pix/orange-theme2.jpg
View
Diff not rendered
BIN  theme/splash/pix/orange.jpg
View
Diff not rendered
BIN  theme/splash/pix/pageheaderbgblue.jpg
View
Diff not rendered
BIN  theme/splash/pix/pageheaderbggreen.jpg
View
Diff not rendered
BIN  theme/splash/pix/pageheaderbgorange.jpg
View
Diff not rendered
BIN  theme/splash/pix/pageheaderbgred.jpg
View
Diff not rendered
BIN  theme/splash/pix/post-sbbg.jpg
View
Diff not rendered
BIN  theme/splash/pix/post-sbheaderbg.jpg
View
Diff not rendered
BIN  theme/splash/pix/pre-sbbg.jpg
View
Diff not rendered
BIN  theme/splash/pix/pre-sbheaderbg.jpg
View
Diff not rendered
BIN  theme/splash/pix/red-theme.jpg
View
Diff not rendered
BIN  theme/splash/pix/red-theme2.gif
View
Diff not rendered
BIN  theme/splash/pix/red-theme2.jpg
View
Diff not rendered
BIN  theme/splash/pix/red.jpg
View
Diff not rendered
BIN  theme/splash/pix/sbheaderbg.jpg
View
Diff not rendered
BIN  theme/splash/pix/sbheaderbg2.jpg
View
Diff not rendered
BIN  theme/splash/pix/sbheaderbg2blue.jpg
View
Diff not rendered
BIN  theme/splash/pix/sbheaderbg2green.jpg
View
Diff not rendered
BIN  theme/splash/pix/sbheaderbg2orange.jpg
View
Diff not rendered
BIN  theme/splash/pix/screenshot.jpg
View
Diff not rendered
BIN  theme/splash/pix/selectbg.jpg
View
Diff not rendered
BIN  theme/splash/pix/switchbg.jpg
View
Diff not rendered
BIN  theme/splash/pix/userinfobg.jpg
View
Diff not rendered
56 theme/splash/settings.php
View
@@ -0,0 +1,56 @@
+<?php
+
+/**
+ * Settings for the splash theme
+ */
+
+// Create our admin page
+$temp = new admin_settingpage('theme_splash', get_string('configtitle','theme_splash'));
+
+// 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);
+$temp->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, 'Virtual Learning Center');
+$temp->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);
+$temp->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);
+$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, '');
+$temp->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, '');
+$temp->add($setting);
+
+// Add our page to the structure of the admin tree
+$ADMIN->add('themes', $temp);
+?>
128 theme/splash/style/blue.css
View
@@ -0,0 +1,128 @@
+/********************************************************
+**
+** Theme name: Splash
+** Creation Date: 30/06/09
+** Author: Synergy Learning
+** Author URI: http://synergylearning.com
+**
+*********************************************************/
+
+/* Global
+------------------------*/
+
+body { /* Define margins and background colour/image */
+ background: url(../pix/bgblue.jpg) top left repeat-x #f4f4f4;
+ margin: 0 auto;
+ padding: 0;
+ width: 100%;
+
+}
+
+a:link { /* Defining all link styles*/
+ color: #3d6276;
+}
+
+a:visited { /* Setting all visited link styles */
+ color: #3d6276;
+}
+
+a:hover { /* Setting all rollover link styles */
+ color: #294b5d;
+}
+
+a:active { /* Setting all active link styles */
+ color: #3d6276;
+}
+
+
+/* Header
+-----------------------*/
+#page-header { /* Set height for header */
+ float: none;
+ padding: 0;
+ margin:0;
+ color: #fff;
+ height: 308px;
+ background: url(../pix/pageheaderbgblue.jpg) top center no-repeat;
+
+}
+
+#logobox{ /* holder background for logo*/
+ height: 185px;
+ width: 252px;
+ margin: auto;
+ text-align: center;
+ background: url(../pix/lbgv2blue.jpg) no-repeat;
+ float: left;
+}
+
+
+#colourswitcher p{
+ color:#3d6276
+}
+
+
+/* Custom Menu
+-----------------------*/
+ #custommenu .yui3-menu-content ul.first-of-type li{
+ border-right: 1px solid #bfced7;
+}
+
+#custommenu div.yui3-menu.custom_menu_submenu .yui3-menu-content{
+ background:#3d6276;
+ border:1px solid #fff;
+ color: #fff;
+}
+
+/* Content
+-----------------------*/
+
+.coursebox{
+ padding-left:5px;
+ border-bottom: 1px dashed #cbd3d6;
+
+
+}
+
+ul.topics li#section-0, ul.weeks li#section-0 {
+ background: #386377;
+ border: 1px solid #ccc;
+
+}
+
+/* Sideblocks
+-----------------------*/
+
+#region-pre .block .header { /*-- right block header --*/
+ background: url(../pix/sbheaderbg2blue.jpg) center no-repeat;
+ padding: 12px 5px 5px;
+ color: #fff;
+}
+
+
+#region-post .block .header { /*-- right block header --*/
+ background: url(../pix/sbheaderbg2blue.jpg) center no-repeat;
+ padding: 12px 5px 5px;
+ color: #fff;
+}
+
+
+
+/* Mini Calendar
+------------------------*/
+
+.block .minicalendar td.weekend { /* setting weekend date colour */
+ color:#3d6276;
+}
+
+
+/* Forum
+------------------------*/
+
+.forumpost .topic .subject { /* forum subject section inside topic header */
+ font-weight: bold;
+ font-size: 1.1em;
+ padding-left: 5px;
+ background: #3d6276;
+ color: #fff;
+}
132 theme/splash/style/green.css
View
@@ -0,0 +1,132 @@
+/********************************************************
+**
+** Theme name: Splash
+** Creation Date: 30/06/09
+** Author: Synergy Learning
+** Author URI: http://synergylearning.com
+**
+*********************************************************/
+
+/* Global
+------------------------*/
+
+body { /* Define margins and background colour/image */
+ background: url(../pix/bggreen.jpg) top left repeat-x #f4f4f4;
+ margin: 0 auto;
+ padding: 0;
+ width: 100%;
+}
+
+
+a:link { /* Defining all link styles*/
+ color: #446e4c;
+}
+
+a:visited { /* Setting all visited link styles */
+ color: #446e4c;
+}
+
+a:hover { /* Setting all rollover link styles */
+ color: #335a3a;
+}
+
+a:active { /* Setting all active link styles */
+ color: #446e4c;
+}
+
+/* Header
+-----------------------*/
+
+#page-header { /* Set height for header */
+ float: none;
+ padding: 0;
+ margin:0;
+ color: #fff;
+ height: 308px;
+ background: url(../pix/pageheaderbggreen.jpg) top center no-repeat;
+
+}
+
+
+#logobox{ /* holder background for logo*/
+ height: 185px;
+ width: 252px;
+ margin: auto;
+ text-align: center;
+ background: url(../pix/lbgv2green.jpg) no-repeat;
+ float: left;
+}
+
+
+
+#colourswitcher p{
+ color:#446e4c;
+}
+
+
+/* Custom Menu
+-----------------------*/
+ #custommenu .yui3-menu-content ul.first-of-type li{
+ border-right: 1px solid #d5e1d7;
+}
+
+#custommenu div.yui3-menu.custom_menu_submenu .yui3-menu-content{
+ background:#446e4c;
+ border:1px solid #fff;
+ color: #fff;
+}
+
+
+
+/* Content
+-----------------------*/
+ul.topics li#section-0, ul.weeks li#section-0 {
+ background: #386c4c;
+ border: 1px solid #ccc;
+
+}
+
+
+.coursebox{
+ padding-left:5px;
+ border-bottom: 1px dashed #dae0dc;
+
+
+}
+
+/* Sideblocks
+-----------------------*/
+
+#region-pre .block .header { /*-- right block header --*/
+ background: url(../pix/sbheaderbg2green.jpg) center no-repeat;
+ padding: 12px 5px 5px;
+ color: #fff;
+}
+
+
+#region-post .block .header { /*-- right block header --*/
+ background: url(../pix/sbheaderbg2green.jpg) center no-repeat;
+ padding: 12px 5px 5px;
+ color: #fff;
+}
+
+
+
+/* Mini Calendar
+------------------------*/
+
+.block .minicalendar td.weekend { /* setting weekend date colour */
+ color:#446e4c;
+}
+
+
+/* Forum
+------------------------*/
+
+.forumpost .topic .subject { /* forum subject section inside topic header */
+ font-weight: bold;
+ font-size: 1.1em;
+ padding-left: 5px;
+ background: #446e4c;
+ color: #fff;
+}
66 theme/splash/style/ie.css
View
@@ -0,0 +1,66 @@
+/********************************************************
+**
+** Theme name: Splash
+** Creation Date: 30/06/09
+** Author: Synergy Learning
+** Author URI: http://synergylearning.com
+**
+*********************************************************/
+
+
+/** IE styling */
+
+.ie6 .block .block_tree {
+ width: 160px;
+ overflow-x: scroll;
+}
+
+.ie6 .block_tree .tree_item {
+ width: 100%;
+}
+
+.ie6 #dock, .ie7 #dock, .ie8 #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, .ie8 #dock .bd.oversized_content .content {
+ padding-bottom: 0px;
+}
+
+.ie6 .block_js_expansion.mouseover .content, .ie7 .block_js_expansion.mouseover .content, .ie8 .block_js_expansion.mouseover .content {
+ padding-bottom: 2px;
+}
+
+.ie6 #dock .bd.oversized_content,
+.ie7 #dock .bd.oversized_content,
+.ie8 #dock .bd.oversized_content {
+ width: 100%;
+}
+
+.ie6 .red-theme, .ie6 .blue-theme, .ie6 .green-theme, .ie6 .orange-theme, .ie7 .red-theme, .ie7 .green-theme, .ie7 .blue-theme, .ie7 .orange-theme{
+ margin-top:3px;
+}
+
+.ie7 .headermain, ie8 .headermain{
+ padding-left:15px;
+}
+
+.ie7 #custommenu, ie8 #custommenu{
+ padding-top: 15px;
+}
+
+ie7 .loginpanel, ie8 .loginpanel{
+ padding-top: 20px;
+}
+
130 theme/splash/style/orange.css
View
@@ -0,0 +1,130 @@
+/********************************************************
+**
+** Theme name: Splash
+** Creation Date: 30/06/09
+** Author: Synergy Learning
+** Author URI: http://synergylearning.com
+**
+*********************************************************/
+
+/* Global
+------------------------*/
+
+body { /* Define margins and background colour/image */
+ background: url(../pix/bgorange.jpg) top left repeat-x #f4f4f4;
+ margin: 0 auto;
+ padding: 0;
+ width: 100%;
+
+}
+
+
+
+a:link { /* Defining all link styles*/
+ color: #7c7165;
+}
+
+a:visited { /* Setting all visited link styles */
+ color: #7c7165;
+}
+
+a:hover { /* Setting all rollover link styles */
+ color: #5f564c;
+}
+
+a:active { /* Setting all active link styles */
+ color: #7c7165;
+}
+
+
+/* Header
+-----------------------*/
+
+#page-header { /* Set height for header */
+ float: none;
+ padding: 0;
+ margin:0;
+ color: #fff;
+ height: 308px;
+ background: url(../pix/pageheaderbgorange.jpg) top center no-repeat;
+
+}
+
+#logobox{ /* holder background for logo*/
+ height: 185px;
+ width: 252px;
+ margin: auto;
+ text-align: center;
+ background: url(../pix/lbgv2orange.jpg) no-repeat;
+ float: left;
+}
+
+#colourswitcher p{
+ color: #cb8f47;
+}
+
+
+/* Custom Menu
+-----------------------*/
+ #custommenu .yui3-menu-content ul.first-of-type li{
+ border-right: 1px solid #dbcfc0;
+}
+
+#custommenu div.yui3-menu.custom_menu_submenu .yui3-menu-content{
+ background:#cb8f47;
+ border:1px solid #fff;
+ color: #fff;
+}
+
+
+
+/* Content
+-----------------------*/
+ul.topics li#section-0, ul.weeks li#section-0 {
+ background: #df9a55;
+ border: 1px solid #ccc;
+
+}
+
+.coursebox{
+ padding-left:5px;
+ border-bottom: 1px dashed #f0e7de;
+
+
+}
+
+/* Sideblocks
+-----------------------*/
+
+#region-pre .block .header { /*-- right block header --*/
+ background: url(../pix/sbheaderbg2orange.jpg) center no-repeat;
+ padding: 12px 5px 5px;
+ color: #fff;
+}
+
+
+#region-post .block .header { /*-- right block header --*/
+ background: url(../pix/sbheaderbg2orange.jpg) center no-repeat;
+ padding: 12px 5px 5px;
+ color: #fff;
+}
+
+
+/* Mini Calendar
+------------------------*/
+
+.block .minicalendar td.weekend { /* setting weekend date colour */
+ color:#cb8f47;
+}
+
+/* Forum
+------------------------*/
+
+.forumpost .topic .subject { /* forum subject section inside topic header */
+ font-weight: bold;
+ font-size: 1.1em;
+ padding-left: 5px;
+ background: #cb8f47;
+ color: #fff;
+}
+
683 theme/splash/style/sl.css
View
@@ -0,0 +1,683 @@
+/********************************************************
+**
+** Theme name: Splash
+** Creation Date: 30/06/09
+** Author: Synergy Learning
+** Author URI: http://synergylearning.com
+**
+*********************************************************/
+
+/* Global
+------------------------*/
+html{ /* Reset html page to 0 padding/margins */
+ padding: 0;
+ margin: 0;
+ background: #fff;
+}
+
+body { /* Define margins and background colour/image */
+ background: url([[pix:theme|bg]]) top left repeat-x #fff;
+ margin: 0 auto;
+ padding: 0;
+ width: 100%;
+ overflow-x:hidden;
+
+}
+
+body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { /* Set fonttype for site */
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+
+a:link { /* Defining all link styles*/
+ color: #853650;
+}
+
+a:visited { /* Setting all visited link styles */
+ color: #853650;
+}
+
+a:hover { /* Setting all rollover link styles */
+ color: #6d1523;
+}
+
+a:active { /* Setting all active link styles */
+ color: #853650;
+}
+
+a img { /* Image borders*/
+ border: none;
+}
+
+a:active {
+ outline: none;
+}
+
+.skiplinks{ /* hide skip link access keys*/
+ display: none;
+}
+
+.skip-block{ /* hide skip link access keys in blocks*/
+
+ display: none;
+}
+
+.loginpanel{
+ background: url([[pix:theme|loginpanel]]) top center no-repeat;
+ height: 480px;
+}
+
+.loginbox .loginpanel .subcontent{
+ margin: 0 auto;
+ clear: right;
+ width: 300px;
+}
+ /* fix issues conflicting with the floating columns */
+
+.clearer {clear:left;}
+
+/* Header
+-----------------------*/
+
+#page-header { /* Set height for header */
+ float: none;
+ padding: 0;
+ margin:0;
+ color: #fff;
+ height: 308px;
+ background: url([[pix:theme|pageheaderbgred]]) top center no-repeat;
+
+}
+
+#page-header h1 { /* Style h1 tags for header */
+ padding-top: 40px;
+ font-size: 1.25em;
+ text-align: left;
+ margin: 0px;
+}
+
+#page-header h1.inside {
+ font-size: 1.25em;
+ margin: 0px;
+}
+
+#page-header h4 { /* Style h4 tags for header */
+ font-size: 1.0em;
+ text-align: left;
+ margin-top: 40px;
+ color: #333;
+}
+
+#headermenu { /* user info positioning and styles */
+ float: right;
+ margin: 20px 0 0 0;
+ font-size: 0.9em;
+ text-align: right;
+ width: 210px;
+ height: 80px;
+ padding: 5px;
+ position: relative;
+}
+
+
+#headermenu h1{ /* styling h1 for user welcome message*/
+ margin:0;
+ padding: 0;
+ color: fff;
+}
+
+.spacing{
+ padding-top: 20px;
+}
+
+#userdetails{ /* positioning of user login/outdetails */
+ float: left;
+ margin-right: 10px;
+ width: auto;
+ height: 60px;
+
+}
+
+#userdetails a:link{ /* styling user detail links when logged in*/
+ color: #f2f2f2;
+}
+
+#userdetails a:visited{ /* styling user detail links when logged in */
+ color: #f2f2f2;
+}
+
+#userdetails a:hover{ /* styling user detail links when logged in*/
+ color: #f2f2f2;
+
+}
+
+
+#userdetails_loggedout{ /* positioning of user login/outdetails */
+ float: left;
+ margin-right: 10px;
+ height: 60px;
+
+}
+
+
+#userdetails_loggedout h1{ /* positioning of user h1 tag*/
+ padding-top:40px
+
+}
+
+#userdetails_loggedout a:link{ /* styling user detail links when logged out*/
+ color: #f2f2f2;
+}
+
+#userdetails_loggedout a:visited{ /* styling user detail links when logged out */
+ color: #f2f2f2;
+}
+
+#userdetails_loggedout a:hover{ /* styling user detail links when logged out*/
+ color: #f2f2f2;
+
+}
+
+.prolog{
+ margin-top: 25px;
+ margin-bottom: 0px;
+}
+
+.prolog a:link{ /* styling user detail links */
+ color: #f2f2f2;
+}
+
+.prolog a:visited{ /* styling user detail links */
+ color: #f2f2f2;
+}
+
+.prolog a:hover{ /* styling user detail links */
+ color: #f2f2f2;
+
+}
+
+.prolog a:active{ /* styling user detail links */
+ color: #f2f2f2;
+
+}
+
+#userimg{ /* styling user profile picture*/
+ float: right;
+ margin-left: 4px;
+
+}
+
+#colourswitcher{ /* colour switcher styles */
+ float: right;
+ height: 30px;
+ width: 210px;
+ color: #000;
+ background: url([[pix:theme|selectbg]]) top left repeat-x;
+ text-align: left;
+ padding: 2px 0px 0px 0px;
+ position: absolute;
+ top: 66px;
+ right: 4px;
+
+}
+
+#colourswitcher ul{
+ padding: 0;
+ margin: 0;
+
+}
+
+
+#colourswitcher ul li{
+ margin:0;
+ padding: 0;
+ display: inline;
+ list-style: none;
+
+
+}
+
+#colourswitcher p{
+ color: #7c3041;
+}
+
+#logobox{ /* holder background for logo*/
+ height: 185px;
+ width: 252px;
+ margin: auto;
+ text-align: center;
+ background: url([[pix:theme|lbgv2]]) no-repeat;
+ float: left;
+}
+#logobox a.nologoimage {
+ display: block;
+ font-size: 30px;
+ font-weight: 800;
+ margin-top: 40px;
+}
+
+#logobox img{
+ max-width: 230px;
+}
+
+#logobox h1{
+ padding-top: 40px;
+ font-size: 2.0em;
+ color: #333;
+ text-align: center;
+}
+
+#logobox h4{
+ padding-top:20px;
+ margin:0;
+ text-align: center;
+ font-size: 0.9em;
+ color: #666;
+
+}
+
+/* Custom Menu
+-----------------------*/
+
+#dropdownmenu{ /* holder for custom menu */
+ height:45px;
+ margin: 0;
+ padding-top: 0px;
+}
+
+ /* setting font colour and removing borders */
+
+#custommenu{
+ padding-left: 6px;
+ height: 33px;
+ font-size: 1.2em;
+ margin-top: 0px !important;
+ padding-top: 0px !important;
+
+}
+#custommenu * {
+ border:none;
+
+}
+
+#custommenu a:link, #custommenu a:visited {
+ text-decoration:none;
+ color: #666;
+}
+#custommenu a:active, #custommenu a:hover {
+ text-decoration:underline;
+ color: #666;
+ background: none;
+}
+
+#custommenu .yui3-menu-content ul.first-of-type li{
+ border-right: 1px solid #e6d0d4;
+}
+
+#custommenu div.yui3-menu.custom_menu_submenu .yui3-menu-content{
+ background:#6d1523;
+ border:1px solid #fff;
+ color: #fff;
+}
+
+#custommenu div.yui3-menu.custom_menu_submenu .yui3-menu-content a{
+ color: #fff;
+}
+
+
+
+
+.yui3-skin-sam .yui3-menu-label-active,
+.yui3-skin-sam .yui3-menu-label-menuvisible,
+.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-label-active,
+.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-label-menuvisible
+
+{
+
+background-color: #605f5f;
+
+
+}
+
+
+
+/* Breadcrumb Navbar
+-----------------------*/
+
+.navbar { /* moodles breadcrumb holder*/
+ border-width: 0 0 1px 0;
+ margin: 0;
+ padding: 5px 15px;
+ font-size: 0.9em;
+ color: #333;
+}
+
+.navbar .navbutton { /* Defining settings for navbutton within navbar */
+ margin-top: 0;
+}
+
+.breadcrumb .sep { /* change colour and size of breadcrumb arrows */
+ font-size: 0.8em;
+ color: #999;
+}
+
+
+
+/* Content
+-----------------------*/
+
+#page{ /* Defining fluid or fixed theme.. for fluid theme change width to 100%*/
+ width: 960px;
+ margin: auto;
+
+
+}
+
+#page-content{ /* setting white background holder for all content under header*/
+ background: #fff;
+ margin-top:10px;
+}
+
+#page-content h1{
+ font-size: 1.3em;
+}
+
+.box.generalbox{
+ border: none;
+ background: #fafafa;
+ padding: 5px;
+}
+
+.coursebox{
+ padding-left:5px;
+ border-bottom: 1px dashed #e1d2d5;
+
+}
+}
+
+td.left.side, td.side {
+ border:none;
+ background: none;
+}
+
+.path-course-view.section .left.side{
+ background: none;
+}
+/* topics and weekly
+-----------------------*/
+
+ul.topics li.section, ul.weeks li.section {
+ border: 1px dotted #cfdae3;
+ background: #ffffff url([[pix:theme|ui-bg_inset-hard_100_ffffff_1x100]]) 50% 50% repeat-x;
+ font-weight: normal;
+ color: #212121;
+}
+
+ul.topics li.section{
+ border-style:solid;
+}
+
+ul.topics li#section-0, ul.weeks li#section-0 {
+ border: 1px solid #bbc7ce;
+ background: #d3dbe0;
+ color: #222222;
+}
+ul.weeks li.section.current, ul.topics li.section.current {
+ border: 1px solid #999999;
+ font-weight: normal;
+ color: #212121;
+}
+div.summary {padding:5px 0px 5px 0px;}
+
+
+
+
+
+
+/* Sideblocks
+-----------------------*/
+
+.block { /* general settings for sideblocks */
+ margin-bottom: 20px;
+ border: none;
+}
+
+.block hr{ /* hiding the hr in sideblocks */
+ display: none;
+}
+
+.commands{
+ padding-bottom: 10px;
+ clear: both;
+}
+
+.searchform{
+ padding-top: 10px;
+}
+
+#region-pre{
+ background: #fff;
+}
+
+#region-post{
+ background: #fff;
+}
+
+#region-pre .block .header { /*-- right block header --*/
+ background: url([[pix:theme|sbheaderbg2]]) center no-repeat;
+ height: 25px;
+ color: #fff;
+}
+
+#region-pre .block .header h2{ /*-- right block text --*/
+ color: #333;
+ padding: 0 0 0 10px;
+}
+
+#region-pre .block .content { /*-- right block content --*/
+ background: #f2f2f2;
+ padding: 4px 5px 5px;
+}
+
+#region-post .block .header { /*-- left block header --*/
+ background: url([[pix:theme|sbheaderbg2]]) center no-repeat;
+ height: 25px;
+ color: #fff;
+}
+
+#region-post .block .header h2{ /*-- left block text --*/
+ color: #333;
+ padding: 0 0 0 10px;
+}
+
+#region-post .block .content { /*-- left block content --*/
+ background: #f2f2f2;
+ padding: 4px 5px 5px;
+}
+
+.block .title h2 { /* Settings for h2 tags in sideblock headers */
+ color: #35251B;
+ font-weight: normal;
+ font-size: 1.2em;
+ margin: 0;
+}
+
+.tree_item{ /* tree item seperator for sideblocks */
+ border-bottom: #e2e2e2 1px solid;
+}
+
+
+/* Mini Calendar
+------------------------*/
+
+.block .minicalendar { /* setting background colour for mini cal*/
+ background: #fff;
+}
+
+.block .minicalendar td.weekend { /* setting weekend date colour */
+ color:#7c3041;
+}
+
+
+/* Forum
+------------------------*/
+
+.forumpost .topic { /* forum topic header*/
+ background: #fff;
+ border-bottom-color: #da5013;
+}
+
+.forumpost .topic .subject { /* forum subject section inside topic header */
+ font-weight: bold;
+ font-size: 1.1em;
+ padding-left: 5px;
+ color: #333;
+ background: #d3dbe0;
+}
+
+.forumpost .topic .author { /* author area within topic header */
+ font-size: 0.9em;
+}
+
+.forumpost .topic.starter { /* content start point */
+ border-bottom:1px dashed #e2e2e2;
+}
+
+.forumpost .content { /* content area within forum */
+ background: #fff;
+ border-width: 0 0 1px 0;
+ border-style: dashed;
+ border-color: #e2e2e2;
+}
+
+
+.path-mod-forum .forumheaderlist {
+ width: 100%;
+ border:none;
+
+}
+
+.path-mod-forum .forumheaderlist td {
+ border: none;
+}
+
+tr.header td.starter {
+ border: 1px solid #bbc7ce;
+ background: #d3dbe0;
+}
+
+
+.forumheaderlist .header.topic{
+ border-top: 1px solid #bbc7ce;
+ border-left: 1px solid #bbc7ce;
+ border-right: 1px solid #bbc7ce;
+ border-bottom: 1px solid #bbc7ce;
+ background: #d3dbe0;
+}
+
+.forumheaderlist .header.author{
+ border-top: 1px solid #bbc7ce;
+ border-right: 1px solid #bbc7ce;
+ border-left: 1px solid #bbc7ce;
+ border-bottom: 1px solid #bbc7ce;
+ background: #d3dbe0;
+}
+
+.forumheaderlist .header.replies{
+ border-top: 1px solid #bbc7ce;
+ border-right: 1px solid #bbc7ce;
+ border-bottom: 1px solid #bbc7ce;
+ background: #d3dbe0;
+}
+
+.forumheaderlist .header.lastpost{
+ border-top: 1px solid #bbc7ce;
+ border-right: 1px solid #bbc7ce;
+ border-bottom: 1px solid #bbc7ce;
+ background: #d3dbe0;
+}
+
+/* Course
+---------------------------*/
+
+h2.headingblock {
+ border-width: 0 0 1px 0;
+ padding: 5px 5px 2px;
+ font-weight: normal;
+ font-size: 1.2em;
+ background: none;
+ color: #251c17;
+}
+
+.course-content .section.main {
+ background: #fff;
+ border: 1px solid #ddd;
+}
+
+.course-content .section.current {
+ background: #666;
+ color: #fff;
+}
+
+ul.topics li#section-0, ul.weeks li#section-0 {
+ background: #8b383e;
+ border: 1px solid #ccc;
+
+}
+
+.course-content .section.main .content {
+ background: #fff;
+}
+
+
+
+/* dock left
+---------------------------*/
+ /* background style for dockpanel */
+#dock.dock.dock_left_vertical{
+ background: #000;
+ border: none;
+
+}
+ /* styles for docked item background */
+
+.dockedtitle, .dockedtitle .activeitem{
+ background: #fff;
+ color: #333;
+ border-right: 1px dashed #656565;
+ border-left: 1px dashed #656565;
+
+}
+
+
+/* Footer
+---------------------------*/
+
+
+#page-footer{ /* settings for footer container */
+ position:relative;
+ background: url([[pix:theme|footerbg]]) top left repeat-x #f4f4f4;
+ width: 100%;
+ margin-top: -2px;
+
+}
+
+
+.helplink{
+ padding-top: 5px;
+}
+
+
+#footer-wrapper{
+ margin: auto;
+ width: 960px;
+}
+
+#footnote{
+ margin: 20px 0px;
+ padding: 0px 5px;
+ text-align: right;
+}
+
+/* Splash Theme Specific settings for Administrators to customise css.
+---------------------------*/
+[[setting:customcss]]
Please sign in to comment.
Something went wrong with that request. Please try again.