You have the option to change the default appearance of the Stardust Portal by creating custom skins, which you can select in the Portal Configuration view.
This chapter covers the following:
To create a custom skin:



Now you can see your custom skin in the Skin section of your Portal Configuration view.

Figure: Select your custom skin.
The following sections shows example style sheet classes for a custom skin overriding the default appearance.
.panelHeaderTitle {
color: #708090;
font-weight: bold;
}
.panelHeader .iceCmdLnk:hover {
cursor: hand;
text-decoration: none;
}
.iceCmdLnk .panelHeaderTitle:hover {
color: #B0232B;
font-weight: bold;
}
.action-link
{
color: #00629A;
}
.action-link:hover
{
color: #B0232B;
text-decoration: underline;
}
.banner{
height: 70px;
width 100%;
background: #FFFFFF url(./images/banner.jpg) left no-repeat;
border-bottom: 3px solid #FFFFFF;
}
.topMenu{
height: 23px;
line-height:23px;
background:url(../images/menuTop-BG.jpg) top repeat-x;
border-top:1px solid #666666;
border-bottom:1px solid #000000;
color:#DDDDDD;
}
.topMenuTd{
border-left:1px solid #666666;
white-space: nowrap;
vertical-align: top;
}
.iceOutTxt, .iceOutLbl {
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
color: #000000;
}
body, table {
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
}
.icePnlTbOn .portalTbActiveLbl
{
color: #000000;
}
.icePnlTbOff .portalTbLbl
{
color: #808080;
}
.heading .iceOutTxt
{
font-size: 11px;
font-weight: bold;
color: #708090;
}
.label-form {
color: #708090;
font-weight: normal;
}
.iceDatTblCol .iceCmdLnk span.iceOutTxt {
color: #00629A;
}
.button, .button-dis
{
color:#333333;
background: #FFFFFF url( "./css-images/button-background.png" ) bottom repeat-x;
border:1px solid #CCCCCC;
border-bottom:1px solid #999999;
border-right:1px solid #999999;
cursor: pointer;
}
.copyright-symbol {
color: red;
}
.copyright-message {
color: blue;
}
.product-version {
display: none;
}
As per requirement, you can customize the look and feel of the login page. You need to create a login.css file and include it in the resources. Once you change the configuration setting, the login page gets customized.
Perform the following steps, to customize the login page:
The default name of the style sheet file should be login.css. If you specify any other name, then you need to configure it in carnot.properties. Specify the key Carnot.Login.Skin.StyleSheet=<login css file name> in the carnot.properties file. Include the file in the Resources folder and apply configuration settings to everyone.
In this example, we want to display the blue color banner on the login page. To achieve this, perform the following steps:
.iceOutTxt, .iceOutLbl {
font-family: Verdana;
color: blue;
}
div#loginBox .logo {
background: url("./images/banner.jpg") repeat scroll left top transparent;
border-bottom: 1px solid #CCCCCC;
clear: both;
color: #708090;
font-weight: bold;
height: 70px;
line-height: 70px;
width: auto;
}



To hide the Logout button, create a custom skin as described above. Add a style sheet, e.g. hidelogout.css, or extend an existing style sheet where you set the portal-ui-session-control class to display: none:
.portal-ui-session-control {
display: none;
}
If the Logout link is not visible, the Alert Panel that will appear when clicking the Alerts link, needs to be repositioned. Thus, additionally add the following class:
.portalAlertsPanel{
right: 5px;
}

Figure: Enter the class to hide the Logout button
Now the Logout button is hidden in the Portal.

Figure: Hiding the Logout button
In case you like to import a skin that is defined via a plugin jar, you have to add this jar file to the lib folder of your runtime environment. The defined skin then is available and can be selected in the Portal Configuration view. Section Creating a Portal Skin to be provided as Plugin Jar of chapter Using the Portal Framework in the Online Documentation - Programming Guide Creating a Portal Skin to be provided as Plugin Jar of chapter Using the Portal Framework in the Programming Guide describes the structure that is required for the usage of such a plugin.