Yeah - found it right after I posted.  Should have done a bit more
searching :(
It looks great - I will try it our later today.


On Feb 7, 10:39 am, "hampton c" <[EMAIL PROTECTED]> wrote:
> We already have something like this ready for release in 1.5.
>
> Its called Sass and you can find a lot of posts in this group talking
> about it.
>
> I have felt the same pain you have.
>
> -hampton.
>
> On Feb 6, 6:35 pm, "askegg" <[EMAIL PROTECTED]> wrote:
>
> > First; right now I am an ideas man.  I do not have the require ruby
> > foo ninja skills to implement what I think might be a good idea, so I
> > may as well post them here so that others can actually do the work.
>
> > Second; I love HAML.  It is still taking me a while to really
> > understand how to use it, but I think its a great idea.
>
> > Third; While HAML solves the (x)HTML problem, there doe snot seem to
> > be much around to solve the CSS problem.  After a (very) brief search
> > I found I was not the only one seeking markup nirvana (eg http://
> > groups.google.com/group/haml/browse_thread/thread/52852e4ad34ca3ec/
> > cf8b9bc1da4d7afd?lnk=gst&q=css&rnum=1#cf8b9bc1da4d7afd).
>
> > There is DCSS (http://myles.id.au/2006/11/20/introducing-dcss), which
> > helps alleviate some of the pain, but I don't like the implementation
> > much (ie.  the code is not as readable as HAML).
>
> > So I had this idea - why not create a markup library to handle CSS in
> > the same way as HAML.
> > We could call it CAML :)
>
> > Something like this (after the example on DCSS)
>
> > in /public/stylesheets/main.caml
>
> > body
> >   .home-page
> >     #archives, #favourites
> >       h3 :text-align => "center", :font-family =>"Georgia, serif"
> >         li :list-style => "square"
> >           a :color => "green"
> >           a:hover :color => "orange"
>
> > Compiles to:
>
> > body.home-page #archives h3, body.home-page #favourites h3 { text-
> > align: center; font-family: Georgia, serif; }
> > body.home-page #archives li, body.home-page #favourites li { list-
> > style: square; }
> > body.home-page #archives li a, body.home-page #favourites li a
> > { color: green; }
> > body.home-page #archives li a:hover, body.home-page #favourites li
> > a:hover { color: orange; }


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to