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

Amend alert banner styles for new markup #182

Merged
merged 3 commits into from
May 5, 2021

Conversation

andybroomfield
Copy link
Contributor

@andybroomfield andybroomfield commented May 5, 2021

Fix #181
Required for alert banner 1.0.0 release following localgovdrupal/localgov_alert_banner#123

  • Change the localgov_alert_banner class to localgov-alert-banner
  • Amend the alert sass to account for alert banner markup changes

Not sure if this is actully used, however the sass looked like the old style
alerts, so I've tried to preserve that and add the new classes to alert banner
can be customised from the theme.

This is to account for the changes in the 1.0.0 release
of localgov_alert_banner
Add annoucement colour (vividian) as variable and into sass
Seperate localgov-alert-banner modifers from general alert-bar class
Fix the dismiss class to new class localgov-aler-banner__close
Copy link
Collaborator

@cjstevens78 cjstevens78 left a comment

Choose a reason for hiding this comment

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

Looks good to me - i've raised a ticket our end to re-work the croydon theme version of alert.scss.

@andybroomfield
Copy link
Contributor Author

@stephen-cox Why do the tests run Test LocalGov Drupal Alert Banner? Is that just mislabbeling?

@stephen-cox
Copy link
Member

@stephen-cox Why do the tests run Test LocalGov Drupal Alert Banner? Is that just mislabbeling?

Copy and paste error 🙄 Will fix

@andybroomfield
Copy link
Contributor Author

OK, I'm going to merge this one for now.

@andybroomfield andybroomfield merged commit ba92417 into master May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alter CSS to match new markup in Alert Banner 1.0.0
3 participants