More CSS Features

on 17 Nov 2009
OutSystems 5.0

Allow us to define more than one CSS class for an element.

Also allow us to choose CSS classes that are defined for a particular type of elements.

Created on 28 Apr 2010
Comments (5)
8 May 2010

I agree with the first one, although you can do that with extended properties.

Care to explain the 2nd line. I don't understand what you are meaning by that.

To add some more, I would like to see if we can choose if the CSS will be minified, or even inline on the page itself.

9 May 2010

What I mean by that is that if you define a class for a particular element, for instance div.style1 {}, you cannot choose it from the style's drop down in service studio.

10 May 2010
You can already do this in 5.0! The Style property is now free text, which means you can add more than one class:

You can also use the selectors you mention, and Service Studio even does the correct preview for you! For instance, suppose you have the following styles:

Setting it on a div will show you this preview:

While setting it on a button will give you another preview!

Hope this helps!
10 May 2010

That's great! I took a look at the 5.0 release before submiting the idea, but I couldn't see how to do it so I though it wasn't yet available.

Thank you.

15 Jul 2010
Already Done.