The Bet Finder widget comes with pre-existing styling but can be customized by applying custom CSS properties to its different HTML elements. The widget's custom class selectors are listed below, grouped by component.
warning
All custom classes must be nested within the .sr-bb.sr-bet-finder selector class. This ensures that the custom styles only apply to that widget and not to other elements on the page.
The four risk bands (low, mixed, risky, insane) take their default colors from your client theme. To use different colors, override them with the risk band classes below.
Each band has its own class: srct-bf-band--low, srct-bf-band--mixed, srct-bf-band--risky, and srct-bf-band--insane. The class for the band that matches the current risk is added to the elements below, so one rule per band recolors all of them at once.
Element
Where the band color shows
Customization options
Mascot (srct-bf-mascot)
Face color
color
Risk level word (srct-bf-risk__level)
Text color
color
Risk dial (filled part, srct-bf-risk__dial-fill)
Fill color follows the band color
color
Target payout card (srct-bf-target-payout)
Card background and border. The card text keeps its own color.
background-color, border-color
While a search is running or after an error, the mascot is gray and does not use the band color.
Class
Band
Risk values
srct-bf-band--low
Low
1–29
srct-bf-band--mixed
Mixed
30–59
srct-bf-band--risky
Risky
60–85
srct-bf-band--insane
Insane
86–100
Set both the color and the card's background-color and border-color for a band, so the mascot, level word, dial, and target payout card stay consistent:
The band classes also apply to the mascot, level word, and dial. background-color and border-color have no visible effect there, because the widget keeps those elements transparent.