Revision 7ee5fab8
Von Sven Schöling vor etwa 10 Jahren hinzugefügt
css/README.stylesheets | ||
---|---|---|
1 |
2012-03-02 - Stylesheet normalization
|
|
1 |
Some notes about stylesheets:
|
|
2 | 2 |
|
3 |
After this, the stylesheets follow these conventions: |
|
3 |
* NOT every directory in css/ is considered a style to be chosen. The available |
|
4 |
stylesheets are hardcoded in at least 3 places: |
|
5 |
- SL/Auth.pm:read_user |
|
6 |
- SL/Controller/Admin.pm:init_stylesheets |
|
7 |
- bin/mozilla/am.pl:config |
|
8 |
yes it sucks. change it, if you like. |
|
4 | 9 |
|
5 |
* Every directory in css/ is considered a style to be chosen. |
|
6 |
* lx-office-erp is used as the fallback style if no style was found or the |
|
7 |
style chosen was invalid. |
|
8 |
* Missing stylesheets for the other styles have been |
|
9 |
linked from lx-office-erp, so that they will used like before. |
|
10 |
* If you edit a file, make sure it's not a symlink. |
|
11 |
* The previous named stylesheets are now main.css in their respective directories. |
|
12 |
* menuv3 and menuv4 are now distict so that it's possible to include both |
|
13 |
without overriding each other. |
|
14 |
* All relative image links needed to get bumped an additional ../ |
|
15 |
* If you add another style, be sure to test tabs, calendars, all menus, |
|
16 |
autocompletion, charts, and multiselect. |
|
10 |
* If a stylesheet is requests from controller code, it is searched in this order: |
|
11 |
- css/<stylesheet_of_current_user>/<path> |
|
12 |
- css/<path> |
|
13 |
- <path> |
|
14 |
|
|
15 |
so common libraries can be put higher here, to be included by any stylesheet |
|
16 |
|
|
17 |
* 'kivitendo' is used as the fallback style if no style was found or the style |
|
18 |
chosen was invalid. |
|
19 |
|
|
20 |
* Pay attention to the position of relative image urls. Most should not be |
|
21 |
included in css anyway but should use the generated icon maps. For the rest, |
|
22 |
a couple of ../ may be needed to get the right path. |
|
23 |
|
|
24 |
* If you edit another styles, these are things that are known to get broken. |
|
25 |
Be sure to test them thoroughly: |
|
26 |
- tabs |
|
27 |
- calendars |
|
28 |
- all menus |
|
29 |
- autocompletion (parts/customers) |
|
30 |
- charts of accounts |
|
31 |
- multiselect |
|
32 |
- ckeeditor |
|
33 |
- jquery-ui widgets (i hate those things) |
Auch abrufbar als: Unified diff
Stylesheets: Aufräumaktion
- gemeinsame stylesheets aus den kivitendo/lx-office-erp Verzeichnissen
genommen
- README aktualisiert
- rp/bwa nicht mehr hartcodiert in kivitendo laden