If this is of interest I have expanded the mappings a little, and I
could create the tests for it.

What it could look like is:

#footer
  :mt 20px
  :pt 1em
  :bt= !darkblueborder
  :w 100%
  :ta center
  p
    :mb 1em
  ul
    :ls none
    li
      :d inline
      :p 0 4px

Which is quite short and handy. Even though it's not very readable.
Not until you learn the shortcuts at least =)

Or is it bad coz of the risk of conflict with coming attributes in,
hrmm, CSS4?

/Glenn

On May 22, 3:14 pm, "Glenn Nilsson" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> just started using SASS today, after a week with HAML. And I totally
> love it! Got myself the trunk today and created an addition to SASS. I
> used TopStyle for a long time when i still was using Windows as a
> primary dev-computer. Especially for html/css. And I loved it's
> tab-completing snippets for css. Like mb[tab] becomes margin-bottom
> etc. So, of course it's possible to do the same in
> TextMate/e/RadRails/Eclipse/whatnot. But after a little hack in
> attr_node.rb I built it into SASS directly instead.
>
> I attach the patch for rev 516, and you can take a look at it.
>
> Is this the correct way to do this? Send the patch to the list I mean.
>
> Thanks,
> Glenn
>
>  short_mappings.patch
> 3KDownload


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