Here is the link to the Theme reference page that I started to create. Please help to contribute whatever you can.
http://docs.moodle.org/en/Theme_reference
Melissa
Here is the link to the Theme reference page that I started to create. Please help to contribute whatever you can.
http://docs.moodle.org/en/Theme_reference
Melissa
Melissa, great that you started a Moodle CSS reference page. The information on that page will help a lot when anybody starts to work with Moodle Themes.
You mention in the introduction that you describe Moodle 1.5.4 pages. Most people will start working with 1.7 or perhaps 1.6. It might be better to document the actual version and describe the differences from that point of view. What do you think?
Urs
Unfortunately, I am working with 1.54, because I am not able to access a mysql version 4.1.6. I have no idea what the differences would be for later versions. I figured that as more and more items were added, at some point in the future, the pages would be broken up into different versions or there would be some logical direction on what CSS names, classess, and ID worked with each version.
I know that with 2.0 (or maybe even 1.8) there is a lot of cleanup being done with the class and ID names to help make them accessible for speak CSS.
I don't agree that most people are starting with 1.6 or higher, because of the MySQL issue. I am not, and I know from reading the boards that others are in the same boat. I made the suggestion to make the database backward compatible with lower versions of mysql, but it was shot down -- very loudly. I was told that new features from the current version of mysql are needed. I didn't ask what exactly these features were. They have their minds made up and that is that.
That is why my documentation is for 1.54.
Melissa
I do use Dan's tip of tabbing backward or forward to get to the CSS toolbar at the top of the browser. Another useful way of tracking the exact CSS class is to use - in Web Developer - Information -> Display Element Information which will display all the information about the element you click on, including children and ancestors.
Let me stress again that in FireFox, the Web Developer plugin is an extraordinarily powerful tool is is really all you need to understand CSS classes in Moodle themes.
Joseph