moodle/theme/garden/styles.php
2003-04-18 06:39:40 +00:00

243 lines
3.9 KiB
PHP
Executable File

<?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?>;
}
.feedbacktext {
color: <?PHP echo $THEME->cellheading2?>;
}
.top {
background-image: url(<?PHP echo "$themeurl"?>/top.jpg);
background-repeat: repeat-x;
}
a.dimmed:link {
text-decoration: none;
color: #AAAAAA;
}
a.dimmed:visited {
text-decoration: none;
color: #AAAAAA;
}
a.dimmed:hover {
text-decoration: underline;
color: red;
}
.forumpostheader {
}
.forumpostheaderpicture {
}
.forumpostheadername {
font-size: small;
}
.forumpostheaderreplies {
font-size: small;
}
.forumpostheaderdate {
font-size: small;
}