…
|
||
---|---|---|
.. | ||
form | ||
images | ||
layout | ||
Calendar.css | ||
Calendar.less | ||
Calendar_rtl.css | ||
Calendar_rtl.less | ||
claro.css | ||
claro_rtl.css | ||
ColorPalette.css | ||
ColorPalette.less | ||
Common.css | ||
Common.less | ||
compile.js | ||
Dialog.css | ||
Dialog.less | ||
Dialog_rtl.css | ||
Dialog_rtl.less | ||
document.css | ||
document.less | ||
Editor.css | ||
Editor.less | ||
Editor_rtl.css | ||
Editor_rtl.less | ||
InlineEditBox.css | ||
InlineEditBox.less | ||
Menu.css | ||
Menu.less | ||
Menu_rtl.css | ||
Menu_rtl.less | ||
ProgressBar.css | ||
ProgressBar.less | ||
README | ||
TimePicker.css | ||
TimePicker.less | ||
TimePicker_rtl.css | ||
TimePicker_rtl.less | ||
TitlePane.css | ||
TitlePane.less | ||
TitlePane_rtl.css | ||
TitlePane_rtl.less | ||
Toolbar.css | ||
Toolbar.less | ||
Toolbar_rtl.css | ||
Toolbar_rtl.less | ||
Tree.css | ||
Tree.less | ||
variables.less |
These are "less" files that compile into the CSS of claro. --------- Installing and running on Windows: 1. Install node: a) Go to https://github.com/ajaxorg/node-builds, press download button, and select "download zip" b) unzip the file into C:\ 2. Install less: a) Go to https://github.com/cloudhead/less.js/archives/master, press download button, and select "download zip" b) unzip the file into C:\ 2. Add node and lessc environment variables: a) open Control Panel --> click System icon --> select Advanced tab --> click Environment variables button b) press "edit" on path c) depending on what directory you unzipped to and the exact filenames, you will add something like ;C:\ajaxorg-node-builds-0fcee7d\win32;C:\cloudhead-less.js-7fb09f\bin d) add new environment variable NODE_PATH with value like this (depending on exact download name): C:\cloudhead-less.js-7fb09f\lib 4. To compile all the files: C:\> cd C:\myworkspace\dijit\themes\claro C:\> node compile.js -------- To install/run less version 2 on mac: 1. Install Node.js Download a built copy from https://github.com/ajaxorg/node-builds. Alternately, o to http://nodejs.org/#download (./configure, make, make install). 2. Download less from https://github.com/cloudhead/less.js/archives/master 3. Edit .bash_profile etc. to add node to your path, and lessc to NODE_PATH: export PATH=$PATH:/opt/less/bin export NODE_PATH=$NODE_PATH:/opt/less/lib To compile all the files: $ cd dijit/themes/claro $ node compile.js ------- Alternately, you can install less version 1, but I'd rather not use it for checked in files since it breaks a part a lot of rules into multiple rules, causing spurious diffs. To install on a mac: $ sudo gem install less On Windows or Linux, make sure you have ruby and ruby-gems installed first. If you need help installing ruby please check out ruby-lang.org for more details. ----- See http://lesscss.org/ and https://github.com/cloudhead/less.js/ for more information.