diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/_text.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/_text.sass index 2731383b..6d130f32 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/_text.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/_text.sass @@ -1,3 +1,2 @@ @import text/nowrap.sass @import text/replacement.sass -@import text/fonts.sass \ No newline at end of file diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass index e7c6a1b5..3cf5eef2 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass @@ -9,9 +9,12 @@ @param y the y position of the background image. =replace-text( !img, !x = 50%, !y = 50% ) - text-indent: -9999em - overflow: hidden + +hide-text background: image= image_url(!img) repeat: no-repeat position= !x !y + +=hide-text + :text-indent -9999em + :overflow hidden