Lance
You could run the output thru csstidy and get much closer to what you
want:
Here is the script I use:
#!/bin/sh
/usr/local/bin/csstidy "$1" --preserve_css=true --
compress_colors=false --sort_properties=true --silent=true --
template=~/my.csstidy
I use this from as a BBEdit filter but it works from the command line
as well.
Here is the output I got with your input:
.top {
margin-top:1em;
margin-bottom:1em;
navbackground:#333;
}
ul {
padding:0;
display:table-row;
}
li {
display:table-cell;
}
}
You can probably tweak your template to get the desired result.
Matt
On Jul 7, 12:37 am, Nathan Weizenbaum <[email protected]> wrote:
> No, currently sass-convert supports only one output format for SCSS. This is
> something that may change in the future, when I have time to work on it (or
> if someone sends me a patch).
>
> On Tue, Jul 6, 2010 at 9:02 PM, viatropos <[email protected]> wrote:
> > Hey,
>
> > I've asked this question:
>
> >http://stackoverflow.com/questions/3191776/css-2-sass-how-do-i-change...
>
> > Is there a way to change the output formatting on SCSS so it looks
> > like that?
>
> > Thanks,
> > Lance
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Haml" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected] <haml%[email protected]>.
> > For more options, visit this group at
> >http://groups.google.com/group/haml?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.