New themes under construction

This commit is contained in:
moodler
2002-12-13 03:12:11 +00:00
parent c2246cbb1e
commit 02d35f5503
19 changed files with 397 additions and 0 deletions
+11
View File
@@ -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)
?>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

+10
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>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

+53
View File
@@ -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 -->
+187
View File
@@ -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 {
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 909 B

+8
View File
@@ -0,0 +1,8 @@
Theme Ocean Blue
------------------------
Author: Mitsuhiro Yoshida([email protected])
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
+11
View File
@@ -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)
?>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

+10
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: 922 B

+53
View File
@@ -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 -->
+53
View File
@@ -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 -->
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 B

+1
View File
@@ -0,0 +1 @@
<?PHP // $Id$