CSS custom styles
To define styling for the entire site using CSS code, follow these steps:
- See the steps in Defining site-wide custom styles.
- In the Manage Custom Styles window, under
Name, enter
DarkBlueTable
. -
To add CSS instructions, enter the following code:
.table{ background-color:#336699; }
Figure 1. Defining a New Custom Style - Click Save.
-
Notice that the Manage Custom Styles window contains the new
style.
Figure 2. Manage Custom Styles Lists DarkBlueTable Custom Style - To see how to include the new style in visual, see Adding custom styles to visuals.
-
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 -
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