|
|
You have to modify the governance style bundle "main.css" which is in the org.wso2.governance.styles-3.5.1.jar (wso2greg-3.5.1\repository\components\plugins\org.wso2.governance.styles-3.5.1.jar\web\admin\css).
Please edit line 63 in the "main.css" as follows;
div#menu ul.main li.menu-header
{
background-image: none; (as from the carbon styles there is a background image for this)
background-color: #dddddd;
color: #f47b20;
border-bottom: solid 1px #ffffff;
}
If you want to change the right side arrow, you can find the icon in the following location;
wso2greg-3.5.1\repository\components\plugins\org.wso2.carbon.ui-3.0.1.jar\web\admin\images\down-arrow.gif
wso2greg-3.5.1\repository\components\plugins\org.wso2.carbon.ui-3.0.1.jar\web\admin\images\up-arrow.gif
Hover this is only working for the menu items which are links, "Add" and "List" menu items are act as subtitles. You can change these Subtitle styles by adding the following styles to the "main.css".
div#menu ul.main li.menu-disabled-link
{
background-color:#F5F5F5;
background-image:url("../images/default-menu-icon.gif");
background-position:16px 2px;
background-repeat:no-repeat;
border-bottom:1px solid #FFFFFF;
border-top:1px solid #FFFFFF;
color:#111111;
cursor:text;
display:block;
font-weight:normal;
height:16px;
padding:3px 20px 3px 38px;
}
If you want to change the hover styles of the menu items, you can edit the line 69 of the "main.css" (wso2greg-3.5.1\repository\components\plugins\org.wso2.governance.styles-3.5.1.jar\web\admin\css).
div#menu ul.main li a.menu-default:hover
{
background-color: #F5EDE5;
border-bottom: solid 1px #DBC1A6;
border-top: solid 1px #DBC1A6;
color: #00447C;
}
To change the hover styles of the "Home" link, edit line 57.
div#menu ul.main li a.menu-home:hover
{
color: #f47b20;
background-image: none;
background-color: #E8D6C4;
}
To change the copyright information edit the footer.jsp in the org.wso2.carbon.ui-3.0.1.jar (The path is wso2greg-3.5.1\repository\components\plugins\org.wso2.carbon.ui-3.0.1.jar\web\admin\layout).
You can add a background image to the footer by adding the following style to the "main.css" in org.wso2.governance.styles-3.5.1.jar. Please add the background image to the 'images' folder.
div#footer-div div.footer-content
{
background-image:url("../images/footer-bg.gif");
background-position: left top;
background-repeat: repeat-x;
height:27px;
margin:auto;
padding:0;
}
If you need to add powered by image you need to edit the "footer.jsp" in the org.wso2.carbon.ui-3.0.1.jar. The image path should be ../admin/images/powered.gif and the image should be copied to the 'images' folder (wso2greg-3.5.1\repository\components\plugins\org.wso2.carbon.ui-3.0.1.jar\web\admin\images).
To change the favicon.ico replace the favicon in org.wso2.carbon.ui-3.0.1.jar (The path is wso2greg-3.5.1\repository\components\plugins\org.wso2.carbon.ui-3.0.1.jar\web\admin\images).
Note : In Carbon products, org.wso2.carbon.ui-3.0.1.jar provides the common styles (global.css) and images. And by the main.css, in org.wso2.governance.styles-3.5.1.jar, common style are override to suit the products.
Author: Lahiru Gunathilaka, Senior Software Engineer, WSO2 Inc