incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r433524 [3/3] - in /incubator/adffaces/trunk/trinidad/trinidad-impl/src: main/java/org/apache/myfaces/trinidadinternal/agent/ main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ main/resources/META-INF/adf/styles/ main/resou...
Date Tue, 22 Aug 2006 05:25:21 GMT
Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/oracle-pda.xss
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/oracle-pda.xss?rev=433524&r1=433523&r2=433524&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/oracle-pda.xss (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/oracle-pda.xss Mon Aug 21 22:25:20 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,392 +14,440 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<styleSheetDocument xmlns="http://myfaces.apache.org/uix/style"
-                    >
-  <import href="oracle-desktop.xss"/>
-
-  <styleSheet>
-  <!-- The default font family -->
-  <!-- Removing font family as this doesn't seem to make a 
-       difference and makes the stylesheet much bigger -->
-  <style name="AFDefaultFontFamily">
-    <property name="font-family"/>
-  </style>
-
-  <!-- The default font -->
-  <style name="AFDefaultFont">
-    <includeStyle name="AFDefaultFontFamily"/>
-    <property name="font-size">9pt</property>
-  </style>
-
-  <!-- The default bold font -->
-  <style name="AFDefaultBoldFont">
-    <includeStyle name="AFDefaultFont"/>
-    <property name="font-weight">bold</property>
-  </style>
-
-  <!-- A very small font -->
-  <style name="AFVerySmallFont">
-    <includeStyle name="AFDefaultFont"/>
-    <property name="font-size">-2pt</property>
-  </style>
-
-  <!-- A small font -->
-  <style name="AFSmallFont">
-    <includeStyle name="AFDefaultFont"/>
-    <property name="font-size">-1pt</property>
-  </style>
-
-  <!-- A medium font - just slightly bigger than default -->
-  <style name="AFMediumFont">
-    <includeStyle name="AFDefaultFont"/>
-    <property name="font-size">+1pt</property>
-  </style>
-
-  <!-- A large font -->
-  <style name="AFLargeFont">
-    <includeStyle name="AFDefaultFont"/>
-    <property name="font-size">+2pt</property>
-  </style>
-
-  <!-- A very large font -->
-  <style name="AFVeryLargeFont">
-    <includeStyle name="AFDefaultFont"/>
-    <property name="font-size">+3pt</property>
-  </style>
-
-
-
-    <!-- darken to make visible on lcd displays -->
-    <style name="AFLightAccentBackground">
-      <property name="background-color">#ffffcc</property>
-    </style>
-
-    <!-- set the text style on the body so that it doesn' -->
-    <!-- have to be repeated -->
-
-    <style selector="BODY">
-      <includeStyle name="AFTextBackground"/>
-      <includeStyle name="AFDefaultFont"/>
-    </style>
-
-    <!-- Header Text -->
-
-     <style name="AFHeaderText">
-        <property name="margin-top">0px</property>
-    </style> 
-    <style selector=".AFHeaderLevelTwo">
-      <property name="margin-top">4px</property>
-    </style> 
-    <style selector=".AFHeaderLevelThreePlus">
-      <property name="margin-top">4px</property>
-    </style> 
-  
-   <style selector="af|panelHeader::error">
-      <property name="margin-top">0px</property>
-   </style>
-   
-    
-    <!-- styles used in af|panelPage::privacy, copyright, and about -->
-    <style name="AFFooterMessageText">
-      <property name="text-align">center</property>
-      <property name="padding"/>
-    </style>
-  
-    <style name="AFFooterMessageLink">
-      <includeStyle name="AFLinkForeground"/>
-    </style>
-    
-    
-    <!-- Instruction Text == .AFInstructionText, OK -->
-    <!-- Text == AFDefaultFont OK -->
-    <!-- Subtext TBD -->
-
-    <!-- Label -->
-    <style selector=".AFLabelText"> 
-      <includeStyle name="AFVerySmallFont"/>
-      <property name="font-weight">bold</property>
-    </style>
-
-    <style selector=".AFLabelTextDisabled"> 
-      <includeStyle name="AFVerySmallFont"/>
-      <property name="font-weight">bold</property>
-    </style>
-    <!-- Link == A:link, OraLinkText, OK -->
-    <!-- MicroLink == .OraGlobalButtonText..., Others? -->
-    <!-- Column Header == af|column::header-text, OK -->
-    <!-- Error! == OraErrorNameText, OK --> 
-    <!-- Error Message Font == OraMessageBoxErrorText, OK --> 
-    <!-- Help Text == OraInlineInfoText, OK -->
-
-    <!-- navigation bar styles shrunken -->
-    <style selector=".OraNavBarActiveLink">
-      <includeStyle name="AFSmallFont"/>
-    </style>
-
-    <style selector=".OraNavBarInactiveLink">
-      <includeStyle name="AFSmallFont"/>
-    </style>
-
-    <style selector=".OraNavBarViewOnly">
-      <includeStyle name="AFSmallFont"/>
-      <property name="color">#000000</property>
-    </style>
-
-    <!-- menuButtons -->
-   
-    <style selector="af|menuButtons::text"> 
-      <includeStyle name="SmallLinkFont"/>
-      <includeStyle name="AFLinkForeground"/>
-      <property name="vertical-align"/>
-      <property name="padding"/>
-    </style>
-
-    <!-- Can't change link color, so setting to bold -->
-   <style selector="af|menuButtons::text-selected">
-      <includeStyle name="AFSmallFont"/>
-      <includeStyle name="AFDarkForeground"/>
-      <property name="font-weight">bold</property>
-      <property name="vertical-align"/>
-      <property name="padding"/>
-    </style>
-
-   <style selector="af|menuButtons::text-disabled">
-      <includeStyle name="AFSmallFont"/>
-      <includeStyle name="AFVeryDarkAccentForeground"/>
-      <property name="vertical-align"/>
-      <property name="padding"/>
-    </style>
-   
-
-
-    <style selector=".OraCrumbsSelected">
-      <includeStyle name="AFVerySmallFont"/>
-      <!--property name="font-size">xx-small</property-->
-    </style>
-
-    <style selector=".OraCrumbsEnabled">
-      <includeStyle name="VerySmallLinkFont"/>
-      <!--property name="font-size">xx-small</property-->
-    </style>
-
-    <!-- don't change font-size of disabled links -->
-    <style selector=".p_OraDisabled">
-        <property name="font-size"/>
-    </style>  
-
-    
-    <style selector=".p_OraTabBar">
-      <includeStyle name="SmallLinkFont"/>
-      <includeStyle name="AFLightBackground"/>
-    </style>
-    
-      
-    <style selector="OraLinkSelected">
-      <property name="background-color"/>
-    </style>
-
-    <style selector="OraLinkSelectedLink">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="OraLinkSelectedActive">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="OraLinkSelectedVisited">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-      
-
-    <style selector="OraLinkEnabled">
-      <property name="background-color"/>
-    </style>    
-    
-    <style selector="OraLinkEnabledLink">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="OraLinkEnabledActive">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="OraLinkEnabledVisited">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-      
-    <style selector="af|menuTabs::selected">
-      <property name="background-color"/>
-    </style>
-
-    <style selector="af|menuTabs::selected-link">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-
-    <style selector="af|menuTabs::enabled">
-      <property name="background-color"/>
-    </style>    
-    
-    <style selector="af|menuTabs::enabled-link">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-
-    <style selector="af|menuBar::selected">
-      <property name="background-color"/>
-    </style>
-
-    <style selector="af|menuBar::selected-link">
-      <includeStyle name="AFVeryDarkForeground"/>
-    </style>
-   
-
-    <style selector="af|menuBar::enabled">
-      <property name="background-color"/>
-    </style>    
-    
-    <style selector="af|menuBar::enabled-link">
-      <includeStyle name="AFVeryDarkForeground"/>
-    </style>
-
-    
-      <style selector=".p_OraGlobalHeader">  
-          <includeStyle name="SmallLinkFont"/>
-          <includeStyle name="LightExtraAccentBackground"/>
-          <includeStyle name="AFTextForeground"/>        
-      </style>
-    
-      <style selector="af|table::control-bar-top">
-        <property name="background-color"/>
-        <property name="border-style"/>
-        <property name="border-color"/>
-        <property name="padding"/>
-      </style>
-     
-      <style selector="af|treeTable::control-bar-top">
-        <property name="background-color"/>
-        <property name="border-style"/>
-        <property name="border-color"/>
-        <property name="padding"/>
-      </style>
-      
-      <style selector=".OraSortableHeaderBorder">
-        <property name="border-width">1px</property>
-      </style>    
-      <!-- used only in pda mode. private for now -->
-      <style selector=".OraButtonText">
-        <includeStyle name="AFSmallFont"/>
-        <includeStyle name="AFLightAccentBackground"/>
-        <includeStyle name="AFTextForeground"/>
-      </style>
-      
-      <style selector=".AFFieldText">    
-        <includeStyle name="AFSmallFont"/>
-      </style>               
-      <style selector=".AFFieldTextDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>
-      <!-- private for now -->
-      <style selector=".AFFieldNumber">    
-        <includeStyle name="AFSmallFont"/>
-      </style>               
-      <style selector=".AFFieldNumberDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>   
-      
-      <style selector=".AFDataText">    
-        <includeStyle name="AFSmallFont"/>
-      </style>
-      <style selector=".AFDataTextDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>        
-      <style selector=".AFDataNumber">    
-        <includeStyle name="AFSmallFont"/>
-      </style>
-      <style selector=".AFDataNumberDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>            
-      <style selector=".AFPhoneFieldText">    
-        <includeStyle name="AFSmallFont"/>
-      </style> 
-      <style selector=".AFPhoneFieldTextDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>            
-      <style selector=".AFPostalCodeFieldText">    
-        <includeStyle name="AFSmallFont"/>
-      </style>
-      <style selector=".AFPostalCodeFieldTextDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>         
-      <style selector=".AFAddressFieldText">    
-        <includeStyle name="AFSmallFont"/>
-      </style>       
-      <style selector=".AFAddressFieldTextDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>      
-  </styleSheet>
-
-  <styleSheet platforms="windows ppc" browsers="ie">
-    <!-- use Tahoma for everything -->
-    <style name="AFDefaultFontFamily">
-      <property name="font-family">Tahoma</property>
-    </style>
-    
-
-    <style name="AFDefaultFont">
-      <includeStyle name="AFDefaultFontFamily"/>
-      <property name="font-size">x-small</property>
-    </style>
-
-    <style name="AFVerySmallFont">
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">xx-small</property>
-    </style>
-
-
-    <style name="AFSmallFont">
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">xx-small</property>
-    </style>
-
-    <style name="AFMediumFont">
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">x-small</property>
-    </style>
-
-    <style name="AFLargeFont">
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">small</property>
-    </style>
-
-    <style name="AFVeryLargeFont">
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">medium</property>
-    </style>
-
-
-    <!-- If I include AFVerySmallFont, which is defined above, shouldn't that work? 
-         I'm getting the attributes in blaf.xss -->
-    <style name="VerySmallLinkFont">
-      <!--includeStyle name="AFVerySmallFont"/-->
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">xx-small</property>
-    </style>    
-
-    <!-- Same problem as above -->
-    <style name="SmallLinkFont">
-      <!--includeStyle name="AFSmallFont"/-->
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">xx-small</property>    
-    </style>    
-  </styleSheet>  
-  
-
-</styleSheetDocument>
+<styleSheetDocument xmlns="http://myfaces.apache.org/uix/style"
+                    >
+  <import href="oracle-desktop.xss"/>
+
+  <styleSheet>
+  <!-- The default font family -->
+  <!-- Removing font family as this doesn't seem to make a 
+       difference and makes the stylesheet much bigger -->
+  <style name="AFDefaultFontFamily">
+    <property name="font-family"/>
+  </style>
+
+  <!-- The default font -->
+  <style name="AFDefaultFont">
+    <includeStyle name="AFDefaultFontFamily"/>
+    <property name="font-size">9pt</property>
+  </style>
+
+  <!-- The default bold font -->
+  <style name="AFDefaultBoldFont">
+    <includeStyle name="AFDefaultFont"/>
+    <property name="font-weight">bold</property>
+  </style>
+
+  <!-- A very small font -->
+  <style name="AFVerySmallFont">
+    <includeStyle name="AFDefaultFont"/>
+    <property name="font-size">-2pt</property>
+  </style>
+
+  <!-- A small font -->
+  <style name="AFSmallFont">
+    <includeStyle name="AFDefaultFont"/>
+    <property name="font-size">-1pt</property>
+  </style>
+
+  <!-- A medium font - just slightly bigger than default -->
+  <style name="AFMediumFont">
+    <includeStyle name="AFDefaultFont"/>
+    <property name="font-size">+1pt</property>
+  </style>
+
+  <!-- A large font -->
+  <style name="AFLargeFont">
+    <includeStyle name="AFDefaultFont"/>
+    <property name="font-size">+2pt</property>
+  </style>
+
+  <!-- A very large font -->
+  <style name="AFVeryLargeFont">
+    <includeStyle name="AFDefaultFont"/>
+    <property name="font-size">+3pt</property>
+  </style>
+
+
+
+    <!-- darken to make visible on lcd displays -->
+    <style name="AFLightAccentBackground">
+      <property name="background-color">#ffffcc</property>
+    </style>
+
+    <!-- set the text style on the body so that it doesn' -->
+    <!-- have to be repeated -->
+
+    <style selector="BODY">
+      <includeStyle name="AFTextBackground"/>
+      <includeStyle name="AFDefaultFont"/>
+    </style>
+
+    <!-- Header Text -->
+
+     <style name="AFHeaderText">
+        <property name="margin-top">0px</property>
+    </style> 
+    <style selector=".AFHeaderLevelTwo">
+      <property name="margin-top">4px</property>
+    </style> 
+    <style selector=".AFHeaderLevelThreePlus">
+      <property name="margin-top">4px</property>
+    </style> 
+  
+   <style selector="af|panelHeader::error">
+      <property name="margin-top">0px</property>
+   </style>
+   
+    
+    <!-- styles used in af|panelPage::privacy, copyright, and about -->
+    <style name="AFFooterMessageText">
+      <property name="text-align">center</property>
+      <property name="padding"/>
+    </style>
+  
+    <style name="AFFooterMessageLink">
+      <includeStyle name="AFLinkForeground"/>
+    </style>
+    
+    
+    <!-- Instruction Text == .AFInstructionText, OK -->
+    <!-- Text == AFDefaultFont OK -->
+    <!-- Subtext TBD -->
+
+    <!-- Label -->
+    <style selector=".AFLabelText"> 
+      <includeStyle name="AFVerySmallFont"/>
+      <property name="font-weight">bold</property>
+    </style>
+
+    <style selector=".AFLabelTextDisabled"> 
+      <includeStyle name="AFVerySmallFont"/>
+      <property name="font-weight">bold</property>
+    </style>
+    <!-- Link == A:link, OraLinkText, OK -->
+    <!-- MicroLink == .OraGlobalButtonText..., Others? -->
+    <!-- Column Header == af|column::header-text, OK -->
+    <!-- Error! == OraErrorNameText, OK --> 
+    <!-- Error Message Font == OraMessageBoxErrorText, OK --> 
+    <!-- Help Text == OraInlineInfoText, OK -->
+
+    <!-- navigation bar styles shrunken -->
+    <style selector=".OraNavBarActiveLink">
+      <includeStyle name="AFSmallFont"/>
+    </style>
+
+    <style selector=".OraNavBarInactiveLink">
+      <includeStyle name="AFSmallFont"/>
+    </style>
+
+    <style selector=".OraNavBarViewOnly">
+      <includeStyle name="AFSmallFont"/>
+      <property name="color">#000000</property>
+    </style>
+
+    <!-- menuButtons -->
+   
+    <style selector="af|menuButtons::text"> 
+      <includeStyle name="SmallLinkFont"/>
+      <includeStyle name="AFLinkForeground"/>
+      <property name="vertical-align"/>
+      <property name="padding"/>
+    </style>
+
+    <!-- Can't change link color, so setting to bold -->
+   <style selector="af|menuButtons::text-selected">
+      <includeStyle name="AFSmallFont"/>
+      <includeStyle name="AFDarkForeground"/>
+      <property name="font-weight">bold</property>
+      <property name="vertical-align"/>
+      <property name="padding"/>
+    </style>
+
+   <style selector="af|menuButtons::text-disabled">
+      <includeStyle name="AFSmallFont"/>
+      <includeStyle name="AFVeryDarkAccentForeground"/>
+      <property name="vertical-align"/>
+      <property name="padding"/>
+    </style>
+   
+
+
+    <style selector=".OraCrumbsSelected">
+      <includeStyle name="AFVerySmallFont"/>
+      <!--property name="font-size">xx-small</property-->
+    </style>
+
+    <style selector=".OraCrumbsEnabled">
+      <includeStyle name="VerySmallLinkFont"/>
+      <!--property name="font-size">xx-small</property-->
+    </style>
+
+    <!-- don't change font-size of disabled links -->
+    <style selector=".p_OraDisabled">
+        <property name="font-size"/>
+    </style>  
+
+    
+    <style selector=".p_OraTabBar">
+      <includeStyle name="SmallLinkFont"/>
+      <includeStyle name="AFLightBackground"/>
+    </style>
+    
+      
+    <style selector="OraLinkSelected">
+      <property name="background-color"/>
+    </style>
+
+    <style selector="OraLinkSelectedLink">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="OraLinkSelectedActive">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="OraLinkSelectedVisited">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+      
+
+    <style selector="OraLinkEnabled">
+      <property name="background-color"/>
+    </style>    
+    
+    <style selector="OraLinkEnabledLink">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="OraLinkEnabledActive">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="OraLinkEnabledVisited">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+      
+    <style selector="af|menuTabs::selected">
+      <property name="background-color"/>
+    </style>
+
+    <style selector="af|menuTabs::selected-link">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+
+    <style selector="af|menuTabs::enabled">
+      <property name="background-color"/>
+    </style>    
+    
+    <style selector="af|menuTabs::enabled-link">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+
+    <style selector="af|menuBar::selected">
+      <property name="background-color"/>
+    </style>
+
+    <style selector="af|menuBar::selected-link">
+      <includeStyle name="AFVeryDarkForeground"/>
+    </style>
+   
+
+    <style selector="af|menuBar::enabled">
+      <property name="background-color"/>
+    </style>    
+    
+    <style selector="af|menuBar::enabled-link">
+      <includeStyle name="AFVeryDarkForeground"/>
+    </style>
+
+    
+      <style selector=".p_OraGlobalHeader">  
+          <includeStyle name="SmallLinkFont"/>
+          <includeStyle name="LightExtraAccentBackground"/>
+          <includeStyle name="AFTextForeground"/>        
+      </style>
+    
+      <style selector="af|table::control-bar-top">
+        <property name="background-color"/>
+        <property name="border-style"/>
+        <property name="border-color"/>
+        <property name="padding"/>
+      </style>
+     
+      <style selector="af|treeTable::control-bar-top">
+        <property name="background-color"/>
+        <property name="border-style"/>
+        <property name="border-color"/>
+        <property name="padding"/>
+      </style>
+      
+      <style selector=".OraSortableHeaderBorder">
+        <property name="border-width">1px</property>
+      </style>    
+      <!-- used only in pda mode. private for now -->
+      <style selector=".OraButtonText">
+        <includeStyle name="AFSmallFont"/>
+        <includeStyle name="AFLightAccentBackground"/>
+        <includeStyle name="AFTextForeground"/>
+      </style>
+      
+      <style selector=".AFFieldText">    
+        <includeStyle name="AFSmallFont"/>
+      </style>               
+      <style selector=".AFFieldTextDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>
+      <!-- private for now -->
+      <style selector=".AFFieldNumber">    
+        <includeStyle name="AFSmallFont"/>
+      </style>               
+      <style selector=".AFFieldNumberDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>   
+      
+      <style selector=".AFDataText">    
+        <includeStyle name="AFSmallFont"/>
+      </style>
+      <style selector=".AFDataTextDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>        
+      <style selector=".AFDataNumber">    
+        <includeStyle name="AFSmallFont"/>
+      </style>
+      <style selector=".AFDataNumberDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>            
+      <style selector=".AFPhoneFieldText">    
+        <includeStyle name="AFSmallFont"/>
+      </style> 
+      <style selector=".AFPhoneFieldTextDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>            
+      <style selector=".AFPostalCodeFieldText">    
+        <includeStyle name="AFSmallFont"/>
+      </style>
+      <style selector=".AFPostalCodeFieldTextDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>         
+      <style selector=".AFAddressFieldText">    
+        <includeStyle name="AFSmallFont"/>
+      </style>       
+      <style selector=".AFAddressFieldTextDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>      
+  </styleSheet>
+
+  <styleSheet platforms="windows ppc" browsers="ie">
+    <!-- use Tahoma for everything -->
+    <style name="AFDefaultFontFamily">
+      <property name="font-family">Tahoma</property>
+    </style>
+    
+
+    <style name="AFDefaultFont">
+      <includeStyle name="AFDefaultFontFamily"/>
+      <property name="font-size">x-small</property>
+    </style>
+
+    <style name="AFVerySmallFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>
+    </style>
+
+
+    <style name="AFSmallFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>
+    </style>
+
+    <style name="AFMediumFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">x-small</property>
+    </style>
+
+    <style name="AFLargeFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">small</property>
+    </style>
+
+    <style name="AFVeryLargeFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">medium</property>
+    </style>
+
+
+    <!-- If I include AFVerySmallFont, which is defined above, shouldn't that work? 
+         I'm getting the attributes in blaf.xss -->
+    <style name="VerySmallLinkFont">
+      <!--includeStyle name="AFVerySmallFont"/-->
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>
+    </style>    
+
+    <!-- Same problem as above -->
+    <style name="SmallLinkFont">
+      <!--includeStyle name="AFSmallFont"/-->
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>    
+    </style>    
+  </styleSheet>  
+  
+  <styleSheet platforms="blackberry" browsers="blackberry">
+   <style name="AFDefaultFont">
+      <includeStyle name="AFDefaultFontFamily"/>
+      <property name="font-size">x-small</property>
+    </style>
+
+    <style name="AFVerySmallFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>
+    </style>
+
+
+    <style name="AFSmallFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>
+    </style>
+
+    <style name="AFMediumFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">x-small</property>
+    </style>
+
+    <style name="AFLargeFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">small</property>
+    </style>
+
+    <style name="AFVeryLargeFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">medium</property>
+    </style>
+
+
+    <!-- If I include AFVerySmallFont, which is defined above, shouldn't that work? 
+         I'm getting the attributes in blaf.xss -->
+    <style name="VerySmallLinkFont">
+      <!--includeStyle name="AFVerySmallFont"/-->
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>
+    </style>    
+
+    <!-- Same problem as above -->
+    <style name="SmallLinkFont">
+      <!--includeStyle name="AFSmallFont"/-->
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>    
+    </style>    
+  </styleSheet>    
+
+</styleSheetDocument>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/pocketPC.xss
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/pocketPC.xss?rev=433524&r1=433523&r2=433524&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/pocketPC.xss (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/pocketPC.xss Mon Aug 21 22:25:20 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<styleSheetDocument xmlns="http://myfaces.apache.org/uix/style">
-
-  <import href="oracle-pda.xss"/>
-</styleSheetDocument>
+<styleSheetDocument xmlns="http://myfaces.apache.org/uix/style">
+
+  <import href="oracle-pda.xss"/>
+</styleSheetDocument>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/simple-desktop.xss
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/simple-desktop.xss?rev=433524&r1=433523&r2=433524&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/simple-desktop.xss (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/simple-desktop.xss Mon Aug 21 22:25:20 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,173 +14,173 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
-<styleSheetDocument xmlns="http://myfaces.apache.org/uix/style"
-                    version="2.0">
-                    
-  <!-- The SimpleDesktopSkin's stylesheet extends the 
-  BaseDesktop stylesheet. We could combine these Skins and 
-  stylesheets someday. I'm not sure why we wouldn't.-->
-  <import href="base-desktop.xss"/>                    
-
-<!-- 
-  The base style sheet for the desktop implementation of
-  the Simple Look And Feel.
- -->
-<styleSheet>
-
-
-  <!--
-    panelBox Styles
-  -->
-
-  <style selector="af|panelBox::header">
-    <property name="width">100%</property>
-
-    <!-- Only tile the header's background image horizontally.
-         That way, if the user zooms up the text size, the 
-         header's top border won't end up repeating -->
-    <property name="background-repeat">repeat-x</property>
-  </style>
-
-  <!-- 
-    MenuBar styles
-  -->
-
-  <!-- Disable item wrapping - can make MenuBar's icons look bad -->
-  <style name="AFMenuBarItem">
-    <property name="white-space">nowrap</property> 
-  </style>
-  
-  <!-- Move the background color to af|menuBar::body/title -->
-  <style name="af|menuBar">
-    <property name="background-color"/>
-  </style>
-
-  <style selector="af|menuBar::body">
-    <includeStyle name="AFDarkBackground"/>
-  </style>
-
-  <style selector="af|menuBar::title">
-    <includeStyle name="AFDarkBackground"/>
-  </style>
-
-  <!-- Also set the background color for the empty globalHeader -->
-  <style selector="af|menuBar::empty">
-    <includeStyle name="AFDarkBackground"/>
-    <!--
-      Custom Skins can use the height property to control the empty
-      MenuBar's height.  We let it default though...
-    -->
-    <!--
-      <property name="height">4px</property>
-    -->
-  </style>
-
-  <!-- messages style -->
-  <style selector="af|messages::body">
-    <includeStyle name="AFLightAccentBackground"/>
-  </style>
-  
-  
-  <!--
-    TabBar Styles
-  -->
-
-  <!-- Disable item wrapping - can make tabBar's icons look bad -->
-  <style name="AFTabBarItem">
-    <property name="white-space">nowrap</property> 
-  </style>
-
-  <!--
-    Table Styles
-  -->
-
-  <!-- Add a border around the table contents.
-       Does this really belong here? -->
-  <style selector="af|table::content">
-    <includeStyle name="AFVeryDarkAccentBorder"/>  
-    <includeStyle selector=".OraTableBorder1111"/>
-  </style> 
-  
-  <style selector="af|treeTable::content">
-    <includeStyle name="AFVeryDarkAccentBorder"/>  
-    <includeStyle selector=".OraTableBorder1111"/>
-  </style>    
-
-  <!-- 
-    Styles for dynamically generated images 
-   -->
-
-  <!-- The style for dynamically generated button images -->
-  <style name="AFButtonServerText">
-    <includeStyle name="DefaultServerFont"/>
-    <includeStyle name="AFLightAccentBackground"/>
-    <includeStyle name="AFTextForeground"/>
-  </style>
-
-  <!-- The style for dynamically generated disabled button images -->
-  <style name="AFButtonServerTextDisabled">
-    <includeStyle name="DefaultServerFont"/>
-    <includeStyle name="AFLightAccentBackground"/>
-    <includeStyle name="AFVeryDarkAccentForeground"/>
-  </style>
-
-  <!-- Button padding for Albany WT J -->
-  <style name="AlbanyButtonPadding">
-    <property name="padding-top">-3px</property>
-    <property name="padding-bottom">-2px</property>
-  </style>
-
-  <style name="ButtonServerPaddingAlbany WT J">
-    <includeStyle name="AlbanyButtonPadding"/>
-  </style>
-
-  <style selector=".AFLogo">
-    <property name="width">103px</property>
-    <property name="height">13px</property>
-    <property name="background-image">url('../../images/logo-dark.png')</property>
-    <property name="background-repeat">no-repeat</property>
-    <property name="background-position">center</property>
-    <property name="vertical-align">middle</property>
-  </style>
-
-</styleSheet>
-
-<styleSheet browsers="ie" versions="6">
-  <style selector=".AFLogo">
-    <property name="background-image">url('../../images/logo-dark.gif')</property>
-  </style>
-</styleSheet>
-
-<!-- Style sheet just for Korean-specific styles -->
-<styleSheet locales="ko">
-
-  <!-- Button padding for Albany WT K -->
-  <style name="ButtonServerPaddingAlbany WT K">
-    <includeStyle name="AlbanyButtonPadding"/>
-  </style>
-
-</styleSheet>
-
-<!-- Style sheet just for Traditional Chinese specific styles -->
-<styleSheet locales="zh_TW">
-
-  <!-- Button padding for Albany WT TC -->
-  <style name="ButtonServerPaddingAlbany WT TC">
-    <includeStyle name="AlbanyButtonPadding"/>
-  </style>
-
-</styleSheet>
-
-<!-- Style sheet just for Simplified Chinese specific styles -->
-<styleSheet locales="zh_CN">
-
-  <!-- Button padding for Albany WT SC -->
-  <style name="ButtonServerPaddingAlbany WT SC">
-    <includeStyle name="AlbanyButtonPadding"/>
-  </style>
-
-</styleSheet>
-
-</styleSheetDocument>
+
+<styleSheetDocument xmlns="http://myfaces.apache.org/uix/style"
+                    version="2.0">
+                    
+  <!-- The SimpleDesktopSkin's stylesheet extends the 
+  BaseDesktop stylesheet. We could combine these Skins and 
+  stylesheets someday. I'm not sure why we wouldn't.-->
+  <import href="base-desktop.xss"/>                    
+
+<!-- 
+  The base style sheet for the desktop implementation of
+  the Simple Look And Feel.
+ -->
+<styleSheet>
+
+
+  <!--
+    panelBox Styles
+  -->
+
+  <style selector="af|panelBox::header">
+    <property name="width">100%</property>
+
+    <!-- Only tile the header's background image horizontally.
+         That way, if the user zooms up the text size, the 
+         header's top border won't end up repeating -->
+    <property name="background-repeat">repeat-x</property>
+  </style>
+
+  <!-- 
+    MenuBar styles
+  -->
+
+  <!-- Disable item wrapping - can make MenuBar's icons look bad -->
+  <style name="AFMenuBarItem">
+    <property name="white-space">nowrap</property> 
+  </style>
+  
+  <!-- Move the background color to af|menuBar::body/title -->
+  <style name="af|menuBar">
+    <property name="background-color"/>
+  </style>
+
+  <style selector="af|menuBar::body">
+    <includeStyle name="AFDarkBackground"/>
+  </style>
+
+  <style selector="af|menuBar::title">
+    <includeStyle name="AFDarkBackground"/>
+  </style>
+
+  <!-- Also set the background color for the empty globalHeader -->
+  <style selector="af|menuBar::empty">
+    <includeStyle name="AFDarkBackground"/>
+    <!--
+      Custom Skins can use the height property to control the empty
+      MenuBar's height.  We let it default though...
+    -->
+    <!--
+      <property name="height">4px</property>
+    -->
+  </style>
+
+  <!-- messages style -->
+  <style selector="af|messages::body">
+    <includeStyle name="AFLightAccentBackground"/>
+  </style>
+  
+  
+  <!--
+    TabBar Styles
+  -->
+
+  <!-- Disable item wrapping - can make tabBar's icons look bad -->
+  <style name="AFTabBarItem">
+    <property name="white-space">nowrap</property> 
+  </style>
+
+  <!--
+    Table Styles
+  -->
+
+  <!-- Add a border around the table contents.
+       Does this really belong here? -->
+  <style selector="af|table::content">
+    <includeStyle name="AFVeryDarkAccentBorder"/>  
+    <includeStyle selector=".OraTableBorder1111"/>
+  </style> 
+  
+  <style selector="af|treeTable::content">
+    <includeStyle name="AFVeryDarkAccentBorder"/>  
+    <includeStyle selector=".OraTableBorder1111"/>
+  </style>    
+
+  <!-- 
+    Styles for dynamically generated images 
+   -->
+
+  <!-- The style for dynamically generated button images -->
+  <style name="AFButtonServerText">
+    <includeStyle name="DefaultServerFont"/>
+    <includeStyle name="AFLightAccentBackground"/>
+    <includeStyle name="AFTextForeground"/>
+  </style>
+
+  <!-- The style for dynamically generated disabled button images -->
+  <style name="AFButtonServerTextDisabled">
+    <includeStyle name="DefaultServerFont"/>
+    <includeStyle name="AFLightAccentBackground"/>
+    <includeStyle name="AFVeryDarkAccentForeground"/>
+  </style>
+
+  <!-- Button padding for Albany WT J -->
+  <style name="AlbanyButtonPadding">
+    <property name="padding-top">-3px</property>
+    <property name="padding-bottom">-2px</property>
+  </style>
+
+  <style name="ButtonServerPaddingAlbany WT J">
+    <includeStyle name="AlbanyButtonPadding"/>
+  </style>
+
+  <style selector=".AFLogo">
+    <property name="width">103px</property>
+    <property name="height">13px</property>
+    <property name="background-image">url('../../images/logo-dark.png')</property>
+    <property name="background-repeat">no-repeat</property>
+    <property name="background-position">center</property>
+    <property name="vertical-align">middle</property>
+  </style>
+
+</styleSheet>
+
+<styleSheet browsers="ie" versions="6">
+  <style selector=".AFLogo">
+    <property name="background-image">url('../../images/logo-dark.gif')</property>
+  </style>
+</styleSheet>
+
+<!-- Style sheet just for Korean-specific styles -->
+<styleSheet locales="ko">
+
+  <!-- Button padding for Albany WT K -->
+  <style name="ButtonServerPaddingAlbany WT K">
+    <includeStyle name="AlbanyButtonPadding"/>
+  </style>
+
+</styleSheet>
+
+<!-- Style sheet just for Traditional Chinese specific styles -->
+<styleSheet locales="zh_TW">
+
+  <!-- Button padding for Albany WT TC -->
+  <style name="ButtonServerPaddingAlbany WT TC">
+    <includeStyle name="AlbanyButtonPadding"/>
+  </style>
+
+</styleSheet>
+
+<!-- Style sheet just for Simplified Chinese specific styles -->
+<styleSheet locales="zh_CN">
+
+  <!-- Button padding for Albany WT SC -->
+  <style name="ButtonServerPaddingAlbany WT SC">
+    <includeStyle name="AlbanyButtonPadding"/>
+  </style>
+
+</styleSheet>
+
+</styleSheetDocument>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/simple-pda.xss
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/simple-pda.xss?rev=433524&r1=433523&r2=433524&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/simple-pda.xss (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/simple-pda.xss Mon Aug 21 22:25:20 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,459 +14,510 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<styleSheetDocument xmlns="http://myfaces.apache.org/uix/style">
-
-  <import href="simple-desktop.xss"/>
-
-  <!-- A custom style sheet which overrides AFDefaultFontFamily -->
-  <styleSheet>
-   <!-- The default font family -->
-   <!-- Removing font family as this doesn't seem to make a 
-        difference and makes the stylesheet much bigger -->
-   <style name="AFDefaultFontFamily">
-     <property name="font-family"/>
-   </style>
-
-   <!-- The default font -->
-   <style name="AFDefaultFont">
-     <includeStyle name="AFDefaultFontFamily"/>
-     <property name="font-size">9pt</property>
-   </style>
- 
-   <!-- The default bold font -->
-   <style name="AFDefaultBoldFont">
-     <includeStyle name="AFDefaultFont"/>
-     <property name="font-weight">bold</property>
-   </style>
- 
-   <!-- A very small font -->
-   <style name="AFVerySmallFont">
-     <includeStyle name="AFDefaultFont"/>
-     <property name="font-size">-2pt</property>
-   </style>
- 
-   <!-- A small font -->
-   <style name="AFSmallFont">
-     <includeStyle name="AFDefaultFont"/>
-     <property name="font-size">-1pt</property>
-   </style>
- 
-   <!-- A medium font - just slightly bigger than default -->
-   <style name="AFMediumFont">
-     <includeStyle name="AFDefaultFont"/>
-     <property name="font-size">+1pt</property>
-   </style>
- 
-   <!-- A large font -->
-   <style name="AFLargeFont">
-     <includeStyle name="AFDefaultFont"/>
-     <property name="font-size">+2pt</property>
-   </style>
- 
-   <!-- A very large font -->
-   <style name="AFVeryLargeFont">
-     <includeStyle name="AFDefaultFont"/>
-     <property name="font-size">+3pt</property>
-   </style>
-
-
-    <!-- darken to make visible on lcd displays -->
-    <style name="AFLightAccentBackground">
-      <property name="background-color">#ffffcc</property>
-    </style>
-       
-    <style name="AFEndPadding">
-      <property name="padding">0px 2px 0px 0px</property>
-    </style> 
-
-    <!-- set the text style on the body so that it doesn' -->
-    <!-- have to be repeated -->
-    <style selector="BODY">
-      <includeStyle name="AFTextBackground"/>
-      <includeStyle name="AFDefaultFont"/>
-    </style>
-
-    <!-- Page Header Text -->
-    <style selector=".OraGlobalPageTitle">
-      <includeStyle name="AFLargeFont"/>
-      <includeStyle name="AFDarkForeground"/>
-    </style>
-    
-    <!-- Header Text -->
-    <!-- for pda, this is the level-one style -->
-     <style name="AFHeaderText">
-        <property name="padding"/>
-        <property name="border-style"/>
-        <property name="border-color"/>
-        <property name="border-width"/>
-        <property name="font-weight">bold</property>
-        <includeStyle name="AFDarkForeground"/>
-        <property name="margin-top">0px</property>
-    </style> 
-    <style selector=".AFHeaderLevelTwo">
-      <property name="margin-top">4px</property>
-    </style> 
-    <style selector=".AFHeaderLevelThreePlus">
-      <includeStyle name="AFSmallFont"/>
-      <property name="margin-top">4px</property>
-    </style> 
-
-   <style selector="af|panelHeader::error">
-      <property name="margin-top">0px</property>
-   </style>
-    
-  <style selector="af|messages::error">
-    <includeStyle name="AFDefaultFont"/>
-    <includeStyle name="AFErrorTextForeground"/>
-  </style> 
-  
-  <style selector="af|messages::header">
-    <includeStyle name="AFDefaultFont"/>
-    <includeStyle name="AFDarkForeground"/>
-  </style>  
-  
-    <!-- Page Sub Header Text TBD -->
-    <!-- Page Content Header TBD -->
-    <!-- Instruction Text == .AFInstructionText, OK -->
-    <!-- Text == AFDefaultFont OK -->
-    <!-- Subtext TBD -->
-
-    <!-- Label -->
-    <style selector=".AFLabelText">
-      <includeStyle name="AFVerySmallFont"/>
-      <property name="font-weight">bold</property>
-    </style>
-    
-    <!-- Label -->
-    <style selector=".AFLabelTextDisabled">
-      <includeStyle name="AFVerySmallFont"/>
-      <property name="font-weight">bold</property>
-    </style>    
-
-    <!-- Link == A:link, OraLinkText, OK -->
-    <!-- MicroLink == .OraGlobalButtonText..., Others? -->
-    <!-- Column Header == af|column::header-text, OK -->
-    <!-- Error! == OraErrorNameText, OK --> 
-    <!-- Error Message Font == OraMessageBoxErrorText, OK --> 
-    <!-- Help Text == OraInlineInfoText, OK -->
-
-    <!-- navigation bar styles shrunken -->
-    <style selector=".OraNavBarActiveLink">
-      <includeStyle name="AFSmallFont"/>
-    </style>
-
-    <style selector=".OraNavBarInactiveLink">
-      <includeStyle name="AFSmallFont"/>
-    </style>
-
-    <style selector=".OraNavBarViewOnly">
-      <includeStyle name="AFSmallFont"/>
-      <property name="color">#000000</property>
-    </style>
-
-    <!-- menuButtons -->
-  
-    <style selector="af|menuButtons::text">
-      <includeStyle name="SmallLinkFont"/>
-      <includeStyle name="AFLinkForeground"/>
-      <property name="padding"/>
-      <property name="vertical-align"/>
-    </style>
-
-    <!-- Can't change link color, so setting to bold -->
-   <style selector="af|menuButtons::text-selected">
-      <includeStyle name="AFSmallFont"/>
-      <includeStyle name="AFDarkForeground"/>
-      <property name="font-weight">bold</property>
-      <property name="padding"/>
-      <property name="vertical-align"/>
-    </style>
-
-   <style selector="af|menuButtons::text-disabled">
-      <includeStyle name="AFSmallFont"/>
-      <includeStyle name="AFVeryDarkAccentForeground"/>
-      <property name="padding"/>
-      <property name="vertical-align"/>
-    </style>
-    
-    <!-- styles used in af|panelPage::privacy, copyright, and about -->
-    <style name="AFFooterMessageText">
-      <property name="text-align">center</property>
-      <property name="padding"/>
-    </style>
-  
-    <style name="AFFooterMessageLink">
-      <includeStyle name="AFLinkForeground"/>
-    </style>
-
-
-    <style selector=".OraCrumbsSelected">
-      <includeStyle name="AFVerySmallFont"/>
-    </style>
-
-    <style selector=".OraCrumbsEnabled">
-      <includeStyle name="VerySmallLinkFont"/>
-    </style>
-
-    <!-- don't change font-size of disabled links -->
-    <style selector=".p_OraDisabled">
-        <property name="font-size"/>
-    </style>  
- 
-    <style selector=".p_OraTabBar">
-      <includeStyle name="SmallLinkFont"/>
-      <includeStyle name="AFLightBackground"/>
-      <property name="border-width"/>
-      <property name="border-style"/>
-      <property name="padding"/>
-    </style>
-  
-    <style selector=".p_OraGlobalHeader">  
-        <includeStyle name="SmallLinkFont"/>
-        <includeStyle name="LightExtraAccentBackground"/>
-        <includeStyle name="AFTextForeground"/>        
-    </style>
-
-
-    <style selector="OraLinkSelected">
-      <property name="background-color"/>
-      <property name="border-color"/>
-    </style>
-
-    <style selector="OraLinkSelectedLink">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="OraLinkSelectedActive">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="OraLinkSelectedVisited">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-      
-
-    <style selector="OraLinkEnabled">
-      <property name="background-color"/>
-    </style>    
-    
-    <style selector="OraLinkEnabledLink">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="OraLinkEnabledActive">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="OraLinkEnabledVisited">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-      
-    <style selector="af|menuTabs::selected">
-      <property name="background-color"/>
-      <property name="border-color"/>
-    </style>
-
-    <style selector="af|menuTabs::selected-link">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="af|menuTabs::selected-active">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="af|menuTabs::selected-visited">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-      
-
-    <style selector="af|menuTabs::enabled">
-      <property name="background-color"/>
-    </style>    
-    
-    <style selector="af|menuTabs::enabled-link">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="af|menuTabs::enabled-active">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="af|menuTabs::enabled-visited">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-      
-    
-    <style selector="af|menuBar::selected">
-      <property name="background-color"/>
-    </style>
-
-    <style selector="af|menuBar::selected-link">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="af|menuBar::selected-active">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="af|menuBar::selected-visited">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-      
-
-    <style selector="af|menuBar::enabled">
-      <property name="background-color"/>
-    </style>    
-    
-    <style selector="af|menuBar::enabled-link">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="af|menuBar::enabled-active">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-  
-    <style selector="af|menuBar::enabled-visited">
-      <includeStyle name="AFVeryDarkForeground"/>
-    <property name="text-decoration">none</property>
-    </style>
-         
-    <style selector="af|table::control-bar-top">
-      <property name="background-color"/>
-      <property name="border-style"/>
-      <property name="border-color"/>
-      <property name="padding"/>
-    </style>
-    
-    <style selector="af|treeTable::control-bar-top">
-      <property name="background-color"/>
-      <property name="border-style"/>
-      <property name="border-color"/>
-      <property name="padding"/>
-    </style>
-    
-    <style selector=".OraSortableHeaderBorder">
-      <property name="border-width">1px</property>
-    </style>    
-    <!-- @todo maybe have desktop and pda have the same keys for button -->
-    <style selector=".OraButtonText">
-        <includeStyle name="AFSmallFont"/>
-        <includeStyle name="AFLightAccentBackground"/>
-        <includeStyle name="AFTextForeground"/>
-      </style>
-      
-      <style selector=".AFFieldText">    
-        <includeStyle name="AFSmallFont"/>
-      </style>               
-      <style selector=".AFFieldTextDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>                
-      <style selector=".AFFieldNumber">    
-        <includeStyle name="AFSmallFont"/>
-      </style>               
-      <style selector=".AFFieldNumberDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>                 
-      <style selector=".AFDataText">    
-        <includeStyle name="AFSmallFont"/>
-      </style>
-      <style selector=".AFDataTextDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>       
-      <style selector=".AFDataNumber">    
-        <includeStyle name="AFSmallFont"/>
-      </style> 
-      <style selector=".AFDataNumberDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>          
-      <style selector=".AFPhoneFieldText">    
-        <includeStyle name="AFSmallFont"/>
-      </style> 
-      <style selector=".AFPhoneFieldTextDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>        
-      <style selector=".AFPostalCodeFieldText">    
-        <includeStyle name="AFSmallFont"/>
-      </style> 
-      <style selector=".AFPostalCodeFieldTextDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>       
-      <style selector=".AFAddressFieldText">    
-        <includeStyle name="AFSmallFont"/>
-      </style>
-      <style selector=".AFAddressFieldTextDisabled">    
-        <includeStyle name="AFSmallFont"/>
-      </style>      
-  
-  </styleSheet>
-  <styleSheet platforms="windows" browsers="ie">
-    <!-- use Tahoma for everything -->
-    <style name="AFDefaultFontFamily">
-      <property name="font-family">Tahoma</property>
-    </style>
-    
-   <style name="AFDefaultFont">
-      <includeStyle name="AFDefaultFontFamily"/>
-      <property name="font-size">x-small</property>
-    </style>
-
-    <style name="AFVerySmallFont">
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">xx-small</property>
-    </style>
-
-
-    <style name="AFSmallFont">
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">xx-small</property>
-    </style>
-
-    <style name="AFMediumFont">
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">x-small</property>
-    </style>
-
-    <style name="AFLargeFont">
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">small</property>
-    </style>
-
-    <style name="AFVeryLargeFont">
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">medium</property>
-    </style>
-
-
-    <!-- If I include AFVerySmallFont, which is defined above, shouldn't that work? 
-         I'm getting the attributes in blaf.xss -->
-    <style name="VerySmallLinkFont">
-      <!--includeStyle name="AFVerySmallFont"/-->
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">xx-small</property>
-    </style>    
-
-    <!-- Same problem as above -->
-    <style name="SmallLinkFont">
-      <!--includeStyle name="AFSmallFont"/-->
-      <includeStyle name="AFDefaultFont"/>
-      <property name="font-size">xx-small</property>    
-    </style>    
-  </styleSheet>
-</styleSheetDocument>
+<styleSheetDocument xmlns="http://myfaces.apache.org/uix/style">
+
+  <import href="simple-desktop.xss"/>
+
+  <!-- A custom style sheet which overrides AFDefaultFontFamily -->
+  <styleSheet>
+   <!-- The default font family -->
+   <!-- Removing font family as this doesn't seem to make a 
+        difference and makes the stylesheet much bigger -->
+   <style name="AFDefaultFontFamily">
+     <property name="font-family"/>
+   </style>
+
+   <!-- The default font -->
+   <style name="AFDefaultFont">
+     <includeStyle name="AFDefaultFontFamily"/>
+     <property name="font-size">9pt</property>
+   </style>
+ 
+   <!-- The default bold font -->
+   <style name="AFDefaultBoldFont">
+     <includeStyle name="AFDefaultFont"/>
+     <property name="font-weight">bold</property>
+   </style>
+ 
+   <!-- A very small font -->
+   <style name="AFVerySmallFont">
+     <includeStyle name="AFDefaultFont"/>
+     <property name="font-size">-2pt</property>
+   </style>
+ 
+   <!-- A small font -->
+   <style name="AFSmallFont">
+     <includeStyle name="AFDefaultFont"/>
+     <property name="font-size">-1pt</property>
+   </style>
+ 
+   <!-- A medium font - just slightly bigger than default -->
+   <style name="AFMediumFont">
+     <includeStyle name="AFDefaultFont"/>
+     <property name="font-size">+1pt</property>
+   </style>
+ 
+   <!-- A large font -->
+   <style name="AFLargeFont">
+     <includeStyle name="AFDefaultFont"/>
+     <property name="font-size">+2pt</property>
+   </style>
+ 
+   <!-- A very large font -->
+   <style name="AFVeryLargeFont">
+     <includeStyle name="AFDefaultFont"/>
+     <property name="font-size">+3pt</property>
+   </style>
+
+
+    <!-- darken to make visible on lcd displays -->
+    <style name="AFLightAccentBackground">
+      <property name="background-color">#ffffcc</property>
+    </style>
+       
+    <style name="AFEndPadding">
+      <property name="padding">0px 2px 0px 0px</property>
+    </style> 
+
+    <!-- set the text style on the body so that it doesn' -->
+    <!-- have to be repeated -->
+    <style selector="BODY">
+      <includeStyle name="AFTextBackground"/>
+      <includeStyle name="AFDefaultFont"/>
+    </style>
+
+    <!-- Page Header Text -->
+    <style selector=".OraGlobalPageTitle">
+      <includeStyle name="AFLargeFont"/>
+      <includeStyle name="AFDarkForeground"/>
+    </style>
+    
+    <!-- Header Text -->
+    <!-- for pda, this is the level-one style -->
+     <style name="AFHeaderText">
+        <property name="padding"/>
+        <property name="border-style"/>
+        <property name="border-color"/>
+        <property name="border-width"/>
+        <property name="font-weight">bold</property>
+        <includeStyle name="AFDarkForeground"/>
+        <property name="margin-top">0px</property>
+    </style> 
+    <style selector=".AFHeaderLevelTwo">
+      <property name="margin-top">4px</property>
+    </style> 
+    <style selector=".AFHeaderLevelThreePlus">
+      <includeStyle name="AFSmallFont"/>
+      <property name="margin-top">4px</property>
+    </style> 
+
+   <style selector="af|panelHeader::error">
+      <property name="margin-top">0px</property>
+   </style>
+    
+  <style selector="af|messages::error">
+    <includeStyle name="AFDefaultFont"/>
+    <includeStyle name="AFErrorTextForeground"/>
+  </style> 
+  
+  <style selector="af|messages::header">
+    <includeStyle name="AFDefaultFont"/>
+    <includeStyle name="AFDarkForeground"/>
+  </style>  
+  
+    <!-- Page Sub Header Text TBD -->
+    <!-- Page Content Header TBD -->
+    <!-- Instruction Text == .AFInstructionText, OK -->
+    <!-- Text == AFDefaultFont OK -->
+    <!-- Subtext TBD -->
+
+    <!-- Label -->
+    <style selector=".AFLabelText">
+      <includeStyle name="AFVerySmallFont"/>
+      <property name="font-weight">bold</property>
+    </style>
+    
+    <!-- Label -->
+    <style selector=".AFLabelTextDisabled">
+      <includeStyle name="AFVerySmallFont"/>
+      <property name="font-weight">bold</property>
+    </style>    
+
+    <!-- Link == A:link, OraLinkText, OK -->
+    <!-- MicroLink == .OraGlobalButtonText..., Others? -->
+    <!-- Column Header == af|column::header-text, OK -->
+    <!-- Error! == OraErrorNameText, OK --> 
+    <!-- Error Message Font == OraMessageBoxErrorText, OK --> 
+    <!-- Help Text == OraInlineInfoText, OK -->
+
+    <!-- navigation bar styles shrunken -->
+    <style selector=".OraNavBarActiveLink">
+      <includeStyle name="AFSmallFont"/>
+    </style>
+
+    <style selector=".OraNavBarInactiveLink">
+      <includeStyle name="AFSmallFont"/>
+    </style>
+
+    <style selector=".OraNavBarViewOnly">
+      <includeStyle name="AFSmallFont"/>
+      <property name="color">#000000</property>
+    </style>
+
+    <!-- menuButtons -->
+  
+    <style selector="af|menuButtons::text">
+      <includeStyle name="SmallLinkFont"/>
+      <includeStyle name="AFLinkForeground"/>
+      <property name="padding"/>
+      <property name="vertical-align"/>
+    </style>
+
+    <!-- Can't change link color, so setting to bold -->
+   <style selector="af|menuButtons::text-selected">
+      <includeStyle name="AFSmallFont"/>
+      <includeStyle name="AFDarkForeground"/>
+      <property name="font-weight">bold</property>
+      <property name="padding"/>
+      <property name="vertical-align"/>
+    </style>
+
+   <style selector="af|menuButtons::text-disabled">
+      <includeStyle name="AFSmallFont"/>
+      <includeStyle name="AFVeryDarkAccentForeground"/>
+      <property name="padding"/>
+      <property name="vertical-align"/>
+    </style>
+    
+    <!-- styles used in af|panelPage::privacy, copyright, and about -->
+    <style name="AFFooterMessageText">
+      <property name="text-align">center</property>
+      <property name="padding"/>
+    </style>
+  
+    <style name="AFFooterMessageLink">
+      <includeStyle name="AFLinkForeground"/>
+    </style>
+
+
+    <style selector=".OraCrumbsSelected">
+      <includeStyle name="AFVerySmallFont"/>
+    </style>
+
+    <style selector=".OraCrumbsEnabled">
+      <includeStyle name="VerySmallLinkFont"/>
+    </style>
+
+    <!-- don't change font-size of disabled links -->
+    <style selector=".p_OraDisabled">
+        <property name="font-size"/>
+    </style>  
+ 
+    <style selector=".p_OraTabBar">
+      <includeStyle name="SmallLinkFont"/>
+      <includeStyle name="AFLightBackground"/>
+      <property name="border-width"/>
+      <property name="border-style"/>
+      <property name="padding"/>
+    </style>
+  
+    <style selector=".p_OraGlobalHeader">  
+        <includeStyle name="SmallLinkFont"/>
+        <includeStyle name="LightExtraAccentBackground"/>
+        <includeStyle name="AFTextForeground"/>        
+    </style>
+
+
+    <style selector="OraLinkSelected">
+      <property name="background-color"/>
+      <property name="border-color"/>
+    </style>
+
+    <style selector="OraLinkSelectedLink">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="OraLinkSelectedActive">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="OraLinkSelectedVisited">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+      
+
+    <style selector="OraLinkEnabled">
+      <property name="background-color"/>
+    </style>    
+    
+    <style selector="OraLinkEnabledLink">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="OraLinkEnabledActive">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="OraLinkEnabledVisited">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+      
+    <style selector="af|menuTabs::selected">
+      <property name="background-color"/>
+      <property name="border-color"/>
+    </style>
+
+    <style selector="af|menuTabs::selected-link">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="af|menuTabs::selected-active">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="af|menuTabs::selected-visited">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+      
+
+    <style selector="af|menuTabs::enabled">
+      <property name="background-color"/>
+    </style>    
+    
+    <style selector="af|menuTabs::enabled-link">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="af|menuTabs::enabled-active">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="af|menuTabs::enabled-visited">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+      
+    
+    <style selector="af|menuBar::selected">
+      <property name="background-color"/>
+    </style>
+
+    <style selector="af|menuBar::selected-link">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="af|menuBar::selected-active">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="af|menuBar::selected-visited">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+      
+
+    <style selector="af|menuBar::enabled">
+      <property name="background-color"/>
+    </style>    
+    
+    <style selector="af|menuBar::enabled-link">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="af|menuBar::enabled-active">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+  
+    <style selector="af|menuBar::enabled-visited">
+      <includeStyle name="AFVeryDarkForeground"/>
+    <property name="text-decoration">none</property>
+    </style>
+         
+    <style selector="af|table::control-bar-top">
+      <property name="background-color"/>
+      <property name="border-style"/>
+      <property name="border-color"/>
+      <property name="padding"/>
+    </style>
+    
+    <style selector="af|treeTable::control-bar-top">
+      <property name="background-color"/>
+      <property name="border-style"/>
+      <property name="border-color"/>
+      <property name="padding"/>
+    </style>
+    
+    <style selector=".OraSortableHeaderBorder">
+      <property name="border-width">1px</property>
+    </style>    
+    <!-- @todo maybe have desktop and pda have the same keys for button -->
+    <style selector=".OraButtonText">
+        <includeStyle name="AFSmallFont"/>
+        <includeStyle name="AFLightAccentBackground"/>
+        <includeStyle name="AFTextForeground"/>
+      </style>
+      
+      <style selector=".AFFieldText">    
+        <includeStyle name="AFSmallFont"/>
+      </style>               
+      <style selector=".AFFieldTextDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>                
+      <style selector=".AFFieldNumber">    
+        <includeStyle name="AFSmallFont"/>
+      </style>               
+      <style selector=".AFFieldNumberDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>                 
+      <style selector=".AFDataText">    
+        <includeStyle name="AFSmallFont"/>
+      </style>
+      <style selector=".AFDataTextDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>       
+      <style selector=".AFDataNumber">    
+        <includeStyle name="AFSmallFont"/>
+      </style> 
+      <style selector=".AFDataNumberDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>          
+      <style selector=".AFPhoneFieldText">    
+        <includeStyle name="AFSmallFont"/>
+      </style> 
+      <style selector=".AFPhoneFieldTextDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>        
+      <style selector=".AFPostalCodeFieldText">    
+        <includeStyle name="AFSmallFont"/>
+      </style> 
+      <style selector=".AFPostalCodeFieldTextDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>       
+      <style selector=".AFAddressFieldText">    
+        <includeStyle name="AFSmallFont"/>
+      </style>
+      <style selector=".AFAddressFieldTextDisabled">    
+        <includeStyle name="AFSmallFont"/>
+      </style>      
+  
+  </styleSheet>
+  <styleSheet platforms="windows" browsers="ie">
+    <!-- use Tahoma for everything -->
+    <style name="AFDefaultFontFamily">
+      <property name="font-family">Tahoma</property>
+    </style>
+    
+   <style name="AFDefaultFont">
+      <includeStyle name="AFDefaultFontFamily"/>
+      <property name="font-size">x-small</property>
+    </style>
+
+    <style name="AFVerySmallFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>
+    </style>
+
+
+    <style name="AFSmallFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>
+    </style>
+
+    <style name="AFMediumFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">x-small</property>
+    </style>
+
+    <style name="AFLargeFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">small</property>
+    </style>
+
+    <style name="AFVeryLargeFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">medium</property>
+    </style>
+
+
+    <!-- If I include AFVerySmallFont, which is defined above, shouldn't that work? 
+         I'm getting the attributes in blaf.xss -->
+    <style name="VerySmallLinkFont">
+      <!--includeStyle name="AFVerySmallFont"/-->
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>
+    </style>    
+
+    <!-- Same problem as above -->
+    <style name="SmallLinkFont">
+      <!--includeStyle name="AFSmallFont"/-->
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>    
+    </style>    
+  </styleSheet>
+  
+  <styleSheet platforms="blackberry" browsers="blackberry">
+    
+   <style name="AFDefaultFont">
+      <includeStyle name="AFDefaultFontFamily"/>
+      <property name="font-size">x-small</property>
+    </style>
+
+    <style name="AFVerySmallFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>
+    </style>
+
+
+    <style name="AFSmallFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>
+    </style>
+
+    <style name="AFMediumFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">x-small</property>
+    </style>
+
+    <style name="AFLargeFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">small</property>
+    </style>
+
+    <style name="AFVeryLargeFont">
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">medium</property>
+    </style>
+
+
+    <!-- If I include AFVerySmallFont, which is defined above, shouldn't that work? 
+         I'm getting the attributes in blaf.xss -->
+    <style name="VerySmallLinkFont">
+      <!--includeStyle name="AFVerySmallFont"/-->
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>
+    </style>    
+
+    <!-- Same problem as above -->
+    <style name="SmallLinkFont">
+      <!--includeStyle name="AFSmallFont"/-->
+      <includeStyle name="AFDefaultFont"/>
+      <property name="font-size">xx-small</property>    
+    </style>    
+  </styleSheet>  
+  
+</styleSheetDocument>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/agent/netfront.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/agent/netfront.xml?rev=433524&r1=433523&r2=433524&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/agent/netfront.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/agent/netfront.xml Mon Aug 21 22:25:20 2006
@@ -17,8 +17,6 @@
 <capabilityData xmlns="http://myfaces.apache.org/trinidad/agent/capabilities">
   <capability name="dom" value="form"/>
   <capability name="tables" value="advanced"/>
-  <capability name="width" value="229"/>
-  <capability name="height" value="255"/> 
   <capability name="-adfinternal-advancedForms" value="true"/>
   <capability name="-adfinternal-intrinsicEvents" value="true"/>
   <capability name="-adfinternal-disabledFormElements" value="false"/>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/agent/pixo.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/agent/pixo.xml?rev=433524&r1=433523&r2=433524&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/agent/pixo.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/agent/pixo.xml Mon Aug 21 22:25:20 2006
@@ -15,7 +15,5 @@
   limitations under the License.
 -->
 <capabilityData xmlns="http://myfaces.apache.org/trinidad/agent/capabilities">
-  <capability name="width" value="229"/>
-  <capability name="height" value="255"/>
   <capability name="-adfinternal-valign" value="true"/>
 </capabilityData>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/agent/pocketie.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/agent/pocketie.xml?rev=433524&r1=433523&r2=433524&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/agent/pocketie.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/agent/pocketie.xml Mon Aug 21 22:25:20 2006
@@ -17,8 +17,6 @@
 <capabilityData xmlns="http://myfaces.apache.org/trinidad/agent/capabilities">
   <capability name="dom" value="form"/>
   <capability name="tables" value="advanced"/> 
-  <capability name="height" value="255"/> 
-  <capability name="width" value="229"/>
   <capability name="-adfinternal-advancedForms" value="true"/> 
   <capability name="-adfinternal-intrinsicEvents" value="true"/> 
   <capability name="-adfinternal-disabledFormElements" value="false"/>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/java/org/apache/myfaces/trinidadinternal/renderkit/RenderKitBootstrap.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/java/org/apache/myfaces/trinidadinternal/renderkit/RenderKitBootstrap.java?rev=433524&r1=433523&r2=433524&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/java/org/apache/myfaces/trinidadinternal/renderkit/RenderKitBootstrap.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/java/org/apache/myfaces/trinidadinternal/renderkit/RenderKitBootstrap.java Mon Aug 21 22:25:20 2006
@@ -25,6 +25,9 @@
 
 import java.io.IOException;
 
+import java.util.HashMap;
+import java.util.Map;
+
 import org.apache.myfaces.trinidad.context.Agent;
 
 import org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl;
@@ -140,20 +143,28 @@
 
   static private void _createAgents()
   {
+    Map<String, String> headerMap = new HashMap<String,String>();
+  
     AgentFactoryImpl factory = new AgentFactoryImpl();
-    _geckoAgent = factory.createAgent("Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20050207 Firefox/1.0.1",
-                        null);
-    _ieAgent = factory.createAgent("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)",
-                                   null);
+    
+    headerMap.put("User-Agent","Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20050207 Firefox/1.0.1");
+    _geckoAgent = factory.createAgent(headerMap);
+
+    headerMap.clear();
+    headerMap.put("User-Agent","Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)");
+    _ieAgent = factory.createAgent(headerMap);
 
     // Give a Safari 2.0 agent
-    _safariAgent = factory.createAgent("Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412 (KHTML, like Gecko) Safari/412",
-                                   null);
-
-    // I think this is PocketPC 2003
-    _pocketPCAgent = factory.createAgent("Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; MSN Companion 2.0; 800x600; Compaq)",
-                                   null);
+    headerMap.clear();
+    headerMap.put("User-Agent","Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412 (KHTML, like Gecko) Safari/412");
+    _safariAgent = factory.createAgent(headerMap);
+
+    headerMap.clear();
+    headerMap.put("User-Agent","Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)");
+    headerMap.put("UA-pixels","240x320");
+    _pocketPCAgent = factory.createAgent(headerMap);
   }
+ 
 
   private FacesConfigInfo _facesConfigInfo;
   



Mime
View raw message