Page 1 of 1

Add CSS Classes to Control Templates

Posted: June 10th, 2022, 8:47 am
by JefferyD
Given an input like below, there is a lot of default CSS being applied directly to the tags instead of a CSS class of some kind.
image.png
image.png (5.03 KiB) Viewed 1525 times
image.png
image.png (5.03 KiB) Viewed 1525 times
image.png

This makes both detaching and overwriting a control from the default styling more difficult when CSS conflicts occur. Some styling is even applied to manually created HTML elements even though they are not an EASYProcess control.

An example of styling that's difficult to revert without messing up the styling of other elements:
image.png

Suggestion
Wrap all controls in a span with a default class based on the type of control and map all default styling to use that class and only elements found inside the element with that class.

Re: Add CSS Classes to Control Templates

Posted: July 24th, 2023, 11:52 am
by CathyC
Task 11509 has been opened to discuss this