MDL-22875 adding boilerplate to config.php

This commit is contained in:
Patrick Malley 2010-06-25 05:51:03 +00:00
parent bc9ceb413c
commit 374c0cca55
2 changed files with 163 additions and 61 deletions

View File

@ -1,5 +1,38 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Configuration for Moodle's Canvas theme.
*
* This theme is special, and implements a minimalist theme with basic styles.
* It is intended to be used with Base as a starting point for other themes to build upon.
* It is not recommend to actually choose this theme for production sites!
*
* DO NOT COPY THIS TO START NEW THEMES!
* Start with another theme, like "standard".
*
* For full information about creating Moodle themes, see:
* http://docs.moodle.org/en/Development:Themes_2.0
*
* @package moodlecore
* @copyright 2010 Patrick Malley
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$THEME->name = 'canvas';
////////////////////////////////////////////////////

View File

@ -6,124 +6,193 @@
.pagelayout-admin,
.pagelayout-mydashboard,
.pagelayout-mypublic,
.pagelayout-login
{
background:url([[pix:theme|body]]);
.pagelayout-login {
background: url([[pix:theme|body]]);
}
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea
{
font-family:Georgia, "Times New Roman", Times, serif;
color:#2a2513;
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
font-family: Georgia, "Times New Roman", Times, serif;
color: #2a2513;
}
#wrapper
{
background:#fff;
margin:2% 5%;
padding:5px;
border:1px solid #c1bc9d;
#wrapper {
background: #fff;
margin: 2% 5%;
padding: 5px;
border: 1px solid #c1bc9d;
}
a {
color:#336699;
color: #336699;
}
a:hover {
text-decoration:underline;
text-decoration: underline;
}
.pagelayout-frontpage #page-content #region-main-box #region-post-box {
padding-top: 0;
.pagelayout-frontpage #page-content #region-main-box #region-post-box {
padding-top: 0;
}
/* Header
------------------------*/
#page-header
{
background:#ddd6cc url([[pix:theme|header_grass]]) repeat-x 0 100%;
#page-header {
background: #ddd6cc url([[pix:theme|header_grass]]) repeat-x 0 100%;
margin-bottom: 5px;
}
.headermain {
font-weight:normal;
margin:1em 0.5em 0.75em;
font-weight: normal;
margin: 1em 0.5em 0.75em;
}
/* Navbar
-------------------------*/
.navbar {
background: #aeb9c6 url([[pix:theme|breadcrumb]]) repeat-x 0 100%;
.navbar {
background: #aeb9c6 url([[pix:theme|breadcrumb]]) repeat-x 0 100%;
padding: 5px;
}
/* Blocks
-------------------------*/
.block
{
border-color:#eee;
.block {
border-color: #eee;
}
.block .header {
background:#9eb1bf;
padding-left:5px;
background: #9eb1bf;
padding-left: 5px;
}
.block .title {
background:#867f6a;
padding-left:5px;
background: #867f6a;
padding-left: 5px;
}
.block .title h2 {
background:#6e6855;
margin:0;
padding:5px;
font-size:1em;
color:#fff;
background: #6e6855;
margin: 0;
padding: 5px;
font-size: 1em;
color: #fff;
}
.block_action {
padding:5px 0 0;
padding: 5px 0 0;
}
.block .content {
background:#d8d2c6;
border:1px solid #867f6a;
background: #d8d2c6;
border: 1px solid #867f6a;
}
.block .minicalendar td,
.block .minicalendar th {
.block .minicalendar th {
border-color: #d8d2c6;
}
/* Course
----------------------------*/
.headingblock {
background: url([[pix:theme|headingblock]]) repeat-x 0 0;
color:#fff;
font-weight:normal;
border:none;
padding:2px 5px;
background: url([[pix:theme|headingblock]]) repeat-x 0 0;
color: #fff;
font-weight: normal;
border: none;
padding: 2px 5px;
}
/** Dock
/* Forums
-----------------------------*/
body.has_dock {margin:0;}
#dock {left:5%;margin-left:-29px;border-width:0;background-color:transparent;}
#dock .controls {bottom:auto;background-color:#DDD6CC;}
#dock .dockeditem_container {position:relative;}
#dock .dockeditem.firstdockitem {margin-top:50px;}
#dock .dockeditem {background-color:#fff;padding:2px;padding-right:0px;}
#dock .dockedtitle {border-width:0;}
#dock .dockedtitle h2 {margin:0;padding:10px 3px;}
#dock .dockedtitle.activeitem {background-color:#817b65;width:35px;}
#dockeditempanel {background-color:#817b65;margin-left:5px;}
#dockeditempanel .dockeditempanel_content {background-color:#eee9e0;margin:0 3px;position:relative;top:-3px;min-height:100px;border-color:#6f6856;}
#dockeditempanel .dockeditempanel_hd {background-image:url([[pix:theme|headingblock]]);border-width:0;}
#dockeditempanel .dockeditempanel_hd h2 {font-size:1em;color:#fff;}
.forumpost .topic {
background: #cad5e1;
border-width: 1px;
border-color: #eee #eee #aaa;
border-style: solid;
}
.forumpost .starter .subject {
font-weight: bold;
}
.forumpost .content {
border-color: #eee;
border-width: 0 1px 1px;
border-style: solid;
background: #f6f6f6;
}
/* Dock
-----------------------------*/
body.has_dock {
margin: 0;
}
#dock {
left: 5%;
margin-left: -29px;
border-width: 0;
background-color: transparent;
}
#dock .controls {
bottom: auto;
background-color: #DDD6CC;
}
#dock .dockeditem_container {
position: relative;
}
#dock .dockeditem.firstdockitem {
margin-top: 50px;
}
#dock .dockeditem {
background-color: #fff;
padding: 2px;
padding-right: 0px;
}
#dock .dockedtitle {
border-width: 0;
}
#dock .dockedtitle h2 {
margin: 0;
padding: 10px 3px;
}
#dock .dockedtitle.activeitem {
background-color: #817b65;
width: 35px;
}
#dockeditempanel {
background-color: #817b65;
margin-left: 5px;
}
#dockeditempanel .dockeditempanel_content {
background-color: #eee9e0;
margin: 0 3px;
position: relative;
top: -3px;
min-height: 100px;
border-color: #6f6856;
}
#dockeditempanel .dockeditempanel_hd {
background-image: url([[pix:theme|headingblock]]);
border-width: 0;
}
#dockeditempanel .dockeditempanel_hd h2 {
font-size: 1em;
color: #fff;
}