svn commit: r591943 - in /lenya/sandbox/modules/docustyle: resources/css/page.css resources/images/corner-dddddd.png resources/images/gradient.png resources/images/project-logo-small.png xslt/page2xhtml.xsl
[email protected] Mon, 05 Nov 2007 10:07:05 -0000
Newsgroups
gmane.comp.cms.lenya.cvs
Message-ID
<[email protected] >
Author: andreas
Date: Mon Nov 5 02:07:04 2007
New Revision: 591943
URL: http://svn.apache.org/viewvc?rev=591943&view=rev
Log:
Layout update (gradient background for header)
Added:
lenya/sandbox/modules/docustyle/resources/images/corner-dddddd.png (with props)
lenya/sandbox/modules/docustyle/resources/images/gradient.png (with props)
Modified:
lenya/sandbox/modules/docustyle/resources/css/page.css
lenya/sandbox/modules/docustyle/resources/images/project-logo-small.png
lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl
Modified: lenya/sandbox/modules/docustyle/resources/css/page.css
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/resources/css/page.css?rev=591943&r1=591942&r2=591943&view=diff
==============================================================================
--- lenya/sandbox/modules/docustyle/resources/css/page.css (original)
+++ lenya/sandbox/modules/docustyle/resources/css/page.css Mon Nov 5 02:07:04 2007
@@ -26,9 +26,13 @@
}
#header {
- clear: left;
font-size: 11pt;
- margin: 0 0 .5em 200px;
+ background: url('/modules/docustyle/images/gradient.png') left top repeat-x;
+}
+
+#logo {
+ clear: left;
+ padding: 0 0 .5em 200px;
}
#projectLogo {
@@ -52,24 +56,26 @@
ul#tabs {
clear: left;
+ float: left;
+ width: 100%;
font-weight: bold;
font-size: 11pt;
margin: 0 0 0 0;
border-collapse: collapse;
padding: 0 0 0 200px;
+ list-style-type: none;
+ background: url('/modules/docustyle/images/gradient.png') left bottom repeat-x;
}
#tabs a {
text-decoration: none;
- color: #999999;
+ color: #888899;
}
#tabs li {
- display: table-cell;
- vertical-align: middle;
- border-left: solid 3px #FFFFFF;
- border-right: solid 3px #FFFFFF;
- background-color: #DDDDDD;
+ float: left;
+ margin-right: 3px;
+ background-color: #CCCCDD;
}
.tab a, .tab-selected a {
@@ -82,16 +88,11 @@
.tab a span, .tab-selected a span {
padding: .3em 1.2em .3em 15px;
display: block;
- background: url('/modules/docustyle/images/corner.png') right top no-repeat;
-}
-
-.tab a:hover span {
- background-color: #D0D0D0;
- color: #888888;
+ background: url('/modules/docustyle/images/corner-dddddd.png') right top no-repeat;
}
-.tab-selected a span {
- background-color: #BBBBCC;
+.tab a:hover span, .tab-selected a span {
+ background-color: #AAAABB;
color: #333344;
}
@@ -184,7 +185,7 @@
#search {
float: right;
- background-color: #DDDDDD;
+ background-color: #CCCCDD;
/*
*/
}
@@ -234,6 +235,7 @@
}
#main {
+ clear: left;
}
.crossheading {
@@ -267,8 +269,8 @@
#apacheBreadcrumb {
font-size: 10pt;
- background-color: #DDDDDD;
/*
+ background-color: #DDDDDD;
border-bottom: solid 1px #D0D0D0;
*/
padding: .3em 1em;
Added: lenya/sandbox/modules/docustyle/resources/images/corner-dddddd.png
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/resources/images/corner-dddddd.png?rev=591943&view=auto
==============================================================================
Binary file - no diff available.
Propchange: lenya/sandbox/modules/docustyle/resources/images/corner-dddddd.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: lenya/sandbox/modules/docustyle/resources/images/gradient.png
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/resources/images/gradient.png?rev=591943&view=auto
==============================================================================
Binary file - no diff available.
Propchange: lenya/sandbox/modules/docustyle/resources/images/gradient.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: lenya/sandbox/modules/docustyle/resources/images/project-logo-small.png
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/resources/images/project-logo-small.png?rev=591943&r1=591942&r2=591943&view=diff
==============================================================================
Binary files - no diff available.
Modified: lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl?rev=591943&r1=591942&r2=591943&view=diff
==============================================================================
--- lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl (original)
+++ lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl Mon Nov 5 02:07:04 2007
@@ -89,16 +89,18 @@
<body>
<div id="page">
<xsl:apply-templates select="xhtml:div[@id = 'search']"/>
- <div id="apacheBreadcrumb">
- <a href="http://www.apache.org">Apache</a> » <a href="http://lenya.apache.org">Lenya</a>
- </div>
<div id="header">
- <div id="projectLogo">
- <a href="{$root}/"><img src="/modules/docustyle/images/project-logo-small.png" alt="project logo"/></a>
+ <div id="apacheBreadcrumb">
+ <a href="http://www.apache.org">Apache</a> » <a href="http://lenya.apache.org">Lenya</a>
+ </div>
+ <div id="logo">
+ <div id="projectLogo">
+ <a href="{$root}/"><img src="/modules/docustyle/images/project-logo-small.png" alt="project logo"/></a>
+ </div>
+ <div id="tagline">Open Source Content Management</div>
</div>
- <div id="tagline">Open Source Content Management</div>
+ <xsl:apply-templates select="xhtml:ul[@id = 'tabs']"/>
</div>
- <xsl:apply-templates select="xhtml:ul[@id = 'tabs']"/>
<!--
-->
<div id="main">