Needing to start over with my style sheets ...

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
BaritoneJP
Propeller Head
Posts: 49
Joined: Mon Jun 02, 2008 9:12 am
Contact:

Needing to start over with my style sheets ...

Post by BaritoneJP »

I'm just going to be honest here, I suck :? at keeping my CSS clean and manageable. Also, I would like to use a master project to link other projects.

Does anyone have a good suggestion as to consolidating 1-to-many style sheets into just one; in order that, styling used from each style sheet is preserved? Or, at least so I can see what styles are being used and I can manually consolidate/change the styling to a standard (master project) sheet.

Attempts have been made to have standard styling. So, it is really not as bad as I've portrayed here. I would, however, like to start using master project (global project?) linking.

Really, any suggestions would be welcomed. :)
Thank you for your comments and help with my quandary ...
Jamey
ChoccieMuffin
Senior Propellus Maximus
Posts: 2632
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Needing to start over with my style sheets ...

Post by ChoccieMuffin »

Here's a brief suggestion:

Create your master project with the stylesheet you want to use for all your projects.
In your target projects DELETE the existing stylesheet, import your master project and link all your targets to the newly imported stylesheet.
Open the target project in Analyzer and look at the "undefined styles" report. That will allow you to either add the missing style to the master project and reimport, or adjust the style that your target project uses (search and replace in source code for class="style").

Another thing you might want to do is edit your stylesheets in Notepad++ or similar so that all the styles are in the same order, and then do a comparison between the stylesheet in the master project and the stylesheet in each of the target projects. That should allow you to consolidate any differences into the one stylesheet in your master project.

I suggest you take a bit of time working out which stylesheet to use in the master project - if you have a huge project that has lots of styles you might want to start with that one so you don't have to mess about adding styles, or if your biggest project also contains the messiest stylesheet you might want to start with your ideal one and work from there - up to you.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
BaritoneJP
Propeller Head
Posts: 49
Joined: Mon Jun 02, 2008 9:12 am
Contact:

Re: Needing to start over with my style sheets ...

Post by BaritoneJP »

ChoccieMuffin wrote:Here's a brief suggestion:
Thank you for your reply :)
ChoccieMuffin wrote:Another thing you might want to do is edit your stylesheets in Notepad++
I use Notepad++ :wink: Doing a comparison is a great idea. I do that all the time for other stuff, not sure why I didn't think of that for this.

Thanks again, I've caused my own mental block with this and needed fresh ideas.
Thank you for your comments and help with my quandary ...
Jamey
ChoccieMuffin
Senior Propellus Maximus
Posts: 2632
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Needing to start over with my style sheets ...

Post by ChoccieMuffin »

Very pleased to be of help :-)
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Post Reply