Your Moodle version

Themes: Decaf

Maintained by Picture of Paul Nicholls Paul Nicholls
A clean, simple theme which adds an "Awesomebar" at the top of the page to provide quick, easy navigation.

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.




Picture of Paul Nicholls
Paul Nicholls (Lead maintainer): Developer
Lei Zhang
Lei Zhang: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Clarence Prudhoe
    Tue, Nov 11, 2014, 5:22 AM
    Alan, I would also like to change the padding in the boxes that outline the course listing of courses the student is enrolled in. The boxes are located in /moodle/my/ and display the Course Overview. The size of the boxes limits the number of courses that are visible without scrolling down.
    Do you have any idea which CSS entry would change the box padding?

  • Picture of Alan Whittamore
    Tue, Nov 11, 2014, 7:15 PM
    Hi Clarence,
    You can try this:

    .block_course_overview .coursebox {padding:0; margin:0}

    (don't forget to 'purge all caches' as css gets cached).
    BTW the browsers I use let me right-click on any element on a page and choose 'Inspect element' in a dropdown menu. That shows you all the good stuff (HTML and CSS) smile
    I'd recommend Firefox with the developer extensions.
  • Just wondering . . .
    Wed, Nov 26, 2014, 6:53 AM
    Just curious.
    Has anyone got suggestions for the best size of a banner logo, and any code for background colour and a fade option?
    Has anyone tinkered with the style elements like space between things, width of columns etc?


  • Picture of Alan Whittamore
    Wed, Dec 3, 2014, 7:14 PM
    For banner logos I think its definitely a case of 'beauty is in the eye of the beholder'!
    Talking about spacing and column widths you'll likely be changing the 'gridGutterWidth' etc in the bootstrapbase variables.less and recompiling the css. Too much of a chore for me! I'll take what's given smile
    Hope that helps,
  • محمد علی اکبری
    Sat, Jan 31, 2015, 2:57 PM
    Is this theme support RTL languages?
  • Picture of Alan Whittamore
    Mon, Feb 16, 2015, 6:02 PM
    @Mohammad Ali Akbari
    Visit the forum post below:

    Hope this is helpful.
  • Just wondering . . .
    Mon, Mar 16, 2015, 1:34 PM
    Just in case anyone is interested: a theme wioth Awesome Bar as an option:

  • Just wondering . . .
    Thu, Mar 26, 2015, 12:51 PM
    Does anyone use Videoeasy Filter and Decaf?


    I'm getting poor results, the filter works fine in Clean.

    Screen snaps here:

  • Just wondering . . .
    Fri, Mar 27, 2015, 6:10 AM
    Further comment: Videoeasy give a lot more power to deployment of video. It does work with Decaf in forum, but not in labels.
    Justin has said "The other thing is that labels are evil. I don't know why, but the way the filters are applied in labels is somehow different to other parts of Moodle. In particular the order of filter application at site level does not seem to be the same at label level. So try putting viewing a video in a forum post and see if that works."

    To focus on what I am really trying to achieve: nice video deployment in Moodle 2.8+ with Decaf.
  • Just wondering . . .
    Tue, Apr 28, 2015, 5:11 AM
    Decaf and Videoeasy, a month later.
    A little bit of clarity.
    Video easy works with Clean: (Topic 1
    Fails with Decaf:

    I've reported this on Git.

    Probably the most difficult problem I routinely face: two non-core plugins that do not play nicely together.

  • Just wondering . . .
    Tue, Apr 28, 2015, 5:14 AM
    PS. This just arrived in my mail from a friend who I asked to help.
    "The flow player CSS is enormous. There’s over 30 classes I can see that need repair scattered across dozens of elements. I’d need to do a side by side comparison of Decaf vs Clean.
    Basically, this isn’t a quick fix, probably several hours and unfortunately, I really don’t have the time to spare for it 
    Sorry. This is a job for the developer"
    He may or may not be right. Sometimes these big glitches result from one line of code.

    Cheers, Derek
  • Picture of Ron Coller
    Thu, Apr 30, 2015, 10:48 PM
    We have just upgraded to the Moodle 2.7 version previously on 2.5 using the Decaf theme. One of our instructors was complaining about the docking feature is not available any longer. I have researched and researched and cannot find anyone that has stated a concern over the ability to dock a block. Am I missing something?

    Any help on the matter would be greatly appreciated.

  • Picture of Lori Bakken
    Thu, Apr 30, 2015, 11:37 PM

    Just add:
    $THEME->enable_dock = true;

    Into the config.php file in the decaf folder.

  • Just wondering . . .
    Wed, May 6, 2015, 9:48 AM
    Following up on my post about Videoeasy and Decaf.
    Still faulting.

    I've updated the Issue report on GIT.

  • Picture of Ron Coller
    Fri, May 8, 2015, 8:16 PM

    Thank you so much, that worked.

1 2 3 4 5 6 7 8
Please login to post comments