Sun OpenSSO Enterprise 8.0 Developer's Guide

Cascading Style Sheets

To define the look and feel of the UI, modify the cascading style sheets (CSS) files. Characteristics such as fonts and font weights, background colors, and link colors are specified in the CSS files. You must choose the appropriate .css file for your browser in order to customize the look and feel on the user interface.

In the appropriate .css file, change the background-color attribute. For example:

.button-content-enabled { background-color:red; }
button-link:link, a.button-link:visited { color: #000;
background-color: red;
text-decoration: none; }

Browser-specific CSS files are installed with OpenSSO Enterprise in the following directory:

OpenSSO-Deploy-base/css

The following table describes each CSS file.

Table 13–6 OpenSSO Enterprise Cascading Style Sheet (CSS) Files

File Name 

Purpose 

css_ie6win.css

Configured specifically for Microsoft Internet Explorer 6 for Windows. 

css_ie5win.css

Configured specifically for Microsoft Internet Explorer 5 for Windows. 

css_ns6up.css

Configured specifically for Netscape Communicator 6. 

css_ns4sol.css

Configured specifically for Netscape Communicator 4 for Solaris systems. 

css_ns4win.css

Configured specifically for Netscape Communicator 4 for Windows. 

styles.css

Used in JSP pages as a default style sheet.