forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: rev 46190 - in forrest/trunk/src/core/context/skins/leather-dev: css xslt/html
Date Thu, 16 Sep 2004 17:03:30 GMT
Author: thorsten
Date: Thu Sep 16 10:03:29 2004
New Revision: 46190

Added:
   forrest/trunk/src/core/context/skins/leather-dev/css/base.css   (contents, props changed)
   forrest/trunk/src/core/context/skins/leather-dev/css/profiling.css.xslt   (contents, props
changed)
Modified:
   forrest/trunk/src/core/context/skins/leather-dev/css/branding.css
   forrest/trunk/src/core/context/skins/leather-dev/css/navigation.css
   forrest/trunk/src/core/context/skins/leather-dev/xslt/html/site2xhtml.xsl
   forrest/trunk/src/core/context/skins/leather-dev/xslt/html/tab2menu.xsl
Log:
cleaned up the naming and overall structure of leather

Added: forrest/trunk/src/core/context/skins/leather-dev/css/base.css
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/skins/leather-dev/css/base.css	Thu Sep 16 10:03:29 2004
@@ -0,0 +1,282 @@
+/*
+CSS-Contracts
+*/
+#container {
+/* Page container makes it possible to have an overall sourrounding box in the pages.
+*/
+background-color: #7099C5;
+padding: 10px;
+border-top: solid 1px black;
+border-bottom: solid 1px black;
+border-right: solid 1px black;
+border-left: solid 1px black;
+margin: 5px;
+}
+
+/**
+* Round corner
+*/
+.roundtop { 
+    background-image: url(images/rc-t-r-15-1body-2menu-3menu.png);
+    background-repeat: no-repeat;
+    background-position: top right;
+}
+
+.roundbottom {
+    background-image: url(images/rc-b-r-15-1body-2menu-3menu.png);
+    background-repeat: no-repeat;
+    background-position: bottom right;
+}
+.roundbottom-left {
+    background-image: url(images/rc-b-l-15-1body-2menu-3menu.png);
+    background-repeat: no-repeat;
+    background-position: bottom left;
+}
+.roundtopsmall { 
+    background-image: url(images/rc-t-r-5-1header-2searchbox-3searchbox.png);
+    background-repeat: no-repeat;
+    background-position: top right;    
+}
+
+.roundbottomsmall {
+    background-image: url(images/rc-b-r-5-1header-2tab-selected-3tab-selected.png);
+    background-repeat: no-repeat;
+    background-position: top right;
+}
+/*
+#search
+Related to search interface and search results
+
+#search-input
+Search form container
+*/
+html>body .search-input {
+bottom: 0px;
+}
+ .search-input {
+/*Related to search interface and search results
+*/
+ position: absolute;
+/*float:right;*/
+    right: 10px;
+    height: 42px;
+    font-size: 70%;
+    white-space: nowrap;
+    text-align: right;
+    color: white;
+    background-color: #000000;
+    z-index:0;
+    background-image: url(images/rc-t-l-5-1header-2searchbox-3searchbox.png);
+    background-repeat: no-repeat;
+    background-position: top left;    
+    bottom: -1px; /* compensate for IE rendering issue */
+}
+
+ .search-input form {
+padding: 5px 10px;
+margin: 0;
+}
+ .search-input p {
+padding: 0 0 2px 0;
+margin: 0;
+}
+
+
+#content-main{
+/*The main content area
+*/
+padding: 20px 20px 0px 180px;
+margin: 0;
+font : small Verdana, Helvetica, sans-serif;  
+font-size : 80%; 
+background-color: #fff;
+/* */
+/*border-style: solid;
+border-color: #000;
+border-left: 2px;
+border-right: 2px;*/
+
+
+border: solid 1px black;
+}
+#siteinfo-credits{
+/*Designer or other credits
+*/
+margin: 10px;
+padding: 5px;
+text-align: center;
+border-style: dashed;
+border-width: medium;/* sets border width on all sides */
+border-color: black;
+}
+#siteinfo{
+/*A supplementary list of links
+*/
+clear: both;
+/*position: relative; *//* IE bugfix (http://www.dracos.co.uk/web/css/ie6floatbug/) */
+width: 100%;
+background-color: #CFDCED;
+border: solid 1px black;
+color: black;
+font-size: 90%;
+padding: 0px;
+margin: 0px;
+}
+#siteinfo .siteinfo-legal{
+/*Copyright information etc.
+*/
+/*position: relative; *//* IE bugfix cont'd */
+/*padding: 5px;*/
+margin-top: 5px;
+margin-left: 5px;
+width: 45%;
+/*background: yellow;*/
+/*float: left;*/
+}
+#siteinfo .lastmodified{
+/*position: relative;*/ /* IE bugfix cont'd */
+float: right;
+/*width: 45%;*/
+/*padding: 5px;*/
+margin-top: 5px;
+margin-right:5px;
+padding-right: 5px;
+text-align: right;
+}
+#feedback {
+color: #fff;
+background-color: #294563;
+text-align:center;
+margin-top: 5px;
+}
+#feedback #feedbackto {
+font-size: 90%;
+color: #fff;
+}
+#content-pdf{
+/*The pdf link for the content*/
+	float: right;
+	margin: 0;
+	padding: 0;
+}
+#content-pdf br {
+	margin-top: -10px;
+	padding-left: 1px;
+}
+#content-pdf a {
+	display: block;
+	font-size: 90%;
+	text-align: center;
+	margin: 0;
+	padding: 0;
+}
+
+#content-pdf img {
+	display: block;
+	height: 32px;
+	width: 32px;
+}
+/*
+#nav-section-current
+Navigation to page within the current site section that is currently 
+selected.
+*/
+
+/*
+#nav-main
+Main or primary navigation AKA tabs.
+
+#nav-main-current
+Main or primary navigation that is currently selected.
+
+#nav-main-sub
+Secondary navigation AKA level2.
+
+
+#search-input-ax
+Search form container in alternativ location. x stands for a variable 
+that represents the number of the alternativ.
+
+#branding-logo-project
+Used for the projectlogo.
+
+#branding-logo-project-ax
+Used for the projectlogo in alternativ location. x stands for a variable 
+that represents the number of the alternativ.
+
+#branding-tagline
+Used for a strapline or tagline to define the site's purpose. Can be as 
+well used for site slogans.
+
+#branding-trail
+Used for a trail or tagline to define the site's purpose
+
+#branding-published-ax
+Used for the last published note of the site in alternativ location. x 
+stands for a variable that represents the number of the alternativ.
+
+
+#search-output
+Search results which could include a <div> or other markup
+including definition lists
+
+#nav or #navigation
+Used to contain the navigation devices
+
+#nav-main
+Main or primary navigation AKA tabs.
+
+#nav-main-current
+Main or primary navigation that is currently selected.
+
+#nav-main-sub
+Secondary navigation AKA level2.
+
+#nav-section
+Navigation to pages within the current site section AKA menu.
+
+#nav-section-current
+Navigation to page within the current site section that is currently 
+selected.
+
+#nav-supplementary or #nav-supp
+A supplementary list of links, perhaps in a footer. This can
+replace the common, but presentational #footer
+
+#nav-supp-feedback
+A feedback link like mentioned in 
+http://issues.apache.org/eyebrowse/ReadMsg?listName=forrest-user@xml.apache.org&msgNo=71.
+
+#content
+Used for content rather than for another purpose such as navigation
+
+#content-main
+The main content area
+
+#content-pdf
+The pdf link for the content
+
+#content-xml
+The xml link for the content
+
+#content-fixme
+Fixme related content
+
+#content-warning
+Warning related content
+
+#content-note
+Note related content
+
+#content-code
+Code related content
+
+#siteinfo
+Used for various site related information
+
+#siteinfo-legal
+Copyright information etc.
+
+#siteinfo-credits
+Designer or other credits
+*/

Modified: forrest/trunk/src/core/context/skins/leather-dev/css/branding.css
==============================================================================
--- forrest/trunk/src/core/context/skins/leather-dev/css/branding.css	(original)
+++ forrest/trunk/src/core/context/skins/leather-dev/css/branding.css	Thu Sep 16 10:03:29
2004
@@ -4,7 +4,7 @@
 position: relative;
 float: left;
 width: 100%;
-background-color: #294563; 
+background-color: #fff; 
 
 }
 #branding-trail{

Modified: forrest/trunk/src/core/context/skins/leather-dev/css/navigation.css
==============================================================================
--- forrest/trunk/src/core/context/skins/leather-dev/css/navigation.css	(original)
+++ forrest/trunk/src/core/context/skins/leather-dev/css/navigation.css	Thu Sep 16 10:03:29
2004
@@ -110,7 +110,7 @@
 }
 
 #nav-section .roundbottom {
-padding-bottom: 10px;
+padding-bottom: 5px;
 }
 
 .nav-section-title { 

Added: forrest/trunk/src/core/context/skins/leather-dev/css/profiling.css.xslt
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/skins/leather-dev/css/profiling.css.xslt	Thu Sep 16 10:03:29
2004
@@ -0,0 +1,196 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:import href="../../common/css/forrest.css.xslt"/>
+
+  <!-- This is not used by Forrest but makes it possible to debug the 
+       stylesheet in standalone editors -->
+  <xsl:output method = "text"  omit-xml-declaration="yes"  />
+  
+<!-- ==================== main block colors ============================ -->
+
+<!--xsl:template match="color[@name='header']">
+#top          { background-color: <xsl:value-of select="@value"/>;}  
+</xsl:template>
+
+<xsl:template match="color[@name='tab-selected']"> 
+#top .header .current { background-color: <xsl:value-of select="@value"/>;} 
+#top .header .current a:link {  color: <xsl:value-of select="@link"/>;  }
+#top .header .current a:visited { color: <xsl:value-of select="@vlink"/>; }
+#top .header .current a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template> 
+
+<xsl:template match="color[@name='tab-unselected']"> 
+#tabs li      { background-color: <xsl:value-of select="@value"/> ;} 
+#tabs li a:link {  color: <xsl:value-of select="@link"/>;  }
+#tabs li a:visited { color: <xsl:value-of select="@vlink"/>; }
+#tabs li a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template--> 
+
+<!--xsl:template match="color[@name='subtab-selected']">
+.level2tabstrip a:link {  color: <xsl:value-of select="@link"/>;  }
+.level2tabstrip a:visited { color: <xsl:value-of select="@vlink"/>; }
+.level2tabstrip a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template> 
+
+<xsl:template match="color[@name='subtab-unselected']">
+.level2tabstrip { background-color: <xsl:value-of select="@value"/>;}
+.datenote { background-color: <xsl:value-of select="@value"/>;} 
+.level2tabstrip.unselected a:link {  color: <xsl:value-of select="@link"/>;  }
+.level2tabstrip.unselected a:visited { color: <xsl:value-of select="@vlink"/>; }
+.level2tabstrip.unselected a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template> 
+
+<xsl:template match="color[@name='heading']">
+.heading { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template--> 
+
+<!--xsl:template match="color[@name='subheading']">
+.boxed { background-color: <xsl:value-of select="@value"/>;} 
+.underlined_5 	{border-bottom: solid 5px <xsl:value-of select="@value"/>;}
+.underlined_10 	{border-bottom: solid 10px <xsl:value-of select="@value"/>;}
+table caption { 
+	background-color: <xsl:value-of select="@value"/>; 
+	color: <xsl:value-of select="@font"/>;
+}
+</xsl:template> 
+<xsl:template match="color[@name='feedback']">    
+#feedback {
+	color: <xsl:value-of select="@font"/>;
+	background: <xsl:value-of select="@value"/>;
+	text-align: <xsl:value-of select="@align"/>;
+}
+#feedback #feedbackto {
+	color: <xsl:value-of select="@font"/>;
+}   
+</xsl:template>
+<xsl:template match="color[@name='published']">
+#published { 
+    color: <xsl:value-of select="@font"/>;
+    background: <xsl:value-of select="@value"/>; 
+}
+</xsl:template> 
+
+<xsl:template match="color[@name='navstrip']">
+#main .breadtrail {
+	background: <xsl:value-of select="@value"/>; 
+	color: <xsl:value-of select="@font"/>;
+}
+#main .breadtrail a:link {  color: <xsl:value-of select="@link"/>;  }
+#main .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
+#main .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
+#top .breadtrail {
+	background: <xsl:value-of select="@value"/>; 
+	color: <xsl:value-of select="@font"/>;
+}
+#top .breadtrail a:link {  color: <xsl:value-of select="@link"/>;  }
+#top .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
+#top .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
+
+</xsl:template> 
+
+<xsl:template match="color[@name='toolbox']">
+#menu .menupagetitle  { background-color: <xsl:value-of select="@value"/>}
+</xsl:template> 
+
+<xsl:template match="color[@name='border']">
+#menu           { border-color: <xsl:value-of select="@value"/>;}
+#menu .menupagetitle  { border-color: <xsl:value-of select="@value"/>;}
+#menu .menupageitemgroup  { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template> 
+
+<xsl:template match="color[@name='menu']">
+#menu      { background-color: <xsl:value-of select="@value"/>;} 
+#menu  {  color: <xsl:value-of select="@font"/>;} 
+#menu a:link {  color: <xsl:value-of select="@link"/>;} 
+#menu a:visited {  color: <xsl:value-of select="@vlink"/>;} 
+#menu a:hover {  background-color: <xsl:value-of select="@value"/>;
+                 color: <xsl:value-of select="@hlink"/>;} 
+#menu .menupagetitle  { color: <xsl:value-of select="@hlink"/>;}     
+</xsl:template> 
+<xsl:template match="color[@name='dialog']"> 
+#menu .menupageitemgroup     { 
+	background-color: <xsl:value-of select="@value"/>;
+}
+#menu .menupageitem {
+	color: <xsl:value-of select="@font"/>;
+} 
+</xsl:template--> 
+<!--xsl:template match="color[@name='menuheading']">
+#menu h1 {
+    color: <xsl:value-of select="@font"/>;
+    background-color: <xsl:value-of select="@value"/>;
+}   
+</xsl:template--> 
+<!--xsl:template match="color[@name='searchbox']"> 
+#top .searchbox { 
+    background-color: <xsl:value-of select="@value"/> ;
+    color: <xsl:value-of select="@font"/>; 
+} 
+</xsl:template-->
+
+<!--xsl:template match="color[@name='body']">
+body         { background-color: <xsl:value-of select="@value"/>;
+               color: <xsl:value-of select="@font"/>;} 
+a:link { color:<xsl:value-of select="@link"/>} 
+a:visited { color:<xsl:value-of select="@vlink"/>} 
+a:hover { color:<xsl:value-of select="@hlink"/>} 
+.menupage a:link { background-color: <xsl:value-of select="@value"/>;
+                                color:<xsl:value-of select="@link"/>} 
+.menupage a:visited { background-color: <xsl:value-of select="@value"/>;
+                                color:<xsl:value-of select="@vlink"/>} 
+.menupage a:hover { background-color: <xsl:value-of select="@value"/>;
+                                color:<xsl:value-of select="@hlink"/>} 
+</xsl:template-->
+
+<!--xsl:template match="color[@name='footer']"> 
+#footer       { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template--> 
+
+
+<!-- ==================== other colors ============================ -->
+<!--xsl:template match="color[@name='highlight']"> 
+.highlight        { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='fixme']"> 
+.fixme        { border-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='note']"> 
+.note         { border-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='warning']"> 
+.warning         { border-color: <xsl:value-of select="@value"/>;} 
+</xsl:template>
+
+<xsl:template match="color[@name='code']"> 
+.code         { border-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='table']"> 
+.ForrestTable      { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='table-cell']"> 
+.ForrestTable td   { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template--> 
+
+
+</xsl:stylesheet>
\ No newline at end of file

Modified: forrest/trunk/src/core/context/skins/leather-dev/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/leather-dev/xslt/html/site2xhtml.xsl	(original)
+++ forrest/trunk/src/core/context/skins/leather-dev/xslt/html/site2xhtml.xsl	Thu Sep 16 10:03:29
2004
@@ -59,8 +59,8 @@
 <!--+
   |stylesheets
   +-->
-            <link rel="stylesheet" href="{$root}skin/basic.css" type="text/css" 
-                />
+<!--            <link rel="stylesheet" href="{$root}skin/basic.css" type="text/css"

+                />-->
   <!--         <link rel="stylesheet" href="{$root}skin/screen.css" 
                 type="text/css" media="screen" />
             <link rel="stylesheet" href="{$root}skin/print.css" type="text/css" 
@@ -69,9 +69,9 @@
                 type="text/css" /> 
             <link rel="stylesheet" href="{$root}skin/branding.css" 
                 type="text/css" /> 
-            <link rel="stylesheet" href="{$root}skin/xnc-base.css" 
+            <link rel="stylesheet" href="{$root}skin/base.css" 
                 type="text/css" />
-            <link rel="stylesheet" href="{$root}skin/xnc.css" 
+            <link rel="stylesheet" href="{$root}skin/profiling.css" 
                 type="text/css" />
 <!--+
   |Javascripts
@@ -209,7 +209,7 @@
   |centerstrip with menu and mainarea
   +-->
         <div id="branding-tagline">
-<xsl:apply-templates select="div[@id='nav-main-level2tabs']"/>
+<xsl:apply-templates select="div[@id='nav-main-sub']"/>
            <script language="JavaScript" type="text/javascript"><![CDATA[<!--
               document.write("Published: " + document.lastModified);
               //  -->]]></script>
@@ -249,7 +249,7 @@
 <!--+
   |bottomstrip with footer
   +-->
-    <div id="nav-supp">
+    <div id="siteinfo">
 <xsl:comment>+
     |start bottomstrip
     +</xsl:comment>

Modified: forrest/trunk/src/core/context/skins/leather-dev/xslt/html/tab2menu.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/leather-dev/xslt/html/tab2menu.xsl	(original)
+++ forrest/trunk/src/core/context/skins/leather-dev/xslt/html/tab2menu.xsl	Thu Sep 16 10:03:29
2004
@@ -47,7 +47,7 @@
   		<xsl:call-template name="base-tabs"/>
   	</ul>
     <xsl:if test="tab[@dir=$longest-dir]/tab">
-      <div id="nav-main-level2tabs">
+      <div id="nav-main-sub">
         <xsl:call-template name="level2tabs"/>
       </div>
     </xsl:if>

Mime
View raw message