[Compass Core] Make all compass core library mixins use the image_url function where appropriate.

This commit is contained in:
Chris Eppstein 2009-04-29 08:27:18 -07:00
parent 8aee42e5a1
commit da4c73d676
2 changed files with 3 additions and 3 deletions

View File

@ -11,11 +11,11 @@
// Make a list(ul/ol) have an image bullet
// mixin should be used like this for an icon that is 5x7:
// ul.pretty
// +pretty-bullets("/images/my-icon.png", 5px, 7px)
// +pretty-bullets("my-icon.png", 5px, 7px)
=pretty-bullets(!bullet_icon, !width, !height, !line_height = 18px, !padding = 14px)
:margin-left 0
li
:padding-left= !padding
:background= url(!bullet_icon) "no-repeat" ((!padding - !width) / 2) ((!line_height - !height) / 2)
:background= image_url(!bullet_icon) "no-repeat" ((!padding - !width) / 2) ((!line_height - !height) / 2)
:list-style-type none

View File

@ -5,6 +5,6 @@
:text-indent -9999em
:overflow hidden
:background
:image= url(!img)
:image= image_url(!img)
:repeat no-repeat
:position= !x !y