You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by fe...@apache.org on 2006/05/19 19:25:03 UTC

svn commit: r407857 - in /forrest/trunk: main/webapp/skins/pelt/css/screen.css main/webapp/skins/pelt/xslt/html/tab-to-menu.xsl site-author/skinconf.xml

Author: ferdinand
Date: Fri May 19 10:25:03 2006
New Revision: 407857

URL: http://svn.apache.org/viewvc?rev=407857&view=rev
Log:
Attempt to improve pelt-skin and site-authors use of it.

Modified:
    forrest/trunk/main/webapp/skins/pelt/css/screen.css
    forrest/trunk/main/webapp/skins/pelt/xslt/html/tab-to-menu.xsl
    forrest/trunk/site-author/skinconf.xml

Modified: forrest/trunk/main/webapp/skins/pelt/css/screen.css
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/pelt/css/screen.css?rev=407857&r1=407856&r2=407857&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/pelt/css/screen.css (original)
+++ forrest/trunk/main/webapp/skins/pelt/css/screen.css Fri May 19 10:25:03 2006
@@ -152,6 +152,12 @@
     width: .1em; /* IE/Win fix */
 }
 
+#tabs li a:hover {
+   
+    cursor: pointer;
+    text-decoration:underline;
+}
+
 #tabs > li a { width: auto; } /* Rest of IE/Win fix */
 
 /* Commented Backslash Hack hides rule from IE5-Mac \*/
@@ -188,6 +194,27 @@
 margin: 0;
 float:left;
 position:relative;
+
+}
+
+
+
+#level2tabs  a:hover {
+   
+    cursor: pointer;
+    text-decoration:underline;
+    
+}
+
+#level2tabs  a{
+   
+    cursor: pointer;
+    text-decoration:none;
+    background-image: url('images/chapter.gif');
+    background-repeat: no-repeat;
+    background-position: left 3px;
+    padding-left: 6px;
+    margin-left: 6px;
 }
 
 /*
@@ -252,10 +279,10 @@
 /**
  * Side menu
  */
-#menu a {  font-weight: normal;}
+#menu a {  font-weight: normal; text-decoration: none;}
 #menu a:visited {  font-weight: normal; }
 #menu a:active {  font-weight: normal; }
-#menu a:hover {  font-weight: normal; }
+#menu a:hover {  font-weight: normal;  text-decoration:underline;}
 
 #menuarea { width:10em;}
 #menu {
@@ -268,6 +295,7 @@
     z-index: 20;
     background-color: #f90;
     font-size : 70%;
+    
 }
 
 .menutitle {
@@ -276,43 +304,50 @@
         margin-left: 10px;
         background-image: url('images/chapter.gif');
         background-repeat: no-repeat;
-        background-position: center left;
+        background-position: left 6px;
         font-weight : bold;
+
+        
 }
 
+.menutitle:hover{text-decoration:underline;cursor: pointer;}
+
 #menu .menuitemgroup {
         margin: 0px 0px 6px 8px;
         padding: 0px;
         font-weight : bold; }
 
 #menu .selectedmenuitemgroup{
-        margin: 0px 0px 6px 8px;
+        margin: 0px 0px 0px 8px;
         padding: 0px;
-        font-weight : bold; }
+        font-weight : normal; 
+       
+        }
 
 #menu .menuitem {
-        padding: 0px 0px 2px 12px;
+        padding: 2px 0px 1px 13px;
         background-image: url('images/page.gif');
         background-repeat: no-repeat;
-        background-position: center left;
+        background-position: left 5px;
         font-weight : normal;
         margin-left: 10px;
 }
 
 #menu .menupage {
-        margin: 5px 0px 5px 10px;
+        margin: 2px 0px 1px 10px;
         padding: 0px 3px 0px 12px;
-        background-image: url('images/current.gif');
+        background-image: url('images/page.gif');
         background-repeat: no-repeat;
-        background-position: top left;
+        background-position: left 4px;
         font-style : normal;
 }
 #menu .menupagetitle {
-        padding: 0px 0px 0px 6px;
+        padding: 0px 0px 0px 1px;
         font-style : normal;
         border-style: solid;
         border-width: 1px;
         margin-right: 10px;
+         
 }
 #menu .menupageitemgroup {
         padding: 3px 0px 4px 6px;

Modified: forrest/trunk/main/webapp/skins/pelt/xslt/html/tab-to-menu.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/pelt/xslt/html/tab-to-menu.xsl?rev=407857&r1=407856&r2=407857&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/pelt/xslt/html/tab-to-menu.xsl (original)
+++ forrest/trunk/main/webapp/skins/pelt/xslt/html/tab-to-menu.xsl Fri May 19 10:25:03 2006
@@ -63,6 +63,9 @@
   <xsl:template name="separator">
   </xsl:template>
 
+    <xsl:template name="level2-separator">
+    </xsl:template>    
+    
   <xsl:template name="selected">
 	<li class="current"><xsl:call-template name="base-selected"/></li>
   </xsl:template>

Modified: forrest/trunk/site-author/skinconf.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/skinconf.xml?rev=407857&r1=407856&r2=407857&view=diff
==============================================================================
--- forrest/trunk/site-author/skinconf.xml (original)
+++ forrest/trunk/site-author/skinconf.xml Fri May 19 10:25:03 2006
@@ -174,9 +174,9 @@
 
     <color name="header"    value="#294563"/>
 
-    <color name="tab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+      <color name="tab-selected" value="#4a6d8c" link="#cedfef" vlink="#cedfef" hlink="#cedfef"/>
     <color name="tab-unselected" value="#b5c7e7" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-    <color name="subtab-selected" value="#4a6d8c" link="#cedfef" vlink="#cedfef" hlink="#000066"/>
+      <color name="subtab-selected" value="#4a6d8c" link="#cedfef" vlink="#cedfef" hlink="#cedfef"/>
     <color name="subtab-unselected" value="#4a6d8c" link="#cedfef" vlink="#cedfef" hlink="#000066"/>
 
     <color name="heading" value="#294563"/>
@@ -186,8 +186,8 @@
     <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
 	        
     <color name="navstrip" value="#4a6d8c" font="#ffffff" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-    <color name="toolbox" value="#4a6d8c"/>
-    <color name="border" value="#294563"/>
+      <color name="toolbox" value="#cedfef" font="#000000"/>
+      <color name="border" value="#cedfef"/>
     
     <color name="menu" value="#4a6d8c" font="#cedfef" link="#ffffff" vlink="#ffffff" hlink="#ffcf00"/>