css class in oaf
In this post , we will discuss about css
class in oaf. CSS class is uses to set the Look and feel for the items in the OAF page.
CSS (cascading style sheet) are uses to change
the look and feel of the items of the OAF page. Apply CSS styles to regions and items to provide a consistent
look and feel in the OAF Page. We can set the Color , Font Size and Font for the fields with the help of the css class in oaf.
Here below I am trying to create the new styles as per our Requirment in the CSS class in oaf.
<?xml version="1.0"?>
<!-- $Header: custom.xss 120.39 2005/08/08 09:27:38
atgops1 noship $ -->
<styleSheetDocument
xmlns="http://bali.us.oracle.com/cabo/ocelot">
<import href="oa.xss"/>
<styleSheet>
<!-- Please start your customizations here -->
-- .red is the custom style created under the css class ------
<style selector=".Red">
<includeStyle name="DefaultFontFamily"/>
<property name="font-size">11pt</property>
<property name="font-weight">Bolder</property>
<property name="color">#008000</property>
<property name="text-indent">3px</property>
</style>
<includeStyle name="DefaultFontFamily"/>
<property name="font-size">11pt</property>
<property name="font-weight">Bolder</property>
<property name="color">#008000</property>
<property name="text-indent">3px</property>
</style>
<!-- Please end your customizations here -->
</styleSheet>
</styleSheetDocument>
0 comments:
Post a Comment