Author: SergeySmirnov
Date: 2007-07-25 21:09:38 -0400 (Wed, 25 Jul 2007)
New Revision: 1861
Modified:
trunk/samples/richfaces-demo/src/main/webapp/css/common.css
trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-group.xhtml
trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml
Log:
styles enh
Modified: trunk/samples/richfaces-demo/src/main/webapp/css/common.css
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/css/common.css 2007-07-26 00:33:26 UTC
(rev 1860)
+++ trunk/samples/richfaces-demo/src/main/webapp/css/common.css 2007-07-26 01:09:38 UTC
(rev 1861)
@@ -143,7 +143,7 @@
background-position : left;
background-repeat : repeat-y;
background-color : transparent;
- padding : 0px 0px 0px 0px;
+ padding : 0px 1px 0px 0px;
}
.panel_menu div {
background-color:transparent;
@@ -192,9 +192,14 @@
font-size : 11px;
padding-left : 10px
}
-.text, .ico{
+.text {
cursor : pointer;
+ padding:0px 0px 0px 10px;
}
+ .ico{
+ cursor : pointer;
+ padding:1px 3px 1px 3px;
+}
.component_name{
position : absolute;
Modified:
trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-group.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-group.xhtml 2007-07-26
00:33:26 UTC (rev 1860)
+++
trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-group.xhtml 2007-07-26
01:09:38 UTC (rev 1861)
@@ -5,12 +5,12 @@
xmlns:a4j="http://richfaces.org/ajax"
xmlns:rich="http://richfaces.ajax4jsf.org/rich">
<ui:composition>
-<table border="0" cellpadding="3" cellspacing="1">
+<table border="0" cellpadding="0" cellspacing="1">
<tbody>
<a4j:repeat var="component" value="#{components}">
<tr class="#{component.current?'active':'unactive'}"
onmouseover="this.className='active'"
onmouseout="this.className='#{component.current?'active':'unactive'}'">
<td class="ico"><h:graphicImage
value="#{component.iconImage}" width="16" height="16"
alt="" border="0" /></td>
- <td class="text" style="padding:0px 0px 0px 10px"
width="100%">
+ <td class="text" width="100%">
<h:outputLink style="display:block;height:20px"
value="#{component.contextRelativeDemoLocation}">
<span style="display:block;">
#{component.name}
Modified:
trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml 2007-07-26
00:33:26 UTC (rev 1860)
+++
trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml 2007-07-26
01:09:38 UTC (rev 1861)
@@ -7,7 +7,7 @@
<ui:composition>
<rich:panel styleClass="panel_menu">
-<rich:panelBar selectedPanel="#{componentNavigator.currentComponent.group}"
height="550" width="100%">
+<rich:panelBar selectedPanel="#{componentNavigator.currentComponent.group}"
height="530" width="100%">
<rich:panelBarItem id="ajaxSupport" label="Ajax Support">
<ui:include src="/templates/include/components-group.xhtml" >
<ui:param name="components"
value="#{componentNavigator.ajaxSupport}" />