there are issues with the normalize/reset for list elements, compass sprites do not play well with them

Comments

KrisBulman’s picture

Status: Active » Needs review

this may work now since re-working normalize.. needs compass sprite testing

KrisBulman’s picture

Status: Needs review » Fixed

After adding a function to add menu classes to all menus, I tested spriting.

Here is the method to use:

@import "icon/*.png";

#block-menu-menu-sprites ul {
  list-style: none;
  list-style-image: none;
  margin-left: 0;
  li {
    padding-left: 30px;
  }
  .menu-630 { @include icon-sprite(clock); }
  .menu-631 { @include icon-sprite(eye); }
  .menu-632 { @include icon-sprite(target); }
  .menu-633 { @include icon-sprite(marker); }
}

the icon folder could be named anything and should be different for each menu used, the arguments need to match the name of the sprite.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.