You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/09/03 12:01:25 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/resources/css tabs.css
andreas 2003/09/03 03:01:25
Modified: src/webapp/lenya/xslt/info info.xsl root.xsl
src/webapp/lenya/resources/css tabs.css
Log:
improved tab styling
Revision Changes Path
1.34 +26 -53 cocoon-lenya/src/webapp/lenya/xslt/info/info.xsl
Index: info.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/info/info.xsl,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- info.xsl 2 Sep 2003 20:23:27 -0000 1.33
+++ info.xsl 3 Sep 2003 10:01:25 -0000 1.34
@@ -26,62 +26,35 @@
</xsl:call-template>
</head>
<body>
- <style>
- .lenya-tab {
- width: auto;
- font-family: verdana, sans-serif;
- font-size: x-small;
- background-color: #F5F4E9;
- padding: 20px;
- color: black;
- border: solid 1px #CCCCCC;
- position: relative;
- top: 1px;
-}
-
-.lenya-tablink {
- color: #666666;
- font-size: x-small;
- display: inline; /*mandatory*/
- margin-right: .5em;
- padding: 0px 1em;
- position: relative;
- top: 1px;
-
- text-decoration: none;
-
- background-color: #DDDCCF;
- border: solid 1px #CCCCCC;
-}
-
-.lenya-tablink-active {
- color: black;
- font-size: x-small;
- display: inline; /*mandatory*/
- margin-right: .5em;
- padding: 0px 1em;
- position: relative;
- top: 1px;
-
- text-decoration: none;
-
- background-color: #F5F4E9;
- border: solid 1px #CCCCCC;
- border-bottom: solid 1px #F5F4E9;
- z-index: 1;
-}
- </style>
<!--
These are the tabs. Make sure that each of them has the correct id,
target and corresponding number in the Tab() call.
-->
- <a><xsl:call-template name="activate"><xsl:with-param name="currenttab">overview</xsl:with-param></xsl:call-template>Overview</a>
- <a><xsl:call-template name="activate"><xsl:with-param name="currenttab">meta</xsl:with-param></xsl:call-template>Meta</a>
- <a><xsl:call-template name="activate"><xsl:with-param name="currenttab">assets</xsl:with-param></xsl:call-template>Assets</a>
- <a><xsl:call-template name="activate"><xsl:with-param name="currenttab">workflow</xsl:with-param></xsl:call-template>Workflow</a>
- <a><xsl:call-template name="activate"><xsl:with-param name="currenttab">revisions</xsl:with-param></xsl:call-template>Revisions</a>
- <a><xsl:call-template name="activate"><xsl:with-param name="currenttab">ac-authoring</xsl:with-param></xsl:call-template>AC Auth</a>
- <a><xsl:call-template name="activate"><xsl:with-param name="currenttab">ac-live</xsl:with-param></xsl:call-template>AC Live</a>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td>
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><a><xsl:call-template name="activate"><xsl:with-param name="currenttab">overview</xsl:with-param></xsl:call-template>Overview</a></td>
+ <td><div class="lenya-tab-separator"/></td>
+ <td><a><xsl:call-template name="activate"><xsl:with-param name="currenttab">meta</xsl:with-param></xsl:call-template>Meta</a></td>
+ <td><div class="lenya-tab-separator"/></td>
+ <td><a><xsl:call-template name="activate"><xsl:with-param name="currenttab">assets</xsl:with-param></xsl:call-template>Assets</a></td>
+ <td><div class="lenya-tab-separator"/></td>
+ <td><a><xsl:call-template name="activate"><xsl:with-param name="currenttab">workflow</xsl:with-param></xsl:call-template>Workflow</a></td>
+ <td><div class="lenya-tab-separator"/></td>
+ <td><a><xsl:call-template name="activate"><xsl:with-param name="currenttab">revisions</xsl:with-param></xsl:call-template>Revisions</a></td>
+ <td><div class="lenya-tab-separator"/></td>
+ <td><a><xsl:call-template name="activate"><xsl:with-param name="currenttab">ac-authoring</xsl:with-param></xsl:call-template>AC Auth</a></td>
+ <td><div class="lenya-tab-separator"/></td>
+ <td><a><xsl:call-template name="activate"><xsl:with-param name="currenttab">ac-live</xsl:with-param></xsl:call-template>AC Live</a></td>
+ </tr>
+ </table>
+ </td>
+ <td><div class="lenya-tab-separator"/></td>
+ </tr>
+ </table>
+
<!--
These are the different content blocks of the tabs, each one needs to
1.23 +1 -67 cocoon-lenya/src/webapp/lenya/xslt/info/root.xsl
Index: root.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/info/root.xsl,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- root.xsl 3 Sep 2003 09:14:51 -0000 1.22
+++ root.xsl 3 Sep 2003 10:01:25 -0000 1.23
@@ -67,72 +67,6 @@
]]>
}
</script>
-<style>
-#lenya-info-tree {
- font-size: 8px;
- font-family: verdana,helvetica, sans-serif;
- text-decoration: none;
- color: black;
- background-color: transparent;
-}
-
-#lenya-info-tree a:hover {
- color: #FF3333;
- background-color: transparent;
-}
-
-#lenya-info-tree td {
- font-size: 8px;
- font-family: verdana,helvetica, sans-serif;
-}
-
-#lenya-info-treecanvas { border: dotted 1px #CCCCCC; width: 200px; float: left; padding: 10px; margin: 2px; font-size: 8pt; }
-#lenya-info-content { height: 600px; width: 700px; float: left; }
-
- .lenya-tab {
- width: auto;
- font-family: verdana, sans-serif;
- font-size: x-small;
- background-color: #F5F4E9;
- padding: 20px;
- color: black;
- border: solid 1px #CCCCCC;
- position: relative;
- top: 1px;
-}
-
-.lenya-tablink {
- color: #666666;
- font-size: x-small;
- display: inline; /*mandatory*/
- margin-right: .5em;
- padding: 0px 1em;
- position: relative;
- top: 1px;
-
- text-decoration: none;
-
- background-color: #DDDCCF;
- border: solid 1px #CCCCCC;
-}
-
-.lenya-tablink-active {
- color: black;
- font-size: x-small;
- display: inline; /*mandatory*/
- margin-right: .5em;
- padding: 0px 1em;
- position: relative;
- top: 1px;
-
- text-decoration: none;
-
- background-color: #F5F4E9;
- border: solid 1px #CCCCCC;
- border-bottom: solid 1px #F5F4E9;
- z-index: 1;
-}
-</style>
</head>
<body>
1.8 +4 -11 cocoon-lenya/src/webapp/lenya/resources/css/tabs.css
Index: tabs.css
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/resources/css/tabs.css,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- tabs.css 3 Sep 2003 09:14:27 -0000 1.7
+++ tabs.css 3 Sep 2003 10:01:25 -0000 1.8
@@ -3,7 +3,7 @@
.lenya-tab {
width: auto;
font-family: verdana, sans-serif;
- font-size: x-small;
+ font-size: small;
background-color: #F5F4E9;
padding: 20px;
color: black;
@@ -14,7 +14,7 @@
.lenya-tablink {
color: #666666;
- font-size: x-small;
+ font-size: 10pt;
display: inline; /*mandatory*/
margin-right: .5em;
padding: 0px 1em;
@@ -29,7 +29,7 @@
.lenya-tablink-active {
color: black;
- font-size: x-small;
+ font-size: 10pt;
display: inline; /*mandatory*/
margin-right: .5em;
padding: 0px 1em;
@@ -45,21 +45,14 @@
}
#lenya-info-tree {
- font-size: 8pt;
font-family: verdana,helvetica, sans-serif;
text-decoration: none;
color: black;
background-color: transparent;
}
-#lenya-info-tree a:hover {
- color: #FF3333;
- background-color: transparent;
-}
-
#lenya-info-tree td {
- font-size: 8pt;
- font-family: verdana,helvetica, sans-serif;
+ font-family: verdana, helvetica, sans-serif;
}
#lenya-info-treecanvas { border: dotted 1px #CCCCCC; width: 200px; float: left; padding: 10px; margin: 2px; font-size: 8pt; }
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org