@import 'compass/utilities/text/replacement'

=icon-text($ident, $size=16)
  .icon-#{$ident}-text
    +replace-text-with-dimensions("/#{$size}x#{$size}/#{$ident}.png")
    display: block
    float: left

=icon($ident, $size=16)
  background-image: url("/images/#{$size}x#{$size}/#{$ident}.png")

=icon-class($ident, $size=16)
  .icon-#{$ident}
    +icon($ident, $size)

.icon
  background-repeat: no-repeat
  padding-left: 20px
  text-decoration: none
  font-size: 16px
  color: $link_color
  &:hover
    color: $link_color_hover

+icon-class('add')
+icon-class('delete')
+icon-class('edit')
+icon-class('index')

+icon-text('add')
+icon-text('delete')
+icon-text('edit')
+icon-text('index')

@import 'compass/utilities/text/replacement'

=icon-text($ident, $size=16)
  .icon-#{$ident}-text
    +replace-text-with-dimensions("#{$size}x#{$size}/#{$ident}.png")
    display: block
    float: left

=icon($ident, $size=16)
  background-image: url("/images/#{$size}x#{$size}/#{$ident}.png")

=icon-class($ident, $size=16)
  .icon-#{$ident}
    +icon($ident, $size)

.icon
  background-repeat: no-repeat
  padding-left: 20px
  text-decoration: none
  font-size: 16px
  color: $link_color
  &:hover
    color: $link_color_hover

+icon-class('add')
+icon-class('delete')
+icon-class('edit')
+icon-class('index')

+icon-text('add')
+icon-text('delete')
+icon-text('edit')
+icon-text('index')

Fix path for icon-text mixin urls.
Fix path for icon-text mixin urls.
