Need Tool to Calculate CSS Based on Multi-Sheet Cascade

TopStyle has been discontinued and support is no longer available. The forum is read-only. NOTE: TopStyle was not developed by the makers of CSS HTML Validator.
Locked
James Hollomon
Rank 0 - Newcomer
Posts: 3
Joined: Mon Aug 27, 2012 2:24 pm

Need Tool to Calculate CSS Based on Multi-Sheet Cascade

Post 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
css-base.css
css-element.css
css-contents.css
css-edits.css

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?
Locked