civicrm / org.civicrm.shoreditch

Other
44 stars 59 forks source link

CPS-378: Fix Case Status labels #503

Closed deb1990 closed 3 years ago

deb1990 commented 3 years ago

Overview

When the Case Status had a Dark Colored background in the Option Settings, the Case Status label were shown as white text on white background, this PR fixes that problem.

Before

2021-03-30 at 3 51 PM

After

2021-03-30 at 3 51 PM

Technical Details

The Background Color of Case Status label should ideally be same as the color set in Option Settings. But in scss/civicrm/common/_tables.scss, the Background was forced to Color White using !important, and that ignored the inline background color styles. Now !important is removed, and individual styles are tables to tables where this White Background needs to be forced.

Comments

Backstop Tests are done in https://github.com/compucorp/backstopjs-config/actions/runs/700673399