mirror of
https://github.com/moodle/moodle.git
synced 2025-06-01 21:55:12 +02:00
MDL-39278 Bootstrap - Change generated.css to moodle.css
The filename generated.css comes from moodle.less - so this is more obvious.
This commit is contained in:
parent
44ed2fe740
commit
36f33e3c2c
@ -23,8 +23,8 @@ accessibility and Search Engine Optimization (SEO).
|
||||
|
||||
*less CSS
|
||||
Less CSS is a Object Oriented way of writing CSS code. All Less CSS files
|
||||
for this theme are stored in the /less folder. A developer can run a command
|
||||
line script to generate the single CSS file called /style/generated.css. For more
|
||||
for this theme are stored in the /less folder. A developer can use recess
|
||||
to generate the CSS files in the /style folder. For more
|
||||
information read /less/README
|
||||
|
||||
JavaScript Libraries
|
||||
|
@ -33,7 +33,7 @@ $THEME->doctype = 'html5';
|
||||
$THEME->yuicssmodules = array();
|
||||
$THEME->name = 'bootstrap';
|
||||
$THEME->parents = array('');
|
||||
$THEME->sheets = array('generated');
|
||||
$THEME->sheets = array('moodle');
|
||||
$THEME->supportscssoptimisation = false;
|
||||
|
||||
$THEME->editor_sheets = array('editor');
|
||||
|
@ -2,7 +2,7 @@ If you want to make changes to the .css generated from these .less files then yo
|
||||
need to install recess (https://github.com/twitter/recess) to compile the .less files,
|
||||
then run these commands in the bootstrap/less/ folder:
|
||||
|
||||
recess --compile --compress moodle.less > ../style/generated.css
|
||||
recess --compile --compress moodle.less > ../style/moodle.css
|
||||
|
||||
You can add --watch to make sure it updates every time you make a change.
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
Analyzing the following files: style/generated.css
|
||||
|
||||
Error reading file: style/generated.css
|
||||
|
@ -10,7 +10,8 @@ https://github.com/twitter/bootstrap.git
|
||||
To update to the latest release of twitter bootstrap:
|
||||
* remove all files from less/bootstrap,
|
||||
* download the new less files and store them in less/bootstrap
|
||||
* regenerate files using recess: recess --compile --compress moodle.less > ../style/generated.css **
|
||||
* regenerate files using recess: recess --compile --compress moodle.less > ../style/moodle.css **
|
||||
* regenerate files using recess: recess --compile --compress editor.less > ../style/editor.css **
|
||||
* update lib/thirdpartylibs.xml
|
||||
|
||||
** If you want to make changes to the .css generated from these .less files then you
|
||||
|
@ -1,3 +1,3 @@
|
||||
The generated.css file is created from .less files via the method described in the readme
|
||||
in the /less/ folder. It's unwise to directly the edit the generated.css as your changes
|
||||
These css files are created from .less files via the method described in the readme
|
||||
in the /theme/bootstrap/less/ folder. It's unwise to directly the edit the css files as your changes
|
||||
may be overwritten.
|
||||
|
Loading…
x
Reference in New Issue
Block a user