Stylesheet Management

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
pgoneill

Stylesheet Management

Post by pgoneill »

I'm curious to find a way to manage stylesheets more efficiently using CMSMS.  I've started making my first site using the CMS (developing locally).

The dynamic stylesheet generation is nice.  However, I'm having trouble finding a method of linking to a stylesheet that imports another stylesheet.  Generally, I do this to filter out styles from old/obsolete browsers and feed them a plain text page.

So, in each , I'd have:



and in that file would be:

@import'the-real-styles.css';

That @import syntax is ignored by certain older browsers which get a design-free page.  The problem is that if I create two stylesheets in the CMS and @import one from another, it doesn't work since the stylesheets are called via dynamic URIs.

I could just create flat files and edit them outside the CMS, but that sort of defeats the purpose of having the CMS in the first place (not completely, but sort of).

Suggestions?  How do you manage your stylesheets in the CMS?  Thanks in advance! ;D
pgoneill

Re: Stylesheet Management

Post by pgoneill »

Alright, that's probably what I'll do - should be no problem - just a bit more complexity than being able to make small edits within the CMS.  Thanks.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Stylesheet Management

Post by Dr.CSS »

if i need hiliting i use PSPad editor, copy from web, paste and check/fix/change then paste back.
but it would be nice to have hilite online.

      mark
Locked

Return to “CMSMS Core”