The Player Prop Zone 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.
All custom classes must be nested within the .sr-bb.sr-player-props selector class. This ensures that the custom styles only apply to that widget and not to other elements on the page.
The main wrapper element of the Player Prop Zone widget.
| Class | Customization options |
|---|---|
srct-pp-container | background-color, border-radius, font-family |
The tabs used to switch between competing teams. Includes base and selected states, name label, and win/loss record badges.
| Class | Customization options |
|---|---|
srct-pp-team-tab | background-color, color, border-radius |
srct-pp-team-tab--selected | background-color, color |
srct-pp-team-tab__name | color |
srct-pp-team-tab__wl-win | background-color, color |
srct-pp-team-tab__wl-lose | background-color, color |
srct-pp-team-tab__wl-value | color |
The tabs displayed for selecting different betting markets.
| Class | Customization options |
|---|---|
srct-pp-market-tabs | background-color |
srct-pp-market-tab | color, border-radius |
srct-pp-market-tab--selected | background-color, color |
The visual pitch area where players are displayed.
| Class | Customization options |
|---|---|
srct-pp-pitch | background-color |
srct-pp-pitch-label | font-size, color |
Dropdown used on basketball dual-player (combined and vs) markets to choose a player pair.
| Class | Customization options |
|---|---|
srct-pp-pair-selector | background-color, color, border-radius |
srct-pp-pair-selector__item | background-color, color |
srct-pp-pair-selector__item--selected | background-color, color |
Shown on basketball combined dual-player markets: progress toward the selected line, and +/- line controls.
| Class | Customization options |
|---|---|
srct-pp-progress-card | background-color, color, border-radius |
srct-pp-progress-fill | background-color |
srct-pp-line-stepper | background-color, color, border-radius |
The interactive buttons that display betting odds. Includes base, selected, and locked states.
| Class | Customization options |
|---|---|
srct-pp-odds-button | background-color, color, border-radius |
srct-pp-odds-button--selected | background-color, color |
srct-pp-odds-button--locked | background-color, color |
srct-pp-odds-button__value | color |
The player name element displayed on the pitch or in lists.
| Class | Customization options |
|---|---|
srct-pp-player__name | color |
The toggle control used to switch between different view modes.
| Class | Customization options |
|---|---|
srct-pp-toggle | background-color, color |
srct-pp-toggle--active | background-color, color |
The detailed player page shown when a player is selected. Includes content area, name, and subtitle.
| Class | Customization options |
|---|---|
srct-pp-player-page | background-color |
srct-pp-player-page__content | background-color, border-radius |
srct-pp-player-page__name | color |
srct-pp-player-page__subtitle | color |
The card component that displays player statistics.
| Class | Customization options |
|---|---|
srct-pp-stats-card | background-color, border-radius, color |
srct-pp-stats-card__title | color |
srct-pp-stats-card__value | color |
srct-pp-stats-card__label | color |
Season average stats bubble shown on players in stats mode (rows of label + value).
| Class | Customization options |
|---|---|
srct-pp-season-stats | background-color, color, border-radius |
srct-pp-season-stats__row | background-color |
srct-pp-season-stats__label | color |
srct-pp-season-stats__value | color |
The badge element used to highlight key statistics.
| Class | Customization options |
|---|---|
srct-pp-stat-badge | background-color, color, border-radius |
The pill-shaped tab selectors used for secondary navigation within the widget.
| Class | Customization options |
|---|---|
srct-pp-pill-tab | color |
srct-pp-pill-tab--selected | background-color, color |
.sr-bb.sr-player-props .srct-pp-container {
background-color: #1a1a2e;
border-radius: 12px;
font-family: 'Your Font', sans-serif;
}
.sr-bb.sr-player-props .srct-pp-odds-button {
background-color: #16213e;
color: #e94560;
border-radius
For widget setup and API options, see Player Prop Zone.