mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Initial version by Tom Murdock
This commit is contained in:
parent
ed5e0c04ae
commit
7d0d7f4665
7 changed files with 216 additions and 0 deletions
140
theme/brightretro/styles.php
Normal file
140
theme/brightretro/styles.php
Normal file
|
@ -0,0 +1,140 @@
|
|||
<?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: blue;}
|
||||
a:visited {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
||||
text-decoration: none;
|
||||
color: blue;}
|
||||
a:hover {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
||||
text-decoration: underline;
|
||||
color: red;}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.weeklyoutline {
|
||||
}
|
||||
|
||||
.topicsoutline {
|
||||
}
|
||||
|
||||
.forumpost {
|
||||
border-width: 1px;
|
||||
border-color: <?PHP echo $THEME->borders?>;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.forumpostheader {
|
||||
}
|
||||
|
||||
.forumpostheadertopic {
|
||||
}
|
||||
|
||||
.forumpostpicture {
|
||||
}
|
||||
|
||||
.forumpostside {
|
||||
}
|
||||
|
||||
.forumpostmessage {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue