Initial version by Tom Murdock

This commit is contained in:
moodler 2003-01-05 07:02:39 +00:00
parent ed5e0c04ae
commit 7d0d7f4665
7 changed files with 216 additions and 0 deletions

View file

@ -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)
?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -0,0 +1,10 @@
<!-- START OF FOOTER -->
<CENTER>
<HR SIZE=1 NOSHADE>
<FONT SIZE=1>
<P><?=$loggedinas ?></P>
<P><?=$homelink ?></P>
</FONT>
</BODY>
</HTML>

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

View file

@ -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 -->

BIN
theme/brightretro/logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View file

@ -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 {
}