From 03aa0dfa102cb1f5b8a5a256d975374132d42e12 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 18 Apr 2003 06:39:40 +0000 Subject: [PATCH] Style improvements and upgrades --- mod/forum/lib.php | 2 +- theme/brightretro/styles.php | 42 ++++- theme/cordoroyblue/styles.php | 50 ++++- theme/garden/styles.php | 36 ++++ theme/oceanblue/styles.php | 345 +++++++++++++++++++++++++++++++++- 5 files changed, 459 insertions(+), 16 deletions(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index e76f279a72..a6e9a2c224 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -1496,7 +1496,7 @@ function forum_print_latest_discussions($forum_id=0, $forum_numdiscussions=5, $f if ($forum_style == "header") { echo ""; - echo ""; + echo ""; echo ""; echo ""; echo ""; diff --git a/theme/brightretro/styles.php b/theme/brightretro/styles.php index 2500203a2f..bbaf7b097f 100644 --- a/theme/brightretro/styles.php +++ b/theme/brightretro/styles.php @@ -120,12 +120,6 @@ form { border-style: solid; } -.forumpostheader { -} - -.forumpostheadertopic { -} - .forumpostpicture { } @@ -187,3 +181,39 @@ form { .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; +} + +.forumpostheader { +} + +.forumpostheaderpicture { +} + +.forumpostheadername { + font-size: small; +} + +.forumpostheaderreplies { + font-size: small; +} + +.forumpostheaderdate { + font-size: small; +} diff --git a/theme/cordoroyblue/styles.php b/theme/cordoroyblue/styles.php index 6d5f44e54f..d8b62f5338 100644 --- a/theme/cordoroyblue/styles.php +++ b/theme/cordoroyblue/styles.php @@ -212,14 +212,6 @@ form { border-style: solid; } -.forumpostheader { - background-image: url(/texture2.jpg); -} - -.forumpostheadertopic { - background-image: url(/texture3.jpg); -} - .forumpostpicture { background-image: url(/texture2.jpg); } @@ -252,3 +244,45 @@ form { 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; +} + +.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; +} diff --git a/theme/garden/styles.php b/theme/garden/styles.php index c1fb78ca54..e4b7257f68 100755 --- a/theme/garden/styles.php +++ b/theme/garden/styles.php @@ -198,9 +198,45 @@ form { } +.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; +} + +.forumpostheader { +} + +.forumpostheaderpicture { +} + +.forumpostheadername { + font-size: small; +} + +.forumpostheaderreplies { + font-size: small; +} + +.forumpostheaderdate { + font-size: small; +} diff --git a/theme/oceanblue/styles.php b/theme/oceanblue/styles.php index 875815f594..838a215c98 100644 --- a/theme/oceanblue/styles.php +++ b/theme/oceanblue/styles.php @@ -1 +1,344 @@ -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; color: 0000CC;} a:visited {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: 0000CC;} a:hover {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: FF0000;} body {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} p {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} h1 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} h2 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} h3 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} h4 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} th {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-weight: bold; background-color: cellheading?>;} td {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} li {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} 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); } .generalbox { border-width: 1px; border-color: borders?>; border-style: solid; } .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; } .weeklyoutline { } .topicsoutline { } .forumpost { border-width: 1px; border-color: borders?>; border-style: solid; } .forumpostheader { } .forumpostheadertopic { } .forumpostpicture { } .forumpostside { } .forumpostmessage { } \ No newline at end of file +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; + + color: 0000CC;} + +a:visited {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; + + text-decoration: none; + + color: 0000CC;} + +a:hover {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; + + text-decoration: none; + + color: FF0000;} + + + +body {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} + + + +p {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} + + + +h1 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} + + + +h2 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} + + + +h3 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} + + + +h4 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} + + + +th {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; + + font-weight: bold; + + background-color: cellheading?>;} + + + +td {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} + + + +li {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;} + + + +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); + +} + + + +.generalbox { + + border-width: 1px; + + border-color: borders?>; + + border-style: solid; + +} + + + +.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 { +} + + +.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; +} + +.forumpostheader { +} + +.forumpostheaderpicture { +} + +.forumpostheadername { + font-size: small; +} + +.forumpostheaderreplies { + font-size: small; +} + +.forumpostheaderdate { + font-size: small; +} -- 2.39.5
".get_string("discussion", "forum")."".get_string("startedby", "forum")."".get_string("replies", "forum")."