We currently override Flexmonster styles. We followed these guidelines, https://www.flexmonster.com/doc/customizing-appearance/. This restyling (via less styles) was necessary to make the Flexmonster Component look like PROS components. This required advanced styling beyond just changing colors and fonts. For example, we had to change the position of the elements to move the Dialog buttons from the top to the bottom-right. Our Architects are concerned that these less style overrides may conflict with future Flexmonster style changes. This has yet to happen but we must address the concern before a quality problem is introduced. We use other third-party components that provide classname properties to make such customization less likely to cause styling conflicts. This does not seem possible with Flexmonster today but perhaps this is planned for a future Flexmonster release. Please let us know if that is the case. Or, if that is not the case, then please suggest a safer way for PROS to override Flexmonster styles.
Sr Tech Lead, Development, PROS
Thank you for posting your question.
To start with, we’d like to mention that it is highly recommended to keep your custom styles in a separate Less/CSS file where only the necessary parts are overridden, as it is suggested in the mentioned tutorial.
Furthermore, kindly note that all of the key UI elements already have their corresponding classes & IDs which can be used for overriding the base styles and creating your own. Do you think you could tell us a little bit more about your situation so that we can understand your use case better and perhaps provide you with the already existent class names of the necessary HTML elements?
Please let us know what you think.
We keep our custom styles in a separate Less file as you suggest.
We also understand your UI element have corresponding Classnames & IDs.
We have successfully styled Flexmonster to look like our components. All good on this end.
Our concern is that you may change one or more of the following in a new version:
If any of these change, then it will likely cause a styling issue and/or other quality problem with our webapp. Can you guarantee these will not change with future releases? Or, if there are changes, can you notify us so we can plan accordingly?
Thanks and Best Regards,
Thank you for further clarifying your concerns regarding potential styling issues.
In general, such breaking changes in styling rarely happen in Flexmonster component.
It is worth mentioning, however, that we are currently working on particular UI accessibility improvements, which require us to change some elements’ IDs to class names.
With that in mind, we will make sure to reach out to you with a list of changed items after the release is introduced ETA Sep 21st, so that you can modify your code accordingly if necessary.
Please let us know if there is anything else we can help you with at the moment.
Yes, please reach out to us with potential breaking changes in this upcoming and future releases.
Thank you very much,
Hope you’re doing well!
As promised, we are sending you the full list of ID’s that were removed in version 2.8.16 and replaced with the classes of the same names:
This is available in the 2.8.16 version of Flexmonster: https://www.flexmonster.com/release-notes/
You are welcome to update the component. Here is our updating to the latest version guide for assistance: https://www.flexmonster.com/doc/updating-to-the-latest-version/
Please let us know if this helps.
Looks like we might have conflicts based on a quick search.
We’ll run some tests with 2.8.16 and let you know what we find.
Thank you for the heads up.
Thank you for the quick response – please do let us know if any particular issues emerge that we can help you with – we will be happy to assist.
How are you?
Just checking in to ask whether everything went well on your side with the latest CSS changes.
We would be happy to hear your feedback.
Hope you’re doing well!
We were wondering if you were successful in adapting your CSS configurations to the changes introduced in 2.8.16.
Please let us know in case there’s anything we can assist you with in this regard.
Thanks for the follow-up. We are still working with our Architecture team to import 2.8.16 into our Artifactory so we can test it out. You reminder reminded me to ping that team again 🙂 We’ll let you know what we find.
Great, thank you for your response – we will be looking forward to further updates.
Have a nice day ahead!
We finally upgraded to 2.8.19 and ran into style conflicts which we resolved on our end. Thank you for the heads up. Please give us (PROS) another heads up when Flexmonster introduces significant style changes after 2.8.19.
It is good to hear from you – we’re glad you’ve resolved all the issues!
We are currently not planning to introduce any similar changes to Flexmonster styles in the near future. If, however, such changes are made, we’ll make sure to cover them in our release notes.
As always, feel free to reach out in case there is something we can help you with.