Moodle plugins directory: Decaf | Moodle.org
Decaf
Themes ::: theme_decaf
Maintained by Paul Nicholls
A clean, simple theme which adds an "Awesomebar" at the top of the page to provide quick, easy navigation.
Latest release:
213 sites
29 downloads
17 fans
Current versions available: 5
Decaf is a three-column, fluid-width theme for Moodle that was created by Lei Zhang and Paul Nicholls. It improves usability by fixing an "Awesomebar" at the top of the screen, which provides dropdown menus containing everything in the Navigation and Settings blocks.
For developers, it also transforms the performance info into a colorful bar which floats at the bottom of the screen, which increases awareness of the performance statistics.
Useful links
Contributors
Paul Nicholls (Lead maintainer): Developer
Lei Zhang: Developer
Please login to view contributors details and/or to contact them
-Derek
in decaf/style/core.css change the line (at or near 111) from
div.moodle-dialogue-base {position:absolute;top:0;left:0;right:0;z-index:1500;}
to
div.moodle-dialogue-base {position:absolute;top:0;left:0;right:0;z-index:9000;}
That fixed the file upload issue for me.
You can also try the atto text editor instead of tinyMCE (that works).
-Alan
Great theme! Thanks for all your work.
I have a question or a request about the awesome bar behavior. I would like to have a mouse hover timer so that the awesome bar menus would not open unless the mouse was kept there for half a second or so. I find that when the mouse passes the awesome bar on the way to the browser tabs or back, the menus all pop open.
I assume that some code could be added to the javascript file for the awesome bar, but I don't know anything about javascript and couldn't figure out what the code was doing in awesomebar.js. Is this easy to mod?
http://www.iesvictoriakentmarbella.es/
and then, It expands with all the courses.
I would really appreciate any help!
Juanma
Any idea?
thanks
In http://www.iesvictoriakentmarbella.es/ all the menues seem to be custom menues that can be modified in (your_moodle)/admin/settings.php?section=themesettings
Rebecca, I'll keep that in mind when I work on the new version - the current 1.9 release is really just the minimum I could do to make it work in 2.6, for the benefit of those who have already upgraded. I hope to be able to get stuck in to working on the new (responsive) Decaf soon, so keep an eye on the Themes forum for an announcement when it's ready for testing.
mer, 11 déc 2013, 07:59 . I Installed version 2013112502 on Moodle 2.6 and Image upload is not working since the windows appears under another one . File chooser should be in front of insert an image window as you can see in this image : http://www.evernote.com/shard/s9/sh/c32bb3f2-509c-46fb-ad01-52d31bad296c/22f131cf8f707f3485e074210c54d02c
I have a 2.6+ test site set up with decaf.
Regarding the question I raised earlier in the discussion about the need to click on the admin link (an unintended consequence of this https://tracker.moodle.org/browse/MDL-41811) is proving to be quite a problem for me in doing a lot of admin and and also going in and out of courses. The rollover stays there while you are working, but if you click to go to a course it then needs another click to reload it. More of a problem than I initially thought.
Paul, I hope you are able to make a toggle for this behaviour (I'm prepared to take a loading time hit), or that some other option is possible.
Be that as it may, we will probably still upgrade and use the latest decaf. But we will probably develop a daughter theme with a few features like logo, narrower header, some adjusted spacings, new H1-H4 styles, and different link colours.
How easy is it to add in a few more settings to a theme for users to change? The Essential theme actually has several pages for the theme settings.
-Derek
I agree entirely with your comments, and Paul has already made the point that the performance hit with the 'System Administration' link only affects Admins and as you so rightly point out, you may prefer the old behaviour despite that. It should be an option in Moodle itself I believe.
Anyway, you can try my workaround as follows:
***Always show full admin settings tree (optional - may hurt performance)
***lib/navigationlib.php (~line 3397) - change if ($isadminpage) { to if (true) {
***lib/navigationlib.php (~lines 3412-3422) - comment out (block after // Print empty navigation node)
I don't know how to change this behaviour easily within decaf itself (maybe Paul will find a way).
The great power of the awesome bar is that you can always get anywhere in your system with just one click - just what you need as and Admin!
***lib/navigationlib.php (~line 3391) - change $isadminpage = $this->is_admin_tree_needed(); to $isadminpage = true;
@Martin. The activity chooser is fine for me (new 2.6.1) and I am not sure what you mean by turn the sidebar off. (Are you sure you have not docked the menu?)
I have posted here: https://moodle.org/mod/forum/discuss.php?d=252141 Minor problem with edit icons on home page wih an image.
Otherwise, with a few clicks, in and out of courses etc, Decaf with 2.6.1 is fine. Now, if I can just get the editor to appear all will be well, but I know that is no a decaf problem.
-Derek