[
https://issues.apache.org/jira/browse/TRINIDAD-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Schwartz updated TRINIDAD-472:
-----------------------------------
Status: Patch Available (was: Open)
> @agent support for icons
> ------------------------
>
> Key: TRINIDAD-472
> URL: https://issues.apache.org/jira/browse/TRINIDAD-472
> Project: MyFaces Trinidad
> Issue Type: Improvement
> Components: Skinning
> Affects Versions: 1.0.1-incubating-core-SNAPSHOT
> Reporter: Jeanne Waldman
> Fix For: 1.0.1-incubating-core-SNAPSHOT
>
>
> We have @agent support for skin selectors that are not icons, but not for
> icons.
> It would be useful to have different icons for ie than for gecko. For
> instance, we might need different margins. And we could do this:
> af|foo::bar-icon {
> content: url(...);
> margin-left: 2px
> }
> @agent {
> af|foo::bar-icon {
> margin-left: 5px
> }
> }
> What we have to do now is introduce a styleclass that goes around the icon in
> a span.
> af|foo::bar-icon {
> content: url(...);
> }
> af|foo::bar-icon-style {
> margin-left: 2px
> }
> @agent {
> af|foo::bar-icon-style {
> margin-left: 5px
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.