I'm working on a theme for 2.0 but I've run into a (actually 3) snag(s) with mod_quiz.
1) #path-mod-quiz-edit has the following classes: .path-admin .side-pre-only, the problem is that it doesn't load any blocks into region-pre, so the whole theme looks 'pushed' the width of region-pre. If I manually change .side-pre-only to .content-only it looks a lot better - but there's no way to make this permanent
2) /mod/quiz/styles.css has a lot (a LOT) of CSS that violates what's said in Moodle Docs - Developement: Themes 2.0
This file should only contain the required CSS rules for the module and should not add anything to the look of the plugin such as colours, font sizes, or margins other than those that are truly required.
I've been able to work around this by adding mod=>quiz to my plugins_exclude_sheets array in my config file, then copying the styles.css to my /styles directory, editing it and adding it to my THEME->sheets array. But that's a lot of work.
3) This is the big one, /mod/quiz/view.php has several references to
echo $OUTPUT->footer();
the problem is that this is somehow breaking my layout file & styles. The basic layout on every page looks like this:
page
page-header
page-content
page-footer
-page
but on the quiz page it looks like this:
page
page-header
page-content
region-main-box
page-footer
-page-content
-page
you can see that page-footer gets nested inside of page-content for some reason.
--------
So here's my question - how do other themes avoid this issue? Is it a bug? Is there another layout that I need to add into my config for quiz?
Admin index (How it should look):
Quiz Edit: (How it does look)