Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial version by Tom Murdock

  • Loading branch information...
commit 7d0d7f4665b18c336add621ce7debdf7ce843fe4 1 parent ed5e0c0
moodler authored
View
11 theme/brightretro/config.php
@@ -0,0 +1,11 @@
+<?PHP // $Id$
+
+$THEME->body = "#FFB62d"; // Main page color
+$THEME->cellheading = "FFD991"; // Standard headings of big tables
+$THEME->cellheading2 = "#cD6600"; // Highlight headings of tables
+$THEME->cellcontent = "#FFEECE"; // For areas with text
+$THEME->cellcontent2 = "#FFEECE"; // Alternate colour
+$THEME->borders = "#FFFFFF"; // Table borders
+$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
+
+?>
View
BIN  theme/brightretro/favicon.ico
Binary file not shown
View
10 theme/brightretro/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/brightretro/gradient.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
55 theme/brightretro/header.html
@@ -0,0 +1,55 @@
+<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/standardlogo/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>
+ <IMG BORDER=0 SRC="<?=$CFG->wwwroot?>/theme/standardlogo/logo.jpg">
+ </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/brightretro/logo.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
140 theme/brightretro/styles.php
@@ -0,0 +1,140 @@
+<?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;}
+
+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"?>/gradient.jpg);
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.navbar {
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
+}
+
+.generalbox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.generaltable {
+}
+
+.generaltableheader {
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
+}
+
+.generaltablecell {
+}
+
+.sideblock {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.sideblockheading {
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
+}
+
+.sideblockmain {
+}
+
+.sideblocklinks {
+}
+
+.sideblocklatestnews {
+}
+
+.sideblockrecentactivity {
+}
+
+.outlineheadingblock {
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.weeklyoutline {
+}
+
+.topicsoutline {
+}
+
+.forumpost {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.forumpostheader {
+}
+
+.forumpostheadertopic {
+}
+
+.forumpostpicture {
+}
+
+.forumpostside {
+}
+
+.forumpostmessage {
+}
Please sign in to comment.
Something went wrong with that request. Please try again.