Skip to content

Commit

Permalink
Garden theme by spiggy: http://phpgirl.com
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jan 6, 2003
1 parent a657c48 commit c4028ac
Show file tree
Hide file tree
Showing 10 changed files with 281 additions and 0 deletions.
1 change: 1 addition & 0 deletions theme/garden/README.txt
@@ -0,0 +1 @@
Garden theme by spiggy: http://phpgirl.com
11 changes: 11 additions & 0 deletions theme/garden/config.php
@@ -0,0 +1,11 @@
<?PHP // $Id$

$THEME->body = "#99cc66"; // Main page color
$THEME->cellheading = "#99cc66"; // Standard headings of big tables
$THEME->cellheading2 = "#669966"; // Highlight headings of tables
$THEME->cellcontent = "#eeeedd"; // For areas with text
$THEME->cellcontent2 = ""; // Alternate colour
$THEME->borders = "#669966"; // Table borders
$THEME->highlight = "#ffff99"; // Highlighted text (eg after a search)

?>
Binary file added theme/garden/favicon.ico
Binary file not shown.
10 changes: 10 additions & 0 deletions theme/garden/footer.html
@@ -0,0 +1,10 @@
<!-- START OF FOOTER -->
<CENTER>
<HR SIZE="2" noshade="noshade">
<FONT SIZE="2">
<P><?=$loggedinas ?></P>
<P><?=$homelink ?></P>
</FONT>

</BODY>
</HTML>
Binary file added theme/garden/gradient.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/garden/gradient1.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions theme/garden/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/green/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 class="top">
<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 class="top">
<TR>
<TD VALIGN=TOP style="padding-left: 10px"><br /><FONT SIZE=4><B><?=$heading?></B></FONT><br /><br /></TD>
<TD ALIGN=RIGHT VALIGN=TOP style="padding-right: 10px"><br /><?=$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?>">
<FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
</TD>
<TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT 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="noshade">

<? } ?>

<!-- END OF HEADER -->
Binary file added theme/garden/leftside.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
206 changes: 206 additions & 0 deletions theme/garden/styles.php
@@ -0,0 +1,206 @@
<?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.
///
/// New classes always get added to the end of the file.
///
/// Note that a group of standard colours are all
/// defined in config.php in this directory. The
/// reason for this is because Moodle uses the same
/// colours to provide oldstyle formatting for
/// browsers without CSS.
///
/// You can hardcode colours in this file if you
/// don't care about this.

?>


body, td, th, li {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 100%;
}

th {
font-weight: bold;
background-color: <?PHP echo $THEME->cellheading?>;
}

a:link {
text-decoration: none;
color: #000000;
font-weight: bold;
}

a:visited {
text-decoration: none;
color: #000000;
font-weight: bold;
}

a:hover {
text-decoration: underline;
color: purple;
font-weight: bold;
}

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;
font-size: 100%;
}

.navbar {
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
}

.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 {
background-image: url(<?PHP echo "$themeurl"?>/leftside.jpg);
background-repeat: repeat-y;
}

.sideblocklinks {
}

.sideblocklatestnews {
}

.sideblockrecentactivity {
}

.outlineheadingblock {
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}

.forumpost {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}

.forumpostheader {
}

.forumpostheadertopic {
}

.forumpostpicture {
}

.forumpostside {
background-image: url(<?PHP echo "$themeurl"?>/gradient1.jpg);
}

.forumpostmessage {
}


.weeklyoutline {
}

.weeklyoutlineside {
}

.weeklyoutlinesidehighlight {
}

.weeklyoutlinecontent {
}

.weeklyoutlinecontenthighlight {
}


.topicsoutline {
}

.topicsoutlineside {
}

.topicsoutlinesidehighlight {
}

.topicsoutlinecontent {
}

.topicsoutlinecontenthighlight {
}


.siteinfo {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}

.siteinfocontent {
}


.generalbox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
font-size: 100%;
}

.generalboxcontent {
background-color: <?PHP echo $THEME->body?>;
}




.top {
background-image: url(<?PHP echo "$themeurl"?>/top.jpg);
background-repeat: repeat-x;
}
Binary file added theme/garden/top.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c4028ac

Please sign in to comment.