From a8e1f343c033431b08c5328667e69e8030da1367 Mon Sep 17 00:00:00 2001
From: moodler
Date: Tue, 25 Jan 2005 13:17:15 +0000
Subject: [PATCH] IMPORTANT CHANGE TO THEMES!
This is the new standard theme, based on the excellent work by
Urs Hunkler (and I believe David Scotson had an influence)
who has started rationalising the old mess.
I've made this a very neutral, almost white theme.
[ Come to think of it maybe I've been looking at iPods and Mac Minis
a bit too much recently. ;-) ]
The idea is that the standard styles will be included by all
other themes (including custom themes) before local overriding
styles are applied.
This means that upgrades will cause less problems for custom themes.
It's a bit like the language packs, where "en" is always referenced
when a local language string isn't found.
PROGRAMMERS: All new styles MUST go into this "standard" theme,
and the default colours should match the plain white look.
Once this theme settles down a bit we need to upgrade all the other
packaged themes accordingly.
---
theme/standard/README.html | 22 +
theme/standard/docstyles.php | 102 ++++
theme/standard/footer.html | 11 +
theme/standard/gradient.jpg | Bin 379 -> 373 bytes
theme/standard/header.html | 91 ++--
theme/standard/styles.css | 53 ++
theme/standard/styles.php | 796 +------------------------------
theme/standard/styles_color.css | 276 +++++++++++
theme/standard/styles_fonts.css | 234 +++++++++
theme/standard/styles_layout.css | 378 +++++++++++++++
theme/standard/styles_moz.css | 108 +++++
11 files changed, 1232 insertions(+), 839 deletions(-)
create mode 100644 theme/standard/README.html
create mode 100644 theme/standard/docstyles.php
create mode 100644 theme/standard/styles.css
create mode 100644 theme/standard/styles_color.css
create mode 100644 theme/standard/styles_fonts.css
create mode 100644 theme/standard/styles_layout.css
create mode 100644 theme/standard/styles_moz.css
diff --git a/theme/standard/README.html b/theme/standard/README.html
new file mode 100644
index 0000000000..8798cc0902
--- /dev/null
+++ b/theme/standard/README.html
@@ -0,0 +1,22 @@
+STANDARD THEME
+
+
+Moodle's default theme is a very neutral grey/white theme.
+
+This theme is always the most up-to date.
+
+Programmers working on Moodle should always design for this
+theme, and add new styles to this theme.
+
+Other themes should always reference the style sheet from
+this theme before defining their own styles to augment or
+replace the standard styles. In this way custom themes
+are not as affected by Moodle upgrades.
+
+
+The standard stylesheet is:
+
+ $CFG->wwwroot/theme/standard/styles.php
+
+
+
diff --git a/theme/standard/docstyles.php b/theme/standard/docstyles.php
new file mode 100644
index 0000000000..ff753dbae4
--- /dev/null
+++ b/theme/standard/docstyles.php
@@ -0,0 +1,102 @@
+
+body {
+ background-color:#FFFFFF;
+}
+p, a {
+ font-size:small;
+}
+
+h1, h2, h3 {
+ padding-left:0px;
+ background-color:transparent;
+ color:#000000;
+}
+
+h1 {
+ font-size:1.7em;
+ margin:0.5em 0 0;
+}
+
+h2 {
+ font-size:1.4em;
+ margin:0.5em 0 0;
+}
+
+h3 {
+ font-size:1.2em;
+ margin:0.5em 0 0;
+}
+
+
+li {
+ margin-bottom: 10px;
+}
+
+ul {
+ margin-top: 10px;
+}
+
+.question {
+ font-size: medium;
+ font-weight: bold;
+ border: 1px dotted;
+ padding: 10px;
+ background-color: #EEEEEE;
+}
+
+.answer {
+ font-size: medium;
+ border: none;
+ padding-left: 40px;
+}
+
+.normaltext {
+ font-size: medium;
+ border: none;
+ margin-left: 30px;
+}
+
+.answercode {
+ font-family: "Courier New", Courier, mono;
+ font-size: small;
+ border: none;
+ padding-left: 60px;
+}
+
+.questionlink {
+ font-size: medium;
+ border: none;
+ padding-left: 40px;
+}
+
+.examplecode {
+ font-family: "Courier New", Courier, mono;
+ font-size: small;
+ border: thin dashed #999999;
+ background-color: #FBFBFB;
+ margin: auto;
+ margin-top: 0.5em;
+ padding: 30px;
+ height: auto;
+ width: auto;
+}
+
+.spaced {
+ margin-bottom: 30px;
+}
diff --git a/theme/standard/footer.html b/theme/standard/footer.html
index 466d942bc6..7c26653224 100644
--- a/theme/standard/footer.html
+++ b/theme/standard/footer.html
@@ -1,9 +1,20 @@
+
+
+