O'Reilly logo

Oracle ADF Faces Cookbook by Amr Gawish

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using skins like a pro by using Sass and compass

Native CSS is very static and doesn't provide much flexibility, that's why ADF skinning provided aliases, -tr-property-ref and -tr-rule-ref to make loading dynamic properties easier. However, even when you create an enterprise application with multiple components, you end up with a very big CSS file, which is very hard to maintain.

Sass is meant to help you fix this problem. It is considered the most mature and powerful CSS extension language. It is a scripting language that is interpreted into CSS. It embraces the DRY method to the fullest so that you won't have to write any redundant styles. It also makes the maintaining process of CSS much easier.

Sass provides so many features such as variables, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required