Specify fonts and colors for styles in the customization web pages or in the cascading style sheets. Specify the color in any of the following ways:
Using decimal notation to set the amount of red, green, and blue to use in the color. In the customization web pages, fill in the value for red, green, and blue in the corresponding fields. In a CSS file, use a call to the rgb( ) method, as shown in the following example:To change Actuate Java Component pages to display the user, system name, and volume in 12-point italic Comic Sans MS font:
1 Extract the contents of the Actuate Java Component WAR or EAR file into a temporary directory.
2 In a text editor, open <context root>\css\allstyles.css.There are two instances of the string bannerTextArea. The first is part of the definition for all the banner styles. This definition sets the banner styles’ common attributes. The second instance sets the attributes for bannerTextArea only and looks like the following text:
4 Modify the code that follows the bannerTextArea definition to change the font as shown in the following code:
6 Recompress your Actuate Java Component WAR or EAR file using the Java jar utility and redeploy it to the application server or servlet engine as an application.
8 Refresh your web browser to view the changes. Figure 3-2 shows the new appearance of the banner.
|
|
Copyright Actuate Corporation 2012 |