You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by jw...@apache.org on 2007/08/15 01:00:43 UTC
svn commit: r565962 - in /myfaces/trinidad/trunk/trinidad:
src/site/xdoc/skin-selectors.xml
trinidad-examples/trinidad-demo/src/main/webapp/skins/purple/purpleSkin.css
trinidad-impl/src/main/resources/META-INF/adf/styles/base-desktop.xss
Author: jwaldman
Date: Tue Aug 14 16:00:42 2007
New Revision: 565962
URL: http://svn.apache.org/viewvc?view=rev&rev=565962
Log:
https://issues.apache.org/jira/browse/TRINIDAD-626
document in skin-selectors navigationPane component skinning keys
STARTED the documentation, and put in "Not yet documented" placeholders in skin-selectors.xml
demo'd in purpleSkin.css
fixed up base-desktop.xss a tiny bit in regards to navigationPane::bar, where the same selector was used twice when really it should be used once and the properties combined.
Modified:
myfaces/trinidad/trunk/trinidad/src/site/xdoc/skin-selectors.xml
myfaces/trinidad/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/skins/purple/purpleSkin.css
myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/base-desktop.xss
Modified: myfaces/trinidad/trunk/trinidad/src/site/xdoc/skin-selectors.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/src/site/xdoc/skin-selectors.xml?view=diff&rev=565962&r1=565961&r2=565962
==============================================================================
--- myfaces/trinidad/trunk/trinidad/src/site/xdoc/skin-selectors.xml (original)
+++ myfaces/trinidad/trunk/trinidad/src/site/xdoc/skin-selectors.xml Tue Aug 14 16:00:42 2007
@@ -1461,6 +1461,106 @@
</tr>
</table>
</subsection>
+ <subsection name="tr:navigationPane hint='bar'">
+ <table>
+ <tr>
+ <th colspan="2">
+ <i>Style Selectors</i>
+ </th>
+ </tr>
+ <tr>
+ <th>Name</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td>af|navigationPane::bar</td>
+ <td>The style on the root dom element of the navigationPane hint="bar".</td>
+ </tr>
+ <tr>
+ <td style="white-space: nowrap">af|navigationPane::bar-active-disabled</td>
+ <td>The style on a table around the item when the item is active and disabled.</td>
+ </tr>
+ <tr>
+ <td style="white-space: nowrap">af|navigationPane::bar-active-enabled</td>
+ <td>The style on a table around the item when the item is active and enabled.</td>
+ </tr>
+ <tr>
+ <td style="white-space: nowrap">af|navigationPane::bar-inactive-disabled</td>
+ <td>The style on a table around the item when the item is inactive and disabled.</td>
+ </tr>
+ <tr>
+ <td style="white-space: nowrap">af|navigationPane::bar-inactive-enabled</td>
+ <td>The style on a table around the item when the item is inactive and enabled.</td>
+ </tr>
+ <tr>
+ <td style="white-space: nowrap">af|navigationPane::bar-content</td>
+ <td>Styles the cell of the bar content. To change the style (like font-style) of the active disabled
+ item, you can use descendent selector like af|navigationPane::bar-active-enabled af|navigationPane::bar-content.
+ To affect the link itself, like you need to do if you change the color, you can use
+ af|navigationPane::bar-active-enabled af|navigationPane::bar-content A</td>
+ </tr>
+ <tr>
+ <td style="white-space: nowrap">af|navigationPane::bar-separator</td>
+ <td>Styles the separator between items in the navigationPane bar.</td>
+ </tr>
+ </table>
+ </subsection>
+ <subsection name="tr:navigationPane hint='buttons'">
+ <p>Not yet documented.</p>
+ <table>
+ <tr>
+ <th colspan="2">
+ <i>Style Selectors</i>
+ </th>
+ </tr>
+ <tr>
+ <th>Name</th>
+ <th>Description</th>
+ </tr>
+ </table>
+ </subsection>
+ <subsection name="tr:navigationPane hint='choice'">
+ <p>Not yet documented.</p>
+ <table>
+ <tr>
+ <th colspan="2">
+ <i>Style Selectors</i>
+ </th>
+ </tr>
+ <tr>
+ <th>Name</th>
+ <th>Description</th>
+ </tr>
+ </table>
+ </subsection>
+ <subsection name="tr:navigationPane hint='list'">
+ <p>Not yet documented.</p>
+ <table>
+ <tr>
+ <th colspan="2">
+ <i>Style Selectors</i>
+ </th>
+ </tr>
+ <tr>
+ <th>Name</th>
+ <th>Description</th>
+ </tr>
+ </table>
+ </subsection>
+ <subsection name="tr:navigationPane hint='tabs'">
+ <p>Not yet documented.</p>
+ <table>
+ <tr>
+ <th colspan="2">
+ <i>Style Selectors</i>
+ </th>
+ </tr>
+ <tr>
+ <th>Name</th>
+ <th>Description</th>
+ </tr>
+ </table>
+ </subsection>
<subsection name="tr:navigationTree">
<table>
<tr>
Modified: myfaces/trinidad/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/skins/purple/purpleSkin.css
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/skins/purple/purpleSkin.css?view=diff&rev=565962&r1=565961&r2=565962
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/skins/purple/purpleSkin.css (original)
+++ myfaces/trinidad/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/skins/purple/purpleSkin.css Tue Aug 14 16:00:42 2007
@@ -664,4 +664,29 @@
/* test css parsing only */
.AFPanelNavigationHorizontal ul li.on:hover ul {
background: #224d6f;
-}
\ No newline at end of file
+}
+
+af|navigationPane::bar {
+ background-color: pink;
+}
+af|navigationPane::bar-active-enabled af|navigationPane::bar-content {
+ font-style: italic;
+ font-size: 14px;
+}
+
+af|navigationPane::bar-active-enabled af|navigationPane::bar-content A {
+ color: blue;
+}
+
+af|navigationPane::bar-active-enabled af|navigationPane::bar-content A:hover {
+ color: purple;
+}
+
+af|navigationPane::bar-content {
+ padding-top: 6px;
+ padding-bottom: 6px;
+}
+
+af|navigationPane::bar-separator {
+ color: aqua;
+}
\ No newline at end of file
Modified: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/base-desktop.xss
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/base-desktop.xss?view=diff&rev=565962&r1=565961&r2=565962
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/base-desktop.xss (original)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/base-desktop.xss Tue Aug 14 16:00:42 2007
@@ -1186,6 +1186,7 @@
</style>
<style selector="af|navigationPane::bar-active-enabled af|navigationPane::bar-content">
<includeStyle name="AFTextForeground"/>
+ <property name="font-weight">bold</property>
</style>
<style selector="af|navigationPane::bar-inactive-enabled af|navigationPane::bar-content">
<includeStyle name="AFTextForeground"/>
@@ -1204,6 +1205,7 @@
</style>
<style selector="af|navigationPane::bar-active-disabled af|navigationPane::bar-content">
<property name="color">gray</property>
+ <property name="font-weight">bold</property>
</style>
<style selector="af|navigationPane::bar-inactive-disabled af|navigationPane::bar-content">
<property name="color">gray</property>
@@ -1214,12 +1216,6 @@
<style selector="af|navigationPane::bar-inactive-disabled af|navigationPane::bar-content a">
<property name="color">gray</property>
</style>
- <style selector="af|navigationPane::bar-active-enabled af|navigationPane::bar-content">
- <property name="font-weight">bold</property>
- </style>
- <style selector="af|navigationPane::bar-active-disabled af|navigationPane::bar-content">
- <property name="font-weight">bold</property>
- </style>
<style selector="af|navigationPane::bar-content">
<includeStyle name="AFDefaultFont"/>
<property name="padding-top">3px</property>
@@ -1234,6 +1230,8 @@
<property name="padding-right">6px</property>
<property name="color">gray</property>
</style>
+
+
<style selector="af|navigationPane::buttons-active-disabled">
<property name="cursor">default</property>
</style>