From e28a6c737870142f8298a56ce5ebeeced38d22a6 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 13 Dec 2002 17:01:16 +0000 Subject: [PATCH] Added LI tag (not cascading) --- theme/standard/styles.php | 12 +-- theme/standardblue/styles.php | 140 ++++++++++++--------------------- theme/standardgreen/styles.php | 140 ++++++++++++--------------------- theme/standardlogo/styles.php | 140 ++++++++++++--------------------- theme/standardred/styles.php | 140 ++++++++++++--------------------- 5 files changed, 202 insertions(+), 370 deletions(-) diff --git a/theme/standard/styles.php b/theme/standard/styles.php index 37ef74a3fa..2500203a2f 100644 --- a/theme/standard/styles.php +++ b/theme/standard/styles.php @@ -28,10 +28,15 @@ ?> -body, td, th { +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; @@ -47,11 +52,6 @@ a:hover { color: red; } -th { - font-weight: bold; - background-color: cellheading?>; -} - form { margin-bottom: 0; } diff --git a/theme/standardblue/styles.php b/theme/standardblue/styles.php index 30cac48d33..2500203a2f 100644 --- a/theme/standardblue/styles.php +++ b/theme/standardblue/styles.php @@ -12,20 +12,29 @@ /// From here on it's nearly a normal stylesheet. /// First are some CSS definitions for normal tags, -/// then custom tags follow. +/// then custom tags follow. /// -/// Note that colours are all defined in config.php -/// in this directory +/// 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 { + +body, td, th, li { 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; +th { + font-weight: bold; + background-color: cellheading?>; } a:link { @@ -43,52 +52,34 @@ a:hover { 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); + background-image: url(/gradient.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; -} - -.generalboxcontent { - background-image: url(/texture2.jpg); + background-image: url(/gradient.jpg); } .generaltable { } .generaltableheader { - background-image: url(/texture3.jpg); + background-image: url(/gradient.jpg); } .generaltablecell { @@ -101,131 +92,98 @@ form { } .sideblockheading { - background-image: url(/texture3.jpg); + background-image: url(/gradient.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 { +.outlineheadingblock { + background-image: url(/gradient.jpg); border-width: 1px; border-color: borders?>; border-style: solid; } -.siteinfocontent { - background-image: url(/texture2.jpg); -} - -.outlineheadingblock { - background-image: url(/texture3.jpg); +.forumpost { border-width: 1px; border-color: borders?>; border-style: solid; } +.forumpostheader { +} + +.forumpostheadertopic { +} + +.forumpostpicture { +} + +.forumpostside { +} + +.forumpostmessage { +} + + .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; } .weeklyoutlinecontent { - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } .weeklyoutlinecontenthighlight { - background: #FDFBF1; - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } + .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; } .topicsoutlinecontent { - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } .topicsoutlinecontenthighlight { - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } -.forumpost { +.siteinfo { border-width: 1px; border-color: borders?>; border-style: solid; } -.forumpostheader { - background-image: url(/texture2.jpg); +.siteinfocontent { } -.forumpostheadertopic { - background-image: url(/texture3.jpg); -} -.forumpostpicture { - background-image: url(/texture2.jpg); +.generalbox { + border-width: 1px; + border-color: borders?>; + border-style: solid; } -.forumpostside { - background-image: url(/texture2.jpg); +.generalboxcontent { } -.forumpostmessage { -} diff --git a/theme/standardgreen/styles.php b/theme/standardgreen/styles.php index 30cac48d33..2500203a2f 100644 --- a/theme/standardgreen/styles.php +++ b/theme/standardgreen/styles.php @@ -12,20 +12,29 @@ /// From here on it's nearly a normal stylesheet. /// First are some CSS definitions for normal tags, -/// then custom tags follow. +/// then custom tags follow. /// -/// Note that colours are all defined in config.php -/// in this directory +/// 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 { + +body, td, th, li { 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; +th { + font-weight: bold; + background-color: cellheading?>; } a:link { @@ -43,52 +52,34 @@ a:hover { 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); + background-image: url(/gradient.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; -} - -.generalboxcontent { - background-image: url(/texture2.jpg); + background-image: url(/gradient.jpg); } .generaltable { } .generaltableheader { - background-image: url(/texture3.jpg); + background-image: url(/gradient.jpg); } .generaltablecell { @@ -101,131 +92,98 @@ form { } .sideblockheading { - background-image: url(/texture3.jpg); + background-image: url(/gradient.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 { +.outlineheadingblock { + background-image: url(/gradient.jpg); border-width: 1px; border-color: borders?>; border-style: solid; } -.siteinfocontent { - background-image: url(/texture2.jpg); -} - -.outlineheadingblock { - background-image: url(/texture3.jpg); +.forumpost { border-width: 1px; border-color: borders?>; border-style: solid; } +.forumpostheader { +} + +.forumpostheadertopic { +} + +.forumpostpicture { +} + +.forumpostside { +} + +.forumpostmessage { +} + + .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; } .weeklyoutlinecontent { - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } .weeklyoutlinecontenthighlight { - background: #FDFBF1; - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } + .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; } .topicsoutlinecontent { - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } .topicsoutlinecontenthighlight { - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } -.forumpost { +.siteinfo { border-width: 1px; border-color: borders?>; border-style: solid; } -.forumpostheader { - background-image: url(/texture2.jpg); +.siteinfocontent { } -.forumpostheadertopic { - background-image: url(/texture3.jpg); -} -.forumpostpicture { - background-image: url(/texture2.jpg); +.generalbox { + border-width: 1px; + border-color: borders?>; + border-style: solid; } -.forumpostside { - background-image: url(/texture2.jpg); +.generalboxcontent { } -.forumpostmessage { -} diff --git a/theme/standardlogo/styles.php b/theme/standardlogo/styles.php index 30cac48d33..2500203a2f 100644 --- a/theme/standardlogo/styles.php +++ b/theme/standardlogo/styles.php @@ -12,20 +12,29 @@ /// From here on it's nearly a normal stylesheet. /// First are some CSS definitions for normal tags, -/// then custom tags follow. +/// then custom tags follow. /// -/// Note that colours are all defined in config.php -/// in this directory +/// 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 { + +body, td, th, li { 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; +th { + font-weight: bold; + background-color: cellheading?>; } a:link { @@ -43,52 +52,34 @@ a:hover { 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); + background-image: url(/gradient.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; -} - -.generalboxcontent { - background-image: url(/texture2.jpg); + background-image: url(/gradient.jpg); } .generaltable { } .generaltableheader { - background-image: url(/texture3.jpg); + background-image: url(/gradient.jpg); } .generaltablecell { @@ -101,131 +92,98 @@ form { } .sideblockheading { - background-image: url(/texture3.jpg); + background-image: url(/gradient.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 { +.outlineheadingblock { + background-image: url(/gradient.jpg); border-width: 1px; border-color: borders?>; border-style: solid; } -.siteinfocontent { - background-image: url(/texture2.jpg); -} - -.outlineheadingblock { - background-image: url(/texture3.jpg); +.forumpost { border-width: 1px; border-color: borders?>; border-style: solid; } +.forumpostheader { +} + +.forumpostheadertopic { +} + +.forumpostpicture { +} + +.forumpostside { +} + +.forumpostmessage { +} + + .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; } .weeklyoutlinecontent { - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } .weeklyoutlinecontenthighlight { - background: #FDFBF1; - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } + .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; } .topicsoutlinecontent { - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } .topicsoutlinecontenthighlight { - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } -.forumpost { +.siteinfo { border-width: 1px; border-color: borders?>; border-style: solid; } -.forumpostheader { - background-image: url(/texture2.jpg); +.siteinfocontent { } -.forumpostheadertopic { - background-image: url(/texture3.jpg); -} -.forumpostpicture { - background-image: url(/texture2.jpg); +.generalbox { + border-width: 1px; + border-color: borders?>; + border-style: solid; } -.forumpostside { - background-image: url(/texture2.jpg); +.generalboxcontent { } -.forumpostmessage { -} diff --git a/theme/standardred/styles.php b/theme/standardred/styles.php index 30cac48d33..2500203a2f 100644 --- a/theme/standardred/styles.php +++ b/theme/standardred/styles.php @@ -12,20 +12,29 @@ /// From here on it's nearly a normal stylesheet. /// First are some CSS definitions for normal tags, -/// then custom tags follow. +/// then custom tags follow. /// -/// Note that colours are all defined in config.php -/// in this directory +/// 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 { + +body, td, th, li { 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; +th { + font-weight: bold; + background-color: cellheading?>; } a:link { @@ -43,52 +52,34 @@ a:hover { 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); + background-image: url(/gradient.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; -} - -.generalboxcontent { - background-image: url(/texture2.jpg); + background-image: url(/gradient.jpg); } .generaltable { } .generaltableheader { - background-image: url(/texture3.jpg); + background-image: url(/gradient.jpg); } .generaltablecell { @@ -101,131 +92,98 @@ form { } .sideblockheading { - background-image: url(/texture3.jpg); + background-image: url(/gradient.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 { +.outlineheadingblock { + background-image: url(/gradient.jpg); border-width: 1px; border-color: borders?>; border-style: solid; } -.siteinfocontent { - background-image: url(/texture2.jpg); -} - -.outlineheadingblock { - background-image: url(/texture3.jpg); +.forumpost { border-width: 1px; border-color: borders?>; border-style: solid; } +.forumpostheader { +} + +.forumpostheadertopic { +} + +.forumpostpicture { +} + +.forumpostside { +} + +.forumpostmessage { +} + + .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; } .weeklyoutlinecontent { - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } .weeklyoutlinecontenthighlight { - background: #FDFBF1; - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } + .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; } .topicsoutlinecontent { - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } .topicsoutlinecontenthighlight { - border-width: 0px; - border-top: 1px; - border-bottom: 1px; - border-color: borders?>; - border-style: solid; } -.forumpost { +.siteinfo { border-width: 1px; border-color: borders?>; border-style: solid; } -.forumpostheader { - background-image: url(/texture2.jpg); +.siteinfocontent { } -.forumpostheadertopic { - background-image: url(/texture3.jpg); -} -.forumpostpicture { - background-image: url(/texture2.jpg); +.generalbox { + border-width: 1px; + border-color: borders?>; + border-style: solid; } -.forumpostside { - background-image: url(/texture2.jpg); +.generalboxcontent { } -.forumpostmessage { -} -- 2.39.5