mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Improvements in styles for category/course listings
This commit is contained in:
parent
f1c1b17ab5
commit
091ebec973
@ -101,3 +101,12 @@ Changes to 1.1 since 1.0.9
|
||||
.categoryname {}
|
||||
.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.
|
||||
|
@ -286,10 +286,19 @@ a.dimmed:hover {
|
||||
}
|
||||
|
||||
.categorybox {
|
||||
border-width: 1px;
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.categoryboxcontent {
|
||||
}
|
||||
|
||||
.categoryname {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.coursename {
|
||||
}
|
||||
|
||||
|
@ -379,10 +379,19 @@ a.dimmed:hover {
|
||||
}
|
||||
|
||||
.categorybox {
|
||||
border-width: 1px;
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.categoryboxcontent {
|
||||
}
|
||||
|
||||
.categoryname {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.coursename {
|
||||
}
|
||||
|
||||
|
@ -300,10 +300,19 @@ a.dimmed:hover {
|
||||
}
|
||||
|
||||
.categorybox {
|
||||
border-width: 1px;
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.categoryboxcontent {
|
||||
}
|
||||
|
||||
.categoryname {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.coursename {
|
||||
}
|
||||
|
||||
|
@ -284,10 +284,19 @@ a.dimmed:hover {
|
||||
}
|
||||
|
||||
.categorybox {
|
||||
border-width: 1px;
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.categoryboxcontent {
|
||||
}
|
||||
|
||||
.categoryname {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.coursename {
|
||||
}
|
||||
|
||||
|
@ -244,10 +244,19 @@ select {
|
||||
}
|
||||
|
||||
.categorybox {
|
||||
border-width: 1px;
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.categoryboxcontent {
|
||||
}
|
||||
|
||||
.categoryname {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.coursename {
|
||||
}
|
||||
|
||||
|
@ -31,6 +31,7 @@ body, td, th, li {
|
||||
th {
|
||||
font-weight: bold;
|
||||
background-color: <?PHP echo $THEME->cellheading?>;
|
||||
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
|
||||
}
|
||||
|
||||
a:link {
|
||||
@ -284,10 +285,19 @@ a.dimmed:hover {
|
||||
}
|
||||
|
||||
.categorybox {
|
||||
border-width: 1px;
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.categoryboxcontent {
|
||||
}
|
||||
|
||||
.categoryname {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.coursename {
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
|
||||
$nomoodlecookie = true;
|
||||
require_once("../../config.php");
|
||||
require_once("../../config.php");
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
/// From here on it's nearly a normal stylesheet.
|
||||
@ -31,6 +31,7 @@ body, td, th, li {
|
||||
th {
|
||||
font-weight: bold;
|
||||
background-color: <?PHP echo $THEME->cellheading?>;
|
||||
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
|
||||
}
|
||||
|
||||
a:link {
|
||||
@ -284,10 +285,19 @@ a.dimmed:hover {
|
||||
}
|
||||
|
||||
.categorybox {
|
||||
border-width: 1px;
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.categoryboxcontent {
|
||||
}
|
||||
|
||||
.categoryname {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.coursename {
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
|
||||
$nomoodlecookie = true;
|
||||
require_once("../../config.php");
|
||||
require_once("../../config.php");
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
/// From here on it's nearly a normal stylesheet.
|
||||
@ -31,6 +31,7 @@ body, td, th, li {
|
||||
th {
|
||||
font-weight: bold;
|
||||
background-color: <?PHP echo $THEME->cellheading?>;
|
||||
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
|
||||
}
|
||||
|
||||
a:link {
|
||||
@ -284,10 +285,19 @@ a.dimmed:hover {
|
||||
}
|
||||
|
||||
.categorybox {
|
||||
border-width: 1px;
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.categoryboxcontent {
|
||||
}
|
||||
|
||||
.categoryname {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.coursename {
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
|
||||
$nomoodlecookie = true;
|
||||
require_once("../../config.php");
|
||||
require_once("../../config.php");
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
/// From here on it's nearly a normal stylesheet.
|
||||
@ -31,6 +31,7 @@ body, td, th, li {
|
||||
th {
|
||||
font-weight: bold;
|
||||
background-color: <?PHP echo $THEME->cellheading?>;
|
||||
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
|
||||
}
|
||||
|
||||
a:link {
|
||||
@ -284,10 +285,19 @@ a.dimmed:hover {
|
||||
}
|
||||
|
||||
.categorybox {
|
||||
border-width: 1px;
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.categoryboxcontent {
|
||||
}
|
||||
|
||||
.categoryname {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.coursename {
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
|
||||
$nomoodlecookie = true;
|
||||
require_once("../../config.php");
|
||||
require_once("../../config.php");
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
/// From here on it's nearly a normal stylesheet.
|
||||
@ -31,6 +31,7 @@ body, td, th, li {
|
||||
th {
|
||||
font-weight: bold;
|
||||
background-color: <?PHP echo $THEME->cellheading?>;
|
||||
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
|
||||
}
|
||||
|
||||
a:link {
|
||||
@ -284,10 +285,19 @@ a.dimmed:hover {
|
||||
}
|
||||
|
||||
.categorybox {
|
||||
border-width: 1px;
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.categoryboxcontent {
|
||||
}
|
||||
|
||||
.categoryname {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.coursename {
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
|
||||
$nomoodlecookie = true;
|
||||
require_once("../../config.php");
|
||||
require_once("../../config.php");
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
/// From here on it's nearly a normal stylesheet.
|
||||
@ -31,6 +31,7 @@ body, td, th, li {
|
||||
th {
|
||||
font-weight: bold;
|
||||
background-color: <?PHP echo $THEME->cellheading?>;
|
||||
background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
|
||||
}
|
||||
|
||||
a:link {
|
||||
@ -284,10 +285,19 @@ a.dimmed:hover {
|
||||
}
|
||||
|
||||
.categorybox {
|
||||
border-width: 1px;
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.categoryboxcontent {
|
||||
}
|
||||
|
||||
.categoryname {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.coursename {
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user