Building on Urs Hunkler's work (see developer wiki for copious detail) and ideas from several of you (David Scotson!), here's a quick summary of what's happening:
- Every page in Moodle now has a unique CSS id based on the script path (eg mod-forum-discuss), and scripts within each directory have a specific class (eg mod-forum).
- The 'standard' theme is being reworked by Urs separating all the files into fonts, colors, layout and mozilla extensions. I've turned it a fairly plain white theme (reminds me of iPods ). This is the new default for new installations (bye Moodle orange!)
- This theme is now ALWAYS used (it's called by print_header now), even when you have a custom theme. All non-standard themes can override any styles they want to re-define (this is analagous to how language packs work). This makes upgrades much easier, since in many cases overrides won't be necessary. Even custom themes for older versions will probably work OK if you don't mind a bit of post-modernism (as Urs called it ).
- The $THEME variables defined in config.php are obsolete - I'm going through ripping them out - help welcome!
- Inline styles are being removed.
- Tables are being simplified where possible.
- FONT tags are getting removed where they get in the way.
If you're testing or working with Moodle 1.5 please switch to the "standard" theme and help us identify troublespots where things look funny, or where we need more "hooks" to access certain objects in the page with CSS. Anything bright green is caused by old $THEME variables ... I will have just not got there yet.
Some other theme surprises are coming...