Changes for new styles and scheme

This commit is contained in:
moodler
2002-12-09 16:10:57 +00:00
parent e545445874
commit 8120317e2e
26 changed files with 622 additions and 147 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
if ($preview) {
$CFG->theme = $preview;
$CFG->stylesheet = "$CFG->wwwroot/theme/$CFG->theme/styles.css";
$CFG->stylesheet = "$CFG->wwwroot/theme/$CFG->theme/styles.php?themename=$preview";
$CFG->header = "$CFG->dirroot/theme/$CFG->theme/header.html";
$CFG->footer = "$CFG->dirroot/theme/$CFG->theme/footer.html";
include ("$CFG->theme/config.php");
@@ -55,7 +55,7 @@
$themes = get_list_of_plugins("theme");
echo "<TABLE ALIGN=CENTER cellpadding=7 cellspacing=5>";
echo "<TR><TH>$strtheme<TH>&nbsp;</TR>";
echo "<TR><TH class=\"generaltableheader\">$strtheme<TH class=\"generaltableheader\">&nbsp;</TR>";
foreach ($themes as $theme) {
include ("$theme/config.php");
echo "<TR>";
+2 -1
View File
@@ -2,9 +2,10 @@
$THEME->body = "#FFEECE"; // Main page color
$THEME->cellheading = "#FFD991"; // Standard headings of big tables
$THEME->cellheading2 = "#FFB62D"; // Highlight headings of tables
$THEME->cellheading2 = "#FFC85F"; // Highlight headings of tables
$THEME->cellcontent = "#FFFFFF"; // For areas with text
$THEME->cellcontent2 = "#FEE6B9"; // Alternate colour
$THEME->borders = "#555555"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
?>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

+3 -3
View File
@@ -3,7 +3,7 @@
<TITLE><?=$title ?></TITLE>
<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
<?=$meta ?>
<LINK REL="stylesheet" HREF="<?=$styles ?>">
<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standard/favicon.ico">
<? include("$CFG->javascript"); ?>
</HEAD>
@@ -36,10 +36,10 @@
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
<TR>
<TD BGCOLOR="<?=$THEME->cellheading?>">
<TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
<FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
</TD>
<TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></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>
-29
View File
@@ -1,29 +0,0 @@
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: #FFD991;}
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: #AAFFAA;
}
+119
View File
@@ -0,0 +1,119 @@
<?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 {
}
+2 -2
View File
@@ -3,9 +3,9 @@
$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 = "#FFD991"; // Alternate colour
$THEME->cellcontent2 = "#B7E4F6"; // Alternate colour
$THEME->borders = "#555555"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
?>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

+3 -3
View File
@@ -3,7 +3,7 @@
<TITLE><?=$title ?></TITLE>
<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
<?=$meta ?>
<LINK REL="stylesheet" HREF="<?=$styles ?>">
<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardblue/favicon.ico">
<? include("$CFG->javascript"); ?>
</HEAD>
@@ -36,10 +36,10 @@
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
<TR>
<TD BGCOLOR="<?=$THEME->cellheading?>">
<TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
<FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
</TD>
<TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></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>
-21
View File
@@ -1,21 +0,0 @@
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: #8BCDE8;}
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: #AAFFAA;
}
+119
View File
@@ -0,0 +1,119 @@
<?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 {
}
+3 -3
View File
@@ -1,11 +1,11 @@
<?PHP // $Id$
$THEME->body = "#B4EFC1"; // Main page color
$THEME->cellheading = "#85E49A"; // Standard headings of big tables
$THEME->cellheading = "#8CDD94"; // Standard headings of big tables
$THEME->cellheading2 = "#3DD35F"; // Highlight headings of tables
$THEME->cellcontent = "#FFFFFF"; // For areas with text
$THEME->cellcontent2 = "#85E49A"; // Alternate colour
$THEME->cellcontent2 = "#AFE9BB"; // Alternate colour
$THEME->borders = "#555555"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
?>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

+3 -3
View File
@@ -3,7 +3,7 @@
<TITLE><?=$title ?></TITLE>
<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
<?=$meta ?>
<LINK REL="stylesheet" HREF="<?=$styles ?>">
<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardgreen/favicon.ico">
<? include("$CFG->javascript"); ?>
</HEAD>
@@ -36,10 +36,10 @@
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
<TR>
<TD BGCOLOR="<?=$THEME->cellheading?>">
<TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
<FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
</TD>
<TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></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>
-21
View File
@@ -1,21 +0,0 @@
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: #3DD35F;}
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: #FFAAAA;
}
+119
View File
@@ -0,0 +1,119 @@
<?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 {
}
+1
View File
@@ -6,5 +6,6 @@ $THEME->cellheading2 = "#FFB62D"; // Highlight headings of tables
$THEME->cellcontent = "#FFFFFF"; // For areas with text
$THEME->cellcontent2 = "#FFD991"; // Alternate colour
$THEME->borders = "#555555"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
?>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

+3 -3
View File
@@ -3,7 +3,7 @@
<TITLE><?=$title ?></TITLE>
<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
<?=$meta ?>
<LINK REL="stylesheet" HREF="<?=$styles ?>">
<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardlogo/favicon.ico">
<? include("$CFG->javascript"); ?>
</HEAD>
@@ -38,10 +38,10 @@
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
<TR>
<TD BGCOLOR="<?=$THEME->cellheading?>">
<TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
<FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
</TD>
<TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></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>
-29
View File
@@ -1,29 +0,0 @@
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: #FFD991;}
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: #AAFFAA;
}
+119
View File
@@ -0,0 +1,119 @@
<?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 {
}
+2 -2
View File
@@ -3,9 +3,9 @@
$THEME->body = "#F5E7E7"; // Main page color
$THEME->cellheading = "#ECD2D2"; // Standard headings of big tables
$THEME->cellheading2 = "#E9C5C6"; // Highlight headings of tables
$THEME->cellcontent = "#FFFFFF"; // For areas with text
$THEME->cellcontent2 = "#ECD2D2"; // Alternate colour
$THEME->cellcontent2 = "#ECD9D9"; // Alternate colour
$THEME->borders = "#552021"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
?>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

+3 -3
View File
@@ -3,7 +3,7 @@
<TITLE><?=$title ?></TITLE>
<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
<?=$meta ?>
<LINK REL="stylesheet" HREF="<?=$styles ?>">
<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardred/favicon.ico">
<? include("$CFG->javascript"); ?>
</HEAD>
@@ -36,10 +36,10 @@
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
<TR>
<TD BGCOLOR="<?=$THEME->cellheading?>">
<TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
<FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
</TD>
<TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></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>
-22
View File
@@ -1,22 +0,0 @@
a:link {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #CC3366;}
a:visited {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #CC3366;}
a:hover {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; text-decoration: underline; color: #FF0000;}
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: #E9C5C6;}
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: #FFAAAA;
}
+119
View File
@@ -0,0 +1,119 @@
<?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 {
}