mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-18 17:33:43 +03:00
Theme: Add temporary badge for Photos to fill empty icon.
There isn't a badge for the Photos team yet -- see https://meta.trac.wordpress.org/ticket/5981 -- so for now I just used the `camera` dashicon that Luke Carbis suggested in https://meta.trac.wordpress.org/ticket/5988. We can update it whenever the final badge icon/colors are decided. Fixes #171
This commit is contained in:
parent
5d8b056798
commit
d86c93c67e
|
@ -131,6 +131,14 @@
|
|||
color: rgb(103, 74, 255);
|
||||
}
|
||||
|
||||
.badge-photos {
|
||||
background: rgba(103, 74, 255, 0.25);
|
||||
box-shadow: 0 0 0 4px rgb(103, 74, 255);
|
||||
}
|
||||
.badge-photos:before {
|
||||
color: rgb(103, 74, 255);
|
||||
}
|
||||
|
||||
.badge-training{
|
||||
background: rgba(233, 192, 45, 0.25);
|
||||
box-shadow: 0 0 0 4px rgb(233, 192, 45);
|
||||
|
|
|
@ -287,6 +287,10 @@ function get_badge_classes( $team ) {
|
|||
$classes = array( 'badge-openverse', 'dashicons-search' );
|
||||
break;
|
||||
|
||||
case 'photos team':
|
||||
$classes = array( 'badge-photos', 'dashicons-camera' );
|
||||
break;
|
||||
|
||||
case 'polyglots team':
|
||||
$classes = array( 'badge-translation-editor', 'dashicons-translation' );
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue