Skip to content

Remove (some) important flags

brienne requested to merge brienne/radiobuttons:not_important into master

Overview

There are many !important flags within radiobuttons.css that were necessary when using the Shoreditch CiviCRM theme, however, with the advent of the Island theme, which is a forked version of Shoreditch, these !important flags are no longer needed to provide the same styling.

Before

Prior to the Island extension, the !important flags were needed for the desired default styling of this extension, however, the use of these flags made it nearly impossible to customize this styling in another extension if desired by a client/user.

After

With the removal of !important flags, these default styles are still applied, however, developers can also more easily change the styling with more specific selectors if the client desires.

Merge request reports