Skip to content

Commit

Permalink
New version of Splash theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Caroline Kennedy committed Jan 24, 2012
1 parent f6b4ec2 commit 134936b
Show file tree
Hide file tree
Showing 80 changed files with 1,170 additions and 575 deletions.
13 changes: 8 additions & 5 deletions theme/splash/config.php 100644 → 100755
Expand Up @@ -41,11 +41,14 @@


$THEME->sheets = array(
'sl',
'green',
'blue',
'orange',
'ie',
'core' , /** Must come first**/
'sl' ,
'menus' ,
'green' ,
'blue' ,
'orange' ,
'ie' ,

);

////////////////////////////////////////////////////
Expand Down
Empty file modified theme/splash/lang/en/theme_splash.php 100644 → 100755
Empty file.
23 changes: 23 additions & 0 deletions theme/splash/layout/embedded.php
@@ -0,0 +1,23 @@
<?php echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes() ?>>
<head>
<title><?php echo $PAGE->title ?></title>
<link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
<?php echo $OUTPUT->standard_head_html() ?>
</head>
<body id="<?php echo $PAGE->bodyid ?>" class="<?php echo $PAGE->bodyclasses ?>">
<?php echo $OUTPUT->standard_top_of_body_html() ?>

<div id="page">

<!-- END OF HEADER -->

<div id="content" class="clearfix">
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
</div>

<!-- START OF FOOTER -->
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>
7 changes: 5 additions & 2 deletions theme/splash/layout/general.php 100644 → 100755
Expand Up @@ -94,17 +94,20 @@
<?php } // End of if ($hasheading)?>
<!-- DROP DOWN MENU -->
<div class="clearer"></div>
<div id="dropdownmenu">

<?php if ($hascustommenu) { ?>
<div id="moodlemenu">
<div id="custommenu"><?php echo $custommenu; ?></div>
<?php } ?>
</div>
<div class="navbar">
<div class="wrapper clearfix">
<div class="breadcrumb"><?php if ($hasnavbar) echo $OUTPUT->navbar(); ?></div>
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
</div>
</div>
</div>


<!-- END DROP DOWN MENU -->
</div>
</div>
Expand Down
Empty file modified theme/splash/layout/report.php 100644 → 100755
Empty file.
7 changes: 4 additions & 3 deletions theme/splash/lib.php 100644 → 100755
Expand Up @@ -16,15 +16,15 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Library functions for the Splash theme
* Library functions for the splash theme
*
* @package theme_splash
* @copyright 2010 Caroline Kennedy of Synergy Learning
* @copyright 2011 Synergy Learning
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

/**
* Splash theme post process function for CSS
* splash theme post process function for CSS
* @param string $css Incoming CSS to process
* @param stdClass $theme The theme object
* @return string The processed CSS
Expand Down Expand Up @@ -88,6 +88,7 @@ function splash_set_customcss($css, $customcss) {
return $css;
}


/**
* Adds the JavaScript for the colour switcher to the page.
*
Expand Down
Binary file added theme/splash/pagebg.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added theme/splash/pix/arrow-menu.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified theme/splash/pix/bg.jpg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified theme/splash/pix/bgblue.jpg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified theme/splash/pix/bggreen.jpg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified theme/splash/pix/bgorange.jpg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed theme/splash/pix/blue-theme.jpg
Binary file not shown.
Empty file modified theme/splash/pix/blue-theme2.gif 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed theme/splash/pix/blue-theme2.jpg
Binary file not shown.
Binary file removed theme/splash/pix/blue.jpg
Binary file not shown.
Binary file added theme/splash/pix/bottomborder copy.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added theme/splash/pix/bottomborder.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified theme/splash/pix/colour.jpg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed theme/splash/pix/contentbg.jpg
Binary file not shown.
Binary file removed theme/splash/pix/contentbgright.jpg
Binary file not shown.
Binary file removed theme/splash/pix/csmenubg.jpg
Binary file not shown.
Binary file removed theme/splash/pix/dropdownbg.jpg
Binary file not shown.
Empty file modified theme/splash/pix/footerbg.jpg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed theme/splash/pix/green-theme.jpg
Binary file not shown.
Empty file modified theme/splash/pix/green-theme2.gif 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed theme/splash/pix/green-theme2.jpg
Binary file not shown.
Binary file removed theme/splash/pix/green.jpg
Binary file not shown.
Binary file removed theme/splash/pix/header.jpg
Binary file not shown.
Empty file modified theme/splash/pix/lbgv2.jpg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified theme/splash/pix/lbgv2blue.jpg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified theme/splash/pix/lbgv2green.jpg 100644 → 100755
Empty file modified theme/splash/pix/lbgv2orange.jpg 100644 → 100755
Binary file removed theme/splash/pix/loginpanel.jpg
Diff not rendered.
Binary file added theme/splash/pix/logo.png
Binary file removed theme/splash/pix/logobgleft.jpg
Diff not rendered.
Binary file removed theme/splash/pix/logobgleftblue.jpg
Diff not rendered.
Binary file removed theme/splash/pix/logobgleftgreen.jpg
Diff not rendered.
Binary file removed theme/splash/pix/logobgleftorange.jpg
Diff not rendered.
Binary file removed theme/splash/pix/logobgright.jpg
Diff not rendered.
Binary file removed theme/splash/pix/logobgrightblue.jpg
Diff not rendered.
Binary file removed theme/splash/pix/logobgrightgreen.jpg
Diff not rendered.
Binary file removed theme/splash/pix/logobgrightorange.jpg
Diff not rendered.
Binary file removed theme/splash/pix/orange-theme.jpg
Diff not rendered.
Empty file modified theme/splash/pix/orange-theme2.gif 100644 → 100755
Binary file removed theme/splash/pix/orange-theme2.jpg
Diff not rendered.
Binary file removed theme/splash/pix/orange.jpg
Diff not rendered.
Empty file modified theme/splash/pix/pageheaderbgblue.jpg 100644 → 100755
Empty file modified theme/splash/pix/pageheaderbggreen.jpg 100644 → 100755
Empty file modified theme/splash/pix/pageheaderbgorange.jpg 100644 → 100755
Empty file modified theme/splash/pix/pageheaderbgred.jpg 100644 → 100755
Binary file removed theme/splash/pix/post-sbbg.jpg
Diff not rendered.
Binary file removed theme/splash/pix/post-sbheaderbg.jpg
Diff not rendered.
Binary file removed theme/splash/pix/pre-sbbg.jpg
Diff not rendered.
Binary file removed theme/splash/pix/pre-sbheaderbg.jpg
Diff not rendered.
Binary file removed theme/splash/pix/red-theme.jpg
Diff not rendered.
Empty file modified theme/splash/pix/red-theme2.gif 100644 → 100755
Binary file removed theme/splash/pix/red-theme2.jpg
Diff not rendered.
Binary file removed theme/splash/pix/red.jpg
Diff not rendered.
Binary file removed theme/splash/pix/sbheaderbg.jpg
Diff not rendered.
Empty file modified theme/splash/pix/sbheaderbg2.jpg 100644 → 100755
Binary file modified theme/splash/pix/sbheaderbg2blue.jpg 100644 → 100755
Empty file modified theme/splash/pix/sbheaderbg2green.jpg 100644 → 100755
Empty file modified theme/splash/pix/sbheaderbg2orange.jpg 100644 → 100755
Binary file removed theme/splash/pix/screenshot.jpg
Diff not rendered.
Binary file added theme/splash/pix/screenshot.png
Empty file modified theme/splash/pix/selectbg.jpg 100644 → 100755
Binary file removed theme/splash/pix/switchbg.jpg
Diff not rendered.
Binary file removed theme/splash/pix/userinfobg.jpg
Diff not rendered.
2 changes: 1 addition & 1 deletion theme/splash/settings.php 100644 → 100755
Expand Up @@ -20,7 +20,7 @@
* Settings for the splash theme
*
* @package theme_splash
* @copyright 2010 Caroline Kennedy of Synergy Learning
* @copyright 2011 Caroline Kennedy - Synergy Learning
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand Down
139 changes: 121 additions & 18 deletions theme/splash/style/blue.css 100644 → 100755
Expand Up @@ -2,11 +2,12 @@
**
** Theme name: Splash
** Creation Date: 30/06/09
** Author: Synergy Learning
** Author: Caroline Kennedy - Synergy Learning
** Author URI: http://synergylearning.com
**
*********************************************************/


/* Global
------------------------*/

Expand Down Expand Up @@ -41,61 +42,163 @@ body.splash-blue { /* Define margins and background colour/image
padding: 0;
margin:0;
color: #fff;
height: 308px;
height: 315px;
background: url([[pix:theme|pageheaderbgblue]]) top center no-repeat;

}

.splash-blue #logobox{ /* holder background for logo*/
height: 185px;
width: 252px;
width: 200px;
margin: auto;
text-align: center;
background: url([[pix:theme|lbgv2blue]]) no-repeat;
float: left;
padding: 0 10px 0 10px;
}


.splash-blue #colourswitcher p{
color:#3d6276
color:#3d6276;
}

.headermain {margin:0; padding:0px; float:left;}
.langmenu{
text-align: left;
}

.headermain.inside{
font-size: 1.0em;
margin-top: 45px;
margin-left: 10px;
color: #000;
}

.splash-blue #region-main h1 {color:#3d6276; font-size:1.8em; font-weight:normal; padding:10px 0; line-height:1.8em;}
.splash-blue #region-main h2 {color:#333; font-size:1.6em; font-weight:normal; padding:10px 0; line-height:1.6em; padding:3px; margin: 0 !important; border-bottom:1px solid #d1cece;}
.splash-blue #region-main h3 {color:#3d6276; font-size:1.4em; font-weight:normal; padding:10px 0; line-height:1.4em;}
.splash-blue #region-main h4 {color:#3d6276; font-size:1.2em; font-weight:bold; padding:10px 0; line-height:1.2em;}
.splash-blue #region-main h5 {color:#333; font-size:1.1em; font-weight:bold; padding:10px 0; line-height:1em; text-decoration:italic;}
.splash-blue #region-main h6 {color:#3d6276; font-size:1.1em; font-weight:bold; padding:10px 0; line-height:1em;}


/*Navbar *----*/

.splash-blue .navbar {padding:0 10px; background:url([[pix:theme|navbarbg]]) left repeat-x; border:none; clear:both; width:100; margin:0; padding-top:8px; color:#000;}
.splash-blue .navbar .breadcrumb {margin:0; padding:10px 0 10px 0px; font-size:0.9em;}
.splash-blue .navbar .breadcrumb ul{display:inline; padding-left:0px;}
.splash-blue .navbar .breadcrumb a {color:#cc000; text-decoration:underline;}
.splash-blue .navbar .breadcrumb a:hover {color:#000; text-decoration:underline;}
.splash-blue .navbar .arrow {color:#3d6276;}
.splash-blue .navbar .navbutton {margin:0; padding:5px 0 0 0;}
.splash-blue .navbutton input[type=submit] {background:#000; color: #fff; padding:3px 5px 3px 5px; border: none; margin: 0; cursor:pointer;}
.splash-blue .navbutton input[type=submit]:hover {background:#8e8e8e; color: #fff; border: none;}

.splash-blue #region-main .coursebox h3{font-size:1.0em !important;}

/* Custom Menu
-----------------------*/
.splash-blue #custommenu .yui3-menu-content ul.first-of-type li{
//.splash-blue #custommenu .yui3-menu-content ul.first-of-type li{
border-right: 1px solid #bfced7;
}

.splash-blue #custommenu div.yui3-menu.custom_menu_submenu .yui3-menu-content{
//.splash-blue #custommenu div.yui3-menu.custom_menu_submenu .yui3-menu-content{
background:#3d6276;
border:1px solid #fff;
color: #fff;
}

/* Content
-----------------------*/
.splash-blue .course-content ul.topics li.section .left {font-size:1.2em; color:#3d6276; font-weight:bold; padding:10px 0 0 0;}

.splash-blue .mform fieldset legend {font-size:1.3em; color:#3d6276;}

.splash-blue .coursebox{
padding-left:5px;
border-bottom: 1px dashed #cbd3d6;
}

.splash-blue ul.topics li#section-0, ul.weeks li#section-0 {
background: #386377;
//background: #386377;
border: 1px solid #ccc;
}

/* Sideblocks
-----------------------*/

.splash-blue #region-pre .block .header,
.splash-blue #region-post .block .header { /*-- right block header --*/
background: url([[pix:theme|sbheaderbg2blue]]) center no-repeat;
padding: 12px 5px 5px;
color: #fff;
.splash-blue #categoryquestions tr th{background:#3d6276; border-bottom:none !important; color:#fff;}



/*quiz navigation */
.splash-blue .path-mod-quiz .qnbutton {background:#3d6276; color:#fff;}
.splash-blue .path-mod-quiz .qnbutton.open {background:#3d6276;}
.splash-blue .path-mod-quiz .qnbutton.thispage {border-color:#ff9933;}



/**********************************
Sideblocks
**********************************/

.splash-blue .block {margin-bottom: 20px; border: none; width:210px !important;}
.splash-blue .block hr { display: none;}

.splash-blue .searchform {padding-top: 10px;}
.splash-blue .block-region {background: #fff;}

.splash-blue .block-region .block .header {background: url([[pix:theme|sbheaderbg2blue]]) top center no-repeat #f2f2f2;}

.splash-blue .block .header .block_action { /*-- show/hide --*/
padding:15px 10px 0 0;}

.splash-blue .block-region .block .header h2{ /*-- block text --*/
color: #333; padding: 15px 0px 10px 10px; margin:0; font-size: 1.2em;}

.splash-blue .block-region .commands {/*-- editing options --*/
padding:5px 0 0 10px; margin:0; clear:both; background: #f2f2f2; border:none;}

.block-region .block .content .commands {/*-- editing options with in block--*/
padding:5px 0 0 10px; margin:0; clear:both; background: #f2f2f2; border:none;}

.block .header .commands {
margin-left: 0px;
}

.splash-blue .block-region .block .content { /*-- block content --*/
background: #f2f2f2;
padding: 10px; }

/**********************************
Sideblocks - tree navs
**********************************/
.splash-blue .tree_item { /* tree item seperator for sideblocks */
border-bottom: #ddd 1px solid; padding:5px;}


.splash-blue .block_navigation .block_tree li.depth_2 ul {padding-left:8px;}


.splash-blue .unlist, .splash-blue .unlist li, .splash-blue .inline-list, .splash-blue .inline-list li, .splash-blue .block .list, .splash-blue .block .list li, .splash-blue .sitetopic .section li, .splash-blue .course-content .section li.activity, .splash-blue .tabtree li {
padding-bottom: 5px;
}

/**********************************
Sideblock Calendar
**********************************/
.splash-blue .minicalendar {background:none; font-size:1em;}
.splash-blue .minicalendar td, .minicalendar th {border:none; padding:5px 0 !important;}
.splash-blue .minicalendar th {font-weight:bold;}
.splash-blue .block .minicalendar td.weekend {color:#666;}

/**********************************
Sideblock My Profile
**********************************/

.block-region .block_myprofile .fullname {clear:both; font-size:1.2em; text-align:center; padding-bottom:10px;}
.block_myprofile img.profilepicture {margin-left:50px;}



/* Mini Calendar
------------------------*/

Expand All @@ -107,10 +210,10 @@ body.splash-blue { /* Define margins and background colour/image
/* Forum
------------------------*/

.splash-blue .forumpost .topic .subject,
.path-blog.splash-blue .forumpost .subject a,
.path-blog.splash-blue .forumpost .subject a:link,
.path-blog.splash-blue .forumpost .subject a:visited { /* forum subject section inside topic header */
//.splash-blue .forumpost .topic .subject,
//.path-blog.splash-blue .forumpost .subject a,
//.path-blog.splash-blue .forumpost .subject a:link,
//.path-blog.splash-blue .forumpost .subject a:visited { /* forum subject section inside topic header */
font-weight: bold;
font-size: 1.1em;
padding-left: 5px;
Expand Down

0 comments on commit 134936b

Please sign in to comment.