Using Custom CSS

To use Custom CSS, you'll need to go to  App Settings > Appearance > Custom CSS.
Screenshot_2022-05-10_at_15.46.09.png
The editor has auto-complete and error checking. You will see that the autocomplete is dynamic so that you can quickly search for fields and pages to style. Clicking Save Custom CSS will instantly update the CSS on the page.

Current Class List

This is the list of top level classes in the application. We also add style/table/page and field namespacing so that you are able to target specific elements if you need to.
 
  • Page - stk-page
  • List page - stk-list-page
  • Record detail page - stk-detail-page
  • Record create page - stk-create-page
  • Save button - .stk-save-button
  • Edit button - .stk-edit-button
  • Cancel button - .stk-cancel-button
  • Delete button - .stk-delete-button
 
  • Header outer (includes secondary navigation) - stk-header-outer
  • Header - stk-header
  • Secondary navigation - stk-secondary-navigation
  • Logo - stk-logo
  • Main navigation - stk-navigation
  • Navigation Item - stk-navigation-item
  • User menu - stk-user-menu
  • Content - stk-content
  • Button - stk-button
  • Heading - stk-heading
  • Text - stk-text
  • Input - stk-input
  • Cards - stk-cards
  • Card - stk-card
  • Card link - stk-card-link
  • Card field - stk-card-field
  • Table - stk-table
  • Table header - stk-table-header
  • Table header cell - stk-table-header-cell
  • Table row - stk-table-row
  • Table cell - stk-table-cell
  • List search - stk-list-search
  • Inline filters - stk-inline-filters
  • Field - stk-field
  • Record list - stk-record-list
  • Record header - stk-record-header
  • User Menu
    • My Settings - .stk-user-menu-settings
    • Logout - .stk-user-menu-logout
    • Workspaces - .stk-user-menu-workspaces
    • Workspaces Title - .stk-user-menu-workspaces-title
    • Workspaces Add New Button - .stk-user-menu-workspaces-add-new
    • Open Stacker Classic - .stk-user-menu-stacker-classic
Please be aware that using any auto-generated css can be subject to change.
 

Ignoring the CSS

If you wish to see the page without the css applied, you can pass the parameter ?ignore_css=1 to the url.
 

Articles in this section