View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020180 | mantisbt | other | public | 2015-10-07 07:34 | 2015-10-18 10:11 |
Reporter | DatLicht | Assigned To | atrol | ||
Priority | normal | Severity | tweak | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Platform | not relevant | OS | not relevant | OS Version | not relevant |
Product Version | 1.2.19 | ||||
Summary | 0020180: hard-coded styles makes custom designs really hard | ||||
Description | When trying to make custom styles/skins, this is a hard job when trying NOT to touch the PHP code. I see two major reasons for this:
Result:
Examples: These elements and attributes are not just deprecated but also make a customization of the design a hard job. Also, inline styles like style="..." are bad to customize if you don't want to bang with the 'big css hammer' (!important). The problem about this is that if you touch the PHP code, no more upgrading is possible without destroying the customization. | ||||
Steps To Reproduce | see the description | ||||
Additional Information | Better would be to do all coloring, styling, etc. thru CSS. Solution idea for i.e. the error messages:
could perfectly be replaced with
and - of course - a matching style in the css:
Even <b>, <strong>, <i>, <u>, etc. could easily be replaced with CSS styles without any function loss. | ||||
Tags | No tags attached. | ||||
I see, the last line has been filtered. I mean the B, STRONG, I and U Tags. |
|
There are a lot of changes concerning this topic in next version. [1] https://www.mantisbt.org/builds.php |
|
Wow, respect! Even if no 'native' skin support is there yet, this is a good solution. |
|
Not too hard, e.g. check this plugin that works also with version 1.2.x |
|