Rev 451 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
387 | daniel-mar | 1 | |
2 | About the folder "userdata/styles" |
||
3 | ---------------------------------- |
||
4 | |||
5 | In this folder, you can place an alternative version of oidplus_base.css and setup_base.css. |
||
6 | |||
7 | This folder can contain following files: |
||
632 | daniel-mar | 8 | |
9 | - oidplus_base.css : This file REPLACES the oidplus_base.css file of the currently active design. |
||
10 | Please see a WARNING below. |
||
11 | *DEPRECATED*: Please use a design plugin (located in plugins/design/ or |
||
12 | plugins/_thirdParty/"vendorname"/design/) |
||
13 | in order to define individual designs for your system. |
||
14 | Design plugins also allow you to include graphics in the plugin |
||
15 | directory itself (so you don't need "userdata_pub"). |
||
387 | daniel-mar | 16 | |
17 | - oidplus_add.css : This file is added after oidplus_base.css |
||
18 | If you just want to override some styles, then you could write your |
||
19 | changes in oidplus_add.css and give them priority using the |
||
20 | "!important" statement. |
||
451 | daniel-mar | 21 | Example: If you want to have your own logo, then you might want to |
632 | daniel-mar | 22 | create an oidplus_add.css file which overrides "#system_title_logo" |
23 | using the "!important" statement. The logo is put into |
||
24 | userdata_pub. |
||
25 | You shall not edit "logo.png", because things might |
||
26 | change during software updates. |
||
27 | |||
28 | - setup_base.css : This file REPLACES the setup/setup_base.css file. |
||
387 | daniel-mar | 29 | Please see a WARNING below. |
30 | |||
31 | - setup_add.css : Like oidplus_add.css , this file is placed after setup_base.css |
||
32 | and allows you to do minor tweaks to the design. |
||
33 | |||
34 | |||
35 | !! ATTENTION !! |
||
36 | |||
37 | (1) You need to make sure that your changes are in-sync with the current versions |
||
38 | of oidplus_base.css and setup_base.css! |
||
39 | |||
40 | (2) Note that the userdata/ directory cannot be accessed using the browser, |
||
41 | so if you need to reference graphics, please put them in the folder "userdata_pub". |
||
42 | (The CSS data is processed in oidplus.min.css.php and setup/setup.min.css.php instead.) |