root pseudo class no longer working for Frameless HTML output
Using RoboHelp 2020.5.71
Our CSS files contain the :root{} pseudo class to define our corporate color palette, and the rest of the CSS relies on these color variables, rather than the Hex codes. Everything looked great until I upgraded to Update 5. Now, none of the color variables are accessible in the generated HTML!
(Oddly, the colors come through in the PDF. We use a different CSS for the PDF output, but the colors are defined exactly the same way.)
Using the browser's inspector, I see that all the color variables are "undefined," even though the css shows them right at the top -- same as they were before the update.
The only thing that changed was RoboHelp itself. Since applying the update, I haven't changed the web css. Before I log a bug, I wanted to ask here: Has this happened to anyone else?
Here's what the top of my css looks like:
:root {
--dmrc_black: #393536;
--dmrc_dkgray: #58585b;
--dmrc_medgray: #939597;
--dmrc_ltgray: #d1d2d4;
--dmrc_dkwhite: #E6E7E8;
--dmrc_white: #f1f1f2;
--dmrc_blueblack: #051c2c;
--dmrc_navy: #13274a;
--dmrc_dkblue: #1b365d;
--dmrc_blue: #005a96;
--dmrc_ltblue: #41b6e6;
--dmrc_paleblue: #b9d9eb;
--dmrc_ecru: #e5dabe;
--dmrc_orange: #cb6015;
--dmrc_red: #ee1532;
--dmrc_gold: #ff9e15;
--dmrc_dkgreen: #2c704f;
--dmrc_ltgreen: #8fc53c;
}And my classes look something like this:
p.attn_tip {
background-color: var(--dmrc_dkgreen);
padding: 25px;
border-radius: 5px;
color: white;
font-style: normal;
}Ideas? I'm at a loss.
