.weeklydatetext {}
+/* Style for the notice boxes (surrounding a notice message) */
+
+.noticebox {}
+.noticeboxcontent {}
+
ALL pix files can now be changed from within a theme,
see cordoroyblue for an example: config.php and the
.generalboxcontent {
}
+.noticebox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.noticeboxcontent {
+ text-align: center;
+}
+
+
.feedbacktext {
color: <?PHP echo $THEME->cellheading2?>;
}
background-color: <?PHP echo $THEME->cellcontent?>;
}
+.noticebox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.noticeboxcontent {
+ text-align: center;
+}
+
+
.feedbacktext {
color: <?PHP echo $THEME->cellheading2?>;
}
background-color: <?PHP echo $THEME->body?>;
}
+.noticebox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.noticeboxcontent {
+ text-align: center;
+}
+
+
.feedbacktext {
color: <?PHP echo $THEME->cellheading2?>;
.generalboxcontent {
}
+.noticebox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.noticeboxcontent {
+ text-align: center;
+}
+
+
.feedbacktext {
color: <?PHP echo $THEME->cellheading2?>;
}
.generalboxcontent {
}
+.noticebox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.noticeboxcontent {
+ text-align: center;
+}
+
+
.feedbacktext {
color: <?PHP echo $THEME->cellheading2?>;
}
.teacheronly {
color: #990000;
}
-
-<?PHP // $Id$\r
-\r
-/// We use PHP so we can do value substitutions into the styles\r
-\r
- header("Content-type: text/css");
-
- require_once("../../config.php"); \r
-\r
- if (isset($themename)) {\r
- $CFG->theme = $themename;\r
- }\r
-\r
- $themeurl = "$CFG->wwwroot/theme/$CFG->theme";\r
-\r
-/// From here on it's nearly a normal stylesheet.\r
-/// First are some CSS definitions for normal tags, \r
-/// then custom tags follow. \r
-///\r
-/// New classes always get added to the end of the file.\r
-///\r
-/// Note that a group of standard colours are all \r
-/// defined in config.php in this directory. The\r
-/// reason for this is because Moodle uses the same\r
-/// colours to provide oldstyle formatting for \r
-/// browsers without CSS.\r
-///\r
-/// You can hardcode colours in this file if you \r
-/// don't care about this.\r
-\r
-?>\r
-\r
-\r
-body, td, th, li {\r
- font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
-}\r
-\r
-th {\r
- font-weight: bold; \r
- background-color: <?PHP echo $THEME->cellheading?>;\r
-}\r
-\r
-a:link {\r
- text-decoration: none; \r
- color: blue;\r
-}\r
-\r
-a:visited {\r
- text-decoration: none; \r
- color: blue;\r
-}\r
-\r
-a:hover {\r
- text-decoration: underline; \r
- color: red;\r
-}\r
-\r
-form { \r
- margin-bottom: 0;\r
-}\r
-\r
-\r
-\r
-\r
-\r
-.highlight {\r
- background-color: <?PHP echo $THEME->highlight?>;\r
-}\r
-\r
-.headingblock {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.navbar {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.generaltable {\r
-}\r
-\r
-.generaltableheader {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.generaltablecell {\r
-}\r
-\r
-.sideblock {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.sideblockheading {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.sideblockmain {\r
-}\r
-\r
-.sideblocklinks {\r
-}\r
-\r
-.sideblocklatestnews {\r
-}\r
-\r
-.sideblockrecentactivity {\r
-}\r
-\r
-.outlineheadingblock {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.forumpost {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.forumpostpicture {\r
-}\r
-\r
-.forumpostside {\r
-}\r
-\r
-.forumpostmessage {\r
-}\r
-\r
-\r
-.weeklyoutline {\r
-}\r
-\r
-.weeklyoutlineside {\r
-}\r
-\r
-.weeklyoutlinesidehighlight {\r
-}\r
-\r
-.weeklyoutlinesidehidden {\r
- background-color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-.weeklyoutlinecontent {\r
-}\r
-\r
-.weeklyoutlinecontenthighlight {\r
-}\r
-\r
-.weeklyoutlinecontenthidden {\r
-}\r
-\r
-.weeklydatetext {\r
- font-size: medium;\r
- font-weight: bold; \r
- color: <?PHP echo $THEME->cellheading2?>;\r
-}\r
-\r
-.topicsoutline {\r
-}\r
-\r
-.topicsoutlineside {\r
-}\r
-\r
-.topicsoutlinesidehighlight {\r
-}\r
-\r
-.topicsoutlinesidehidden {\r
- background-color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-.topicsoutlinecontent {\r
-}\r
-\r
-.topicsoutlinecontenthighlight {\r
-}\r
-\r
-.topicsoutlinecontenthidden {\r
-}\r
-\r
-.siteinfo {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.siteinfocontent {\r
-}\r
-\r
-\r
-.generalbox {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.generalboxcontent {\r
-}\r
-\r
-.feedbacktext {\r
- color: <?PHP echo $THEME->cellheading2?>;\r
-}\r
-\r
-a.dimmed:link {\r
- text-decoration: none; \r
- color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-a.dimmed:visited {\r
- text-decoration: none;\r
- color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-a.dimmed:hover {\r
- text-decoration: underline;\r
- color: red;\r
-}\r
+<?PHP /* $Id$ */
+
+/// We use PHP so we can do value substitutions into the styles
+
+ require_once("../../config.php");
+
+ header("Content-type: text/css"); // Correct MIME type
+
+ 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: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+}
+
+th {
+ font-weight: bold;
+ background-color: <?PHP echo $THEME->cellheading?>;
+}
+
+a:link {
+ text-decoration: none;
+ color: blue;
+}
+
+a:visited {
+ text-decoration: none;
+ color: blue;
+}
+
+a:hover {
+ text-decoration: underline;
+ color: red;
+}
+
+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);
+}
+
+.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;
+}
+
+.forumpost {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.forumpostpicture {
+}
+
+.forumpostside {
+}
+
+.forumpostmessage {
+}
+
+
+.weeklyoutline {
+}
+
+.weeklyoutlineside {
+}
+
+.weeklyoutlinesidehighlight {
+}
+
+.weeklyoutlinesidehidden {
+ background-color: <?PHP echo $THEME->hidden?>;
+}
+
+.weeklyoutlinecontent {
+}
+
+.weeklyoutlinecontenthighlight {
+}
+
+.weeklyoutlinecontenthidden {
+}
+
+.weeklydatetext {
+ font-size: medium;
+ font-weight: bold;
+ color: <?PHP echo $THEME->cellheading2?>;
+}
+
+.topicsoutline {
+}
+
+.topicsoutlineside {
+}
+
+.topicsoutlinesidehighlight {
+}
+
+.topicsoutlinesidehidden {
+ background-color: <?PHP echo $THEME->hidden?>;
+}
+
+.topicsoutlinecontent {
+}
+
+.topicsoutlinecontenthighlight {
+}
+
+.topicsoutlinecontenthidden {
+}
+
+.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 {
+}
+
+.noticebox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.noticeboxcontent {
+ text-align: center;
+}
+
+
+.feedbacktext {
+ color: <?PHP echo $THEME->cellheading2?>;
+}
+
+a.dimmed:link {
+ text-decoration: none;
+ color: <?PHP echo $THEME->hidden?>;
+}
+
+a.dimmed:visited {
+ text-decoration: none;
+ color: <?PHP echo $THEME->hidden?>;
+}
+
+a.dimmed:hover {
+ text-decoration: underline;
+ color: red;
+}
.dimmed_text {
color: #AAAAAA;
}
-\r
-.forumpostheader {\r
-}\r
-\r
-.forumpostheaderpicture {\r
-}\r
-\r
-.forumpostheadername {\r
- font-size: small;\r
-}\r
-\r
-.forumpostheaderreplies {\r
- font-size: small;\r
-}\r
-\r
-.forumpostheaderdate {\r
- font-size: small;\r
-}\r
-\r
-.logininfo {\r
- font-size: x-small;\r
-}\r
-\r
-.homelink {\r
- font-size: x-small;\r
-}\r
-\r
-.teacheronly {\r
- color: #990000;\r
-}\r
+.forumpostheader {
+}
+
+.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;
+}
-<?PHP // $Id$\r
-\r
-/// We use PHP so we can do value substitutions into the styles\r
-\r
- header("Content-type: text/css");
-
- require_once("../../config.php"); \r
-\r
- if (isset($themename)) {\r
- $CFG->theme = $themename;\r
- }\r
-\r
- $themeurl = "$CFG->wwwroot/theme/$CFG->theme";\r
-\r
-/// From here on it's nearly a normal stylesheet.\r
-/// First are some CSS definitions for normal tags, \r
-/// then custom tags follow. \r
-///\r
-/// New classes always get added to the end of the file.\r
-///\r
-/// Note that a group of standard colours are all \r
-/// defined in config.php in this directory. The\r
-/// reason for this is because Moodle uses the same\r
-/// colours to provide oldstyle formatting for \r
-/// browsers without CSS.\r
-///\r
-/// You can hardcode colours in this file if you \r
-/// don't care about this.\r
-\r
-?>\r
-\r
-\r
-body, td, th, li {\r
- font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
-}\r
-\r
-th {\r
- font-weight: bold; \r
- background-color: <?PHP echo $THEME->cellheading?>;\r
-}\r
-\r
-a:link {\r
- text-decoration: none; \r
- color: blue;\r
-}\r
-\r
-a:visited {\r
- text-decoration: none; \r
- color: blue;\r
-}\r
-\r
-a:hover {\r
- text-decoration: underline; \r
- color: red;\r
-}\r
-\r
-form { \r
- margin-bottom: 0;\r
-}\r
-\r
-\r
-\r
-\r
-\r
-.highlight {\r
- background-color: <?PHP echo $THEME->highlight?>;\r
-}\r
-\r
-.headingblock {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.navbar {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.generaltable {\r
-}\r
-\r
-.generaltableheader {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.generaltablecell {\r
-}\r
-\r
-.sideblock {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.sideblockheading {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.sideblockmain {\r
-}\r
-\r
-.sideblocklinks {\r
-}\r
-\r
-.sideblocklatestnews {\r
-}\r
-\r
-.sideblockrecentactivity {\r
-}\r
-\r
-.outlineheadingblock {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.forumpost {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.forumpostpicture {\r
-}\r
-\r
-.forumpostside {\r
-}\r
-\r
-.forumpostmessage {\r
-}\r
-\r
-\r
-.weeklyoutline {\r
-}\r
-\r
-.weeklyoutlineside {\r
-}\r
-\r
-.weeklyoutlinesidehighlight {\r
-}\r
-\r
-.weeklyoutlinesidehidden {\r
- background-color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-.weeklyoutlinecontent {\r
-}\r
-\r
-.weeklyoutlinecontenthighlight {\r
-}\r
-\r
-.weeklyoutlinecontenthidden {\r
-}\r
-\r
-.weeklydatetext {\r
- font-size: medium;\r
- font-weight: bold; \r
- color: <?PHP echo $THEME->cellheading2?>;\r
-}\r
-\r
-.topicsoutline {\r
-}\r
-\r
-.topicsoutlineside {\r
-}\r
-\r
-.topicsoutlinesidehighlight {\r
-}\r
-\r
-.topicsoutlinesidehidden {\r
- background-color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-.topicsoutlinecontent {\r
-}\r
-\r
-.topicsoutlinecontenthighlight {\r
-}\r
-\r
-.topicsoutlinecontenthidden {\r
-}\r
-\r
-.siteinfo {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.siteinfocontent {\r
-}\r
-\r
-\r
-.generalbox {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.generalboxcontent {\r
-}\r
-\r
-.feedbacktext {\r
- color: <?PHP echo $THEME->cellheading2?>;\r
-}\r
-\r
-a.dimmed:link {\r
- text-decoration: none; \r
- color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-a.dimmed:visited {\r
- text-decoration: none;\r
- color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-a.dimmed:hover {\r
- text-decoration: underline;\r
- color: red;\r
-}\r
+<?PHP /* $Id$ */
+
+/// We use PHP so we can do value substitutions into the styles
+
+ require_once("../../config.php");
+
+ header("Content-type: text/css"); // Correct MIME type
+
+ 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: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+}
+
+th {
+ font-weight: bold;
+ background-color: <?PHP echo $THEME->cellheading?>;
+}
+
+a:link {
+ text-decoration: none;
+ color: blue;
+}
+
+a:visited {
+ text-decoration: none;
+ color: blue;
+}
+
+a:hover {
+ text-decoration: underline;
+ color: red;
+}
+
+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);
+}
+
+.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;
+}
+
+.forumpost {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.forumpostpicture {
+}
+
+.forumpostside {
+}
+
+.forumpostmessage {
+}
+
+
+.weeklyoutline {
+}
+
+.weeklyoutlineside {
+}
+
+.weeklyoutlinesidehighlight {
+}
+
+.weeklyoutlinesidehidden {
+ background-color: <?PHP echo $THEME->hidden?>;
+}
+
+.weeklyoutlinecontent {
+}
+
+.weeklyoutlinecontenthighlight {
+}
+
+.weeklyoutlinecontenthidden {
+}
+
+.weeklydatetext {
+ font-size: medium;
+ font-weight: bold;
+ color: <?PHP echo $THEME->cellheading2?>;
+}
+
+.topicsoutline {
+}
+
+.topicsoutlineside {
+}
+
+.topicsoutlinesidehighlight {
+}
+
+.topicsoutlinesidehidden {
+ background-color: <?PHP echo $THEME->hidden?>;
+}
+
+.topicsoutlinecontent {
+}
+
+.topicsoutlinecontenthighlight {
+}
+
+.topicsoutlinecontenthidden {
+}
+
+.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 {
+}
+
+.noticebox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.noticeboxcontent {
+ text-align: center;
+}
+
+
+.feedbacktext {
+ color: <?PHP echo $THEME->cellheading2?>;
+}
+
+a.dimmed:link {
+ text-decoration: none;
+ color: <?PHP echo $THEME->hidden?>;
+}
+
+a.dimmed:visited {
+ text-decoration: none;
+ color: <?PHP echo $THEME->hidden?>;
+}
+
+a.dimmed:hover {
+ text-decoration: underline;
+ color: red;
+}
.dimmed_text {
color: #AAAAAA;
}
-\r
-.forumpostheader {\r
-}\r
-\r
-.forumpostheaderpicture {\r
-}\r
-\r
-.forumpostheadername {\r
- font-size: small;\r
-}\r
-\r
-.forumpostheaderreplies {\r
- font-size: small;\r
-}\r
-\r
-.forumpostheaderdate {\r
- font-size: small;\r
-}\r
-\r
-.logininfo {\r
- font-size: x-small;\r
-}\r
-\r
-.homelink {\r
- font-size: x-small;\r
-}\r
-\r
-.teacheronly {\r
- color: #990000;\r
-}\r
+.forumpostheader {
+}
+
+.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;
+}
-<?PHP // $Id$\r
-\r
-/// We use PHP so we can do value substitutions into the styles\r
-\r
- header("Content-type: text/css");
-
- require_once("../../config.php"); \r
-\r
- if (isset($themename)) {\r
- $CFG->theme = $themename;\r
- }\r
-\r
- $themeurl = "$CFG->wwwroot/theme/$CFG->theme";\r
-\r
-/// From here on it's nearly a normal stylesheet.\r
-/// First are some CSS definitions for normal tags, \r
-/// then custom tags follow. \r
-///\r
-/// New classes always get added to the end of the file.\r
-///\r
-/// Note that a group of standard colours are all \r
-/// defined in config.php in this directory. The\r
-/// reason for this is because Moodle uses the same\r
-/// colours to provide oldstyle formatting for \r
-/// browsers without CSS.\r
-///\r
-/// You can hardcode colours in this file if you \r
-/// don't care about this.\r
-\r
-?>\r
-\r
-\r
-body, td, th, li {\r
- font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
-}\r
-\r
-th {\r
- font-weight: bold; \r
- background-color: <?PHP echo $THEME->cellheading?>;\r
-}\r
-\r
-a:link {\r
- text-decoration: none; \r
- color: blue;\r
-}\r
-\r
-a:visited {\r
- text-decoration: none; \r
- color: blue;\r
-}\r
-\r
-a:hover {\r
- text-decoration: underline; \r
- color: red;\r
-}\r
-\r
-form { \r
- margin-bottom: 0;\r
-}\r
-\r
-\r
-\r
-\r
-\r
-.highlight {\r
- background-color: <?PHP echo $THEME->highlight?>;\r
-}\r
-\r
-.headingblock {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.navbar {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.generaltable {\r
-}\r
-\r
-.generaltableheader {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.generaltablecell {\r
-}\r
-\r
-.sideblock {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.sideblockheading {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.sideblockmain {\r
-}\r
-\r
-.sideblocklinks {\r
-}\r
-\r
-.sideblocklatestnews {\r
-}\r
-\r
-.sideblockrecentactivity {\r
-}\r
-\r
-.outlineheadingblock {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.forumpost {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.forumpostpicture {\r
-}\r
-\r
-.forumpostside {\r
-}\r
-\r
-.forumpostmessage {\r
-}\r
-\r
-\r
-.weeklyoutline {\r
-}\r
-\r
-.weeklyoutlineside {\r
-}\r
-\r
-.weeklyoutlinesidehighlight {\r
-}\r
-\r
-.weeklyoutlinesidehidden {\r
- background-color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-.weeklyoutlinecontent {\r
-}\r
-\r
-.weeklyoutlinecontenthighlight {\r
-}\r
-\r
-.weeklyoutlinecontenthidden {\r
-}\r
-\r
-.weeklydatetext {\r
- font-size: medium;\r
- font-weight: bold; \r
- color: <?PHP echo $THEME->cellheading2?>;\r
-}\r
-\r
-.topicsoutline {\r
-}\r
-\r
-.topicsoutlineside {\r
-}\r
-\r
-.topicsoutlinesidehighlight {\r
-}\r
-\r
-.topicsoutlinesidehidden {\r
- background-color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-.topicsoutlinecontent {\r
-}\r
-\r
-.topicsoutlinecontenthighlight {\r
-}\r
-\r
-.topicsoutlinecontenthidden {\r
-}\r
-\r
-.siteinfo {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.siteinfocontent {\r
-}\r
-\r
-\r
-.generalbox {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.generalboxcontent {\r
-}\r
-\r
-.feedbacktext {\r
- color: <?PHP echo $THEME->cellheading2?>;\r
-}\r
-\r
-a.dimmed:link {\r
- text-decoration: none; \r
- color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-a.dimmed:visited {\r
- text-decoration: none;\r
- color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-a.dimmed:hover {\r
- text-decoration: underline;\r
- color: red;\r
-}\r
+<?PHP /* $Id$ */
+
+/// We use PHP so we can do value substitutions into the styles
+
+ require_once("../../config.php");
+
+ header("Content-type: text/css"); // Correct MIME type
+
+ 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: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+}
+
+th {
+ font-weight: bold;
+ background-color: <?PHP echo $THEME->cellheading?>;
+}
+
+a:link {
+ text-decoration: none;
+ color: blue;
+}
+
+a:visited {
+ text-decoration: none;
+ color: blue;
+}
+
+a:hover {
+ text-decoration: underline;
+ color: red;
+}
+
+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);
+}
+
+.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;
+}
+
+.forumpost {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.forumpostpicture {
+}
+
+.forumpostside {
+}
+
+.forumpostmessage {
+}
+
+
+.weeklyoutline {
+}
+
+.weeklyoutlineside {
+}
+
+.weeklyoutlinesidehighlight {
+}
+
+.weeklyoutlinesidehidden {
+ background-color: <?PHP echo $THEME->hidden?>;
+}
+
+.weeklyoutlinecontent {
+}
+
+.weeklyoutlinecontenthighlight {
+}
+
+.weeklyoutlinecontenthidden {
+}
+
+.weeklydatetext {
+ font-size: medium;
+ font-weight: bold;
+ color: <?PHP echo $THEME->cellheading2?>;
+}
+
+.topicsoutline {
+}
+
+.topicsoutlineside {
+}
+
+.topicsoutlinesidehighlight {
+}
+
+.topicsoutlinesidehidden {
+ background-color: <?PHP echo $THEME->hidden?>;
+}
+
+.topicsoutlinecontent {
+}
+
+.topicsoutlinecontenthighlight {
+}
+
+.topicsoutlinecontenthidden {
+}
+
+.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 {
+}
+
+.noticebox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.noticeboxcontent {
+ text-align: center;
+}
+
+
+.feedbacktext {
+ color: <?PHP echo $THEME->cellheading2?>;
+}
+
+a.dimmed:link {
+ text-decoration: none;
+ color: <?PHP echo $THEME->hidden?>;
+}
+
+a.dimmed:visited {
+ text-decoration: none;
+ color: <?PHP echo $THEME->hidden?>;
+}
+
+a.dimmed:hover {
+ text-decoration: underline;
+ color: red;
+}
.dimmed_text {
color: #AAAAAA;
}
-\r
-.forumpostheader {\r
-}\r
-\r
-.forumpostheaderpicture {\r
-}\r
-\r
-.forumpostheadername {\r
- font-size: small;\r
-}\r
-\r
-.forumpostheaderreplies {\r
- font-size: small;\r
-}\r
-\r
-.forumpostheaderdate {\r
- font-size: small;\r
-}\r
-\r
-.logininfo {\r
- font-size: x-small;\r
-}\r
-\r
-.homelink {\r
- font-size: x-small;\r
-}\r
-\r
-.teacheronly {\r
- color: #990000;\r
-}\r
+.forumpostheader {
+}
+
+.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;
+}
-<?PHP // $Id$\r
-\r
-/// We use PHP so we can do value substitutions into the styles\r
-\r
- header("Content-type: text/css");
-
- require_once("../../config.php"); \r
-\r
- if (isset($themename)) {\r
- $CFG->theme = $themename;\r
- }\r
-\r
- $themeurl = "$CFG->wwwroot/theme/$CFG->theme";\r
-\r
-/// From here on it's nearly a normal stylesheet.\r
-/// First are some CSS definitions for normal tags, \r
-/// then custom tags follow. \r
-///\r
-/// New classes always get added to the end of the file.\r
-///\r
-/// Note that a group of standard colours are all \r
-/// defined in config.php in this directory. The\r
-/// reason for this is because Moodle uses the same\r
-/// colours to provide oldstyle formatting for \r
-/// browsers without CSS.\r
-///\r
-/// You can hardcode colours in this file if you \r
-/// don't care about this.\r
-\r
-?>\r
-\r
-\r
-body, td, th, li {\r
- font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
-}\r
-\r
-th {\r
- font-weight: bold; \r
- background-color: <?PHP echo $THEME->cellheading?>;\r
-}\r
-\r
-a:link {\r
- text-decoration: none; \r
- color: blue;\r
-}\r
-\r
-a:visited {\r
- text-decoration: none; \r
- color: blue;\r
-}\r
-\r
-a:hover {\r
- text-decoration: underline; \r
- color: red;\r
-}\r
-\r
-form { \r
- margin-bottom: 0;\r
-}\r
-\r
-\r
-\r
-\r
-\r
-.highlight {\r
- background-color: <?PHP echo $THEME->highlight?>;\r
-}\r
-\r
-.headingblock {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.navbar {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.generaltable {\r
-}\r
-\r
-.generaltableheader {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.generaltablecell {\r
-}\r
-\r
-.sideblock {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.sideblockheading {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.sideblockmain {\r
-}\r
-\r
-.sideblocklinks {\r
-}\r
-\r
-.sideblocklatestnews {\r
-}\r
-\r
-.sideblockrecentactivity {\r
-}\r
-\r
-.outlineheadingblock {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.forumpost {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.forumpostpicture {\r
-}\r
-\r
-.forumpostside {\r
-}\r
-\r
-.forumpostmessage {\r
-}\r
-\r
-\r
-.weeklyoutline {\r
-}\r
-\r
-.weeklyoutlineside {\r
-}\r
-\r
-.weeklyoutlinesidehighlight {\r
-}\r
-\r
-.weeklyoutlinesidehidden {\r
- background-color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-.weeklyoutlinecontent {\r
-}\r
-\r
-.weeklyoutlinecontenthighlight {\r
-}\r
-\r
-.weeklyoutlinecontenthidden {\r
-}\r
-\r
-.weeklydatetext {\r
- font-size: medium;\r
- font-weight: bold; \r
- color: <?PHP echo $THEME->cellheading2?>;\r
-}\r
-\r
-.topicsoutline {\r
-}\r
-\r
-.topicsoutlineside {\r
-}\r
-\r
-.topicsoutlinesidehighlight {\r
-}\r
-\r
-.topicsoutlinesidehidden {\r
- background-color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-.topicsoutlinecontent {\r
-}\r
-\r
-.topicsoutlinecontenthighlight {\r
-}\r
-\r
-.topicsoutlinecontenthidden {\r
-}\r
-\r
-.siteinfo {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.siteinfocontent {\r
-}\r
-\r
-\r
-.generalbox {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.generalboxcontent {\r
-}\r
-\r
-.feedbacktext {\r
- color: <?PHP echo $THEME->cellheading2?>;\r
-}\r
-\r
-a.dimmed:link {\r
- text-decoration: none; \r
- color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-a.dimmed:visited {\r
- text-decoration: none;\r
- color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-a.dimmed:hover {\r
- text-decoration: underline;\r
- color: red;\r
-}\r
+<?PHP /* $Id$ */
+
+/// We use PHP so we can do value substitutions into the styles
+
+ require_once("../../config.php");
+
+ header("Content-type: text/css"); // Correct MIME type
+
+ 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: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+}
+
+th {
+ font-weight: bold;
+ background-color: <?PHP echo $THEME->cellheading?>;
+}
+
+a:link {
+ text-decoration: none;
+ color: blue;
+}
+
+a:visited {
+ text-decoration: none;
+ color: blue;
+}
+
+a:hover {
+ text-decoration: underline;
+ color: red;
+}
+
+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);
+}
+
+.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;
+}
+
+.forumpost {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.forumpostpicture {
+}
+
+.forumpostside {
+}
+
+.forumpostmessage {
+}
+
+
+.weeklyoutline {
+}
+
+.weeklyoutlineside {
+}
+
+.weeklyoutlinesidehighlight {
+}
+
+.weeklyoutlinesidehidden {
+ background-color: <?PHP echo $THEME->hidden?>;
+}
+
+.weeklyoutlinecontent {
+}
+
+.weeklyoutlinecontenthighlight {
+}
+
+.weeklyoutlinecontenthidden {
+}
+
+.weeklydatetext {
+ font-size: medium;
+ font-weight: bold;
+ color: <?PHP echo $THEME->cellheading2?>;
+}
+
+.topicsoutline {
+}
+
+.topicsoutlineside {
+}
+
+.topicsoutlinesidehighlight {
+}
+
+.topicsoutlinesidehidden {
+ background-color: <?PHP echo $THEME->hidden?>;
+}
+
+.topicsoutlinecontent {
+}
+
+.topicsoutlinecontenthighlight {
+}
+
+.topicsoutlinecontenthidden {
+}
+
+.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 {
+}
+
+.noticebox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.noticeboxcontent {
+ text-align: center;
+}
+
+
+.feedbacktext {
+ color: <?PHP echo $THEME->cellheading2?>;
+}
+
+a.dimmed:link {
+ text-decoration: none;
+ color: <?PHP echo $THEME->hidden?>;
+}
+
+a.dimmed:visited {
+ text-decoration: none;
+ color: <?PHP echo $THEME->hidden?>;
+}
+
+a.dimmed:hover {
+ text-decoration: underline;
+ color: red;
+}
.dimmed_text {
color: #AAAAAA;
}
-\r
-.forumpostheader {\r
-}\r
-\r
-.forumpostheaderpicture {\r
-}\r
-\r
-.forumpostheadername {\r
- font-size: small;\r
-}\r
-\r
-.forumpostheaderreplies {\r
- font-size: small;\r
-}\r
-\r
-.forumpostheaderdate {\r
- font-size: small;\r
-}\r
-\r
-.logininfo {\r
- font-size: x-small;\r
-}\r
-\r
-.homelink {\r
- font-size: x-small;\r
-}\r
-\r
-.teacheronly {\r
- color: #990000;\r
-}\r
+.forumpostheader {
+}
+
+.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;
+}
-<?PHP // $Id$\r
-\r
-/// We use PHP so we can do value substitutions into the styles\r
-\r
- header("Content-type: text/css");
-
- require_once("../../config.php"); \r
-\r
- if (isset($themename)) {\r
- $CFG->theme = $themename;\r
- }\r
-\r
- $themeurl = "$CFG->wwwroot/theme/$CFG->theme";\r
-\r
-/// From here on it's nearly a normal stylesheet.\r
-/// First are some CSS definitions for normal tags, \r
-/// then custom tags follow. \r
-///\r
-/// New classes always get added to the end of the file.\r
-///\r
-/// Note that a group of standard colours are all \r
-/// defined in config.php in this directory. The\r
-/// reason for this is because Moodle uses the same\r
-/// colours to provide oldstyle formatting for \r
-/// browsers without CSS.\r
-///\r
-/// You can hardcode colours in this file if you \r
-/// don't care about this.\r
-\r
-?>\r
-\r
-\r
-body, td, th, li {\r
- font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
-}\r
-\r
-th {\r
- font-weight: bold; \r
- background-color: <?PHP echo $THEME->cellheading?>;\r
-}\r
-\r
-a:link {\r
- text-decoration: none; \r
- color: blue;\r
-}\r
-\r
-a:visited {\r
- text-decoration: none; \r
- color: blue;\r
-}\r
-\r
-a:hover {\r
- text-decoration: underline; \r
- color: red;\r
-}\r
-\r
-form { \r
- margin-bottom: 0;\r
-}\r
-\r
-\r
-\r
-\r
-\r
-.highlight {\r
- background-color: <?PHP echo $THEME->highlight?>;\r
-}\r
-\r
-.headingblock {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.navbar {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.generaltable {\r
-}\r
-\r
-.generaltableheader {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.generaltablecell {\r
-}\r
-\r
-.sideblock {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.sideblockheading {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
-}\r
-\r
-.sideblockmain {\r
-}\r
-\r
-.sideblocklinks {\r
-}\r
-\r
-.sideblocklatestnews {\r
-}\r
-\r
-.sideblockrecentactivity {\r
-}\r
-\r
-.outlineheadingblock {\r
- background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.forumpost {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.forumpostpicture {\r
-}\r
-\r
-.forumpostside {\r
-}\r
-\r
-.forumpostmessage {\r
-}\r
-\r
-\r
-.weeklyoutline {\r
-}\r
-\r
-.weeklyoutlineside {\r
-}\r
-\r
-.weeklyoutlinesidehighlight {\r
-}\r
-\r
-.weeklyoutlinesidehidden {\r
- background-color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-.weeklyoutlinecontent {\r
-}\r
-\r
-.weeklyoutlinecontenthighlight {\r
-}\r
-\r
-.weeklyoutlinecontenthidden {\r
-}\r
-\r
-.weeklydatetext {\r
- font-size: medium;\r
- font-weight: bold; \r
- color: <?PHP echo $THEME->cellheading2?>;\r
-}\r
-\r
-.topicsoutline {\r
-}\r
-\r
-.topicsoutlineside {\r
-}\r
-\r
-.topicsoutlinesidehighlight {\r
-}\r
-\r
-.topicsoutlinesidehidden {\r
- background-color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-.topicsoutlinecontent {\r
-}\r
-\r
-.topicsoutlinecontenthighlight {\r
-}\r
-\r
-.topicsoutlinecontenthidden {\r
-}\r
-\r
-.siteinfo {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.siteinfocontent {\r
-}\r
-\r
-\r
-.generalbox {\r
- border-width: 1px;\r
- border-color: <?PHP echo $THEME->borders?>;\r
- border-style: solid;\r
-}\r
-\r
-.generalboxcontent {\r
-}\r
-\r
-.feedbacktext {\r
- color: <?PHP echo $THEME->cellheading2?>;\r
-}\r
-\r
-a.dimmed:link {\r
- text-decoration: none; \r
- color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-a.dimmed:visited {\r
- text-decoration: none;\r
- color: <?PHP echo $THEME->hidden?>;\r
-}\r
-\r
-a.dimmed:hover {\r
- text-decoration: underline;\r
- color: red;\r
-}\r
+<?PHP /* $Id$ */
+
+/// We use PHP so we can do value substitutions into the styles
+
+ require_once("../../config.php");
+
+ header("Content-type: text/css"); // Correct MIME type
+
+ 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: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+}
+
+th {
+ font-weight: bold;
+ background-color: <?PHP echo $THEME->cellheading?>;
+}
+
+a:link {
+ text-decoration: none;
+ color: blue;
+}
+
+a:visited {
+ text-decoration: none;
+ color: blue;
+}
+
+a:hover {
+ text-decoration: underline;
+ color: red;
+}
+
+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);
+}
+
+.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;
+}
+
+.forumpost {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.forumpostpicture {
+}
+
+.forumpostside {
+}
+
+.forumpostmessage {
+}
+
+
+.weeklyoutline {
+}
+
+.weeklyoutlineside {
+}
+
+.weeklyoutlinesidehighlight {
+}
+
+.weeklyoutlinesidehidden {
+ background-color: <?PHP echo $THEME->hidden?>;
+}
+
+.weeklyoutlinecontent {
+}
+
+.weeklyoutlinecontenthighlight {
+}
+
+.weeklyoutlinecontenthidden {
+}
+
+.weeklydatetext {
+ font-size: medium;
+ font-weight: bold;
+ color: <?PHP echo $THEME->cellheading2?>;
+}
+
+.topicsoutline {
+}
+
+.topicsoutlineside {
+}
+
+.topicsoutlinesidehighlight {
+}
+
+.topicsoutlinesidehidden {
+ background-color: <?PHP echo $THEME->hidden?>;
+}
+
+.topicsoutlinecontent {
+}
+
+.topicsoutlinecontenthighlight {
+}
+
+.topicsoutlinecontenthidden {
+}
+
+.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 {
+}
+
+.noticebox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.noticeboxcontent {
+ text-align: center;
+}
+
+
+.feedbacktext {
+ color: <?PHP echo $THEME->cellheading2?>;
+}
+
+a.dimmed:link {
+ text-decoration: none;
+ color: <?PHP echo $THEME->hidden?>;
+}
+
+a.dimmed:visited {
+ text-decoration: none;
+ color: <?PHP echo $THEME->hidden?>;
+}
+
+a.dimmed:hover {
+ text-decoration: underline;
+ color: red;
+}
.dimmed_text {
color: #AAAAAA;
}
-\r
-.forumpostheader {\r
-}\r
-\r
-.forumpostheaderpicture {\r
-}\r
-\r
-.forumpostheadername {\r
- font-size: small;\r
-}\r
-\r
-.forumpostheaderreplies {\r
- font-size: small;\r
-}\r
-\r
-.forumpostheaderdate {\r
- font-size: small;\r
-}\r
-\r
-.logininfo {\r
- font-size: x-small;\r
-}\r
-\r
-.homelink {\r
- font-size: x-small;\r
-}\r
-\r
-.teacheronly {\r
- color: #990000;\r
-}\r
+.forumpostheader {
+}
+
+.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;
+}