Compressing CSS (single-line rules)

Rudy - Italy <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <[email protected]>
Hello,

At home I Quanta is my only choice for editing CSS, at work I have to use
Windows and Topstyle. However there is a handy feature called "Style
Sweeper" in Topstyle, I wondered if it is possible to achieve a similar
functionality in Quanta. It would be enough to convert a stylesheet like
this:

#bar, #foo {
  bar: foobar;
  bar2: foobar2;
} /* Foo Bar */

.foo2 {
  bar2: foo;
} 
...

into this:

#bar,
#foo { bar:foobar; bar2: foobar2; } /* Foo Bar */
.foo2 { bar2: foo; }
...

without all the silly stuff like combine rules etc. which only messes up the
code. Simply remove newlines from the rules, and every rule in a single
line, possibly available by keyboard shortcut. Is there a way to easily
integrate such functionality?

Thanks for any help,
Rudy


-- 
View this message in context: http://www.nabble.com/Compressing-CSS-%28single-line-rules%29-tp19825437p19825437.html
Sent from the quanta-user list2 mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.