Permalink
Browse files

Added h1 - h4 fontsizes. Disabled the Chameleon engine by default. Wr…

…ote a short hint about the intearactive editing in the README.
  • Loading branch information...
1 parent cd6323f commit 2dc20107b98c44bd47f278ffc13229c140e74c80 urs_hunkler committed Feb 19, 2008
Showing with 35 additions and 10 deletions.
  1. +16 −4 theme/chameleon/README.html
  2. +3 −4 theme/chameleon/config.php
  3. +16 −2 theme/chameleon/user_styles.css
@@ -1,21 +1,33 @@
<h3>
Chameleon, the flexible Moodle theme.
</h3>
+<p>
+ Chameleon is a Moodle theme with an option to interactively change your theme within your browser page.
+ You click on an element to change it's style. Please read the
+ <a href="http://docs.moodle.org/en/Chameleon" alt="Chameleon Moodle Docs">Chameleon Moodle Docs explanation</a>
+ for more information about Chameleon's interactive theme work.
+</p>
+<p>
+ To enable editing you change "$THEME->chameleonenabled = false;" in the config.php file
+ in your Chameleon theme folder to true. It is recommended to change "$THEME->chameleonenabled = true;"
+ back to false again once you're satisfied with your theme because the editing engine loads several
+ extra files into the browser. Therefore the page loading speed is reduced.
+</p>
<h4>
Some basic information:
</h4>
<p>
- You must not write hooks as comma separated lists of elements like
+ If you want to hand code styles you must not write hooks as comma separated lists of elements like
<pre>
td#middle-column div.bt,
div#middle-column div.bt {
...
}
</pre>
in Chameleon themes because the Chameleon engine can't handle these comma lists.
- Please write two seperate statements instead.
+ Please write two separate statements instead.
<pre>
td#middle-column div.bt {
...
@@ -27,6 +39,6 @@
</p>
<p>
- A Moodle Theme from <strong>Urs Hunkler, <a href="http://www.unodo.de" target="_blank">unodo</a>
- and Andrew Walker, <a href="http://www.altoncollege.ac.uk/" title="External link">Alton College</a></strong>.
+ A Moodle Theme from <strong>Urs Hunkler, <a href="http://www.unodo.de">unodo</a>
+ and Andrew Walker, <a href="http://www.altoncollege.ac.uk/">Alton College</a></strong>.
</p>
@@ -127,10 +127,9 @@
$THEME->chameleonenabled = false;
-/// By setting this to false it disables editing of the stylsheets
-/// this saves the overhead of loading chameleon on each page
-/// viewed by a user who can edit pages. it is recommended to
-/// set this to false once you're satisfied with your theme.
+/// By setting this to true it enables editing of the stylsheets.
+/// It is recommended to set this to false again once you're
+/// satisfied with your theme.
$THEME->chameleonteachereditenabled = true;
@@ -15,6 +15,19 @@ div#page {
div.clearer {
clear: both;
}
+h1 {
+ font-size: 1.7em;
+}
+
+h2 {
+ font-size: 1.4em;
+}
+h3 {
+ font-size: 1.1em;
+}
+h4 {
+ font-size: 1.0em;
+}
a:link {
color: #116699;
}
@@ -52,13 +65,14 @@ h1.headermain {
h2.headingblock {
border-style: none;
}
-.loginbox {
+div.loginbox {
background-color: #EEEEEE;
border-width: 1px;
border-style: solid;
border-color: #FFFFFF #DDDDDD #DDDDDD #FFFFFF;
}
-.loginbox.twocolumns .loginpanel {
+div.loginbox.twocolumns { margin: 15px auto; width: 90%;}
+div.loginbox.twocolumns div.loginpanel {
border-right-color: #DDDDDD;
}
div.noticebox {

0 comments on commit 2dc2010

Please sign in to comment.