Hi there,
Right now, as I know some of you are aware, you can't create an icon
skinning key like this:
af|foo::some-icon:hover
Since it doesn't end in "icon" or "Icon:alias", the parser will consider
it a styleclass.
I'd like to add the ability to add :hover and :active to the end of an
icon skinning key and keep it an icon. :)
(We have a requirement in our 'rich' renderers to change icons on mouse
over and on mouse down.)
Since we 'pass through' all css-2 pseudo-classes, we pass through :hover
and :active to the skinning key.
The quick and easy change I was going to make is in the code where I
decide if something is an icon or not.
Right now I check for if it ends with -icon or Icon:alias.
I can change it to
check if it ends with -icon - OR -
check if it has -icon: in it OR
check if it has Icon:alias: in it.
Thoughts?
- Jeanne