View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025632 | mantisbt | ui | public | 2019-03-21 17:10 | 2019-04-05 17:14 |
Reporter | jingshaochen | Assigned To | dregad | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Summary | 0025632: Status color boxes should not have background css set | ||||
Description | Bug status square has status_config.php set its background-color. This somehow added a pixel extra to the sides of the fontawesome icon square and makes it not smooth. visible to eye when users use a strong color. See attached screen capture for with and without background color. I will suggest to remove the background-color style. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
I can confirm the behavior, but fixing it is not as simple as removing the background color per your suggestion. The problem is that these classes are not only used for the status boxes (i.e. to paint the fontawesome icon), but also in various places where changing the background color is the intended behavior (e.g. bug_update_page, and the deprecated sponsorship pages). They could also be referenced by 3rd party plugins. |
|
PR https://github.com/mantisbt/mantisbt/pull/1484 @jingshaochen please test and let me know your feedback. |
|
As a user, I feel having to define fg and bg colors in two config variables is confusing. Where is the bg color used and do we really need it? If it is used in bug_update_page, can we not use the bg color? I think the reason for the color is to give a user visual distinguish when multiple items are put together. In update page, there is only one status at display. The color's purpose is not served. |
|
Another suggestion is to use the same fg color square int the bug update page. Provide the same visual as other views is much easier for a user to recognize. |
|