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 and supported CSS properties are listed below. Note that all custom classes must be nested within the .sr-bb.sr-br-markets
selector class.
This ensures that the custom styles only apply to that widget and not to other elements on the page.
Class | Customization options |
---|---|
srct-br-container | background-color , font-family , border-radius , border-style , border-width , border-color , padding |
srct-br-header | background-color , color , border-radius , font-style border-style , border-width , border-color , padding |
srct-br-eventinfo__icon | color |
srct-br-scoreboard__teams | font-size , color |
srct-br-eventinfo | font-size , color |
srct-br-eventinfo__status | font-size , color |
srct-br-eventinfo__time | font-size , color |
srct-br-content | background-color , border-style , border-width , border-color , padding |
srct-br-market__name | font-size , color , background-color , border-radius , border-style , border-width , border-color , padding |
srct-br-outcomes | background-color , border-radius , border-style , border-width , border-color , padding |
srct-br-outcome | background-color , color , border-radius , border-style , border-width , border-color , padding |
srct-br-outcome__name | font-size , color |
srct-br-outcome__value | font-size , color |