Author: jonathan
Date: Tue Jan 15 20:08:33 2008
New Revision: 12297
Log:
Update styling to fit in with Mashup Server look & feel.
Modified:
trunk/commons/dynamic-codegen/src/doc.xslt
Modified: trunk/commons/dynamic-codegen/src/doc.xslt
==============================================================================
--- trunk/commons/dynamic-codegen/src/doc.xslt (original)
+++ trunk/commons/dynamic-codegen/src/doc.xslt Tue Jan 15 20:08:33 2008
@@ -38,9 +38,6 @@
<xsl:if test="$enable-header='true'">
<div id="header">
<nobr>
- <div id="logo">
- <a href="http://wso2.com"><img
src="{$image-path}wso2-logo.gif"/></a>
- </div>
<h1><strong><xsl:value-of
select="$service-name"/></strong> service documentation</h1>
</nobr>
</div>
@@ -95,7 +92,9 @@
</div>
<!-- footer -->
<xsl:if test="$enable-footer='true'">
- <div id="footer">© 2007 WSO2</div>
+ <div id="footer">
+ <p>© 2007 <a href="http://wso2.com/">WSO2 Inc.</a></p>
+ </div>
</xsl:if>
<!-- end of footer -->
</body>
@@ -206,28 +205,18 @@
/* header styles */
div#header {
height: 70px;
- border-bottom: solid 1px #F47B20;
+ background-image: url(<xsl:value-of
select="$image-path"/>gradient-rule-wide.gif);
+ background-repeat: no-repeat;
+ background-color: #7e8e35;
+ background-position: bottom left;
+ color:white;
}
div#header h1 {
- margin-top: 10px;
- margin-bottom: 0px;
- margin-left: 0px;
- margin-right: 0px;
- padding-left: 40px;
- padding-top: 15px;
- padding-right: 0px;
- padding-bottom: 0px;
+ margin: 0px 0px 0px 0px;
+ padding: 20px 0px 0px 40px;
font-size: 18pt;
font-weight: normal;
}
- div#logo {
- padding-top: 5px;
- padding-right: 25px;
- float: right;
- }
- div#logo a img {
- border: 0px;
- }
/* body styles */
div#body {
@@ -241,12 +230,17 @@
width: 90%;
}
+ /* footer styles */
div#footer {
margin-top: 30px;
clear: both;
- height: 21px;
- background-color: #ccc;
- border-top: solid 1px #F47B20;
+ height: 40px;
+ text-align:center;
+ color: white;
+ font-weight:bold;
+ background-color: #7e8e35;
+ background-image: url(<xsl:value-of
select="$image-path"/>gradient-rule-wide.gif);
+ background-repeat: no-repeat;
padding-left: 40px;
padding-top: 3px;
font-size: 8pt;
_______________________________________________
Commons-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/commons-dev