alfg/mumble-widget

Support for icons?

alfg opened this issue · 3 comments

alfg commented

From an email:

I was wondering if there is any way to add icons (muted deafened etc.) to the display?

Maybe adding a sprite or lightweight icon library to add icons to the widget.

It may looks better with icons instead of a dash before a nickname.

alfg commented

I've exposed some css classes that are mapped to the user data from the CVP for when the property is true.

# Property/CSS Class
mute: .mute-on
deaf: .deaf-on
selfDeaf: .self-deaf-on
selfMute: .self-mute-on
prioritySpeaker: .priority-speaker-on
recording: .recording-on

Here's an example:
http://jsfiddle.net/s0kszLq9/2/

These aren't live yet, so using the following resource:
https://s3.amazonaws.com/guildbit-public/testing/mumble-widget/mumble-widget.cdn.min.js

alfg commented

CDN updated and published.

#8