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/05/16 19:02:16 UTC

svn commit: r538651 - in /myfaces/trinidad/trunk/trinidad: src/site/xdoc/skin-selectors.xml trinidad-impl/src/main/resources/META-INF/adf/styles/base-desktop.xss

Author: jwaldman
Date: Wed May 16 10:02:15 2007
New Revision: 538651

URL: http://svn.apache.org/viewvc?view=rev&rev=538651
Log:
Add AFStartPadding alias which has padding 8px on the left side in ltr languages and on the right side in rtl languages.
It's the opposite of the AFEndPadding alias we already have. It may be useful for people to have a constant padding.

Modified:
    myfaces/trinidad/trunk/trinidad/src/site/xdoc/skin-selectors.xml
    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=538651&r1=538650&r2=538651
==============================================================================
--- myfaces/trinidad/trunk/trinidad/src/site/xdoc/skin-selectors.xml (original)
+++ myfaces/trinidad/trunk/trinidad/src/site/xdoc/skin-selectors.xml Wed May 16 10:02:15 2007
@@ -292,10 +292,16 @@
           </tr>
           <tr>
             <td>.AFEndPadding:alias</td>
-            <td>Sets the padding property to pad on the left-to-right
+            <td>Sets the padding property to pad on the "right" for the left-to-right
                 reading direction and "left" for right-to-left reading direction.  
                 e.g,: padding: 0px 8px 0px 0px; (for 'right' padding).</td>
-          </tr>          
+          </tr> 
+          <tr>
+            <td>.AFStartPadding:alias</td>
+            <td>Sets the padding property to pad on the "left" left-to-right
+                reading direction and "right" for right-to-left reading direction.  
+                e.g,: padding: 0px 0px 0px 8px; (for 'left' padding).</td>
+          </tr>           
           
           <tr>
             <td>.AFLeftTextAlign:alias</td>

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=538651&r1=538650&r2=538651
==============================================================================
--- 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 Wed May 16 10:02:15 2007
@@ -365,6 +365,10 @@
   	<property name="padding">0px 8px 0px 0px</property>
   </style> 
 
+  <style name="AFStartPadding">
+  	<property name="padding">0px 0px 0px 8px</property>
+  </style>
+
   <!-- Additional named styles for alignment;  not strictly necessary,
        since these aren't actually ever overridden, but it
        does make alignment in our XSS more obvious -->
@@ -3870,6 +3874,10 @@
   
   <style name="AFEndPadding">
   	<property name="padding">0px 0px 0px 8px</property>
+  </style>
+  
+  <style name="AFStartPadding">
+  	<property name="padding">0px 8px 0px 0px</property>
   </style>
   
   <style name="nestedList">