mirror of
https://github.com/moodle/moodle.git
synced 2025-01-21 07:28:31 +01:00
305 lines
5.9 KiB
PHP
305 lines
5.9 KiB
PHP
<?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
|
|
|
|
?>
|
|
|
|
body {
|
|
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
|
background-image: url(<?PHP echo "$themeurl"?>/texture1.jpg);
|
|
}
|
|
|
|
td, th {
|
|
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
a:link {
|
|
text-decoration: none;
|
|
color: blue;
|
|
}
|
|
|
|
a:visited {
|
|
text-decoration: none;
|
|
color: blue;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
color: red;
|
|
}
|
|
|
|
th {
|
|
font-weight: bold;
|
|
background-color: <?PHP echo $THEME->cellheading?>;
|
|
}
|
|
|
|
ul {
|
|
margin-bottom: 5px;
|
|
margin-top: 0px;
|
|
}
|
|
|
|
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;
|
|
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
|
|
}
|
|
|
|
.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);
|
|
border-width: 1px;
|
|
border-color: <?PHP echo $THEME->borders?>;
|
|
border-style: solid;
|
|
}
|
|
|
|
.weeklyoutlinesidehighlight {
|
|
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
|
|
border-width: 1px;
|
|
border-color: <?PHP echo $THEME->borders?>;
|
|
border-style: solid;
|
|
}
|
|
|
|
.weeklyoutlinecontent {
|
|
border-width: 0px;
|
|
border-top: 1px;
|
|
border-bottom: 1px;
|
|
border-color: <?PHP echo $THEME->borders?>;
|
|
border-style: solid;
|
|
}
|
|
|
|
.weeklyoutlinecontenthighlight {
|
|
background: #FDFBF1;
|
|
border-width: 0px;
|
|
border-top: 1px;
|
|
border-bottom: 1px;
|
|
border-color: <?PHP echo $THEME->borders?>;
|
|
border-style: solid;
|
|
}
|
|
|
|
.topicsoutline {
|
|
}
|
|
|
|
.topicsoutlineside {
|
|
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
|
|
border-width: 1px;
|
|
border-color: <?PHP echo $THEME->borders?>;
|
|
border-style: solid;
|
|
}
|
|
|
|
.topicsoutlinesidehighlight {
|
|
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
|
|
border-width: 1px;
|
|
border-color: <?PHP echo $THEME->borders?>;
|
|
border-style: solid;
|
|
}
|
|
|
|
.topicsoutlinecontent {
|
|
border-width: 0px;
|
|
border-top: 1px;
|
|
border-bottom: 1px;
|
|
border-color: <?PHP echo $THEME->borders?>;
|
|
border-style: solid;
|
|
}
|
|
|
|
.topicsoutlinecontenthighlight {
|
|
background: #FDFBF1;
|
|
border-width: 0px;
|
|
border-top: 1px;
|
|
border-bottom: 1px;
|
|
border-color: <?PHP echo $THEME->borders?>;
|
|
border-style: solid;
|
|
}
|
|
|
|
|
|
.forumpost {
|
|
border-width: 1px;
|
|
border-color: <?PHP echo $THEME->borders?>;
|
|
border-style: solid;
|
|
}
|
|
|
|
.forumpostpicture {
|
|
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
|
|
}
|
|
|
|
.forumpostside {
|
|
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
|
|
}
|
|
|
|
.forumpostmessage {
|
|
}
|
|
|
|
|
|
.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;
|
|
}
|
|
|
|
.generalboxcontent {
|
|
background-image: none;
|
|
background-color: <?PHP echo $THEME->cellcontent?>;
|
|
}
|
|
|
|
.feedbacktext {
|
|
color: <?PHP echo $THEME->cellheading2?>;
|
|
}
|
|
|
|
a.dimmed:link {
|
|
text-decoration: none;
|
|
color: #AAAAAA;
|
|
}
|
|
|
|
a.dimmed:visited {
|
|
text-decoration: none;
|
|
color: #AAAAAA;
|
|
}
|
|
|
|
a.dimmed:hover {
|
|
text-decoration: underline;
|
|
color: red;
|
|
}
|
|
.dimmed_text {
|
|
color: #AAAAAA;
|
|
}
|
|
|
|
.forumpostheader {
|
|
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
|
|
}
|
|
|
|
.forumpostheadertopic {
|
|
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
|
|
}
|
|
|
|
.forumpostheaderpicture {
|
|
}
|
|
|
|
.forumpostheadername {
|
|
font-size: small;
|
|
}
|
|
|
|
.forumpostheaderreplies {
|
|
font-size: small;
|
|
}
|
|
|
|
.forumpostheaderdate {
|
|
font-size: small;
|
|
}
|
|
|
|
.logininfo {
|
|
font-size: x-small;
|
|
}
|
|
|
|
.homelink {
|
|
font-size: x-small;
|
|
}
|
|
|
|
.teacheronly {
|
|
color: #990000;
|
|
}
|