CSS custom styles

To define styling for the entire site using CSS code, follow these steps:

  1. See the steps in Defining site-wide custom styles.
  2. In the Manage Custom Styles window, under Name, enter DarkBlueTable.
  3. To add CSS instructions, enter the following code:
    .table{
              background-color:#336699;
              }
    Figure 1. Defining a New Custom Style
  4. Click Save.
  5. Notice that the Manage Custom Styles window contains the new style.
    Figure 2. Manage Custom Styles Lists DarkBlueTable Custom Style
  6. To see how to include the new style in visual, see Adding custom styles to visuals.
  7. When selected for a visual that contains a table, the style DarkBlueTable gives the table the specified coloring scheme, much like the following image.
    Figure 3. Table with Custom Style DarkBlueTable
  8. Note that the Manage Custom Styles interface keeps track of all visuals that use each defined style. In the following image, you can see the reporting after applying the style DarkBlueTable to visualization 15. Note also that the number 15 is an active link to that visualization.
    Figure 4. Manage Custom Styles Shows the Number and Address of Apps that Use the Custom Style