diff --git a/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass b/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass index 333cd105..86657098 100644 --- a/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +++ b/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass @@ -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 diff --git a/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass b/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass index c891ff6a..fd5d43b8 100644 --- a/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +++ b/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass @@ -5,6 +5,6 @@ :text-indent -9999em :overflow hidden :background - :image= url(!img) + :image= image_url(!img) :repeat no-repeat :position= !x !y