CSS Classes
Each chat bubble in Chatter has different classes and variables that can be applied. These are dependant on the type of message and type of user.
Message Type
You can test these with chat commands.
bitsannouncementfirst
The first event it triggered on a users first chat in the stream.
User Type
You can test all of these (except reward IDs) with chat commands.
submodvippartner- username
- custom-reward-id
Each username will be added as a class, allowing you to customise the look for specific chatters.
The custom reward ID is for channel point redeems. You can easily find the ID for a point redeem with this tool from Instafluff. Make sure to put your own channel name in the URL.
Animation
Use these to overwrite the in-built Chatter animations. I would recommend setting it to None if you’re planning to do that, to reduce any conflicts and not needing to slap !important all over the place.
Pop_InSlide_LeftSlide_RightFade_InGrowNone
Alignment
Horizontal Alignment of the bubble. These are applied individually, so you could apply different alignments to different message types.
flex-startcenterflex-end
Applied Classes
These classes are applied if the relevant settings are selected in the app.
dropShadowfor bubble drop shadowbubbleBannerfor banner mode
CSS Variables
--animTimein seconds how fast animations play--animEasethe easing function for animations--userColthe user colour for this message--shadowColthe drop shadow colour, if applicable--animHeightneeded for animations, would not overwrite.