Add custom CSS for sustainability team badge.

Fixes #258.
This commit is contained in:
Paul Kevan 2024-06-26 11:55:51 +01:00
parent 176cea1a3d
commit c54b8e1abb
2 changed files with 9 additions and 1 deletions

View file

@ -213,3 +213,11 @@
.badge-test-team:before {
color: rgb(136, 79, 174);
}
.badge-sustainability-team {
background: rgba(23, 127, 106, 0.25);
box-shadow: 0 0 0 4px rgb(23, 127, 106);
}
.badge-sustainability-team:before {
color: rgb(23, 127, 106);
}

View file

@ -298,7 +298,7 @@ function get_badge_classes( $team ) {
break;
case 'sustainability team':
$classes = array( 'badge-meta', 'dashicons-admin-site-alt3' );
$classes = array( 'badge-sustainability-team', 'dashicons-admin-site-alt3' );
break;
case 'test team':