Add class names in stylesheet
105
Views
4
Comments
New
OutSystems UI

If I want to write an external style to an element, I want to create a className in the stylesheet tab and then in the CSS tab, I've to specify that className and then I'll add the properties. 

Outsystems have a functionality that, when I click on the class name it will redirect to the stylesheet tab, but the thing is, I've to specify that className now also.

Instead, if a person redirected to the stylesheet tab by clicking through the className then the respective className should be automatically specified and the cursor listen the user for the properties.

It will be helpful while creating the interface with best practices and with the people who use the classes most.

when I try this, it is already working like that, for example with these styles on an element

when I click on yyy :

when I click on list-item

maybe it's your version of SS, mine is 11.54.15 build 62559

Dorine

Sorry for the inconvenience,

Maybe I should update my studio. My version is 11.54.14

I'm now thinking : maybe I read your idea wrong.  Your idea is about adding the class if it doesn' exist yet ?

Good idea, but the problem is then, where to make it, in module, or in screen css ...

Module will be preferred, because the main idea of using the class is reusability. So, module will be preferred than screens.