For the above question ,answer is B.
PIease heIp me correct if my understanding is correct.
order of precedence is
1.InIine CSS
2.Webscreens
3.Themes
4.WebBIocks.
Option A :Wrong :Coz Base Theme cannot be edited.
option C and D : Wrong: Coz there are severaI buttons.(is there any other reason)
Option B : Is it correct because as per question the buttons are avaiIAbIe in different parts of the appIication?
PIease heIp me correct my mistakes and aIso add new points.
Well yes, B would be the right answer. If you change the OutSystems UI Base Theme, all apps will have that style available, not just that one. C and D aren't wrong per se, but very badly maintainable, so B is the right answer.
Hi Remya,
For the css load order you can take a look at this post.
Regards,
Nordin
Yes option B is correct.
The advantage for having css in theme are
C- is doable but not recommended. for example, if you have some changes in future in button class you have to go each and every page /WeBlock to make that change available for your application and if you maintain that thing in theme the change in theme will reflect to all the buttons in your app.
D-if you keep your styles inline, you'll regret the maintenance load later.
Pankaj
Hi,
You can check OutSystem documentation for your question:
https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Look_and_Feel/Cascading_Style_Sheets_(CSS)
Best regards.