Author: jonathan
Date: Tue Jan 15 20:05:50 2008
New Revision: 12296
Log:
Update styling to fit in with Mashup Server look & feel.
Added:
trunk/commons/dynamic-codegen/resources/images/gradient-rule-wide.gif
(contents, props changed)
Removed:
trunk/commons/dynamic-codegen/resources/images/wso2-logo.gif
Modified:
trunk/commons/dynamic-codegen/resources/images/header-bg.gif
trunk/commons/dynamic-codegen/src/tryit.xslt
Added: trunk/commons/dynamic-codegen/resources/images/gradient-rule-wide.gif
==============================================================================
Binary file. No diff available.
Modified: trunk/commons/dynamic-codegen/resources/images/header-bg.gif
==============================================================================
Binary files. No diff available.
Modified: trunk/commons/dynamic-codegen/src/tryit.xslt
==============================================================================
--- trunk/commons/dynamic-codegen/src/tryit.xslt (original)
+++ trunk/commons/dynamic-codegen/src/tryit.xslt Tue Jan 15 20:05:50 2008
@@ -579,9 +579,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>Try the <strong><xsl:value-of
select="$service-name"/></strong> service.</h1>
</nobr>
</div>
@@ -680,7 +677,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>
@@ -848,28 +847,19 @@
/* 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 {
background-image: url(<xsl:value-of
select="$image-path"/>header-bg.gif);
@@ -1085,9 +1075,13 @@
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