Files
moodle/theme/bootstrapbase/less
Andrew Nicols e9ca5e144c MDL-42392 Blocks: Do not hide blocks if JS is disabled
With JS disabled, it is not possible to change the block visibility
user preference and therefore not possible to show content which was
hidden.

Since the block hiding functionality is a nicety, and we have no controls
to show and hide the blocks when JS is disabled, we should instead show the
block content regardless of the user preference.
2013-12-28 08:42:02 +08:00
..

If you want to make changes to the .css generated from these .less files then you
need to use a LESS Compiler. Details on specific compilers and how to install them
can be found at http://docs.moodle.org/dev/LESS

At present, recess is the official tool for developers to compile LESS in to CSS, as
other tools give different results in the generated CSS.

Once recess has been installed you can compile and compress the LESS in to CSS using
the following commands from the "theme/bootstrapbase/less" directory:

For the main Moodle styles:

recess --compile --compress moodle.less > ../style/moodle.css

And for the subset of styles of interest to the TinyMCE editor:

recess --compile --compress editor.less >  ../style/editor.css

You can add --watch to make sure it updates every time you make a change.

If the compilation is failing and you're not getting any useful error message, try using lessc instead i.e.:

lessc moodle.less

This is the same tool that's getting called by recess, but the errors seems better if you go direct.

Additional information about the Moodle bootstrap base theme can be found at
http://docs.moodle.org/dev/Bootstrap