Support Article
Skinrule changes do not impact UI
SA-24698
Summary
Changes made to the read only Standard format for Text inputs & Formatted Text only partially take effect at run time.
Error Messages
Not Applicable
Steps to Reproduce
Open Skinrule, select text inputs, select Standard format, change font-size for Read-Only. Check UI.
Root Cause
The behaviour that is occurring is that in the application skin, for the standard format, all styles configured are applied except for colour and size. This is a behaviour of an application using the UI Kit (Which is used in the application by included UI-Kit-7 rule-set into the application rule. This is the default configuration of a new applications). The UI Kit contains a version of the CSS rule py-enduser71-workarea-overrides which removes the hard-coded colour/size from the skin.
Resolution
py-enduser71-workarea-overridesis an available rule, so the solution is to save as the py-enduser71-workarea-overrides CSS rule into your application rule-set and comment the below styles.
.dataValueRead,
.header-content span span,
.dataValueWriteBold,
.dataValueWrite {
font-size: inherit;
color: inherit;
}
For example. as shown in the below example.
Published June 26, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.