You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ck...@apache.org on 2008/03/26 20:22:41 UTC

svn commit: r641499 - in /myfaces/maven/trunk/myfaces-site-skin/src/main/resources: css/maven-theme.css img/banners/MyFaces_logo.png img/banners/transparent.gif img/slices/transparent.gif

Author: ckormos
Date: Wed Mar 26 12:22:40 2008
New Revision: 641499

URL: http://svn.apache.org/viewvc?rev=641499&view=rev
Log:
added MyFaces .png transparent logo image.
fixed style for second level of expandable navigation menus.
add transparent.gif to all image folders (png-fix.htc requires this), this fixes some issues with IE, like shrinking images and displaying image missing link over some images.

Added:
    myfaces/maven/trunk/myfaces-site-skin/src/main/resources/img/banners/MyFaces_logo.png   (with props)
    myfaces/maven/trunk/myfaces-site-skin/src/main/resources/img/banners/transparent.gif   (with props)
    myfaces/maven/trunk/myfaces-site-skin/src/main/resources/img/slices/transparent.gif   (with props)
Modified:
    myfaces/maven/trunk/myfaces-site-skin/src/main/resources/css/maven-theme.css

Modified: myfaces/maven/trunk/myfaces-site-skin/src/main/resources/css/maven-theme.css
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/myfaces-site-skin/src/main/resources/css/maven-theme.css?rev=641499&r1=641498&r2=641499&view=diff
==============================================================================
--- myfaces/maven/trunk/myfaces-site-skin/src/main/resources/css/maven-theme.css (original)
+++ myfaces/maven/trunk/myfaces-site-skin/src/main/resources/css/maven-theme.css Wed Mar 26 12:22:40 2008
@@ -6,7 +6,7 @@
  * to you 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
- *                         ../slices
+ *                         
  *   http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing,
@@ -103,7 +103,7 @@
 }
 
 /* IE fixes ----------------------------------------------------------------- */
-	/* Fluid layout constraints ----------------------------------------- */
+/* Fluid layout constraints ----------------------------------------- */
 #main_container,#top_menu_container,#logo_banner_container,.copyright {
 	max-width: 1200px;
 	min-width: 950px;
@@ -243,7 +243,7 @@
 	background: url("../img/slices/top_menu_hover.png") repeat-x top;
 }
 
-/* left menu ---------------------------------------------------------------- */
+/* left menu - first level menu --------------------------------------------- */
 .left_menu_top h5 {
 	padding: 26px 20px 0px 25px;
 	font-size: 1em;
@@ -270,8 +270,7 @@
 }
 
 ul.left_menu li.none a:hover {
-	background: url("../img/slices/left_menu_option_hover.gif") no-repeat
-		left;
+	background: url("../img/slices/left_menu_option_hover.gif") no-repeat left;
 }
 
 ul.left_menu li.none a.selected {
@@ -280,9 +279,13 @@
 }
 
 ul.left_menu li.expanded a {
-	font-weight: bold;
-	background: url("../img/slices/left_menu_expand_selected.gif") no-repeat
-		left;
+  	font-weight: bold;
+  	margin-left: 0px;
+	background: url("../img/slices/left_menu_expand_selected.gif") no-repeat left;
+}
+
+ul.left_menu li.expanded a:hover {
+	background: url("../img/slices/left_menu_expand_hover.gif") no-repeat left;
 }
 
 ul.left_menu li.collapsed a {
@@ -290,17 +293,11 @@
 	background: url("../img/slices/left_menu_expand.gif") no-repeat left;
 }
 
-ul.left_menu li.expanded a:hover {
-	background: url("../img/slices/left_menu_expand_hover.gif") no-repeat
-		left;
-}
-
 ul.left_menu li.collapsed a:hover {
-	background: url("../img/slices/left_menu_expand_hover.gif") no-repeat
-		left;
+	background: url("../img/slices/left_menu_expand_hover.gif") no-repeat left;
 }
 
-/* left submenu ------------------------------------------------------------- */
+/* left menu - second level menu ------------------------------------------- */
 ul.left_menu ul {
 	list-style-type: none;
 	padding: 0px 0px 10px 10px;
@@ -315,16 +312,63 @@
 	background: none;
 }
 
+ul.left_menu li.expanded ul li.expanded a {
+	font-weight: bold;
+	background: url("../img/slices/left_menu_expand_selected.gif") no-repeat left;
+}
+
+ul.left_menu li.expanded ul li.expanded a:hover {
+  background: url("../img/slices/left_menu_expand_hover.gif") no-repeat left;
+}
+
+ul.left_menu li.expanded ul li.collapsed a {
+	font-weight: normal;
+	background: url("../img/slices/left_menu_expand.gif") no-repeat left;
+}
+
+ul.left_menu li.expanded ul li.collapsed a:hover {
+  background: url("../img/slices/left_menu_expand_hover.gif") no-repeat left;
+}
+
+ul.left_menu li.expanded ul a.selected {
+	font-weight: bold;
+}
+
 ul.left_menu li.collapsed ul {
 	display: none;
 }
 
-ul.left_menu ul a,ul.left_menu ul li.none a,ul.left_menu ul a:hover,ul.left_menu ul li.none a:hover
-	{
+ul.left_menu ul li.none a,
+ul.left_menu ul li.none a:hover,
+ul.left_menu ul li.none a.selected {
 	background: none;
 }
 
-/* body_column --------------------------------------------------------------- */
+/* left menu - third level menu --------------------------------------------- */
+ul.left_menu ul ul{
+	padding: 0px 0px 10px 10px;
+}
+
+ul.left_menu ul li.expanded ul {
+  display: block;
+}
+
+ul.left_menu ul li.expanded ul li.none a {
+  font-weight: normal;
+}
+
+ul.left_menu ul li.expanded ul li.none a.selected {
+	font-weight: bold;
+}
+
+ul.left_menu ul li.expanded ul li.none a,
+ul.left_menu ul li.expanded ul li.none a:hover,
+ul.left_menu ul li.expanded ul li.none a.selected {
+  	background: none;
+}
+
+
+/* body_column -------------------------------------------------------------- */
 #body_column p {
 	margin: 15px 15px 0px 0px;
 }
@@ -334,8 +378,7 @@
 	padding: 0px 10px;
 }
 
-#body_column .section {
-	
+#body_column .section {	
 }
 
 #body_column .section .section {
@@ -431,8 +474,8 @@
 }
 
 /* -------------------------------------------------------------------------- */
-	/* Old maven-theme.css ------------------------------------------------------ */
-	/* -------------------------------------------------------------------------- */
+/* Old maven-theme.css ------------------------------------------------------ */
+/* -------------------------------------------------------------------------- */
 #legend li.externalLink {
 	background: url(../img/icons/external.png) left top no-repeat;
 	padding-left: 18px;

Added: myfaces/maven/trunk/myfaces-site-skin/src/main/resources/img/banners/MyFaces_logo.png
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/myfaces-site-skin/src/main/resources/img/banners/MyFaces_logo.png?rev=641499&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/myfaces-site-skin/src/main/resources/img/banners/MyFaces_logo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/maven/trunk/myfaces-site-skin/src/main/resources/img/banners/transparent.gif
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/myfaces-site-skin/src/main/resources/img/banners/transparent.gif?rev=641499&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/myfaces-site-skin/src/main/resources/img/banners/transparent.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/maven/trunk/myfaces-site-skin/src/main/resources/img/slices/transparent.gif
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/myfaces-site-skin/src/main/resources/img/slices/transparent.gif?rev=641499&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/myfaces-site-skin/src/main/resources/img/slices/transparent.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream