This chapter contains the following sections:
The Desktop theme provides the capability of creating a customizable user interface that allows the end users to select different look and feel for their Desktop.
The definition of a theme in Sun Java System Portal Server software Desktop is a collection of user interface attributes that are used in the markup output from the Desktop. The attributes can be colors, fonts, and images. Out of the box, there are eight themes that come with the sample portal and each theme contains thirty eight (38) attributes.
The display profile document, PortalServer-base/samples/desktop/dp-org.xml file, contains the XML fragment for the eight default themes. See this file for the definition of these themes. See the Sun Java System Portal Server 7.1 Developer Sample Guide for more information on customizing the Global Themes.
The following is a list of theme properties that can be defined, modified, and/or customized in the display profile document. Please referthe Glossary of Terms for more detailed description for the theme properties.
activeBulletGraphics
inactiveBulletGraphics
logo image
Product name image
header logo bg color
header product name bg color
header link box bg color
header bg color and footer bg color
header font color
footer font color
header font size
footer font size
header font face
footer font face
tabNotch image
selected tab font face
selected tab font size
unselected tab font face
unselected tab font size
channel title font face
channel title font size
selected tab font color
channel title font color
channel font size
channel link font size
channel font face
channel link font face
selected tab bg color
channel title bar bg color
content/layout bar color
channel border color
page piping color (bottom)
button bg color
border color
unselected tab bg color
secondary channel title bar color
unselected tab font color
channel bg color
channel font color
channel border width
table bg color
page piping, top
highlight color for channel content (as seen in the Placida theme JSP channel)
link separator color (in the toolbar, between Content and Layout)
footer link separator color
channel link color
content/layout link color
content/layout link font size
content/layout link font face
brand image width
preview image (on preset themes page)
remove image (for the channel title bar)
detach image (for the channel title bar)
help image (for the channel title bar)
edit image (for the channel title bar)
minimize image (for the channel title bar)
maximize image (for the channel title bar)
normalize image (in the maximized channel)
The following table provides description of where the theme attributes are actually used in the desktop.
Table 40–1 Glossary of Terms
Term |
Description |
---|---|
Header |
The banner area at the top of the portal page. Contains the branding and the global links. |
Bullet graphics |
The “dot” graphics that go next to the global links in the header |
Logo, product name, link |
The three areas in the header for the Sun theme |
Footer |
The narrow banner at the bottom of the portal page. Contains the global links |
Tab notch |
The graphic that goes in the upper left corner of the tab table cells |
Selected tab |
The tab whose contents are displayed |
Unselected tab |
The other tabs whose contents are not seen |
Content/layout bar |
The tool bar underneath the tabs that contains the content and layout links |
Channel |
The data containers displayed inside each tab |
Page piping |
The narrow bands of color at the top and bottom of the portal page |
Table background |
The areas the channels sit in |
Highlight color for channel content |
A contrasting color for tables inside channels |
Secondary channel title bar |
An extra color bar beneath the standard channel title bar |
Link separator |