Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPS-378: Fix Case Status labels #503

Merged
merged 2 commits into from
Apr 14, 2021
Merged

Conversation

deb1990
Copy link
Contributor

@deb1990 deb1990 commented Mar 30, 2021

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

@deb1990 deb1990 force-pushed the CPS-378-case-status-labels-fix branch from 2923420 to d615ce0 Compare March 30, 2021 07:58
@deb1990 deb1990 changed the title CPS-378: Fix case status labels CPS-378: Fix Case Status labels Mar 30, 2021
@deb1990 deb1990 added the bug label Mar 30, 2021
3. _What the override/patch consists of_

## Comments
_Anything else you would like the reviewer to note_
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not add the backstop block here as well?

@deb1990 deb1990 merged commit af4508a into master Apr 14, 2021
@deb1990 deb1990 deleted the CPS-378-case-status-labels-fix branch April 30, 2021 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants