]> git.mjollnir.org Git - moodle.git/commitdiff
Added two styles: .noticebox and .noticeboxcontent
authormoodler <moodler>
Mon, 5 May 2003 12:17:34 +0000 (12:17 +0000)
committermoodler <moodler>
Mon, 5 May 2003 12:17:34 +0000 (12:17 +0000)
theme/UPGRADE.txt
theme/brightretro/styles.php
theme/cordoroyblue/styles.php
theme/garden/styles.php
theme/oceanblue/styles.php
theme/standard/styles.php
theme/standardblue/styles.php
theme/standardgreen/styles.php
theme/standardlogo/styles.php
theme/standardred/styles.php
theme/standardwhite/styles.php

index cf739dbcd96039cba32d95d4c9e8b13fd3300af5..36ade953fc10fc57c9fbdfa5e2299fb0fa2f4af2 100644 (file)
@@ -64,6 +64,11 @@ a.dimmed:hover {}
 .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 
index 468345068b1f0a3c0de2f72d535cf2b05be50fe7..3f15c96cc697cd4a473400cb80701e8918765d6b 100644 (file)
@@ -203,6 +203,17 @@ form {
 .generalboxcontent {
 }
 
+.noticebox {
+    border-width: 1px;
+    border-color: <?PHP echo $THEME->borders?>;
+    border-style: solid;
+}
+
+.noticeboxcontent {
+    text-align: center;
+}
+
+
 .feedbacktext {
     color: <?PHP echo $THEME->cellheading2?>;
 }
index cd59b8d3f9b80148b174f5fc3d32685d39b3cb97..7d083c292b1d5ec89d25e981045b56ab751e0927 100644 (file)
@@ -293,6 +293,17 @@ form {
     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?>;
 }
index c9c7edd4cbb773c98c331a74d71242f5020b75e3..4bc9a84230d92910d0388f23873a8ce6152cac13 100755 (executable)
@@ -216,6 +216,17 @@ form {
     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?>;
index 83a57a5191c577a99c2d371f48671e8e27e143f9..52b59f979c1b44604d81c48a8f6b6f357c19c7f1 100644 (file)
@@ -303,6 +303,17 @@ form { margin-bottom: 0; }
 .generalboxcontent {
 }
 
+.noticebox {
+    border-width: 1px;
+    border-color: <?PHP echo $THEME->borders?>;
+    border-style: solid;
+}
+
+.noticeboxcontent {
+    text-align: center;
+}
+
+
 .feedbacktext {
     color: <?PHP echo $THEME->cellheading2?>;
 }
index 06cb637a741d9c67e3903aeb4104a09e851a4e8d..ee2788f976fb5b12fab337340ff7937494a9072f 100644 (file)
@@ -201,6 +201,17 @@ form {
 .generalboxcontent {
 }
 
+.noticebox {
+    border-width: 1px;
+    border-color: <?PHP echo $THEME->borders?>;
+    border-style: solid;
+}
+
+.noticeboxcontent {
+    text-align: center;
+}
+
+
 .feedbacktext {
     color: <?PHP echo $THEME->cellheading2?>;
 }
@@ -252,4 +263,3 @@ a.dimmed:hover {
 .teacheronly {
     color: #990000;
 }
-
index 038fc759e74fba8c0c242391821c7583f0cf304e..ee2788f976fb5b12fab337340ff7937494a9072f 100644 (file)
-<?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;
+}
index 038fc759e74fba8c0c242391821c7583f0cf304e..ee2788f976fb5b12fab337340ff7937494a9072f 100644 (file)
-<?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;
+}
index 038fc759e74fba8c0c242391821c7583f0cf304e..ee2788f976fb5b12fab337340ff7937494a9072f 100644 (file)
-<?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;
+}
index 038fc759e74fba8c0c242391821c7583f0cf304e..ee2788f976fb5b12fab337340ff7937494a9072f 100644 (file)
-<?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;
+}
index 038fc759e74fba8c0c242391821c7583f0cf304e..ee2788f976fb5b12fab337340ff7937494a9072f 100644 (file)
-<?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;
+}