Style improvements and upgrades
This commit is contained in:
+1
-1
@@ -1496,7 +1496,7 @@ function forum_print_latest_discussions($forum_id=0, $forum_numdiscussions=5, $f
|
||||
|
||||
if ($forum_style == "header") {
|
||||
echo "<table width=\"100%\" border=0 cellpadding=3 cellspacing=1 class=\"forumpost\">";
|
||||
echo "<tr>";
|
||||
echo "<tr class=\"forumpostheader\">";
|
||||
echo "<th>".get_string("discussion", "forum")."</th>";
|
||||
echo "<th colspan=2>".get_string("startedby", "forum")."</th>";
|
||||
echo "<th>".get_string("replies", "forum")."</th>";
|
||||
|
||||
@@ -120,12 +120,6 @@ form {
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.forumpostheader {
|
||||
}
|
||||
|
||||
.forumpostheadertopic {
|
||||
}
|
||||
|
||||
.forumpostpicture {
|
||||
}
|
||||
|
||||
@@ -187,3 +181,39 @@ form {
|
||||
.generalboxcontent {
|
||||
}
|
||||
|
||||
.feedbacktext {
|
||||
color: <?PHP echo $THEME->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;
|
||||
}
|
||||
|
||||
@@ -212,14 +212,6 @@ form {
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.forumpostheader {
|
||||
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
|
||||
}
|
||||
|
||||
.forumpostheadertopic {
|
||||
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
|
||||
}
|
||||
|
||||
.forumpostpicture {
|
||||
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
|
||||
}
|
||||
@@ -252,3 +244,45 @@ form {
|
||||
background-image: none;
|
||||
background-color: <?PHP echo $THEME->cellcontent?>;
|
||||
}
|
||||
|
||||
.feedbacktext {
|
||||
color: <?PHP echo $THEME->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(<?PHP echo "$themeurl"?>/texture2.jpg);
|
||||
}
|
||||
|
||||
.forumpostheadertopic {
|
||||
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
|
||||
}
|
||||
|
||||
.forumpostheaderpicture {
|
||||
}
|
||||
|
||||
.forumpostheadername {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
.forumpostheaderreplies {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
.forumpostheaderdate {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
@@ -198,9 +198,45 @@ form {
|
||||
}
|
||||
|
||||
|
||||
.feedbacktext {
|
||||
color: <?PHP echo $THEME->cellheading2?>;
|
||||
}
|
||||
|
||||
|
||||
.top {
|
||||
background-image: url(<?PHP echo "$themeurl"?>/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;
|
||||
}
|
||||
|
||||
+344
-1
@@ -1 +1,344 @@
|
||||
<?PHP // $Id$
|
||||
<?PHP // $Id$
|
||||
|
||||
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
|
||||
|
||||
require_once("../../config.php");
|
||||
|
||||
|
||||
|
||||
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.
|
||||
|
||||
///
|
||||
|
||||
/// 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: <?PHP echo $THEME->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: <?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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.generalbox {
|
||||
|
||||
border-width: 1px;
|
||||
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
|
||||
border-style: solid;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.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 {
|
||||
}
|
||||
|
||||
.weeklyoutlinecontent {
|
||||
}
|
||||
|
||||
.weeklyoutlinecontenthighlight {
|
||||
}
|
||||
|
||||
|
||||
.topicsoutline {
|
||||
}
|
||||
|
||||
.topicsoutlineside {
|
||||
}
|
||||
|
||||
.topicsoutlinesidehighlight {
|
||||
}
|
||||
|
||||
.topicsoutlinecontent {
|
||||
}
|
||||
|
||||
.topicsoutlinecontenthighlight {
|
||||
}
|
||||
|
||||
|
||||
.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 {
|
||||
}
|
||||
|
||||
.feedbacktext {
|
||||
color: <?PHP echo $THEME->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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user