Improvements in styles for category/course listings

This commit is contained in:
moodler 2003-09-03 15:23:41 +00:00
parent f1c1b17ab5
commit 091ebec973
12 changed files with 119 additions and 5 deletions

View File

@ -101,3 +101,12 @@ Changes to 1.1 since 1.0.9
.categoryname {} .categoryname {}
.coursename {} .coursename {}
================================
Changes to 1.1.1 since 1.1
--------------------------------
.categoryboxcontent {}
Some better placement of styles on the category/course listings to
allow some fancy effects.

View File

@ -286,10 +286,19 @@ a.dimmed:hover {
} }
.categorybox { .categorybox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.categoryboxcontent {
} }
.categoryname { .categoryname {
font-size: large;
font-weight: bold;
} }
.coursename { .coursename {
} }

View File

@ -379,10 +379,19 @@ a.dimmed:hover {
} }
.categorybox { .categorybox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.categoryboxcontent {
} }
.categoryname { .categoryname {
font-size: large;
font-weight: bold;
} }
.coursename { .coursename {
} }

View File

@ -300,10 +300,19 @@ a.dimmed:hover {
} }
.categorybox { .categorybox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.categoryboxcontent {
} }
.categoryname { .categoryname {
font-size: large;
font-weight: bold;
} }
.coursename { .coursename {
} }

View File

@ -284,10 +284,19 @@ a.dimmed:hover {
} }
.categorybox { .categorybox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.categoryboxcontent {
} }
.categoryname { .categoryname {
font-size: large;
font-weight: bold;
} }
.coursename { .coursename {
} }

View File

@ -244,10 +244,19 @@ select {
} }
.categorybox { .categorybox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.categoryboxcontent {
} }
.categoryname { .categoryname {
font-size: large;
font-weight: bold;
} }
.coursename { .coursename {
} }

View File

@ -31,6 +31,7 @@ body, td, th, li {
th { th {
font-weight: bold; font-weight: bold;
background-color: <?PHP echo $THEME->cellheading?>; background-color: <?PHP echo $THEME->cellheading?>;
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
} }
a:link { a:link {
@ -284,10 +285,19 @@ a.dimmed:hover {
} }
.categorybox { .categorybox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.categoryboxcontent {
} }
.categoryname { .categoryname {
font-size: large;
font-weight: bold;
} }
.coursename { .coursename {
} }

View File

@ -3,7 +3,7 @@
/// We use PHP so we can do value substitutions into the styles /// We use PHP so we can do value substitutions into the styles
$nomoodlecookie = true; $nomoodlecookie = true;
require_once("../../config.php"); require_once("../../config.php");
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename); $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
/// From here on it's nearly a normal stylesheet. /// From here on it's nearly a normal stylesheet.
@ -31,6 +31,7 @@ body, td, th, li {
th { th {
font-weight: bold; font-weight: bold;
background-color: <?PHP echo $THEME->cellheading?>; background-color: <?PHP echo $THEME->cellheading?>;
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
} }
a:link { a:link {
@ -284,10 +285,19 @@ a.dimmed:hover {
} }
.categorybox { .categorybox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.categoryboxcontent {
} }
.categoryname { .categoryname {
font-size: large;
font-weight: bold;
} }
.coursename { .coursename {
} }

View File

@ -3,7 +3,7 @@
/// We use PHP so we can do value substitutions into the styles /// We use PHP so we can do value substitutions into the styles
$nomoodlecookie = true; $nomoodlecookie = true;
require_once("../../config.php"); require_once("../../config.php");
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename); $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
/// From here on it's nearly a normal stylesheet. /// From here on it's nearly a normal stylesheet.
@ -31,6 +31,7 @@ body, td, th, li {
th { th {
font-weight: bold; font-weight: bold;
background-color: <?PHP echo $THEME->cellheading?>; background-color: <?PHP echo $THEME->cellheading?>;
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
} }
a:link { a:link {
@ -284,10 +285,19 @@ a.dimmed:hover {
} }
.categorybox { .categorybox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.categoryboxcontent {
} }
.categoryname { .categoryname {
font-size: large;
font-weight: bold;
} }
.coursename { .coursename {
} }

View File

@ -3,7 +3,7 @@
/// We use PHP so we can do value substitutions into the styles /// We use PHP so we can do value substitutions into the styles
$nomoodlecookie = true; $nomoodlecookie = true;
require_once("../../config.php"); require_once("../../config.php");
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename); $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
/// From here on it's nearly a normal stylesheet. /// From here on it's nearly a normal stylesheet.
@ -31,6 +31,7 @@ body, td, th, li {
th { th {
font-weight: bold; font-weight: bold;
background-color: <?PHP echo $THEME->cellheading?>; background-color: <?PHP echo $THEME->cellheading?>;
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
} }
a:link { a:link {
@ -284,10 +285,19 @@ a.dimmed:hover {
} }
.categorybox { .categorybox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.categoryboxcontent {
} }
.categoryname { .categoryname {
font-size: large;
font-weight: bold;
} }
.coursename { .coursename {
} }

View File

@ -3,7 +3,7 @@
/// We use PHP so we can do value substitutions into the styles /// We use PHP so we can do value substitutions into the styles
$nomoodlecookie = true; $nomoodlecookie = true;
require_once("../../config.php"); require_once("../../config.php");
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename); $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
/// From here on it's nearly a normal stylesheet. /// From here on it's nearly a normal stylesheet.
@ -31,6 +31,7 @@ body, td, th, li {
th { th {
font-weight: bold; font-weight: bold;
background-color: <?PHP echo $THEME->cellheading?>; background-color: <?PHP echo $THEME->cellheading?>;
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
} }
a:link { a:link {
@ -284,10 +285,19 @@ a.dimmed:hover {
} }
.categorybox { .categorybox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.categoryboxcontent {
} }
.categoryname { .categoryname {
font-size: large;
font-weight: bold;
} }
.coursename { .coursename {
} }

View File

@ -3,7 +3,7 @@
/// We use PHP so we can do value substitutions into the styles /// We use PHP so we can do value substitutions into the styles
$nomoodlecookie = true; $nomoodlecookie = true;
require_once("../../config.php"); require_once("../../config.php");
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename); $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
/// From here on it's nearly a normal stylesheet. /// From here on it's nearly a normal stylesheet.
@ -31,6 +31,7 @@ body, td, th, li {
th { th {
font-weight: bold; font-weight: bold;
background-color: <?PHP echo $THEME->cellheading?>; background-color: <?PHP echo $THEME->cellheading?>;
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
} }
a:link { a:link {
@ -284,10 +285,19 @@ a.dimmed:hover {
} }
.categorybox { .categorybox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.categoryboxcontent {
} }
.categoryname { .categoryname {
font-size: large;
font-weight: bold;
} }
.coursename { .coursename {
} }