X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=css%2FREADME.stylesheets;h=5478cea71b0d72dd45a535069a10b62603e6e978;hb=bfa674c9d4edc551afa6e27aac6f684a7b8cb656;hp=388672ac038f334089028693673d4c05d9e2ae3c;hpb=390183ffd8019550ce7626a533f3f2ce5c3bc3ea;p=kivitendo-erp.git diff --git a/css/README.stylesheets b/css/README.stylesheets index 388672ac0..5478cea71 100644 --- a/css/README.stylesheets +++ b/css/README.stylesheets @@ -1,16 +1,33 @@ -2012-03-02 - Stylesheet normalization +Some notes about stylesheets: -After this, the stylesheets follow these conventions: +* NOT every directory in css/ is considered a style to be chosen. The available + stylesheets are hardcoded in at least 3 places: + - SL/Auth.pm:read_user + - SL/Controller/Admin.pm:init_stylesheets + - bin/mozilla/am.pl:config + yes it sucks. change it, if you like. -* Every directory in css/ is considered a style to be chosen. -* lx-office-erp is used as the fallback style if no style was found or the - style chosen was invalid. -* Missing stylesheets for the other styles have been - linked from lx-office-erp, so that they will used like before. -* If you edit a file, make sure it's not a symlink. -* The previous named stylesheets are now main.css in their respective directories. -* menuv3 and menuv4 are now distict so that it's possible to include both - without overriding each other. -* All relative image links needed to get bumped an additional ../ -* If you add another style, be sure to test tabs, calendars, all menus, - autocompletion, charts, and multiselect. +* If a stylesheet is requests from controller code, it is searched in this order: + - css// + - css/ + - + + so common libraries can be put higher here, to be included by any stylesheet + +* 'kivitendo' is used as the fallback style if no style was found or the style + chosen was invalid. + +* Pay attention to the position of relative image urls. Most should not be + included in css anyway but should use the generated icon maps. For the rest, + a couple of ../ may be needed to get the right path. + +* If you edit another styles, these are things that are known to get broken. + Be sure to test them thoroughly: + - tabs + - calendars + - all menus + - autocompletion (parts/customers) + - charts of accounts + - multiselect + - ckeeditor + - jquery-ui widgets (i hate those things)