Data View CSS Class Reference
Theme embedded Simply360 Data Views with supported CSS variables and a class-by-class reference for lists, tables, calendars, charts, maps, drawers, and interactive states.
How Data View Styling Works
Embedded Data Views render into the host page DOM; they do not use a shadow root. Simply360 loads a small baseline stylesheet for shared controls and a Data View-specific stylesheet where needed, then applies the Data View's External CSS for Websites. External CSS saved in Data View Studio is automatically scoped to that Data View's container, so a selector such as .s360-list-item cannot affect another part of the page.
If the CSS lives in your site's own stylesheet, give the embed marker a stable id and include it in every selector. The bootstrap otherwise generates an instance id, which is deliberately not stable:
<div
id="featured-events"
class="s360-embed"
data-s360-data-view
data-view-id="VIEW-1234-ABCD"
data-api-key="<public access token>"
data-inject="injectListDataView">
</div>
#featured-events .s360-list-items {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
gap: 1.25rem;
}
#featured-events .s360-list-item {
padding: 0;
border: 1px solid #dbe3ee;
border-radius: 1rem;
}
Use the semantic s360-* classes and custom properties on this page. Generated element ids, inline styles, Font Awesome classes, mapping-provider DOM, and third-party classes are implementation details rather than supported styling hooks.
Default Styling Simply360 Provides
- Shared controls: accessible action buttons, secondary detail buttons, search fields, filters, pagination, language selection, loading indicators, detail drawers, and responsive table overflow.
- Lists and details: a deliberately light baseline. Lists remove browser bullets and add a subtle separator and
12pxvertical padding; the Data View's configured External CSS normally owns card layout and branding. - Tables: a white, rounded
16pxsurface with a light border and shadow; uppercase12pxheaders;14pxbody text; alternating/hover row treatments; and horizontal scrolling below768px. - Calendars: a complete responsive month, week, year, and agenda design using the
--s360-cal-*tokens below. The default calendar font is Open Sans and the default accent is neutral gray. - Charts, pivots, and stats: system-font layouts with responsive sizing, neutral empty states, and compact legends/tables/cards. Chart series colors and stat-card colors come from the Data View configuration.
- Maps: Simply360 sizes the map container; the selected map provider draws the map itself. Provider-owned labels and controls are not part of the Simply360 CSS contract.
Preferred Theme Hooks
| Custom property | Purpose and default |
|---|---|
--s360-primary-color | Primary rich-link/button color; falls back to #737373. |
--s360-primary-hover-color | Primary hover color; falls back to the primary color, then #525252. |
--s360-text-color-secondary | Muted color of the empty-value dash; falls back to the Style Kit's secondary text color, then #64748b. |
--s360-loading-icon-color | Loading icon/spinner color. The bootstrap seeds it from data-primary-color when supplied. |
--s360-list-item-min-width | Minimum card width used by FIT page sizing. Supply a whole-pixel value such as 320px. |
--s360-list-gap | Gap used when calculating how many list items fit in the container. |
--s360-list-rows | Preferred number of list rows per page. |
--s360-list-min-items-per-page | Lower bound for automatic list page sizing. |
--s360-list-max-items-per-page | Upper bound for automatic list page sizing. |
The five list sizing properties affect the request's calculated page size, not just its appearance. Use positive whole numbers and keep the CSS grid's minimum width and gap consistent with the values you provide.
Common Classes
| Class | Element or state |
|---|---|
.s360-embed | Recommended host marker class from the generated embed snippet. |
.s360-data-view, .s360-embed-container | Rendered Data View shell and inner container. |
.s360-content-loaded, .s360-ssr-rendered | State markers applied after client or server-rendered content is ready. |
.s360-loading-container, .s360-loading-spinner, .s360-loading-text | Standard loading state. |
.s360-branded-loading-container, .s360-simple-spinner-container, .s360-simple-spinner | Branded and compact loading variants. |
.s360-no-data, .s360-website-widget-error | Empty and visible error messages. |
.s360-icon, .s360-icon-inline, .s360-icon-calendar-brand | Simply360-owned icon hooks. To suppress decorative icons, use .s360-icon { display: none !important; } within the embed scope. |
Search, Filters, Language, and Pagination
| Classes | Purpose |
|---|---|
.s360-dataview-search, .s360-dataview-search--overlay | Search bar and its map/overlay placement modifier. |
.s360-dataview-search-label, .s360-dataview-search-input | Search label and text input. |
.s360-dataview-filters, .s360-dataview-filters--below-search, .s360-dataview-filters--overlay | Filter group shell and placement modifiers. |
.s360-dataview-filter-group, .s360-dataview-filter-label | One filter and its label. |
.s360-dataview-filter-input, .s360-dataview-filter-select, .s360-dataview-filter-status | Filter controls and result/status text. |
.s360-search, .s360-filters, .s360-filter | Legacy-compatible search/filter hooks still emitted by some Data View layouts. |
.s360-data-view-toolbar, .s360-language-selector, .s360-language-selector__icon, .s360-language-select | Language toolbar and selector. |
.s360-pagination, .s360-pagination-text, .s360-pagination-text-current | Page links, page summary, and current-page text. |
.s360-load-more-button | Append/load-more control used by supported list placements. |
.s360-list-range-summary | The “Showing X–Y of Z records” summary shown with list, gallery, and table results in every pagination mode, including a single page and an empty result. For Load more it shows the accumulated range. |
List and Detail Classes
| Classes | Purpose |
|---|---|
.s360-list-view, .s360-list-view--page-links, .s360-list-view--carousel, .s360-list-view--load-more, .s360-list-view--scroll-snap | List shell and configured presentation-mode modifiers. |
.s360-list-items, .s360-list-item, .s360-tree-root, .s360-tree-children, .s360-tree-node-parent | List collection, one record item, and hierarchical-list structure. |
.s360-details-view, .s360-item | Detail shell and one rendered record/card. |
.s360-item-link-wrapper | Clickable wrapper when the entire list item links to a record or page. |
.s360-item-field, .s360-item-field-title, .s360-item-field-value | Field wrapper, optional label, and rendered value. |
.s360-empty-value, [data-s360-empty-value], .s360-sr-only | An empty field value shown read-only: a muted em dash with a visually hidden, localized "Empty" for screen readers. Used in table cells, pivots, calendar and map details, and list or detail fields when the Data View includes empty fields. |
.s360-item-field-url, .s360-item-field-button | URL and button-style field values. |
.s360-item-field-image, .s360-item-field-images, .s360-item-field-images-image, .s360-item-field-images-image-item | Single- and multi-image wrappers. |
.s360-item-field-video, .s360-video-error | Video field and its visible failure state. |
.s360-formatted-text-field, .s360-datetime-field, .s360-datetime-range-field, .s360-recurrence-schedule-field | Typed value wrappers for precise typography overrides. |
.s360-rich-button, .s360-rich-button--primary | Button link rendered from rich/formatted content and its primary modifier. |
.s360-carousel-dots, .s360-carousel-dot, .s360-carousel-dot-ellipsis, .s360-carousel-prev, .s360-carousel-next | Multi-image carousel navigation. |
Table Classes
| Class | Element or state |
|---|---|
.s360-table-widget | Rounded table surface, including search and filters. |
.s360-table-view | The table element. |
.s360-head-items, .s360-body-items | Header and body row groups. |
.s360-tr-items, .s360-tr-clickable | Record row and clickable-row state. |
.s360-th-items, .s360-th-sortable | Header cell and sortable state. |
.s360-sort-header, .s360-sort-indicator | Sortable header content and direction marker. |
.s360-th-sorted-asc, .s360-th-sorted-desc | Active ascending and descending sort states. |
.s360-td-items, .s360-td-actions | Data cell and action column. |
.s360-group-header, .s360-group-header-cell | Grouped-table separator row and spanning label cell. |
Actions, Drawers, Cart, and Variants
| Classes | Purpose |
|---|---|
.s360-item-actions, .s360-action-btn | Record action group and primary action button. |
.s360-action-btn-loading, .s360-action-btn-success, .s360-action-btn-error | Action progress, success, and failure states. |
.s360-view-details-btn | Secondary View Details button. |
.s360-action-kebab-btn, .s360-action-menu | Overflow action trigger and menu. |
.s360-detail-drawer-overlay, .s360-detail-drawer-overlay--contained, .s360-detail-drawer-visible | Detail drawer overlay, contained mode, and visible state. |
.s360-detail-drawer, .s360-detail-drawer-header, .s360-detail-drawer-title, .s360-detail-drawer-close, .s360-detail-drawer-content, .s360-detail-drawer-footer, .s360-detail-drawer-loading, .s360-drawer-close-btn | Detail drawer anatomy. |
.s360-field-drawer-link, .s360-field-value-drawer-overlay, .s360-field-value-drawer-visible, .s360-field-value-drawer, .s360-field-value-drawer-header, .s360-field-value-drawer-title, .s360-field-value-drawer-close, .s360-field-value-drawer-content, .s360-field-value-drawer-loading, .s360-field-value-drawer-empty, .s360-field-value-drawer-error | Related-record field drawer anatomy and states. |
.s360-wizard-drawer-overlay, .s360-wizard-drawer-overlay--contained, .s360-wizard-drawer-visible, .s360-wizard-drawer, .s360-wizard-drawer-header, .s360-wizard-drawer-title, .s360-wizard-drawer-close, .s360-wizard-drawer-frame | Wizard launched by a record action. |
.s360-view-cart-button, .s360-in-cart, .s360-register-now-button | Cart/registration controls and selected state. |
.s360-variant-picker-list, .s360-variant-card, .s360-variant-dimensions, .s360-variant-dimension, .s360-variant-dimension-label, .s360-variant-dimension-value, .s360-variant-fields, .s360-variant-field, .s360-variant-field-label, .s360-variant-field-value, .s360-variant-actions, .s360-variant-add-button, .s360-variant-register-button, .s360-variant-picker-empty | Variant picker cards, values, actions, and empty state. |
.s360-variant-drawer-overlay, .s360-variant-drawer, .s360-variant-drawer-body, .s360-variant-drawer-close, .s360-variant-modal-overlay, .s360-variant-modal, .s360-variant-modal-body, .s360-variant-modal-close | Responsive variant drawer/modal anatomy. |
Calendar Theme Variables
Set calendar properties on the Data View container to theme only that instance. The defaults are declared globally by the calendar bundle, but a value on the nearer container wins through normal custom-property inheritance.
#featured-events {
--s360-cal-primary-color: #7c3aed;
--s360-cal-primary-hover: #6d28d9;
--s360-cal-event-bg-color: #7c3aed;
--s360-cal-today-bg-color: #f3e8ff;
--s360-cal-border-radius: 10px;
--s360-cal-font-family: "Inter", system-ui, sans-serif;
}
| Group | Properties and defaults |
|---|---|
| Surfaces and text | --s360-cal-bg-color: #fff; --s360-cal-text-color: #1a1a1a; --s360-cal-text-secondary: #6b6b6b; --s360-cal-border-color: #e0e0e0; --s360-cal-weekend-bg-color: #fafafa; --s360-cal-other-month-text-color: #bdbdbd. |
| Header | --s360-cal-header-bg-color: #f5f5f5; --s360-cal-header-text-color: #1a1a1a; --s360-cal-header-border-color: #e0e0e0; --s360-cal-header-height: 60px. |
| Today and selection | --s360-cal-today-bg-color: #dbeafe; --s360-cal-today-text-color: #525252; --s360-cal-today-border-color: #737373; --s360-cal-selected-bg-color: #737373; --s360-cal-selected-text-color: #fafafa. |
| Events and accent | --s360-cal-event-bg-color: #737373; --s360-cal-event-text-color: #fff; --s360-cal-event-hover-bg-color: #525252; --s360-cal-event-border-color: transparent; --s360-cal-primary-color: #737373; --s360-cal-primary-hover: #525252; --s360-cal-primary-active: #404040. |
| Navigation | --s360-cal-nav-button-bg-color: transparent; --s360-cal-nav-button-text-color: #1a1a1a; --s360-cal-nav-button-border-color: #e0e0e0; --s360-cal-nav-hover-bg-color: #eee. |
| View switcher | --s360-cal-view-switcher-bg-color: #e5e5e5; --s360-cal-view-switcher-text-color: #1a1a1a; --s360-cal-view-switcher-hover-bg-color: rgba(0,0,0,.05); --s360-cal-view-switcher-active-bg-color: #737373; --s360-cal-view-switcher-active-text-color: #fff. |
| Popup and filters | --s360-cal-popup-bg-color: #fff; --s360-cal-popup-overlay-color: rgba(0,0,0,.4); --s360-cal-popup-header-bg-color: #f5f5f5; --s360-cal-popup-header-text-color: #1a1a1a; --s360-cal-filter-bg-color: #f5f5f5. |
| Spacing | --s360-cal-padding: 16px; --s360-cal-padding-small: 8px; --s360-cal-padding-large: 24px; --s360-cal-gap: 8px; --s360-cal-event-gap: 4px. |
| Typography | --s360-cal-font-family: "Open Sans", sans-serif; --s360-cal-font-size: 14px; --s360-cal-font-size-small: 12px; --s360-cal-font-size-large: 16px; --s360-cal-font-size-xlarge: 20px; --s360-cal-font-weight: 400; --s360-cal-font-weight-bold: 600; --s360-cal-line-height: 1.5. |
| Borders and shadows | --s360-cal-border-width: 1px; --s360-cal-border-radius: 4px; --s360-cal-border-radius-large: 8px; --s360-cal-event-border-width: 3px; --s360-cal-shadow: 0 2px 4px rgba(0,0,0,.1); --s360-cal-shadow-large: 0 4px 12px rgba(0,0,0,.15); --s360-cal-shadow-xlarge: 0 8px 24px rgba(0,0,0,.2). |
| Motion and sizing | --s360-cal-transition: all .2s ease; --s360-cal-transition-fast: all .1s ease; --s360-cal-day-cell-height: 100px; --s360-cal-day-cell-min-height: 80px; --s360-cal-week-hour-height: 60px; --s360-cal-event-height: 24px; --s360-cal-event-min-height: 20px; --s360-cal-time-label-width: 60px. |
Calendar Classes
| Area | Classes |
|---|---|
| Shell and header | .s360-calendar-shell, .s360-calendar-widget, .s360-calendar-empty, .s360-calendar-no-results, .s360-cal-header, .s360-cal-header-title, .s360-cal-header-controls, .s360-cal-nav, .s360-cal-nav-button, .s360-cal-footer. |
| View switcher | .s360-cal-view-switcher-container, .s360-cal-view-btn, .s360-cal-view-dropdown, .s360-cal-view-label, .s360-cal-view-option, .s360-cal-view-option-active. |
| Filters and timezone | .s360-cal-filters, .s360-cal-filter-group, .s360-cal-filter-label, .s360-cal-filter-input, .s360-cal-filter-select, .s360-cal-filter-checkbox, .s360-cal-filter-boolean, .s360-cal-timezone-indicator, .s360-cal-timezone-btn, .s360-cal-timezone-btn-text, .s360-cal-timezone-icon, .s360-cal-timezone-chevron, .s360-cal-timezone-dropdown-container, .s360-cal-timezone-dropdown, .s360-cal-timezone-option, .s360-cal-timezone-option-active, .s360-cal-timezone-option-label, .s360-cal-timezone-option-value, .s360-cal-timezone-label, .s360-cal-timezone-name. |
| Month | .s360-cal-month-view-wrapper, .s360-cal-month-view, .s360-cal-month-grid, .s360-cal-month-day-header, .s360-cal-month-day-cell, .s360-cal-month-day-number, .s360-cal-month-event-bar, .s360-cal-month-event-bar-all-day, .s360-cal-month-event-thumbnail, .s360-cal-month-event-text, .s360-cal-month-more-indicator. |
| Week | .s360-cal-week-view, .s360-cal-week-header, .s360-cal-week-day-header, .s360-cal-week-timeline, .s360-cal-week-time-column, .s360-cal-week-time-label, .s360-cal-week-day-column, .s360-cal-week-hour-divider, .s360-cal-week-event-block. |
| Year | .s360-cal-year-view, .s360-cal-year-grid, .s360-cal-year-month-mini, .s360-cal-year-month-header, .s360-cal-year-month-grid, .s360-cal-year-day-label, .s360-cal-year-day-cell, .s360-cal-year-day-dot. |
| Agenda | .s360-cal-agenda-view, .s360-cal-agenda-month-header, .s360-cal-agenda-date, .s360-cal-agenda-date-header, .s360-cal-agenda-events, .s360-cal-agenda-event-card, .s360-cal-agenda-event-card-all-day, .s360-cal-agenda-event-thumbnail, .s360-cal-agenda-event-thumbnail-img, .s360-cal-agenda-event-content, .s360-cal-agenda-event-time, .s360-cal-agenda-event-title, .s360-cal-agenda-event-location, .s360-cal-agenda-event-source-label, .s360-cal-agenda-event-actions, .s360-cal-agenda-event-action-button, .s360-cal-agenda-event-action-button-primary, .s360-cal-agenda-no-events. |
| Shared date states | .s360-cal-today, .s360-cal-weekend, .s360-cal-other-month, .s360-cal-empty, .s360-cal-loading, .s360-cal-loading-spinner, .s360-cal-error, .s360-cal-scroll-hint. |
| Event popup | .s360-cal-event-popup-backdrop, .s360-cal-event-popup, .s360-cal-event-popup-close, .s360-cal-event-popup-cover, .s360-cal-event-popup-cover-img, .s360-cal-event-popup-header, .s360-cal-event-popup-header-info, .s360-cal-event-popup-header-actions, .s360-cal-event-popup-title, .s360-cal-event-popup-datetime, .s360-cal-event-popup-location, .s360-cal-event-popup-location-text, .s360-cal-event-popup-location-address, .s360-cal-event-popup-location-url, .s360-cal-event-popup-location-map-link, .s360-cal-event-popup-source-label, .s360-cal-event-popup-content, .s360-cal-event-popup-fields, .s360-cal-event-popup-group-header, .s360-cal-event-popup-field, .s360-cal-event-popup-field-label, .s360-cal-event-popup-field-value, .s360-cal-event-popup-action-button, .s360-cal-event-popup-action-button-primary, .s360-cal-event-action-button, .s360-cal-event-action-button-primary. |
| Date information | .s360-cal-date-info-badge, .s360-cal-date-info-icon, .s360-cal-date-info-icon-default, .s360-cal-date-info-inline, .s360-cal-date-info-inline-image, .s360-cal-date-info-inline-content, .s360-cal-date-info-inline-title, .s360-cal-date-info-inline-field, .s360-cal-date-info-inline-field-label, .s360-cal-date-info-popup, .s360-cal-date-info-popup-image, .s360-cal-date-info-popup-content, .s360-cal-date-info-popup-title, .s360-cal-date-info-popup-field, .s360-cal-date-info-popup-field-label, .s360-cal-date-info-popup-field-value. |
| Legacy date list | .s360-month-header, .s360-date-header, .s360-date-header-date, .s360-date-header-date-info, .s360-date-header-info-title, .s360-date-header-info-value, .s360-date-events, .s360-date-events-event, .s360-date-no-events-message. |
| Subscribe | .s360-cal-subscribe-container, .s360-cal-subscribe-btn, .s360-cal-subscribe-dropdown, .s360-cal-subscribe-option, .s360-cal-subscribe-hidden, .s360-cal-subscribe-notification, .s360-cal-subscribe-notification-visible, .s360-cal-subscribe-notification-error. |
| Legacy subscribe | .s360-add-to-calendar-btn, .s360-add-to-calendar-button, .s360-add-to-calendar-dropdown, .s360-add-to-calendar-option, .s360-add-to-calendar-link-container, .s360-add-to-calendar-link, .s360-add-to-calendar-link-dropdown, .s360-add-to-calendar-link-option. |
Map, Chart, Pivot, and Stats Classes
| Data View | Classes |
|---|---|
| Map | .s360-map-container, .s360-map-empty, .s360-map-landmark, .s360-map-landmark-details. The landmark classes apply to Simply360's MapKit callout; provider-owned controls remain outside the public contract. |
| Chart | .s360-chart-container, .s360-chart-canvas, .s360-chart-legend, .s360-chart-legend-item, .s360-chart-legend-swatch, .s360-chart-empty. |
| Pivot | .s360-pivot-container, .s360-pivot-table, .s360-pivot-header, .s360-pivot-row-header, .s360-pivot-value-header, .s360-pivot-total-header, .s360-pivot-cell, .s360-pivot-row-label, .s360-pivot-value, .s360-pivot-total, .s360-pivot-grand-total, .s360-pivot-total-label, .s360-pivot-totals-row, .s360-pivot-empty. |
| Stats | .s360-stats-container, .s360-stats-grid, .s360-stats-card, .s360-stats-icon, .s360-stats-value, .s360-stats-label, .s360-stats-agg, .s360-stats-empty. |
Cascade and Testing Guidance
- Prefer custom properties for colors, type, radii, spacing, and calendar sizing. Use class rules for structural changes the variables do not cover.
- Avoid unscoped element selectors such as
button,table, orimg. They can affect the host site and make the embed depend on stylesheet load order. - Avoid generated ids and
!importantunless a documented built-in state uses it and normal specificity cannot win. - Test empty, loading, error, hover, focus-visible, disabled, drawer, pagination, and mobile states. A card that looks correct with one record can still overflow with long translated text or multiple actions.
- Calendar CSS loads Open Sans from Google Fonts by default. If the site's Content Security Policy blocks Google Fonts, set
--s360-cal-font-familyto an allowed local/system stack; the calendar remains functional.
See Embedding Data Views, Wizards, and the chat assistant for setup and tokens, Wizard CSS Class Reference, and Chat Assistant CSS Class Reference.