Page 1 of 1

Need Tool to Calculate CSS Based on Multi-Sheet Cascade

Posted: Mon Aug 27, 2012 2:39 pm
by James Hollomon
I work on Yahoo! Stores but I am sure this problem is more widespread than that platform. Yahoo's CMS (Content Management System) uses 4 style sheets. They are, in order

Settings in the global variables in the CMS back end automatically modify the first three style sheets. The css-edits.css sheet has priority in the cascade, and so can be used to add new styles or override any assigned by the previous three sheets.

It is not uncommon for an individual CSS specifier to be built up from attributes assigned by all 4 style sheets. That makes the task of transferring styles for the wrapper, header, navigation and footer from the Store to a separate server for a Blog or such pretty daunting. Can Topstyle provide a solution that will calculate the inheritance for each style declared and build one master style sheet that does the same thing as the cascade of individual ones?