Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

New themes under construction

  • Loading branch information...
commit 02d35f5503668e88a7801e3841ddf584ffbb2e73 1 parent c2246cb
moodler authored
View
11 theme/cordoroyblue/config.php
@@ -0,0 +1,11 @@
+<?PHP // $Id$
+
+$THEME->body = "#C5EFFF"; // Main page color
+$THEME->cellheading = "#9ADAF4"; // Standard headings of big tables
+$THEME->cellheading2 = "#73C1E1"; // Highlight headings of tables
+$THEME->cellcontent = "#FFFFFF"; // For areas with text
+$THEME->cellcontent2 = "#B3EAFF"; // Alternate colour
+$THEME->borders = "#555555"; // Table borders
+$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
+
+?>
View
BIN  theme/cordoroyblue/favicon.ico
Binary file not shown
View
10 theme/cordoroyblue/footer.html
@@ -0,0 +1,10 @@
+<!-- START OF FOOTER -->
+<CENTER>
+<HR SIZE=1 NOSHADE>
+<FONT SIZE=1>
+<P><?=$loggedinas ?></P>
+<P><?=$homelink ?></P>
+</FONT>
+
+</BODY>
+</HTML>
View
BIN  theme/cordoroyblue/gradient.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
53 theme/cordoroyblue/header.html
@@ -0,0 +1,53 @@
+<HTML<?=$direction?>>
+<HEAD>
+<TITLE><?=$title ?></TITLE>
+<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
+<?=$meta ?>
+<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
+<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardblue/favicon.ico">
+<? include("$CFG->javascript"); ?>
+</HEAD>
+
+<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
+
+<? if ($home) { // This is what gets printed on the home page only ?>
+
+ <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
+ <TR>
+ <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
+ <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
+ </TR>
+ </TABLE>
+
+
+<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
+ <TR>
+ <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
+ <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
+ </TR>
+ </TABLE>
+
+<? } ?>
+
+
+<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
+ <TR>
+ <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
+ <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
+ </TD>
+ <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
+ </TR>
+ </TABLE>
+ <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
+
+<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <HR SIZE=1 NOSHADE>
+
+<? } ?>
+
+<!-- END OF HEADER -->
View
187 theme/cordoroyblue/styles.php
@@ -0,0 +1,187 @@
+<?PHP // $Id$
+
+/// We use PHP so we can do value substitutions into the styles
+
+ require_once("../../config.php");
+
+ if (isset($themename)) {
+ $CFG->theme = $themename;
+ }
+
+ $themeurl = "$CFG->wwwroot/theme/$CFG->theme";
+
+/// From here on it's nearly a normal stylesheet.
+/// First are some CSS definitions for normal tags,
+/// then custom tags follow.
+///
+/// Note that colours are all defined in config.php
+/// in this directory
+
+?>
+
+
+a:link {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+ text-decoration: none;
+ color: blue;}
+a:visited {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+ text-decoration: none;
+ color: blue;}
+a:hover {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+ text-decoration: underline;
+ color: red;}
+
+body {
+ font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+ background-image: url(<?PHP echo "$themeurl"?>/texture1.jpg);
+ }
+
+p {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+
+h1 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+
+h2 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+
+h3 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+
+h4 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+
+th {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+ font-weight: bold;
+ background-color: <?PHP echo $THEME->cellheading?>;}
+
+td {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+
+li {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+
+form { margin-bottom: 0; }
+
+.highlight {
+ background-color: <?PHP echo $THEME->highlight?>;
+}
+
+.headingblock {
+ background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.navbar {
+ background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
+}
+
+.generalbox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.generalboxcontent {
+ background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
+}
+
+.generaltable {
+}
+
+.generaltableheader {
+ background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
+}
+
+.generaltablecell {
+}
+
+.sideblock {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.sideblockheading {
+ background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
+}
+
+.sideblockmain {
+ background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
+}
+
+.sideblocklinks {
+ background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
+}
+
+.sideblocklatestnews {
+ background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
+}
+
+.sideblockrecentactivity {
+ background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
+}
+
+.siteinfo {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.siteinfocontent {
+ background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
+}
+
+.outlineheadingblock {
+ background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.weeklyoutline {
+}
+
+.weeklyoutlineside {
+ background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
+}
+
+.weeklyoutlinesidehighlight {
+ background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
+}
+
+.weeklyoutlinecontent {
+}
+
+.topicsoutline {
+}
+
+.topicsoutlineside {
+ background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
+}
+
+.topicsoutlinesidehighlight {
+ background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
+}
+
+.topicsoutlinecontent {
+}
+
+.forumpost {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.forumpostheader {
+ background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
+}
+
+.forumpostheadertopic {
+ background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
+}
+
+.forumpostpicture {
+ background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
+}
+
+.forumpostside {
+ background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
+}
+
+.forumpostmessage {
+}
View
BIN  theme/cordoroyblue/texture1.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  theme/cordoroyblue/texture2.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  theme/cordoroyblue/texture3.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
8 theme/oceanblue/README
@@ -0,0 +1,8 @@
+Theme Ocean Blue
+------------------------
+Author: Mitsuhiro Yoshida(mits@mitstek.com)
+http://www.mitstek.com/
+
+To add your original jpeg Logo,
+1. Rename header.html_logo as header.html
+2. Save your original Logo as logo.jpg
View
11 theme/oceanblue/config.php
@@ -0,0 +1,11 @@
+<?PHP // $Id$
+
+$THEME->body = "#7777FF"; // Main page color
+$THEME->cellheading = "#CCCCFF"; // Standard headings of big tables
+$THEME->cellheading2 = "#8080c0"; // Highlight headings of tables
+$THEME->cellcontent = "#F0F0FF"; // For areas with text
+$THEME->cellcontent2 = "#CCCCFF"; // Alternate colour
+$THEME->borders = "#7777FF; // Table borders
+$THEME->highlight = "#0000FF"; // Highlighted text (eg after a search)
+
+?>
View
BIN  theme/oceanblue/favicon.ico
Binary file not shown
View
10 theme/oceanblue/footer.html
@@ -0,0 +1,10 @@
+<!-- START OF FOOTER -->
+<CENTER>
+<HR SIZE=1 NOSHADE>
+<FONT SIZE=1>
+<P><?=$loggedinas ?></P>
+<P><?=$homelink ?></P>
+</FONT>
+
+</BODY>
+</HTML>
View
BIN  theme/oceanblue/gradient.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
53 theme/oceanblue/header.html
@@ -0,0 +1,53 @@
+<HTML<?=$direction?>>
+<HEAD>
+<TITLE><?=$title ?></TITLE>
+<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
+<?=$meta ?>
+<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
+<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/oceanblue/favicon.ico">
+<? include("$CFG->javascript"); ?>
+</HEAD>
+
+<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
+
+<? if ($home) { // This is what gets printed on the home page only ?>
+
+ <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
+ <TR>
+ <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
+ <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
+ </TR>
+ </TABLE>
+
+
+<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
+ <TR>
+ <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
+ <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
+ </TR>
+ </TABLE>
+
+<? } ?>
+
+
+<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
+ <TR>
+ <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
+ <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
+ </TD>
+ <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
+ </TR>
+ </TABLE>
+ <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
+
+<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <HR SIZE=1 NOSHADE>
+
+<? } ?>
+
+<!-- END OF HEADER -->
View
53 theme/oceanblue/header.html_logo
@@ -0,0 +1,53 @@
+<HTML<?=$direction?>>
+<HEAD>
+<TITLE><?=$title ?></TITLE>
+<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
+<?=$meta ?>
+<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
+<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/oceanblue/favicon.ico">
+<? include("$CFG->javascript"); ?>
+</HEAD>
+
+<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
+
+<? if ($home) { // This is what gets printed on the home page only ?>
+
+ <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
+ <TR>
+ <TD VALIGN=TOP><A HREF="<?=$CFG->wwwroot?>" TARGET="_top"><IMG SRC="<?=$CFG->wwwroot?>/theme/oceanblue/logo.jpg" ALT="Moodle" BORDER="0"></A></TD>
+ <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
+ </TR>
+ </TABLE>
+
+
+<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
+ <TR>
+ <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
+ <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
+ </TR>
+ </TABLE>
+
+<? } ?>
+
+
+<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
+ <TR>
+ <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
+ <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
+ </TD>
+ <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
+ </TR>
+ </TABLE>
+ <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
+
+<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <HR SIZE=1 NOSHADE>
+
+<? } ?>
+
+<!-- END OF HEADER -->
View
BIN  theme/oceanblue/logo.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  theme/oceanblue/logo_base.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
1  theme/oceanblue/styles.php
@@ -0,0 +1 @@
+<?PHP // $Id$
Please sign in to comment.
Something went wrong with that request. Please try again.