From: moodler Date: Mon, 5 May 2003 08:12:28 +0000 (+0000) Subject: Style cleanups. Some consistency, converted all to Unix format, and X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ea23100a02a158213343e501030a908c2c18ea37;p=moodle.git Style cleanups. Some consistency, converted all to Unix format, and added manual setting of the MIME type. --- diff --git a/theme/brightretro/styles.php b/theme/brightretro/styles.php index e12c0a53a1..468345068b 100644 --- a/theme/brightretro/styles.php +++ b/theme/brightretro/styles.php @@ -1,240 +1,256 @@ -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: 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: highlight?>; -} - -.headingblock { - background-image: url(/gradient.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.navbar { - background-image: url(/gradient.jpg); -} - -.generaltable { -} - -.generaltableheader { - background-image: url(/gradient.jpg); -} - -.generaltablecell { -} - -.sideblock { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.sideblockheading { - background-image: url(/gradient.jpg); -} - -.sideblockmain { -} - -.sideblocklinks { -} - -.sideblocklatestnews { -} - -.sideblockrecentactivity { -} - -.outlineheadingblock { - background-image: url(/gradient.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.forumpost { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.forumpostpicture { -} - -.forumpostside { -} - -.forumpostmessage { -} - - -.weeklyoutline { -} - -.weeklyoutlineside { -} - -.weeklyoutlinesidehighlight { -} - -.weeklyoutlinecontent { -} - -.weeklyoutlinecontenthighlight { -} - - -.topicsoutline { -} - -.topicsoutlineside { -} - -.topicsoutlinesidehighlight { -} - -.topicsoutlinecontent { -} - -.topicsoutlinecontenthighlight { -} - -.topicsoutlinesidehidden { - background-color: hidden?>; -} - -.topicsoutlinecontenthidden { -} - -.siteinfo { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.siteinfocontent { -} - - -.generalbox { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.generalboxcontent { -} - -.feedbacktext { - color: cellheading2?>; -} - -a.dimmed:link { - text-decoration: none; - color: #AAAAAA; -} - -a.dimmed:visited { - text-decoration: none; - color: #AAAAAA; -} - -a.dimmed:hover { - text-decoration: underline; - color: red; -} +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: 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: highlight?>; +} + +.headingblock { + background-image: url(/gradient.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.navbar { + background-image: url(/gradient.jpg); +} + +.generaltable { +} + +.generaltableheader { + background-image: url(/gradient.jpg); +} + +.generaltablecell { +} + +.sideblock { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.sideblockheading { + background-image: url(/gradient.jpg); +} + +.sideblockmain { +} + +.sideblocklinks { +} + +.sideblocklatestnews { +} + +.sideblockrecentactivity { +} + +.outlineheadingblock { + background-image: url(/gradient.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.forumpost { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.forumpostpicture { +} + +.forumpostside { +} + +.forumpostmessage { +} + + +.weeklyoutline { +} + +.weeklyoutlineside { +} + +.weeklyoutlinesidehighlight { +} + +.weeklyoutlinesidehidden { + background-color: hidden?>; +} + +.weeklyoutlinecontent { +} + +.weeklyoutlinecontenthighlight { +} + +.weeklyoutlinecontenthidden { +} + +.weeklydatetext { + font-size: medium; + font-weight: bold; + color: cellheading2?>; +} + + +.topicsoutline { +} + +.topicsoutlineside { +} + +.topicsoutlinesidehighlight { +} + +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontent { +} + +.topicsoutlinecontenthighlight { +} + +.topicsoutlinecontenthidden { +} + +.siteinfo { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.siteinfocontent { +} + + +.generalbox { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.generalboxcontent { +} + +.feedbacktext { + color: cellheading2?>; +} + +a.dimmed:link { + text-decoration: none; + color: #AAAAAA; +} + +a.dimmed:visited { + text-decoration: none; + color: #AAAAAA; +} + +a.dimmed:hover { + text-decoration: underline; + color: red; +} .dimmed_text { color: #AAAAAA; } - -.forumpostheader { -} - -.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; -} + +.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; +} diff --git a/theme/cordoroyblue/styles.php b/theme/cordoroyblue/styles.php index b106214dc5..cd59b8d3f9 100644 --- a/theme/cordoroyblue/styles.php +++ b/theme/cordoroyblue/styles.php @@ -1,341 +1,351 @@ -theme = $themename; - } - - $themeurl = "$CFG->wwwroot/theme/$CFG->theme"; - -/// From here on it's nearly a normal stylesheet. -/// First are some CSS definitions for normal tags, -/// then custom tags follow. -/// -/// Note that colours are all defined in config.php -/// in this directory - -?> - -body { - font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; - background-image: url(/texture1.jpg); -} - -td, th { - font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; -} - -a:link { - text-decoration: none; - color: blue; -} - -a:visited { - text-decoration: none; - color: blue; -} - -a:hover { - text-decoration: underline; - color: red; -} - -th { - font-weight: bold; - background-color: cellheading?>; -} - -ul { - margin-bottom: 5px; - margin-top: 0px; -} - -form { - margin-bottom: 0; -} - - - -.highlight { - background-color: highlight?>; -} - -.headingblock { - background-image: url(/texture3.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.navbar { - background-image: url(/texture3.jpg); -} - -.generalbox { - border-width: 1px; - border-color: borders?>; - border-style: solid; - background-image: url(/texture2.jpg); -} - -.generalboxcontent { - background-image: url(/texture2.jpg); -} - -.generaltable { -} - -.generaltableheader { - background-image: url(/texture3.jpg); -} - -.generaltablecell { -} - -.sideblock { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.sideblockheading { - background-image: url(/texture3.jpg); -} - -.sideblockmain { - background-image: url(/texture2.jpg); -} - -.sideblocklinks { - background-image: url(/texture2.jpg); -} - -.sideblocklatestnews { - background-image: url(/texture2.jpg); -} - -.sideblockrecentactivity { - background-image: url(/texture2.jpg); -} - -.siteinfo { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.siteinfocontent { - background-image: url(/texture2.jpg); -} - -.outlineheadingblock { - background-image: url(/texture3.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.weeklyoutline { -} - -.weeklyoutlineside { - background-image: url(/texture2.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.weeklyoutlinesidehighlight { - background-image: url(/texture3.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.weeklyoutlinesidehidden { - border-width: 1px; - border-color: borders?>; - border-style: dashed; -} - -.weeklyoutlinecontent { - background: #EEFAFF; - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; -} - -.weeklyoutlinecontenthighlight { - background: #FFFFFF; - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; -} - -.weeklyoutlinecontenthidden { - background: #EEFAFF; - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: dashed; -} - -.weeklydatetext { - font-size: medium; - font-weight: bold; - color: cellheading2?>; -} - -.topicsoutline { -} - -.topicsoutlineside { - background-image: url(/texture2.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.topicsoutlinesidehighlight { - background-image: url(/texture3.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.topicsoutlinesidehidden { - border-width: 1px; - border-color: borders?>; - border-style: dashed; -} - -.topicsoutlinecontent { - background: #EEFAFF; - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; -} - -.topicsoutlinecontenthighlight { - background: #FFFFFF; - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; -} - -.topicsoutlinecontenthidden { - background: #EEFAFF; - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: dashed; -} - -.forumpost { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.forumpostpicture { - background-image: url(/texture2.jpg); -} - -.forumpostside { - background-image: url(/texture2.jpg); -} - -.forumpostmessage { -} - - -.siteinfo { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.siteinfocontent { -} - - -.generalbox { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.generalboxcontent { - background-image: none; - background-color: cellcontent?>; -} - -.feedbacktext { - color: cellheading2?>; -} - -a.dimmed:link { - text-decoration: none; - color: #AAAAAA; -} - -a.dimmed:visited { - text-decoration: none; - color: #AAAAAA; -} - -a.dimmed:hover { - text-decoration: underline; - color: red; -} +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 { + font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; + background-image: url(/texture1.jpg); +} + +td, th { + font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; +} + +a:link { + text-decoration: none; + color: blue; +} + +a:visited { + text-decoration: none; + color: blue; +} + +a:hover { + text-decoration: underline; + color: red; +} + +th { + font-weight: bold; + background-color: cellheading?>; +} + +ul { + margin-bottom: 5px; + margin-top: 0px; +} + +form { + margin-bottom: 0; +} + + + +.highlight { + background-color: highlight?>; +} + +.headingblock { + background-image: url(/texture3.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.navbar { + background-image: url(/texture3.jpg); +} + +.generalbox { + border-width: 1px; + border-color: borders?>; + border-style: solid; + background-image: url(/texture2.jpg); +} + +.generalboxcontent { + background-image: url(/texture2.jpg); +} + +.generaltable { +} + +.generaltableheader { + background-image: url(/texture3.jpg); +} + +.generaltablecell { +} + +.sideblock { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.sideblockheading { + background-image: url(/texture3.jpg); +} + +.sideblockmain { + background-image: url(/texture2.jpg); +} + +.sideblocklinks { + background-image: url(/texture2.jpg); +} + +.sideblocklatestnews { + background-image: url(/texture2.jpg); +} + +.sideblockrecentactivity { + background-image: url(/texture2.jpg); +} + +.siteinfo { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.siteinfocontent { + background-image: url(/texture2.jpg); +} + +.outlineheadingblock { + background-image: url(/texture3.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.weeklyoutline { +} + +.weeklyoutlineside { + background-image: url(/texture2.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.weeklyoutlinesidehighlight { + background-image: url(/texture3.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.weeklyoutlinesidehidden { + border-width: 1px; + border-color: borders?>; + border-style: dashed; +} + +.weeklyoutlinecontent { + background: #EEFAFF; + border-width: 0px; + border-top: 1px; + border-bottom: 1px; + border-color: borders?>; + border-style: solid; +} + +.weeklyoutlinecontenthighlight { + background: #FFFFFF; + border-width: 0px; + border-top: 1px; + border-bottom: 1px; + border-color: borders?>; + border-style: solid; +} + +.weeklyoutlinecontenthidden { + background: #EEFAFF; + border-width: 0px; + border-top: 1px; + border-bottom: 1px; + border-color: borders?>; + border-style: dashed; +} + +.weeklydatetext { + font-size: medium; + font-weight: bold; + color: cellheading2?>; +} + +.topicsoutline { +} + +.topicsoutlineside { + background-image: url(/texture2.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.topicsoutlinesidehighlight { + background-image: url(/texture3.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.topicsoutlinesidehidden { + border-width: 1px; + border-color: borders?>; + border-style: dashed; +} + +.topicsoutlinecontent { + background: #EEFAFF; + border-width: 0px; + border-top: 1px; + border-bottom: 1px; + border-color: borders?>; + border-style: solid; +} + +.topicsoutlinecontenthighlight { + background: #FFFFFF; + border-width: 0px; + border-top: 1px; + border-bottom: 1px; + border-color: borders?>; + border-style: solid; +} + +.topicsoutlinecontenthidden { + background: #EEFAFF; + border-width: 0px; + border-top: 1px; + border-bottom: 1px; + border-color: borders?>; + border-style: dashed; +} + +.forumpost { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.forumpostpicture { + background-image: url(/texture2.jpg); +} + +.forumpostside { + background-image: url(/texture2.jpg); +} + +.forumpostmessage { +} + + +.siteinfo { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.siteinfocontent { +} + + +.generalbox { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.generalboxcontent { + background-image: none; + background-color: cellcontent?>; +} + +.feedbacktext { + color: cellheading2?>; +} + +a.dimmed:link { + text-decoration: none; + color: #AAAAAA; +} + +a.dimmed:visited { + text-decoration: none; + color: #AAAAAA; +} + +a.dimmed:hover { + text-decoration: underline; + color: red; +} .dimmed_text { color: #AAAAAA; } - -.forumpostheader { - background-image: url(/texture2.jpg); -} - -.forumpostheadertopic { - background-image: url(/texture3.jpg); -} - -.forumpostheaderpicture { -} - -.forumpostheadername { - font-size: small; -} - -.forumpostheaderreplies { - font-size: small; -} - -.forumpostheaderdate { - font-size: small; -} - -.logininfo { - font-size: x-small; -} - -.homelink { - font-size: x-small; -} - -.teacheronly { - color: #990000; -} + +.forumpostheader { + background-image: url(/texture2.jpg); +} + +.forumpostheadertopic { + background-image: url(/texture3.jpg); +} + +.forumpostheaderpicture { +} + +.forumpostheadername { + font-size: small; +} + +.forumpostheaderreplies { + font-size: small; +} + +.forumpostheaderdate { + font-size: small; +} + +.logininfo { + font-size: x-small; +} + +.homelink { + font-size: x-small; +} + +.teacheronly { + color: #990000; +} diff --git a/theme/garden/styles.php b/theme/garden/styles.php index 0cdd4bbaa9..c9c7edd4cb 100755 --- a/theme/garden/styles.php +++ b/theme/garden/styles.php @@ -1,263 +1,276 @@ -theme = $themename; - } - - $themeurl = "$CFG->wwwroot/theme/$CFG->theme"; - -/// From here on it's nearly a normal stylesheet. -/// First are some CSS definitions for normal tags, -/// then custom tags follow. -/// -/// New classes always get added to the end of the file. -/// -/// Note that a group of standard colours are all -/// defined in config.php in this directory. The -/// reason for this is because Moodle uses the same -/// colours to provide oldstyle formatting for -/// browsers without CSS. -/// -/// You can hardcode colours in this file if you -/// don't care about this. - -?> - - -body, td, th, li { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 100%; -} - -th { - font-weight: bold; - background-color: cellheading?>; -} - -a:link { - text-decoration: none; - color: #000000; - font-weight: bold; -} - -a:visited { - text-decoration: none; - color: #000000; - font-weight: bold; -} - -a:hover { - text-decoration: underline; - color: purple; - font-weight: bold; -} - -form { - margin-bottom: 0; -} - - - - - -.highlight { - background-color: highlight?>; -} - -.headingblock { - background-image: url(/gradient.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; - font-size: 100%; -} - -.navbar { - background-image: url(/gradient.jpg); -} - -.generaltable { -} - -.generaltableheader { - background-image: url(/gradient.jpg); -} - -.generaltablecell { -} - -.sideblock { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.sideblockheading { - background-image: url(/gradient.jpg); -} - -.sideblockmain { - background-image: url(/leftside.jpg); - background-repeat: repeat-y; -} - -.sideblocklinks { -} - -.sideblocklatestnews { -} - -.sideblockrecentactivity { -} - -.outlineheadingblock { - background-image: url(/gradient.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.forumpost { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.forumpostheader { -} - -.forumpostheadertopic { -} - -.forumpostpicture { -} - -.forumpostside { - background-image: url(/gradient1.jpg); -} - -.forumpostmessage { -} - - -.weeklyoutline { -} - -.weeklyoutlineside { -} - -.weeklyoutlinesidehighlight { -} - -.weeklyoutlinecontent { -} - -.weeklyoutlinecontenthighlight { -} - - -.topicsoutline { -} - -.topicsoutlineside { -} - -.topicsoutlinesidehighlight { -} - -.topicsoutlinecontent { -} - -.topicsoutlinecontenthighlight { -} - -.topicsoutlinesidehidden { - background-color: hidden?>; -} - -.topicsoutlinecontenthidden { -} - -.siteinfo { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.siteinfocontent { -} - - -.generalbox { - border-width: 1px; - border-color: borders?>; - border-style: solid; - font-size: 100%; -} - -.generalboxcontent { - background-color: body?>; -} - - -.feedbacktext { - color: cellheading2?>; -} - - -.top { - background-image: url(/top.jpg); - background-repeat: repeat-x; -} - -a.dimmed:link { - text-decoration: none; - color: #AAAAAA; -} - -a.dimmed:visited { - text-decoration: none; - color: #AAAAAA; -} - -a.dimmed:hover { - text-decoration: underline; - color: red; -} +theme = $themename; + } + + $themeurl = "$CFG->wwwroot/theme/$CFG->theme"; + +/// From here on it's nearly a normal stylesheet. +/// First are some CSS definitions for normal tags, +/// then custom tags follow. +/// +/// New classes always get added to the end of the file. +/// +/// Note that a group of standard colours are all +/// defined in config.php in this directory. The +/// reason for this is because Moodle uses the same +/// colours to provide oldstyle formatting for +/// browsers without CSS. +/// +/// You can hardcode colours in this file if you +/// don't care about this. + +?> + +body, td, th, li { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 100%; +} + +th { + font-weight: bold; + background-color: cellheading?>; +} + +a:link { + text-decoration: none; + color: #000000; + font-weight: bold; +} + +a:visited { + text-decoration: none; + color: #000000; + font-weight: bold; +} + +a:hover { + text-decoration: underline; + color: purple; + font-weight: bold; +} + +form { + margin-bottom: 0; +} + + + + + +.highlight { + background-color: highlight?>; +} + +.headingblock { + background-image: url(/gradient.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; + font-size: 100%; +} + +.navbar { + background-image: url(/gradient.jpg); +} + +.generaltable { +} + +.generaltableheader { + background-image: url(/gradient.jpg); +} + +.generaltablecell { +} + +.sideblock { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.sideblockheading { + background-image: url(/gradient.jpg); +} + +.sideblockmain { + background-image: url(/leftside.jpg); + background-repeat: repeat-y; +} + +.sideblocklinks { +} + +.sideblocklatestnews { +} + +.sideblockrecentactivity { +} + +.outlineheadingblock { + background-image: url(/gradient.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.forumpost { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.forumpostheader { +} + +.forumpostheadertopic { +} + +.forumpostpicture { +} + +.forumpostside { + background-image: url(/gradient1.jpg); +} + +.forumpostmessage { +} + + +.weeklyoutline { +} + +.weeklyoutlineside { +} + +.weeklyoutlinesidehighlight { +} + +.weeklyoutlinesidehidden { + background-color: hidden?>; +} + +.weeklyoutlinecontent { +} + +.weeklyoutlinecontenthighlight { +} + +.weeklyoutlinecontenthidden { +} + +.weeklydatetext { + font-size: medium; + font-weight: bold; + color: cellheading2?>; +} + +.topicsoutline { +} + +.topicsoutlineside { +} + +.topicsoutlinesidehighlight { +} + +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontent { +} + +.topicsoutlinecontenthighlight { +} + +.topicsoutlinecontenthidden { +} + +.siteinfo { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.siteinfocontent { +} + + +.generalbox { + border-width: 1px; + border-color: borders?>; + border-style: solid; + font-size: 100%; +} + +.generalboxcontent { + background-color: body?>; +} + + +.feedbacktext { + color: cellheading2?>; +} + + +.top { + background-image: url(/top.jpg); + background-repeat: repeat-x; +} + +a.dimmed:link { + text-decoration: none; + color: #AAAAAA; +} + +a.dimmed:visited { + text-decoration: none; + color: #AAAAAA; +} + +a.dimmed:hover { + text-decoration: underline; + color: red; +} .dimmed_text { color: #AAAAAA; } - -.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; -} + +.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; +} diff --git a/theme/oceanblue/styles.php b/theme/oceanblue/styles.php index 3d99be9710..83a57a5191 100644 --- a/theme/oceanblue/styles.php +++ b/theme/oceanblue/styles.php @@ -1,46 +1,26 @@ theme = $themename; - } - - $themeurl = "$CFG->wwwroot/theme/$CFG->theme"; - - /// From here on it's nearly a normal stylesheet. - /// First are some CSS definitions for normal tags, - /// then custom tags follow. - /// - /// Note that colours are all defined in config.php - /// in this directory - - ?> - - - - a:link {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; text-decoration: none; @@ -263,12 +243,24 @@ form { margin-bottom: 0; } .weeklyoutlinesidehighlight { } +.weeklyoutlinesidehidden { + background-color: hidden?>; +} + .weeklyoutlinecontent { } .weeklyoutlinecontenthighlight { } +.weeklyoutlinecontenthidden { +} + +.weeklydatetext { + font-size: medium; + font-weight: bold; + color: cellheading2?>; +} .topicsoutline { } @@ -279,14 +271,14 @@ form { margin-bottom: 0; } .topicsoutlinesidehighlight { } -.topicsoutlinecontent { +.topicsoutlinesidehidden { + background-color: hidden?>; } -.topicsoutlinecontenthighlight { +.topicsoutlinecontent { } -.topicsoutlinesidehidden { - background-color: hidden?>; +.topicsoutlinecontenthighlight { } .topicsoutlinecontenthidden { diff --git a/theme/standard/styles.php b/theme/standard/styles.php index a53d8f3624..06cb637a74 100644 --- a/theme/standard/styles.php +++ b/theme/standard/styles.php @@ -1,253 +1,255 @@ -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: 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: highlight?>; -} - -.headingblock { - background-image: url(/gradient.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.navbar { - background-image: url(/gradient.jpg); -} - -.generaltable { -} - -.generaltableheader { - background-image: url(/gradient.jpg); -} - -.generaltablecell { -} - -.sideblock { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.sideblockheading { - background-image: url(/gradient.jpg); -} - -.sideblockmain { -} - -.sideblocklinks { -} - -.sideblocklatestnews { -} - -.sideblockrecentactivity { -} - -.outlineheadingblock { - background-image: url(/gradient.jpg); - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.forumpost { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.forumpostpicture { -} - -.forumpostside { -} - -.forumpostmessage { -} - - -.weeklyoutline { -} - -.weeklyoutlineside { -} - -.weeklyoutlinesidehighlight { -} - -.weeklyoutlinesidehidden { - background-color: hidden?>; -} - -.weeklyoutlinecontent { -} - -.weeklyoutlinecontenthighlight { -} - -.weeklyoutlinecontenthidden { -} - -.weeklydatetext { - font-size: medium; - font-weight: bold; - color: cellheading2?>; -} - -.topicsoutline { -} - -.topicsoutlineside { -} - -.topicsoutlinesidehighlight { -} - -.topicsoutlinesidehidden { - background-color: hidden?>; -} - -.topicsoutlinecontent { -} - -.topicsoutlinecontenthighlight { -} - -.topicsoutlinecontenthidden { -} - -.siteinfo { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.siteinfocontent { -} - - -.generalbox { - border-width: 1px; - border-color: borders?>; - border-style: solid; -} - -.generalboxcontent { -} - -.feedbacktext { - color: cellheading2?>; -} - -a.dimmed:link { - text-decoration: none; - color: hidden?>; -} - -a.dimmed:visited { - text-decoration: none; - color: hidden?>; -} - -a.dimmed:hover { - text-decoration: underline; - color: red; -} +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: 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: highlight?>; +} + +.headingblock { + background-image: url(/gradient.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.navbar { + background-image: url(/gradient.jpg); +} + +.generaltable { +} + +.generaltableheader { + background-image: url(/gradient.jpg); +} + +.generaltablecell { +} + +.sideblock { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.sideblockheading { + background-image: url(/gradient.jpg); +} + +.sideblockmain { +} + +.sideblocklinks { +} + +.sideblocklatestnews { +} + +.sideblockrecentactivity { +} + +.outlineheadingblock { + background-image: url(/gradient.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.forumpost { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.forumpostpicture { +} + +.forumpostside { +} + +.forumpostmessage { +} + + +.weeklyoutline { +} + +.weeklyoutlineside { +} + +.weeklyoutlinesidehighlight { +} + +.weeklyoutlinesidehidden { + background-color: hidden?>; +} + +.weeklyoutlinecontent { +} + +.weeklyoutlinecontenthighlight { +} + +.weeklyoutlinecontenthidden { +} + +.weeklydatetext { + font-size: medium; + font-weight: bold; + color: cellheading2?>; +} + +.topicsoutline { +} + +.topicsoutlineside { +} + +.topicsoutlinesidehighlight { +} + +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontent { +} + +.topicsoutlinecontenthighlight { +} + +.topicsoutlinecontenthidden { +} + +.siteinfo { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.siteinfocontent { +} + + +.generalbox { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.generalboxcontent { +} + +.feedbacktext { + color: cellheading2?>; +} + +a.dimmed:link { + text-decoration: none; + color: hidden?>; +} + +a.dimmed:visited { + text-decoration: none; + color: hidden?>; +} + +a.dimmed:hover { + text-decoration: underline; + color: red; +} .dimmed_text { color: #AAAAAA; } - -.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; -} + +.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; +} diff --git a/theme/standardblue/styles.php b/theme/standardblue/styles.php index a53d8f3624..038fc759e7 100644 --- a/theme/standardblue/styles.php +++ b/theme/standardblue/styles.php @@ -2,6 +2,8 @@ /// We use PHP so we can do value substitutions into the styles + header("Content-type: text/css"); + require_once("../../config.php"); if (isset($themename)) { diff --git a/theme/standardgreen/styles.php b/theme/standardgreen/styles.php index a53d8f3624..038fc759e7 100644 --- a/theme/standardgreen/styles.php +++ b/theme/standardgreen/styles.php @@ -2,6 +2,8 @@ /// We use PHP so we can do value substitutions into the styles + header("Content-type: text/css"); + require_once("../../config.php"); if (isset($themename)) { diff --git a/theme/standardlogo/styles.php b/theme/standardlogo/styles.php index a53d8f3624..038fc759e7 100644 --- a/theme/standardlogo/styles.php +++ b/theme/standardlogo/styles.php @@ -2,6 +2,8 @@ /// We use PHP so we can do value substitutions into the styles + header("Content-type: text/css"); + require_once("../../config.php"); if (isset($themename)) { diff --git a/theme/standardred/styles.php b/theme/standardred/styles.php index a53d8f3624..038fc759e7 100644 --- a/theme/standardred/styles.php +++ b/theme/standardred/styles.php @@ -2,6 +2,8 @@ /// We use PHP so we can do value substitutions into the styles + header("Content-type: text/css"); + require_once("../../config.php"); if (isset($themename)) { diff --git a/theme/standardwhite/styles.php b/theme/standardwhite/styles.php index a53d8f3624..038fc759e7 100644 --- a/theme/standardwhite/styles.php +++ b/theme/standardwhite/styles.php @@ -2,6 +2,8 @@ /// We use PHP so we can do value substitutions into the styles + header("Content-type: text/css"); + require_once("../../config.php"); if (isset($themename)) {