Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cd670dfa

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID cd670dfafdb3560614634765e2a377946ff1809b
  • Vorgänger ff33b093

Erweiterung und Optimierung less und css fuer Design 4.0

Unterschiede anzeigen:

css/less/READ_ME.md
11 11
First set the cursor of your terminal to <code>/css/less/</code> (<code>cd /css/less</code>)<br>
12 12
Use following command: <code>lessc style.less ../style.css</code><br>
13 13
For minifiying the output css:  <code>lessc -x style.less ../style.css</code><br>
14
Then a new <code>/css/style.css</code> is created except when errors occurs.
14
Then a new <code>/css/style.css</code> is created except if errors occur.
15 15

  
16 16
## Developing kivitendo CSS (not customizing)
17 17
Read style.less.<br>
18
This is the comand center for the whole less stuff.<br>
18
This is the control center for the whole less stuff.<br>
19 19
Variables can be set or changed in variables.less.<br>
20 20
Variables are efficacious in the other less files.
21 21

  
......
23 23
There are several overriding LESS files. Some of the files are for
24 24
customizing the original kivitendo LESS stuff.
25 25

  
26
 * <b>jquery-ui-overrides.less</b> (overrides original jquery css)
26
 * <b>jquery-ui-overrides.less</b> (overrides original jquery css in jquery.less)
27 27
 * <b>main-overrides</b> (overrides a lot of kivitendo less/css stuff)
28 28
 * <b>custom-variables.less</b> (overrides variables in variable.less)
29 29
 * <b>custom.less</b> (overrides all the original kivitendo LESS stuff)
......
47 47
Therefore it is recommended to edit only these two files:
48 48

  
49 49
 * <b>custom-variables.less</b> (overrides variables in variable.less)
50
 * <b>custom.less</b> (overrides all the original kivitendo LESS stuff)
50
 * <b>custom.less</b> (overrides in the end all the original kivitendo LESS stuff)
51 51

  
52 52
These files can be empty if you do not want to customize the kivitendo CSS
53 53
stuff. The original custom files contains only comments and deactivated example

Auch abrufbar als: Unified diff