Eclipse Yoxos Services Downloads Blogs About
Home > Blogs >

Posts Tagged ‘css’

on Apr 17th, 2011CSS3 and Shadows in RAP

RAP already offers advanced styling features including customizable cross-browser gradients, rounded borders and animations. We now complete this feature set by introducing advanced, configurable shadows, giving your RAP application a modern, subtle 3D-look.

Screenshot CSS3 and Shadows in RAP

Unlike other frameworks, RAP does not rely on pre-rendered images to create those effects. Instead it does all the rendering itself based on CSS declarations, using multiple browser-native technologies for drawing. Up until now this always involved several complex vector-graphic operations. However, this is 2011, and support for mordern web standards is becoming widely available. By using the CSS3 capabilities of modern browsers, we no longer need to use any vector graphics in Safari, Google Chrome and Firefox 4+. Internet Explorer 9 will follow soon.

Of course, RAP will continue to support all its theming features (including shadows) in browsers without CSS3 capabilities. Shadows and CSS3-support will be part of RAP 1.4 M7, coming on May 7.

on Nov 20th, 2009Advanced Rich Ajax Platform Theming

As you may read in previous blogs we have adressed the RAP styling. Therefore we presented you the “big blocks” in form of the new RAP designs. But there is still a difference between RAP and other cool RIA technologies i.e. like ExtJS, Flex or qooxdoo. When you take a look at the demos of these frameworks they all come along with cool styled widgets out of the box. Take a look at the screenshots below to see what I mean.

ext js Advanced Rich Ajax Platform Theming

ExtJS Combobox

flex 300x57 Advanced Rich Ajax Platform Theming

Flex buttons

qooxdoo 300x45 Advanced Rich Ajax Platform Theming

qooxdoo buttons

Now lets take a look at the RAP widgets and how they are styled out of the box:

rapOld 300x236 Advanced Rich Ajax Platform Theming

RAP default widgets

As you may see, there is a little difference between the Flex, ExtJS, qooxdoo and the RAP widgets. RAP looks almost like Windows 95. This cannot be the way RAP presents itself to the world because RAP is a modern and cool technology for building full featured RIAs. For that reason we spent some effort to show you how RAP can look like:

rapNew 300x255 Advanced Rich Ajax Platform Theming

Modern RAP theming

From my point of view these widgets have a really fresh look and are fully competitive against all the Flex, ExtJS and qooxdoo widgets. This styling is done via theming and by using the new theming features like gradients and rounded corners heavily. We plan to set this theme as the default theme for RAP 1.3 which will be released within the Helios release train.

But there is no reason to wait. You can use the theme right now. All you have to do is:

  1. Check out the latest and hottest RAP Milestone.
  2. Edit your branding to use the new themes. Set the theme id to org.eclipse.rap.design.example.business.theme for the business theme or to org.eclipse.rap.design.example.fancy.theme for the fancy theme.
  3. Start your application and enjoy the fresh and modern look of you widgets.

Please note that not all widgets are themed right now, but more than 80% of the widgets have the new look allready. If you have feedback for the theme please let us know by using the newsgroup or by leaving a comment.

© EclipseSource 2008 - 2011