Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Y not?

  • Loading branch information...
commit b643af5900bfed0107e3b4cb90a6706f0357212c 1 parent b10f6e7
moodler authored
View
18 theme/formal_white/config.php
@@ -0,0 +1,18 @@
+<?PHP // $Id$
+
+$THEME->body = "#F7F6F1"; // Main page color
+$THEME->cellheading = "#C6BDA8"; // Standard headings of big tables
+$THEME->cellheading2 = "#849DBC"; // Highlight headings of tables
+$THEME->cellcontent = "#FFFFFF"; // For areas with text
+$THEME->cellcontent2 = "#C6BDA8"; // Alternate colour
+$THEME->borders = "#C6BDA8"; // Table borders
+$THEME->highlight = "#849DBC"; // Highlighted text (eg after a search)
+$THEME->hidden = "#979EA8"; // To color things that are hidden
+$THEME->autolink = "#849DBC"; // To color auto-generated links (eg glossary)
+
+$THEME->custompix = false; // If true, then this theme must have a "pix"
+ // subdirectory that contains copies of all
+ // files from the moodle/pix directory
+ // See "cordoroyblue" for an up-to-date example.
+
+?>
View
BIN  theme/formal_white/favicon.ico
Binary file not shown
View
9 theme/formal_white/footer.html
@@ -0,0 +1,9 @@
+<!-- START OF FOOTER -->
+<HR SIZE=1 NOSHADE>
+<table width="100%" border="0" cellpadding="5" cellspacing="0">
+ <tr>
+ <td align="center"><p class="logininfo"><?php echo $loggedinas ?> | <?php echo $homelink ?></p></td>
+ </tr>
+</table>
+</BODY>
+</HTML>
View
62 theme/formal_white/header.html
@@ -0,0 +1,62 @@
+<html<?php echo $direction ?>>
+<head>
+<?php echo $meta ?>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> " />
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>" />
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ if ($focus) {
+ echo " onload=setfocus()";
+ }
+ echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) { // This is what gets printed on the home page only ?>
+
+ <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+ <tr>
+ <td valign="top" class="headerhomemain">
+ <img border="0" src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/logo.jpg" ?>">
+ </td>
+ <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
+ <tr>
+ <td valign="top" class="headermain">
+ <img border="0" src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/logo_small.jpg" ?>">
+ <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <table border="0" cellpadding="3" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
+ <?php print_navigation("$navigation"); ?>
+ </td>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
+ echo $button;
+ ?></td>
+ </tr>
+ </table>
+ <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height="5" width="1" /><br />
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <hr size="1" noshade="noshade" />
+
+<?php } ?>
+
+<!-- END OF HEADER -->
View
BIN  theme/formal_white/logo.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  theme/formal_white/logo_small.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
502 theme/formal_white/styles.php
@@ -0,0 +1,502 @@
+<?PHP /* $Id$ */
+
+/// We use PHP so we can do value substitutions into the styles
+
+ $nomoodlecookie = true;
+ require_once("../../config.php");
+ $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
+
+
+/// From here on it's nearly a normal stylesheet.
+/// First are some CSS definitions for normal tags,
+/// then custom tags follow.
+///
+/// New classes always get added to the end of the file.
+///
+/// Note that a group of standard colours are all
+/// defined in config.php in this directory. The
+/// reason for this is because Moodle uses the same
+/// colours to provide oldstyle formatting for
+/// browsers without CSS.
+///
+/// You can hardcode colours in this file if you
+/// don't care about this.
+
+?>
+
+body {
+ font-family: Arial, Helvetica, sans-serif;
+ font-size : 13px;
+ margin : 5px;
+}
+
+td, th {
+ font-family: Arial, Helvetica, sans-serif;
+ font-size : 13px;}
+
+a:link {
+ text-decoration: none;
+ color: #0033CC;
+}
+
+a:visited {
+ text-decoration: none;
+ color:#0033CC;
+}
+
+a:hover {
+ text-decoration: underline;
+ color: #990000;
+}
+
+th {
+ font-weight: bold;
+ background-color: <?PHP echo $THEME->cellheading?>;
+}
+
+ul {
+ margin-bottom: 5px;
+ margin-top: 0px;
+}
+
+form {
+ margin-bottom: 0;
+}
+
+input {
+ background : transparent;
+
+}
+
+h2 {
+ font-size : 16px;
+ font-weight: bold;
+ background-color: #FEF9F6;
+ padding : 3;
+ border : 1px solid <?PHP echo $THEME->borders?>;
+}
+
+h4 {
+ font-size : 13px;
+ font-weight: bold;
+
+}
+
+.highlight {
+ background-color: <?PHP echo $THEME->highlight?>;
+}
+
+.headingblock {
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size : 11px;
+ font-weight: bold;
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+ background-color: #E3DFD4;
+}
+
+.navbar {
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size : 11px;
+ font-weight: bold;
+ background-color: #C6BDA8;
+}
+
+.generalbox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+ background-color: #FEF9F6;
+}
+
+.generalboxcontent {
+
+}
+
+.generaltable {
+}
+
+.generaltableheader {
+
+}
+
+.generaltablecell {
+}
+
+.sideblock {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.sideblockheading {
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size : 11px;
+ font-weight: bold;
+ background-color: #E3DFD4;
+}
+
+.sideblockmain {
+ background-color: #FEF9F6;
+}
+
+.sideblocklinks {
+ background-color: #FEF9F6;
+}
+
+.sideblocklatestnews {
+ background-color: #FEF9F6;
+}
+
+.sideblockrecentactivity {
+ background-color: #FEF9F6;
+}
+
+.siteinfo {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.siteinfocontent {
+
+}
+
+.outlineheadingblock {
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size : 11px;
+ font-weight: bold;
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.weeklyoutline {
+}
+
+.weeklyoutlineside {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.weeklyoutlinesidehighlight {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.weeklyoutlinesidehidden {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: dashed;
+}
+
+.weeklyoutlinecontent {
+ border-width: 0px;
+ border-top: 1px;
+ border-bottom: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.weeklyoutlinecontenthighlight {
+ background: #FFFFFF;
+ border-width: 0px;
+ border-top: 1px;
+ border-bottom: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.weeklyoutlinecontenthidden {
+ background: #F7F6F1;
+ border-width: 0px;
+ border-top: 1px;
+ border-bottom: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: dashed;
+}
+
+.weeklydatetext {
+ font-weight: bold;
+}
+
+.topicsoutline {
+}
+
+.topicsoutlineside {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.topicsoutlinesidehighlight {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.topicsoutlinesidehidden {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: dashed;
+}
+
+.topicsoutlinecontent {
+ border-width: 0px;
+ border-top: 1px;
+ border-bottom: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.topicsoutlinecontenthighlight {
+ background: #FFFFFF;
+ border-width: 0px;
+ border-top: 1px;
+ border-bottom: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.topicsoutlinecontenthidden {
+ background-color: #F7F6F1;
+ border-width: 0px;
+ border-top: 1px;
+ border-bottom: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: dashed;
+}
+
+.forumpost {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.forumpostpicture {
+ background-color: #C6BDA8;
+}
+
+.forumpostside {
+ background-color: #E3DFD4;
+}
+
+.forumpostmessage {
+}
+
+
+.siteinfo {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.siteinfocontent {
+ background-color: #E3DFD4;
+}
+
+
+.generalbox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.generalboxcontent {
+ background-image: none;
+ background-color: <?PHP echo $THEME->cellcontent?>;
+}
+
+.noticebox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.noticeboxcontent {
+ text-align: center;
+}
+
+
+.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: #990000;
+}
+.dimmed_text {
+ color: #AAAAAA;
+}
+
+.forumpostheader {
+
+}
+
+.forumpostheadertopic {
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ background-color: #C6BDA8
+}
+
+.forumpostheaderpicture {
+ background-color: #FEF9F6;
+}
+
+.forumpostheadername {
+ background-color: #FEF9F6;
+}
+
+.forumpostheaderreplies {
+
+}
+
+.forumpostheaderdate {
+ background-color: #FEF9F6;
+}
+
+.logininfo {
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size : 10px;
+}
+
+.homelink {
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size : 11px;
+}
+
+.teacheronly {
+ color: #990000;
+}
+
+.header {
+ background-color: #E3DFD4;
+}
+
+.headermain {
+ font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+ background-color: #E3DFD4;
+}
+
+.headerhomemain {
+ font-weight: bold;
+}
+
+.headerhomemenu {
+}
+
+.categorybox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.categoryboxcontent {
+}
+
+.categoryname {
+ font-weight: bold;
+}
+
+.coursename {
+}
+
+.coursebox {
+}
+
+.courseboxcontent {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.courseboxinfo {
+}
+
+.courseboxsummary {
+}
+
+a.autolink:link {
+ text-decoration: none;
+ color: #000000;
+ background-color: <?PHP echo $THEME->autolink?>;
+}
+
+a.autolink:visited {
+ text-decoration: none;
+ color: #000000;
+ background-color: <?PHP echo $THEME->autolink?>;
+}
+
+a.autolink:hover {
+ text-decoration: underline;
+ color: #990000;
+}
+
+.userinfobox {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+ margin-bottom: 5px;
+}
+
+.userinfoboxside {
+}
+
+.userinfoboxcontent {
+}
+
+.userinfoboxsummary {
+}
+
+.userinfoboxlinkcontent {
+}
+
+.generaltab {
+}
+
+.generaltabselected {
+}
+
+
+.forumheaderlist {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+}
+
+.smallinfo {
+}
+
+.smallinfohead {
+ color: #555555;
+}
+
+.tabledivider {
+ border-width: 1px;
+ border-color: <?PHP echo $THEME->borders?>;
+ border-style: solid;
+ border-left: 0px;
+ border-right: 0px;
+ border-top: 0px;
+}
+
Please sign in to comment.
Something went wrong with that request. Please try again.